:root {
  color-scheme: light;
  --canvas: #f5f3ed;
  --surface: #ffffff;
  --surface-soft: #e8f0ec;
  --surface-warm: #faf8f3;
  --ink: #183330;
  --ink-strong: #102724;
  --muted: #5d6e69;
  --muted-strong: #465854;
  --brand: #0f5d57;
  --brand-dark: #0a4641;
  --brand-soft: #dceae5;
  --accent: #955636;
  --accent-soft: #f1e5dd;
  --line: #d6ddd8;
  --line-strong: #bdc9c2;
  --success: #246745;
  --warning: #8a5b12;
  --danger: #a13d3d;
  --focus: #b66b31;
  --shadow-sm: 0 1px 2px rgb(16 39 36 / 6%);
  --shadow-md: 0 16px 42px rgb(16 39 36 / 10%);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --content: 1180px;
  --reading: 720px;
  --header-height: 72px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

iframe {
  max-width: 100%;
  border: 0;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-dark);
  text-decoration-thickness: 2px;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--brand-soft);
  color: var(--ink-strong);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink-strong);
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 18ch;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5.5vw, 4rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  line-height: 1.16;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

p {
  margin-bottom: 1em;
}

address {
  font-style: normal;
}

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

small {
  font-size: 0.875rem;
}

:where(p, li, dd, address, a, button, label, th, td) {
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(100% - 48px, var(--content));
  margin-inline: auto;
}

.reading-width {
  max-width: var(--reading);
}

.section {
  padding-block: clamp(48px, 7vw, 80px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading > :first-child {
  min-width: 0;
}

.section-heading p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
}

.eyebrow,
.overline {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lead {
  max-width: 62ch;
  margin-bottom: 28px;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--ink-strong);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 24px;
  padding-inline: max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgb(189 201 194 / 78%);
  background: rgb(250 248 243 / 96%);
  box-shadow: 0 1px 0 rgb(16 39 36 / 2%);
  backdrop-filter: blur(14px);
}

.site-header > .shell {
  display: flex;
  width: min(100%, var(--content));
  min-width: 0;
  min-height: var(--header-height);
  align-items: center;
  gap: 24px;
  padding-inline: 0;
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink-strong);
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.brand-footer .brand-logo {
  padding: 2px;
  border-radius: 50%;
  background: var(--canvas);
}

.brand small {
  color: var(--accent);
  font-size: inherit;
}

.brand-dot {
  color: var(--accent);
}

#site-nav,
.site-header nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

#site-nav ul,
.site-header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#site-nav a,
.site-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.925rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

#site-nav a:hover,
#site-nav a[aria-current="page"],
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

[data-menu-toggle] {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.menu-toggle > span[aria-hidden="true"] {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* Controls and forms */

button,
.button,
.btn,
.header-cta,
#load-more {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

button:hover:not(:disabled),
.button:hover,
.btn:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  text-decoration: none;
}

.button-primary,
.btn-primary,
.header-cta,
form button[type="submit"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button-primary:hover,
.btn-primary:hover,
.header-cta:hover,
form button[type="submit"]:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.button-secondary,
.btn-secondary {
  border-color: var(--brand);
  background: transparent;
  color: var(--brand);
}

.button-quiet,
.btn-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--brand);
}

.button-danger,
.btn-danger {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}

.button:not(.button-secondary, .button-quiet, .button-danger),
.btn:not(.btn-secondary, .btn-quiet, .btn-danger) {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button:not(.button-secondary, .button-quiet, .button-danger):hover,
.btn:not(.btn-secondary, .btn-quiet, .btn-danger):hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.button.button-secondary,
.btn.btn-secondary {
  border-color: var(--brand);
  background: transparent;
  color: var(--brand);
}

.button-small {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.875rem;
}

.button-full {
  width: 100%;
}

.button-row,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

form {
  min-width: 0;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.925rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: 0;
  background: var(--surface);
  color: var(--ink-strong);
}

textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}

input::placeholder,
textarea::placeholder {
  color: #74827e;
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #94a8a0;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(15 93 87 / 16%);
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.1rem;
  min-height: auto;
  accent-color: var(--brand);
}

.field {
  min-width: 0;
}

.field-help,
.form-help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.field-error,
.form-error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 650;
}

.field-row,
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.search-form,
#directory-form,
#near-form {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
}

.search-form > *,
#directory-form > *,
#near-form > * {
  min-width: 0;
}

.search-form > button,
#directory-form > button,
#near-form > button {
  min-width: 112px;
}

/* Breadcrumbs and page headers */

