/* Dierenartsenpraktijk Curavida
   The blue of the WordPress site's theme (#1f70c6, 5:1 on white) for buttons, links and accents, with its lighter
   blue (#3695eb) only as decoration and a pale blue tint for emphasis; charcoal for text, the dark sections and the
   footer. The logo keeps its own black and lime. Outfit (headings) echoes the logo's wide, round letters; Figtree
   for the text. */

@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --blue: #1f70c6;           /* the old site's theme colour; 5:1 on white */
    --blue-dark: #185ba3;
    --sky: #3695eb;            /* the old site's lighter blue; decoration only */
    --sky-on-dark: #7db8f2;    /* accents on the charcoal sections */
    --blue-pale: #eaf3fc;
    --blue-wash: #e8f1fa;      /* the tinted bands between white ones; white cards stand out on it */
    --blue-text: var(--blue);  /* blue text; darker on the tinted sections, where #1f70c6 is under 4.5:1 */
    --ink: #18212b;
    --text: #2f3742;
    --muted: #5b6573;
    --paper: #fcfcfd;
    --white: #fff;
    --red: #b3412f;
    --amber: #b07a12;
    --line: rgba(24, 33, 43, .12);
    --line-strong: rgba(24, 33, 43, .28);
    --shadow: 0 1px 2px rgba(24, 33, 43, .06), 0 8px 24px rgba(24, 33, 43, .06);

    --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius: 1.1rem;
    --radius-small: .6rem;
    --header-height: 4.5rem;
    --section-space: clamp(3.5rem, 8vw, 6.5rem);
    --gap: clamp(1.5rem, 4vw, 3.5rem);
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    -webkit-text-size-adjust: 100%;
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

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

body.menu-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.015em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.3rem, 5.5vw, 3.6rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
    font-size: 1.25rem;
    line-height: 1.25;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

a {
    color: var(--blue-text);
    text-underline-offset: .18em;
    text-decoration-thickness: .08em;
}

a:hover {
    color: var(--blue-dark);
}

address {
    font-style: normal;
}

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

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

.wrap {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--white);
    color: var(--blue-text);
    font-weight: 600;
    border-radius: 0 0 .5rem .5rem;
}

.skip:focus {
    top: 0;
}

.lead {
    color: var(--text);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
}

/* buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 3rem;
    padding: .7rem 1.4rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font: 600 1rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.btn--outline {
    border-color: var(--line-strong);
    background: var(--white);
    color: var(--ink);
}

.btn--outline:hover {
    border-color: var(--blue);
    color: var(--blue-text);
}

.btn--ghost {
    padding-inline: .8rem;
    color: var(--blue-text);
}

.btn--ghost:hover {
    background: var(--blue-pale);
}

.btn--light {
    background: var(--white);
    color: var(--ink);
}

.btn--light:hover {
    background: var(--blue-pale);
    color: var(--ink);
}

.btn--small {
    min-height: 2.6rem;
    padding: .5rem 1.1rem;
    font-size: .95rem;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    text-decoration: none;
}

.link-more:hover .icon {
    transform: translateX(3px);
}

.link-more .icon {
    transition: transform .15s;
}

/* announcement */

/* The announcement from /beheer: a box with a red border at the top of the page, under the menu. */
.announcement {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-block: 1rem;
    padding: .9rem 1.15rem;
    border: 2px solid var(--red);
    border-radius: var(--radius-small);
    background: #fdf5f3;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
}

.announcement .icon {
    flex: none;
    margin-top: .15rem;
    color: var(--red);
}

.announcement p {
    margin: 0;
    white-space: pre-line;
}

