/* ============================================================
   Καιρός Θεσσαλονίκη — main.css
   kairosthessaloniki.com
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --greek-blue:       #0D5EAF;
  --greek-blue-dark:  #0a4a8a;
  --greek-blue-deep:  #083870;
  --greek-blue-light: #1a77cc;
  --greek-foam:       #d0e6f8;
  --gold:             #d4a843;
  --text:             #0d1f33;
  --subtle:           #5a7fa8;
  --muted-bg:         #f0f5fb;
  --white:            #ffffff;
  --radius:           12px;
  --shadow:           0 2px 16px rgba(13,94,175,.10);
  --shadow-lg:        0 6px 32px rgba(13,94,175,.18);
  --transition:       .18s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--muted-bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── SKIP LINK (accessibility) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--greek-blue);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 6px 0;
  font-size: 14px;
}
.skip-link:focus { left: 0; }

/* ── TOPBAR ── */
.site-topbar {
  background: linear-gradient(90deg, var(--greek-blue-deep) 0%, var(--greek-blue) 60%, var(--greek-blue-light) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(13,94,175,.35);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo-link { display: flex; align-items: center; gap: 12px; }

.site-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.topbar-brand { line-height: 1.2; }

.topbar-city {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--white);
  letter-spacing: .03em;
}

.topbar-domain {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
  font-family: 'IBM Plex Sans', sans-serif;
}

.topbar-weather {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.topbar-sep { color: rgba(255,255,255,.35); font-size: 14px; }

.topbar-temp {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.topbar-icon { font-size: 24px; line-height: 1; }

.topbar-right { display: flex; align-items: center; }

.menu-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color var(--transition);
}
.menu-toggle:hover,
.menu-toggle:focus { color: var(--white); outline: 2px solid rgba(255,255,255,.4); outline-offset: 2px; }

/* ── MOBILE MENU DRAWER ── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 190;
  opacity: 0;
  transition: opacity .2s;
}
.mobile-menu-overlay.open { display: block; opacity: 1; }

.mobile-menu-drawer {
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 195;
  overflow-y: auto;
  transition: right .25s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
}
.mobile-menu-drawer.open { right: 0; }

.drawer-header {
  background: var(--greek-blue);
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.drawer-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid #f0f4f8;
  transition: background var(--transition), color var(--transition);
}
.drawer-nav a:hover { background: var(--muted-bg); color: var(--greek-blue); }

/* ── NAV BAR (weather tabs) ── */
.weather-nav {
  background: var(--white);
  border-bottom: 2px solid var(--greek-foam);
  box-shadow: 0 2px 8px rgba(13,94,175,.07);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.weather-nav::-webkit-scrollbar { display: none; }

.weather-nav-inner {
  display: flex;
  align-items: stretch;
  min-width: max-content;
}

.weather-tab {
  padding: 13px 22px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8fa8c4;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'IBM Plex Sans', sans-serif;
}
.weather-tab.active,
.weather-tab:focus { color: var(--greek-blue); border-bottom-color: var(--greek-blue); outline: none; }
.weather-tab:hover:not(.active) { color: var(--greek-blue-dark); }

/* ── Περιοχές dropdown ── */
.wt-dropdown { position: relative; flex-shrink: 0; display: flex; align-items: stretch; }
.wt-dropdown > .weather-tab { display: flex; align-items: center; }
.wt-dd-arrow { font-size: 9px; margin-left: 3px; opacity: .6; }
.wt-dropdown-menu {
  display: none;
  position: fixed;
  min-width: 200px;
  max-height: 420px;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(13,94,175,.15), 0 2px 6px rgba(0,0,0,.06);
  padding: 6px 0;
  z-index: 10000;
}
.wt-dropdown.open .wt-dropdown-menu { display: block; }
.wt-dd-item {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.wt-dd-item:hover { background: #f0f6fd; color: var(--greek-blue); }
.wt-dd-divider { height: 1px; background: #e8f0f8; margin: 4px 12px; }

.nav-arrow {
  margin-left: auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #aac2dc;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}

/* ── MAIN CONTENT ── */
.site-main { max-width: 1100px; margin: 0 auto; padding: 0 16px 48px; }

/* ── ERROR BANNER ── */
.error-banner {
  background: #e8f0fb;
  border: 1px solid rgba(13,94,175,.3);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--greek-blue-dark);
  display: none;
  margin-top: 16px;
}

/* ── LOADING STATE ── */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  color: var(--subtle);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--greek-foam);
  border-top-color: var(--greek-blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NOW CARD ── */
.now-card-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  margin-top: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.now-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #f0f4f8;
}

.now-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--greek-blue);
}

.now-card-clock {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.now-card-body {
  display: flex;
  align-items: center;
  padding: 28px 24px 32px;
  gap: 0;
  flex-wrap: wrap;
}

.now-icon-wrap { flex-shrink: 0; margin-right: 20px; }

.now-icon {
  font-size: 72px;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.12));
  animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.now-temp-wrap { flex-shrink: 0; margin-right: 24px; }

.now-temp {
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -.03em;
}

.now-temp-unit { font-size: 28px; font-weight: 400; vertical-align: super; }
.now-temp-scale { font-size: 20px; font-weight: 400; color: var(--subtle); margin-left: 2px; }

.now-info { flex: 1; min-width: 120px; }

.now-desc {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}

.now-feels { font-size: 14px; color: var(--subtle); }
.now-feels strong { color: var(--text); font-weight: 600; }

/* ── DETAILS GRID ── */
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.detail-icon { font-size: 20px; margin-bottom: 4px; }

.detail-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--greek-blue);
  line-height: 1.2;
}

.detail-lbl {
  font-size: 10px;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 2px;
}

/* ── SECTION HEADER ── */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 10px;
}

