/* ─────────────── Weather Home — kairosioannina.com ─────────────── */

:root {
  --greek-blue: #1B4332;
  --greek-blue-dark: #15372A;
  --greek-blue-deep: #0B2920;
  --greek-blue-light: #2D6A4F;
  --greek-white: #ffffff;
  --greek-sky: #E8F0E8;
  --greek-foam: #D4E8D9;
  --gold: #D4A017;
  --text: #1A1A1A;
  --subtle: #6B7280;
  --muted-bg: #F7F5F0;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(27,67,50,0.10);
  --shadow-lg: 0 6px 32px rgba(27,67,50,0.18);
  --aegean: #1B4332;
  --sky: #2D6A4F;
  --foam: #D4E8D9;
  --mist: #F7F5F0;
  --terracotta: #c75b39;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif !important;
  background: var(--muted-bg) !important;
  color: var(--text);
  min-height: 100vh;
}

/* Hide WP admin bar spacing */
html { margin-top: 0 !important; }
#wpadminbar { display: none; }

/* ══════════════════════════════════════════════
   SITE HEADER — single deep-blue bar
══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: linear-gradient(90deg, #0B2920 0%, #1B4332 55%, #2D6A4F 100%);
  border-bottom: 3px solid #D4A017;
  box-shadow: 0 2px 24px rgba(6,54,104,0.45);
}

.sh-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* ── Logo ── */
.sh-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  padding-right: 20px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.sh-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.sh-logo-name {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
}
.sh-logo-city {
  font-size: 9px;
  font-weight: 700;
  color: #D4A017;
  letter-spacing: 0.18em;
  margin-top: 3px;
}

/* ── Centre nav ── */
.sh-nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  justify-content: center;
}

.sh-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px; /* pull down to sit on header border */
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  box-sizing: border-box;
}
.sh-nav-link:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.35);
}
.sh-nav-link.active {
  color: #fff;
  border-bottom-color: #D4A017;
}

