/*
 * Hinnerup Hallerne – main stylesheet.
 * Colours come from the logo (#0a85aa). Calm by design: no animations or transitions (spec 6).
 */

/* Nunito Sans (SIL OFL, see assets/fonts/LICENSE-NunitoSans.txt) – self-hosted, no third-party requests. */
@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 300 800;
    src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 300 800;
    src: url("../fonts/nunito-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: italic;
    font-display: swap;
    font-weight: 300 800;
    src: url("../fonts/nunito-sans-latin-wght-italic.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: italic;
    font-display: swap;
    font-weight: 300 800;
    src: url("../fonts/nunito-sans-latin-ext-wght-italic.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --hh-ink: #1b2b33;
    --hh-ink-muted: #4f626c;
    /* Logo colour: logo, surfaces, large text and lines. Contrast on white ≈ 4.2:1 – not for body text. */
    --hh-brand: #0a85aa;
    /* Darker shades of the logo colour for links/buttons/text (≥ 4.5:1 on white). */
    --hh-primary: #086d8c;
    --hh-primary-dark: #06536b;
    --hh-brand-tint: #e7f3f7;
    --hh-surface: #ffffff;
    --hh-surface-alt: #f3f8fa;
    --hh-line: #d3e3e9;
    --hh-notice-bg: #fdf3d8;
    --hh-notice-line: #d9a93a;

    --hh-font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --hh-font-display: var(--hh-font);
    --hh-size-s: 0.875rem;
    --hh-size-m: 1.0625rem;
    --hh-size-l: 1.375rem;
    --hh-size-xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);

    --hh-gutter: 1rem;
    --hh-space: 1.5rem;
    --hh-wide: 72rem;
    --hh-content: 44rem;
    --hh-radius: 4px;
}

@media (min-width: 48rem) {
    :root {
        --hh-gutter: 2rem;
        --hh-space: 2.5rem;
    }
}

/* Base ------------------------------------------------------------------ */

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

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

body {
    margin: 0;
    background: var(--hh-surface);
    color: var(--hh-ink);
    font-family: var(--hh-font);
    font-size: var(--hh-size-m);
    line-height: 1.6;
}

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

a {
    color: var(--hh-primary);
    text-underline-offset: 0.15em;
}

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

:focus-visible {
    outline: 3px solid var(--hh-notice-line);
    outline-offset: 2px;
}

h1,
h2,
h3 {
    font-family: var(--hh-font-display);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.75em;
}

.wrap {
    max-width: var(--hh-wide);
    margin-inline: auto;
    padding-inline: var(--hh-gutter);
}

.nowrap {
    white-space: nowrap;
}

.wrap--narrow {
    max-width: calc(var(--hh-content) + 2 * var(--hh-gutter));
}

.wrap--content {
    max-width: calc(var(--hh-content) + 2 * var(--hh-gutter));
    padding-block: var(--hh-space);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: var(--hh-gutter);
    z-index: 10;
    padding: 0.5rem 1rem;
    background: var(--hh-surface);
}

.button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: var(--hh-radius);
    background: var(--hh-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.button:hover {
    background: var(--hh-primary-dark);
    color: #fff;
}

.plain-list {
    padding-left: 1.2rem;
}

/* Top bar --------------------------------------------------------------- */

.topbar {
    background: var(--hh-primary-dark);
    border-bottom: 3px solid var(--hh-brand);
    color: #fff;
    font-size: var(--hh-size-s);
}

.topbar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    padding-block: 0.4rem;
}

.topbar__item {
    color: #fff;
    text-decoration: none;
}

.topbar__item:hover {
    color: #fff;
    text-decoration: underline;
}

.topbar__item--phone {
    margin-right: auto;
}

/* Header & navigation --------------------------------------------------- */

.site-header {
    border-bottom: 1px solid var(--hh-line);
    background: var(--hh-surface);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    padding-block: 1rem;
}

.site-header__logo {
    display: block;
    line-height: 0;
}

.site-header__logo img {
    width: clamp(11rem, 8rem + 12vw, 17rem);
    height: auto;
}

.main-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__list a {
    color: var(--hh-ink);
    font-family: var(--hh-font-display);
    font-weight: 700;
    text-decoration: none;
}

.main-nav__list a:hover,
.main-nav__list a[aria-current="page"],
.main-nav__list .current-menu-item > a {
    color: var(--hh-primary);
    text-decoration: underline;
}

.main-nav__list .sub-menu {
    display: none;
}

.main-nav__toggle {
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--hh-line);
    border-radius: var(--hh-radius);
    background: var(--hh-surface);
    color: var(--hh-ink);
    font: inherit;
    font-weight: 600;
}