.section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
}

.update-badge {
  font-size: 11px;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 5px;
}

.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: .3; } }

/* ── HOURLY SCROLL ── */
.hourly-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.hourly-scroll::-webkit-scrollbar { display: none; }

.hour-card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  min-width: 66px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.hour-card:hover { transform: translateY(-3px); }

.hour-card.active {
  background: linear-gradient(145deg, var(--greek-blue-deep), var(--greek-blue));
  color: var(--white);
}

.hour-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--subtle);
  letter-spacing: .05em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.hour-card.active .hour-time { color: rgba(255,255,255,.7); }

.hour-emoji { font-size: 22px; margin-bottom: 6px; }

.hour-temp {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.hour-card.active .hour-temp { color: var(--white); }

.hour-rain {
  font-size: 10px;
  color: var(--greek-blue);
  margin-top: 3px;
}
.hour-card.active .hour-rain { color: rgba(255,255,255,.7); }

/* ── RADAR CARD ── */
.radar-card {
  background: var(--greek-blue-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  height: 180px;
}

.radar-bg {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(26,119,204,.5) 0%, transparent 60%),
    linear-gradient(135deg, #052a5c 0%, #0a4a8a 50%, var(--greek-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-rings {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='rgba(46,163,255,.12)' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='55' fill='none' stroke='rgba(46,163,255,.10)' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='30' fill='none' stroke='rgba(46,163,255,.08)' stroke-width='1'/%3E%3Cline x1='100' y1='20' x2='100' y2='180' stroke='rgba(46,163,255,.06)' stroke-width='1'/%3E%3Cline x1='20' y1='100' x2='180' y2='100' stroke='rgba(46,163,255,.06)' stroke-width='1'/%3E%3C/svg%3E") center/cover;
  pointer-events: none;
}

.radar-map-icon {
  font-size: 80px;
  opacity: .3;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .3; } 50% { opacity: .5; } }

.radar-badge {
  position: absolute;
  top: 14px; left: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.radar-coords {
  position: absolute;
  bottom: 14px; right: 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .05em;
}

/* ── DAILY LIST ── */
.daily-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.daily-row {
  display: flex;
  align-items: center;
  padding: 13px 18px;
  gap: 10px;
  border-bottom: 1px solid var(--greek-foam);
  transition: background var(--transition);
}
.daily-row:last-child { border-bottom: none; }
.daily-row:hover { background: var(--muted-bg); }

.daily-day  { font-size: 13px; font-weight: 700; width: 54px; color: var(--text); }
.daily-row.today .daily-day { color: var(--greek-blue); }
.daily-date { font-size: 11px; color: var(--subtle); width: 36px; }
.daily-emoji { font-size: 22px; margin: 0 4px; }
.daily-desc { flex: 1; font-size: 12px; color: var(--subtle); }
.daily-rain { font-size: 12px; color: var(--greek-blue); width: 40px; text-align: right; }

.daily-temps { display: flex; gap: 8px; align-items: baseline; }
.daily-hi { font-size: 16px; font-weight: 700; color: var(--text); }
.daily-lo { font-size: 14px; color: var(--subtle); }

/* ── SUN & MOON ── */
.sun-moon-card {
  background: linear-gradient(135deg, #fff9ec, var(--white));
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(212,168,67,.2);
}

.sun-section, .moon-section { flex: 1; text-align: center; }

.sun-section h3, .moon-section h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--subtle);
  margin-bottom: 10px;
  font-weight: 700;
}

.astro-icon { font-size: 30px; margin-bottom: 8px; }

.astro-times { display: flex; justify-content: center; gap: 20px; }

.astro-item span { display: block; font-size: 10px; color: var(--subtle); margin-bottom: 2px; }
.astro-item strong { font-weight: 700; color: var(--gold); font-size: 14px; }

.astro-note { font-size: 12px; color: var(--subtle); margin-top: 6px; }

.v-divider { width: 1px; height: 60px; background: rgba(212,168,67,.2); flex-shrink: 0; }

/* ── AQI ── */
.aqi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
}

