/* ==========================================================================
   CITY OF HARARE — HOMEPAGE STYLES v3.0
   Award-worthy civic portal — premium, animated, distinctly Zimbabwean
   ========================================================================== */

/* ==========================================================================
   0. HOME-SCOPED TOKENS
   ========================================================================== */
:root {
  --glass-bg:       rgba(255, 255, 255, 0.80);
  --glass-border:   rgba(255, 255, 255, 0.50);
  --shadow-premium: 0 20px 48px -12px rgba(10, 36, 14, 0.14), 0 8px 20px -8px rgba(10, 36, 14, 0.08);
  --shadow-hover:   0 32px 64px -10px rgba(10, 36, 14, 0.22), 0 12px 28px -6px rgba(10, 36, 14, 0.12);
}

/* ==========================================================================
   1. HERO — LAYERED PARALLAX + STAGGERED HEADLINE
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  max-height: 920px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--green-deep);
}

/* Parallax image layers */
.hero-layer {
  position: absolute;
  inset: -8% 0;
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
  transition: none;
}
.hero-layer-1 {
  background-image: url('/assets/img/slider/harare/1-hre.webp');
  z-index: 1;
}
.hero-layer-2 {
  background-image: url('/assets/img/slider/harare/3-hre.webp');
  z-index: 2;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}

/* Gradient overlays — cinematic bottom-heavy vignette */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(to top, rgba(6, 22, 10, 0.96) 0%, rgba(6, 22, 10, 0.65) 38%, rgba(6, 22, 10, 0.15) 70%, transparent 100%),
    linear-gradient(120deg, rgba(6, 22, 10, 0.70) 0%, transparent 55%);
}

/* Subtle film-grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  z-index: 5;
}

.hero-text-block { max-width: 780px; }

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-spring) 0.2s forwards;
}
.hero-tag {
  background: var(--gold);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  box-shadow: 0 2px 10px rgba(194,145,26,0.4);
}
.hero-date {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  font-family: var(--font-body);
}

/* Staggered headline — each .word animates separately */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: wordReveal 0.75s var(--ease-spring) forwards;
}
/* stagger delays set inline via style attribute */

.hero-excerpt {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 580px;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-spring) 0.9s forwards;
}

/* Glassmorphic Search Anchor */
.hero-search-anchor {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 14px;
  padding: 12px 14px 12px 22px;
  margin-bottom: 32px;
  cursor: pointer;
  transition: var(--transition-base);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-spring) 1.0s forwards;
}
.hero-search-anchor:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06), 0 16px 40px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}
.hero-search-anchor i {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  margin-right: 12px;
  flex-shrink: 0;
}
.hero-search-placeholder {
  flex: 1;
  font-size: 15px;
  color: rgba(255,255,255,0.50);
  font-family: var(--font-body);
}
.hero-search-shortcut {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
}

