:root {
  --wheat: #d9a441;
  --earth: #7a4b2c;
  --green: #4a6b3a;
  --cream: #faf6ee;
  --ink: #2b2420;
  --muted: #8a7f70;
  --border: #e6ddc9;
  --bg-alt: #f2ead6;
  --card-bg: #ffffff;
  --bg-tint: rgba(250, 246, 238, 0.93);
  /* Solid-fill buttons/bars pair these with white text, so they stay this
     saturated regardless of theme — --earth/--green/--wheat above are for
     text-on-page-background instead, and do get lighter in dark mode. */
  --earth-solid: #7a4b2c;
  --green-solid: #4a6b3a;
  --wheat-solid: #d9a441;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wheat: #e8b968;
    --earth: #d99a6c;
    --green: #7fbf6a;
    --cream: #1c1712;
    --ink: #ece4d8;
    --muted: #a89d8c;
    --border: #423a30;
    --bg-alt: #24201a;
    --card-bg: #2a241d;
    --bg-tint: rgba(20, 17, 13, 0.93);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --wheat: #e8b968;
  --earth: #d99a6c;
  --green: #7fbf6a;
  --cream: #1c1712;
  --ink: #ece4d8;
  --muted: #a89d8c;
  --border: #423a30;
  --bg-alt: #24201a;
  --card-bg: #2a241d;
  --bg-tint: rgba(20, 17, 13, 0.93);
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image: linear-gradient(var(--bg-tint), var(--bg-tint)), url('background.png');
  background-repeat: repeat, repeat;
  background-size: auto, 160px;
  background-attachment: fixed, fixed;
  line-height: 1.6;
  transition: background-color 0.2s, color 0.2s;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 2rem; margin-bottom: 32px; color: var(--earth); }
h3 { color: var(--ink); }

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--earth);
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.punjab-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav {
  display: none;
  gap: 28px;
}

.nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(280px, 80vw);
  background: rgba(250, 246, 238, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 1px solid rgba(230, 221, 201, 0.6);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  gap: 18px;
  z-index: 50;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nav a {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.15s;
}

.nav a:hover { color: var(--wheat); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.lang-btn {
  background: var(--card-bg);
  border: none;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--border);
}

.lang-btn.active {
  background: var(--earth-solid);
  color: #fff;
}

.theme-toggle {
  display: flex;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  align-self: flex-start;
  margin-bottom: 14px;
}

.theme-btn {
  background: var(--card-bg);
  border: none;
  padding: 6px 9px;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.theme-btn + .theme-btn {
  border-left: 1px solid var(--border);
}

.theme-btn.active {
  background: var(--earth-solid);
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--earth);
}

/* Hero */
.hero {
  position: relative;
  background: url('mandkulla1.png') center / cover no-repeat, var(--earth-solid);
  color: #fff;
  padding: 110px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 36, 32, 0.55), rgba(43, 36, 32, 0.65));
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-title-letter {
  display: inline-block;
  animation: hero-letter-wave 2.4s ease-in-out infinite, hero-letter-sparkle 2.4s ease-in-out infinite;
}

@keyframes hero-letter-wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes hero-letter-sparkle {
  0%, 100% {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
  50% {
    color: #ffe066;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 16px rgba(255, 224, 102, 0.9), 0 0 28px rgba(255, 224, 102, 0.55);
  }
}

.hero-sub {
  font-size: 1.2rem;
  opacity: 0.95;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 10px 20px;
  min-width: 120px;
}

.hero-badge-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.hero-badge-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-badge-sub {
  font-size: 0.75rem;
  opacity: 0.85;
}

.hero-badge-link {
  color: inherit;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.hero-badge-link:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.sub-heading {
  margin-top: 40px;
  font-size: 1.3rem;
  color: var(--earth);
}

/* Facts */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.fact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.fact-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green);
  margin-bottom: 6px;
}

.fact-card p { margin: 0; font-weight: 600; }

.fact-card a {
  font-weight: 600;
  color: var(--earth);
}

.fact-card a:hover { color: var(--wheat); }

.fact-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.fact-icon {
  width: 44px;
  height: auto;
  margin-bottom: 8px;
}

.fact-icon-link span {
  font-weight: 600;
  color: var(--earth);
}

.fact-icon-link:hover span { color: var(--wheat); }

/* Placeholders */
.placeholder {
  color: var(--muted);
  font-style: italic;
}

.placeholder-block {
  color: var(--muted);
  font-style: italic;
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 14px;
}