/* header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    isolation: isolate;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}

/* The frosted background sits on its own layer: a backdrop-filter on the header itself would make the header the
   containing block of the fixed mobile menu, which would then be cut off at the header's height. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(252, 252, 253, .94);
    backdrop-filter: saturate(1.4) blur(10px);
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 4px 18px rgba(24, 33, 43, .06);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-height);
}

.brand img {
    width: auto;
    height: 3.25rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav__list {
    display: flex;
    gap: .25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__list a {
    display: block;
    padding: .5rem .8rem;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.nav__actions .btn {
    white-space: nowrap;
}

.nav__list a:hover {
    background: var(--blue-pale);
    color: var(--ink);
}

.nav__list a[aria-current="page"] {
    color: var(--blue-text);
    font-weight: 650;
    box-shadow: inset 0 -3px 0 var(--sky);
    border-radius: 0;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__phone {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.nav__phone .icon {
    color: var(--blue-text);
}

.nav-toggle {
    display: none;
    position: relative;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    position: absolute;
    left: 50%;
    width: 1.2rem;
    height: 2px;
    margin-left: -.6rem;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .2s, opacity .2s;
}

.nav-toggle__bars {
    top: 50%;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    left: 0;
    margin-left: 0;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1060px) {
    .nav__phone {
        display: none;
    }
}

/* Between the full menu and the hamburger: a smaller menu, so every item stays on one line. */
@media (min-width: 901px) and (max-width: 1180px) {
    .site-header__bar {
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .nav__list {
        gap: 0;
    }

    .nav__list a {
        padding-inline: .6rem;
        font-size: .94rem;
    }

    .brand img {
        height: 2.8rem;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    /* As large as fits beside the menu button: 2.6rem on a 320px screen. */
    .brand img {
        height: clamp(2.6rem, 13vw, 3.25rem);
    }

    .nav {
        position: fixed;
        inset: var(--header-height) 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem 1rem 6rem;
        overflow-y: auto;
        background: var(--paper);
        border-top: 1px solid var(--line);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-.5rem);
        transition: opacity .2s, transform .2s, visibility 0s .2s;
    }

    .nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity .2s, transform .2s;
    }

    .nav__list {
        flex-direction: column;
    }

    .nav__list a {
        padding: .9rem .5rem;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-size: 1.2rem;
    }

    .nav__list a[aria-current="page"] {
        box-shadow: inset 4px 0 0 var(--sky);
        padding-left: 1rem;
    }

    .nav__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav__phone {
        display: inline-flex;
        justify-content: center;
        min-height: 3rem;
        border: 2px solid var(--line-strong);
        border-radius: 999px;
    }

    .nav__actions .btn {
        min-height: 3rem;
    }
}

/* status */

.status {
    display: inline-flex;
    align-items: baseline;
    gap: .55rem;
    margin: 0;
    color: var(--text);
    font-size: .98rem;
}

.status strong {
    color: var(--ink);
}

.status__dot {
    flex: none;
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: var(--muted);
}

.status--open .status__dot {
    background: #4c9a1d;
    box-shadow: 0 0 0 4px rgba(76, 154, 29, .18);
}

.status--phone .status__dot {
    background: var(--amber);
    box-shadow: 0 0 0 4px rgba(176, 122, 18, .16);
}

.status--closed .status__dot {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(179, 65, 47, .14);
}

/* hero: the practice photo full width behind the text, with a light fade on the text side so the photo stays
   bright (the user's choice on 2026-11-25, over the photo beside the text) */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(34rem, 82vh, 46rem);
    padding-block: clamp(3rem, 7vw, 5rem);
    overflow: hidden;
    background: var(--paper);
}

.hero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(252, 252, 253, .88) 0%, rgba(252, 252, 253, .7) 30%, rgba(252, 252, 253, .2) 52%, rgba(252, 252, 253, 0) 64%);
}

/* narrower below 1108px, so the text stays clear of the people in the photo; the buttons keep one row */
.hero__body > * {
    max-width: min(36rem, 52vw);
}

.hero__body > .hero__actions {
    max-width: 36rem;
}

.hero h1 {
    margin-bottom: 1.25rem;
    text-shadow: 0 0 24px rgba(252, 252, 253, .9);
}

.hero .lead {
    color: var(--ink);
    text-shadow: 0 0 16px rgba(252, 252, 253, .95);
}

/* also the buttons at the top of the location pages */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.75rem 0;
}

/* WhatsApp only on phones (user, 2026-11-26) */
.hero__whatsapp {
    display: none;
}

.hero__status {
    display: grid;
    gap: .6rem;
    margin: 0;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(8px);
    list-style: none;
}

.hero__status li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem .8rem;
}

.hero__place {
    min-width: 6.5rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
}

/* Up to 900px the photo is a strip above the text, fading into the page: behind the text, the text would cover the
   people in it. */
@media (max-width: 900px) {
    .hero {
        --strip: clamp(16rem, 46vw, 25rem);
        display: block;
        min-height: 0;
        padding: 0 0 var(--section-space);
    }

    .hero__img {
        position: relative;
        height: var(--strip);
        object-position: 72% center;
    }

    .hero::after {
        inset: 0 0 auto;
        height: var(--strip);
        background: linear-gradient(180deg, rgba(252, 252, 253, 0) 75%, var(--paper) 100%);
    }

    .hero__body {
        padding-top: 1rem;
    }

    .hero__body > * {
        max-width: 36rem;
    }
}

