/* ============================================================
   Καιρός Πάτρα — main.css
   kairospatra.com
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --greek-blue:       #0D5BAA;
  --greek-blue-dark:  #0a478a;
  --greek-blue-deep:  #063668;
  --greek-blue-light: #1a74c8;
  --greek-foam:       #d0e6f8;
  --gold:             #D22B2B;
  --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; }

/* ── SITE HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(13,94,175,.22);
}

/* ── TOP STRIP ── */
.header-topstrip {
  background: linear-gradient(90deg, var(--greek-blue-deep) 0%, var(--greek-blue) 55%, var(--greek-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 68px;
  border-bottom: 3px solid var(--gold);
}

/* Logo */
.header-logo-link {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo-svg { width: 200px; height: 52px; flex-shrink: 0; }
.header-brand { display: none; }
.header-site-name { display: none; }
.header-tagline { display: none; }

/* Live weather pill */
.header-live-weather {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 6px 16px;
  backdrop-filter: blur(4px);
}
.hlw-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
}
.hlw-temp {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.hlw-icon { font-size: 22px; line-height: 1; }
.hlw-city {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* Hamburger */
.header-controls { display: none; align-items: center; flex-shrink: 0; }
@media (max-width: 768px) { .header-controls { display: flex; } }
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,.18); }
.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.is-open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger-bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PRIMARY NAV ── */
.primary-nav {
  background: var(--white);
  border-bottom: 1px solid var(--greek-foam);
  box-shadow: 0 1px 0 rgba(13,94,175,.06);
  overflow: visible;
}
.primary-nav-inner {
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.primary-nav-inner::-webkit-scrollbar { display: none; }

.pnav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  height: 44px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--subtle);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.pnav-link:hover:not(.is-active) { color: var(--greek-blue-dark); }
.pnav-link.is-active {
  color: var(--greek-blue);
  border-bottom-color: var(--greek-blue);
}

/* Chevron icon on dropdown trigger */
.pnav-chevron {
  width: 10px;
  height: 7px;
  color: currentColor;
  transition: transform .2s;
  flex-shrink: 0;
}

/* Dropdown */
.pnav-dropdown { position: relative; display: flex; align-items: stretch; }
.pnav-dropdown-panel {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: auto;
  background: var(--white);
  border-top: 2px solid var(--greek-blue);
  box-shadow: 0 12px 40px rgba(13,94,175,.16);
  z-index: 9999;
  padding: 24px 32px;
}
.pnav-dropdown.open .pnav-chevron { transform: rotate(180deg); }
.pnav-dropdown.open .pnav-dropdown-panel { display: block; }

.pnav-dd-cols { max-width: 1100px; margin: 0 auto; }
.pnav-dd-all {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--greek-blue);
  text-decoration: none;
  border-bottom: 2px solid var(--greek-foam);
  padding-bottom: 12px;
  margin-bottom: 16px;
  width: 100%;
}
.pnav-dd-all:hover { color: var(--greek-blue-dark); }
.pnav-dd-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.pnav-dd-item {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}
.pnav-dd-item:hover { background: var(--greek-foam); color: var(--greek-blue); }

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

.mobile-menu-drawer {
  position: fixed;
  top: 0; right: -300px;
  width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 195;
  overflow-y: auto;
  transition: right .25s cubic-bezier(.4,0,.2,1);
  box-shadow: -6px 0 32px rgba(8,56,112,.18);
  display: flex;
  flex-direction: column;
}
.mobile-menu-drawer.open { right: 0; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(90deg, var(--greek-blue-deep), var(--greek-blue));
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}
.drawer-logo-link { display: flex; align-items: center; text-decoration: none; }
.drawer-logo { font-family: 'IBM Plex Sans', sans-serif; font-size: 17px; font-weight: 700; color: var(--white); text-decoration: none; }
.drawer-close {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  color: var(--white);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.drawer-close:hover { background: rgba(255,255,255,.22); }

.drawer-body { flex: 1; overflow-y: auto; padding: 12px 0 32px; }

.drawer-group { margin-bottom: 4px; }
.drawer-group-label {
  padding: 14px 20px 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--subtle);
}
.drawer-item {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.drawer-item:hover {
  background: var(--muted-bg);
  color: var(--greek-blue);
  border-left-color: var(--greek-blue);
}
.drawer-item--all {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--greek-blue);
}

/* ── Legacy alias (weather-nav → now site-header sticky) ── */
.menu-toggle { display: 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, 003f72 0%, #0a478a 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: 'IBM Plex Sans', sans-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); }

/* ── COMPACT FOOTER (kairos_render_footer) ── */
.kp-footer {
  background: linear-gradient(180deg, #071e3d, #040f22);
  padding: 52px 32px 32px;
  font-family: 'IBM Plex Sans', sans-serif;
}
.kp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.kp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.kp-footer-logo {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}
.kp-footer-logo img {
  height: 36px;
  width: auto;
}
.kp-footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
  margin-bottom: 16px;
}
.kp-footer-social {
  display: flex;
  gap: 10px;
}
.kp-footer-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .15s;
}
.kp-footer-social-btn:hover {
  background: rgba(255,255,255,.15);
}
.kp-footer-col-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.kp-footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.kp-footer-link {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .15s;
}
.kp-footer-link:hover {
  color: rgba(255,255,255,.75);
}
.kp-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.kp-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.kp-footer-credit {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
}
@media (max-width: 768px) {
  .kp-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .kp-footer-grid { grid-template-columns: 1fr; }
  .kp-footer { padding: 32px 16px 24px; }
}

/* ── 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: 'IBM Plex Sans', sans-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) {
  .header-topstrip { height: 58px; padding: 0 14px; }
  .header-site-name { font-size: 16px; }
  .hlw-temp { font-size: 16px; }
  .header-tagline { display: none; }
  .hlw-city { display: none; }
  .hlw-label { 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: 'IBM Plex Sans', sans-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: 'IBM Plex Sans', sans-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: 'IBM Plex Sans', sans-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 {
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}

.post-content figure { margin: 20px 0; }
.post-content figcaption { font-size: 13px; color: var(--subtle); text-align: center; margin-top: 6px; }

/* 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: 'IBM Plex Sans', sans-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: 'IBM Plex Sans', sans-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: 'IBM Plex Sans', sans-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 .header-topstrip {
  background: linear-gradient(90deg, #052858 0%, #063668 60%, #061c3a 100%);
}
body.is-night .page-hero {
  background: linear-gradient(135deg, #052858, #063668);
}
body.is-night .blog-hero {
  background: linear-gradient(135deg, #052858 0%, #063668 100%);
}
body.is-night .single-post-hero {
  background: linear-gradient(135deg, #052858 0%, #063668 100%);
}

/* ── SVG WEATHER ICON SIZING ── */
.now-icon svg,
.now-icon-wrap svg   { width: 72px; height: 72px; }
.detail-icon svg     { width: 24px; height: 24px; }
.astro-icon svg      { width: 28px; height: 28px; }
.aqi-icon svg        { width: 28px; height: 28px; }
.topbar-icon svg,
.hlw-icon svg        { width: 22px; height: 22px; vertical-align: middle; }
.ft-icon svg,
.hour-icon svg,
.ft-dl-icon svg      { width: 32px; height: 32px; }
.periochi-icon svg,
.pa-icon svg         { width: 36px; height: 36px; }
.wl-icon svg         { width: 28px; height: 28px; }
.pa-nc-lbl svg,
.pa-wl-rain svg      { width: 16px; height: 16px; vertical-align: middle; }
.drawer-item svg     { width: 16px; height: 16px; vertical-align: middle; }

/* ══════════════════════════════════════════════════════════════
   COMPACT HEADER (used by header.php on inner pages)
   ══════════════════════════════════════════════════════════════ */
.kp-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: linear-gradient(90deg, #063668, #0D5BAA 55%, #1a74c8);
  border-bottom: 3px solid #D22B2B;
  box-shadow: 0 2px 24px rgba(6,54,104,0.45);
}
.kp-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
}
.kp-logo-link {
  display: flex;
  align-items: center;
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
  text-decoration: none;
}
.kp-logo-img {
  height: 50px;
  width: auto;
}
.kp-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  overflow: visible;
}
.kp-nav-link {
  padding: 0 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  height: 60px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.kp-nav-link:hover { color: rgba(255,255,255,0.85); }
.kp-nav-link.is-active {
  color: #fff;
  border-bottom-color: #D22B2B;
}
/* Nav dropdown */
.kp-nav-dropdown {
  position: relative;
}
.kp-nav-dropdown .kp-nav-link svg {
  margin-left: 3px;
  vertical-align: middle;
  transition: transform 0.2s;
}
.kp-nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  background: var(--card-bg, #1a2332);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  padding: 8px;
  z-index: 1000;
  columns: 2;
  column-gap: 4px;
}
.kp-nav-dropdown:hover .kp-nav-sub {
  display: block;
}
.kp-nav-dropdown:hover .kp-nav-link svg {
  transform: rotate(180deg);
}
.kp-nav-sub-link {
  display: block;
  padding: 7px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  border-radius: 5px;
  break-inside: avoid;
}
.kp-nav-sub-link:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.kp-live-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.kp-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
.kp-live-label {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.4);
}
.kp-topbar-temp {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.kp-icon-wrap {
  display: inline-flex;
}
.kp-unit-toggle {
  display: flex;
  background: rgba(0,0,0,0.2);
  border-radius: 14px;
  padding: 2px;
  gap: 1px;
  margin-left: 2px;
}
.kp-unit-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  padding: 3px 7px;
  border-radius: 11px;
  line-height: 1;
}
.kp-unit-btn.is-active {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ── Utility classes ── */
.icon-inline { vertical-align: -2px; }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--subtle);
}
.empty-state-icon {
  font-size: 52px;
  margin-bottom: 16px;
}
.empty-state h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

