@charset "UTF-8";
/* ==========================================================================
   Hoarding Disorder Support — design system

   A calm, high-contrast blue. The audience includes people in distress,
   older visitors and people using screen readers, so this leans on
   generous spacing, large hit targets and real contrast rather than
   decoration. Atkinson Hyperlegible is used for headings because its
   letterforms are drawn to be distinguishable at low vision.
   ========================================================================== */

:root {
  /* Blues, dark to light */
  --navy-900: #0b1f38;
  --navy-800: #112c4d;
  --navy-700: #163a63;
  --blue-600: #1d4e89;
  --blue-500: #2563a8;
  --blue-400: #4a86c8;
  --blue-300: #8fb8dd;
  --blue-200: #c6dcf0;
  --blue-100: #e3edf8;
  --blue-050: #f2f7fc;

  /* Neutrals */
  --ink:       #15283f;
  --ink-soft:  #455a73;
  --ink-faint: #5c6f85;
  --line:      #d8e3f0;
  --line-soft: #e9f0f8;
  --paper:     #ffffff;
  --canvas:    #f4f8fd;

  /* Accents, used sparingly */
  --teal:      #0f7f78;
  --teal-soft: #e0f3f1;
  --amber:     #a15c00;
  --amber-soft:#fdf1dd;
  --rose:      #a52a3c;
  --rose-soft: #fbe9eb;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 56, .06), 0 1px 3px rgba(11, 31, 56, .05);
  --shadow:    0 2px 6px rgba(11, 31, 56, .06), 0 8px 24px rgba(11, 31, 56, .07);
  --shadow-lg: 0 8px 20px rgba(11, 31, 56, .10), 0 24px 56px rgba(11, 31, 56, .12);

  --font-head: "Atkinson Hyperlegible", "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 760px;
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.22;
  color: var(--navy-800);
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }

a { color: var(--blue-600); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--navy-800); }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

blockquote {
  margin: 0 0 1.2em;
  padding: .2em 0 .2em 1.1em;
  border-left: 4px solid var(--blue-200);
  color: var(--ink-soft);
}

table { border-collapse: collapse; width: 100%; }

code, kbd {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--blue-100);
  padding: .12em .4em;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem) 0; }
.section-tight { padding: clamp(1.8rem, 1.2rem + 2vw, 3rem) 0; }
.section-alt { background: var(--paper); }

.stack > * + * { margin-top: 1.1rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: .9rem 1.4rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy-800);
  text-decoration: none;
  line-height: 1.15;
  flex-shrink: 0;
}
.brand:hover { color: var(--blue-600); }
.brand img { height: 42px; width: auto; }

.brand-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }

.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .76rem;
  color: var(--ink-faint);
  letter-spacing: 0;
}

.site-nav { margin-left: auto; }

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: .55rem .7rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .94rem;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--blue-050); color: var(--blue-600); }
.site-nav a[aria-current="page"] {
  background: var(--blue-100);
  color: var(--navy-800);
  font-weight: 600;
}

/* A button in the nav keeps its own colours: `.site-nav a` would otherwise
   win on specificity and leave dark text on the dark blue fill. */
.site-nav a.btn,
.site-nav a.btn:hover,
.site-nav a.btn[aria-current="page"] {
  color: #fff;
  background: var(--blue-600);
  font-weight: 600;
}
.site-nav a.btn:hover { background: var(--navy-700); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--blue-050);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .55rem .8rem;
  font: inherit;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  align-items: center;
  gap: .5rem;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* On a narrow phone the brand has to give way, or it pushes the
   menu button off the edge of the screen. */
@media (max-width: 460px) {
  .brand { font-size: .98rem; gap: .55rem; min-width: 0; }
  .brand-text { overflow: hidden; }
  .brand-text small { display: none; }
  .brand img, .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 20px; height: 20px; }
  .header-inner { gap: .6rem; min-height: 64px; }
  .nav-toggle { padding: .5rem .65rem; flex-shrink: 0; }
  .site-nav { inset: 64px 0 auto; }
  .wrap, .wrap-narrow { width: calc(100% - 1.75rem); }
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 74px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .6rem 0 1rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
  .site-nav a { padding: .85rem .9rem; border-radius: var(--radius-sm); font-size: 1.02rem; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.4rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-600);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid var(--blue-600);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease;
  text-align: center;
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--blue-600);
  border-color: var(--blue-300);
}
.btn-ghost:hover { background: var(--blue-050); color: var(--navy-800); border-color: var(--blue-400); }

