/* De Vrije Gazet — Liberaal Belgisch nieuws */

:root {
  --navy: #0f2347;
  --navy-dark: #0a1830;
  --navy-light: #1a3a6e;
  --blue: #1e4d8c;
  --blue-bright: #2874cc;
  --blue-soft: #e8f0fa;
  --accent: var(--blue-bright);
  --accent-hover: #1e5fad;
  --breaking: #1a4a8a;
  --bg: #f5f6f8;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5c6370;
  --border: #e2e5ea;
  --positive: #0d8a4e;
  --negative: #d32f2f;
  --shadow: 0 2px 12px rgba(15, 35, 71, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 35, 71, 0.12);
  --radius: 4px;
  --radius-lg: 6px;
  --font-sans: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 24px;
  }
}

/* Prevent grid/flex children from forcing horizontal scroll */
.articles,
.sidebar,
.article-layout__main,
.article-page,
.weather-page__shell,
.subscribe-layout__main {
  min-width: 0;
  max-width: 100%;
}

.main-layout {
  min-width: 0;
}

/* Top bar */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 0;
  min-height: 36px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  min-width: 0;
  width: 100%;
}

.top-bar__date,
.top-bar__edition {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.top-bar__links {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.top-bar__links a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  min-height: 36px;
}


.top-bar__links a:hover {
  color: var(--white);
}

.top-bar__edition {
  color: var(--blue-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding-inline: 24px;
  }
}

.site-header__inner > .logo {
  flex-shrink: 0;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo__mark-wrap {
  --logo-text-height: calc(1.75rem * 1.1 + 0.125rem + 0.75rem * 1.35);
  height: var(--logo-text-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo__mark {
  height: calc(var(--logo-text-height) * 1.7);
  width: auto;
  max-width: calc(var(--logo-text-height) * 2.4);
  object-fit: contain;
  object-position: center;
  display: block;
}

.logo--compact .logo__mark-wrap {
  --logo-text-height: calc(1.4rem * 1.1);
}

.logo--compact .logo__mark {
  height: calc(var(--logo-text-height) * 1.7);
  max-width: calc(var(--logo-text-height) * 2.4);
}

.logo--footer {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.logo--footer:hover {
  opacity: 0.92;
}

.logo--footer .logo__mark-wrap {
  --logo-text-height: calc(1.25rem * 1.1 + 0.125rem + 0.7rem * 1.35);
}

.logo--footer .logo__name {
  font-size: 1.35rem;
  color: #fff;
}

.logo__tagline--footer {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.logo img {
  border-radius: 4px;
}

.logo__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo__tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--blue-bright);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Weather widget in header */
.weather-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  min-width: 130px;
  border: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.weather-widget:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 35, 71, 0.2);
}

.weather-widget:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

.weather-widget__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.weather-widget__temp {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.weather-widget__city {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Navigation */
.main-nav {
  background: var(--navy);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.main-nav .container {
  display: flex;
  align-items: center;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 48px;
  width: 100%;
}

.main-nav__list::-webkit-scrollbar {
  display: none;
}

.main-nav__list li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.main-nav__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  line-height: 1.2;
  position: relative;
}

.main-nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
  transition: background 0.2s;
}

.main-nav__list a:hover,
.main-nav__list a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.main-nav__list a:hover::after,
.main-nav__list a.active::after {
  background: var(--blue-bright);
}

/* Breaking news */
.breaking-bar {
  background: linear-gradient(90deg, var(--breaking) 0%, var(--blue-bright) 100%);
  color: var(--white);
  padding: 8px 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.breaking-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.breaking-bar__label {
  background: var(--white);
  color: var(--breaking);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.breaking-bar__ticker {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.breaking-bar__track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Main layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 48px;
  align-items: start;
  min-width: 0;
}

/* Hero article */
.hero-article {
  margin-bottom: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}

.hero-article:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.hero-article__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.hero-article:hover .hero-article__image img {
  transform: scale(1.03);
}

.hero-article__category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue-bright);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
}

/* Photo captions — newspaper-style bylines under every image */
.article-photo {
  margin: 0;
}

.article-photo__frame {
  position: relative;
  overflow: hidden;
}

.article-photo--full {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.article-photo--full .article-photo__frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-photo--hero .article-photo__frame {
  aspect-ratio: 16 / 9;
}

.article-photo--hero .article-photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.hero-article:hover .article-photo--hero img {
  transform: scale(1.03);
}

.article-photo--card .article-photo__frame {
  aspect-ratio: 16 / 10;
}

.article-photo--card .article-photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.article-card:hover .article-photo--card img {
  transform: scale(1.05);
}

.article-photo--related .article-photo__frame {
  aspect-ratio: 16 / 10;
  border-radius: 8px 8px 0 0;
}

.article-photo--related .article-photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-photo__category {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--blue-bright);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
}

.article-photo--card .article-photo__category {
  top: 10px;
  left: 10px;
  font-size: 0.62rem;
  padding: 4px 10px;
}

.article-photo__caption {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 16px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.article-photo__caption--overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px 14px 11px;
  border: none;
  background: linear-gradient(180deg, rgba(15, 35, 71, 0) 0%, rgba(15, 35, 71, 0.82) 68%, rgba(15, 35, 71, 0.94) 100%);
  color: rgba(255, 255, 255, 0.94);
  pointer-events: none;
}

.article-photo__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-photo__credit::before {
  content: '';
  flex: 0 0 3px;
  width: 3px;
  height: 11px;
  border-radius: 2px;
  background: var(--blue-bright);
}

.article-photo__caption--overlay .article-photo__credit::before {
  background: rgba(255, 255, 255, 0.88);
}

.article-full__image-credit {
  margin: 0;
  padding: 8px 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--border);
}

.hero-article__content {
  padding: 24px 28px 28px;
}

.hero-article h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 12px;
}

.hero-article__excerpt {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-meta time {
  font-weight: 600;
  color: var(--blue-bright);
}

/* Article grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.article-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.article-card:hover .article-card__image img {
  transform: scale(1.05);
}

.article-card__category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 3px;
}

.article-card a {
  display: block;
  padding: 16px 18px 18px;
}

.article-card h2 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 8px;
}

.article-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-bright);
}

/* More news list */
.section-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--navy);
}

.news-list li {
  border-bottom: 1px solid var(--border);
}

.news-list a {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  align-items: baseline;
  transition: color 0.2s;
}

.news-list a:hover {
  color: var(--navy-light);
}

.news-list time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-bright);
  flex-shrink: 0;
  min-width: 70px;
}