.aqi-icon { font-size: 32px; flex-shrink: 0; }

.aqi-info { flex: 1; }

.aqi-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 4px;
}

.aqi-value { font-size: 22px; font-weight: 700; }

.aqi-desc { font-size: 12px; color: var(--subtle); margin-top: 4px; line-height: 1.5; }

.aqi-bar {
  height: 6px;
  background: linear-gradient(to right, #4CAF50, #FFC107, #FF5722);
  border-radius: 3px;
  margin-top: 10px;
  position: relative;
}

.aqi-needle {
  position: absolute;
  top: -4px;
  width: 14px; height: 14px;
  background: var(--white);
  border: 2px solid #FF5722;
  border-radius: 50%;
  transform: translateX(-50%);
  transition: left 1s ease;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--greek-blue-deep);
  color: rgba(255,255,255,.65);
  border-top: 3px solid var(--gold);
  margin-top: 32px;
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand { }

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-svg { width: 40px; height: 40px; }

.footer-site-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--white);
  line-height: 1.2;
}

.footer-tagline { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .08em; }

.footer-about {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy { font-size: 12px; color: rgba(255,255,255,.35); }

.footer-legal { display: flex; gap: 16px; }
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold); }

/* ── STATIC PAGES ── */
.page-hero {
  background: linear-gradient(135deg, var(--greek-blue-deep), var(--greek-blue));
  color: var(--white);
  padding: 48px 24px 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: .02em;
}

.page-hero p { font-size: 15px; opacity: .75; max-width: 500px; margin: 0 auto; }

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.page-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--greek-blue);
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--greek-foam);
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}

.page-content ul { margin: 0 0 14px 20px; list-style: disc; }
.page-content ul li { font-size: 15px; line-height: 1.8; color: var(--text); }

.page-content a { color: var(--greek-blue); text-decoration: underline; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  margin-top: 24px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--greek-foam);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--greek-blue);
  box-shadow: 0 0 0 3px rgba(13,94,175,.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  background: var(--greek-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'IBM Plex Sans', sans-serif;
  cursor: pointer;
  transition: background var(--transition);
  letter-spacing: .04em;
}
.btn-submit:hover { background: var(--greek-blue-dark); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--greek-blue-deep);
  color: rgba(255,255,255,.85);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 500;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  border-top: 2px solid var(--gold);
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.cookie-banner.show { transform: translateY(0); }

.cookie-text { font-size: 13px; line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-text a { color: var(--gold); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--gold);
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: opacity var(--transition);
}
.btn-cookie-accept:hover { opacity: .88; }

.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: all var(--transition);
}
.btn-cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,.5); }

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .daily-desc { display: none; }
}