.btn-light { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-light:hover { background: var(--blue-100); color: var(--navy-900); border-color: var(--blue-100); }

.btn-sm { padding: .45rem .85rem; min-height: 38px; font-size: .9rem; }
.btn-lg { padding: .95rem 1.8rem; min-height: 56px; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-danger { background: var(--rose); border-color: var(--rose); }
.btn-danger:hover { background: #8a1f30; border-color: #8a1f30; }

.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(1100px 440px at 78% -12%, rgba(74, 134, 200, .40), transparent 62%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--blue-600) 58%, var(--blue-500) 100%);
  color: #fff;
  padding: clamp(2.8rem, 1.8rem + 4vw, 5rem) 0 clamp(2.4rem, 1.6rem + 3vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero::after {
  /* A soft arc, so the block is not a flat slab */
  content: "";
  position: absolute;
  right: -120px; bottom: -180px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .055);
  pointer-events: none;
}

.hero h1 { color: #fff; max-width: 17ch; }
.hero-lede {
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  color: var(--blue-100);
  max-width: 56ch;
  margin-bottom: 1.8rem;
}
.hero-inner { position: relative; z-index: 1; }

.hero-sm { padding: clamp(2rem, 1.4rem + 2.4vw, 3.2rem) 0; }
.hero-sm h1 { max-width: 24ch; }

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  padding: .4rem .9rem;
  border-radius: 100px;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero-stat .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, .25);
}

/* --------------------------------------------------------------------------
   Search
   -------------------------------------------------------------------------- */

.search-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.search-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: .75rem;
  align-items: end;
}
@media (max-width: 760px) {
  .search-row { grid-template-columns: 1fr; }
}

.search-big input[type="search"],
.search-big input[type="text"] { font-size: 1.05rem; min-height: 54px; }

.search-hint {
  margin: .9rem 0 0;
  font-size: .9rem;
  color: var(--ink-faint);
}
.search-hint a { color: var(--blue-600); }

/* Type-ahead */
.combo { position: relative; }
.combo-list {
  position: absolute;
  inset: calc(100% + 4px) 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0; padding: .3rem;
  max-height: 280px;
  overflow-y: auto;
  z-index: 40;
}
.combo-list:empty { display: none; }
.combo-list li { margin: 0; }
.combo-list button {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  padding: .6rem .7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
}
.combo-list button:hover,
.combo-list button[aria-selected="true"] { background: var(--blue-050); }
.combo-list .count { color: var(--ink-faint); font-size: .86rem; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field { margin-bottom: 1.2rem; }

.field > label,
.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--navy-800);
  font-size: .97rem;
}

.field-hint {
  display: block;
  font-size: .88rem;
  color: var(--ink-faint);
  margin: -.15rem 0 .45rem;
  font-weight: 400;
}

.optional {
  font-weight: 400;
  color: var(--ink-faint);
  font-size: .86rem;
}

input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="search"], input[type="password"], input[type="number"], input[type="date"],
select, textarea {
  width: 100%;
  padding: .7rem .85rem;
  min-height: 48px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}

textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 168, .16);
}

input::placeholder, textarea::placeholder { color: var(--ink-faint); opacity: 1; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23455a73'%3E%3Cpath d='M8 11.2 3.4 6.6l.9-.9L8 9.4l3.7-3.7.9.9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

/* Honeypot: present for bots, gone for everyone else */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Checkbox and radio groups */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .4rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .6rem .7rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-soft);
  background: var(--paper);
  cursor: pointer;
  font-size: .95rem;
  transition: border-color .12s ease, background .12s ease;
}
.check:hover { border-color: var(--blue-300); background: var(--blue-050); }
.check input { margin: .25rem 0 0; width: 18px; height: 18px; accent-color: var(--blue-600); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--blue-500); background: var(--blue-050); }
.check .count { color: var(--ink-faint); font-size: .85rem; margin-left: auto; padding-left: .4rem; }

.fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; }
.fieldset legend {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-800);
  padding: 0;
  margin-bottom: .6rem;
}

/* --------------------------------------------------------------------------
   Messages
   -------------------------------------------------------------------------- */