/* Phones: the headline over the lower edge of the photo, the buttons in a tidy grid and the status per practice
   as a small table. */
@media (max-width: 640px) {
    .hero__body {
        position: relative;
        margin-top: -1.75rem;
        padding-top: 0;
    }

    /* two lines, "Uw dierenarts / in Schoten en Brasschaat.", the second as wide as the column allows
       (11.2em in Outfit; user, 2026-11-26) */
    .hero h1 {
        font-size: min(2.3rem, calc((100vw - 2rem) / 11.5));
    }

    .hero__br {
        display: none;
    }

    .hero .hero__actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(9.85rem, 1fr));
        gap: .6rem;
        margin: 1.5rem 0;
    }

    .hero .hero__actions .btn {
        padding-inline: .85rem;
        white-space: nowrap;
    }

    .hero .hero__actions .hero__whatsapp {
        display: inline-flex;
    }

    .hero .hero__actions .btn--primary {
        grid-column: 1 / -1;
    }

    .hero__status li {
        display: grid;
        grid-template-columns: 5.6rem 1fr;
        gap: .5rem;
    }

    .hero__place {
        min-width: 0;
    }

    .hero__status .status {
        font-size: .92rem;
    }

    /* every status on a phone: the detail on its own line under the headline */
    .status__sep {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .status__detail {
        display: block;
        color: var(--muted);
    }
}

/* Below 524px three buttons no longer fit in a row: two per row, and E-mail, the last, the full width. */
@media (max-width: 523px) {
    .hero .hero__actions .btn:last-child {
        grid-column: 1 / -1;
    }
}

/* Very narrow phones: the practice name above its status, so the status keeps its width. */
@media (max-width: 359px) {
    .hero__status li {
        grid-template-columns: 1fr;
        gap: .1rem;
    }
}

/* sections */

.section {
    padding-block: var(--section-space);
}

.section--flush {
    padding-top: 0;
}

.section--tint,
.cta {
    --blue-text: var(--blue-dark);
}

.section--tint {
    background: var(--blue-wash);
    border-block: 1px solid rgba(54, 149, 235, .18);
}

.section--dark {
    background: var(--ink);
    color: rgba(255, 255, 255, .82);
}

.section--dark h2 {
    color: var(--white);
}

.section__head {
    max-width: 44rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head h2 {
    margin-bottom: .8rem;
}

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

.section__head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    max-width: none;
}

.section__head--row h2 {
    margin-bottom: 0;
}

/* location cards */

.locations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.location-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.location-card__photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.location-card__body {
    display: grid;
    gap: .9rem;
    padding: 1.5rem;
}

.location-card h3 {
    font-size: 1.5rem;
}

.location-card h3 a {
    color: var(--ink);
    text-decoration: none;
}

.location-card h3 a:hover {
    color: var(--blue-text);
}

.location-card__address {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
}

.location-card__address .icon {
    color: var(--blue-text);
}

.location-card__hours-title {
    margin: .4rem 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
}

.location-card__hours .hours {
    margin-top: .4rem;
}

.location-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .3rem;
}

@media (max-width: 760px) {
    .locations {
        grid-template-columns: 1fr;
    }
}

/* hours */

.hours {
    width: 100%;
    border-collapse: collapse;
    font-size: .98rem;
}

.hours th,
.hours td {
    padding: .5rem .6rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.hours th {
    width: 7.5rem;
    color: var(--ink);
    font-weight: 600;
    text-transform: capitalize;
}

.hours__today th,
.hours__today td {
    background: var(--blue-pale);
}

.hours__today th {
    box-shadow: inset 3px 0 0 var(--sky);
}

.hours__note {
    margin: .8rem 0 0;
    color: var(--muted);
    font-size: .92rem;
}

.hours__after {
    margin-top: 1.5rem;
}

/* phones: a narrower day column, so "09:00–20:00 op afspraak" stays on one line */
@media (max-width: 640px) {
    .hours {
        font-size: .92rem;
    }

    .hours th,
    .hours td {
        padding-inline: .5rem;
    }

    .hours th {
        width: 5.5rem;  /* the longest day name sets the real width */
    }
}

/* care services */

.care {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.care__item {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.care__icon {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    margin-bottom: 1rem;
    border-radius: .8rem;
    background: var(--blue-pale);
    color: var(--blue-text);
}

.care__icon .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.care__item h3 {
    margin-bottom: .45rem;
    font-size: 1.12rem;
}

.care__item p {
    margin: 0;
    color: var(--text);
    font-size: .97rem;
    line-height: 1.55;
}

/* team teaser */

.team-teaser__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: var(--gap);
}

.team-teaser h2 {
    margin-bottom: 1rem;
}

.team-teaser p {
    margin-bottom: 1.75rem;
}

.faces {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faces li {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-small);
}

.faces img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.faces span {
    position: absolute;
    inset: auto 0 0;
    padding: 1.5rem .7rem .55rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .6));
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
}