/* Hero CTA Buttons */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-spring) 1.1s forwards;
}
.hero-btn-primary {
  background: linear-gradient(135deg, var(--green-vivid), var(--green-mid));
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-base);
  box-shadow: 0 6px 24px rgba(46,139,62,0.45);
  letter-spacing: 0.2px;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(46,139,62,0.55);
  color: #fff !important;
}
.hero-btn-primary i { font-size: 17px; }
.hero-btn-secondary {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88) !important;
  text-decoration: none !important;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  border: 1px solid rgba(255,255,255,0.22);
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.38);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-spring) 1.5s forwards;
}
.hero-scroll-indicator span {
  font-size: 10px;
  color: rgba(255,255,255,0.40);
  letter-spacing: 2.5px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.hero-scroll-indicator i {
  color: rgba(255,255,255,0.35);
  font-size: 20px;
  animation: bounceDown 2s ease-in-out infinite 2s;
}

/* Animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Mobile hero */
@media (max-width: 767px) {
  .hero { min-height: 520px; max-height: 720px; align-items: flex-end; }
  .hero-content { padding: 0 1.25rem 5rem; }
  .hero-title { letter-spacing: -0.5px; }
  .hero-excerpt { font-size: 16px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btn-primary, .hero-btn-secondary { justify-content: center; }
  .hero-search-anchor { max-width: 100%; }
}

/* ==========================================================================
   2. NEWS TICKER
   ========================================================================== */
.ticker {
  background: var(--green-deep);
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ticker-label {
  background: var(--gold);
  color: var(--charcoal);
  font-size: 10px;
  font-weight: 800;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  padding-right: 22px;
}
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ticker-scroll {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-body);
  animation: tickerScroll 55s linear infinite;
  padding-left: 2rem;
}
.ticker-scroll:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   3. STATS STRIP — animated counters
   ========================================================================== */
.stats-strip {
  background: var(--charcoal);
  background-image: radial-gradient(ellipse at 30% 50%, rgba(20,55,25,0.5) 0%, transparent 65%),
                    radial-gradient(ellipse at 70% 50%, rgba(20,55,25,0.3) 0%, transparent 65%);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 1rem;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.stat-item:last-child::after { display: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}
.stat-suffix {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  color: var(--gold-light);
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.stat-icon {
  font-size: 16px;
  color: var(--green-glow);
  margin-bottom: 8px;
}
@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none; }
}

/* ==========================================================================
   4. SECTION HEADERS (shared)
   ========================================================================== */
.home-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.bento-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.section-viewall {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-vivid);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.section-viewall:hover { color: var(--green-mid); gap: 8px; }

/* ==========================================================================
   5. BENTO GRID SERVICES — glassmorphism + 3D tilt
   ========================================================================== */
.bento-section {
  background: var(--cream);
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(46,139,62,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(194,145,26,0.04) 0%, transparent 50%);
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

.bento-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-premium);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  text-decoration: none !important;
  color: var(--text-dark) !important;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Shimmer on hover */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-hover);
  color: var(--text-dark) !important;
}

/* 3D tilt active state (applied via JS) */
.bento-card.is-tilting {
  transition: transform 0.1s linear, box-shadow 0.1s linear;
}

/* Double-width card spans 2 columns */
.bento-card-double { grid-column: span 2; }

/* Accent card — featured/highlighted service */
.bento-card-accent {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-deep) 100%);
  border-color: rgba(255,255,255,0.12);
}
.bento-card-accent .bento-title { color: #fff; }
.bento-card-accent .bento-desc  { color: var(--green-pale); }
.bento-card-accent .bento-icon  { background: rgba(255,255,255,0.12); color: var(--gold); }
.bento-card-accent .bento-arrow { color: rgba(255,255,255,0.5); }
.bento-card-accent:hover         { border-color: rgba(255,255,255,0.2); }
.bento-card-accent .bento-inquiry-input {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.bento-card-accent .bento-inquiry-input::placeholder { color: rgba(255,255,255,0.38); }
.bento-card-accent .bento-inquiry-btn {
  background: var(--gold);
  color: var(--charcoal);
}
.bento-card-accent .bento-inquiry-btn:hover { background: var(--gold-light); }

.bento-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-vivid);
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}
.bento-card:hover .bento-icon {
  background: var(--green-vivid);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 4px 16px rgba(46,139,62,0.4);
}
.bento-card-accent:hover .bento-icon {
  background: var(--gold);
  color: var(--charcoal);
}
.bento-arrow {
  font-size: 20px;
  color: var(--text-muted);
  transition: var(--transition-fast);
  opacity: 0.5;
}
.bento-card:hover .bento-arrow { opacity: 1; color: var(--green-vivid); transform: translate(3px,-3px); }
.bento-card-accent:hover .bento-arrow { color: var(--gold); }
.bento-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.bento-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Rates inquiry input */
.bento-inquiry-box {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.bento-inquiry-input {
  flex: 1;
  background: var(--cream);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-dark);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
}
.bento-inquiry-input:focus {
  border-color: var(--green-vivid);
  box-shadow: var(--shadow-glow);
}
.bento-inquiry-btn {
  background: var(--green-vivid);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.bento-inquiry-btn:hover {
  background: var(--green-mid);
  transform: scale(1.04);
}

@media (max-width: 991px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card-double { grid-column: span 2; }
}
@media (max-width: 575px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-double { grid-column: span 1; }
}

/* ==========================================================================
   6. NEWS HORIZONTAL CAROUSEL
   ========================================================================== */
.news-carousel-wrap {
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.news-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  /* hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-carousel-track::-webkit-scrollbar { display: none; }

.carousel-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
  text-decoration: none !important;
  color: var(--text-dark) !important;
  display: flex;
  flex-direction: column;
}
.carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  color: var(--text-dark) !important;
}
.carousel-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--charcoal-mid);
}
.carousel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}
.carousel-card:hover .carousel-card-img img { transform: scale(1.08); }
.carousel-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.carousel-card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.carousel-card-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carousel-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   7. NEWS TABS + TILES
   ========================================================================== */
.news-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.news-tab-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
}
.news-tab-btn:hover {
  border-color: var(--green-vivid);
  color: var(--green-vivid);
}
.news-tab-btn.active {
  background: var(--green-vivid);
  border-color: var(--green-vivid);
  color: #fff;
}

.news-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.tile {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.32s var(--ease-spring), box-shadow 0.32s var(--ease-spring);
  display: flex;
  flex-direction: column;
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.tile-wide {
  grid-column: span 2;
  flex-direction: row;
}
.tile-wide .tile-img { flex: 0 0 260px; height: auto; }
.tile-wide .tile-body { flex: 1; }

.tile-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--charcoal-mid);
}
.tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}
.tile:hover .tile-img img { transform: scale(1.06); }
.tile-cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(6,22,10,0.75);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 1.2px;
  font-family: var(--font-sans);
}
.tile-body { padding: 18px 20px 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.tile-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}
.tile-wide .tile-title { font-size: 20px; }
.tile-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.tile-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}
.tile-foot-left { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.tile-foot-left i { font-size: 13px; }
.read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-vivid);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
}
.read-link:hover { color: var(--green-mid); gap: 8px; }