/* With JS on small screens, the list is behind the toggle button. */
@media (max-width: 47.99rem) {
    .main-nav {
        display: contents;
    }

    .js .main-nav__toggle:not([hidden]) {
        display: inline-block;
    }

    .js .main-nav__list {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        padding-block: 0.5rem;
    }

    .js .main-nav__list.is-open {
        display: flex;
    }
}

@media (min-width: 48rem) {
    .main-nav__toggle {
        display: none;
    }
}

/* Driftsbesked ---------------------------------------------------------- */

.driftsbesked {
    border-bottom: 1px solid var(--hh-notice-line);
    background: var(--hh-notice-bg);
}

.driftsbesked__item {
    padding-block: 0.9rem;
    border-left: 4px solid var(--hh-notice-line);
    padding-left: 1rem;
}

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

.driftsbesked__title {
    margin: 0;
    font-weight: 700;
}

.driftsbesked__text > :first-child {
    margin-top: 0.25rem;
}

.driftsbesked__text > :last-child {
    margin-bottom: 0;
}

/* Content --------------------------------------------------------------- */

.page-title,
.entry__title {
    font-size: var(--hh-size-xl);
}

.entry__meta {
    margin: 0 0 0.5rem;
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
}

.entry__image {
    margin: 0 0 var(--hh-space);
}

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

.site-footer {
    margin-top: var(--hh-space);
    background: var(--hh-surface-alt);
    border-top: 4px solid var(--hh-brand);
    font-size: var(--hh-size-s);
}

.site-footer__inner {
    display: grid;
    gap: var(--hh-space);
    padding-block: var(--hh-space);
}

@media (min-width: 48rem) {
    .site-footer__inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

.site-footer__heading {
    color: var(--hh-primary-dark);
    font-size: var(--hh-size-m);
}

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

.site-footer__list li + li {
    margin-top: 0.35rem;
}

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

.page-wrap {
    padding-block: var(--hh-space);
}

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

.section--alt {
    background: var(--hh-surface-alt);
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.25rem;
}

.section__title {
    margin: 0;
    font-size: var(--hh-size-l);
}

.section__more {
    font-weight: 600;
}

.empty {
    color: var(--hh-ink-muted);
}

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

.hero {
    padding-block: var(--hh-space);
    background: var(--hh-brand-tint);
}

.hero__punchline {
    max-width: 44rem;
    margin: 0 0 1.25rem;
    color: var(--hh-primary-dark);
    font-size: 1.2rem;
    line-height: 1.45;
}

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

@media (min-width: 48rem) {
    .hero__halls {
        grid-template-columns: 1fr 1fr;
    }
}

.hero__hall {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: var(--hh-surface);
}

.hero__image {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.hero__hall-name {
    padding: 0.5rem 1rem;
    border-top: 4px solid var(--hh-brand);
    font-family: var(--hh-font-display);
    font-weight: 700;
}

.hero--plain .hero__hall-name {
    border-top: 0;
    border-left: 4px solid var(--hh-brand);
}

/* Cards ----------------------------------------------------------------- */

.card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--hh-line);
    border-radius: 10px;
    background: var(--hh-surface);
}

.card:hover {
    border-color: var(--hh-brand);
}

.card--featured {
    border: 2px solid var(--hh-brand);
}

.card__media {
    position: relative;
}

.card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card__image--placeholder {
    background: var(--hh-brand-tint);
}

.card--held .card__image {
    filter: grayscale(0.6);
}

.card__date {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.25rem;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    background: var(--hh-surface);
    color: var(--hh-primary-dark);
    font-family: var(--hh-font-display);
    line-height: 1.1;
}

.card__day {
    font-size: 1.4rem;
    font-weight: 700;
}

.card__month {
    font-size: var(--hh-size-s);
    font-weight: 600;
    text-transform: lowercase;
}

.card__body {
    padding: 1rem 1.1rem 1.2rem;
}

.card__label,
.status-label {
    display: inline-block;
    margin: 0 0 0.4rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--hh-brand-tint);
    color: var(--hh-primary-dark);
    font-size: var(--hh-size-s);
    font-weight: 700;
}

.card--held .card__label,
.status-label {
    background: var(--hh-surface-alt);
    color: var(--hh-ink-muted);
}