@media (max-width: 900px) {
    .team-teaser__grid {
        grid-template-columns: 1fr;
    }
}

/* reviews */

.ratings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.rating {
    display: grid;
    gap: .35rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.rating__place {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.rating__score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    color: var(--muted);
}

.rating__score strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1;
}

.rating__links {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem 1.2rem;
    font-weight: 600;
}

.stars {
    display: inline-flex;
    gap: .1rem;
    color: #d9dcd5;
}

.stars .icon {
    width: 1.15rem;
    height: 1.15rem;
}

.stars .is-on {
    color: #e3a40b;
}

.stars--small .icon {
    width: .95rem;
    height: .95rem;
}

.review-list {
    columns: 3 18rem;
    column-gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.review {
    display: grid;
    gap: .6rem;
    break-inside: avoid;
    margin-bottom: 1rem;
    padding: 1.3rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.review__head {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.review__avatar {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue-dark);
    font-family: var(--font-display);
    font-weight: 600;
}

.review__author {
    display: block;
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
}

a.review__author:hover {
    text-decoration: underline;
}

.review__meta {
    display: block;
    color: var(--muted);
    font-size: .88rem;
}

.review__text {
    margin: 0;
}

.review__text p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    white-space: pre-line;
}

.reviews__source {
    margin: .5rem 0 0;
    color: var(--muted);
    font-size: .9rem;
}

@media (max-width: 700px) {
    .ratings {
        grid-template-columns: 1fr;
    }
}

.reviews {
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

/* The figures under the reviews continue the reviews' tinted band. */
.reviews.section--tint {
    border-bottom: 0;
}

.reviews + .figures {
    background: var(--blue-wash);
    border-bottom: 1px solid rgba(54, 149, 235, .18);
}

/* figures */

.figures {
    padding-bottom: var(--section-space);
}

.figures__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    list-style: none;
}

.figures__list li {
    display: grid;
    gap: .2rem;
    padding: 1.6rem 1rem;
    text-align: center;
}

.figures__list li + li {
    border-left: 1px solid var(--line);
}

.figures__list strong {
    color: var(--blue-text);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
}

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

@media (max-width: 700px) {
    .figures__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .figures__list li:nth-child(3) {
        border-left: 0;
    }

    .figures__list li:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    /* "100.000+" has to fit half a 320px screen. */
    .figures__list li {
        padding-inline: .5rem;
    }

    .figures__list strong {
        font-size: clamp(1.5rem, 7.5vw, 2.2rem);
    }
}

/* The home page on phones, kept short (user, 2026-11-26): the care section keeps its heading and summary but not
   the list, three reviews instead of eight, and no articles. */
@media (max-width: 640px) {
    .care {
        display: none;
    }

    #zorg .section__head {
        margin-bottom: 0;
    }

    .review-list .review:nth-child(n + 4) {
        display: none;
    }

    .home-articles {
        display: none;
    }
}

/* article cards */

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1rem;
}

