/*
Theme Name: KairosLarisa
Theme URI: https://kairoslarisa.com
Description: Weather theme for Larisa, Greece. Live weather data from OpenWeather API.
Version: 1.0.0
Author: Kairos Larisa
Author URI: https://kairoslarisa.com
Text Domain: kairoslarisa
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: #f1f5f9;
  color: #0f172a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:root {
  --dark: #0f172a;
  --mid: #1e293b;
  --light: #334155;
  --accent: #0ea5e9;
  --accent-hover: #38bdf8;
  --alert: #ef4444;
  --bg: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --text-dark: #0f172a;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1200px;
  --transition: 0.2s ease;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ====================================================
   HEADER
==================================================== */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .brand {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-text .region {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 2rem;
}
.nav-link {
  padding: 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); }
.nav-link.active {
  color: var(--white);
  border-bottom-color: var(--accent);
}
.nav-link .nav-badge {
  background: var(--accent);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  text-transform: uppercase;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  width: 200px;
  padding: 0.45rem 0.75rem 0.45rem 2.1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.78rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.header-search input::placeholder { color: rgba(255,255,255,0.35); }
.header-search input:focus {
  background: rgba(255,255,255,0.12);
  border-color: rgba(14,165,233,0.5);
  width: 240px;
}
.header-search .search-icon {
  position: absolute;
  left: 0.65rem;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}
.header-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
}
.header-location:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

/* ====================================================
   WEATHER ALERT BAR
==================================================== */
.alert-bar {
  background: var(--alert);
  color: white;
}
.alert-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.55rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}
.alert-bar-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.alert-dot {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.alert-bar-text {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alert-bar-text a { color: white; }
.alert-bar-text a:hover { text-decoration: underline; }

/* ====================================================
   HERO SECTION
==================================================== */
.hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%);
  padding: 3rem 0 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}
.hero-current { padding-bottom: 3rem; }
.hero-location-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.hero-location-label .live-dot,
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-city {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.hero-date {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.hero-weather-main {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.hero-temp {
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-temp-unit {
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  vertical-align: super;
}
.hero-condition-block { padding-top: 0.5rem; }
.hero-condition-icon { font-size: 3rem; margin-bottom: 0.25rem; }
.hero-condition-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-feels-like {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.15rem;
}
.hero-details-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-detail {
  padding: 0.85rem 1rem;
  text-align: center;
}
.hero-detail:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.06);
}
.hero-detail-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.2rem;
}
.hero-detail-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.hero-right { padding-bottom: 3rem; }
.hero-right-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.85rem;
}
.hourly-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.hourly-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 0.85rem 0.5rem;
  text-align: center;
  transition: var(--transition);
}
.hourly-card.now {
  background: rgba(14,165,233,0.12);
  border-color: rgba(14,165,233,0.25);
}
.hourly-card:hover { background: rgba(255,255,255,0.07); }
.hourly-time {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.5rem;
}
.hourly-card.now .hourly-time { color: var(--accent); }
.hourly-icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.hourly-icon img {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  display: block;
}
.hourly-temp {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.hourly-rain {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.2rem;
}

/* Hero 7-day mini */
.hero-week-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.65rem;
}
.hero-week-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-week-row {
  display: grid;
  grid-template-columns: 80px 30px 1fr 60px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hero-week-row:last-child { border-bottom: none; }
.hero-week-day {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.hero-week-row:first-child .hero-week-day { color: var(--accent); }
.hero-week-icon {
  font-size: 1rem;
  text-align: center;
}
.hero-week-icon img {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  display: block;
}
.hero-week-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero-week-bar-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
  border-radius: 2px;
}
.hero-week-temps {
  text-align: right;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}
.hero-week-temps .lo {
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  margin-left: 0.15rem;
}

/* ====================================================
   QUICK LINKS NAV
==================================================== */
.quick-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}
.quick-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.quick-nav-inner::-webkit-scrollbar { display: none; }
.qn-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.qn-link:hover { color: var(--accent); }
.qn-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.qn-icon {
  font-size: 1rem;
  display: inline-flex;
  vertical-align: -3px;
}
.qn-icon svg { flex-shrink: 0; }

/* ====================================================
   SECTION STYLES
==================================================== */
.section { padding: 2.5rem 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  padding-left: 0.75rem;
  border-left: 4px solid var(--accent);
  line-height: 1;
}
.section-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}
.section-link:hover { color: var(--accent-hover); }
.section-link svg {
  vertical-align: -2px;
  margin-left: 3px;
}