/* Mobile */
@media (max-width: 520px) {
  .site-topbar { height: 56px; padding: 0 14px; }
  .topbar-city { font-size: 16px; }
  .topbar-temp { font-size: 15px; }
  .topbar-domain { display: none; }

  .site-main { padding: 0 12px 40px; }

  .now-card-body { padding: 20px 16px 24px; gap: 0; flex-wrap: nowrap; }
  .now-icon { font-size: 52px; }
  .now-icon-wrap { margin-right: 12px; }
  .now-temp { font-size: 60px; }
  .now-temp-wrap { margin-right: 14px; }
  .now-desc { font-size: 16px; }

  .details-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .footer-top { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .page-hero h1 { font-size: 24px; }
  .page-content { padding: 28px 18px 48px; }
}

/* Very small phones */
@media (max-width: 360px) {
  .topbar-weather { display: none; }
  .now-temp { font-size: 52px; }
}

/* Large screens */
@media (min-width: 1024px) {
  .site-main { padding-top: 8px; }
}

/* ============================================================
   BLOG, SINGLE POST & 404 STYLES
   ============================================================ */

/* ── BLOG ARCHIVE / NEWS ── */
.blog-hero {
  background: linear-gradient(135deg, var(--greek-blue-deep) 0%, var(--greek-blue) 100%);
  color: var(--white);
  padding: 48px 24px 40px;
  text-align: center;
}

.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.blog-hero p {
  font-size: 15px;
  opacity: .75;
  max-width: 520px;
  margin: 0 auto;
}

.blog-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

/* ── POST GRID ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.post-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--greek-foam);
}

.post-card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--greek-foam), #c0d9f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.post-card-body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.post-cat-badge {
  background: var(--greek-blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}

.post-date {
  font-size: 12px;
  color: var(--subtle);
}

.post-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.post-card:hover .post-card-title { color: var(--greek-blue); }

.post-card-excerpt {
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--greek-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.post-card:hover .post-read-more { gap: 8px; }

/* Featured post (first post, full width) */
.post-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.post-card.featured .post-card-thumb,
.post-card.featured .post-card-thumb-placeholder {
  width: 45%;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.post-card.featured .post-card-title { font-size: 20px; }
.post-card.featured .post-card-excerpt { -webkit-line-clamp: 4; }

/* ── PAGINATION ── */
.posts-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.posts-pagination .page-numbers.current,
.posts-pagination .page-numbers:hover {
  background: var(--greek-blue);
  color: var(--white);
}

.posts-pagination .page-numbers.dots {
  background: transparent;
  box-shadow: none;
  color: var(--subtle);
}

/* ── SIDEBAR ── */
.blog-sidebar { position: sticky; top: 78px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-widget-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--greek-blue);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--greek-foam);
}

/* Weather widget in sidebar */
.sidebar-weather-widget {
  background: linear-gradient(135deg, var(--greek-blue-deep), var(--greek-blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.sw-city { font-size: 13px; opacity: .7; margin-bottom: 6px; letter-spacing: .08em; text-transform: uppercase; }
.sw-temp { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.sw-unit { font-size: 20px; font-weight: 400; vertical-align: super; }
.sw-desc { font-size: 14px; opacity: .8; margin-top: 4px; }
.sw-link {
  display: inline-block;
  margin-top: 14px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.sw-link:hover { background: rgba(255,255,255,.25); }

/* Recent posts in sidebar */
.sidebar-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--greek-foam);
}
.sidebar-post-item:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-post-thumb {
  width: 58px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--greek-foam);
}

.sidebar-post-thumb-placeholder {
  width: 58px;
  height: 46px;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--greek-foam);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.sidebar-post-info { flex: 1; min-width: 0; }

.sidebar-post-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}
.sidebar-post-item:hover .sidebar-post-title { color: var(--greek-blue); }
.sidebar-post-date { font-size: 11px; color: var(--subtle); }

/* Tags cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }

.tag-cloud a {
  display: inline-block;
  padding: 5px 12px;
  background: var(--muted-bg);
  border: 1px solid var(--greek-foam);
  border-radius: 20px;
  font-size: 12px;
  color: var(--subtle);
  transition: all var(--transition);
}
.tag-cloud a:hover { background: var(--greek-blue); color: var(--white); border-color: var(--greek-blue); }

/* ── SINGLE POST ── */
.single-post-hero {
  background: linear-gradient(135deg, var(--greek-blue-deep) 0%, var(--greek-blue) 100%);
  color: var(--white);
  padding: 48px 24px 44px;
}

.single-post-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.single-breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.single-breadcrumb a:hover { color: var(--white); }
.single-breadcrumb span { color: rgba(255,255,255,.35); }

.single-post-cats { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }

.single-cat-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.single-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: .01em;
  margin-bottom: 16px;
}

.single-post-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
}

.byline-item { display: flex; align-items: center; gap: 5px; }

/* Post layout */
.single-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}

/* Post featured image */
.single-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 6px;
  box-shadow: var(--shadow-lg);
}

.photo-credit {
  font-size: 12px;
  color: var(--text-muted, #999);
  text-align: right;
  margin: 0 0 24px;
  font-style: italic;
}

/* Post content typography */
.post-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--greek-blue-dark);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--greek-foam);
}