/* ── Base overrides for standalone pages ── */
html, html.wp-toolbar { margin-top: 0 !important; padding-top: 0 !important; }
#wpadminbar { display: none !important; }
body, body.admin-bar { margin-top: 0 !important; padding-top: 0 !important; }
.hs { overflow-x: auto; scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ── Weather Home — extracted inline styles ── */
.kp-hidden              { display: none; }
.kp-section-spaced      { margin-top: 20px; }
.kp-site-logo           { height: 44px; width: auto; }
.kp-topbar-subtitle     { font-size: 10px; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; font-family: 'IBM Plex Sans', sans-serif; margin-top: 1px; }
.kp-temp-unit           { font-size: 22px; font-weight: 400; color: #888; margin-left: 2px; }
.kp-aqi-needle-center   { left: 50%; }

/* ── Inline-style cleanup — extracted classes ── */

/* Legend dots (page-25-imeron) */
.kp-dot-sunny  { background: #e08b1a; }
.kp-dot-cloudy { background: #5a8cb0; }
.kp-dot-rain   { background: #2e7dc0; }

/* Sidebar categories (sidebar-categories.php) */
.kp-sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kp-sidebar-cat-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;
}
.kp-sidebar-cat-link:hover {
  color: var(--greek-blue);
}

.kp-sidebar-cat-count {
  font-size: 12px;
  color: var(--subtle);
  background: var(--muted-bg);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Subsection heading (cookies.php) */
.kp-subsection-heading {
  font-size: 16px;
  border-bottom: none;
  color: var(--text);
  margin-top: 16px;
}

/* Contact details heading (contact.php) */
.kp-contact-details-heading {
  margin-top: 36px;
}

/* Temperature degree symbol */
.temp-deg { font-size: 18px; font-weight: 400; }

/* Blog forecast today highlight */
.blog-fc-today { color: var(--blue); }

/* Loading error message */
.kp-load-error { color: #d32f2f; font-weight: 600; padding: 40px; }

/* ══════════════════════════════════════════════════════════════
   KP-HEADER MOBILE MENU
   ══════════════════════════════════════════════════════════════ */

/* Hamburger — hidden on desktop */
.kp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
  margin-left: 12px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.kp-hamburger:hover { background: rgba(255,255,255,.18); }
.kp-hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.kp-hamburger.is-open .kp-hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kp-hamburger.is-open .kp-hamburger-bar:nth-child(2) { opacity: 0; }
.kp-hamburger.is-open .kp-hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.kp-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,56,112,.55);
  z-index: 510;
  opacity: 0;
  transition: opacity .22s;
}
.kp-mobile-overlay.open { display: block; opacity: 1; }

/* Drawer */
.kp-mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--white);
  z-index: 520;
  overflow-y: auto;
  transition: right .25s cubic-bezier(.4,0,.2,1);
  box-shadow: -6px 0 32px rgba(8,56,112,.18);
  display: flex;
  flex-direction: column;
}
.kp-mobile-drawer.open { right: 0; }

.kp-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(90deg, var(--greek-blue-deep), var(--greek-blue));
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}
.kp-drawer-logo-link { display: flex; align-items: center; text-decoration: none; }
.kp-drawer-logo {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}
.kp-drawer-close {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  color: var(--white);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.kp-drawer-close:hover { background: rgba(255,255,255,.22); }

.kp-drawer-body { flex: 1; overflow-y: auto; padding: 12px 0 32px; }
.kp-drawer-nav { display: flex; flex-direction: column; }

.kp-drawer-item {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.kp-drawer-item:hover {
  background: var(--muted-bg);
  color: var(--greek-blue);
  border-left-color: var(--greek-blue);
}
.kp-drawer-item--sub {
  padding-left: 36px;
  font-size: 13px;
  font-weight: 500;
  color: var(--subtle);
}
.kp-drawer-item--sub:hover {
  color: var(--greek-blue);
}

/* ── Mobile breakpoint for kp-header ── */
@media (max-width: 900px) {
  .kp-nav { display: none; }
  .kp-hamburger { display: flex; order: 10; margin-left: 12px; }
  .kp-live-bar { margin-left: auto; order: 5; }
  .kp-live-label { display: none; }
}
@media (max-width: 480px) {
  .kp-header-inner { padding: 0 12px; height: 52px; }
  .kp-logo-img { height: 38px; }
  .kp-topbar-temp { font-size: 18px; }
  .kp-live-bar { padding-left: 10px; gap: 5px; border-left: none; }
  .kp-unit-toggle { display: none; }
  .kp-hamburger { margin-left: 8px; width: 36px; height: 36px; }
}

/* SEO content blocks */
.seo-content {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 24px;
  color: var(--text-2, #475569);
  font-size: 14px;
  line-height: 1.7;
}
.seo-content h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1, #1e293b);
  margin: 0 0 12px;
}
.seo-content p {
  margin: 0 0 12px;
}