/* ── Dropdown — key fix: same height/alignment as links ── */
.sh-dropdown {
  display: flex;
  align-items: stretch;
  position: relative;
}
/* The link INSIDE the dropdown must match exactly */
.sh-dropdown .sh-nav-link {
  /* inherits everything — no extra height or positioning needed */
}
.sh-chevron {
  width: 8px;
  height: 5px;
  opacity: 0.6;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.sh-dropdown:hover .sh-chevron,
.sh-dropdown:focus-within .sh-chevron { transform: rotate(180deg); }

.sh-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #D4DDD4;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(27,67,50,0.18);
  min-width: 210px;
  padding: 6px 0;
  z-index: 600;
  margin-top: 0;
}
.sh-dropdown:hover .sh-dropdown-menu,
.sh-dropdown:focus-within .sh-dropdown-menu { display: block; }
.sh-dd-item {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  text-decoration: none;
  transition: background 0.14s;
}
.sh-dd-item:hover { background: #F7F5F0; color: #1B4332; }
.sh-dd-sep { height: 1px; background: #E8DFD0; margin: 5px 0; }

/* ── Right: live pill ── */
.sh-live {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 0 0 20px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.sh-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: sh-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes sh-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.sh-live-label {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.4);
}
.sh-live-temp {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.sh-live-icon { font-size: 20px; line-height: 1; }
.sh-live-icon svg { width: 22px; height: 22px; vertical-align: middle; }

/* Unit toggle */
.unit-toggle {
  display: flex;
  background: rgba(0,0,0,0.2);
  border-radius: 14px;
  padding: 2px;
  gap: 1px;
  margin-left: 2px;
}
.unit-btn {
  background: transparent; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 800;
  color: rgba(255,255,255,0.4);
  padding: 3px 7px; border-radius: 11px;
  transition: all 0.18s; line-height: 1;
}
.unit-btn.on { background: rgba(255,255,255,0.2); color: #fff; }
.unit-btn:hover:not(.on) { color: rgba(255,255,255,0.75); }

/* ── Mobile ── */
@media (max-width: 960px) {
  .sh-nav { display: none; }
  .sh-live { margin-left: auto; }
}

/* ══════════════════════════════════════════════
   MET OFFICE STYLE HOMEPAGE
══════════════════════════════════════════════ */

/* ── Dark hero ── */
.fp-hero {
  background: linear-gradient(160deg, #0B2920 0%, #132E22 50%, #0f3668 100%);
  position: relative;
  overflow: hidden;
}
.fp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(26,116,200,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(6,54,104,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.fp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px 0;
  position: relative;
  z-index: 1;
}
.fp-h1 {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}

/* Location bar */
.fp-location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.fp-location-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.fp-location-name { color: rgba(255,255,255,0.8); }
.fp-update {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* Big now block */
.fp-now { padding-bottom: 32px; }
.fp-now-main {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.fp-now-icon { font-size: 80px; line-height: 1; flex-shrink: 0; }
.fp-now-icon svg { width: 80px; height: 80px; }

.fp-now-temp-wrap {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  flex-shrink: 0;
}
.fp-now-temp {
  font-size: 100px;
  font-weight: 200;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.fp-now-deg {
  font-size: 30px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}

.fp-now-meta { padding-left: 4px; }
.fp-now-desc {
  font-size: 24px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.fp-now-feels {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  font-weight: 500;
}
.fp-now-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fp-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

/* Loading / error */
.fp-loading {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.45); font-size: 14px; padding: 40px 0;
}
.fp-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fp-spin 0.8s linear infinite;
}
@keyframes fp-spin { to { transform: rotate(360deg); } }
.fp-error {
  background: rgba(210,43,43,0.15);
  border: 1px solid rgba(210,43,43,0.35);
  border-radius: 8px;
  padding: 10px 16px;
  color: #fca5a5;
  font-size: 13px;
}

/* 7-day strip */
.fp-7day {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.fp-7day-list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.fp-day-card {
  padding: 16px 8px 14px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.fp-day-card:last-child { border-right: none; }
.fp-day-card:hover { background: rgba(255,255,255,0.05); }
.fp-day-card.active {
  background: rgba(255,255,255,0.08);
  border-bottom-color: #D4A017;
}
.fp-day-name {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  line-height: 1.5;
}
.fp-day-card.active .fp-day-name { color: rgba(255,255,255,0.85); }
.fp-day-icon { font-size: 24px; margin-bottom: 8px; line-height: 1; }
.fp-day-icon svg { width: 28px; height: 28px; }
.fp-day-hi {
  font-size: 17px; font-weight: 700; color: #fff;
}
.fp-day-lo {
  font-size: 13px; color: rgba(255,255,255,0.38); margin-left: 3px;
}
.fp-day-rain {
  font-size: 10px; color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

/* ── Light content area ── */
.fp-content {
  background: #F5F0E8;
  padding-bottom: 60px;
}
.fp-content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px 0;
}

.fp-section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #D4DDD4;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(27,67,50,0.06);
}
.fp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F5F0E8;
}
.fp-section-title {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6B7280;
  margin: 0;
}
.fp-section-link {
  font-size: 12px;
  font-weight: 700;
  color: #1B4332;
  text-decoration: none;
}
.fp-section-link:hover { text-decoration: underline; }

/* Detail grid */
.fp-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #D4DDD4;
  border-radius: 8px;
  overflow: hidden;
}
.fp-detail-card {
  background: #fff;
  padding: 16px 18px;
  text-align: center;
}
.fp-dc-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94A3B8;
  margin-bottom: 6px;
}
.fp-dc-val {
  font-size: 22px;
  font-weight: 700;
  color: #1B4332;
  line-height: 1;
}

/* Two col */
.fp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.fp-two-col .fp-section { margin-bottom: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .fp-hero-inner, .fp-content-inner { padding-left: 16px; padding-right: 16px; }
  .fp-now-temp { font-size: 72px; }
  .fp-now-icon { font-size: 56px; }
  .fp-7day-list { grid-template-columns: repeat(4, 1fr); }
  .fp-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-two-col { grid-template-columns: 1fr; gap: 0; }
  .fp-two-col .fp-section { margin-bottom: 18px; }
}
@media (max-width: 480px) {
  .fp-now-temp { font-size: 56px; }
  .fp-now-icon { font-size: 44px; }
}

/* ══════════════════════════════════════════════
   HOURLY STRIP
══════════════════════════════════════════════ */
.hourly-scroll-wrap {
  overflow-x: auto; margin: 0 -2px;
  scrollbar-width: none;
}
.hourly-scroll-wrap::-webkit-scrollbar { display: none; }
.hourly-scroll {
  display: flex; gap: 8px; padding: 4px 2px 8px;
  min-width: max-content;
}
.hour-card {
  background: #F5F0E8; border: 1px solid #D4DDD4;
  border-radius: 10px; padding: 10px 14px;
  text-align: center; min-width: 64px;
  transition: background 0.15s;
}
.hour-card:hover { background: #F5F0E8; }
.hour-card.active {
  background: #1B4332; border-color: #1B4332; color: #fff;
}
.hour-time { font-size: 11px; font-weight: 700; color: #6B7280; margin-bottom: 6px; }
.hour-card.active .hour-time { color: rgba(255,255,255,0.7); }
.hour-icon { font-size: 20px; margin-bottom: 6px; line-height: 1; }
.hour-icon svg { width: 22px; height: 22px; }
.hour-temp { font-size: 16px; font-weight: 700; color: #1A1A1A; }
.hour-card.active .hour-temp { color: #fff; }
.hour-rain { font-size: 10px; color: #6B7280; margin-top: 3px; }
.hour-card.active .hour-rain { color: rgba(255,255,255,0.6); }

/* ══════════════════════════════════════════════
   DAILY LIST (inside light area, if used)
══════════════════════════════════════════════ */
.daily-list { display: flex; flex-direction: column; gap: 1px; }
.daily-row {
  display: grid;
  grid-template-columns: 80px 40px 28px 1fr 60px 70px;
  align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  transition: background 0.14s;
}
.daily-row:hover { background: #F7F5F0; }
.daily-row.today { background: #F7F5F0; font-weight: 700; }
.daily-day { font-size: 13px; font-weight: 700; color: #1A1A1A; }
.daily-date { font-size: 12px; color: #94A3B8; }
.daily-emoji { font-size: 22px; }
.daily-desc { font-size: 12px; color: #6B7280; }
.daily-rain { font-size: 12px; color: #6B7280; text-align: right; }
.daily-temps { text-align: right; }
.daily-hi { font-size: 15px; font-weight: 700; color: #1B4332; }
.daily-lo { font-size: 13px; color: #94A3B8; margin-left: 4px; }

/* ══════════════════════════════════════════════
   SUN / MOON CARD
══════════════════════════════════════════════ */
.sun-moon-card {
  display: flex; gap: 0;
  border: 1px solid #D4DDD4; border-radius: 10px; overflow: hidden;
}
.sun-section, .moon-section {
  flex: 1; padding: 18px 20px; text-align: center;
}
.sun-section { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }
.moon-section { background: linear-gradient(135deg, #F7F5F0 0%, #E8F0E8 100%); }
.sun-section h4, .moon-section h4 {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: #94A3B8; margin: 0 0 10px;
}
.sun-icon { font-size: 32px; margin-bottom: 12px; }
.sun-time-row { display: flex; justify-content: center; gap: 20px; margin-bottom: 8px; }
.sun-time-item { text-align: center; }
.sun-time-item span { display: block; font-size: 10px; color: #94A3B8; margin-bottom: 2px; }
.sun-time-item strong { font-size: 15px; color: #1A1A1A; }
.daylight { font-size: 11px; color: #6B7280; }
.divider-v { width: 1px; background: #D4DDD4; }

/* ══════════════════════════════════════════════
   AQI CARD
══════════════════════════════════════════════ */
.aqi-card {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
}
.aqi-icon { font-size: 36px; }
.aqi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94A3B8; margin-bottom: 4px; }
.aqi-value { font-size: 36px; font-weight: 700; color: #1B4332; line-height: 1; }
.aqi-desc { font-size: 14px; color: #6B7280; margin: 4px 0 10px; }
.aqi-bar {
  height: 6px; background: linear-gradient(90deg, #4CAF50 0%, #8BC34A 25%, #FFC107 50%, #FF5722 75%, #D32F2F 100%);
  border-radius: 3px; position: relative;
}
.aqi-needle {
  position: absolute; top: -4px;
  width: 14px; height: 14px;
  background: #fff; border: 2px solid #1B4332;
  border-radius: 50%; transform: translateX(-50%);
  transition: left 0.5s ease;
}

/* ══════════════════════════════════════════════
   RADAR CARD
══════════════════════════════════════════════ */
.radar-card {
  position: relative; height: 200px; border-radius: 10px;
  overflow: hidden; background: #0a1628;
  display: flex; align-items: center; justify-content: center;
}
.radar-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.radar-map { font-size: 120px; opacity: 0.08; }
.radar-overlay {
  position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 30px, rgba(26,116,200,0.07) 31px);
}
.radar-label {
  position: absolute; top: 12px; left: 14px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.4); padding: 3px 8px; border-radius: 4px;
}
.radar-city {
  position: absolute; bottom: 10px; right: 12px;
  font-size: 11px; color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════════════════
   FOOTER (standalone front-page)
══════════════════════════════════════════════ */
.weather-footer {
  background: linear-gradient(180deg, #0B2920 0%, #040f22 100%);
  padding: 48px 32px 28px;
}
.footer-cols {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px;
  max-width: 1200px; margin: 0 auto 32px;
}
.footer-col h5 {
  font-size: 9px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.3);
  margin: 0 0 14px;
}
.footer-col a {
  display: block; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.5); text-decoration: none;
  margin-bottom: 9px; transition: color 0.14s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 12px; color: rgba(255,255,255,0.25); text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-cols { grid-template-columns: 1fr; } .weather-footer { padding: 32px 16px 20px; } }

/* ══════════════════════════════════════════════
   SECTION HEADER (shared)
══════════════════════════════════════════════ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.section-title {
  font-size: 11px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.12em; color: #6B7280;
}
.update-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #94A3B8;
}
.update-dot {
  width: 6px; height: 6px; background: #4CAF50;
  border-radius: 50%; animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ══════════════════════════════════════════════
   NIGHT MODE
══════════════════════════════════════════════ */
body.is-night .fp-hero {
  background: linear-gradient(160deg, #030d1f 0%, #071829 50%, #0a1e35 100%);
}
body.is-night .hour-card.active {
  background: linear-gradient(145deg, #052858, #0B2920);
}

/* ─────────────── Front Page (Homepage) — kairosioannina.com ─────────────── */
/* Extracted from front-page.php inline <style> block */

/* ═══ VARIABLES ═══ */
:root{
  --forest:#1B4332;--forest-light:#2D6A4F;--forest-dark:#0B2920;
  --amber:#D4A017;--amber-dark:#A67C00;
  --stone:#F5F0E8;--stone-dark:#E8DFD0;
  --foam:#D4E8D9;--mist:#F7F5F0;
  --text:#1A1A1A;--subtle:#6B7280;--slate-light:#718096;
  --white:#fff;--red:#C53030;--radius:10px;
  --shadow:0 2px 16px rgba(27,67,50,.08);--shadow-lg:0 8px 32px rgba(27,67,50,.14);
}
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'DM Sans',sans-serif!important;background:var(--mist)!important;color:var(--text);min-height:100vh;}
html{margin-top:0!important;}#wpadminbar{display:none;}

/* ═══ HEADER — single row ═══ */
.hdr{position:sticky;top:0;z-index:500;background:linear-gradient(90deg,#0B2920,#1B4332 55%,#2D6A4F);border-bottom:3px solid var(--amber);box-shadow:0 2px 20px rgba(0,0,0,.25);}
.hdr-in{max-width:1240px;margin:0 auto;padding:0 20px;height:56px;display:flex;align-items:center;}
.hdr-logo{display:flex;align-items:center;gap:9px;padding-right:18px;border-right:1px solid rgba(255,255,255,.12);flex-shrink:0;text-decoration:none;}
.hdr-logo-img{height:52px;width:auto;display:block;}
.hdr-nav{display:flex;align-items:center;flex:1;justify-content:center;gap:0;}
.hdr-nav>a,.hdr-dd>a{padding:0 11px;height:56px;display:flex;align-items:center;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:rgba(255,255,255,.45);border-bottom:3px solid transparent;margin-bottom:-3px;transition:.15s;white-space:nowrap;text-decoration:none;}
.hdr-nav>a:hover,.hdr-dd>a:hover{color:#fff;}
.hdr-nav>a.on,.hdr-dd>a.on{color:#fff;border-bottom-color:var(--amber);}
.hdr-dd{display:flex;align-items:stretch;position:relative;}
.hdr-dd-menu{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);background:#fff;border:1px solid var(--stone-dark);border-radius:10px;box-shadow:0 10px 40px rgba(27,67,50,.18);min-width:220px;padding:6px 0;z-index:600;margin-top:3px;}
.hdr-dd:hover .hdr-dd-menu,.hdr-dd:focus-within .hdr-dd-menu{display:block;}
.hdr-dd-menu .hdr-dd-item{display:block;padding:9px 16px;font-size:13px;font-weight:600;color:#14382B;text-decoration:none;text-transform:none;letter-spacing:normal;height:auto;border-bottom:none;margin-bottom:0;white-space:normal;transition:.14s;}
.hdr-dd-menu .hdr-dd-item:hover{background:var(--stone);color:var(--forest);}
.hdr-dd-sep{height:1px;background:var(--stone-dark);margin:5px 0;}
.hdr-live{display:flex;align-items:center;gap:7px;padding-left:18px;border-left:1px solid rgba(255,255,255,.12);flex-shrink:0;}
.hdr-live-dot{width:6px;height:6px;border-radius:50%;background:#68D391;animation:pls 2s infinite;}
@keyframes pls{0%,100%{opacity:1}50%{opacity:.3}}
.hdr-live-lbl{font-size:7px;font-weight:900;letter-spacing:.16em;color:rgba(255,255,255,.3);}
.hdr-live-temp{font-size:20px;font-weight:700;color:#fff;line-height:1;}
.hdr-live-icon{color:#fff;}.hdr-live-icon svg{width:20px;height:20px;vertical-align:middle;fill:#fff;}
.unit-toggle{display:flex;background:rgba(0,0,0,.2);border-radius:14px;padding:2px;gap:1px;margin-left:4px;}
.unit-btn{background:transparent;border:none;cursor:pointer;font-family:inherit;font-size:10px;font-weight:800;color:rgba(255,255,255,.4);padding:3px 7px;border-radius:11px;transition:.18s;line-height:1;}
.unit-btn.on{background:rgba(255,255,255,.2);color:#fff;}
.hdr-hamburger{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:8px;cursor:pointer;padding:10px;margin-left:12px;width:44px;height:44px;transition:background .2s;}
.hdr-hamburger:hover,.hdr-hamburger:active{background:rgba(255,255,255,.18);}
.hdr-hamburger span{display:block;width:20px;height:2px;background:#fff;border-radius:2px;transition:transform .3s,opacity .3s;}
.hdr-hamburger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hdr-hamburger.is-open span:nth-child(2){opacity:0;}
.hdr-hamburger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:600;opacity:0;pointer-events:none;transition:opacity .3s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);}
.mobile-overlay.open{opacity:1;pointer-events:auto;}
.mobile-drawer{position:fixed;top:0;right:0;bottom:0;width:min(320px,85vw);background:linear-gradient(180deg,#0B2920,#071A12);z-index:700;transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);overflow-y:auto;-webkit-overflow-scrolling:touch;box-shadow:-4px 0 30px rgba(0,0,0,.4);}
.mobile-drawer.open{transform:translateX(0);}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.1);}
.drawer-logo{font-size:16px;font-weight:900;color:#fff;text-decoration:none;}
.drawer-logo span{color:var(--amber);font-size:14px;}
.drawer-close{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.6);font-size:18px;cursor:pointer;padding:8px 10px;border-radius:8px;line-height:1;transition:background .2s;}
.drawer-close:hover{background:rgba(255,255,255,.15);color:#fff;}
.drawer-body{padding:16px 0;}
.drawer-group{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06);}
.drawer-group:last-child{border-bottom:none;}
.drawer-group-label{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.16em;color:var(--amber);opacity:.7;padding:8px 22px 10px;}
.drawer-item{display:block;padding:12px 22px;font-size:14px;font-weight:500;color:rgba(255,255,255,.65);transition:all .15s;text-decoration:none;border-left:3px solid transparent;}
.drawer-item:hover,.drawer-item:active{color:#fff;background:rgba(255,255,255,.06);border-left-color:var(--amber);}
.drawer-live{display:flex;align-items:center;gap:8px;padding:14px 22px;margin:4px 16px;background:rgba(255,255,255,.05);border-radius:10px;border:1px solid rgba(255,255,255,.08);}
.drawer-live-dot{width:6px;height:6px;border-radius:50%;background:#68D391;animation:pls 2s infinite;}
.drawer-live-temp{font-size:18px;font-weight:700;color:#fff;}
.drawer-live-lbl{font-size:8px;font-weight:800;letter-spacing:.12em;color:rgba(255,255,255,.3);}
@media(max-width:960px){.hdr-nav{display:none;}.hdr-hamburger{display:flex;}.hdr-live{margin-left:auto;}}

/* ═══ HERO ═══ */
.home-hero{background:linear-gradient(160deg,#0B2920,#1B4332 45%,#2D6A4F);position:relative;overflow:hidden;}
.home-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 60% 50% at 75% 35%,rgba(45,106,79,.3),transparent 70%);pointer-events:none;}
.home-hero-in{max-width:1200px;margin:0 auto;padding:32px 28px 0;position:relative;z-index:1;}
.home-h1{font-size:1.6rem;font-weight:800;color:#fff;margin:0 0 6px;}
.home-h2{font-size:1.1rem;font-weight:700;color:rgba(255,255,255,.85);margin:0 0 16px;}
.home-h2-dark{font-size:1.1rem;font-weight:700;color:#275E46;margin:0 0 16px;}
.home-loc{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:rgba(255,255,255,.4);margin-bottom:24px;}
.home-loc svg{stroke:rgba(255,255,255,.5);}
.home-loc-name{color:rgba(255,255,255,.7);}
.home-update{font-size:11px;color:rgba(255,255,255,.25);}
.home-now{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding-bottom:32px;}
.home-now-icon svg{width:72px;height:72px;}
.home-now-temp-wrap{display:flex;align-items:flex-start;line-height:1;flex-shrink:0;}
.home-now-temp{font-size:88px;font-weight:200;color:#fff;line-height:.9;letter-spacing:-.04em;}
.home-now-deg{font-size:26px;font-weight:300;color:rgba(255,255,255,.5);margin-top:8px;}
.home-now-meta{padding-left:4px;}
.home-now-desc{font-family:'DM Serif Display',serif;font-size:24px;color:rgba(255,255,255,.9);margin-bottom:6px;}
.home-now-feels{font-size:12px;color:rgba(255,255,255,.35);margin-bottom:14px;font-weight:500;}
.home-pills{display:flex;flex-wrap:wrap;gap:6px;}
.home-pill{display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:4px 12px;font-size:11px;font-weight:600;color:rgba(255,255,255,.55);}
.home-pill svg{width:14px;height:14px;flex-shrink:0;}
.home-loading{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.4);font-size:14px;padding:40px 0;}
.home-spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.15);border-top-color:#fff;border-radius:50%;animation:fp-spin .8s linear infinite;}
@keyframes fp-spin{to{transform:rotate(360deg);}}
.home-error{background:rgba(197,48,48,.15);border:1px solid rgba(197,48,48,.35);border-radius:8px;padding:10px 16px;color:#fca5a5;font-size:13px;}

/* ═══ 7-DAY STRIP ═══ */
.home-strip{border-top:1px solid rgba(255,255,255,.08);}
.home-strip-grid{display:grid;grid-template-columns:repeat(7,1fr);}
.hsd{padding:14px 6px 12px;text-align:center;border-right:1px solid rgba(255,255,255,.05);border-bottom:3px solid transparent;cursor:pointer;transition:.18s;}
.hsd:last-child{border-right:none;}
.hsd:hover{background:rgba(255,255,255,.04);}
.hsd.on{background:rgba(255,255,255,.07);border-bottom-color:var(--amber);}
.hsd-name{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.35);margin-bottom:6px;line-height:1.5;}
.hsd.on .hsd-name{color:rgba(255,255,255,.75);}
.hsd-icon{line-height:1;margin-bottom:6px;}
.hsd-icon svg{width:24px;height:24px;margin:0 auto;}
.hsd-hi{font-size:15px;font-weight:700;color:#fff;}
.hsd-lo{font-size:12px;color:rgba(255,255,255,.3);margin-left:2px;}
.hsd-rain{font-size:9px;color:rgba(255,255,255,.25);margin-top:3px;}

/* ═══ CONTENT AREA ═══ */
.home-content{background:var(--mist);}
.home-content-in{max-width:1200px;margin:0 auto;padding:24px 28px 0;}
.section{background:var(--white);border-radius:var(--radius);border:1px solid var(--stone-dark);padding:20px 22px;margin-bottom:16px;box-shadow:var(--shadow);}
.sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--stone);}
.sec-title{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;color:var(--slate-light);margin:0;}
.sec-link{font-size:11px;font-weight:700;color:var(--forest);text-decoration:none;}
.hr-scroll{overflow-x:auto;scrollbar-width:none;}.hr-scroll::-webkit-scrollbar{display:none;}
.hr-row{display:flex;gap:7px;padding:4px 0 8px;min-width:max-content;}
.hr-card{background:var(--stone);border:1px solid var(--stone-dark);border-radius:9px;padding:9px 13px;text-align:center;min-width:62px;transition:.15s;}
.hr-card.on{background:var(--forest);border-color:var(--forest);color:#fff;}
.hr-time{font-size:10px;font-weight:700;color:var(--slate-light);margin-bottom:5px;}
.hr-card.on .hr-time{color:rgba(255,255,255,.6);}
.hr-icon{line-height:1;margin-bottom:5px;}.hr-icon svg{width:22px;height:22px;margin:0 auto;}
.hr-temp{font-size:15px;font-weight:700;color:var(--text);}
.hr-card.on .hr-temp{color:#fff;}
.hr-rain{font-size:9px;color:var(--slate-light);margin-top:2px;display:flex;align-items:center;justify-content:center;gap:2px;}
.hr-card.on .hr-rain{color:rgba(255,255,255,.45);}
.hr-rain svg{width:10px;height:10px;}
.v7-row{display:grid;grid-template-columns:86px 32px 1fr auto 68px;align-items:center;gap:12px;padding:11px 6px;border-bottom:1px solid var(--stone);}
.v7-row:last-child{border-bottom:none;}
.v7-row:hover{background:var(--stone);}
.v7-row.today{background:rgba(27,67,50,.04);}
.v7-day{font-size:12px;font-weight:700;}.v7-day small{display:block;font-size:10px;font-weight:400;color:var(--subtle);}
.v7-icon{line-height:1;}.v7-icon svg{width:26px;height:26px;}
.v7-desc{font-size:12px;color:var(--subtle);line-height:1.3;}
.v7-rain{font-size:10px;color:var(--subtle);display:flex;align-items:center;gap:2px;}
.v7-rain svg{width:11px;height:11px;}
.v7-temps{text-align:right;white-space:nowrap;}
.v7-hi{font-size:15px;font-weight:700;color:var(--forest);}
.v7-lo{font-size:13px;color:var(--subtle);margin-left:5px;}
.det-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:var(--stone-dark);border-radius:8px;overflow:hidden;}
.det-card{background:var(--white);padding:14px;text-align:center;}
.det-lbl{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--subtle);margin-bottom:5px;}
.det-val{font-size:20px;font-weight:700;color:var(--forest);}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.two-col .section{margin-bottom:0;}
.sun-card{display:flex;border-radius:9px;overflow:hidden;border:1px solid var(--stone-dark);}
.sun-half{flex:1;padding:16px 18px;text-align:center;}
.sun-half.sun-s{background:linear-gradient(135deg,#FFF8E7,#FEF3CD);}
.sun-half.moon-s{background:linear-gradient(135deg,var(--stone),var(--mist));}
.sun-half h4{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--subtle);margin:0 0 8px;}
.sun-icon{margin-bottom:10px;}.sun-icon svg{width:30px;height:30px;margin:0 auto;}
.sun-times{display:flex;justify-content:center;gap:18px;margin-bottom:5px;}
.sun-times div{text-align:center;}.sun-times span{display:block;font-size:9px;color:var(--subtle);margin-bottom:2px;}.sun-times strong{font-size:14px;color:var(--text);}
.sun-dur{font-size:10px;color:var(--subtle);}
.divider-v{width:1px;background:var(--stone-dark);}
.aqi-row{display:flex;align-items:center;gap:14px;padding:10px 0;}
.aqi-icon svg{width:30px;height:30px;}
.aqi-lbl{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--subtle);margin-bottom:3px;}
.aqi-val{font-size:28px;font-weight:700;color:var(--forest);line-height:1;}
.aqi-desc{font-size:13px;color:var(--subtle);margin:3px 0 8px;}
.aqi-bar{height:5px;background:linear-gradient(90deg,#48BB78,#68D391 25%,#ECC94B 50%,#ED8936 75%,#E53E3E);border-radius:3px;position:relative;}
.aqi-needle{position:absolute;top:-4px;width:12px;height:12px;background:#fff;border:2px solid var(--forest);border-radius:50%;transform:translateX(-50%);transition:left .5s;}
.radar-map-wrap{border-radius:8px;overflow:hidden;}
.radar-toggle{display:flex;gap:3px;background:var(--stone);border-radius:7px;padding:2px;}
.radar-toggle-btn{display:flex;align-items:center;gap:4px;background:transparent;border:none;cursor:pointer;font-family:inherit;font-size:10px;font-weight:700;color:var(--subtle);padding:4px 9px;border-radius:5px;transition:.15s;}
.radar-toggle-btn svg{width:13px;height:13px;}
.radar-toggle-btn.active{background:var(--white);color:var(--forest);box-shadow:0 1px 3px rgba(0,0,0,.1);}
.radar-tooltip{background:rgba(27,67,50,.92)!important;border:none!important;color:#fff!important;font-family:'DM Sans',sans-serif!important;font-size:11px!important;font-weight:700!important;padding:3px 9px!important;border-radius:4px!important;}
.leaflet-control-attribution{font-size:8px!important;}
.seo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:7px;}
.seo-link{display:block;padding:10px 14px;background:var(--stone);border:1px solid var(--stone-dark);border-radius:8px;font-size:12px;font-weight:700;color:var(--forest);text-decoration:none;transition:.15s;}
.seo-link:hover{background:var(--foam);border-color:var(--forest);}
.seo-text{font-size:13px;line-height:1.75;color:#4A5568;max-width:800px;}
.seo-text p{margin-bottom:12px;}.seo-text a{color:var(--forest);font-weight:600;text-decoration:none;}
.seo-cta{background:linear-gradient(135deg,#0B2920,#1B4332);color:#fff;border:none!important;border-radius:var(--radius);padding:20px 22px;margin-bottom:16px;}
.seo-cta-inner{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.seo-cta-label{font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--amber);margin-bottom:5px;}
.seo-cta-title{font-size:15px;font-weight:700;margin-bottom:6px;}
.seo-cta-desc{font-size:12px;color:rgba(255,255,255,.5);}
.seo-cta-btn{display:inline-flex;padding:9px 22px;background:var(--amber);color:#0B2920;border-radius:7px;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap;flex-shrink:0;}
.ftr{background:linear-gradient(180deg,var(--forest-dark),#071A12);}
.ftr-top{max-width:1200px;margin:0 auto;padding:44px 32px 0;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr 1fr;gap:28px;}
.ftr-brand-logo{display:block;margin-bottom:14px;text-decoration:none;}
.ftr-brand-img{max-width:180px;height:auto;display:block;}
.ftr-brand-desc{font-size:12px;line-height:1.65;color:rgba(255,255,255,.3);margin-bottom:14px;}
.ftr-social{display:flex;gap:8px;}.ftr-social button{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:12px;color:rgba(255,255,255,.4);cursor:default;transition:.15s;font-family:inherit;}.ftr-social button:hover{background:var(--amber);color:#0B2920;border-color:var(--amber);}
.ftr-col h5{font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.18em;color:rgba(255,255,255,.22);margin:0 0 14px;}.ftr-col a{display:block;font-size:12px;font-weight:500;color:rgba(255,255,255,.35);margin-bottom:9px;text-decoration:none;transition:.15s;}.ftr-col a:hover{color:var(--amber);}
.ftr-div{max-width:1200px;margin:0 auto;height:1px;background:rgba(255,255,255,.06);margin-top:32px;}
.ftr-bot{max-width:1200px;margin:0 auto;padding:18px 32px 24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:11px;color:rgba(255,255,255,.18);}.ftr-bot a{color:rgba(255,255,255,.25);text-decoration:none;}.ftr-bot a:hover{color:rgba(255,255,255,.5);}
.ftr-bot-r{display:flex;gap:14px;}.ftr-bot-r a{color:rgba(255,255,255,.22);}
@media(max-width:768px){.home-hero-in,.home-content-in{padding-left:16px;padding-right:16px;}.home-now-temp{font-size:64px;}.home-strip-grid{grid-template-columns:repeat(4,1fr);}.det-grid{grid-template-columns:repeat(2,1fr);}.two-col{grid-template-columns:1fr;}.ftr-top{grid-template-columns:1fr 1fr;}}
@media(max-width:480px){.home-now-temp{font-size:48px;}.ftr-top{grid-template-columns:1fr;}}
body.is-night .home-hero{background:linear-gradient(160deg,#050E0A,#0B2920 50%,#132E22);}

/* ═══ MOBILE OPTIMIZATIONS ═══ */

/* 960px: nav hidden → hide LIVE label to recover horizontal space */
@media(max-width:960px){
  .hdr-live-lbl{display:none;}
}

/* ≤768px: fix 7-day strip — override repeat(4,1fr) with horizontal scroll */
@media(max-width:768px){
  .home-strip{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .home-strip::-webkit-scrollbar{display:none;}
  .home-strip-grid{grid-template-columns:repeat(7,minmax(50px,1fr));min-width:350px;}
}

/* ≤600px: compact header so logo + live + hamburger all fit */
@media(max-width:600px){
  .hdr-logo-img{height:40px;}
  .hdr-live-dot,.hdr-live-icon{display:none;}
  .hdr-live-temp{font-size:17px;}
  .hdr-live{gap:5px;}
  .home-now-icon,.home-now-icon svg{width:56px;height:56px;font-size:56px;}
  .section{padding:14px 14px;}
  .home-hero-in{padding-top:20px;}
}

/* ≤380px: very small phones — hide unit toggle */
@media(max-width:380px){
  .unit-toggle{display:none;}
  .hdr-live-temp{font-size:15px;}
}
