.card-body {
  min-height: 435px; /* Desktop */
}

@media (max-width: 768px) {
  .card-body {
    min-height: 150px; /* Mobile */
  }
}
.min-post-height{
  min-height: 435px; /* Desktop */
}

@media (max-width: 768px) {
  .min-post-height{
    min-height: 150px; /* Mobile */
  }
}
.btn-speak {
  background-color: #ff7043;      /* Distinct coral-orange */
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-speak:hover {
  background-color: #f4511e;      /* Darker on hover */
  transform: translateY(-2px);
  color: #fff;
}
.btn-speak i {
  margin-right: 6px;
}

body, html {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fefae0;
}
.hero {
  height: 100vh;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}
.hero-overlay {
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.hero a.btn {
  display: block;
  font-size: 1.2rem;
  padding: 0.75rem;
  margin: 0.5rem auto;
  width: 100%;
  max-width: 300px;
  border-radius: 2rem;
}
@media (min-width: 768px) {
  .hero a.btn {
	display: inline-block;
	margin: 0.5rem 1rem;
	width: auto;
  }
}
img[loading="lazy"] {
  background-color: #f0f0f0;
}
/*img[loading="lazy"] {
  width: 0;
  height: 0;
  display: none;
}*/
.btn-custom-teal {
background-color: #20c997;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-custom-teal:hover {
  background-color: #17b89c;
  transform: scale(1.03);
  color: #fff;
}

.btn-hover {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-hover:hover {
  transform: scale(1.03);
}
.nav-link.text-white:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  text-decoration: underline !important;
}
#institutionSuggestions {
  position: absolute;
  z-index: 1055; /* Higher than navbar, modal, etc. */
  top: 100%;
  left: 0;
  right: 0;
}

/* Add vertical margin below the navbar toggler on mobile */
@media (max-width: 767.98px) {
  .navbar-toggler {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

/* Search box */
#navInstitutionSearch {
  background-color: #1f1f1f;
  color: #fff;
  border: 1px solid #666;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 14px;
  height: 38px;
  box-shadow: none;
  outline: none;
}

/* Placeholder style */
#navInstitutionSearch::placeholder {
  color: #ccc;
}

/* On focus */
#navInstitutionSearch:focus {
  border-color: #999;
  background-color: #222;
  box-shadow: none;
}

/* Suggestion container directly under input (no margin-top) */
#navSuggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2000;
  background-color: #222;
  color: #fff;
  max-height: 250px;
  overflow-y: auto;
  border: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-top: 2px; /* small gap only */
}

/* List items */
#navSuggestions .list-group-item {
  background-color: #1e1e1e !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 12px;
  font-family: 'Dancing Script', cursive;
}

/* Hover and active styles */
#navSuggestions .list-group-item:hover,
#navSuggestions .list-group-item.active {
  background-color: #333 !important;
  color: #fff !important;
}
/* Desktop default */
.nav-search-wrapper {
  max-width: 240px;
}

/* Medium devices (tablets) */
@media (max-width: 991.98px) {
  .nav-search-wrapper {
    max-width: 180px;
  }
}

/* Small devices (phones) */
@media (max-width: 575.98px) {
  .nav-search-wrapper {
    max-width: 100%;
    padding: 0 10px;
  }

  #navInstitutionSearch {
    font-size: 15px;
    height: 36px;
  }

  #navSuggestions {
    font-size: 15px;
  }
}
@media (max-width: 575.98px) {
  .nav-search-wrapper {
    margin: 0 auto;
    display: block;
    /*text-align: center;*/
  }
}

@media (max-width: 767.98px) {
  .nav-search-wrapper {
    margin-left: 0;
    margin-top: 5px;
    width: 100%; /* full width on mobile */
  }

  #navInstitutionSearch {
    height: 36px;
    font-size: 14px;
  }
}