.article-card {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: .4rem;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.article-card:hover {
    border-color: rgba(31, 112, 198, .45);
    box-shadow: var(--shadow);
    color: var(--text);
    transform: translateY(-2px);
}

.article-card__icon {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: .4rem;
    border-radius: .75rem;
    background: var(--blue-pale);
    color: var(--blue-text);
}

.article-card__icon .icon {
    width: 1.45rem;
    height: 1.45rem;
}

.article-card__label {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-card__title {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
}

.article-card__text {
    font-size: .97rem;
    line-height: 1.55;
}

.article-card__more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .5rem;
    color: var(--blue-text);
    font-weight: 600;
}

.group-title {
    margin: 0 0 1.25rem;
    padding-top: var(--section-space);
    font-size: 1.5rem;
}

/* contact band */

.cta {
    background: var(--blue-wash);
    border-top: 1px solid rgba(54, 149, 235, .18);
}

/* The heading with the practice's dog beside it, turned to face the text and standing on the row of cards. */
.cta__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.cta__head {
    max-width: 40rem;
    margin-bottom: .75rem;
}

.cta__dog {
    flex: none;
    width: auto;
    height: 9.5rem;
    margin: -2rem 1rem -1.4rem 0;
    transform: scaleX(-1);
    position: relative;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 640px) {
    .cta__dog {
        height: 5.5rem;
        margin: 0 0 -.9rem;
    }
}

.cta__head h2 {
    margin-bottom: .6rem;
}

.ways {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.way {
    display: grid;
    gap: .3rem;
    height: 100%;
    padding: 1.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}

.way:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
    color: var(--text);
}

.way .icon {
    width: 1.6rem;
    height: 1.6rem;
    margin-bottom: .4rem;
    color: var(--blue-text);
}

.way strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.way span {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.45;
}

.way--primary {
    border-color: var(--blue);
    background: var(--blue);
}

.way--primary .icon,
.way--primary strong {
    color: var(--white);
}

.way--primary span {
    color: rgba(255, 255, 255, .85);
}

.way--primary:hover {
    background: var(--blue-dark);
}

@media (max-width: 900px) {
    .ways {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* page hero (inner pages) */

.page-hero {
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero .lead {
    max-width: 44rem;
}

.page-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: var(--gap);
}

.page-hero__address {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .8rem;
    color: var(--ink);
    font-weight: 600;
}

.page-hero__address .icon {
    color: var(--blue-text);
}

.page-hero__media {
    margin: 0;
}

.page-hero__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.page-hero--article {
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page-hero--article h1 {
    max-width: 50rem;
}

@media (max-width: 900px) {
    .page-hero__grid {
        grid-template-columns: 1fr;
    }
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: .92rem;
}

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

.breadcrumb a:hover {
    color: var(--blue-text);
}

/* two columns */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

.split h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
    }
}

.checklist {
    display: grid;
    gap: .7rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.checklist li {
    display: flex;
    gap: .7rem;
}

.checklist .icon {
    margin-top: .2rem;
    padding: .15rem;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue-text);
}

/* gallery and lightbox */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-small);
}

.gallery img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .3s;
}

.gallery a:hover img {
    transform: scale(1.04);
}

@media (max-width: 700px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lightbox {
    max-width: min(92vw, 75rem);
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: var(--radius-small);
    background: transparent;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(12, 17, 23, .85);
}

.lightbox__img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: var(--radius-small);
}

.lightbox__close {
    position: absolute;
    top: -3.2rem;
    right: 0;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

/* map */

.address-block {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.address-block strong {
    display: block;
    color: var(--ink);
}

.address-block strong a {
    color: var(--ink);
    text-decoration: none;
}

.address-block__route {
    font-weight: 600;
}

.map {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--blue-wash);
}

.map iframe {
    display: block;
    width: 100%;
    height: 22rem;
    border: 0;
}

/* team page */

.team-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: var(--gap);
}

.team-hero__faces {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-hero__faces img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-small);
    box-shadow: var(--shadow);
}

.team-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.25rem;
    margin: 1.75rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.team-facts li {
    display: grid;
}

.team-facts strong {
    color: var(--blue-text);
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.1;
}

.team-facts span {
    color: var(--muted);
    font-size: .93rem;
}

@media (max-width: 860px) {
    .team-hero__grid {
        grid-template-columns: 1fr;
    }

    .team-hero__faces {
        order: -1;
        grid-template-columns: repeat(6, 1fr);
        gap: .4rem;
    }
}