.card__title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.card__link {
    color: var(--hh-ink);
    text-decoration: none;
}

/* Whole card clickable, link stays the only focus target. */
.card__link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.card__link:focus-visible {
    outline: none;
}

.card:has(.card__link:focus-visible) {
    outline: 3px solid var(--hh-notice-line);
    outline-offset: 2px;
}

.card__meta {
    margin: 0 0 0.5rem;
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
}

.card__text {
    margin: 0;
}

/* Generated card graphics (inc/card-art.php) ----------------------------- */

.card-art {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.card-art__big {
    font-family: var(--hh-font-display);
    font-size: 200px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.card-art__label {
    font-family: var(--hh-font-display);
    font-size: 100px;
    font-weight: 700;
}

.event__art {
    border-radius: 10px;
}

/* Dagsprogram ----------------------------------------------------------- */

.dagsprogram__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 48rem) {
    .dagsprogram__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.dagsprogram__centre {
    padding: 1rem 1.25rem;
    border: 1px solid var(--hh-line);
    border-top: 4px solid var(--hh-brand);
    border-radius: 10px;
}

.dagsprogram__centre-name {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.dagsprogram__hall-name {
    margin: 0.9rem 0 0.25rem;
    color: var(--hh-primary-dark);
    font-family: var(--hh-font-display);
    font-size: var(--hh-size-m);
}

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

.dagsprogram__list li {
    display: flex;
    gap: 0.75rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--hh-surface-alt);
}

.dagsprogram__time {
    flex: 0 0 7.5rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.dagsprogram__area,
.dagsprogram__empty {
    color: var(--hh-ink-muted);
}

.dagsprogram__tomorrow {
    margin-top: 1.25rem;
}

.dagsprogram__tomorrow summary {
    margin-bottom: 1rem;
    color: var(--hh-primary);
    font-weight: 600;
    cursor: pointer;
}

/* News ------------------------------------------------------------------ */

.news__date {
    margin: 0 0 0.3rem;
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
}

.news__title {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
}

.news__text {
    margin: 0;
}

/* Logo band ------------------------------------------------------------- */

.logo-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logo-band img {
    display: block;
    width: auto;
    max-width: 9rem;
    max-height: 4rem;
    object-fit: contain;
}

/* Facebook -------------------------------------------------------------- */

.facebook {
    background: var(--hh-brand-tint);
}

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

.facebook p {
    margin: 0.35rem 0 0;
}

/* Calendar -------------------------------------------------------------- */

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--hh-line);
}

.tabs__tab {
    margin-bottom: -1px;
    padding: 0.6rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 8px 8px 0 0;
    color: var(--hh-ink);
    font-family: var(--hh-font-display);
    font-weight: 700;
    text-decoration: none;
}

.tabs__tab[aria-current="page"] {
    border-color: var(--hh-line);
    border-bottom-color: var(--hh-surface);
    background: var(--hh-surface);
    color: var(--hh-primary-dark);
    box-shadow: inset 0 3px 0 var(--hh-brand);
}

.month-heading {
    margin: 2rem 0 1rem;
    font-size: var(--hh-size-l);
    color: var(--hh-primary-dark);
}

.month-heading:first-of-type {
    margin-top: 0;
}

.pagination,
.navigation.pagination {
    margin-top: 2rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-links .page-numbers {
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--hh-line);
    border-radius: var(--hh-radius);
    text-decoration: none;
}

.nav-links .current {
    border-color: var(--hh-brand);
    background: var(--hh-brand-tint);
}

/* Single event ---------------------------------------------------------- */

.event .wrap--content:first-child {
    padding-bottom: 1rem;
}

.breadcrumb {
    margin: 0 0 1rem;
    font-size: var(--hh-size-s);
}

.event__when {
    margin: 0;
    font-size: var(--hh-size-l);
    color: var(--hh-primary-dark);
    font-family: var(--hh-font-display);
    font-weight: 600;
}

.event__image {
    margin-block: 0;
}

.event__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.25rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--hh-brand);
    background: var(--hh-surface-alt);
    border-radius: 0 10px 10px 0;
}

.facts dt {
    font-weight: 700;
}

.facts dd {
    margin: 0;
}

.facts__sub {
    display: block;
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
}

.event__gallery {
    margin-top: var(--hh-space);
}

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

.thumbs img {
    display: block;
    border-radius: 6px;
}

/* Fixed pages ----------------------------------------------------------- */

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

.wrap--prose {
    max-width: var(--hh-content);
}