/* ====================================================
   TODAY'S HIGHLIGHTS
==================================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow var(--transition);
}
.highlight-card:hover { box-shadow: 0 4px 12px rgba(15,23,42,0.08); }
.highlight-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.highlight-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
.highlight-icon {
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
}
.highlight-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}
.highlight-value .unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}
.highlight-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}
.highlight-card.accent .highlight-value { color: var(--accent); }

/* ====================================================
   AREAS QUICK GRID
==================================================== */
.areas-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.area-quick-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.area-quick-card:hover {
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
  border-color: #cbd5e1;
}
.area-quick-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.area-quick-icon { font-size: 1.5rem; }
.area-quick-icon img { width: 40px; height: 40px; }
.area-quick-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}
.area-quick-desc {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.1rem;
}
.area-quick-right { text-align: right; }
.area-quick-temp {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.area-quick-range {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 0.25rem;
}
.area-quick-range .hi {
  color: var(--text-mid);
  font-weight: 600;
}

/* ====================================================
   FORECAST CARDS (7-Day)
==================================================== */
.forecast-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}
.forecast-day-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.forecast-day-card:hover { box-shadow: 0 4px 12px rgba(15,23,42,0.08); }
.forecast-day-card.today {
  background: rgba(14,165,233,0.04);
  border-color: rgba(14,165,233,0.2);
}
.fdc-day {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
}
.forecast-day-card.today .fdc-day { color: var(--accent); }
.fdc-date {
  font-size: 0.62rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.fdc-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.fdc-icon img { width: 48px; height: 48px; margin: 0 auto; }
.fdc-temps {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}
.fdc-temps .lo {
  font-weight: 500;
  color: var(--text-light);
}
.fdc-rain {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.3rem;
  min-height: 0.85rem;
}

/* ====================================================
   BLOG PREVIEW
==================================================== */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.blog-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-preview-card:hover {
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}
.blog-card-img {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 2.5rem;
  background-size: cover;
  background-position: center;
}
.blog-card-body { padding: 1.15rem; }
.blog-card-body .post-category,
.post-category {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
}
.blog-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.blog-preview-card:hover h3 { color: var(--accent); }
.blog-card-body .post-meta,
.post-meta {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ====================================================
   CTA BANNER
==================================================== */
.cta-section { padding: 0 0 2.5rem; }
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 40%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.cta-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.cta-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}
.cta-form {
  display: flex;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.cta-form input {
  width: 260px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.3); }
.cta-form input:focus {
  border-color: rgba(14,165,233,0.5);
  background: rgba(255,255,255,0.1);
}
.cta-form button {
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  white-space: nowrap;
}
.cta-form button:hover { background: var(--accent-hover); }

/* ====================================================
   FOOTER
==================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding-top: 3rem;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-brand .logo-icon { width: 30px; height: 30px; font-size: 0.9rem; }
.footer-brand .brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}
.footer-about-text {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ====================================================
   AREA HERO (single area + front page)
==================================================== */
.area-hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%);
  padding: 2.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.area-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(14,165,233,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.area-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.area-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.area-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.area-hero-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.area-hero-temp {
  font-size: 5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.area-hero-temp .unit {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
}
.area-hero-condition {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.25rem;
}
.area-hero-feels {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.area-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.area-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.area-stat-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.35rem;
}
.area-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.1rem;
}
.area-stat-desc {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
}

/* Breadcrumb */
.breadcrumb {
  padding: 1.25rem 0;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}
.breadcrumb a {
  color: var(--text-light);
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-light); }

/* ====================================================
   DETAILS GRID
==================================================== */
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.detail-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.detail-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
.detail-icon { color: var(--text-light); }
.detail-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
}
.detail-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ====================================================
   NEARBY AREAS GRID
==================================================== */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.nearby-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.nearby-card:hover {
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}
.nearby-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nearby-icon { font-size: 1.3rem; }
.nearby-icon img { width: 36px; height: 36px; }
.nearby-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}
.nearby-desc {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}
.nearby-temp {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* ====================================================
   INFO CARD
==================================================== */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}
.info-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ====================================================
   AREAS LISTING PAGE
==================================================== */
.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.page-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
}
.page-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-top: 0.75rem;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.area-card:hover {
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
  border-color: #cbd5e1;
}
.area-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.area-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.area-subtitle {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}
.area-current-temp {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.area-temp-range {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}
.area-temp-range .hi {
  color: var(--text-mid);
  font-weight: 600;
}
.area-condition {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.area-condition .emoji { font-size: 1.15rem; }
.area-condition .text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
}
.area-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.area-stat {
  text-align: center;
}
.area-stat .area-stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}
.area-stat .area-stat-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}
.area-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