.notice {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1.5px solid;
  margin-bottom: 1.4rem;
  font-size: .98rem;
}
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice-ok    { background: var(--teal-soft);  border-color: #a7ddd7; color: #0a5b56; }
.notice-error { background: var(--rose-soft);  border-color: #f0bcc3; color: #7d1f2d; }
.notice-info  { background: var(--blue-100);   border-color: var(--blue-300); color: var(--navy-800); }
.notice-warn  { background: var(--amber-soft); border-color: #e9cc99; color: #7a4600; }

.notice strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   Cards and the listing grid
   -------------------------------------------------------------------------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.listing-list { display: grid; gap: 1rem; }

.listing {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-400);
  border-radius: var(--radius);
  padding: 1.35rem 1.45rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease, border-left-color .15s ease, transform .15s ease;
}
.listing:hover { box-shadow: var(--shadow); border-left-color: var(--blue-600); }

.listing.is-featured { border-left-color: var(--teal); background: linear-gradient(to right, var(--teal-soft) 0, var(--paper) 120px); }

.listing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.listing h3, .listing h2 { margin: 0 0 .4rem; font-size: 1.22rem; }
.listing h3 a, .listing h2 a { color: var(--navy-800); text-decoration: none; }
.listing h3 a:hover, .listing h2 a:hover { color: var(--blue-600); text-decoration: underline; }

.listing-summary { color: var(--ink-soft); margin: .2rem 0 .9rem; }

.listing-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .5rem 1.4rem;
  margin: 0 0 1rem;
  padding: .9rem 0 0;
  border-top: 1px solid var(--line-soft);
  font-size: .93rem;
}
.listing-facts div { display: flex; gap: .4rem; }
.listing-facts dt, .listing-facts .k {
  color: var(--ink-faint);
  font-weight: 500;
  flex-shrink: 0;
}
.listing-facts dd, .listing-facts .v { margin: 0; font-weight: 500; color: var(--ink); }

.listing-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .7rem; padding: 0; list-style: none; }
.tags li { margin: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--blue-100);
  color: var(--navy-700);
  padding: .25rem .65rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
a.tag:hover { background: var(--blue-200); color: var(--navy-800); border-color: var(--blue-300); }