@media (max-width: 1199px) {
  .news-tiles { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: span 2; flex-direction: column; }
  .tile-wide .tile-img { flex: none; height: 240px; width: 100%; }
}
@media (max-width: 575px) {
  .news-tiles { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
}

/* ==========================================================================
   8. MORE STORIES + SIDEBAR TWO-COLUMN
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.two-col .news-tiles {
  grid-template-columns: repeat(2, 1fr);
}
.news-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none !important;
  color: var(--text-dark) !important;
  align-items: center;
  transition: var(--transition-fast);
}
.news-row:last-child { border-bottom: none; }
.news-row:hover { transform: translateX(4px); }
.news-row-img {
  flex-shrink: 0;
  width: 90px;
  height: 68px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream-dark);
}
.news-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-spring); }
.news-row:hover .news-row-img img { transform: scale(1.1); }
.news-row-body { flex: 1; }
.news-row-cat {
  font-size: 10px;
  font-weight: 800;
  color: var(--gold-dark);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  margin-bottom: 5px;
}
.news-row-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 5px;
}
.news-row-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 18px; }

.weather {
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}
.weather::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.weather-city { font-size: 12px; color: var(--green-pale); letter-spacing: 0.5px; margin-bottom: 4px; font-family: var(--font-sans); }
.weather-temp {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.weather-desc { font-size: 13px; color: var(--green-pale); font-family: var(--font-body); }
.weather-icon { font-size: 52px; color: var(--gold-light); opacity: 0.8; }

.hotline {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}
.hotline-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--crimson);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  font-family: var(--font-sans);
}
.hotline-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.hotline-hours { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; font-family: var(--font-body); }
.hotline-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--crimson);
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
  width: fit-content;
}
.hotline-btn:hover { background: hsl(4, 60%, 33%); transform: scale(1.03); color: #fff !important; }

.notice {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}
.notice-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
}
.notice-title i { color: var(--gold); font-size: 16px; }
.notice-item {
  font-size: 13px;
  color: var(--text-muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.45;
  font-family: var(--font-body);
}
.notice-item:last-child { border-bottom: none; padding-bottom: 0; }
.notice-item i { color: var(--green-vivid); font-size: 8px; margin-top: 5px; flex-shrink: 0; }

@media (max-width: 1023px) {
  .two-col { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .weather { grid-column: span 2; }
}
@media (max-width: 575px) {
  .sidebar { grid-template-columns: 1fr; }
  .weather { grid-column: span 1; }
}


/* ==========================================================================
   9. PLACES STRIP — cinematic hover cards
   ========================================================================== */
.places-strip {
  background: var(--charcoal);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.places-strip .section-title { color: #fff; }
.places-strip .section-viewall { color: var(--gold); }
.places-strip .section-viewall:hover { color: var(--gold-light); }
.places-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 50% 50%, rgba(20,55,25,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
}

.place {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 320px;
  display: block;
  text-decoration: none !important;
  background: var(--charcoal-mid);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.place img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}
.place:hover img { transform: scale(1.08); }
.place-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,22,10,0.92) 0%, rgba(6,22,10,0.40) 50%, rgba(6,22,10,0.10) 100%);
  transition: opacity 0.3s ease;
}
.place:hover .place-overlay { opacity: 0.95; }
.place-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  transform: translateY(4px);
  transition: transform 0.35s var(--ease-spring);
}
.place:hover .place-label { transform: translateY(0); }
.place-name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}
.place-type {
  font-size: 13px;
  color: var(--green-pale);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s var(--ease-spring) 0.05s;
  font-family: var(--font-body);
}
.place:hover .place-type { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) { .places-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .places-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 5rem 2rem;
  background: var(--cream);
}
.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}
.faq-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}
.faq-card-still {
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  border-radius: var(--radius-xl);
  padding: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  box-shadow: var(--shadow-premium);
}
.faq-still-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 8px;
}
.faq-still-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.faq-still-desc { font-size: 14px; color: var(--green-pale); line-height: 1.7; font-family: var(--font-body); }
.faq-still-btn {
  display: block;
  background: var(--gold);
  color: var(--charcoal) !important;
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-sans);
  text-align: center;
  transition: var(--transition-fast);
  box-shadow: 0 4px 16px rgba(194,145,26,0.4);
}
.faq-still-btn:hover { background: var(--gold-light); transform: translateY(-2px); color: var(--charcoal) !important; }