.info-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 14px;
}

.source-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 8px;
}

.placeholder-box {
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
}

/* Slideshow */
.slideshow {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.slideshow-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: zoom-in;
}

.slide.active {
  opacity: 1;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-arrow:hover { background: rgba(0, 0, 0, 0.65); }
.slide-arrow.prev { left: 14px; }
.slide-arrow.next { right: 14px; }

.slide-hint {
  position: absolute;
  bottom: 14px;
  right: 16px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
  pointer-events: none;
}

.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
}

.slide-dot.active { background: var(--card-bg); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.file-lightbox-content img,
.file-lightbox-content video {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 8px;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }

@media (max-width: 720px) {
  .slide-arrow { width: 34px; height: 34px; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-arrow.prev { left: 10px; }
  .lightbox-arrow.next { right: 10px; }
}

/* Leadership */
.leader-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  flex-wrap: wrap;
}

.leader-photo {
  width: 160px;
  flex-shrink: 0;
}

.leader-info { flex: 1; min-width: 240px; }

.leader-role {
  color: var(--green);
  font-weight: 700;
  margin: 0 0 4px;
}

.leader-meta {
  color: var(--muted);
  margin: 0 0 12px;
}

/* Media grids */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* Map */
.map-wrap {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;
}

.map-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.map-link {
  display: inline-block;
  font-weight: 700;
  color: var(--earth);
}

.map-link:hover { color: var(--wheat); }

/* Geolocation widget */
.geo-widget {
  text-align: center;
  margin-top: 20px;
}

.geo-btn {
  background: var(--green-solid);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.geo-btn:hover { background: #3d5930; }

.geo-result {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
}

/* Video cards (Google Maps panoramas) */
.video-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
}

.village-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
}

.video-card h3 {
  margin: 0;
  padding: 14px 18px;
  font-size: 1.05rem;
}

/* Live */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.live-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}

.live-card h3 {
  margin: 12px 0;
  font-size: 1.05rem;
}


.live-watch-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.live-watch-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.live-watch-card:hover .live-watch-thumb { opacity: 1; }

.live-watch-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(200, 30, 30, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  padding-left: 4px;
}

.live-watch-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
}

.live-watch-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-watch-fallback {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 20px;
  text-decoration: none;
  z-index: 1;
}

.live-sound-toggle {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 11px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  z-index: 1;
}

.live-sound-toggle:hover { background: rgba(0, 0, 0, 0.85); }

/* News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.news-date {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 6px;
}

.news-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.news-channel-heading {
  font-size: 1.1rem;
  color: var(--earth);
  margin: 28px 0 12px;
}

.news-channel-heading:first-of-type { margin-top: 8px; }

.news-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Weather & Safety Alerts */
.alerts-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 20px;
  align-items: start;
}

.alerts-side-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}

.alerts-side-grid .alert-card {
  min-height: 180px;
}

.alert-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.alert-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.alert-list { display: flex; flex-direction: column; gap: 8px; }

.alert-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.alert-row:last-child { border-bottom: none; }

.alert-show-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--earth);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.alert-show-more:hover { background: rgba(122, 75, 44, 0.08); }

.alert-row .alert-value {
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}

.alert-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.alert-links a {
  font-weight: 700;
  color: var(--earth);
}

.alert-links a:hover { color: var(--wheat); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.announcement-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.announcement-item h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--green);
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.15s;
}

.file-row:hover { background: var(--bg-alt); }

.file-row::before {
  content: "📄";
  font-size: 1.1rem;
}

.file-row[data-type="image"]::before { content: "🖼️"; }
.file-row[data-type="video"]::before { content: "🎬"; }
.file-row[data-type="pdf"]::before { content: "📕"; }
.file-row[data-type="word"]::before { content: "📘"; }
.file-row[data-type="excel"]::before { content: "📗"; }

.contact-card-subheading {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form-field input[type="text"],
.contact-form-field input[type="email"],
.contact-form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  resize: vertical;
}

.contact-form-field input[type="file"] {
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
}

.contact-form-submit {
  align-self: flex-start;
  background: var(--earth-solid);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 22px;
  cursor: pointer;
}

