:root {
  color-scheme: light;
  --ink: #102a46;
  --muted: #3e5f80;
  --accent: #0d6db0;
  --line: #d8e6f2;
  --paper: #fbfdff;
  --hero: #0c63a8;
  --gold: #f0c45c;
  --gold-line: rgba(255, 217, 138, .6);
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 87px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button, input, select { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a { color: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: wait; }
svg { display: block; }
[hidden] { display: none !important; }
.page-width { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -70px; padding: 10px 18px; background: var(--ink); color: white; border-radius: 4px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(12, 99, 168, .97); backdrop-filter: blur(18px); color: #ffffff; transition: background-color .25s ease; }
.site-header button:focus-visible, .site-header a:focus-visible, .site-header input:focus-visible { outline-color: #ffffff; }


.site-header .brand-name span { color: var(--gold); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; color: var(--gold); }
.brand-name { font-size: 25px; font-weight: 750; letter-spacing: -1.25px; }
.brand-name span { font-weight: 450; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 33px; margin-left: auto; }
.location-search { position: relative; width: 330px; }
.search-field { position: relative; display: flex; align-items: center; min-height: 42px; border: 1px solid #ffffff; border-radius: 7px; background: #ffffff; transition: border-color .2s, background .2s; }
.search-field:focus-within { border-color: #9ed2f2; }
.search-field > .icon { margin-left: 13px; width: 17px; height: 17px; color: #5f81a0; }
.search-input { width: 100%; min-width: 0; height: 40px; border: 0; outline: none !important; padding: 0 40px 0 11px; background: transparent; font-size: 13px; color: var(--ink); }
.search-input::placeholder { color: #66819c; opacity: 1; }
.search-shortcut { position: absolute; right: 11px; top: 11px; width: 19px; height: 20px; display: grid; place-items: center; border: 1px solid #dbe7f1; border-radius: 3px; color: #7f99b1; font-size: 11px; font-family: inherit; }
.search-results { position: absolute; top: calc(100% + 9px); left: 0; right: 0; max-height: min(440px, calc(100dvh - 150px)); overflow-x: hidden; overflow-y: auto; border: 1px solid #d7e5f1; border-radius: 9px; padding: 7px; background: var(--paper); box-shadow: 0 12px 36px #0d34521f; }
.search-section-label { margin: 10px 10px 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.search-result, .use-location { width: 100%; display: flex; align-items: center; gap: 10px; border-radius: 5px; background: transparent; padding: 10px; text-align: left; transition: background .2s; }
.search-result:hover, .search-result:focus-visible, .use-location:hover { background: #e6f2fb; }
.search-result .icon, .use-location .icon { width: 17px; height: 17px; color: #2f7cb8; }
.search-result-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.search-result-country { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.use-location { font-size: 13px; font-weight: 550; color: var(--accent); }
.search-message { margin: 8px 10px 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.language-switch { display: flex; align-items: center; gap: 8px; }
.language-switch button { min-height: 36px; padding: 3px 2px; background: transparent; color: #eaf6fe; font-size: 12px; font-weight: 600; letter-spacing: .5px; transition: color .2s; }
.language-switch button[aria-pressed="true"] { color: #ffffff; font-weight: 750; }
.language-divider { width: 1px; height: 12px; background: rgba(255, 255, 255, .4); margin: 0 3px; }
.mobile-search-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 40px; background: transparent; color: #ffffff; }


.weather-hero { margin-top: calc(var(--header-h) * -1); overflow: hidden; color: #ffffff; background: radial-gradient(ellipse at 85% -20%, rgba(255, 255, 255, .12), transparent 55%), linear-gradient(180deg, #0c63a8, #0a5a9b 65%, #09508c); border-bottom: 1px solid #08497f; }
.hero-inner { padding-top: calc(43px + var(--header-h)); padding-bottom: 24px; }
.hero-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; animation: arrive .65s ease both; }
.section-eyebrow { margin: 0 0 10px; color: #ffffff; font-size: 11px; font-weight: 700; letter-spacing: 1.65px; text-transform: uppercase; }
.place { min-width: 0; }
.place-heading { display: block; }
.place-heading h1 { margin: 0; font-size: 43px; line-height: 1.15; letter-spacing: -1.9px; font-weight: 550; overflow-wrap: anywhere; }
.place-country, .place-altitude { color: #eef7fe; font-size: 14px; }
.local-date { margin: 10px 0 0; color: #e4f2fc; font-size: 13px; letter-spacing: .05px; }
.forecast-status { flex: 0 0 auto; padding-top: 5px; text-align: right; }
.status-label { display: inline-flex; align-items: center; gap: 7px; color: #ffffff; font-size: 12px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #ffffff; }
.status-label[data-state="loading"] .status-dot { animation: breathe 1.2s ease-in-out infinite; }
.status-label[data-state="sample"] .status-dot, .status-label[data-state="offline"] .status-dot { background: #ffd98a; }

.refresh-forecast { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 7px; margin-left: auto; padding: 3px 0 3px 6px; background: transparent; color: #d6ecfb; font-size: 12px; transition: color .2s; }
.refresh-forecast:hover { color: #ffffff; }
.refresh-forecast .icon { width: 12px; height: 12px; }
.refresh-forecast:disabled .icon { animation: spin 1.8s linear infinite; }
.weather-overview { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 37px; animation: arrive .75s .08s ease both; }
.current-label { margin: 0 0 9px; color: #eef7fe; font-size: 13px; font-weight: 500; }
.current-reading { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 125px; }
.temperature { display: flex; flex: 0 0 auto; align-items: flex-start; white-space: nowrap; }
.temperature-value { font-size: 119px; font-weight: 450; line-height: 1; letter-spacing: -8px; font-variant-numeric: lining-nums; color: var(--gold); }
.temperature-unit { margin: 20px 0 0 4px; color: var(--gold); font-size: 26px; font-weight: 400; }
.weather-illustration { width: 151px; min-width: 76px; height: 132px; flex: 0 1 auto; margin: 0 -2px 0 -8px; animation: weather-drift 7s ease-in-out infinite; }
.hero-weather-icon { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 6px #0b375c2e); }
.current-condition { margin: 8px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -.35px; }

/* Weather station (observation point) */
.station-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; margin: 9px 0 0; color: #d9ecfa; font-size: 13px; }
.station-label { color: #bcdcf4; }
.station-name { color: #ffffff; font-weight: 600; }
.station-geo { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.station-arrow { width: 13px; height: 13px; color: #ffdf9a; }
.station-card-head { min-height: 68px; }
.station-card-name { line-height: 1.3; }

/* Current weather stats */
.current-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; margin: 17px 0 0; padding: 15px 0 0; border-top: 1px solid rgba(255, 255, 255, .28); list-style: none; }
.current-stat { display: flex; align-items: center; gap: 10px; min-width: 0; }
.current-stat > .icon { width: 17px; height: 17px; flex: 0 0 auto; color: #ffdf9a; }
.stat-text { min-width: 0; }
.stat-value { display: flex; align-items: center; gap: 6px; color: #ffffff; font-size: 15px; font-weight: 600; letter-spacing: -.2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-label { display: block; margin-top: 1px; color: #cfe7f8; font-size: 11px; font-weight: 500; letter-spacing: .4px; }
.stat-arrow { width: 16px; height: 16px; color: #ffdf9a; }

/* Sunrise / sunset */
.hero-bottom-side { display: flex; align-items: center; gap: 24px; }
.sun-times { display: flex; align-items: center; gap: 18px; margin: 0; }
.sun-time { display: inline-flex; align-items: center; gap: 7px; color: #f4fafe; font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sun-time .icon { width: 20px; height: 20px; color: #ffdf9a; }

.outlook-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -3px 0 23px; }
.outlook-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.outlook-heading h2 { margin: 0; font-size: 14px; font-weight: 550; letter-spacing: -.2px; }
.outlook-link { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; color: #e2f2fc; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .55); transition: color .2s, border-color .2s; }
.outlook-link:hover { color: #ffffff; border-color: #ffffff; }
.outlook-link .icon { width: 12px; height: 12px; }
.forecast-viewport { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #82bfe8 transparent; padding-bottom: 2px; }
.forecast-track { position: relative; }
.forecast-days { display: grid; grid-template-columns: repeat(var(--day-count, 7), minmax(0, 1fr)); }
.forecast-day { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; min-height: 210px; margin: 0; padding: 0 3px 5px; background: transparent; text-align: center; }
.forecast-day:not(:last-child) { border-right: 1px solid var(--gold-line); }
.day-name { position: relative; color: #ffffff; font-size: 13px; font-weight: 600; line-height: 18px; }
.day-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: #ffffff; transform: scaleX(0); transition: transform .2s; }
.forecast-day:hover .day-name::after { transform: scaleX(1); }
.day-date { margin-top: 4px; color: #d9ecfa; font-size: 12px; line-height: 15px; }
.day-weather-icon { width: 48px; height: 42px; margin: 12px 0 4px; transition: transform .25s; }
.forecast-day:hover .day-weather-icon { transform: translateY(-3px); }
.day-weather-desc { display: block; min-height: 30px; margin: 6px 0 0; color: #d9ecfa; font-size: 12px; line-height: 15px; }
.day-temperatures { display: flex; align-items: baseline; justify-content: center; gap: 7px; line-height: 25px; }
.day-high { font-size: 20px; font-weight: 600; letter-spacing: -.6px; }
.day-low { color: #dbeefa; font-size: 13px; font-weight: 450; }
.day-stats { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 10px; color: #e0f1fb; font-size: 12px; line-height: 15px; }
.day-stat { display: flex; align-items: center; justify-content: center; gap: 4px; }
.day-stat .icon { width: 16px; height: 16px; flex: 0 0 auto; stroke-width: 1.6; color: #ffdf9a; }
.day-stat-value { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 29px; padding-top: 19px; border-top: 1px solid rgba(255, 255, 255, .4); }
.daily-note { display: flex; align-items: center; gap: 10px; margin: 0; color: #f4fafe; font-size: 14px; line-height: 1.6; }
.daily-note .icon { width: 18px; height: 18px; color: #ffdf9a; }
.hero-units { margin: 0; white-space: nowrap; font-size: 12px; color: #cfe7f8; }


.detailed-forecast { padding-top: 32px; padding-bottom: 48px; animation: arrive .7s .18s ease both; }
.detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.detail-heading h2 { margin: 0; font-size: 27px; font-weight: 550; line-height: 1.3; letter-spacing: -.9px; }
.detail-description { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.timeline-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 29px 0 16px; }
.timeline-date { margin: 0; font-size: 12px; font-weight: 650; text-transform: uppercase; color: #58748f; letter-spacing: 1.25px; }
.forecast-table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; font-variant-numeric: tabular-nums; }
.forecast-table col:nth-child(1) { width: 15%; }
.forecast-table col:nth-child(2) { width: 36%; }
.forecast-table col:nth-child(3) { width: 17%; }
.forecast-table col:nth-child(4) { width: 17%; }
.forecast-table col:nth-child(5) { width: 15%; }
.forecast-table thead { border-top: 1px solid #dfe9f3; border-bottom: 1px solid #dfe9f3; }
.forecast-table th { padding: 13px 0; color: var(--muted); font-size: 12px; font-weight: 550; }
.forecast-table th:last-child, .forecast-table td:last-child { text-align: right; }
.forecast-table td { height: 63px; padding: 11px 0; border-bottom: 1px solid #e6eef6; font-size: 14px; font-weight: 500; }
.forecast-table tbody tr { transition: background .2s; }
.forecast-table tbody tr:hover { background: #e8f3fb66; }
.hour-time { display: inline-flex; align-items: center; gap: 7px; color: #2e5478; font-weight: 550; }
.hour-time.is-now { color: #0d76b8; font-weight: 700; }
.hour-time.is-now::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--hero); }
.hour-end { display: block; margin-top: 3px; color: #64809a; font-size: 11px; font-weight: 450; }
.hour-conditions { display: flex; align-items: center; gap: 15px; color: var(--muted); }
.hour-weather-icon { width: 32px; height: 30px; flex: 0 0 auto; }
.hour-temperature { font-size: 16px; font-weight: 600; color: #134a7e; }
.hour-rain { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 550; }
.hour-rain .icon { width: 24px; height: 30px; }
.hour-wind { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--muted); font-weight: 550; }
.hour-wind .icon { width: 16px; height: 16px; color: #6d90ae; }
.wind-unit { color: var(--muted); font-size: 11px; margin-left: -4px; }

/* ---- Days list section (all days from the hero, as a list) ---- */
.days-list-section { padding-top: 4px; padding-bottom: 56px; }
.days-table col:nth-child(1) { width: 22%; }
.days-table col:nth-child(2) { width: 40%; }
.days-table col:nth-child(3) { width: 13%; }
.days-table col:nth-child(4) { width: 12%; }
.days-table col:nth-child(5) { width: 13%; }
.days-table tbody tr:hover { background: transparent; }
.days-name { display: block; color: #2e5478; font-weight: 550; }
.days-date { display: block; margin-top: 3px; color: #64809a; font-size: 11px; font-weight: 450; }
.days-low { color: var(--muted); font-weight: 500; }


.site-footer { border-top: 1px solid #dfe9f3; }
.footer-inner { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand .brand-name { font-size: 18px; letter-spacing: -.8px; }
.footer-tagline { color: #4d6d88; font-size: 13px; }
.data-credit { margin: 0; color: #57778f; font-size: 12px; text-align: right; line-height: 1.8; }
.data-credit a { text-decoration: none; border-bottom: 1px solid #bfd4e4; }
.data-credit a:hover { color: var(--accent); }
.notice { position: fixed; z-index: 50; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; width: max-content; max-width: calc(100% - 36px); padding: 14px 16px; border: 1px solid #cfe1ef; border-radius: 7px; background: var(--paper); box-shadow: 0 5px 30px #0d34521f; color: #3a5f7f; font-size: 13px; line-height: 1.5; }
.notice-close { flex: 0 0 auto; padding: 3px; background: transparent; }
.notice-close .icon { width: 16px; height: 16px; }

@keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes weather-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes breathe { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1500px) {
  .hero-inner { padding-top: calc(54px + var(--header-h)); padding-bottom: 28px; }
  .weather-overview { margin-top: 44px; }
  .hero-bottom { margin-top: 37px; }
}
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 64px); }
  .weather-overview { grid-template-columns: 285px minmax(0, 1fr); gap: 38px; }
  .temperature-value { font-size: 106px; letter-spacing: -7px; }
  .temperature-unit { margin-top: 17px; font-size: 24px; }
  .weather-illustration { width: 130px; height: 120px; }
  .day-temperatures { gap: 4px; }
  .day-high { font-size: 18px; }
  .day-low { font-size: 11px; }
  .forecast-track { min-width: calc(var(--day-count, 7) * 47px); }
  .footer-tagline { display: none; }
}
@media (max-width: 800px) {
  :root { --header-h: 76px; }  
  .brand-name { font-size: 23px; }
  .header-tools { gap: 20px; }
  .location-search { width: 260px; }
  .weather-overview { grid-template-columns: 245px minmax(0, 1fr); gap: 25px; }
  .temperature-value { font-size: 93px; }
  .temperature-unit { font-size: 22px; }
  .weather-illustration { width: 112px; height: 103px; }
  .current-reading { min-height: 112px; }

  .forecast-track { min-width: calc(var(--day-count, 7) * 47px); }
  .day-high { font-size: 17px; }
  .hero-bottom { margin-top: 23px; }
  .detail-heading h2 { font-size: 25px; }
}
@media (max-width: 680px) {
  :root { --header-h: 69px; }   /* replaces the min-height in .header-inner */
  html { scroll-padding-top: 89px; }
  .page-width { width: calc(100% - 40px); }
  .header-inner { gap: 12px; }
  .hero-inner { padding-top: calc(27px + var(--header-h)); padding-bottom: 19px; }
  .brand { gap: 7px; }
  .brand-mark { width: 24px; height: 24px; }
  .brand-name { font-size: 21px; letter-spacing: -1px; }
  .header-tools { gap: 12px; }
  .language-switch { gap: 5px; }
  .language-switch button { font-size: 11px; }
  .language-divider { margin-inline: 2px; }
  .mobile-search-toggle { display: flex; }
  .location-search { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 12px 20px; background: #ffffff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 14px #0d345210; }
  .site-header.search-open .location-search { display: block; }
  .search-field { background: #eef4f9; border-color: #eef4f9; }
  .search-input { font-size: 16px; }
  .search-shortcut { display: none; }
  .search-results { top: calc(100% - 2px); left: 20px; right: 20px; }
  .hero-heading { gap: 8px; align-items: flex-start; }
  .section-eyebrow { display: none; }
  .place-heading { gap: 9px; }
  .place-heading h1 { font-size: 32px; letter-spacing: -1.25px; line-height: 1.2; }
  .place-country, .place-altitude { font-size: 12px; }
  .local-date { margin-top: 7px; font-size: 11px; }
  .forecast-status { padding-top: 2px; }
  .status-label { gap: 5px; font-size: 10px; }
  .status-dot { width: 4px; height: 4px; }
  .station-line { margin-top: 7px; font-size: 12px; }
		.current-stats { gap: 11px 14px; margin-top: 14px; padding-top: 13px; }
		.stat-value { font-size: 14px; }
		.stat-arrow { width: 16px; height: 16px; }
		.hero-bottom { flex-wrap: wrap; row-gap: 9px; }
		.hero-bottom-side { gap: 16px; }
		.daily-note { margin-left: auto; }
		.sun-times { gap: 13px; }
		.sun-time { font-size: 12px; gap: 6px; }
		.sun-time .icon { width: 15px; height: 15px; }
  .refresh-forecast { margin-top: 5px; font-size: 11px; }
  .refresh-forecast .icon { width: 10px; height: 10px; }
  .weather-overview { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 20px; }
  .current-label { display: none; }
  .current-reading { min-height: 105px; justify-content: flex-start; gap: 18px; }
  .temperature-value { font-size: 104px; letter-spacing: -6px; }
  .temperature-unit { margin-top: 16px; margin-left: 3px; font-size: 23px; }
  .weather-illustration { width: 139px; height: 115px; margin: -3px 9px -3px auto; }
  .current-description { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 3px; }
  .current-condition { margin: 0; font-size: 17px; }

  .outlook-heading { margin: 0 0 17px; }
  .outlook-heading h2 { font-size: 13px; }
  .outlook-link { font-size: 13px; }
  .forecast-day { min-height: 172px; padding: 0 1px 4px; }
  .day-name { font-size: 12px; line-height: 16px; }
  .day-date { font-size: 10px; line-height: 13px; margin-top: 3px; }
  .day-weather-icon { width: 36px; height: 30px; margin: 10px 0 9px; }
  .day-temperatures { gap: 4px; line-height: 21px; }
  .day-high { font-size: 16px; letter-spacing: -.4px; }
  .day-low { font-size: 11px; }
  .day-weather-desc { min-height: 26px; margin: 4px 0 0; font-size: 10px; line-height: 13px; }
  .day-stats { margin-top: 5px; font-size: 10px; line-height: 13px; gap: 3px; }
  .day-stat .icon { width: 12px; height: 12px; }
  .hero-bottom { margin-top: 20px; padding-top: 14px; }
  .daily-note { font-size: 12px; gap: 8px; }
  .daily-note .icon { width: 16px; height: 16px; }
  .hero-units { display: none; }
  .detailed-forecast { padding-top: 29px; padding-bottom: 22px; }
  .detail-heading { flex-wrap: wrap; gap: 20px; }
  .detail-heading h2 { font-size: 24px; letter-spacing: -.7px; }
  .detail-description { font-size: 13px; margin-top: 5px; }
  .timeline-topline { margin-top: 23px; margin-bottom: 12px; }
  .timeline-date { font-size: 11px; letter-spacing: 1px; }
  .forecast-table col:nth-child(1) { width: 18%; }
  .forecast-table col:nth-child(2) { width: 19%; }
  .forecast-table col:nth-child(3) { width: 18%; }
  .forecast-table col:nth-child(4) { width: 19%; }
  .forecast-table col:nth-child(5) { width: 26%; }
  .forecast-table th { padding-block: 11px; font-size: 11px; }
  .forecast-table td { height: 57px; font-size: 13px; }
  .hour-condition-name { display: none; }
  .hour-weather-icon { width: 32px; height: 28px; }
  .hour-temperature { font-size: 14px; }
  .hour-rain { gap: 4px; }
  .hour-rain .icon { width: 16px; }
  .hour-wind { gap: 4px; }
  .wind-unit { font-size: 10px; margin-left: -2px; }
  
  .days-list-section { padding-top: 0; padding-bottom: 42px; }
  .days-table col:nth-child(1) { width: 21%; }
  .days-table col:nth-child(2) { width: 27%; }
  .days-table col:nth-child(3) { width: 16%; }
  .days-table col:nth-child(4) { width: 16%; }
  .days-table col:nth-child(5) { width: 20%; }
  .days-name { font-size: 13px; }
  
  .footer-inner { min-height: 101px; gap: 12px; }
  .footer-brand .brand-name { font-size: 17px; }
  .data-credit { font-size: 11px; }
}
@media (max-width: 370px) {
  .page-width { width: calc(100% - 32px); }
  .header-tools { gap: 6px; }
  .brand-mark { width: 21px; height: 21px; }
  .brand-name { font-size: 19px; }
  .place-country, .place-altitude { display: none; }
  .forecast-track { min-width: calc(var(--day-count, 7) * 43px); }
  .day-temperatures { gap: 3px; }
  .daily-note { font-size: 11px; }
  .weather-illustration { margin-right: 0; width: 125px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* ---- Weather stations list page ---- */
.stations-intro { padding: 42px 0 10px; animation: arrive .6s ease both; }
.stations-intro h1 { margin: 0; font-size: 27px; font-weight: 550; line-height: 1.3; letter-spacing: -.9px; color: var(--ink); }
.stations-intro .detail-description { margin: 8px 0 0; max-width: 560px; }

.stations-section { padding: 20px 0 28px; }
.stations-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.station-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-decoration: none; color: inherit; box-shadow: 0 1px 3px #0d34520d; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.station-card:hover, .station-card:focus-visible { box-shadow: 0 14px 30px #0d34521f; border-color: #c3dbec; transform: translateY(-3px); }
.station-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.station-card-place { min-width: 0; }
.station-card-name { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.35px; color: var(--ink); overflow-wrap: anywhere; }
.station-card-country { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.station-card-icon { width: 64px; height: 48px; flex: 0 0 auto; }
.station-card-reading { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.station-card-temp { font-size: 38px; font-weight: 550; letter-spacing: -1.3px; color: var(--ink); font-variant-numeric: lining-nums; }
.station-card-desc { color: var(--muted); font-size: 14px; font-weight: 500; }
.station-card-updated { margin: 7px 0 0; color: #7d97ad; font-size: 11px; font-variant-numeric: tabular-nums; }
.station-card-stats { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 19px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; }
.station-card-stat { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 550; font-variant-numeric: tabular-nums; white-space: nowrap; }
.station-card-stat .icon { width: 14px; height: 14px; flex: 0 0 auto; stroke-width: 1.7; color: var(--accent); }

@media (max-width: 980px) {
  .stations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stations-intro { padding: 26px 0 4px; }
  .stations-intro h1 { font-size: 23px; letter-spacing: -.6px; }
  .stations-section { padding: 18px 0 40px; }
  .stations-grid { grid-template-columns: 1fr; gap: 14px; }
  .station-card { padding: 18px; }
  .station-card-temp { font-size: 32px; }
  .station-card-icon { width: 38px; height: 32px; }
}

/* Language switcher as links (PHP-rendered) */
.language-switch a.lang-link { display: inline-flex; align-items: center; min-height: 36px; padding: 3px 2px; color: #eaf6fe; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-decoration: none; transition: color .2s; }
.language-switch a.lang-link:hover { color: #ffffff; }
.language-switch a.lang-link[aria-pressed="true"] { color: #ffffff; font-weight: 750; }

/* ============================================================
   MAIN NAV + MOBILE HEADER - FINAL rules, keep at END of file
   ============================================================ */
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .nav-link { color: #eaf6fe; font-size: 13px; font-weight: 600; letter-spacing: .2px; text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav .nav-link:hover { color: #ffffff; border-bottom-color: var(--gold); }
.site-nav .nav-link[aria-current="page"] { color: #ffffff; border-bottom-color: var(--gold); }
.mobile-menu-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 40px; background: transparent; color: #ffffff; }
.mobile-menu-toggle .icon, .mobile-search-toggle .icon { fill: none; stroke: currentColor; }
.language-switch a.lang-link[aria-pressed="true"] { text-decoration: underline var(--gold) 2px; text-underline-offset: 6px; }

@media (max-width: 680px) {
  .mobile-menu-toggle,
  .mobile-search-toggle { display: flex; flex: 0 0 auto; }
  .location-search { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; padding: 12px 20px; background: #ffffff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 14px #0d345210; z-index: 2; }
  .site-header.search-open .location-search { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 12px; background: #0c63a8; border-bottom: 1px solid #08497f; box-shadow: 0 8px 14px #0d345210; z-index: 1; }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav .nav-link { padding: 13px 2px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 14px; }
}

/* ---- Header search result rows (DB search) ---- */
.search-result-text { min-width: 0; }
.search-result-meta { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.search-result-icon { width: 32px; height: 30px; flex: 0 0 auto; }
.search-result-temp { font-size: 16px; font-weight: 600; color: #134a7e; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 680px) {
  .search-result-icon { width: 32px; height: 28px; }
  .search-result-temp { font-size: 14px; }
}

/* ---- Location page tabs (outlook-links as page tabs) ---- */
.outlook-link.is-active { color: #ffffff; border-bottom-color: var(--gold); cursor: default; }

/* ---- Per-page intro copy ---- */
.page-intro { padding-top: 24px; }
.page-intro .detail-description { max-width: 640px; }

/* ---- Hourly strip in hero (vremenska-napoved page) ---- */
.forecast-hour { min-height: 150px; }
.forecast-hour .day-weather-icon { margin: 14px 0 12px; }
@media (max-width: 680px) {
  .forecast-hour { min-height: 126px; }
  .forecast-hour .day-weather-icon { width: 36px; height: 30px; margin: 10px 0 9px; }
}

/* ---- H1 kicker: page descriptor inside the location H1 ---- */
.h1-kicker { display: block; margin: 0 0 8px; color: #ffffff; font-size: 11px; font-weight: 700; letter-spacing: 1.65px; text-transform: uppercase; opacity: .92; }
@media (max-width: 680px) {
  .h1-kicker { font-size: 10px; margin-bottom: 6px; }
}
/* Sticky sub-navigation between the 3 location page types (blue bar) */
.location-subnav { position: sticky; top: var(--header-h); z-index: 25; background: var(--hero); box-shadow: 0 2px 10px rgba(16, 42, 70, .18); }
.location-subnav-inner { display: flex; gap: 8px; padding-top: 0px; padding-bottom: 8px; }
.subnav-link { flex: 1; text-align: center; padding: 9px 10px; border-radius: 10px; background: #ffffff; color: var(--hero); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.subnav-link:hover { background: #dcebf7; }
.subnav-link.is-active { background: var(--gold); color: var(--ink); cursor: default; }
@media (max-width: 560px) {
  .location-subnav-inner { gap: 6px; padding-top: 6px; padding-bottom: 6px; }
  .subnav-link { font-size: 14px; padding: 6px 6px; }
}
  



/* ---- Home sections: recent / popular / "Slovenija zdaj" (2026-10-12) ---- */
#home .stations-section { padding: 20px 0 44px; }
.home-section-title { margin: 0 0 18px; font-size: 21px; font-weight: 650; letter-spacing: -.5px; color: var(--ink); }
.station-card-badge { display: inline-block; margin-bottom: 7px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.home-all-places { padding: 8px 0 72px; text-align: center; }
.btn-all-places { display: inline-block; padding: 13px 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--hero); font-size: 15px; font-weight: 650; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.btn-all-places:hover, .btn-all-places:focus-visible { border-color: #c3dbec; box-shadow: 0 10px 24px #0d34521a; transform: translateY(-2px); }

/* ---- Location hero: altitude line (2026-10-12, corrected) ----
   Font/color come from the shared ".place-country, .place-altitude" rules above
   (incl. small-screen tweaks) - this only adds the gap between the two spans. */
.place-altitude { margin-left: 12px; }

/* ---- Gust tag: small "Sunki do" prefix shown when a gust replaces wind speed (2026-10-12) ---- */
.gust-tag { font-size: .82em; font-weight: 600; color: var(--muted); letter-spacing: .2px; }
.hour-wind .gust-tag { margin-right: 2px; }

/* ---- Nearby places "Vreme v okolici": right sidebar on location pages (2026-10-13, v2) ---- */
/* Desktop >=1100px: forecast tables in the left column (.location-content),
   nearby places as a sticky right sidebar. 681-1099px: stacked, 2-col card grid.
   <=680px: stacked, single column. */
.location-body { display: block; }
.nearby-section { padding: 4px 0 44px; }
.nearby-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.nearby-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #ffffff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; transition: background .2s, border-color .2s; }
.nearby-card:hover, .nearby-card:focus-visible { background: #e6f2fb; border-color: #b9d5ea; }
.nearby-icon { width: 32px; height: 28px; flex: 0 0 auto; }
.nearby-text { min-width: 0; }
.nearby-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.nearby-meta { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.nearby-temp { margin-left: auto; flex: 0 0 auto; font-size: 16px; font-weight: 600; color: #134a7e; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 681px) and (max-width: 1099px) {
  .nearby-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .location-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
  /* H2 alignment: the sidebar heading sits on the same horizontal line as the
     left column's first section heading, on all 3 location page types. */
  .location-content > .detailed-forecast:first-child,
  .location-content > .days-list-section:first-child { padding-top: 32px; }
  .nearby-section { padding-top: 32px; }
  .nearby-aside { position: sticky; top: 140px; }
}



/* ---- Forecast lists: table -> adjustable CSS grid (2026-10-15, data v2) ----
   Inner content keeps the existing classes (.days-name/.days-date,
   .hour-conditions/.hour-weather-icon/.hour-condition-name, .hour-temperature,
   .hour-rain, .hour-wind, .days-low) so the data markup stays stable. */
.forecast-list {
  --fc-gap: 16px;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.forecast-list--timeline {
  --fc-cols: minmax(86px, 1fr) minmax(170px, 2.1fr) minmax(64px, .85fr) minmax(104px, 1.1fr) minmax(132px, 1.25fr);
}
.forecast-list--days {
  --fc-cols: minmax(104px, 1.05fr) minmax(176px, 2fr) minmax(58px, .65fr) minmax(58px, .65fr) minmax(108px, 1fr) minmax(132px, 1.2fr);
}
.forecast-list-head,
.forecast-list-row {
  display: grid;
  grid-template-columns: var(--fc-cols);
  column-gap: var(--fc-gap);
}
.forecast-list-head {
  border-top: 1px solid #dfe9f3;
  border-bottom: 1px solid #dfe9f3;
}
.forecast-list-head > span {
  min-width: 0;
  padding: 13px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  text-align: left;
}
.forecast-list-head > span:last-child { text-align: right; }
.forecast-list-row {
  align-items: center;
  min-height: 63px;
  padding: 11px 0;
  border-bottom: 1px solid #e6eef6;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}
.forecast-list-row:hover { background: #e8f3fb66; }
.forecast-list--days .forecast-list-row:hover { background: transparent; }
.forecast-cell { min-width: 0; }
.forecast-cell:last-child { text-align: right; }
.forecast-cell:last-child .hour-rain,
.forecast-cell:last-child .hour-wind { justify-content: flex-end; }

@media (max-width: 1099px) {
  .forecast-list { --fc-gap: 12px; }
  .forecast-list--timeline { --fc-cols: minmax(76px, 1fr) minmax(150px, 1.9fr) minmax(58px, .8fr) minmax(88px, 1fr) minmax(116px, 1.1fr); }
  .forecast-list--days { --fc-cols: minmax(94px, 1.05fr) minmax(150px, 2fr) minmax(54px, .75fr) minmax(54px, .75fr) minmax(96px, 1fr) minmax(116px, 1.1fr); }
  .forecast-list-head > span { padding: 11px 0; font-size: 11px; }
  .forecast-list-row { min-height: 57px; padding: 10px 0; font-size: 13px; }
}

@media (max-width: 680px) {
  .forecast-list-head { display: none; }
  .forecast-cell { text-align: left; }
  .hour-condition-name { display: none; }

  .forecast-list--timeline .forecast-list-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "lead lead"
      "weather temp"
      "precip wind";
    row-gap: 7px;
    min-height: 0;
    padding: 12px 0;
  }
  .forecast-list--timeline .forecast-cell--day,
  .forecast-list--timeline .forecast-cell--time { grid-area: lead; }
  .forecast-list--timeline .forecast-cell--weather { grid-area: weather; }
  .forecast-list--timeline .forecast-cell--temp { grid-area: temp; justify-self: end; }
  .forecast-list--timeline .forecast-cell--precip { grid-area: precip; }
  .forecast-list--timeline .forecast-cell--wind { grid-area: wind; justify-self: end; }

  .forecast-list--days .forecast-list-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "day day"
      "weather weather"
      "high low"
      "precip wind";
    row-gap: 7px;
    min-height: 0;
    padding: 12px 0;
  }
  .forecast-list--days .forecast-cell--day { grid-area: day; }
  .forecast-list--days .forecast-cell--weather { grid-area: weather; }
  .forecast-list--days .forecast-cell--high { grid-area: high; }
  .forecast-list--days .forecast-cell--low { grid-area: low; justify-self: end; }
  .forecast-list--days .forecast-cell--precip { grid-area: precip; }
  .forecast-list--days .forecast-cell--wind { grid-area: wind; justify-self: end; }
}

/* ---- Forecast lists: table -> adjustable CSS grid (2026-10-15, cleanup v3) ----
   One list system, two data patterns. Inner content keeps the stable classes:
   .days-name/.days-date, .hour-time, .hour-conditions/.hour-weather-icon/.hour-condition-name,
   .hour-temperature, .hour-rain, .hour-wind, .days-low. */
.forecast-list {
  --fc-gap: 16px;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.forecast-list--timeline {
  --fc-cols: minmax(86px, 1fr) minmax(170px, 2.1fr) minmax(64px, .85fr) minmax(104px, 1.1fr) minmax(132px, 1.25fr);
}
.forecast-list--days {
  --fc-cols: minmax(104px, 1.05fr) minmax(176px, 2fr) minmax(58px, .65fr) minmax(58px, .65fr) minmax(108px, 1fr) minmax(132px, 1.2fr);
}
.forecast-list-head,
.forecast-list-row {
  display: grid;
  grid-template-columns: var(--fc-cols);
  column-gap: var(--fc-gap);
}
.forecast-list-head {
  border-top: 1px solid #dfe9f3;
  border-bottom: 1px solid #dfe9f3;
}
.forecast-list-head > span {
  min-width: 0;
  padding: 13px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  text-align: left;
}
.forecast-list-head > span:last-child { text-align: right; }
.forecast-list-row {
  align-items: center;
  min-height: 63px;
  padding: 11px 0;
  border-bottom: 1px solid #e6eef6;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}
.forecast-list-row:hover { background: #e8f3fb66; }
.forecast-list--days .forecast-list-row:hover { background: transparent; }
.forecast-cell { min-width: 0; }
.forecast-cell:last-child { text-align: right; }
.forecast-cell:last-child .hour-rain,
.forecast-cell:last-child .hour-wind { justify-content: flex-end; }

/* Text unification inside location lists. */
.forecast-list .days-name,
.forecast-list .hour-condition-name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}
.forecast-list .days-name { display: block; }
.forecast-list .days-date,
.forecast-list .wind-unit {
  color: #64809a;
  font-size: 11px;
  font-weight: 450;
  line-height: 15px;
}
.forecast-list .wind-unit { margin-left: 0; }
.forecast-list .hour-temperature,
.forecast-list .hour-rain,
.forecast-list .hour-wind {
  color: #134a7e;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}
.forecast-list .hour-rain .icon,
.forecast-list .hour-wind .icon { color: #6d90ae; }
.forecast-list .gust-tag { font-size: 13px; }

@media (min-width: 1100px) {
  .forecast-list { --fc-gap: 18px; }
  .forecast-list-row { min-height: 66px; font-size: 14px; }
  .forecast-list .days-name,
  .forecast-list .hour-condition-name { font-size: 14px; line-height: 19px; }
  .forecast-list .days-date,
  .forecast-list .wind-unit { font-size: 11px; line-height: 16px; }
  .forecast-list .hour-temperature,
  .forecast-list .hour-rain,
  .forecast-list .hour-wind { font-size: 17px; line-height: 22px; }
  .forecast-list .gust-tag { font-size: 14px; }
}

@media (max-width: 1099px) {
  .forecast-list { --fc-gap: 12px; }
  .forecast-list--timeline { --fc-cols: minmax(76px, 1fr) minmax(150px, 1.9fr) minmax(58px, .8fr) minmax(88px, 1fr) minmax(116px, 1.1fr); }
  .forecast-list--days { --fc-cols: minmax(94px, 1.05fr) minmax(150px, 2fr) minmax(54px, .75fr) minmax(54px, .75fr) minmax(96px, 1fr) minmax(116px, 1.1fr); }
  .forecast-list-head > span { padding: 11px 0; font-size: 11px; }
  .forecast-list-row { min-height: 57px; padding: 10px 0; font-size: 13px; }
  .forecast-list .days-name,
  .forecast-list .hour-condition-name { font-size: 13px; line-height: 17px; }
  .forecast-list .days-date,
  .forecast-list .wind-unit { font-size: 10px; line-height: 14px; }
  .forecast-list .hour-temperature,
  .forecast-list .hour-rain,
  .forecast-list .hour-wind { font-size: 15px; line-height: 19px; }
  .forecast-list .gust-tag { font-size: 12px; }
}

@media (max-width: 680px) {
  .forecast-list-head { display: none; }
  .forecast-cell { text-align: left; }
  .hour-condition-name { display: none; }

  /* First rule on phones: time/day, icon, temperature stay together like desktop. */
  .forecast-list--timeline .forecast-list-row {
    grid-template-columns: repeat(3, auto);
    grid-template-areas:
      "lead weather temp"
      "precip . wind";
    justify-content: start;
    column-gap: 10px;
    row-gap: 7px;
    min-height: 0;
    padding: 12px 0;
  }
  .forecast-list--timeline .forecast-cell { justify-self: start; }
  .forecast-list--timeline .forecast-cell--day,
  .forecast-list--timeline .forecast-cell--time { grid-area: lead; }
  .forecast-list--timeline .forecast-cell--weather { grid-area: weather; }
  .forecast-list--timeline .forecast-cell--temp { grid-area: temp; justify-self: end; }
  .forecast-list--timeline .forecast-cell--precip { grid-area: precip; }
  .forecast-list--timeline .forecast-cell--wind { grid-area: wind; justify-self: end; }

  .forecast-list--days .forecast-list-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "day weather high"
      "low precip wind";
    justify-content: start;
    column-gap: 10px;
    row-gap: 7px;
    min-height: 0;
    padding: 12px 0;
  }
  .forecast-list--days .forecast-cell { justify-self: start; }
  .forecast-list--days .forecast-cell--day { grid-area: day; }
  .forecast-list--days .forecast-cell--weather { grid-area: weather; }
  .forecast-list--days .forecast-cell--high { grid-area: high; justify-self: end; }
  .forecast-list--days .forecast-cell--low { grid-area: low; }
  .forecast-list--days .forecast-cell--precip { grid-area: precip; }
  .forecast-list--days .forecast-cell--wind { grid-area: wind; justify-self: end; }
}

/* ---- Forecast lists: table -> adjustable CSS grid (2026-10-15, mobile-order v4) ----
   Hard rule on phones: TIME column is alone left, WEATHER icon is next, TEMPERATURE is next.
   Interval lists use full-width day separator rows, so no empty day cells. */
.forecast-list {
  --fc-gap: 16px;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.forecast-list--timeline {
  --fc-cols: minmax(76px, .9fr) minmax(170px, 2.1fr) minmax(64px, .85fr) minmax(104px, 1.1fr) minmax(132px, 1.25fr);
}
.forecast-list--days {
  --fc-cols: minmax(112px, 1.1fr) minmax(180px, 2fr) minmax(118px, .95fr) minmax(112px, 1fr) minmax(142px, 1.2fr);
}
.forecast-list-head,
.forecast-list-row {
  display: grid;
  grid-template-columns: var(--fc-cols);
  column-gap: var(--fc-gap);
}
.forecast-list-head {
  border-top: 1px solid #dfe9f3;
  border-bottom: 1px solid #dfe9f3;
}
.forecast-list-head > span {
  min-width: 0;
  padding: 13px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  text-align: left;
}
.forecast-list-head > span:last-child { text-align: right; }
.forecast-head-cell--temps {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.forecast-head-cell--temps > span { padding: 0; }
.forecast-list-row {
  align-items: center;
  min-height: 63px;
  padding: 11px 0;
  border-bottom: 1px solid #e6eef6;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}
.forecast-list-row:hover { background: #e8f3fb66; }
.forecast-list--days .forecast-list-row:hover { background: transparent; }
.forecast-cell { min-width: 0; }
.forecast-cell:last-child { text-align: right; }
.forecast-cell:last-child .hour-rain,
.forecast-cell:last-child .hour-wind { justify-content: flex-end; }
.forecast-cell--temps {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

/* Full-width day separators for interval lists: Danes/Jutri + short date. */
.forecast-day-sep {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  padding: 16px 0 6px;
  border-bottom: 1px solid #eef4fa;
}
.forecast-day-sep .days-name {
  color: #2e5478;
  font-size: 15px;
  font-weight: 650;
  line-height: 20px;
}
.forecast-day-sep .days-date {
  color: #64809a;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

/* Text unification inside location lists. */
.forecast-list .days-name {
  display: block;
  color: #2e5478;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}
.forecast-list .hour-condition-name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}
.forecast-list .days-date,
.forecast-list .wind-unit {
  color: #64809a;
  font-size: 11px;
  font-weight: 450;
  line-height: 15px;
}
.forecast-list .wind-unit { margin-left: 0; }
.forecast-list .hour-temperature,
.forecast-list .hour-rain,
.forecast-list .hour-wind {
  color: #134a7e;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}
.forecast-list .hour-rain .icon,
.forecast-list .hour-wind .icon { color: #6d90ae; }
.forecast-list .gust-tag { font-size: 13px; }

@media (min-width: 1100px) {
  .forecast-list { --fc-gap: 18px; }
  .forecast-list-row { min-height: 66px; font-size: 14px; }
  .forecast-list .days-name { font-size: 14px; line-height: 19px; }
  .forecast-list .hour-condition-name { font-size: 14px; line-height: 19px; }
  .forecast-list .days-date,
  .forecast-list .wind-unit { font-size: 11px; line-height: 16px; }
  .forecast-list .hour-temperature,
  .forecast-list .hour-rain,
  .forecast-list .hour-wind { font-size: 17px; line-height: 22px; }
  .forecast-list .gust-tag { font-size: 14px; }
}

@media (max-width: 1099px) {
  .forecast-list { --fc-gap: 12px; }
  .forecast-list--timeline { --fc-cols: minmax(70px, .9fr) minmax(150px, 1.9fr) minmax(58px, .8fr) minmax(88px, 1fr) minmax(116px, 1.1fr); }
  .forecast-list--days { --fc-cols: minmax(100px, 1.05fr) minmax(150px, 2fr) minmax(104px, .95fr) minmax(96px, 1fr) minmax(118px, 1.1fr); }
  .forecast-list-head > span { padding: 11px 0; font-size: 11px; }
  .forecast-list-row { min-height: 57px; padding: 10px 0; font-size: 13px; }
  .forecast-list .days-name { font-size: 13px; line-height: 17px; }
  .forecast-list .hour-condition-name { font-size: 13px; line-height: 17px; }
  .forecast-list .days-date,
  .forecast-list .wind-unit { font-size: 10px; line-height: 14px; }
  .forecast-list .hour-temperature,
  .forecast-list .hour-rain,
  .forecast-list .hour-wind { font-size: 15px; line-height: 19px; }
  .forecast-list .gust-tag { font-size: 12px; }
}

@media (max-width: 680px) {
  .forecast-list-head { display: none; }

  /* Old-school mobile flow: everything floats left. You adjust widths/padding later. */
  .forecast-list-row {
    display: block;
    min-height: 0;
    padding: 8px 0;
  }
  .forecast-list-row::after {
    content: "";
    display: block;
    clear: both;
  }
  .forecast-cell {
    float: left;
    clear: none;
    display: flex;
    align-items: center;
    width: auto;
    min-width: 0;
    height: 42px;
    margin: 0 10px 0 0;
    padding: 0;
    line-height: 20px;
    text-align: left;
    grid-area: auto;
    justify-self: auto;
  }
  .forecast-cell:last-child { margin-right: 0; }
  .forecast-day-sep {
    display: block;
    clear: both;
    padding: 14px 0 4px;
  }
  .forecast-day-sep .days-name { font-size: 14px; }
  .forecast-day-sep .days-date { font-size: 11px; }
  .hour-condition-name { display: none; }

  /* Starting widths only. Time -> icon -> temp stay glued left. */
  .forecast-list--timeline .forecast-cell--time { min-width: 48px; }
  .forecast-list--timeline .forecast-cell--weather { min-width: 40px; }
  .forecast-list--timeline .forecast-cell--temp { min-width: 48px; }

  .forecast-list--days .forecast-cell--day { min-width: 48px; }
  .forecast-list--days .forecast-cell--weather { min-width: 40px; }
  .forecast-list--days .forecast-cell--temps { min-width: 48px; justify-content: flex-start; gap: 6px; }
  .forecast-list--days .forecast-cell--day {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
  }
}
@media (max-width: 560px) {
  .forecast-list .gust-tag { display: none; }
}

/* === 10-DAY LIST: keep high/low temps adjacent at desktop widths === */
@media (min-width: 1100px) {
  .forecast-list--days .forecast-cell--temps { justify-content: flex-start; gap: 6px; }
}

/* === SUN ASIDE (10-day page) === */
.sun-section { padding: 4px 0 44px; }
.sun-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.sun-line {
  display: grid;
  grid-template-columns: minmax(96px, max-content) auto auto;
  justify-content: start;
  align-items: center;
  column-gap: 14px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.sun-line-day { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sun-line-date { color: var(--muted); font-weight: 500; }
.sun-line-time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #134a7e; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sun-line-time .icon { width: 18px; height: 18px; }

@media (min-width: 681px) and (max-width: 1099px) {
  .sun-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  /* 10-day page: right column = sun aside + nearby places, left column unchanged. */
  .location-body--with-sun .location-content { grid-column: 1; grid-row: 1; }
  .location-body--with-sun .location-side { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 28px; }
  .location-body--with-sun .sun-section { padding-top: 32px; }
}

/* === NEARBY CARDS: same visual language as the search dropdown === */
.nearby-text { flex: 1 1 auto; min-width: 0; }
.nearby-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.nearby-meta { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.nearby-side { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nearby-weather { width: 20px; height: 20px; color: #2f7cb8; }
.nearby-temp { margin-left: 0; min-width: 42px; text-align: right; font-size: 15px; font-weight: 600; color: #134a7e; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- footer nav (2026-10-20) ---- */
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 10px; }
.footer-nav a { color: #33608a; font-size: 13px; font-weight: 550; text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible { text-decoration: underline; }
@media (max-width: 560px) {
  .footer-nav { gap: 6px 14px; }
}

/* ---- extremes cards (2026-10-20, layout v3) ----
   Outline icons (moisture/wind) get the EXACT same treatment as the forecast-list
   icons (.hour-rain .icon: stroke currentColor, #6d90ae) - only bigger. Weather
   icons on temp cards keep the filled station-card look. */
.extremes-section { margin: 14px auto 2px; }
.extremes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.extremes-card { padding: 14px 16px; cursor: default; }
.extremes-card:hover { box-shadow: 0 1px 3px #0d34520d; border-color: var(--line); transform: none; }
.extremes-card .station-card-head { min-height: 0; align-items: flex-start; }
.extremes-card .station-card-badge { margin-bottom: 3px; }
.extremes-when { display: block; margin-top: 2px; font-size: 12px; }
.extremes-icon { width: 64px; height: 48px; flex: 0 0 auto; color: #6d90ae; }
.extremes-icon--outline { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.extremes-reading { margin-top: 6px; }
.extremes-unit { font-size: .55em; font-weight: 650; color: var(--muted); }
.extremes-dir { font-size: .55em; font-weight: 650; color: var(--muted); }
@media (max-width: 900px) {
  .extremes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .extremes-grid { grid-template-columns: 1fr; gap: 12px; }
}