/* Comparison Table */
.comparison-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table thead th {
  background: var(--surface);
  padding: 0.75rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table tbody tr {
  cursor: pointer;
  transition: background var(--transition);
}
.comparison-table tbody tr:hover { background: var(--surface); }
.comparison-table tbody td {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.name-col { font-weight: 700; color: var(--text-dark); }
.icon-col { font-size: 1.2rem; text-align: center; }
.temp-col { font-weight: 700; }
.temp-col .lo {
  font-weight: 500;
  color: var(--text-light);
  margin-left: 0.25rem;
}
.wind-col { color: var(--text-mid); }
.rain-col { color: var(--accent); font-weight: 600; }

/* Map Section */
.map-section { margin-bottom: 2.5rem; }
.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.map-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.map-toolbar-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
}
.map-toggles { display: flex; gap: 0.35rem; }
.map-toggles button {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.map-toggles button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.map-container { height: 420px; position: relative; }
#map { width: 100%; height: 100%; }

/* Related links pills */
.related-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.related-pills a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
}
.related-pills a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ====================================================
   BLOG LISTING PAGE
==================================================== */
.page-title-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}
.breaking-bar {
  background: var(--alert);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.breaking-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: rgba(0,0,0,0.15);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  white-space: nowrap;
}
.breaking-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.breaking-text {
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: white;
  white-space: nowrap;
}
.breaking-text a { color: white; }
.breaking-text a:hover { text-decoration: underline; }
.category-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.cat-tab {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.cat-tab:hover { color: var(--text-dark); }
.cat-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Hero section blog */
.hero-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.hero-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.hero-main:hover { box-shadow: 0 4px 12px rgba(15,23,42,0.08); }
.hero-main-img-placeholder {
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background-size: cover;
  background-position: center;
}
.hero-main-body { padding: 1.5rem; }
.hero-main-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.post-excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-side-card {
  display: grid;
  grid-template-columns: 135px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.hero-side-card:hover { box-shadow: 0 4px 12px rgba(15,23,42,0.08); }
.hero-side-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background-size: cover;
  background-position: center;
}
.hero-side-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-side-body h3 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

/* Two column layout */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.article-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.article-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.article-card:hover { box-shadow: 0 4px 12px rgba(15,23,42,0.08); }
.article-card-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background-size: cover;
  background-position: center;
}
.article-card-body { padding: 1.25rem; }
.article-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.article-card:hover h3 { color: var(--accent); }
.article-card .post-excerpt {
  -webkit-line-clamp: 2;
  margin-bottom: 0.5rem;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.sidebar-card-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  padding-left: 0.65rem;
  border-left: 3px solid var(--accent);
  margin-bottom: 1rem;
}
.trending-list { list-style: none; }
.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: var(--surface); }
.trending-rank {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 24px;
}
.trending-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}
.trending-meta {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* Weather Alert Box */
.weather-alert-box {
  background: linear-gradient(135deg, var(--dark), var(--mid));
  border-radius: var(--radius);
  padding: 1.5rem;
  color: white;
}
.alert-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.weather-alert-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.weather-alert-box p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.alert-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* Newsletter Box */
.newsletter-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.newsletter-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}
.newsletter-box p {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* Topic Grid */
.topic-grid-section { margin-bottom: 2.5rem; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.topic-card:hover {
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}
.topic-card-img-placeholder {
  width: 100%;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background-size: cover;
  background-position: center;
}
.topic-card-body { padding: 1rem 1.1rem; }
.topic-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

/* Video Grid */
.video-section { margin-bottom: 2.5rem; }
.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.25rem;
}
.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.video-card:hover { box-shadow: 0 4px 12px rgba(15,23,42,0.08); }
.video-thumb {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.video-card:first-child .video-thumb { height: 280px; }
.video-play-btn {
  width: 54px;
  height: 54px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 14px solid white;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}
.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}
.video-card-body { padding: 1rem; }
.video-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

/* Load More */
.load-more-wrap {
  text-align: center;
  padding: 2rem 0;
}
.load-more-btn {
  padding: 0.7rem 2rem;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.load-more-btn:hover {
  background: var(--accent);
  color: white;
}

/* ====================================================
   SINGLE POST
==================================================== */
.article-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}
.article-breadcrumb {
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.article-breadcrumb a {
  color: var(--text-light);
  transition: var(--transition);
}
.article-breadcrumb a:hover { color: var(--accent); }
.article-category {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.article-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  max-width: 860px;
  margin-bottom: 0.75rem;
}
.article-subtitle {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 1.5rem;
}
.article-meta-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.article-meta-bar-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}
.author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}
.article-date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}
.article-actions {
  display: flex;
  gap: 0.5rem;
}
.action-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}
.action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Article Hero Image */
.article-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
}
.article-hero-placeholder {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, #1e293b, #0c4a6e);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-hero-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.article-hero-caption {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
}

/* Post Layout */
.post-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
}