.news-list span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 140px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.sidebar-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.sidebar-card__footnote {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* Markets */
.market-index--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.market-index__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.market-index__name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.market-index__status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
}

.market-index__status--open {
  background: var(--positive);
}

.market-index__status--closed {
  background: rgba(255, 255, 255, 0.2);
}

.market-index__value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.market-index__change {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 4px;
}

.market-index__change.positive,
.market-list__change.positive,
.rates-list .positive {
  color: #6ee7a0;
}

.market-index__change.negative,
.market-list__change.negative {
  color: #fca5a5;
}

.market-list__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.market-list__item:last-child {
  border-bottom: none;
}

.market-list__name {
  font-weight: 600;
  color: var(--navy);
}

.market-list__value {
  font-weight: 700;
  text-align: right;
}

.market-list__change {
  font-weight: 600;
  font-size: 0.8rem;
  text-align: right;
  min-width: 60px;
}

.market-list__change.positive {
  color: var(--positive);
}

.market-list__change.negative {
  color: var(--negative);
}

/* Rates */
.rates-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.rates-list li:last-child {
  border-bottom: none;
}

.rates-list span:first-child {
  font-weight: 600;
  color: var(--navy);
}

.rates-list span:last-child {
  font-weight: 700;
}

/* Weather detail */
.weather-title-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.weather-title-btn:hover {
  color: var(--blue-bright);
}

.weather-detail {
  font-size: 0.9rem;
}