.page-wrap.wrap--prose {
    max-width: calc(var(--hh-content) + 2 * var(--hh-gutter));
}

.page-intro {
    margin-bottom: 2rem;
}

.page-intro__text {
    font-size: 1.125rem;
}

/* People ---------------------------------------------------------------- */

.people-section {
    margin-top: var(--hh-space);
    padding-top: var(--hh-space);
    border-top: 1px solid var(--hh-line);
}

.people-section--first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.people-section--first .filter {
    margin-top: 0.5rem;
}

.people-section__title {
    margin-bottom: 0.35rem;
    font-size: var(--hh-size-xl);
    color: var(--hh-primary-dark);
}

.people-section__lead {
    max-width: 40rem;
    margin: 0 0 1.5rem;
    color: var(--hh-ink-muted);
    font-size: 1.125rem;
}

.filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
}

.filter__item {
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--hh-line);
    border-radius: 999px;
    background: var(--hh-surface);
    color: var(--hh-ink);
    font-weight: 700;
    text-decoration: none;
}

.filter__item:hover {
    border-color: var(--hh-brand);
    color: var(--hh-primary-dark);
}

.filter__item[aria-current="true"] {
    border-color: var(--hh-primary);
    background: var(--hh-primary);
    color: #fff;
}

.people-grid__item[hidden] {
    display: none;
}

.person__group {
    display: inline-block;
    margin: 0 0 0.4rem;
    padding: 0.05rem 0.6rem;
    border-radius: 999px;
    background: var(--hh-brand-tint);
    color: var(--hh-primary-dark);
    font-size: var(--hh-size-s);
    font-weight: 700;
}

.people-grid {
    margin-top: 0.5rem;
    display: grid;
    gap: 2.5rem 2rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}

.person {
    text-align: center;
}

.person__photo {
    display: block;
    width: 100%;
    max-width: 14rem;
    aspect-ratio: 1;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    object-fit: cover;
}

.person__photo--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hh-brand-tint);
    color: var(--hh-primary-dark);
    font-family: var(--hh-font-display);
    font-size: 2.5rem;
    font-weight: 700;
}

.person__name {
    margin: 0;
    font-size: 1.2rem;
}

.person__role {
    margin: 0.15rem 0 0.5rem;
    color: var(--hh-primary);
    font-weight: 600;
}

.person__about {
    max-width: 18rem;
    margin: 0 auto 0.75rem;
    font-style: italic;
    line-height: 1.5;
}

.person__about::before {
    content: "“";
}

.person__about::after {
    content: "”";
}

.person__contact {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--hh-size-s);
    overflow-wrap: anywhere;
}

/* Papers on "Om os" --------------------------------------------------------- */

.papers {
    margin-top: var(--hh-space);
    padding-top: var(--hh-space);
    border-top: 1px solid var(--hh-line);
}

.papers__grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

@media (min-width: 48rem) {
    .papers__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.papers__box {
    padding: 1.25rem;
    border-radius: 10px;
    background: var(--hh-surface-alt);
}

.papers__box h3 {
    margin-bottom: 0.4rem;
}

.papers__box .doc__meta {
    display: block;
    margin-bottom: 0.9rem;
}

/* Documents ------------------------------------------------------------- */

.doc-current {
    padding: 1.5rem;
    border-left: 4px solid var(--hh-brand);
    border-radius: 0 10px 10px 0;
    background: var(--hh-surface-alt);
}

.doc-current__label {
    margin: 0 0 0.25rem;
    color: var(--hh-primary);
    font-size: var(--hh-size-s);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.doc-current__title {
    margin: 0;
    font-size: var(--hh-size-l);
}

.doc-current__meta {
    margin: 0.25rem 0 1rem;
    color: var(--hh-ink-muted);
}

.doc-older-title {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.doc-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hh-line);
}

.doc {
    border-bottom: 1px solid var(--hh-line);
}

.doc__link {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0 0.75rem 2rem;
    background: no-repeat left 0.85rem / 1.2rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23086d8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E");
    text-decoration: none;
}

.doc__title {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.doc__meta {
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
}

/* Clubs ----------------------------------------------------------------- */

.club-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.club {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid var(--hh-line);
    border-radius: 10px;
}

.club__logo {
    display: flex;
    align-items: center;
    height: 5rem;
    margin-bottom: 0.9rem;
}

.club__logo img {
    width: auto;
    max-width: 10rem;
    max-height: 5rem;
    object-fit: contain;
}

.club__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--hh-brand-tint);
    color: var(--hh-primary-dark);
    font-family: var(--hh-font-display);
    font-size: 1.8rem;
    font-weight: 700;
}