.contact-form-submit:hover { background: #603a22; }

.contact-form-status {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form-status.success { color: var(--green); }
.contact-form-status.error { color: #c0392b; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--earth-solid);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 500;
  max-width: 90vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.error { background: #c0392b; }

/* Calendar & Holidays */
.calendar-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 860px) {
  .calendar-layout {
    grid-template-columns: 1fr;
  }
}

.year-tabs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.year-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.year-tab {
  flex: 0 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.year-tab.active {
  background: var(--earth-solid);
  color: #fff;
  border-color: var(--earth-solid);
}

.year-dropdown {
  position: relative;
}

.year-dropdown-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--earth);
}

.year-dropdown-btn:hover { background: var(--cream); }

.year-dropdown-list {
  display: none;
  position: absolute;
  top: 44px;
  right: 0;
  z-index: 20;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 220px;
  overflow-y: auto;
  min-width: 100px;
}

.year-dropdown.open .year-dropdown-list {
  display: block;
}

.year-dropdown-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 9px 16px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.year-dropdown-item:last-child { border-bottom: none; }
.year-dropdown-item:hover { background: var(--cream); }

.year-dropdown-item.active {
  background: var(--earth-solid);
  color: #fff;
}

.months-left-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 14px;
  display: none;
}

.holiday-list {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.holiday-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

.holiday-row:last-child { border-bottom: none; }

.holiday-name { font-weight: 600; }

.holiday-date {
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}

.holiday-date.tbd {
  color: var(--muted);
  font-weight: 500;
  font-style: italic;
}

.calendar-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.punjabi-date-card {
  background: var(--earth-solid);
  color: #fff;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.punjabi-date-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.punjabi-date-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.mini-calendar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.mini-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--earth);
  margin-bottom: 10px;
}

.mini-cal-nav {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--earth);
}

.mini-cal-nav:hover { background: var(--cream); }

.mini-cal-today-btn {
  display: block;
  margin: 12px auto 0;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--earth);
  cursor: pointer;
}

.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.8rem;
}

.mini-cal-grid .weekday {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.7rem;
  padding-bottom: 4px;
}

.mini-cal-grid .day {
  padding: 6px 0;
  border-radius: 6px;
}

.mini-cal-grid .day.weekend {
  color: #d1352b;
  font-weight: 700;
}

.mini-cal-grid .day.sangrand {
  color: #ff9933;
  font-weight: 700;
  position: relative;
  z-index: 0;
}

.mini-cal-grid .day.sangrand::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid #ff9933;
  box-shadow: 0 0 6px rgba(255, 153, 51, 0.7);
  animation: sangrand-pulse 1.8s ease-in-out infinite;
  z-index: -1;
}

.mini-cal-grid .day.sangrand::after {
  content: "✦";
  position: absolute;
  top: -3px;
  right: 0;
  font-size: 8px;
  color: #ff9933;
  animation: sangrand-twinkle 1.6s ease-in-out infinite;
}

@keyframes sangrand-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(255, 153, 51, 0.5); opacity: 0.8; }
  50% { box-shadow: 0 0 10px rgba(255, 153, 51, 0.9); opacity: 1; }
}

@keyframes sangrand-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.mini-cal-grid .day.today {
  background: var(--wheat-solid);
  color: #fff;
  font-weight: 700;
}

.sangrand-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

.sangrand-card h3 {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.sangrand-list {
  display: flex;
  flex-direction: column;
}

.sangrand-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 6px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  font-family: inherit;
  font-size: 0.85rem;
  color: inherit;
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
  transition: background 0.15s;
}

.sangrand-row:last-child { border-bottom: none; }

.sangrand-row:hover,
.sangrand-row:focus-visible {
  background: rgba(122, 75, 44, 0.08);
  padding-left: 6px;
  padding-right: 6px;
  margin: 0 -6px;
}

.sangrand-preview {
  display: none;
  margin-top: 14px;
}

.sangrand-preview.open { display: block; }

.sangrand-preview-close {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px 0;
  background: var(--earth-solid);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.sangrand-preview-close:hover { background: #603a22; }

.sangrand-preview img {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.sangrand-audio {
  display: block;
  width: 100%;
  margin-top: 10px;
}

.sangrand-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sangrand-date {
  color: var(--green);
  font-weight: 700;
}

.sangrand-view-hint {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
  background: rgba(122, 75, 44, 0.08);
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}

.sangrand-row:hover .sangrand-view-hint,
.sangrand-row:focus-visible .sangrand-view-hint {
  background: var(--earth-solid);
  color: #fff;
}

.sangrand-row.current {
  color: var(--earth);
  font-weight: 700;
}

.sangrand-row.current .sangrand-date {
  color: var(--earth);
}

/* Punjabi Alphabet */
.section-intro {
  color: var(--muted);
  margin-top: -16px;
  margin-bottom: 24px;
}

.alphabet-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 4px;
}

.alpha-lang-label {
  min-width: 110px;
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--earth);
}

.alpha-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--earth);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.alpha-nav:hover {
  background: var(--earth-solid);
  color: #fff;
  transform: scale(1.06);
}