.faq-search-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}
.faq-search-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}
.faq-search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: var(--transition-fast);
}
.faq-search-input:focus {
  border-color: var(--green-vivid);
  box-shadow: var(--shadow-glow);
}

/* FAQ Accordion */
#faqAccordion .card {
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px !important;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}
#faqAccordion .card:has(.show) {
  border-color: var(--green-vivid) !important;
  box-shadow: var(--shadow-glow) !important;
}
#faqAccordion .card-header {
  background: transparent !important;
  border-bottom: none !important;
  padding: 0 !important;
}
#faqAccordion .btn-link {
  width: 100%;
  text-align: left;
  padding: 16px 20px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark) !important;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans) !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
}
#faqAccordion .btn-link i {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
  color: var(--green-vivid);
  font-size: 16px;
}
#faqAccordion .btn-link:not(.collapsed) i { transform: rotate(180deg); }
#faqAccordion .card-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0 20px 20px !important;
  font-family: var(--font-body);
  border-top: 1px solid var(--border-color);
  padding-top: 16px !important;
}

@media (max-width: 991px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-card-still { position: static; }
}

/* ==========================================================================
   11. ASK / ENQUIRY SECTION
   ========================================================================== */
.ask-section {
  background: var(--green-dark);
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(194,145,26,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 50%, rgba(46,139,62,0.15) 0%, transparent 60%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ask-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}
.ask-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.ask-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.ask-desc {
  font-size: 16px;
  color: var(--green-pale);
  line-height: 1.65;
  margin-bottom: 2rem;
  font-family: var(--font-body);
}
.ask-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 24px;
  backdrop-filter: blur(16px);
  text-align: left;
}
.ask-textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 15px;
  color: #fff;
  font-family: var(--font-body);
  resize: vertical;
  outline: none;
  transition: var(--transition-fast);
  margin-bottom: 14px;
  min-height: 100px;
}
.ask-textarea::placeholder { color: rgba(255,255,255,0.35); }
.ask-textarea:focus { border-color: var(--green-glow); background: rgba(255,255,255,0.11); }
.ask-submit {
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-base);
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(194,145,26,0.4);
}
.ask-submit:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(194,145,26,0.5); }

/* ==========================================================================
   12. SPOTLIGHT OMNISEARCH MODAL
   ========================================================================== */
.spotlight-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,22,10,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.spotlight-overlay.show { opacity: 1; pointer-events: all; }

.spotlight-card {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  box-shadow: 0 32px 80px rgba(6,22,10,0.35), 0 0 0 1px rgba(0,0,0,0.08);
  overflow: hidden;
  transform: translateY(-16px) scale(0.97);
  transition: transform 0.3s var(--ease-spring);
  margin: 0 1rem;
}