.team-group {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.member-role {
    margin: 0 0 .3rem;
    color: var(--blue-text);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 1rem 0 1.25rem;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: .3rem .75rem;
    border-radius: 999px;
    background: var(--blue-pale);
    color: var(--blue-dark);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.3;
}

.vets {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
}

.vet {
    display: grid;
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.vet:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
}

.vet:nth-child(even) .vet__photo {
    order: 2;
}

.vet__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.vet__body {
    max-width: 38rem;
}

.vet h3 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

@media (max-width: 860px) {
    .vet,
    .vet:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .vet:nth-child(even) .vet__photo {
        order: 0;
    }

    .vet__photo {
        max-width: 22rem;
        aspect-ratio: 1;
    }
}

.assistants {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.assistant {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.assistant__photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 25%;
}

.assistant__body {
    padding: 1.4rem 1.5rem .6rem;
}

.assistant h3 {
    font-size: 1.4rem;
}

.assistant .chips {
    margin: .8rem 0 1rem;
}

.assistant p:not(.member-role) {
    font-size: .98rem;
}

.split--specialists {
    align-items: center;
}

.specialists {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.specialists li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.specialists__icon {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: .8rem;
    background: var(--blue-pale);
    color: var(--blue-text);
}

.specialists strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

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

/* articles */

.article-layout {
    display: grid;
    grid-template-columns: 15rem minmax(0, 46rem);
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-bottom: var(--section-space);
}

.article-layout--single {
    grid-template-columns: minmax(0, 46rem);
}

.toc {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    align-self: start;
    font-size: .95rem;
}

.toc__title {
    margin-bottom: .6rem;
    color: var(--ink);
    font-weight: 700;
}

.toc ol {
    display: grid;
    gap: .1rem;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--line);
    list-style: none;
}

.toc a {
    display: block;
    margin-left: -2px;
    padding: .35rem 0 .35rem 1rem;
    border-left: 2px solid transparent;
    color: var(--muted);
    line-height: 1.35;
    text-decoration: none;
}

.toc a:hover {
    border-color: var(--sky);
    color: var(--ink);
}

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

    .toc {
        position: static;
        padding: 1.1rem 1.25rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
    }

    .toc ol {
        border-left: 0;
    }

    .toc a {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }
}

.prose {
    font-size: 1.08rem;
}

.prose h2 {
    margin: 2.4rem 0 .9rem;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin: 1.8rem 0 .6rem;
    font-size: 1.22rem;
}

.prose ul,
.prose ol {
    margin: 0 0 1.2em;
    padding-left: 1.3rem;
}

.prose li {
    margin-bottom: .4em;
    padding-left: .2rem;
}

.prose ul li::marker {
    color: var(--sky);
    font-size: 1.15em;
}

.prose strong {
    color: var(--ink);
}

.prose table {
    width: 100%;
    margin: 0 0 1.5em;
    border-collapse: collapse;
    font-size: .98rem;
}

.prose th,
.prose td {
    padding: .55rem .7rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    color: var(--ink);
}

.prose__note {
    display: flex;
    gap: .8rem;
    margin-top: 2.5rem;
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius);
    background: var(--blue-pale);
}

.prose__note .icon {
    margin-top: .2rem;
    color: var(--blue-text);
}

.prose__note p {
    margin: 0;
    font-size: 1rem;
}

.prose__updated {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: .92rem;
}

/* contact page: the four ways to reach the practice on top (the cards of the contact band), then the form beside
   the two practices with their maps, about as tall as the form */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--gap);
    margin-top: clamp(2rem, 4vw, 3rem);
}

/* Beside the form the two maps share its height. */
.contact-places {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
}

.contact-place {
    display: flex;
    flex-direction: column;
}

.contact-place .address-block {
    margin-bottom: .75rem;
}

.contact-place .map {
    flex: 1;
    min-height: 11rem;
}

.contact-place .map iframe {
    height: 100%;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-places {
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
        grid-template-rows: none;
    }

    .contact-place .map {
        flex: none;
        height: 13rem;
    }
}

.form-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-card h2 {
    margin-bottom: 1.4rem;
    font-size: 1.6rem;
}

.form-card__privacy {
    color: var(--muted);
    font-size: .93rem;
}

/* forms */

.field {
    display: grid;
    align-content: start;
    gap: .4rem;
    margin-bottom: 1.15rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

@media (max-width: 560px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

.field label {
    color: var(--ink);
    font-weight: 600;
}

.field label small {
    color: var(--muted);
    font-weight: 400;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 3rem;
    padding: .75rem 1rem;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-small);
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.field select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 1.25rem) 55%, calc(100% - .9rem) 55%;
    background-size: .35rem .35rem;
    background-repeat: no-repeat;
}

.field textarea {
    resize: vertical;
    min-height: 9rem;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
    outline-offset: 0;
    border-color: var(--blue);
    border-radius: var(--radius-small);
}

.field .input-validation-error {
    border-color: var(--red);
}

.field__error {
    color: var(--red);
    font-size: .92rem;
    font-weight: 600;
}

.field__error:empty {
    display: none;
}

.field--trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field small,
.admin__group small {
    color: var(--muted);
    font-size: .92rem;
}

