/* fmradar.com — Facility Management News */

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

:root {
  /* BLU3 LABEL palette */
  --navy:         #010282;
  --indigo:       #050085;
  --blue:         #7B8794;
  --orange:       #ff8500;
  --orange-soft:  #e28d53;

  --accent: var(--navy);
  --accent-light: var(--blue);
  --accent-bg: #EDEFF2;
  --accent-cta: var(--orange);
  --gradient-blue: linear-gradient(135deg, var(--indigo) 0%, var(--blue) 100%);

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;

  /* 10 FM category colors — vibrant palette */
  --cat-schoonmaak:       #0891B2;
  --cat-gebouwbeheer:     #2563EB;
  --cat-werkplek:         #7C3AED;
  --cat-catering:         var(--orange);
  --cat-beveiliging:      #DC2626;
  --cat-duurzaamheid:     #059669;
  --cat-inkoop:           #9333EA;
  --cat-technologie:      var(--blue);
  --cat-regelgeving:      var(--orange-soft);
  --cat-markt:            var(--navy);

  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;

  --max-w: 1200px;
  --radius: 0 10px 10px 0;
  --radius-sm: 0 6px 6px 0;
  --radius-val: 10px;
  --radius-sm-val: 6px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -4px rgba(0,0,0,0.04);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent); }

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

/* ── Layout ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 3px solid rgb(0, 10, 60);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-radar {
  width: 28px;
  height: 28px;
  color: var(--blue);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.logo-text span { color: var(--blue); margin-left: 0.15em; }

.site-nav { display: flex; gap: 0.15rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 0 999px 999px 0;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--gray-600);
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover { background: var(--gray-100); color: var(--gray-900); }
.site-nav a.active { background: var(--navy); color: var(--white); }

.nav-ico {
  width: 14px;
  height: 14px;
  display: inline-flex;
  margin-right: 0.25rem;
  opacity: 0.45;
  transition: opacity 0.15s;
}
.site-nav a:hover .nav-ico { opacity: 0.7; }
.site-nav a.active .nav-ico { opacity: 0.85; color: inherit; }

/* Hamburger button — hidden on desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
  touch-action: manipulation;
}
.hamburger svg { width: 24px; height: 24px; color: var(--gray-700); }
.hamburger:hover svg { color: var(--gray-900); }

/* ── News ticker ────────────────────────────────────── */
.ticker-bar {
  background: rgb(0, 10, 60);
  color: var(--white);
  font-size: 0.8125rem;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 36px;
}

.ticker-label {
  background: var(--orange);
  color: var(--white);
  padding: 0 0.75rem;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 36px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-track {
  display: flex;
  animation: ticker-scroll 45s linear infinite;
  padding-left: 1rem;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  padding: 0 2rem;
  flex-shrink: 0;
}
.ticker-item a { color: rgba(255,255,255,0.9); }
.ticker-item a:hover { color: var(--white); }
.ticker-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}

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

/* ── Hero ───────────────────────────────────────────── */
.hero {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding: 0 1.25rem;
}

.hero-link {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-200) center / cover no-repeat;
  min-height: 340px;
  text-decoration: none;
  color: inherit;
}
.hero-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.88) 0%, rgba(40,40,40,0.2) 60%, transparent 100%);
  z-index: 0;
}
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-mask: linear-gradient(to top, black 0%, black 40%, transparent 100%);
  mask: linear-gradient(to top, black 0%, black 40%, transparent 100%);
  z-index: 0;
}
.hero-overlay > * { position: relative; z-index: 1; }

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  letter-spacing: -0.01em;
}

.hero-summary {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  max-width: 700px;
}

.hero-meta {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  gap: 0.5rem;
  align-items: center;
}
.hero-source { display: inline-flex; align-items: center; gap: 0.3rem; }
.hero-source .source-ico { opacity: 0.8; }