.weather-detail__loading {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.weather-detail__cities {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.weather-detail__city {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.weather-detail__city:hover {
  border-color: var(--blue-bright);
  background: #f8fbff;
}

.weather-detail__city.is-active {
  border-color: var(--blue-bright);
  background: #e8f0fa;
  box-shadow: 0 0 0 1px rgba(40, 116, 204, 0.15);
}

.weather-detail__city-name {
  font-weight: 600;
  color: var(--navy);
}

.weather-detail__city-temp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
}

.weather-detail__city-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.weather-panel {
  margin-bottom: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.weather-panel__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0 0 10px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-bright);
  cursor: pointer;
}

.weather-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.weather-panel__head h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.weather-panel__region {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.weather-panel__hero {
  display: flex;
  align-items: center;
  gap: 10px;
}

.weather-panel__hero-icon {
  font-size: 2rem;
  line-height: 1;
}

.weather-panel__hero-temp {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.weather-panel__hero-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.weather-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.weather-panel__stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  text-align: center;
}

.weather-panel__stat span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.weather-panel__stat strong {
  font-size: 0.9rem;
  color: var(--navy);
}

.weather-panel__hours-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.weather-panel__hours {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.weather-hour {
  flex: 0 0 auto;
  min-width: 52px;
  text-align: center;
  padding: 8px 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
}

.weather-hour span {
  display: block;
}

.weather-hour__time {
  color: var(--text-muted);
  margin-bottom: 4px;
}

.weather-hour__icon {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.weather-hour__temp {
  font-weight: 700;
  color: var(--navy);
}

.weather-search {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.weather-search label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.weather-search__row {
  display: flex;
  gap: 8px;
}

.weather-search__row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.85rem;
}

.weather-search__row input:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(40, 116, 204, 0.12);
}

.weather-search__row button {
  flex-shrink: 0;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.weather-search__row button:hover {
  background: var(--navy-light);
}

.weather-search__hint {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.weather-search__results {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.weather-search__result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: #fafbfc;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.weather-search__result:hover {
  border-color: var(--blue-bright);
  background: #f8fbff;
}

.weather-search__result strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
}

.weather-search__result small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.weather-search__empty {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.weather-detail__error {
  font-size: 0.85rem;
  color: #9b1c1c;
  padding: 8px 0;
}

/* Poll */
.poll-question {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
}

.poll-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poll-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.poll-form label:hover {
  background: var(--bg);
}

.poll-btn {
  margin-top: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.poll-btn:hover {
  background: var(--navy-light);
}

/* Ad placeholder */
.ad-placeholder {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--navy-dark) 0%, #060d1a 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  margin-top: 48px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, 1fr);
  gap: 40px 32px;
  margin-bottom: 36px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__brand .logo--footer {
  margin-bottom: 4px;
}

.site-footer__brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.site-footer h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li:last-child {
  margin-bottom: 0;
}

.site-footer a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sidebar-card--ad {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .main-layout {
    padding-top: 20px;
    padding-bottom: 32px;
    gap: 24px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }

  .sidebar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .top-bar__edition {
    display: none;
  }

  .top-bar__links {
    display: none;
  }

  .top-bar__date {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero-article__content {
    padding: 18px;
  }

  .news-list a {
    flex-direction: column;
    gap: 4px;
  }
}

/* Article page */
.site-header--compact .site-header__inner {
  padding: 10px 20px;
}

.article-page {
  max-width: 800px;
  padding: 32px 20px 48px;
}

.article-full__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.article-full__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-full__image-credit {
  margin: 0;
  padding: 8px 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--border);
}

.article-full__header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}

.article-full__excerpt {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
}

.article-full__body {
  margin-top: 28px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-full__body img,
.article-full__body iframe,
.article-full__body video,
.article-full__body table {
  max-width: 100%;
  height: auto;
}

.article-full__body p {
  margin-bottom: 1.2em;
}

.article-full__body h2,
.article-full__body h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 1.5em 0 0.6em;
}

.article-layout__main {
  min-width: 0;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.article-breadcrumb a {
  color: var(--blue-bright);
  font-weight: 600;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-meta__author {
  font-weight: 600;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 0;
  margin: 8px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.article-share span:first-child {
  font-weight: 700;
  color: var(--navy);
}

.article-share a,
.article-share__copy {
  color: var(--blue-bright);
  font-weight: 600;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.related-articles {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.related-articles h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 0;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 35, 71, 0.12);
}

.related-card .article-photo--related {
  margin: 0;
  min-height: 92px;
}

.related-card .article-photo--related .article-photo__frame {
  height: 100%;
  min-height: 92px;
  border-radius: 0;
}

.related-card .article-photo__caption--overlay {
  padding: 22px 8px 7px;
  font-size: 0.58rem;
}

.related-card .article-photo__credit::before {
  display: none;
}

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

.related-card img {
  width: 96px;
  height: 100%;
  min-height: 80px;
  object-fit: cover;
}

.related-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.35;
  margin-top: 4px;
}

.related-card__cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-bright);
}

.article-comments {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.article-comments__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.article-comments__count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.comment-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
  resize: vertical;
}

.comment-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.comment-gate {
  background: #f4f6fa;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.comment-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.comment-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.comment-item__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.comment-item__head strong {
  color: var(--navy);
}

.comment-item__head time {
  color: var(--text-muted);
}

.comment-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.comment-empty {
  margin-top: 16px;
}

.top-bar__redactie {
  opacity: 0.65;
  font-size: 0.75rem;
}

.reader-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.reader-auth-divider::before,
.reader-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.reader-auth-alt {
  margin-top: 20px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
}

.btn-subscribe--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.account-section-title {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .related-articles__grid {
    grid-template-columns: 1fr;
  }
}

.empty-state {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-state h2 {
  color: var(--navy);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
}

/* Preview mode */
.preview-banner {
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue-bright) 100%);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.preview-banner a {
  color: var(--white);
  text-decoration: underline;
}

.preview-feed-sample {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

/* Subscribe */
.top-bar__cta {
  background: var(--blue-bright);
  color: var(--white) !important;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
}

.top-bar__cta:hover {
  background: var(--accent-hover);
}

.subscribe-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding-block: 32px 48px;
  align-items: start;
  min-width: 0;
}

.subscribe-page {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.subscribe-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 10px;
}

.subscribe-hero p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.frequency-options {
  border: none;
  margin: 0 0 24px;
  padding: 0;
}

.frequency-options legend {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.frequency-card {
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
}

.frequency-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.frequency-card__inner {
  display: block;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.frequency-card__inner strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.frequency-card__inner span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.frequency-card input:checked + .frequency-card__inner {
  border-color: var(--blue-bright);
  background: var(--blue-soft);
}

.frequency-card:hover .frequency-card__inner {
  border-color: var(--blue-bright);
}

.subscribe-email {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.subscribe-email input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
}

.subscribe-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-subscribe {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-bright) 100%);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.btn-subscribe:hover {
  opacity: 0.92;
}

.btn-subscribe--block {
  display: block;
  width: 100%;
}

.subscribe-sidebar-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.subscribe-alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.alert-success {
  background: #e6f6ee;
  color: #0d5c36;
}

.alert-error {
  background: #fde8ea;
  color: #9b1c1c;
}

.alert-info {
  background: #e8f0fa;
  color: #0f2347;
  border: 1px solid #c5d9f2;
}

@media (max-width: 1024px) {
  .subscribe-layout {
    grid-template-columns: 1fr;
  }
}

/* Legal pages */
.legal-page {
  max-width: 760px;
  padding: 32px 20px 48px;
}

.legal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.legal-content__header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-content__meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.legal-content__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.legal-content__body h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 1.8em 0 0.6em;
}

.legal-content__body p {
  margin-bottom: 1em;
}

.legal-content__body ul {
  margin: 0 0 1em 1.2em;
}

.legal-content__body li {
  margin-bottom: 0.5em;
}

.legal-content__body a {
  color: var(--blue-bright);
}

/* ——— Mobile-first enhancements ——— */

.site-header__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  min-width: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}

.menu-toggle:hover {
  background: var(--navy-light);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.menu-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

body.mobile-nav-open .menu-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.mobile-nav-open .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

body.mobile-nav-open .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  border: none;
  background: rgba(10, 24, 48, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 100%);
  max-width: 100%;
  background: var(--white);
  box-shadow: -8px 0 32px rgba(15, 35, 71, 0.18);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: max(12px, env(safe-area-inset-top)) 0 max(20px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translate3d(0, 0, 0);
}

.mobile-nav:not(.is-open) .mobile-nav__panel {
  visibility: hidden;
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--navy);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav__section {
  padding: 16px 16px 0;
}

.mobile-nav__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mobile-nav__list {
  list-style: none;
}

.mobile-nav__list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s;
}

.mobile-nav__list a:hover,
.mobile-nav__list a.is-active {
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.mobile-nav__list--account a {
  font-weight: 500;
}

.mobile-nav__redactie {
  color: var(--text-muted) !important;
  font-size: 0.88rem !important;
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .container {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .top-bar .container,
  .site-header > .container,
  .breaking-bar .container,
  .main-nav .container {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .main-nav .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
  }

  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));
    gap: 8px;
  }

  .site-header--compact .site-header__inner {
    padding: 6px 0;
  }

  .logo {
    gap: 0;
    min-width: 0;
    flex-shrink: 0;
  }

  .logo__text {
    display: none;
  }

  .logo__mark-wrap {
    --logo-text-height: 38px;
    height: 38px;
    width: 38px;
  }

  .logo__mark {
    height: 38px;
    max-width: 38px;
    width: auto;
  }

  .logo--compact .logo__mark-wrap,
  .logo--footer .logo__mark-wrap {
    --logo-text-height: 38px;
    height: 38px;
    width: 38px;
  }

  .logo--compact .logo__mark,
  .logo--footer .logo__mark {
    height: 38px;
    max-width: 38px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
  }

  .weather-widget--header {
    min-width: 0;
    padding: 8px 10px;
    gap: 6px;
    border-radius: var(--radius);
    max-width: calc(100% - 88px);
  }

  .weather-widget--header .weather-widget__icon {
    font-size: 1.25rem;
  }

  .weather-widget--header .weather-widget__temp {
    font-size: 1.05rem;
  }

  .weather-widget--header .weather-widget__city {
    display: none;
  }

  .breaking-bar {
    padding: 6px 0;
  }

  .breaking-bar__inner {
    gap: 10px;
  }

  .breaking-bar__label {
    font-size: 0.62rem;
    padding: 3px 8px;
  }

  .breaking-bar__track {
    font-size: 0.8rem;
    gap: 32px;
  }

  .hero-article {
    margin-bottom: 20px;
    border-radius: var(--radius);
  }

  .hero-article h1 {
    font-size: 1.35rem;
  }

  .hero-article__content {
    padding: 16px 16px 18px;
  }

  .hero-article__excerpt {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .article-card a {
    padding: 14px 14px 16px;
  }

  .article-card h2 {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .sidebar {
    position: static;
    top: auto;
  }

  .sidebar-card {
    padding: 16px;
    border-radius: var(--radius);
  }

  .market-index__value {
    font-size: 1.45rem;
  }

  .article-page {
    padding: 20px 0 32px;
  }

  .article-full__header h1 {
    font-size: 1.45rem;
  }

  .article-full__excerpt {
    font-size: 1rem;
  }

  .article-full__body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-share {
    gap: 8px 12px;
    font-size: 0.8rem;
  }

  .article-share span:first-child {
    width: 100%;
    margin-bottom: 2px;
  }

  .related-card {
    grid-template-columns: 80px 1fr;
    gap: 10px;
  }

  .related-card img {
    width: 80px;
    min-height: 72px;
  }

  .comment-item {
    padding: 14px;
  }

  .subscribe-layout {
    padding: 20px 0 32px;
    gap: 20px;
  }

  .subscribe-page {
    padding: 22px 18px;
    border-radius: var(--radius);
  }

  .subscribe-hero h1 {
    font-size: 1.35rem;
  }

  .legal-page {
    padding: 20px 0 32px;
  }

  .legal-content {
    padding: 24px 18px;
    border-radius: var(--radius);
  }

  .legal-content__header h1 {
    font-size: 1.45rem;
  }

  .site-footer {
    padding: 32px 0 24px;
  }

  .site-footer__grid {
    gap: 20px;
  }

  .logo--footer .logo__name {
    font-size: 1.1rem;
  }

  .logo--footer .logo__tagline--footer {
    font-size: 0.62rem;
  }

  .preview-banner {
    font-size: 0.8rem;
    padding: 8px 12px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-article__content {
    padding: 14px;
  }

  .hero-article__category {
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
    padding: 4px 8px;
  }

  .news-list a {
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }

  .news-list time {
    min-width: 0;
  }

  .article-breadcrumb {
    font-size: 0.78rem;
    flex-wrap: wrap;
  }

  .article-meta {
    flex-direction: column;
    gap: 4px;
  }

  .related-articles__grid {
    grid-template-columns: 1fr;
  }

  .logo--footer .logo__text {
    display: none;
  }

  .logo--footer {
    justify-content: center;
  }

  .site-footer__brand {
    text-align: center;
  }

  .btn-subscribe,
  .btn-subscribe--block {
    width: 100%;
    padding: 14px 20px;
  }

  .frequency-card__inner {
    padding: 12px 14px;
  }
}

@media (max-width: 359px) {
  .weather-widget--header .weather-widget__info {
    display: none;
  }

  .weather-widget--header {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breaking-bar__track {
    animation: none;
  }

  .mobile-nav__panel,
  .mobile-nav__backdrop {
    transition: none;
  }
}

/* Weather page */
.weather-page {
  padding-block: 24px 48px;
}

.weather-page__shell {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px 32px;
}

.weather-page__header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 6px;
}

.weather-page__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

.weather-page__back {
  margin-bottom: 16px;
}

.weather-page__back a {
  color: var(--blue-bright);
  font-weight: 600;
  text-decoration: none;
}

.weather-page-detail {
  margin-bottom: 28px;
}

.weather-page-detail__hero {
  margin-bottom: 20px;
}

.weather-page__cities {
  margin-bottom: 28px;
}

.weather-page__cities--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.weather-page__cities--grid .weather-detail__city {
  margin: 0;
}

@media (min-width: 900px) {
  .weather-page__cities--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Full meteo detail */
.weather-meteo {
  display: grid;
  gap: 24px;
}

.weather-meteo__hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, var(--blue-bright) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: grid;
  gap: 18px;
}

.weather-meteo__hero-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.weather-meteo__hero-icon {
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
}

.weather-meteo__hero-temp {
  font-size: clamp(2.8rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.weather-meteo__hero-desc {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-top: 6px;
}

.weather-meteo__hero-range {
  font-size: 0.95rem;
  opacity: 0.82;
  margin-top: 4px;
}

.weather-meteo__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.82rem;
  opacity: 0.85;
}

.weather-meteo__quick {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.weather-meteo__quick-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.weather-meteo__quick-item span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.weather-meteo__quick-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.weather-meteo__section,
.weather-meteo__nearby {
  display: grid;
  gap: 16px;
}

.weather-meteo__section-head {
  display: grid;
  gap: 4px;
}

.weather-meteo__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
}

.weather-meteo__subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.weather-meteo__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.weather-meteo__stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.weather-meteo__stat span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.weather-meteo__stat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.35;
}

.weather-meteo__sun {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.weather-meteo__sun-card {
  background: linear-gradient(180deg, #fff9ef 0%, #fff 100%);
  border: 1px solid #f0e4c8;
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}

.weather-meteo__sun-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.weather-meteo__sun-card strong {
  font-size: 0.95rem;
  color: var(--navy);
}

.weather-meteo__hourly {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.weather-meteo__hour {
  flex: 0 0 92px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 10px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.weather-meteo__hour-time {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.weather-meteo__hour-icon {
  display: block;
  font-size: 1.5rem;
  margin: 8px 0 4px;
}

.weather-meteo__hour-temp {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.weather-meteo__hour-meta {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.weather-meteo__hour-bar {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(40, 116, 204, 0.12);
}

.weather-meteo__hour-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--precip, 0);
  background: linear-gradient(90deg, var(--blue-bright), #5ba3e8);
  transition: width 0.25s ease;
}

.weather-meteo__days {
  display: grid;
  gap: 10px;
}

.weather-meteo__day {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px 12px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.weather-meteo__day-main {
  display: grid;
  grid-template-columns: minmax(110px, 1.2fr) auto 1.4fr auto;
  gap: 12px;
  align-items: center;
}

.weather-meteo__day-name strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.weather-meteo__day-name span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: capitalize;
}

.weather-meteo__day-icon {
  font-size: 1.75rem;
  text-align: center;
}

.weather-meteo__day-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.weather-meteo__day-temps {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: baseline;
}

.weather-meteo__day-max {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.weather-meteo__day-min {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.weather-meteo__day-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.weather-meteo__day-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(40, 116, 204, 0.12);
}

.weather-meteo__day-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--fill, 0);
  background: linear-gradient(90deg, var(--blue-bright), #5ba3e8);
  transition: width 0.25s ease;
}

.weather-meteo__chart {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 180px;
  padding: 12px 8px 0;
  background: linear-gradient(180deg, #f4f8fd 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.weather-meteo__chart-col {
  display: grid;
  gap: 8px;
  align-items: end;
  text-align: center;
  min-width: 0;
}

.weather-meteo__chart-bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 120px;
  background: rgba(40, 116, 204, 0.08);
  border-radius: 6px 6px 0 0;
  position: relative;
}

.weather-meteo__chart-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--height, 0);
  background: linear-gradient(180deg, #5ba3e8, var(--blue-bright));
  border-radius: 6px 6px 0 0;
}

.weather-meteo__chart-bar span {
  position: relative;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 6px;
  line-height: 1.2;
}

.weather-meteo__chart-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: capitalize;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-meteo__source {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  padding-top: 4px;
}

.weather-meteo__nearby {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .weather-meteo__quick {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }

  .weather-meteo__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-meteo__sun {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-meteo__day-main {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name icon"
      "desc temps";
  }

  .weather-meteo__day-name { grid-area: name; }
  .weather-meteo__day-icon { grid-area: icon; }
  .weather-meteo__day-desc { grid-area: desc; }
  .weather-meteo__day-temps { grid-area: temps; justify-content: flex-start; }

  .weather-meteo__chart {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    row-gap: 16px;
  }
}

@media (max-width: 767px) {
  .weather-page__cities--grid {
    grid-template-columns: 1fr;
  }

  .weather-meteo__hero {
    padding: 22px 18px;
  }

  .weather-meteo__hero-main {
    gap: 14px;
  }

  .weather-meteo__chart {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.weather-page-search {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.weather-page-search__title {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.weather-sidebar-title {
  color: inherit;
  text-decoration: none;
}

.weather-sidebar-title:hover {
  color: var(--blue-bright);
}

.weather-sidebar-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.weather-sidebar-list__loading {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.weather-sidebar-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  font-size: 0.88rem;
}

.weather-sidebar-link:last-child {
  border-bottom: none;
}

.weather-sidebar-link:hover,
.weather-sidebar-link.is-active {
  color: var(--blue-bright);
}

.weather-sidebar-link__icon {
  font-size: 1.1rem;
}

.weather-sidebar-link__name {
  font-weight: 600;
  color: var(--navy);
}

.weather-sidebar-link__temp {
  font-weight: 700;
  color: var(--navy);
}

.weather-sidebar-more {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-bright);
  text-decoration: none;
}

.weather-sidebar-more:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .weather-page__shell {
    padding: 20px 16px 24px;
    border-radius: var(--radius);
  }

  .weather-page {
    padding-block: 16px 32px;
  }
}