@media (max-width: 575.98px) {
  .ask-section {
    padding: 3.5rem 1rem !important;
  }
  .ask-form {
    padding: 16px !important;
  }
  .spotlight-overlay {
    padding-top: 4vh !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .faq-section {
    padding: 3.5rem 1rem !important;
  }
}
.spotlight-overlay.show .spotlight-card { transform: translateY(0) scale(1); }

.spotlight-header {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  gap: 12px;
}
.spotlight-header .search-icon { font-size: 20px; color: var(--green-vivid); flex-shrink: 0; }
.spotlight-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--text-dark);
  font-family: var(--font-body);
  background: transparent;
}
.spotlight-close {
  background: var(--cream);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-size: 16px;
}
.spotlight-close:hover { background: var(--cream-dark); color: var(--text-dark); }

.spotlight-body { padding: 16px 18px; max-height: 60vh; overflow-y: auto; }
.spotlight-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-sans);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.spotlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  color: var(--text-dark) !important;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: var(--transition-fast);
  border: 1.5px solid transparent;
}
.spotlight-item i { font-size: 18px; color: var(--green-vivid); flex-shrink: 0; }
.spotlight-item:hover, .spotlight-item.active {
  background: var(--green-wash);
  border-color: var(--green-vivid);
  color: var(--green-dark) !important;
}
.spotlight-result-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  color: var(--text-dark) !important;
  transition: var(--transition-fast);
  margin-bottom: 4px;
}
.spotlight-result-link:hover, .spotlight-result-link.active { background: var(--green-wash); }
.spotlight-result-title { font-size: 14px; font-weight: 600; color: var(--text-dark); font-family: var(--font-sans); }
.spotlight-result-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; font-family: var(--font-body); }
.spotlight-result-type {
  font-size: 11px;
  background: var(--cream-dark);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.spotlight-footer {
  border-top: 1px solid var(--border-color);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.spotlight-key {
  background: var(--cream-dark);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
  font-family: var(--font-body);
}
.spotlight-keys { display: flex; align-items: center; gap: 4px; }

/* ==========================================================================
   13. MOBILE RESPONSIVENESS (global tweaks)
   ========================================================================== */
@media (max-width: 767px) {
  .home-container, .bento-container { padding: 3rem 1.25rem; }
  .stats-strip { padding: 2.5rem 1.25rem; }
  .places-strip { padding: 3rem 1.25rem; }
  .faq-section, .ask-section { padding: 3.5rem 1.25rem; }

  .section-title { font-size: 24px; }
  .section-header { margin-bottom: 1.5rem; }
  .bento-grid { gap: 14px; }
  .news-carousel-wrap { mask-image: none; -webkit-mask-image: none; }
}

/* Widgets Row Layout */
.widgets-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 991px) {
  .widgets-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   14. PUBLIC NOTICES WIDGET & LIGHTBOX MODAL
   ========================================================================== */
.public-notice-widget {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.public-notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-light);
}

.public-notice-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  letter-spacing: -0.2px;
}

.public-notice-title i {
  color: var(--gold);
  font-size: 18px;
}

.public-notice-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(224, 159, 0, 0.15);
  color: var(--green-dark);
  padding: 3px 8px;
  border-radius: 12px;
}

.public-notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.public-notice-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

.public-notice-card:hover {
  border-color: var(--green-vivid);
  box-shadow: 0 10px 28px rgba(11, 85, 47, 0.16);
  transform: translateY(-3px);
}

.public-notice-poster-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
  background: #f8f9fa;
  transition: transform 0.3s ease;
}

.public-notice-card:hover .public-notice-poster-img {
  transform: scale(1.02);
}

/* Lightbox Overlay */
.public-notice-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999 !important;
  background: rgba(10, 20, 15, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.public-notice-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.public-notice-lightbox-content {
  background: #111a14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-notice-lightbox-overlay.active .public-notice-lightbox-content {
  transform: scale(1);
}

.public-notice-lightbox-header {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.public-notice-lightbox-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-sans);
}

.public-notice-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-notice-lightbox-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
  text-decoration: none;
}

.public-notice-lightbox-btn:hover {
  background: var(--green-vivid);
  color: #fff !important;
}

.public-notice-lightbox-close {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.public-notice-lightbox-close:hover {
  background: #e03131;
}

.public-notice-lightbox-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  background: #090e0b;
}

.public-notice-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}