.club__name {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
}

.club__activities {
    margin: 0 0 0.5rem;
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
}

.club__text {
    margin: 0 0 0.5rem;
}

.club__halls {
    margin: 0 0 0.75rem;
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
}

.club__link {
    margin-top: auto;
    font-weight: 600;
}

/* Rooms ----------------------------------------------------------------- */

.rooms-layout {
    display: grid;
    gap: var(--hh-space);
}

@media (min-width: 60rem) {
    .rooms-layout {
        grid-template-columns: minmax(0, 1fr) 18rem;
        align-items: start;
    }
}

.centre + .centre {
    margin-top: var(--hh-space);
}

.centre__name {
    margin-bottom: 0.15rem;
    font-size: var(--hh-size-l);
    color: var(--hh-primary-dark);
}

.centre__address {
    margin: 0 0 1rem;
    color: var(--hh-ink-muted);
}

.room__image {
    margin: 0 0 1.5rem;
}

.room__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

.room__thumbs {
    margin-top: 1.5rem;
}

.booking-box {
    padding: 1.25rem;
    border-top: 4px solid var(--hh-notice-line);
    border-radius: 0 0 10px 10px;
    background: var(--hh-notice-bg);
}

@media (min-width: 60rem) {
    .booking-box {
        position: sticky;
        top: 1rem;
    }
}

.booking-box__title {
    font-size: 1.2rem;
}

.booking-box__text > :last-child {
    margin-bottom: 0.75rem;
}

.booking-box__contact {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-wrap: anywhere;
}

.booking-box__contact li + li {
    margin-top: 0.3rem;
}

/* Gallery & news archive ------------------------------------------------ */

.gallery__meta {
    margin: -0.5rem 0 1.5rem;
    color: var(--hh-ink-muted);
}

.gallery-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(min(45%, 11rem), 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery-grid a {
    display: block;
    border-radius: 6px;
}

.gallery-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.news-list {
    display: grid;
    gap: 1.75rem;
}

.news-item {
    display: grid;
    gap: 1rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--hh-line);
}

@media (min-width: 40rem) {
    .news-item:has(.news-item__image) {
        grid-template-columns: 12rem 1fr;
    }
}

.news-item__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

/* Contact --------------------------------------------------------------- */

.contact-layout {
    display: grid;
    gap: var(--hh-space);
}

@media (min-width: 60rem) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr) 20rem;
        align-items: start;
    }
}

.contact-info {
    padding: 1.25rem;
    border-top: 4px solid var(--hh-brand);
    border-radius: 0 0 10px 10px;
    background: var(--hh-surface-alt);
    overflow-wrap: anywhere;
}

.contact-info__image {
    display: block;
    width: calc(100% + 2.5rem);
    max-width: none;
    margin: -1.25rem -1.25rem 1.25rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.contact-info__title {
    margin: 1rem 0 0.25rem;
    font-size: var(--hh-size-m);
    color: var(--hh-primary-dark);
}

.contact-info__title:first-of-type {
    margin-top: 0;
}

.contact-info p {
    margin: 0 0 0.6rem;
}

.contact-info__phone {
    font-size: var(--hh-size-l);
    font-weight: 700;
}

.contact-form .section__title {
    margin-bottom: 1.25rem;
}

.form__row--half {
    display: grid;
    gap: 0 1.25rem;
}

@media (min-width: 40rem) {
    .form__row--half {
        grid-template-columns: 1fr 1fr;
    }
}

.form__field {
    margin: 0 0 1rem;
}

.form__field label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.form__req {
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
    font-weight: 400;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #9fb5be;
    border-radius: var(--hh-radius);
    background: var(--hh-surface);
    color: var(--hh-ink);
    font: inherit;
}

.form textarea {
    resize: vertical;
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
    border-color: var(--hh-primary);
}

.form__hp {
    position: absolute;
    left: -9999px;
}

.form__privacy {
    color: var(--hh-ink-muted);
    font-size: var(--hh-size-s);
}

.form .button {
    border: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.form-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid;
    border-radius: 0 8px 8px 0;
}

.form-message p {
    margin: 0;
}

.form-message ul {
    margin: 0.5rem 0 0;
}

.form-message--ok {
    border-color: #2e7d4f;
    background: #e8f5ed;
}

.form-message--error {
    border-color: #b3261e;
    background: #fbeceb;
}

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