.notice {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-small);
    border-left: 5px solid;
}

.notice strong {
    display: block;
}

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

.notice--success {
    background: var(--blue-pale);
    border-color: var(--blue);
    color: var(--ink);
}

.notice--error {
    background: #f9e9e5;
    border-color: var(--red);
    color: #6d2519;
    font-weight: 600;
}

.notice--error.validation-summary-valid {
    display: none;
}

/* error page */

.error-page__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.error-page__dog {
    width: auto;
    height: clamp(9rem, 22vw, 16rem);
}

@media (max-width: 640px) {
    .error-page__grid {
        grid-template-columns: 1fr;
    }

    .error-page__dog {
        order: -1;
        height: 8rem;
    }
}

.error-page h1 {
    margin-bottom: 1rem;
}

.error-page p {
    max-width: 40rem;
}

.error-page__links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin: 0 0 2rem;
    padding: 0;
    font-weight: 600;
    list-style: none;
}

/* admin */

.admin h1 {
    margin-bottom: 1.25rem;
}

.admin__body {
    max-width: 44rem;
}

.admin__body--narrow {
    max-width: 26rem;
}

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

.admin__state {
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--white);
}

.admin__state strong {
    color: var(--ink);
}

.admin__group {
    min-width: 0; /* a fieldset is as wide as its content by default, which pushed the hours table off a phone screen */
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.25rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
}

.admin__group legend {
    padding-inline: .4rem;
    color: var(--ink);
    font: 600 1.1rem/1.2 var(--font-display);
}

.admin__group .field {
    margin-bottom: .6rem;
}

.admin__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

/* The admin pages have no header or footer (Beheer/_AdminLayout), and the buttons of an admin form stay at the bottom
   of the screen while the form scrolls; the border image paints the bar's background and top line edge to edge. */
.admin-page .admin {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.admin-page .admin__actions {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-top: 1.5rem;
    padding-block: .9rem calc(.9rem + env(safe-area-inset-bottom));
    border-image: linear-gradient(var(--line) 0 1px, var(--paper) 0) fill 0 // 0 100vmax;
}

@media (max-width: 760px) {
    body.admin-page {
        padding-bottom: 0;
    }
}

/* footer */

.site-footer {
    padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
    background: var(--ink);
    color: rgba(255, 255, 255, .75);
    font-size: .98rem;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--sky-on-dark);
    text-decoration: underline;
}

.site-footer strong {
    display: block;
    margin-bottom: .5rem;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2rem;
}

.site-footer__logo {
    width: auto;
    height: 2.4rem;
    margin-bottom: 1rem;
    padding: .4rem .6rem;
    border-radius: .5rem;
    background: var(--white);
    box-sizing: content-box;
}

.site-footer__about p {
    max-width: 22rem;
}

.social {
    display: flex;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social a {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

.social a:hover {
    border-color: var(--sky-on-dark);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem 2rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .6);
    font-size: .88rem;
}

.site-footer__legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, .8);
}

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

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

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

/* cookie banner (only with Google Analytics): both choices look the same, refusing is as easy as accepting */

.consent {
    position: fixed;
    inset: auto 1rem 1rem;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;
    max-width: 54rem;
    margin-inline: auto;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 40px rgba(24, 33, 43, .18);
}

.consent[hidden] {
    display: none;
}

.consent h2 {
    margin: 0 0 .3rem;
    font-size: 1.05rem;
    line-height: 1.3;
}

.consent p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
}

.consent__actions {
    display: flex;
    flex: none;
    gap: .6rem;
}