.tag-free    { background: var(--teal-soft);  color: #0a5b56; }
.tag-nation  { background: var(--blue-050);   color: var(--ink-soft); border-color: var(--line); }
.tag-featured{ background: var(--teal);       color: #fff; }
.tag-warn    { background: var(--amber-soft); color: #7a4600; }
.tag-muted   { background: var(--line-soft);  color: var(--ink-soft); }

.verified {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  font-size: .84rem;
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}
.verified svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   Search results page
   -------------------------------------------------------------------------- */

.results-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; gap: 1.2rem; }
}

.filters {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
@media (max-width: 900px) {
  .filters { position: static; max-height: none; }
}

.filters h2 {
  font-size: 1.05rem;
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group { border-top: 1px solid var(--line-soft); padding: 1rem 0 .3rem; }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }

.filter-group > summary {
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .3rem 0;
  font-size: .98rem;
}
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary::after {
  content: "–";
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 1.2rem;
}
.filter-group:not([open]) > summary::after { content: "+"; }
.filter-group .check-grid { grid-template-columns: 1fr; margin-top: .5rem; }
.filter-group .check { border: 0; padding: .4rem .3rem; background: none; }
.filter-group .check:hover { background: var(--blue-050); }

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.results-count { font-weight: 600; color: var(--ink-soft); margin: 0; }
.results-count strong { color: var(--navy-800); font-size: 1.1em; }

.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.active-filters li { margin: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue-600);
  color: #fff;
  padding: .32rem .5rem .32rem .8rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}
.chip:hover { background: var(--navy-700); color: #fff; }
.chip span { font-size: 1.1em; line-height: 1; opacity: .8; }

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--paper);
  border: 1px dashed var(--blue-300);
  border-radius: var(--radius);
}
.empty-state h2 { margin-bottom: .5rem; }
.empty-state p { color: var(--ink-soft); max-width: 48ch; margin-inline: auto; }

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  align-items: center;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.pagination li { margin: 0; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 .75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.pagination a:hover { border-color: var(--blue-400); background: var(--blue-050); color: var(--blue-600); }
.pagination [aria-current="page"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.pagination .gap { border: 0; background: none; min-width: 24px; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   Listing detail
   -------------------------------------------------------------------------- */

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 2.2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.detail-aside { position: sticky; top: 92px; display: grid; gap: 1.2rem; }
@media (max-width: 900px) { .detail-aside { position: static; } }

.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.08rem; margin: 0; padding: 1rem 1.2rem; background: var(--blue-050); border-bottom: 1px solid var(--line); }
.contact-card-body { padding: 1.2rem; display: grid; gap: .8rem; }

.contact-line { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; }
.contact-line svg { width: 19px; height: 19px; color: var(--blue-500); flex-shrink: 0; margin-top: .22rem; }
.contact-line .k { display: block; font-size: .8rem; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.contact-line a { font-weight: 600; overflow-wrap: anywhere; }

.breadcrumbs { font-size: .9rem; color: var(--ink-faint); margin: 0 0 1rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li { margin: 0; display: flex; gap: .35rem; align-items: center; }
.breadcrumbs li + li::before { content: "›"; color: var(--blue-300); }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose > :first-child { margin-top: 0; }

.fact-table { margin: 1.5rem 0; font-size: .97rem; }
.fact-table th, .fact-table td { padding: .75rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.fact-table th { color: var(--ink-faint); font-weight: 600; width: 36%; }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Callouts, FAQs, stories
   -------------------------------------------------------------------------- */

.callout {
  background: var(--blue-050);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
}
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-urgent { background: var(--amber-soft); border-color: #e9cc99; }

.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 1.1rem 2.2rem 1.1rem 0;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--navy-800);
  font-size: 1.06rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .4rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-500);
  line-height: 1;
}
.faq[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--blue-600); }
.faq-body { padding: 0 2.2rem 1.2rem 0; color: var(--ink-soft); }
.faq-body > :last-child { margin-bottom: 0; }

.story {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.story-body { font-size: 1.02rem; color: var(--ink); margin-bottom: 1rem; }
.story-who { font-size: .92rem; color: var(--ink-faint); font-weight: 600; }
.stars { color: #c98a00; letter-spacing: .1em; font-size: .95rem; }

/* --------------------------------------------------------------------------
   Category and place tiles
   -------------------------------------------------------------------------- */

.tile {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  height: 100%;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--blue-300);
  color: var(--ink);
}
.tile h3 { font-size: 1.08rem; margin-bottom: .35rem; color: var(--navy-800); }
.tile p { font-size: .93rem; color: var(--ink-soft); margin-bottom: .7rem; }
.tile .count { font-size: .86rem; font-weight: 700; color: var(--blue-600); }
.tile-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid; place-items: center;
  margin-bottom: .8rem;
  font-size: 1.2rem;
}

.nation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.nation-tile {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nation-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.nation-tile .n { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--blue-600); }
.nation-tile .label { font-weight: 600; color: var(--navy-800); }
.nation-tile .sub { font-size: .86rem; color: var(--ink-faint); }

.pill-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.pill-list li { margin: 0; }
.pill {
  display: inline-block;
  padding: .45rem .85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  text-decoration: none;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}
.pill:hover { border-color: var(--blue-400); background: var(--blue-050); color: var(--blue-600); }
.pill .count { color: var(--ink-faint); font-size: .85em; }

/* --------------------------------------------------------------------------
   Articles
   -------------------------------------------------------------------------- */

.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card img { aspect-ratio: 3 / 1; object-fit: cover; width: 100%; }
.post-card-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.post-card h3 a { color: var(--navy-800); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue-600); text-decoration: underline; }
.post-card p { font-size: .94rem; color: var(--ink-soft); flex: 1; }
.post-meta { font-size: .85rem; color: var(--ink-faint); }

.post-cta {
  background: var(--blue-050);
  border: 1px solid var(--blue-200);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 2.5rem 0 0;
}
.post-cta h2 { margin-top: 0; font-size: 1.25rem; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 0; }

.post-banner { border-radius: var(--radius); margin-bottom: 1.8rem; width: 100%; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: var(--blue-200);
  padding: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem) 0 1.8rem;
  margin-top: 3rem;
}
.site-footer h2, .site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .8rem;
  letter-spacing: .02em;
}
.site-footer a { color: var(--blue-200); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { font-size: .93rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.footer-grid li { margin-bottom: .5rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .87rem;
  color: var(--blue-300);
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }

.footer-note {
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  font-size: .9rem;
  color: var(--blue-200);
}
.footer-note strong { color: #fff; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.text-center { text-align: center; }
.muted { color: var(--ink-faint); }
.small { font-size: .9rem; }
.lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 62ch; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.nowrap { white-space: nowrap; }

.section-head { margin-bottom: 1.8rem; max-width: 62ch; }
.section-head h2 { margin-bottom: .4rem; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media print {
  .site-header, .site-footer, .filters, .btn, .pagination { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .detail-layout { grid-template-columns: 1fr; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}