.post-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}

.post-content p { margin-bottom: 18px; }

.post-content a { color: var(--greek-blue); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--greek-blue-dark); }

.post-content ul,
.post-content ol {
  margin: 0 0 18px 22px;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 6px; }

.post-content blockquote {
  border-left: 4px solid var(--greek-blue);
  background: var(--muted-bg);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--subtle);
}

.post-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0;
  box-shadow: var(--shadow);
}

.post-content figure { margin: 28px 0; }
.post-content figcaption { font-size: 13px; color: var(--subtle); text-align: center; margin-top: 8px; line-height: 1.5; }

/* Post tags */
.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--greek-foam);
  flex-wrap: wrap;
}

.post-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.post-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--muted-bg);
  border: 1px solid var(--greek-foam);
  border-radius: 20px;
  font-size: 12px;
  color: var(--subtle);
  transition: all var(--transition);
}
.post-tag:hover { background: var(--greek-blue); color: var(--white); border-color: var(--greek-blue); }

/* Author box */
.author-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-top: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--greek-foam);
}

.author-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--greek-blue);
  margin-bottom: 3px;
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.author-bio { font-size: 13px; color: var(--subtle); line-height: 1.65; }

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.post-nav-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post-nav-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.post-nav-item.next { text-align: right; }

.post-nav-dir {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--greek-blue);
  display: flex;
  align-items: center;
  gap: 4px;
}
.post-nav-item.next .post-nav-dir { justify-content: flex-end; }

.post-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Related posts */
.related-posts { margin-top: 36px; }

.related-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.related-card:hover { transform: translateY(-3px); }

.related-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--greek-foam);
  display: block;
}

.related-card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--greek-foam), #c0d9f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.related-card-body { padding: 12px 14px 14px; }

.related-card-date { font-size: 11px; color: var(--subtle); margin-bottom: 4px; }

.related-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card:hover .related-card-title { color: var(--greek-blue); }

/* ── 404 PAGE ── */
.page-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.error-404-number {
  font-family: 'Playfair Display', serif;
  font-size: 140px;
  line-height: 1;
  font-weight: 400;
  color: var(--greek-blue);
  opacity: .12;
  letter-spacing: -.04em;
  position: relative;
  margin-bottom: -30px;
  user-select: none;
}

.error-404-icon {
  margin-bottom: 16px;
  animation: floatIcon 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
  color: var(--greek-blue);
  line-height: 0;
}

.error-404-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.error-404-text {
  font-size: 15px;
  color: var(--subtle);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.error-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--greek-blue);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--greek-blue-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--greek-blue);
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--greek-foam);
  transition: all var(--transition);
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--greek-blue); background: var(--muted-bg); }

/* 404 search */
.error-404-search {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  max-width: 400px;
  width: 100%;
}

.error-404-search input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--greek-foam);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text);
  transition: border-color var(--transition);
}
.error-404-search input:focus { outline: none; border-color: var(--greek-blue); }

.error-404-search button {
  background: var(--greek-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: background var(--transition);
  white-space: nowrap;
}
.error-404-search button:hover { background: var(--greek-blue-dark); }

/* 404 weather teaser */
.error-weather-teaser {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow);
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.error-weather-teaser .ew-icon { line-height: 0; color: var(--greek-blue); }
.error-weather-teaser .ew-text { font-size: 13px; color: var(--subtle); line-height: 1.5; }
.error-weather-teaser .ew-link { color: var(--greek-blue); font-weight: 700; }

/* ── RESPONSIVE — BLOG / SINGLE / 404 ── */
@media (max-width: 960px) {
  .blog-wrap,
  .single-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post-card.featured { flex-direction: column; }
  .post-card.featured .post-card-thumb,
  .post-card.featured .post-card-thumb-placeholder { width: 100%; }
  .post-nav { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .blog-hero h1, .single-post-title { font-size: 24px; }
  .error-404-number { font-size: 90px; }
  .error-404-icon svg { width: 52px; height: 52px; }
  .author-box { flex-direction: column; }
}

/* ============================================================
   SITE-MAP SPECIFIC STYLES — v1.1
   Forecast pages, Periochi nav, Areas hub, Drawer sections
   ============================================================ */

/* ── FORECAST PAGE INTRO ── */
.forecast-page-intro {
  padding: 20px 0 4px;
}

.forecast-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--greek-blue-dark);
  font-weight: 400;
  letter-spacing: .02em;
  margin-bottom: 6px;
}