@media (max-width: 640px) {
    .consent {
        inset: auto .6rem .6rem;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.site-footer__consent {
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, .8);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* quick bar (phones) */

.quickbar {
    display: none;
}

@media (max-width: 760px) {
    body {
        padding-bottom: 4.5rem;
    }

    .quickbar {
        position: fixed;
        inset: auto 0 0;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: .4rem;
        padding: .6rem .6rem calc(.6rem + env(safe-area-inset-bottom));
        background: rgba(252, 252, 253, .97);
        border-top: 1px solid var(--line);
        box-shadow: 0 -6px 20px rgba(24, 33, 43, .08);
        transition: transform .25s ease, visibility .25s;
    }

    /* Hidden by site.js while the page's own buttons are on screen. */
    .quickbar.is-hidden {
        transform: translateY(110%);
        visibility: hidden;
    }

    .quickbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .35rem;
        min-width: 0;
        min-height: 2.9rem;
        padding-inline: .3rem;
        border: 1.5px solid var(--line-strong);
        border-radius: 999px;
        color: var(--ink);
        font-size: .95rem;
        font-weight: 600;
        white-space: nowrap;
        text-decoration: none;
    }

    .quickbar .icon {
        color: var(--blue-text);
    }

    .quickbar__main {
        border-color: var(--blue) !important;
        background: var(--blue);
        color: var(--white) !important;
    }

    .quickbar__main .icon {
        color: var(--white);
    }
}

@media (max-width: 359px) {
    .quickbar a {
        gap: .25rem;
        font-size: .85rem;
    }
}

/* admin: tabs, hours editor, team list, photo */

.admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.admin-bar__end {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.admin-tabs a {
    padding: .5rem .9rem;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.admin-tabs a:hover {
    background: var(--blue-pale);
    color: var(--ink);
}

.admin-tabs a[aria-current="page"] {
    background: var(--blue);
    color: var(--white);
}

.admin__body--wide {
    max-width: 62rem;
}

.check {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: .3rem 0 .8rem;
    font-weight: 500;
    cursor: pointer;
}

.check input {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--blue);
}

fieldset.field {
    margin: 0 0 1.15rem;
    padding: 0;
    border: 0;
}

fieldset.field .check {
    margin: 0;
}

fieldset.field legend {
    margin-bottom: .3rem;
    color: var(--ink);
    font-weight: 600;
}

.hours-edit__scroll {
    overflow-x: auto;
}

.hours-edit__table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.hours-edit__table th,
.hours-edit__table td {
    padding: .45rem .5rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.hours-edit__table thead th {
    color: var(--muted);
    font-size: .85rem;
    font-weight: 600;
}

.hours-edit__table tbody th {
    color: var(--ink);
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
}

.time-range {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.time-range input {
    width: 6.6rem;
    padding: .4rem .5rem;
    border: 1.5px solid var(--line-strong);
    border-radius: .45rem;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.time-range input.input-validation-error {
    border-color: var(--red);
}

.hours-edit__table .field__error {
    display: block;
    margin-top: .2rem;
    font-size: .85rem;
}

/* Phones: one block per day, each pair of times under its own label (the column headings, from data-label). */
@media (max-width: 640px) {
    .hours-edit__table thead {
        display: none;
    }

    .hours-edit__table,
    .hours-edit__table tbody,
    .hours-edit__table tr,
    .hours-edit__table th,
    .hours-edit__table td {
        display: block;
    }

    .hours-edit__table tr {
        padding: .7rem 0;
        border-bottom: 1px solid var(--line);
    }

    .hours-edit__table th,
    .hours-edit__table td {
        padding: .25rem 0;
        border: 0;
    }

    .hours-edit__table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .2rem;
        color: var(--muted);
        font-size: .82rem;
        font-weight: 600;
    }

    .time-range {
        display: flex;
    }

    .time-range input {
        flex: 1;
        width: auto;
        min-width: 0;
    }
}

.admin-team {
    display: grid;
    gap: .6rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.admin-team__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .9rem;
    padding: .7rem .9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
    background: var(--white);
}

.admin-team__photo {
    width: 3.5rem;
    height: 4.375rem;
    object-fit: cover;
    border-radius: .4rem;
}

.admin-team__photo--empty,
.photo-placeholder {
    display: grid;
    place-items: center;
    background: var(--blue-pale);
    color: var(--blue-dark);
    font-family: var(--font-display);
    font-weight: 600;
}

.photo-placeholder {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

.admin-team__text {
    display: grid;
    flex: 1 1 12rem;
}

.admin-team__text strong {
    color: var(--ink);
}

.admin-team__text span {
    color: var(--muted);
    font-size: .93rem;
}

.admin-team__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.icon-btn:hover:not(:disabled) {
    border-color: var(--blue);
    color: var(--blue-text);
}

.icon-btn:disabled {
    opacity: .35;
    cursor: default;
}

.icon--up {
    transform: rotate(-90deg);
}

.icon--down {
    transform: rotate(90deg);
}

.btn--danger {
    color: var(--red);
}

.btn--danger:hover {
    background: #f9e9e5;
    color: var(--red);
}

.photo-edit {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.25rem;
}

.photo-edit__current {
    width: 7.5rem;
    height: auto;
    border-radius: var(--radius-small);
}

.field input[type="file"] {
    min-height: 0;
    padding: .6rem;
}