.alpha-click-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0 0 20px;
}

/* Language translator */
.translator-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.sikh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.sikh-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.sikh-card h3 {
  font-size: 1rem;
  color: var(--earth);
  margin-bottom: 12px;
}

.sikh-list {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.sikh-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.sikh-info-grid p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 12px;
}

.sikh-source {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.sikh-source:hover { color: var(--earth); }

.sikh-flag {
  display: block;
  width: 64px;
  height: auto;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card-bg);
}

.translator-direction {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.translator-dir-btn {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.translator-dir-btn.active {
  background: var(--earth-solid);
  border-color: var(--earth-solid);
  color: #fff;
}

.translator-input-wrap {
  position: relative;
}

.translator-textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 10px 44px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--ink);
}

.translator-mic {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.translator-mic:hover { background: var(--card-bg); }

.translator-mic.listening {
  background: #c81e1e;
  border-color: #c81e1e;
  animation: translator-mic-pulse 1s ease-in-out infinite;
}

@keyframes translator-mic-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 30, 30, 0.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(200, 30, 30, 0); }
}

.translator-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 10px;
  flex-wrap: wrap;
}

.translator-wordcount {
  color: var(--muted);
  font-size: 0.76rem;
}

.translator-wordcount.at-limit { color: #b23; font-weight: 700; }

.translator-go {
  background: var(--green-solid);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
}

.translator-go:hover { background: #3a5530; }

.translator-note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.translator-result {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: pre-wrap;
}

.translator-result.visible { display: block; }

.translator-google-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.translator-google-link:hover { text-decoration: underline; }

.age-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.age-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.age-field[hidden] { display: none; }

.age-field input {
  font-family: inherit;
  font-size: 0.88rem;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--ink);
}

.age-result .age-years {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--earth);
}

.age-result .age-error {
  color: #c81e1e;
}

.alphabet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.alphabet-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.alphabet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.alphabet-letter {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--earth);
}

.alphabet-emoji {
  display: block;
  width: 100%;
  font-size: 2.1rem;
  line-height: 1.3;
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.15s, background 0.15s;
}

.alphabet-emoji:hover,
.alphabet-emoji:focus-visible {
  background: rgba(122, 75, 44, 0.08);
  transform: scale(1.15);
}

.alphabet-word {
  font-weight: 700;
  font-size: 0.78rem;
}

.alphabet-gloss {
  color: var(--muted);
  font-size: 0.68rem;
}

/* Alphabet lightbox "live" view */
.lightbox-emoji {
  font-size: 9rem;
  line-height: 1;
}

.alpha-lightbox-caption {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

@keyframes alphaLive {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  20% { transform: translateY(-14px) rotate(-6deg) scale(1.06); }
  40% { transform: translateY(0) rotate(5deg) scale(1); }
  60% { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
  80% { transform: translateY(0) rotate(2deg) scale(1); }
}

.lightbox-emoji.live-wiggle {
  animation: alphaLive 1.1s ease-in-out infinite;
}

@media (max-width: 560px) {
  .alphabet-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .lightbox-emoji { font-size: 6rem; }
}

/* Footer */
.site-footer {
  background: var(--earth-solid);
  color: #fff;
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}

/* Scroll nav */
.scroll-nav {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}

.scroll-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(122, 75, 44, 0.9);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.scroll-nav-btn:hover { background: var(--earth-solid); }

.quick-links-float {
  position: fixed;
  left: 16px;
  bottom: 24px;
  z-index: 90;
}

.quick-links-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--earth), var(--earth)), linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 300% 100%;
  animation: quick-links-shift 5s linear infinite;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 12px rgba(255, 213, 74, 0.6);
  position: relative;
  z-index: 2;
}

.quick-links-menu {
  display: none;
  position: absolute;
  bottom: 60px;
  left: 0;
  flex-direction: column;
  gap: 8px;
}

.quick-links-float.open .quick-links-menu { display: flex; }

.quick-links-menu a {
  position: relative;
  background: var(--card-bg);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--card-bg), var(--card-bg)), linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 300% 100%;
  animation: quick-links-shift 5s linear infinite;
  color: var(--earth);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 0 10px rgba(255, 213, 74, 0.55);
  white-space: nowrap;
  transition: transform 0.15s;
  overflow: hidden;
}