/* Article Body */
.article-body {
  max-width: 720px;
}
.article-body p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.article-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body blockquote p {
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body blockquote cite {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-light);
}
.article-body ul,
.article-body ol {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { font-weight: 700; }
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Data Highlights */
.data-highlight {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.data-highlight-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.data-item { text-align: center; }
.data-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
}
.data-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* Article Figure */
.article-figure {
  margin: 2rem 0;
}
.article-figure-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--surface), #e2e8f0);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-figure-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.article-figure figcaption {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
}

/* Post sidebar sticky */
.post-sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-current { padding-bottom: 1.5rem; }
  .hero-right { padding-bottom: 2.5rem; }
  .area-hero-inner { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .forecast-strip { grid-template-columns: repeat(4, 1fr); }
  .blog-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { grid-template-columns: 1fr; }
  .two-col-layout { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
}

/* Mobile menu open state */
.main-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 99;
}
.main-nav.mobile-open .nav-link {
  height: auto;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-search { display: none; }
  .header-location { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero { padding: 2rem 0 0; }
  .hero-temp { font-size: 4rem; }
  .hero-details-row { grid-template-columns: repeat(2, 1fr); }
  .hero-detail:nth-child(2) { border-right: none; }
  .hero-detail:nth-child(1),
  .hero-detail:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hourly-scroll { grid-template-columns: repeat(4, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .forecast-strip { grid-template-columns: repeat(4, 1fr); }
  .blog-preview-grid { grid-template-columns: 1fr; }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .cta-form { flex-direction: column; width: 100%; }
  .cta-form input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nearby-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 1.75rem; }
  .article-card { grid-template-columns: 1fr; }
  .hero-side-card { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .header-inner { padding: 0 1rem; }
  .hero-temp { font-size: 3.5rem; }
  .hero-condition-icon { font-size: 2.25rem; }
  .hero-details-row { grid-template-columns: 1fr 1fr; }
  .hourly-scroll { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .areas-quick-grid { grid-template-columns: 1fr; }
  .forecast-strip { grid-template-columns: repeat(3, 1fr); }
  .quick-nav-inner { padding: 0 1rem; }
  .section { padding: 1.75rem 0; }
  .alert-bar-inner { padding: 0.55rem 1rem; }
  .details-grid { grid-template-columns: 1fr; }
  .nearby-grid { grid-template-columns: 1fr; }
  .area-hero-title { font-size: 1.75rem; }
  .area-hero-temp { font-size: 3.5rem; }
  .data-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
}

/* ====================================================
   UTILITY CLASSES (replacing inline styles)
==================================================== */
.section--no-pt { padding-top: 0; }
.section-header--mt-sm { margin-top: 0.5rem; }

/* Article list constrained */
.article-list--narrow { max-width: 800px; }
.article-list--padded { max-width: 800px; padding-bottom: 2rem; }

/* Page body content */
.page-body { padding: 2rem 0 3rem; max-width: 800px; }

/* Info card spacing */
.info-card--spaced { margin: 2rem 0; }

/* CTA banner centered variant */
.cta-banner--centered {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

/* Pagination link spacing */
.pagination-link { margin: 0 0.25rem; display: inline-block; }

/* 404 Page */
.error-page {
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}
.error-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.error-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.error-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Sidebar weather widget */
.sidebar-weather-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.sidebar-weather-temp {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}
.sidebar-weather-cond {
  font-size: 0.78rem;
  color: var(--text-light);
}
.sidebar-weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.sidebar-weather-grid .label { color: var(--text-light); }

/* Detail value unit */
.detail-unit {
  font-size: 0.6em;
  color: var(--text-light);
}

/* Area stat unit */
.area-stat-unit {
  font-size: 0.7em;
}

/* Hourly scroll 8 columns (area pages) */
.hourly-scroll--8 {
  grid-template-columns: repeat(8, 1fr);
}

/* Leaflet Map Markers & Popups */
.map-marker {
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.map-popup {
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-width: 140px;
}
.map-popup-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.map-popup-temp {
  font-size: 20px;
  font-weight: 800;
}
.map-popup-desc {
  font-size: 12px;
  color: #64748b;
}
.map-popup-range {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}
.map-popup-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* Dynamic background images via data-bg (set by JS) */
[data-bg] {
  background-size: cover;
  background-position: center;
}

/* Gradient placeholders */
.gradient-1 { background: linear-gradient(135deg, #1e293b, #0f172a 60%, #0ea5e9); }
.gradient-2 { background: linear-gradient(135deg, #0ea5e9, #1e293b); }
.gradient-3 { background: linear-gradient(135deg, #334155, #0ea5e9); }
.gradient-4 { background: linear-gradient(135deg, #0c4a6e, #1e293b); }