.breadcrumbs {
  padding-block: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs ol,
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li > span[aria-hidden="true"] {
  color: #8d9995;
}

.breadcrumbs a {
  color: var(--muted-strong);
}

.hero,
.listing-hero,
.near-hero {
  position: relative;
  padding-block: clamp(52px, 8vw, 88px);
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(112deg, rgb(220 234 229 / 90%), rgb(250 248 243 / 88%)),
    var(--surface-warm);
  color: var(--ink);
}

.hero::after,
.listing-hero::after,
.near-hero::after {
  position: absolute;
  right: max(-80px, calc((100vw - var(--content)) / 2 - 120px));
  bottom: -170px;
  width: 410px;
  height: 410px;
  border: 1px solid rgb(15 93 87 / 12%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero > *,
.listing-hero > *,
.near-hero > * {
  position: relative;
  z-index: 1;
}

.hero-home {
  background:
    linear-gradient(
      90deg,
      rgb(245 243 237 / 98%) 0%,
      rgb(245 243 237 / 96%) 35%,
      rgb(245 243 237 / 78%) 62%,
      rgb(245 243 237 / 26%) 100%
    ),
    url("/assets/images/home-hero.webp") right center / cover no-repeat;
}

.hero-home::after {
  display: none;
}

.hero-home .hero-aside {
  border: 1px solid rgb(189 201 194 / 82%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 78%);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-lead {
  max-width: 62ch;
  margin-bottom: 28px;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero h1 em {
  color: var(--brand);
  font-style: normal;
}

.hero .lead,
.listing-hero .lead,
.near-hero .lead {
  color: var(--muted-strong);
}

.search-panel {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 94%);
  box-shadow: var(--shadow-md);
}

.search-panel h2 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.search-panel p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.925rem;
}

.search-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.hero-aside {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border-left: 1px solid var(--line-strong);
  color: var(--muted-strong);
}

.hero-aside .hero-number {
  margin-bottom: 0;
  color: var(--brand-dark);
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-aside ul {
  display: grid;
  gap: 8px;
  padding: 18px 0 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-aside li {
  position: relative;
  padding-left: 20px;
}

.hero-aside li::before {
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.page-intro {
  padding-block: clamp(38px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--surface-warm);
}

.page-intro-compact {
  padding-block: clamp(32px, 5vw, 52px);
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
}

.page-intro h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-summary {
  max-width: 58ch;
  margin-bottom: 4px;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.quick-links,
.facts,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.quick-links a,
.pill,
.chip,
.tag,
.facts span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 76%);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}

.quick-links a:hover,
.pill:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

/* Indexes and listings */

.index-grid,
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.index-card,
.region-card {
  display: flex;
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.index-card:hover,
.region-card:hover {
  border-color: var(--brand);
  background: #fbfdfc;
  color: var(--ink);
  text-decoration: none;
}

.index-card strong,
.region-card strong {
  font-size: 1.08rem;
}

.index-card h3 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.index-card p {
  margin: 0;
  color: var(--muted);
}

.index-number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.index-card-emphasis {
  border-color: #a8c5ba;
  background: var(--brand-soft);
}

.card-link,
.text-link {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 750;
}

.split-heading > p {
  max-width: 42ch;
}

.index-card span,
.region-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.directory-layout,
.directory {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(40px, 6vw, 72px);
}

.filters,
.directory > aside {
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-warm);
}

.filters {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.filters h2,
.directory > aside h2 {
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0;
}

.filters .field + .field {
  margin-top: 16px;
}

.filters #directory-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

.filter-links {
  display: grid;
  gap: 2px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.filter-links h2 {
  margin-bottom: 8px;
}

.filter-links a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  color: var(--muted-strong);
  text-decoration: none;
}

.filter-links a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.compact-stats {
  display: grid;
  gap: 0;
  padding-top: 20px;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
}

.compact-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-block: 5px;
}

.compact-stats dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.compact-stats dd {
  margin: 0;
  font-weight: 750;
}

.directory-content,
.results-column,
.results-panel {
  min-width: 0;
}

.results-toolbar,
.results-heading {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.results-heading h2 {
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.results-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

#result-total {
  margin: 0;
  color: inherit;
  font: inherit;
}

.clinic-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.clinic-row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.clinic-row:hover,
.clinic-row.is-highlighted {
  background: rgb(220 234 229 / 32%);
}

.clinic-row__body,
.clinic-row__main,
.clinic-row__actions,
.clinic-row-main,
.clinic-row-actions {
  min-width: 0;
}

.clinic-row__kicker,
.clinic-row .overline {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clinic-row h2,
.clinic-row h3,
.clinic-row__title,
.clinic-name {
  margin-bottom: 7px;
  font-family: var(--font-sans);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.clinic-row h2 a,
.clinic-row h3 a,
.clinic-row__title a,
.clinic-name a {
  color: var(--ink-strong);
  text-decoration: none;
}

.clinic-row h2 a:hover,
.clinic-row h3 a:hover,
.clinic-row__title a:hover,
.clinic-name a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.clinic-row address,
.clinic-row__address,
.clinic-address {
  margin: 0;
  color: var(--muted-strong);
}

.clinic-row__meta,
.clinic-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.875rem;
}

.clinic-row__meta > *,
.clinic-meta > * {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.clinic-row__distance {
  color: var(--brand-dark);
  font-weight: 750;
}

.clinic-row__actions,
.clinic-row-actions {
  display: flex;
  min-width: 128px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.clinic-row-actions .row-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand);
  font-size: 1.15rem;
  text-decoration: none;
}

.clinic-row-actions .row-arrow:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.clinic-row__map {
  min-height: 36px;
  padding: 6px 10px;
  border-color: transparent;
  background: transparent;
  color: var(--brand);
  font-size: 0.85rem;
}

.clinic-row__map:hover {
  background: var(--brand-soft);
}

.pagination-actions {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.empty-state {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
}

.empty-state h2 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: 0;
}

.empty-state p {
  margin-bottom: 0;
  color: var(--muted);
}

#load-more {
  min-width: 190px;
}

#results-status,
#near-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

/* Compatible presentation for server-rendered legacy cards. */

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 14px;
}

.directory .clinic-grid {
  grid-template-columns: 1fr;
}

.clinic-card {
  display: grid;
  min-width: 0;
  min-height: 150px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.clinic-card:hover {
  border-color: var(--brand);
  color: var(--ink);
  text-decoration: none;
}

.clinic-card h3 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
}

.clinic-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.clinic-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

/* Profile */

.profile-header,
.profile-hero {
  padding-block: clamp(38px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
  background: var(--surface-warm);
}

.profile-header h1,
.profile-hero h1 {
  max-width: 24ch;
  margin-bottom: 12px;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.profile-header .lead,
.profile-hero .lead {
  margin-bottom: 0;
  color: var(--muted-strong);
}

.profile-location {
  margin-bottom: 4px;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.legal-name {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.profile-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.profile-rating-link span,
.rating-stars {
  color: #a76017;
}

.profile-title-row,
.profile-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.profile-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.mobile-contact-jump {
  display: none;
}

#kontaktoplysninger,
#near-results-heading {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.profile-facts a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
}

.profile-facts a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.profile-layout {
  display: grid;
  width: min(100% - 48px, var(--content));
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  padding-block: clamp(44px, 7vw, 80px);
  margin-inline: auto;
}

.profile-main,
.profile-layout > article {
  min-width: 0;
}

.profile-main > section,
.profile-layout > article > section,
.content-section {
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.profile-main > section:first-child,
.profile-layout > article > section:first-child,
.content-section:first-child {
  padding-top: 0;
}

.profile-main > section:last-child,
.profile-layout > article > section:last-child,
.content-section:last-child {
  border-bottom: 0;
}

.profile-main h2,
.profile-layout article h2 {
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.profile-main h2:first-child,
.profile-layout article h2:first-child {
  margin-top: 0;
}

.profile-main > p,
.profile-layout article > p {
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.editorial-lead {
  max-width: 68ch;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.address-details,
.hours-list,
.contact-list,
.price-list {
  margin: 24px 0 0;
}

.address-details > div,
.hours-list > div,
.contact-list > div,
.price-list > div {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}

.address-details > div:last-child,
.hours-list > div:last-child,
.contact-list > div:last-child,
.price-list > div:last-child {
  border-bottom: 0;
}

.address-details dt,
.hours-list dt,
.contact-list dt,
.price-list dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 650;
}

.address-details dd,
.hours-list dd,
.contact-list dd,
.price-list dd {
  min-width: 0;
  margin: 0;
}

.address-details > .advertising-protection {
  align-items: center;
  padding: 12px 14px;
  margin-block: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
}

.address-details > .advertising-protection--yes {
  border-color: #d48a2d;
  background: #fff1d8;
}

.address-details > .advertising-protection--no {
  border-color: #8ebba7;
  background: #eaf6f0;
}

.address-details > .treatment-at-address-fact {
  align-items: center;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  margin-block: 6px;
}

.address-details > .treatment-at-address-fact--yes {
  border-color: #85b79f;
  background: #eaf6f0;
}

.address-details > .treatment-at-address-fact--no {
  border-color: #d48a2d;
  background: #fff1d8;
}

.address-details > .treatment-at-address-fact--unknown {
  border-color: #c9b878;
  background: #fff9df;
}

.address-details > .advertising-protection:last-child,
.address-details > .treatment-at-address-fact:last-child {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.treatment-at-address-fact dd {
  font-weight: 820;
}

.advertising-protection dd > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 820;
}

.advertising-protection--yes dd > span {
  background: #a95700;
  color: #fff;
}

.advertising-protection--no dd > span {
  background: #21684d;
  color: #fff;
}

.price-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.price-list > div {
  grid-template-columns: minmax(180px, 1fr) minmax(100px, auto);
}

.price-list dd {
  font-weight: 750;
  text-align: right;
}

.review-overview {
  margin-bottom: 4px;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.rating-stars {
  margin-bottom: 20px;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.review-list {
  display: grid;
  gap: 14px;
  margin-block: 20px;
}

.review-card header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.review-card header span {
  color: var(--muted);
  font-size: 0.85rem;
}

.review-card h3 {
  margin-top: 16px;
}

.review-card p:last-child {
  margin-bottom: 0;
}

.owner-claim-cta {
  border-left-color: var(--brand);
  background: var(--brand-soft);
}

.treatment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.treatment-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-warm);
  color: var(--muted-strong);
  font-size: 0.875rem;
}

.plain-link-list {
  display: grid;
  gap: 7px;
  padding-left: 1.2em;
}

.correction-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px;
  margin-top: 32px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.correction-cta h2 {
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.correction-cta p {
  margin-bottom: 0;
  color: var(--muted-strong);
}

.profile-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: grid;
  gap: 16px;
}

.info-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.info-panel > .button {
  margin-top: 18px;
}

.info-panel h2,
.info-panel h3 {
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.info-panel dl,
.profile-main dl,
.profile-layout dl {
  display: grid;
  grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}

.profile-main .address-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.profile-main .price-list {
  grid-template-columns: 1fr;
}

.info-panel .contact-list,
.info-panel .hours-list {
  display: block;
}

.info-panel dt,
.profile-main dt,
.profile-layout dt {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 650;
}

.info-panel dd,
.profile-main dd,
.profile-layout dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
}

.contact-list,
.opening-hours,
.treatment-list,
.related-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list a {
  overflow-wrap: anywhere;
}

.contact-list a[href^="tel:"] {
  white-space: nowrap;
}

.contact-values {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list .contact-values > li {
  display: block;
  padding: 0;
  border: 0;
}

.treatment-location-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  margin-top: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 720;
}

.treatment-location-status strong {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
}

.treatment-location-status--yes {
  border-color: #85b79f;
  background: #eaf6f0;
  color: #174c39;
}

.treatment-location-status--yes strong {
  background: #21684d;
}

.treatment-location-status--no {
  border-color: #d48a2d;
  background: #fff1d8;
  color: #713600;
}

.treatment-location-status--no strong {
  background: #a95700;
}

.treatment-location-status--unknown {
  border-color: #c9b878;
  background: #fff9df;
  color: #5e4f13;
}

.treatment-location-status--unknown strong {
  background: #75631b;
}

.treatment-location-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.contact-list li,
.opening-hours li {
  display: grid;
  grid-template-columns: minmax(84px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child,
.opening-hours li:last-child {
  border-bottom: 0;
}

.map-shell {
  position: relative;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.map-shell iframe,
.map-shell .leaflet-container {
  width: 100%;
  min-height: 260px;
}

.map-shell-profile .profile-map {
  height: 300px;
}

.map-credit {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.map-activate {
  display: none;
}

.section-related {
  border-top: 1px solid var(--line);
  background: var(--surface-warm);
}

.correction-panel {
  padding: 22px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

/* FAQ */

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  color: var(--ink-strong);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 16px;
  right: 4px;
  color: var(--brand);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > div,
.faq details > p {
  max-width: 68ch;
  padding: 0 0 18px;
  margin: 0;
  color: var(--muted-strong);
}

/* Near-me search and map */

#near-app {
  min-width: 0;
}

.near-app {
  padding-block: clamp(34px, 5vw, 64px);
}

.near-controls {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) auto minmax(280px, 1.25fr);
  gap: 18px;
  align-items: end;
  padding: 22px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.location-control,
.manual-location {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr;
  gap: 10px;
}

.control-divider {
  display: grid;
  height: 100%;
  min-height: 86px;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.control-divider span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-warm);
}

.privacy-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.825rem;
}

#near-location {
  width: fit-content;
}

.location-control #near-location {
  width: 100%;
}

.near-controls #near-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

.near-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

#near-results {
  display: grid;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.map-panel {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  min-width: 0;
}

.map-panel .map-shell {
  min-height: min(650px, calc(100vh - var(--header-height) - 44px));
}

#near-map {
  width: 100%;
  height: min(650px, calc(100vh - var(--header-height) - 44px));
  min-height: 430px;
  background: #dfe9e4;
}

#map-activate {
  display: none;
}

.near-map-fallback {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 24px;
  color: var(--muted-strong);
  text-align: center;
}

.map-popup {
  min-width: min(250px, 70vw);
}

.map-popup h3 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.map-popup ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.map-popup a {
  font-weight: 700;
}

.leaflet-popup-content {
  margin: 16px 18px;
  font-family: var(--font-sans);
}

.leaflet-control-attribution {
  font-size: 0.7rem;
}

/* Loading, empty, and error states */

.state-panel,
.empty,
.alert {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.error-page {
  min-height: 60vh;
  padding-block: clamp(70px, 12vw, 150px);
}

.error-page > p:not(.overline) {
  max-width: 52ch;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.state-panel {
  color: var(--muted-strong);
  text-align: center;
}

.state-panel h2,
.state-panel h3 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: 0;
}

.state-panel p,
.alert p {
  margin-bottom: 0;
}

.alert {
  margin-block: 16px;
}

.alert-success {
  border-color: #9ac3a9;
  background: #edf6f0;
  color: #1d593b;
}

.alert-warning {
  border-color: #d8bb83;
  background: #fff7e7;
  color: #72490b;
}

.alert-error {
  border-color: #d7a0a0;
  background: #fff1f1;
  color: #812f2f;
}

.alert-success,
.alert-warning,
.alert-error {
  padding: 14px 16px;
  margin-block: 16px;
  border-width: 1px;
  border-style: solid;
  border-radius: var(--radius-sm);
}

.skeleton {
  position: relative;
  min-height: 120px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.skeleton::before {
  position: absolute;
  inset: 22px 0;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(
      100deg,
      transparent 20%,
      rgb(255 255 255 / 72%) 40%,
      transparent 60%
    ),
    linear-gradient(
      var(--line) 0 0
    ) 0 0 / 42% 16px no-repeat,
    linear-gradient(
      #e7ebe8 0 0
    ) 0 31px / 74% 13px no-repeat,
    linear-gradient(
      #e7ebe8 0 0
    ) 0 57px / 55% 13px no-repeat;
  background-position:
    -220px 0,
    0 0,
    0 31px,
    0 57px;
  background-repeat: no-repeat;
  content: "";
  animation: skeleton-shimmer 1.35s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  to {
    background-position:
      calc(100% + 220px) 0,
      0 0,
      0 31px,
      0 57px;
  }
}

[aria-busy="true"] {
  cursor: progress;
}

/* Footer */

.footer,
footer {
  padding-block: 52px;
  border-top: 1px solid #294743;
  background: var(--ink-strong);
  color: #dbe5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(140px, 0.7fr));
  gap: 42px;
}

.footer-grid-has-other-sites {
  grid-template-columns: minmax(0, 1.45fr) repeat(4, minmax(130px, 0.65fr));
  gap: 32px;
}

.footer-intro {
  min-width: 0;
}

.footer .brand,
footer .brand {
  color: #fff;
}

.footer h2,
.footer h3,
footer h2,
footer h3,
.footer strong,
footer strong {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  letter-spacing: 0;
}

.footer a,
footer a {
  color: #e4efeb;
}

.footer nav a,
footer nav a {
  display: block;
  width: fit-content;
  padding-block: 5px;
}

.footer-grid > div:not(.footer-intro) > a {
  display: block;
  width: fit-content;
  padding-block: 5px;
}

.footer p,
footer p {
  max-width: 44ch;
  color: #bdcbc6;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 36px;
  border-top: 1px solid #294743;
  color: #9eb1ab;
  font-size: 0.78rem;
}

/* Legal information */

.legal-content {
  width: min(100% - 48px, 820px);
  padding-block: clamp(36px, 7vw, 72px);
}

.legal-content section {
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.legal-content p {
  color: var(--muted-strong);
}

.legal-content code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--ink);
}

.legal-updated {
  margin-bottom: 8px;
  font-size: 0.85rem;
}

/* Admin */

.admin-body {
  background: #f1f2ed;
}

.admin-shell {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
  padding-block: 32px 64px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-header > div {
  display: grid;
  margin-left: auto;
  color: var(--muted-strong);
  font-size: 0.875rem;
  text-align: right;
}

.admin-header > div small {
  color: var(--muted);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 20px 0 28px;
  list-style: none;
}

.admin-nav ul {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.admin-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.admin-nav a[aria-current="page"],
.admin-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

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

.admin-grid + .admin-grid,
.cache-danger-zone {
  margin-top: 18px;
}

.cache-summary-grid {
  margin-bottom: 18px;
}

.cache-summary-grid progress {
  width: 100%;
  height: 14px;
  margin-bottom: 10px;
  accent-color: var(--brand);
}

.cache-summary-grid .admin-card > form {
  margin-top: 16px;
}

.cache-danger-zone {
  border-color: #c99178;
  background: #fff9f5;
}

.cache-danger-zone form {
  max-width: 620px;
}

.admin-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-grid + .admin-card,
.admin-card + .admin-grid,
.admin-card + .admin-card {
  margin-top: 18px;
}

.admin-grid > .admin-card + .admin-card {
  margin-top: 0;
}

.correction-card + .correction-card {
  margin-top: 18px;
}

.admin-card h2,
.admin-card h3 {
  font-family: var(--font-sans);
  letter-spacing: -0.015em;
}

.admin-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.admin-page-header h1 {
  max-width: 24ch;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.admin-page-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-page-header > div:last-child,
.admin-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-card-heading {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-card-heading h2 {
  margin-bottom: 4px;
}

.admin-card-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-grid > .admin-card > strong {
  display: block;
  margin-top: 8px;
  color: var(--ink-strong);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.admin-activity-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.admin-activity-list li {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
}

.admin-activity-list li:last-child {
  border-bottom: 0;
}

.admin-activity-list strong,
.admin-activity-list span,
.admin-activity-list time {
  display: block;
}

.admin-activity-list span,
.admin-activity-list time {
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-detail-list {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
}

.admin-detail-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  padding-block: 7px;
  border-bottom: 1px solid var(--line);
}

.admin-detail-list dt {
  color: var(--muted);
  font-size: 0.825rem;
  font-weight: 650;
}

.admin-detail-list dd {
  min-width: 0;
  margin: 0;
}

.admin-moderation-form {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.admin-moderation-form .admin-actions {
  grid-column: 1 / -1;
}

.admin-danger-zone {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted-strong);
}

.admin-danger-zone > summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 700;
}

.admin-danger-zone .admin-moderation-form {
  margin-top: 12px;
}

.admin-card > form.field-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  margin-bottom: 20px;
}

.admin-repeater .field-row {
  grid-template-columns: minmax(92px, 0.35fr) minmax(0, 1fr);
  align-items: center;
}

.admin-repeater .field-row > label {
  margin: 0;
}

.admin-repeater .field-row > .field-error {
  grid-column: 2;
}

.admin-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  background: rgb(245 243 237 / 94%);
  backdrop-filter: blur(10px);
}

.admin-login {
  width: min(100% - 32px, 440px);
  padding: 28px;
  margin: clamp(52px, 10vh, 120px) auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.admin-login h1 {
  max-width: 100%;
  font-size: clamp(2.2rem, 8vw, 3.35rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.admin-field + .admin-field {
  margin-top: 16px;
}

.contact-selection-editor {
  display: grid;
  gap: 18px;
}

.contact-selection-group {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0;
  background: var(--surface-warm);
}

.contact-selection-group > legend {
  padding-inline: 6px;
  color: var(--ink-strong);
  font-size: 1.08rem;
  font-weight: 780;
}

.contact-mode-option,
.contact-source-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 0;
}

.contact-mode-option input,
.contact-source-option input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.contact-source-choices {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-left: 3px solid var(--brand);
  margin-top: 12px;
  background: var(--surface);
}

.contact-source-option {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0;
  font-weight: 500;
}

.contact-source-option > span {
  display: grid;
  min-width: 0;
  gap: 2px;
  overflow-wrap: anywhere;
}

.contact-source-option strong {
  font-size: 0.84rem;
}

.contact-source-option small {
  color: var(--warning-strong, #7a4600);
  font-size: 0.75rem;
}

.contact-custom-value {
  margin-top: 14px;
}

.contact-custom-value label > span {
  color: var(--muted);
  font-weight: 500;
}

.contact-selection-group[data-contact-selection-mode="automatic"]
  .contact-source-choices,
.contact-selection-group[data-contact-selection-mode="automatic"]
  .contact-custom-value {
  border-color: var(--line);
}

.admin-repeater {
  display: grid;
  gap: 12px;
}

.weekly-schedule {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

.weekly-schedule > legend {
  padding: 0;
  margin-bottom: 6px;
  color: var(--ink-strong);
  font-size: 1.18rem;
  font-weight: 760;
}

.weekly-schedule-days {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.weekly-schedule-day {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
}

.weekly-schedule-day-header,
.pricing-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.weekly-schedule-day-header h3,
.pricing-editor-heading h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  letter-spacing: 0;
}

.schedule-status-label {
  margin: 0;
}

.schedule-status-label select {
  min-width: 132px;
}

.schedule-intervals {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.schedule-interval {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.schedule-interval label {
  margin: 0;
}

.schedule-interval label > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.schedule-add {
  margin-top: 10px;
}

.weekly-schedule-day.is-closed .schedule-intervals,
.weekly-schedule-day.is-unspecified .schedule-intervals {
  opacity: 0.52;
}

.schedule-legacy-note {
  padding: 9px 11px;
  margin: 10px 0 0;
  font-size: 0.82rem;
}

.pricing-editor {
  min-width: 0;
}

.pricing-editor-heading {
  align-items: flex-start;
  margin-bottom: 14px;
}

.pricing-editor-heading .field-help {
  margin: 4px 0 0;
}

.pricing-editor-rows {
  display: grid;
  gap: 10px;
}

.pricing-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.75fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
}

.pricing-editor-row .field,
.pricing-editor-row label {
  margin: 0;
}

.price-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.price-input:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.price-input input {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.price-input input:focus {
  box-shadow: none;
}

.price-input > span {
  padding-inline: 12px;
  color: var(--muted-strong);
  font-weight: 750;
}

.pricing-description-field {
  margin-top: 18px;
}

.pricing-description {
  max-width: 68ch;
  margin-top: 20px;
  color: var(--muted-strong);
  white-space: pre-line;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 750;
}

.table-wrap,
.admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--surface-warm);
  color: var(--muted-strong);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.content-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.facts-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.facts-list > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
  gap: 14px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}

.facts-list > div:last-child {
  border-bottom: 0;
}

.facts-list dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.facts-list dd {
  min-width: 0;
  margin: 0;
}

.admin-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 22px;
}

.admin-filter .field {
  min-width: min(100%, 260px);
}

/* Small compatibility sections from the previous frontend. */

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-block: 32px;
}

.trust > div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.trust h3 {
  margin: 8px 0;
}

.trust p {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-block: 64px 24px;
}

.region-band {
  padding-block: 64px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.region-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.region-links a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.region-section {
  padding-block: clamp(52px, 8vw, 86px);
  background: var(--ink-strong);
  color: #dbe5e1;
}

.region-section h2,
.region-section .overline {
  color: #fff;
}

.section-heading-light {
  display: block;
}

.section-heading-light h2 {
  max-width: 22ch;
  margin-bottom: 0;
}

.region-section .region-links a {
  border-color: #36534f;
  background: #173a36;
  color: #fff;
}

.region-section .region-links a:hover {
  border-color: #88aea3;
  background: #1c4540;
}

.region-section .region-links small {
  color: #b9cbc5;
}

.alphabet-note {
  padding-bottom: 20px;
  color: var(--muted-strong);
}

.alphabet-note p {
  margin: 0;
}

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

.geography-grid-dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.geography-grid > a {
  display: flex;
  min-width: 0;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.geography-grid > a:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.geography-grid strong,
.geography-grid small {
  display: block;
}

.geography-grid small {
  color: var(--muted);
  font-size: 0.78rem;
}

.geo-count {
  display: grid;
  min-width: 34px;
  height: 28px;
  place-items: center;
  padding-inline: 7px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 750;
}

.geography-region-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.geography-region-main {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  color: var(--ink);
  text-decoration: none;
}

.geography-region-main:hover {
  background: var(--brand-soft);
}

.geography-subregions {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.geography-subregions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 0.86rem;
  text-decoration: none;
}

.geography-subregions a:hover {
  background: var(--brand-soft);
  color: var(--ink);
}

.geography-subregions small {
  flex: 0 0 auto;
}

.geography-item-new {
  animation: geography-reveal 180ms ease-out both;
}

@keyframes geography-reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-shell {
  max-width: 860px;
}

.contact-form {
  display: grid;
  max-width: 860px;
  gap: 22px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-form fieldset {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-form legend {
  padding-inline: 6px;
  color: var(--ink-strong);
  font-weight: 750;
}

.contact-form [role="radiogroup"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.contact-form [role="radiogroup"] label,
.contact-form fieldset > label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.cf-turnstile,
.turnstile-placeholder {
  min-height: 65px;
}

.editor-form,
.public-form {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.public-form > .admin-actions {
  position: static;
  bottom: auto;
  z-index: auto;
  padding: 0;
  border-top: 0;
  background: transparent;
  backdrop-filter: none;
}

.editor-form fieldset {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.editor-form legend {
  padding-inline: 6px;
  color: var(--ink-strong);
  font-weight: 750;
}

.editor-form + .editor-form {
  margin-top: 24px;
}

.footer-link-editor {
  display: grid;
  gap: 12px;
}

.footer-link-editor-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(240px, 1.6fr) minmax(100px, 0.3fr);
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

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

.radio-option {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-weight: 600;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-note {
  padding: 12px 14px;
  border-left: 3px solid var(--brand);
  margin: 0;
  background: var(--brand-soft);
  color: var(--muted-strong);
  font-size: 0.875rem;
}

.profile-main .address-details + .form-note,
.profile-main .price-list + .form-note,
.profile-main .pricing-description + .form-note,
.review-section > .form-note + .button {
  margin-top: 16px;
}

.orbital {
  display: none;
}

/* Cookie consent */

html.cookie-dialog-open {
  overflow: hidden;
}

.cookie-consent-banner {
  position: fixed;
  right: max(16px, calc((100vw - var(--content)) / 2));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, calc((100vw - var(--content)) / 2));
  z-index: 1500;
  display: grid;
  max-height: calc(100dvh - 32px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 24px 70px rgb(16 39 36 / 24%);
  backdrop-filter: blur(16px);
}

.cookie-consent-copy {
  max-width: 68ch;
}

.cookie-consent-copy .overline {
  margin-bottom: 5px;
}

.cookie-consent-copy h2 {
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 780;
  letter-spacing: -0.018em;
}

.cookie-consent-copy p:not(.overline) {
  margin-bottom: 8px;
  color: var(--muted-strong);
  line-height: 1.5;
}

.cookie-consent-copy > a {
  font-size: 0.9rem;
  font-weight: 700;
}

.cookie-consent-actions {
  display: grid;
  min-width: min(100%, 210px);
  gap: 9px;
}

.cookie-consent-actions .button {
  width: 100%;
}

.cookie-preferences-dialog {
  width: min(100% - 32px, 680px);
  max-width: 680px;
  max-height: min(780px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 90px rgb(16 39 36 / 32%);
}

.cookie-preferences-dialog::backdrop {
  background: rgb(8 29 26 / 62%);
  backdrop-filter: blur(3px);
}

.cookie-preferences-dialog.is-fallback-open {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1600;
  display: block;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 100vmax rgb(8 29 26 / 62%),
    0 28px 90px rgb(16 39 36 / 32%);
}

.cookie-preferences-dialog > form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 5vw, 36px);
}

.cookie-preferences-heading h2 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.cookie-preferences-heading > :last-child {
  margin-bottom: 0;
  color: var(--muted-strong);
}

.cookie-preference-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.cookie-preference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
}

.cookie-preference + .cookie-preference {
  border-top: 1px solid var(--line);
}

.cookie-preference label {
  margin-bottom: 4px;
  color: var(--ink-strong);
  font-size: 1rem;
}

.cookie-preference p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.cookie-preference-control {
  display: grid;
  min-width: 92px;
  justify-items: center;
  gap: 5px;
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.cookie-preference-control input[type="checkbox"] {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
}

.cookie-preferences-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-preferences-actions .button {
  flex: 1 1 140px;
}

@media (max-width: 760px) {
  .cookie-consent-banner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cookie-consent-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-consent-actions.is-necessary-only {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions [data-cookie-preferences] {
    grid-column: 1 / -1;
  }

  .cookie-preferences-dialog > form {
    gap: 18px;
  }

  .cookie-preference {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 14px;
    padding: 16px;
  }
}

@media (max-width: 960px) {
  .site-header,
  .site-header > .shell {
    gap: 14px;
  }

  #site-nav a,
  .site-header nav a {
    padding-inline: 8px;
    font-size: 0.875rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr);
    gap: 36px;
  }

  .directory-layout,
  .directory {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }

  .near-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 24px;
  }

  .region-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .geography-grid-dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-main .address-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .shell,
  .profile-layout,
  .admin-shell {
    width: min(100% - 32px, var(--content));
  }

  .section {
    padding-block: 48px;
  }

  .site-header {
    min-height: var(--header-height);
    gap: 10px;
    padding-inline: 16px;
  }

  .site-header > .shell {
    min-height: var(--header-height);
    gap: 10px;
  }

  .brand {
    max-width: calc(100vw - 84px);
    font-size: 1rem;
  }

  [data-menu-toggle] {
    display: inline-flex;
  }

  #site-nav,
  .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 10px 16px 18px;
    margin: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface-warm);
    box-shadow: var(--shadow-md);
  }

  #site-nav.is-open,
  #site-nav[data-open="true"],
  .site-header nav.is-open,
  .site-header nav[data-open="true"] {
    display: block;
  }

  #site-nav ul,
  .site-header nav ul {
    display: grid;
    gap: 2px;
  }

  #site-nav a,
  .site-header nav a {
    width: 100%;
    min-height: 46px;
    padding-inline: 12px;
  }

  .site-header > .header-cta,
  .site-header > .shell > .header-cta,
  .site-header .header-action {
    display: none;
  }

  .menu-open {
    overflow: hidden;
  }

  .hero,
  .listing-hero,
  .near-hero {
    padding-block: 46px;
  }

  .hero::after,
  .listing-hero::after,
  .near-hero::after {
    right: -220px;
    bottom: -260px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-home {
    background:
      linear-gradient(
        180deg,
        rgb(245 243 237 / 96%) 0%,
        rgb(245 243 237 / 88%) 54%,
        rgb(245 243 237 / 92%) 100%
      ),
      url("/assets/images/home-hero-mobile.webp") center / cover no-repeat;
  }

  .hero-aside {
    padding: 24px 0 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .hero-home .hero-aside {
    padding: 22px;
    border: 1px solid rgb(189 201 194 / 86%);
    background: rgb(255 255 255 / 82%);
  }

  .page-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .search-panel {
    padding: 18px;
  }

  .search-control {
    grid-template-columns: 1fr;
  }

  .search-control .button {
    width: 100%;
  }

  .search-form,
  #directory-form,
  #near-form {
    grid-template-columns: 1fr;
  }

  .search-form > button,
  #directory-form > button,
  #near-form > button {
    width: 100%;
  }

  .field-row,
  .form-row,
  .index-grid,
  .region-grid,
  .trust {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .profile-title-row,
  .profile-top,
  .admin-header,
  .admin-page-header {
    align-items: start;
    flex-direction: column;
  }

  .admin-header > div {
    margin-left: 0;
    text-align: left;
  }

  .profile-actions {
    justify-content: flex-start;
  }

  .mobile-contact-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .correction-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .directory-layout,
  .directory,
  .profile-layout,
  .near-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .directory-layout,
  .directory {
    padding-block: 32px 52px;
  }

  .filters,
  .profile-sidebar,
  .map-panel {
    position: static;
  }

  .clinic-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 20px;
  }

  .clinic-row__actions,
  .clinic-row-actions {
    min-width: 0;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .profile-layout {
    gap: 36px;
    padding-block: 40px 56px;
  }

  .profile-sidebar {
    grid-row: auto;
  }

  .profile-main h2,
  .profile-layout article h2 {
    margin-top: 28px;
  }

  .near-layout {
    display: flex;
    flex-direction: column;
  }

  .near-controls {
    grid-template-columns: 1fr;
  }

  .control-divider {
    min-height: 34px;
  }

  .privacy-note {
    grid-column: auto;
  }

  .near-layout > * {
    width: 100%;
  }

  .map-panel {
    position: relative;
    order: -1;
  }

  .map-panel .map-shell,
  #near-map {
    height: 430px;
    min-height: 430px;
  }

  #map-activate,
  .map-shell-profile .map-activate {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 600;
    display: inline-flex;
    border-color: var(--ink-strong);
    background: var(--ink-strong);
    color: #fff;
    box-shadow: var(--shadow-md);
  }

  #near-app[data-map-active="false"] #near-map {
    pointer-events: none;
  }

  #near-map,
  .map-shell-profile .profile-map {
    pointer-events: none;
  }

  #near-app[data-map-active="true"] #near-map {
    pointer-events: auto;
  }

  .map-shell-profile[data-map-active="false"] .profile-map {
    pointer-events: none;
  }

  .map-shell-profile[data-map-active="true"] .profile-map {
    pointer-events: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-link-editor-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-moderation-form,
  .admin-card > form.field-row {
    grid-template-columns: 1fr;
  }

  .schedule-interval,
  .pricing-editor-row {
    grid-template-columns: 1fr 1fr;
  }

  .schedule-remove,
  .pricing-remove {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .admin-moderation-form .admin-actions {
    grid-column: auto;
  }

  .geography-grid,
  .geography-grid-dense,
  .geography-grid-regions,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-actions {
    justify-content: stretch;
  }

  .admin-actions > * {
    flex: 1 1 auto;
  }

  .region-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(2.1rem, 11vw, 2.65rem);
  }

  .section-heading {
    gap: 14px;
  }

  .breadcrumbs {
    font-size: 0.8rem;
  }

  .info-panel,
  .near-controls,
  .admin-card,
  .admin-login {
    padding: 18px;
  }

  .admin-login h1 {
    font-size: clamp(1.95rem, 12vw, 2.45rem);
    line-height: 1.02;
  }

  .info-panel dl,
  .profile-main dl,
  .profile-layout dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .info-panel dd,
  .profile-main dd,
  .profile-layout dd {
    margin-bottom: 10px;
  }

  .profile-main .address-details > .advertising-protection dd,
  .profile-main .address-details > .treatment-at-address-fact dd {
    margin-bottom: 0;
  }

  .contact-list li,
  .opening-hours li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .address-details > div,
  .hours-list > div,
  .contact-list > div,
  .price-list > div,
  .admin-detail-list > div,
  .facts-list > div,
  .admin-repeater .field-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .admin-repeater .field-row > .field-error {
    grid-column: auto;
  }

  .weekly-schedule-day-header,
  .pricing-editor-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .schedule-status-label select,
  .pricing-editor-heading .button {
    width: 100%;
  }

  .schedule-interval,
  .pricing-editor-row {
    grid-template-columns: 1fr;
  }

  .schedule-remove,
  .pricing-remove {
    grid-column: auto;
  }

  .price-list dd {
    text-align: left;
  }

  .button-row > *,
  .actions > * {
    width: 100%;
  }

  .profile-actions > *,
  .geography-grid,
  .geography-grid-dense,
  .geography-grid-regions,
  .form-grid {
    width: 100%;
  }

  .geography-grid,
  .geography-grid-dense,
  .geography-grid-regions,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .clinic-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .clinic-card .clinic-icon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .skeleton::before {
    animation: none;
  }
}

@media print {
  .site-header,
  .footer,
  footer,
  .breadcrumbs,
  .filters,
  .map-panel,
  .button-row,
  .actions,
  .cookie-consent,
  [data-cookie-preferences],
  #load-more {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .shell,
  .profile-layout {
    width: 100%;
  }

  .profile-layout,
  .directory-layout {
    display: block;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