.quick-links-menu a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.85) 48%, transparent 66%);
  background-size: 220% 100%;
  animation: quick-links-sparkle 2.6s ease-in-out infinite;
  pointer-events: none;
}

.quick-links-menu a:hover {
  background-image: linear-gradient(var(--cream), var(--cream)), linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  transform: translateX(4px);
}

@keyframes quick-links-shift {
  to { background-position: 0 0, 300% 0; }
}

@keyframes quick-links-sparkle {
  0% { background-position: 220% 0; }
  55%, 100% { background-position: -120% 0; }
}

/* Hukamnama */
@font-face {
  font-family: "GurbaniAkhar";
  src: url("https://sikhnet.com/sites/all/libraries/fonts/webfonts/GurbaniAkhar/GurbaniAkhar.woff2") format("woff2");
  font-display: swap;
}

.hukam-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 10, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hukam-modal.open { display: flex; }

.hukam-modal-inner {
  background: var(--cream);
  border-radius: 14px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px 28px 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hukam-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--earth);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.hukam-modal-header { text-align: center; margin-bottom: 18px; }
.hukam-modal-header h3 { margin: 0 0 4px; color: var(--earth); }
.hukam-modal-meta { color: var(--muted); font-size: 0.85rem; margin: 0; }

.hukam-status {
  text-align: center;
  color: var(--muted);
  padding: 30px 0 4px;
}

.hukam-debug {
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-family: monospace;
  padding: 0 12px 20px;
  word-break: break-word;
}

.hukam-audio {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.hukam-row {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.hukam-row:last-child { border-bottom: none; }

.hukam-gurmukhi {
  font-family: "GurbaniAkhar", sans-serif;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 4px;
}


.hukam-english {
  color: var(--muted);
  font-size: 0.92rem;
}

.hukam-modal-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.hukam-source {
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 560px) {
  .hukam-modal-inner { padding: 26px 18px 18px; }
  .hukam-gurmukhi { font-size: 1.15rem; }
}

/* Sparkling borders — applied broadly across the site's card-style boxes.
   A background-layer mask: the card's own solid color is clipped to the
   padding-box (interior only) while the animated gradient is clipped to the
   border-box (the 2px border strip only) — so the sparkle stays confined to
   the border ring and never covers the card's content. (An earlier ::before
   + negative-z-index ring was tried instead, but it either rendered behind
   the whole page — invisible — or, once given its own stacking context,
   painted over the entire card interior; this mask technique has neither
   failure mode since it needs no z-index/stacking tricks at all.) */
.alert-card,
.contact-card,
.fact-card,
.leader-card,
.live-card,
.mini-calendar,
.sangrand-card,
.translator-card,
.alphabet-card,
.sikh-card {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--card-bg), var(--card-bg)), linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 300% 100%;
  animation: quick-links-shift 6s linear infinite;
}

.punjabi-date-card {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--earth), var(--earth)), linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 300% 100%;
  animation: quick-links-shift 6s linear infinite;
}

.sikh-card-empire,
.sikh-card-ranjit {
  border: 2px solid transparent;
  background-origin: padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, border-box;
  background-size: cover, cover, 300% 100%;
}

.sikh-card-empire {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url('sikh-empire-map.png'),
    linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  background-position: center, center, 0 0;
  animation: sikh-empire-border-shift 6s linear infinite;
}

.sikh-card-ranjit {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url('ranjit-singh-portrait.webp'),
    linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  background-position: top center, top center, 0 0;
  animation: sikh-ranjit-border-shift 6s linear infinite;
}

@keyframes sikh-empire-border-shift {
  to { background-position: center, center, 300% 0; }
}

@keyframes sikh-ranjit-border-shift {
  to { background-position: top center, top center, 300% 0; }
}

.video-card,
.holiday-list {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--card-bg), var(--card-bg)), linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 300% 100%;
  animation: quick-links-shift 6s linear infinite;
}

.live-watch-card,
.map-wrap,
.slideshow {
  border: 2px solid transparent;
  background-image: linear-gradient(#000, #000), linear-gradient(90deg, #ffd54a, #ff7ab6, #7a4bff, #4ac6ff, #6be36b, #ffd54a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 300% 100%;
  animation: quick-links-shift 6s linear infinite;
}

/* Responsive */
@media (max-width: 860px) {
  .alerts-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .alerts-side-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: 2.3rem; }
  .hero { padding: 80px 0 60px; }
}