/* ── Stats strip ────────────────────────────────────── */
.stats-strip {
  max-width: var(--max-w);
  margin: 1.5rem auto 2rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stats-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xs);
  border-left: 3px solid var(--sc, var(--orange));
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.stats-icon { display: flex; color: var(--blue); flex-shrink: 0; }
.stats-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stats-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}
.stats-text { display: flex; flex-direction: column; }

/* ── Section headers ────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  padding-left: 0.75rem;
  border-left: 3px solid var(--orange);
}
.section-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}
.section-link:hover { color: var(--navy); }

/* ── Content area ───────────────────────────────────── */
.content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* ── Article cards ──────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}
.card > a {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.card > a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card > a:hover .card-title { color: var(--blue); }

/* ── Geo tag (clothing label) ───────────────────────── */
.geo-tag {
  position: absolute;
  top: 1rem;
  right: -0.95rem;
  z-index: 3;
  background: var(--orange);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  padding: 0.35rem 0.2rem;
  border-radius: 4px 0 0 4px;
  line-height: 1;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}
.card-image::after { display: none; }
.card-image .cat-badge {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  z-index: 1;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.card > a:hover .card-image img { transform: scale(1.03); }

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}

.card-summary {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.card-meta {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-500);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-source { display: inline-flex; align-items: center; gap: 0.3rem; }

.source-ico {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ── Compact card (low-res images) ──────────────────── */
.card-compact > a {
  flex-direction: column;
}
.card-compact .card-body {
  display: block;
}
.card-compact .cat-badge {
  display: block;
  width: calc(100% - 104px - 0.75rem);
  margin-bottom: 0.5rem;
}
.card-compact .card-summary {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.card-thumb {
  float: right;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 0.5rem 0.75rem;
}

/* ── Category badge ─────────────────────────────────── */
.cat-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem 0.2rem 0.75rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  background: rgba(80, 80, 80, 0.4) !important;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: #fff !important;
  border-left: 3px solid var(--cat-accent, var(--navy));
}

/* ── Article detail page ────────────────────────────── */
.article-hero {
  position: relative;
  max-height: 400px;
  overflow: hidden;
}
.article-hero img { width: 100%; display: block; }
.article-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gray-50));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-mask: linear-gradient(to bottom, transparent 0%, black 100%);
  mask: linear-gradient(to bottom, transparent 0%, black 100%);
  pointer-events: none;
}

.article-content {
  max-width: 760px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.article-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
}
.back-link:hover { color: var(--navy); }
.article-nav .cat-badge { margin-bottom: 0; }

.article-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}
.article-body p { margin-bottom: 1rem; }

.takeaways-block {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow-sm);
}

.takeaways-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.article-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.article-bullets li {
  padding: 0.85rem 1rem 0.85rem 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  font-weight: 500;
  position: relative;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.article-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ── Article footer (meta + share + read original) ─── */
.article-footer {
  padding: 0.5rem 0;
  margin: 1.5rem 0;
}
.article-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.meta-source {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.share-buttons {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.read-original {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 0 999px 999px 0;
  transition: all 0.15s;
  white-space: nowrap;
}
.read-original:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0;
  font-family: var(--font-sans);
  text-decoration: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  transition: filter 0.15s, transform 0.15s;
}
.share-btn:hover { filter: brightness(0.88); color: var(--white); transform: translateY(-1px); }
.share-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-li { background: #0A66C2; }
.share-x { background: #1a1a1a; }
.share-wa { background: #25D366; }
.share-native { background: var(--navy); }

/* ── More news ──────────────────────────────────────── */
.more-news {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.more-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.more-news-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 0.75rem;
  border-left: 3px solid var(--orange);
}
.more-news-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}
.more-news-link:hover { color: var(--navy); }

.more-news .article-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ── Category header ────────────────────────────────── */
.cat-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
}
.cat-header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cat-header-icon {
  width: 32px;
  height: 32px;
  color: var(--cat-color, var(--accent));
}
.cat-header-icon svg { width: 32px; height: 32px; }
.cat-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}
.cat-header p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 600px;
}

/* Show more/less toggle for category pages */
.hidden-card { display: none; }
.article-grid.show-all .hidden-card { display: block; }

.show-toggle {
  display: block;
  margin: 0 auto 2rem;
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.show-toggle:hover { background: var(--orange); transform: translateY(-1px); }

/* ── Categories overview ────────────────────────────── */
.cat-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

a.cat-tile {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
a.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.cat-tile-color {
  height: 6px;
  flex-shrink: 0;
}

.cat-tile-body {
  padding: 1.5rem;
}
.cat-tile-body h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}
a.cat-tile:hover .cat-tile-body h2 { color: var(--blue); }
.cat-tile-body p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.cat-tile-count {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── About page ─────────────────────────────────────── */
.about-content {
  max-width: 760px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
}
.about-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}
.about-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-800);
  margin: 2rem 0 0.75rem;
}
.about-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}
.about-mission {
  margin-top: 2rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── Archive / Search ───────────────────────────────── */
.archive-content {
  max-width: var(--max-w);
  margin: 2rem auto 3rem;
  padding: 0 1.25rem;
}
.archive-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.archive-search {
  margin-bottom: 1rem;
}
.archive-search input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 2px solid var(--gray-200);
  border-radius: 0 999px 999px 0;
  background: var(--white);
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}
.archive-search input::placeholder { color: var(--gray-400); }
.archive-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 2, 130, 0.1);
}