.forecast-page-desc {
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 8px;
}

/* ── BREADCRUMB ── */
.page-breadcrumb {
  max-width: 1100px;
  margin: 10px auto 0;
  padding: 8px 0 4px;
}

.site-main > .page-breadcrumb {
  padding-left: 0;
  padding-right: 0;
}

.page-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
  font-size: 12px;
  color: var(--subtle);
}

.page-breadcrumb a {
  color: var(--greek-blue);
  transition: color var(--transition);
}
.page-breadcrumb a:hover { color: var(--greek-blue-dark); text-decoration: underline; }
.page-breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ── Single-post breadcrumb override (inside dark hero) ── */
.single-post-hero .page-breadcrumb ol { color: rgba(255,255,255,.6); margin-bottom: 16px; }
.single-post-hero .page-breadcrumb a { color: rgba(255,255,255,.6); }
.single-post-hero .page-breadcrumb a:hover { color: #fff; }
.single-post-hero .page-breadcrumb [aria-current="page"] { color: rgb(255, 255, 255); }

/* ── NAV TABS — added Blog tab style ── */
.weather-tab { font-size: 11.5px; }

.nav-blog-tab {
  border-left: 1px solid rgba(0,0,0,.06);
  color: var(--subtle) !important;
}
.nav-blog-tab.active,
.nav-blog-tab:hover { color: var(--greek-blue) !important; }

/* ── DRAWER SECTION LABELS ── */
.drawer-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  padding: 14px 20px 6px;
  border-top: 1px solid #f0f4f8;
  margin-top: 4px;
}
.drawer-section-label:first-child { border-top: none; margin-top: 0; }

/* ── PERIOCHI SUB-NAV ── */
.periochi-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--greek-foam);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 1px 6px rgba(13,94,175,.05);
}
.periochi-subnav::-webkit-scrollbar { display: none; }

.periochi-subnav-inner {
  display: flex;
  padding: 0 12px;
  min-width: max-content;
  gap: 2px;
}

.periochi-tab {
  display: inline-block;
  padding: 9px 14px 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--subtle);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.periochi-tab:hover { color: var(--greek-blue); }
.periochi-tab.active {
  color: var(--greek-blue);
  border-bottom-color: var(--greek-blue);
  font-weight: 700;
}

/* ── PERIOCHES GRID (hub page) ── */
.perioches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.periochi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1.5px solid transparent;
}
.periochi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--greek-foam);
}

.periochi-icon { font-size: 24px; }

.periochi-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  transition: color var(--transition);
}
.periochi-card:hover .periochi-name { color: var(--greek-blue); }

.periochi-coords { font-size: 11px; color: var(--subtle); }

.periochi-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--greek-blue);
  margin-top: 6px;
}

/* ── FOOTER — 5 columns ── */
.footer-top {
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}
.footer-legal-links a {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--gold); }

/* ── BLOG HERO breadcrumb overlap fix ── */
.blog-hero + .page-breadcrumb {
  padding: 10px 20px 0;
  max-width: 1100px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .perioches-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .perioches-grid { grid-template-columns: repeat(2, 1fr); }
  .forecast-page-title { font-size: 22px; }
  .weather-tab { padding: 11px 14px 9px; font-size: 11px; }
}

@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .perioches-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .periochi-card { padding: 14px 10px 12px; }
  .periochi-name { font-size: 13px; }
  .forecast-page-title { font-size: 19px; }
}

/* ══ NIGHT THEME ══ */
body.is-night .site-topbar {
  background: linear-gradient(90deg, #020e24 0%, #041530 60%, #061d3d 100%);
}
body.is-night .page-hero {
  background: linear-gradient(135deg, #020e24, #041530);
}
body.is-night .blog-hero {
  background: linear-gradient(135deg, #020e24 0%, #041530 100%);
}
body.is-night .single-post-hero {
  background: linear-gradient(135deg, #020e24 0%, #041530 100%);
}

/* ── Sidebar Categories ── */
.sidebar-category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--greek-foam);
  transition: color .18s;
}
.sidebar-category-link:hover {
  color: var(--greek-blue);
}
.sidebar-category-count {
  font-size: 12px;
  color: var(--subtle);
  background: var(--muted-bg);
  padding: 2px 8px;
  border-radius: 20px;
}
