/* Navigation Bar */
.navbar {
  overflow: hidden;
  background-color: #005375; /* color background */
/* display: flex; Flexbox for layout */
  align-items: center; /* Vertically center items */
  padding: 8px; /* Adjust padding as needed */
  color: White;
}

/* Logo in Navbar */
.navbar .logo {
  margin-right: auto; /* Pushes the menu items to the right */
}

hr {
	border: 6pt solid #73bc44;
}

/* Navigation Links */
.navbar a {
  font-size: 16px;
  color: white; /* Text color for readability */
  text-align: left;
  padding: 14px 16px;
  text-decoration: none;
}

/* Hover State for Navigation Links */
.navbar a:hover {
  background-color: #c5d4d5;
  color: #005375; /* Ensure text is readable on hover */
}

/* Dropdown Button */
.dropbtn {
  background-color: transparent; /* Transparent background for dropdown button */
  color: #005375;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;

}

.dropdown-content {
  display: none;
  color: #005375;
  position: absolute;
  background-color: #c5d4d5;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Dropdown Menu Links */
.dropdown-content a {
  color: #005375; /* Ensure text is readable */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Hover State for Dropdown Links */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show Dropdown Menu on Hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change Dropdown Button Background on Hover */
.dropdown:hover .dropbtn {
  background-color: #73bc44;
}

/* =========================================================
   Homepage Now On Air Widget
   Database-driven live/dark status indicator
   ========================================================= */

#onair-widget .live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background-color: #333;
  box-shadow: none;
  margin-right: 8px;
  vertical-align: middle;
  animation: none;
}

#onair-widget.is-dark .live-dot {
  background-color: #333;
  box-shadow: none;
  animation: none;
}

#onair-widget.is-live .live-dot {
  background-color: #e60000;
  box-shadow: 0 0 8px rgba(230, 0, 0, 0.8);
  animation: lancerLivePulse 1s infinite;
}

@keyframes lancerLivePulse {
  0% {
    opacity: 1;
    box-shadow: 0 0 4px rgba(230, 0, 0, 0.6);
  }

  50% {
    opacity: 0.35;
    box-shadow: 0 0 12px rgba(230, 0, 0, 1);
  }

  100% {
    opacity: 1;
    box-shadow: 0 0 4px rgba(230, 0, 0, 0.6);
  }
}

/* Footer */
#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: transparent; /* Transparent background */
  color: #005375;
  text-align: Center;
}

.onair {
  display:flex; align-items:center; gap:14px; padding:10px 14px;
  border:1px solid #cfe0ff; border-radius:12px; background:#f5f8ff; margin:10px 0 14px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.onair-left { display:flex; align-items:center; gap:8px; }
.live-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: #333;
  box-shadow: none;
  animation: none;
}
.onair-label { font-weight:700; color:#1a2b5c; }
.onair-right { line-height:1.2 }
#onair-title { font-weight:600; }
#onair-meta { color:#4a5875; font-size:.93rem; margin-top:2px; }

/* Homepage News Block */
.lr-news-block {
  width: 100%;
  max-width: 1200px;
  margin: 18px auto 22px;
  padding: 0 4px;
  box-sizing: border-box;
}

.lr-news-heading {
  background: #005375;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  letter-spacing: 0.02em;
}

.lr-news-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #c5d4d5;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #1f2933;
}

.lr-news-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.lr-news-content h2 {
  margin: 0 0 10px;
  color: #005375;
  font-size: 1.6rem;
  line-height: 1.2;
}

.lr-news-story {
  font-size: 1rem;
  line-height: 1.55;
}

.lr-news-story p {
  font-size: 1rem;
  line-height: 1.55;
}

.lr-news-story a {
  color: #005375;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .lr-news-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .lr-news-content h2 {
    font-size: 1.35rem;
  }
}