.archive-filters { margin-bottom: 1.25rem; }
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.filter-btn {
  padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 0 999px 999px 0;
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
  color: var(--gray-800);
}
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.archive-count {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 1rem;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray-500);
  padding: 3rem 0;
}

/* ── 404 page ───────────────────────────────────────── */
.error-content {
  max-width: 600px;
  margin: 6rem auto;
  padding: 0 1.25rem;
  text-align: center;
}
.error-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.error-content p {
  font-size: 1.125rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}
.error-back {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 999px 999px 0;
  transition: all 0.15s;
}
.error-back:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

/* ── Archive button ─────────────────────────────────── */
.archive-btn {
  display: block;
  text-align: center;
  padding: 0.85rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  border: 2px solid var(--blue);
  border-radius: 0 999px 999px 0;
  margin: 1rem auto 0;
  max-width: 320px;
  transition: all 0.15s;
}
.archive-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo .logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
}
.footer-logo .logo-text span { color: var(--blue); }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.domain-switch {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.domain-switch a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  padding: 0.35rem 0.75rem;
  border-radius: 0 999px 999px 0;
  border: 1px solid var(--gray-200);
  transition: all 0.15s;
}
.domain-switch a:hover { background: var(--white); color: var(--gray-900); border-color: var(--gray-300); }
.domain-switch a.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.footer-legal {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .cat-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .geo-tag { right: 0; border-radius: 0; box-shadow: none; }
}

@media (max-width: 768px) {
  .header-inner { height: 56px; gap: 0.5rem; }
  .logo-text { font-size: 1.15rem; }

  /* Hamburger menu */
  .hamburger { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column;
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    z-index: 99;
    gap: 0.25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.6rem 1rem; font-size: 0.875rem; border-radius: var(--radius-sm); display: flex; align-items: center; }

  .hero-link { min-height: 300px; }
  .hero-title { font-size: 1.5rem; }
  .hero-overlay { padding: 1.5rem; }
}

@media (max-width: 560px) {
  .article-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .cat-tiles-grid { grid-template-columns: 1fr; }

  .hero-link { min-height: 380px; }
  .hero-title { font-size: 1.3rem; }
  .hero-summary { font-size: 0.875rem; }

  .more-news .article-grid { grid-template-columns: 1fr; }
  .article-footer-row { flex-direction: column; align-items: flex-start; }

  .article-title { font-size: 1.5rem; }
  .article-content { margin: 1.5rem auto; }

  .cat-header h1 { font-size: 1.5rem; }

  .archive-content h1 { font-size: 1.5rem; }
  .filter-btn { font-size: 0.75rem; padding: 0.3rem 0.7rem; }
}
