/*
 * Contoh Speed Club: the one stylesheet on top of the autofx template.
 *
 * The template CSS (bootstrap.min.css, main.css and the plugin sheets) stays
 * exactly as delivered; this file only adds the site's own blocks and evens
 * out what the template leaves uneven. Loaded last, with ?v=<file time>
 * (App\Http\Controllers\Site\Support\SiteAsset).
 *
 *  1. Tokens: the theme colour (BBMC red, in place of the template's orange),
 *     the light surface (inner pages) and the dark one (home page, dark
 *     sections), which components read their colours from
 *  2. Base and accessibility
 *  3. Buttons: one regular and one small size on every page
 *  4. Header: menu, account link, language switch, sticky bar
 *  5. Top bar
 *  6. Full-screen mobile menu
 *  7. Search popup
 *  8. Page title banner and breadcrumb
 *  9. Section heading and sample label
 * 10. Card grid and cards
 * 11. Forms, messages, empty state, pagination
 * 12. Footer
 * 13. Floating WhatsApp button and back to top
 * 14. Home page
 * 15. Error pages
 * 16. Style guide
 * 17. Content pages: about, board, membership, news, gallery, contact, privacy
 */

/* ---------------------------------------------------------------------------
 * 1. Tokens
 * ------------------------------------------------------------------------- */
:root {
    /* BBMC red, the 500 step of App\Filament\Support\BrandPalette, over the template's own theme colour (main.css stays as delivered). */
    --vs-theme-color1: #d90000;
    --site-red: var(--vs-theme-color1);
    --site-black: var(--vs-theme-color2);
    --site-whatsapp: #25d366;
    --site-danger: #dc2626;
    --site-danger-soft: #fef2f2;
    --site-success: #15803d;
    --site-warning: #b45309;
    --site-info: #1d4ed8;
    --site-tap: 48px;
    --site-header-offset: 96px;

    --site-btn-height: 56px;
    --site-btn-height-small: 48px;
    --site-btn-padding: 0 28px;
    --site-btn-padding-small: 0 20px;
    --site-btn-font-size: 16px;
    --site-btn-font-size-small: 14px;
    --site-btn-font-weight: 700;
    --site-btn-letter-spacing: 0.02em;
    --site-btn-radius: 0;
    --site-btn-gap: 10px;
}

@media (max-width: 991.98px) {
    :root {
        --site-btn-padding: 0 22px;
        --site-btn-padding-small: 0 16px;
        --site-header-offset: 72px;
    }
}

/* Inner pages and white sections. */
.site-surface-light {
    --site-bg: #ffffff;
    --site-heading: #080808;
    --site-text: #4c4c4c;
    --site-muted: #6b7280;
    --site-line: #e5e7eb;
    --site-card-bg: #ffffff;
    --site-card-border: #e5e7eb;
    --site-card-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    --site-card-hover-border: rgba(217, 0, 0, 0.45);
    --site-field-bg: #f3f4f6;
    --site-field-border: #d1d5db;
    --site-field-text: #080808;
    --site-placeholder-bg: #f3f4f6;
    --site-placeholder-icon: #9ca3af;
    --site-notch: #ffffff;
    --site-flair: var(--vs-theme-color2);
    --site-flair-text: #ffffff;
    --site-outline: #0c0c0c;
    --site-soft: #f5f4ee;
    color: var(--site-text);
}

/* Home page and dark sections (bg-main-two, bg-dark-light*). */
.site-surface-dark {
    --site-bg: #0c0c0c;
    --site-heading: #ffffff;
    --site-text: #c9c9c9;
    --site-muted: #989797;
    --site-line: rgba(255, 255, 255, 0.12);
    --site-card-bg: #1f1f1f;
    --site-card-border: rgba(255, 255, 255, 0.06);
    --site-card-shadow: none;
    --site-card-hover-border: rgba(217, 0, 0, 0.6);
    --site-field-bg: #1f1f1f;
    --site-field-border: rgba(255, 255, 255, 0.16);
    --site-field-text: #ffffff;
    --site-placeholder-bg: #171717;
    --site-placeholder-icon: rgba(217, 0, 0, 0.7);
    --site-notch: #0c0c0c;
    --site-flair: #ffffff;
    --site-flair-text: #0c0c0c;
    --site-outline: #ffffff;
    --site-soft: #171717;
    color: var(--site-text);
}

.site-surface-dark.bg-dark-light-two,
.site-surface-dark .bg-dark-light-two {
    --site-notch: #171717;
}

/* ---------------------------------------------------------------------------
 * 2. Base and accessibility
 * ------------------------------------------------------------------------- */
.site-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100001;
    padding: 12px 20px;
    background: #ffffff;
    color: #0c0c0c;
    font-weight: 700;
}

.site-skip-link:focus {
    top: 16px;
}

.site a:focus-visible,
.site button:focus-visible,
.site input:focus-visible,
.site select:focus-visible,
.site textarea:focus-visible,
.site summary:focus-visible {
    outline: 3px solid var(--vs-theme-color1);
    outline-offset: 2px;
}

.site-main {
    flex: 1 0 auto;
}

/*
 * main.css zeroes the margins of .list-unstyled, which a grid list
 * (ol.row.list-unstyled) needs: give a row its gutters back. The side ones
 * only where the container leaves room for them (a wide gutter would reach
 * past the edge of a phone screen).
 */
.row.list-unstyled {
    margin-top: calc(-1 * var(--bs-gutter-y));
}

@media (min-width: 576px) {
    .row.list-unstyled {
        margin-right: calc(-0.5 * var(--bs-gutter-x));
        margin-left: calc(-0.5 * var(--bs-gutter-x));
    }
}

.site [hidden] {
    display: none !important;
}

/* Content below a fixed header stays visible when a #link jumps to it. */
.site [id] {
    scroll-margin-top: calc(var(--site-header-offset) + 16px);
}

.site-section {
    padding-block: clamp(64px, 3rem + 4vw, 110px);
}

.site-section--soft {
    background-color: var(--site-soft);
}

.site-prose {
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.site-prose > * + * {
    margin-top: 1em;
}

.site-prose a {
    color: var(--vs-theme-color1);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * 3. Buttons: one regular size (56 px) and one small size (48 px) for every
 *    button of the site, the mobile menu included. Template markup that uses
 *    .btn directly gets the same sizes.
 * ------------------------------------------------------------------------- */
.site .btn,
.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--site-btn-gap);
    height: var(--site-btn-height) !important;
    min-height: 0 !important;
    max-width: 100%;
    padding: var(--site-btn-padding) !important;
    font-family: var(--body-font);
    font-size: var(--site-btn-font-size) !important;
    font-weight: var(--site-btn-font-weight) !important;
    line-height: 1 !important;
    letter-spacing: var(--site-btn-letter-spacing);
    text-transform: uppercase;
    border-radius: var(--site-btn-radius) !important;
    white-space: nowrap;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
}

.site .btn.site-btn--small,
.site .btn.btn-sm,
.site-btn.site-btn--small {
    height: var(--site-btn-height-small) !important;
    padding: var(--site-btn-padding-small) !important;
    font-size: var(--site-btn-font-size-small) !important;
}

.site-btn .button__label {
    display: inline-flex;
    align-items: center;
    gap: var(--site-btn-gap);
    min-width: 0;
    max-width: 100%;
}

.site-btn .button__label > span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-btn .button__label > i {
    flex-shrink: 0;
    font-size: 1.05em;
}

/* The hover flair (GSAP in site.js) and the side notches follow the surface. */
.site-btn .button__flair::before {
    background-color: var(--site-flair, var(--vs-theme-color2)) !important;
}

.site-btn.button-shape::before,
.site-btn.button-shape::after {
    background-color: var(--site-notch, #ffffff) !important;
}

.site-btn--main:hover,
.site-btn--main:focus-visible {
    background-color: var(--vs-theme-color1) !important;
    color: var(--site-flair-text, #ffffff) !important;
}

.site-btn--dark .button__flair::before,
.site-btn--white .button__flair::before,
.site-btn--outline .button__flair::before {
    background-color: var(--vs-theme-color1) !important;
}

/* A white button on a light surface and a dark one on a dark surface keep an edge. */
.site-surface-light .site-btn--white {
    box-shadow: inset 0 0 0 1px #d1d5db;
}

.site-surface-dark .site-btn--dark {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.site-btn--dark:hover,
.site-btn--dark:focus-visible,
.site-btn--white:hover,
.site-btn--white:focus-visible {
    color: #ffffff !important;
}

.site-btn--outline {
    background-color: transparent !important;
    color: var(--site-outline, #0c0c0c) !important;
    box-shadow: inset 0 0 0 2px currentColor;
}

.site-btn--outline.button--stroke::after {
    border-color: transparent;
}

.site-btn--outline:hover,
.site-btn--outline:focus-visible {
    color: #ffffff !important;
    box-shadow: inset 0 0 0 2px var(--vs-theme-color1);
}

.site-btn--outline.is-active {
    background-color: var(--vs-theme-color1) !important;
    color: #ffffff !important;
    box-shadow: none;
}

.site-btn:disabled,
.site-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* Buttons side by side: the same height, wrapping as a group. */
.site-button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px 16px;
}

@media (max-width: 575.98px) {
    .site-button-row--stack > .site-btn {
        width: 100%;
    }
}

/* ---------------------------------------------------------------------------
 * 4. Header
 * ------------------------------------------------------------------------- */
.site-header-area {
    position: relative;
    z-index: 999;
}

.site--overlay .site-header-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.site-header {
    width: 100%;
}

.site-header.fixed-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    animation: slideDown 0.35s ease-out;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

.site--overlay .site-header.fixed-header {
    background-color: var(--vs-theme-color2);
}

.site--solid .site-header.fixed-header {
    background-color: #ffffff;
}

.site-header__bar {
    flex-wrap: nowrap;
    gap: 16px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo__link {
    min-height: var(--site-tap);
    color: inherit;
}

.site-logo__text .site-logo__main {
    font-size: 30px;
}

.site-logo__text--small .site-logo__main {
    font-size: 24px;
}

.site-logo__image {
    display: block;
    width: auto;
    max-width: 200px;
    max-height: 56px;
}

.site-logo__image--small {
    max-height: 44px;
}

/* A badge or patch logo with the club name beside it (Logo::showsName()). */
.site-logo__lockup {
    gap: 12px;
}

.site-logo__badge {
    display: block;
    width: auto;
    height: 60px;
}

.site-logo__badge--small {
    height: 46px;
}

@media (max-width: 575.98px) {
    .site-logo__lockup {
        gap: 8px;
    }

    .site-logo__badge {
        height: 42px;
    }

    /* Beside a badge the name gets less room than the text logo alone, so it stays clear of the search and menu buttons. */
    .site-logo__lockup .site-logo__text .site-logo__main {
        font-size: 20px;
    }
}

@media (max-width: 374.98px) {
    .site-logo__lockup .site-logo__text .site-logo__main {
        font-size: 18px;
    }
}

/* Phones: the light header's red logo block is narrow, so the badge and the name beside it shrink. */
@media (max-width: 575.98px) {
    .site-logo-block .site-logo__lockup {
        gap: 8px;
    }

    .site-logo-block .site-logo__badge {
        height: 38px;
    }

    .site-logo-block .site-logo__lockup .site-logo__main {
        font-size: 18px;
    }

    .site-logo-block .site-logo__lockup .site-logo__small {
        font-size: 11px;
    }
}

/* The footer column is narrow: the name beside a badge wraps instead of running into the next column. */
.site-footer__logo .site-logo__lockup {
    max-width: 100%;
}

.site-footer__logo .site-logo__lockup .site-logo__text {
    white-space: normal;
}

.site-footer__logo .site-logo__lockup .site-logo__main {
    font-size: 24px;
}

/* The solid header's red logo block spans the whole bar height and never gets narrower than the red behind the
 * logo, so the black stripe drawn at its edge always closes the red off. */
.site-logo-block {
    flex-shrink: 0;
}

.site-logo-block .site-logo {
    height: 100%;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--site-nav-gap, 24px);
    margin: 0;
}

.site-nav .nav-menu__item > a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-size: var(--site-nav-font-size, 16px);
}

.site--solid .site-nav .nav-menu__item > a {
    color: var(--heading-color, #080808);
    color: hsl(var(--heading-color));
}

.site--solid .site-nav .nav-menu__item.activePage > a,
.site--solid .site-nav .nav-menu__item > a:hover {
    color: var(--vs-theme-color1) !important;
}

.site-nav .nav-submenu {
    width: max-content;
    min-width: 210px;
    max-width: min(320px, 90vw);
}

.site-nav .nav-submenu__link {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    white-space: normal;
}

.has-submenu:focus-within > .nav-submenu {
    visibility: visible;
    opacity: 1;
    transform: scaleY(1);
}

.site-nav__locale .lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 32px;
    padding: 0 10px !important;
    border: 2px solid currentColor;
    border-radius: 999px;
    line-height: 1;
}

.site-nav__locale .lang-switch:hover {
    color: var(--vs-theme-color1) !important;
}

/*
 * 992-1599 px: the whole menu and the actions stay on one line beside the logo block, sticky header included, in
 * both languages. The logo block never gives way (its black stripe would cut through the name and its red run over
 * the first menu item), so narrower screens get a smaller menu, logo and gaps instead; the menu is never hidden on a
 * desktop. Each range was measured every 8 px with the BBMC menu (Beranda to Kontak and the language switch).
 */
@media (min-width: 992px) and (max-width: 1099.98px) {
    :root {
        --site-nav-gap: 6px;
        --site-nav-font-size: 12px;
    }

    .site-nav .nav-menu__item.has-submenu > a {
        padding-inline-end: 14px;
    }

    .site-nav__locale .lang-switch {
        min-width: 38px;
        padding: 0 8px !important;
    }

    .site-logo__text .site-logo__main {
        font-size: 24px;
    }

    .site-header .site-logo__lockup .site-logo__badge {
        height: 40px;
    }

    .site-header .site-logo__lockup .site-logo__text .site-logo__main {
        font-size: 18px;
    }

    .site-logo-block .logo-bg-shape {
        padding-inline: 12px 4px;
    }
}

@media (min-width: 1100px) and (max-width: 1199.98px) {
    :root {
        --site-nav-gap: 8px;
        --site-nav-font-size: 13px;
    }

    .site-nav .nav-menu__item.has-submenu > a {
        padding-inline-end: 16px;
    }

    .site-logo__text .site-logo__main {
        font-size: 24px;
    }

    .site-header .site-logo__lockup .site-logo__badge {
        height: 44px;
    }

    .site-header .site-logo__lockup .site-logo__text .site-logo__main {
        font-size: 20px;
    }

    .site-logo-block .logo-bg-shape {
        padding-inline: 12px 4px;
    }
}

/* 1200-1343 px, where the join button appears beside the menu. */
@media (min-width: 1200px) and (max-width: 1343.98px) {
    :root {
        --site-nav-gap: 8px;
        --site-nav-font-size: 13px;
    }

    .site-header .site-logo__lockup .site-logo__badge {
        height: 44px;
    }

    .site-header .site-logo__lockup .site-logo__text .site-logo__main {
        font-size: 20px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-nav .nav-menu__item.has-submenu > a {
        padding-inline-end: 17px;
    }

    .site-logo__text .site-logo__main {
        font-size: 26px;
    }

    .site-logo-block .logo-bg-shape {
        padding-inline: 14px 6px;
    }
}

@media (min-width: 1344px) and (max-width: 1399.98px) {
    :root {
        --site-nav-gap: 14px;
        --site-nav-font-size: 14px;
    }
}

/* 992-1279 px: the image logo is 160 px wide instead of 200, so the menu and the actions fit beside it. */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .site-header .site-logo__image {
        max-width: 160px;
    }
}

/*
 * The slant after the solid header's logo block (main.css draws the red triangle and the black stripe outside the
 * block) reaches about 28 px past it at the menu's height. From 992 px this margin keeps that room in the row, so the
 * slant never covers the first menu item, whatever the screen width or the language.
 */
@media (min-width: 992px) {
    .site-logo-block {
        margin-inline-end: 24px;
    }
}

/* 1400-1599 px: the sizes of 1366 px, as the logo and the join button are wider here. */
@media (min-width: 1400px) and (max-width: 1599.98px) {
    :root {
        --site-nav-gap: 16px;
        --site-nav-font-size: 14px;
    }

    .site-logo__text .site-logo__main {
        font-size: 26px;
    }
}

@media (min-width: 1600px) {
    :root {
        --site-nav-gap: 24px;
        --site-nav-font-size: 16px;
    }
}

/* The theme widens the red after the logo with the screen (main.css, up to 100 px); 40 px keeps the menu's room. */
@media (min-width: 1400px) {
    .site-header .site-logo-block .logo-bg-shape {
        padding-inline-end: min(clamp(0.375rem, -40.75rem + 47vw, 6.25rem), 40px);
    }
}

.site-header__actions,
.site-header__desktop-actions {
    gap: 12px;
}

@media (min-width: 1400px) {
    .site-header__actions,
    .site-header__desktop-actions {
        gap: 16px;
    }
}

@media (min-width: 992px) and (max-width: 1343.98px) {
    .site-header__actions,
    .site-header__desktop-actions {
        gap: 8px;
    }
}

.site-icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--site-tap);
    height: var(--site-tap);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    transition: color 0.2s, background-color 0.2s;
}

.site--solid .site-header .site-icon-button {
    color: #080808;
}

.site-icon-button:hover,
.site-icon-button:focus-visible {
    color: var(--vs-theme-color1) !important;
    background-color: rgba(127, 127, 127, 0.12);
}

.site-icon-button.toggle-mobileMenu {
    font-size: 26px;
}

/* Desktop account link: an icon whose name appears on hover or keyboard focus. */
.site-account-link__label {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 5;
    padding: 6px 12px;
    background-color: var(--vs-theme-color1);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.site-account-link__label::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    border: 6px solid transparent;
    border-bottom-color: var(--vs-theme-color1);
    transform: translateX(-50%);
}

.site-account-link:hover .site-account-link__label,
.site-account-link:focus-visible .site-account-link__label {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.site-header__divider {
    flex-shrink: 0;
}

/* Phones and tablets: one row with the logo, search and the menu button. */
@media (max-width: 991.98px) {
    .site-header {
        padding-block: 8px;
    }

    .site--solid .site-header {
        padding-block: 0;
    }

    .site-header__actions {
        gap: 4px;
    }

    .site-logo__text .site-logo__main {
        font-size: 24px;
    }

    .site-logo-block .logo-bg-shape {
        padding: 10px 18px 10px 16px;
    }

    .site-logo-block {
        margin-inline-start: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    }
}

@media (max-width: 359.98px) {
    .site-logo__text .site-logo__main {
        font-size: 20px;
    }
}

/* Small phones: the name beside the badge wraps onto two lines, so the logo, the search and the menu button share one row. */
@media (max-width: 399.98px) {
    .site-header .site-logo__lockup .site-logo__badge {
        height: 34px;
    }

    .site-header .site-logo__lockup .site-logo__text {
        white-space: normal !important;
    }

    .site-header .site-logo__lockup .site-logo__text .site-logo__main {
        max-width: 6.5em;
        font-size: 16px;
    }

    .site-logo-block .logo-bg-shape {
        padding-inline: 12px 14px;
    }
}

/* ---------------------------------------------------------------------------
 * 5. Top bar (light inner pages, from 992 px)
 * ------------------------------------------------------------------------- */
.site-top-bar__link {
    min-height: 44px;
    white-space: nowrap;
}

/* 992-1199 px: the email gives way to the WhatsApp number, so the bar never wraps or runs under the slant. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-top-bar__secondary {
        display: none !important;
    }
}

.site-top-bar__link:hover {
    color: var(--vs-theme-color1) !important;
}

.site-top-bar__accent {
    min-width: 0;
}

.site-top-bar__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.site-top-bar__social:hover {
    color: var(--vs-theme-color2) !important;
}

/* ---------------------------------------------------------------------------
 * 6. Full-screen mobile menu (below 992 px)
 * ------------------------------------------------------------------------- */
body.site-menu-open {
    overflow: hidden;
}

.site-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.site-mobile-menu.active {
    transform: translateX(0);
}

.site-mobile-menu[hidden] {
    display: none;
}

.site-mobile-menu__top {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 8px 8px 8px 16px;
    background-color: var(--vs-theme-color1);
}

.site-mobile-menu__logo {
    display: inline-flex;
    align-items: center;
    min-height: var(--site-tap);
}

.site-mobile-menu__close {
    color: #ffffff !important;
    font-size: 28px;
}

.site-mobile-menu__close:hover,
.site-mobile-menu__close:focus-visible {
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.15) !important;
}

.site-mobile-menu__body {
    padding: 8px 16px 40px;
}

.site-mobile-nav__row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--site-line);
}

.site-mobile-nav__link {
    display: flex;
    flex: 1;
    align-items: center;
    min-height: 56px;
    color: #080808;
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-mobile-nav__item.is-active > .site-mobile-nav__row .site-mobile-nav__link,
.site-mobile-nav__link:hover,
.site-mobile-nav__sublink:hover,
.site-mobile-nav__sublink.is-active {
    color: var(--vs-theme-color1);
}

.site-mobile-nav__toggle {
    color: #080808 !important;
}

.site-mobile-nav__toggle i {
    font-size: 16px;
    transition: transform 0.2s;
}

.site-mobile-nav__item.is-open .site-mobile-nav__toggle i {
    transform: rotate(180deg);
}

.site-mobile-nav__sub {
    padding: 4px 0 8px 16px;
    border-bottom: 1px solid var(--site-line);
}

.site-mobile-nav__sublink {
    display: flex;
    align-items: center;
    min-height: var(--site-tap);
    color: #4c4c4c;
    font-size: 16px;
    font-weight: 600;
}

.site-mobile-menu__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}

@media (min-width: 480px) {
    .site-mobile-menu__actions {
        grid-template-columns: 1fr 1fr;
    }
}

.site-mobile-menu__actions .site-btn {
    width: 100%;
    padding-inline: 12px !important;
}

.site-mobile-menu__section {
    margin-top: 28px;
}

.site-mobile-menu__label {
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-locale-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.site-locale-buttons .site-btn {
    width: 100%;
    padding-inline: 8px !important;
}

/* Contact details (mobile menu and footer). */
.site-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-contact-list li {
    display: flex;
    gap: 14px;
    padding: 8px 0;
}

.site-contact-list li > i {
    flex-shrink: 0;
    width: 22px;
    margin-top: 4px;
    color: var(--vs-theme-color1);
    font-size: 18px;
    text-align: center;
}

.site-contact-list__label {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
}

.site-contact-list a {
    color: inherit;
}

.site-contact-list__link {
    display: inline-flex !important;
    align-items: center;
}

@media (max-width: 991.98px) {
    .site-contact-list__link {
        min-height: var(--site-tap);
    }
}

.site-contact-list a:hover {
    color: var(--vs-theme-color1);
}

.site-contact-list--menu,
.site-contact-list--menu a {
    color: #080808;
}

.site-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--site-tap);
    height: var(--site-tap);
    border: 1px solid var(--site-line, rgba(255, 255, 255, 0.15));
    border-radius: 50%;
    color: var(--site-heading, #ffffff);
    font-size: 18px;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.site-social-link:hover,
.site-social-link:focus-visible {
    background-color: var(--vs-theme-color1);
    border-color: var(--vs-theme-color1);
    color: #ffffff;
}

/* ---------------------------------------------------------------------------
 * 7. Search popup
 * ------------------------------------------------------------------------- */
.search-popup {
    overflow: hidden;
}

.search-popup.active {
    height: auto;
    min-height: 320px;
}

.search-popup__close {
    width: 64px;
    height: 64px;
}

.site-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--site-tap);
    height: var(--site-tap);
    border: 0;
    background: transparent;
    color: #080808;
}

.site-search-submit:hover {
    color: var(--vs-theme-color1);
}

.search-popup__input {
    padding-inline-end: 56px !important;
}

@media (max-width: 575.98px) {
    .search-popup__input {
        font-size: 20px;
    }
}

/* ---------------------------------------------------------------------------
 * 8. Page title banner and breadcrumb
 * ------------------------------------------------------------------------- */
.site-page-banner {
    position: relative;
    padding: clamp(80px, 3rem + 5vw, 150px) 0 clamp(64px, 2.5rem + 4vw, 120px) !important;
    background-color: #111827;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, 0.62);
}

.site-page-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background-color: var(--vs-theme-color1);
}

.site-page-banner__title {
    overflow-wrap: anywhere;
}

.site-crumbs {
    gap: 4px 12px;
    font-size: 18px;
}

.site-crumbs__link,
.site-crumbs__current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--site-tap);
}

.site-crumbs__link {
    justify-content: center;
    min-width: var(--site-tap);
}

.site-crumbs__link:hover {
    color: var(--vs-theme-color1) !important;
}

/* A separator and the crumb it leads to stay together when the trail wraps; a long current page title wraps inside its item. */
.site-crumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

.site-crumbs__current {
    min-width: 0;
}

.site-crumbs__divider {
    display: inline-flex;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 13px;
}

@media (max-width: 767.98px) {
    .site-crumbs {
        font-size: 16px;
    }
}

/* ---------------------------------------------------------------------------
 * 9. Section heading and sample label
 * ------------------------------------------------------------------------- */
.site-heading__title {
    color: var(--site-heading);
    overflow-wrap: anywhere;
}

.site-heading__text {
    max-width: 640px;
    color: var(--site-text);
}

.site-heading--center .site-heading__text {
    margin-inline: auto;
}

.site-heading__kicker {
    max-width: 100%;
}

.site-sample-badge {
    display: inline-flex !important;
    align-items: center;
    padding: 4px 10px;
    border: 1px solid rgba(217, 0, 0, 0.5);
    border-radius: 999px;
    background-color: rgba(217, 0, 0, 0.1);
    color: var(--vs-theme-color1);
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-sample-badge--solid,
.site-card__badges .site-sample-badge {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(12, 12, 12, 0.82);
    color: #ffffff;
}

/* ---------------------------------------------------------------------------
 * 10. Card grid and cards
 *
 * A card has five parts (media, meta, title, text or prices, action), each a
 * row of the grid (CSS subgrid), so the parts of every card in a grid row
 * line up and all cards of the row are equally tall whatever their text.
 * ------------------------------------------------------------------------- */
.site-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 0;
}

@media (min-width: 576px) {
    .site-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .site-card-grid--cols-3,
    .site-card-grid--cols-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .site-card-grid--cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.site-card {
    --site-card-pad: 24px;
    --site-notch: var(--site-card-bg);
    position: relative;
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
    margin-bottom: 24px;
    overflow: hidden;
    background-color: var(--site-card-bg);
    border: 1px solid var(--site-card-border);
    border-radius: 12px;
    box-shadow: var(--site-card-shadow);
    transition: border-color 0.3s, box-shadow 0.3s;
}

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

/* Browsers without subgrid: the card is a column and the parts keep fixed line counts. */
@supports not (grid-template-rows: subgrid) {
    .site-card {
        display: flex;
        flex-direction: column;
    }

    .site-card__title {
        min-height: calc(2 * 1.3em + 20px);
    }

    .site-card__action {
        margin-top: auto;
    }
}

.site-card > * {
    min-width: 0;
    margin: 0;
}

.site-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--site-placeholder-bg);
}

.site-card--product .site-card__media {
    aspect-ratio: 1 / 1;
}

.site-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.site-card:hover .site-card__media img {
    transform: scale(1.05);
}

.site-card__placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--site-placeholder-icon);
    font-size: 48px;
    background:
        radial-gradient(circle at 30% 20%, rgba(217, 0, 0, 0.12), transparent 60%),
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(127, 127, 127, 0.06) 14px 28px);
}

.site-card__placeholder--initials {
    font-family: var(--heading-font);
    font-size: 64px;
    font-weight: 700;
    color: var(--vs-theme-color1);
}

.site-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
}

.site-card__status {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: var(--vs-theme-color1);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-card__status--closed {
    background-color: #4b5563;
}

.site-card__status--cancelled {
    background-color: var(--site-danger);
}

.site-card__date {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 8px 10px;
    background-color: var(--vs-theme-color1);
    color: #ffffff;
    font-family: var(--heading-font);
    line-height: 1;
    text-transform: uppercase;
}

.site-card__date-day {
    font-size: 28px;
    font-weight: 700;
}

.site-card__date-month {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 700;
}

.site-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 20px var(--site-card-pad) 0;
    color: var(--site-muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-card__meta--position {
    padding-top: 6px;
    color: var(--vs-theme-color1);
}

.site-card__meta--with-icon {
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.site-card__icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    border: 4px solid var(--site-card-bg);
    color: #ffffff;
    font-size: 22px;
}

.site-card__meta-divider {
    width: 1px;
    height: 12px;
    background-color: var(--site-line);
}

.site-card__title {
    padding: 8px var(--site-card-pad) 0;
    color: var(--site-heading);
    font-size: 22px;
    line-height: 1.3;
}

.site-card__title a {
    display: block;
    color: inherit;
    /* A taller tap area (48 px on phones) without moving the text. */
    padding-block: 10px;
    margin-block: -10px;
}

.site-card__title-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-card__title a:hover {
    color: var(--vs-theme-color1);
}

.site-card__text {
    padding: 10px var(--site-card-pad) 0;
    color: var(--site-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-card__facts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 12px var(--site-card-pad) 0;
    color: var(--site-text);
    list-style: none;
}

.site-card__facts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.site-card__facts i {
    flex-shrink: 0;
    width: 18px;
    margin-top: 5px;
    color: var(--vs-theme-color1);
    text-align: center;
}

.site-card__fee {
    color: var(--site-heading);
    font-weight: 700;
}

.site-card__prices {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px var(--site-card-pad) 0;
}

.site-card__price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin: 0;
}

.site-card__price {
    color: var(--site-heading);
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
}

.site-card__price-before {
    color: var(--site-muted);
    font-size: 16px;
    font-weight: 600;
}

.site-card__member-price {
    min-height: 1.6em;
    margin: 2px 0 0;
    color: var(--vs-theme-color1);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

/* The icon must not raise the line: a card with a member price stays as tall as one without. */
.site-card__member-price i {
    line-height: 1;
}

.site-card__action {
    align-self: end;
    padding: 20px var(--site-card-pad) var(--site-card-pad);
}

.site-card__socials {
    gap: 8px;
}

.site-card.is-sold-out .site-card__media img {
    filter: grayscale(0.7);
}

/*
 * The arrow bar of the template's service card (checkpoint cards). It acts as a
 * button, so its label has the small button's type (section 3): the same
 * height, font, size, weight and capitals as every other small button.
 */
.site-card-bar {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--site-btn-height-small);
    padding: 0 120px 0 20px;
    overflow: hidden;
    background-color: var(--vs-theme-color2);
    color: #ffffff;
    font-family: var(--body-font);
    font-size: var(--site-btn-font-size-small);
    font-weight: var(--site-btn-font-weight);
    line-height: 1;
    letter-spacing: var(--site-btn-letter-spacing);
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.5s;
}

.site-card-bar > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-card-bar__arrow {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 96px;
    padding-left: 18px;
    background-color: var(--vs-theme-color1);
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
    transition: background-color 0.5s;
}

.site-card-bar:hover,
.site-card-bar:focus-visible {
    background-color: var(--vs-theme-color1);
    color: #ffffff;
}

.site-card-bar:hover .site-card-bar__arrow,
.site-card-bar:focus-visible .site-card-bar__arrow {
    background-color: var(--vs-theme-color2);
}

.site-link-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: var(--site-tap);
    color: var(--vs-theme-color1);
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
}

.site-link-more:hover {
    color: var(--site-heading);
}

/*
 * Board member card: the template's team page card (team-page-item). The
 * rounded square photo (the template's team photos are square), then the
 * white box over the photo's lower edge (70 px, the template's
 * tw--mt-70-px, made here by the photo's negative bottom margin so the grid
 * rows stay positive). Photo, name, position, checkpoint and links are rows of
 * the card grid (subgrid), so the boxes of a row are equally tall and their
 * parts line up whatever the text.
 */
.site-board-card,
.site-board-card__body,
.site-board-card__box {
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
    min-width: 0;
}

.site-board-card {
    grid-row: span 5;
    margin-bottom: 48px;
}

.site-board-card__body,
.site-board-card__box {
    grid-row: span 4;
}

.site-board-card__media {
    aspect-ratio: 1 / 1;
    margin-bottom: -70px;
    background-color: var(--site-placeholder-bg);
}

.site-board-card__media img {
    object-position: center top;
}

.site-board-card__box > * {
    min-width: 0;
    margin: 0;
}

.site-board-card__name {
    overflow-wrap: anywhere;
}

.site-board-card__name a {
    display: block;
    /* A taller tap area (48 px on phones) without moving the text. */
    padding-block: 10px;
    margin-block: -10px;
}

.site-board-card__position {
    padding-top: 12px;
}

.site-board-card__checkpoint {
    padding-top: 6px;
    color: var(--site-muted);
    font-size: 14px;
}

.site-board-card__checkpoint i {
    margin-inline-end: 4px;
    color: var(--vs-theme-color1);
}

.site-board-card__socials {
    gap: 8px;
    margin: 0;
}

.site-board-card__socials > li {
    margin-top: 16px;
}

.site-board-card__social {
    width: var(--site-tap);
    height: var(--site-tap);
    font-size: 18px;
    transition: background-color 0.5s;
}

.site-board-card__social:hover,
.site-board-card__social:focus-visible {
    background-color: var(--vs-theme-color1);
    color: #ffffff;
}

@supports not (grid-template-rows: subgrid) {
    .site-board-card,
    .site-board-card__body,
    .site-board-card__box {
        display: flex;
        flex-direction: column;
    }

    .site-board-card__body,
    .site-board-card__box {
        flex: 1 0 auto;
    }

    .site-board-card__socials {
        margin-top: auto;
    }
}

/* Cards inside a Swiper slider (home page): every slide as tall as the tallest. */
.swiper-slide > .site-card {
    display: flex;
    flex-direction: column;
    height: calc(100% - 24px);
}

.swiper-slide > .site-card .site-card__action {
    margin-top: auto;
}

.site-card-slider .swiper-slide {
    height: auto;
}

/* ---------------------------------------------------------------------------
 * 11. Forms, messages, empty state, pagination
 * ------------------------------------------------------------------------- */
.site-form {
    position: relative;
}

.site-field + .site-field {
    margin-top: 0;
}

.site-field__label {
    display: block;
    margin-bottom: 8px;
    color: var(--site-heading);
    font-size: 15px;
    font-weight: 700;
}

.site-field__mark {
    margin-inline-start: 4px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 500;
}

.site-field__mark--required {
    color: var(--site-danger);
    font-size: 15px;
    font-weight: 700;
}

.site-field__control {
    display: block;
    width: 100%;
    min-height: 56px;
    background-color: var(--site-field-bg) !important;
    border: 1px solid var(--site-field-border) !important;
    color: var(--site-field-text);
    font-size: 16px;
    line-height: 1.5;
    border-radius: 0;
}

.site-field__control::placeholder {
    color: var(--site-muted);
    opacity: 1;
}

.site-field__control:focus {
    border-color: var(--vs-theme-color1) !important;
    box-shadow: 0 0 0 3px rgba(217, 0, 0, 0.18);
}

select.site-field__control {
    padding-inline-end: 44px !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d90000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 18px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
}

.site-surface-dark select.site-field__control option {
    color: #0c0c0c;
}

textarea.site-field__control {
    min-height: 140px;
    resize: vertical;
}

.site-field__control.is-invalid,
.site-field__control[aria-invalid="true"] {
    border-color: var(--site-danger) !important;
}

.site-field__hint {
    margin: 6px 0 0;
    color: var(--site-muted);
    font-size: 14px;
}

.site-field__error {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 6px 0 0;
    color: var(--site-danger);
    font-size: 14px;
    font-weight: 600;
}

.site-surface-dark .site-field__error {
    color: #fca5a5;
}

.site-field__error i {
    margin-top: 4px;
}

.site-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: var(--site-tap);
    padding-block: 12px;
    color: var(--site-text);
    cursor: pointer;
}

.site-check__input {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    accent-color: var(--vs-theme-color1);
    cursor: pointer;
}

.site-check__label {
    display: block !important;
    line-height: 1.5;
}

.site-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid transparent;
    border-inline-start-width: 4px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.site-alert > i {
    margin-top: 2px;
    font-size: 22px;
}

.site-alert__title {
    font-weight: 700;
}

.site-alert--success {
    background-color: #f0fdf4;
    border-color: #86efac;
    border-inline-start-color: var(--site-success);
    color: #14532d;
}

.site-alert--success > i {
    color: var(--site-success);
}

.site-alert--error {
    background-color: var(--site-danger-soft);
    border-color: #fca5a5;
    border-inline-start-color: var(--site-danger);
    color: #7f1d1d;
}

.site-alert--error > i {
    color: var(--site-danger);
}

.site-alert--warning {
    background-color: #fffbeb;
    border-color: #fcd34d;
    border-inline-start-color: var(--site-warning);
    color: #78350f;
}

.site-alert--warning > i {
    color: var(--site-warning);
}

.site-alert--info {
    background-color: #eff6ff;
    border-color: #93c5fd;
    border-inline-start-color: var(--site-info);
    color: #1e3a8a;
}

.site-alert--info > i {
    color: var(--site-info);
}

.site-flash {
    display: grid;
    gap: 12px;
}

.site-empty {
    padding: 48px 24px;
    border: 1px dashed var(--site-line);
    border-radius: 16px;
    background-color: var(--site-soft);
}

.site-empty__icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background-color: rgba(217, 0, 0, 0.1);
    color: var(--vs-theme-color1);
    font-size: 36px;
}

.site-empty__title {
    color: var(--site-heading);
}

.site-empty__text {
    color: var(--site-text);
}

.site-pagination {
    margin-top: 24px;
}

.site-pagination ul {
    gap: 8px;
}

.site-pagination__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0 12px;
    border: 1px solid var(--site-card-border);
    background-color: var(--site-card-bg);
    color: var(--site-heading);
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

a.site-pagination__link:hover,
.site-pagination__link.is-active {
    background-color: var(--vs-theme-color1);
    border-color: var(--vs-theme-color1);
    color: #ffffff;
}

.site-pagination__link.is-disabled {
    opacity: 0.4;
}

.site-pagination__link.is-gap {
    border-color: transparent;
    background: transparent;
}

/* ---------------------------------------------------------------------------
 * 12. Footer
 * ------------------------------------------------------------------------- */
.site-footer__map {
    pointer-events: none;
}

.site-footer__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer__cta {
    padding-inline: clamp(24px, 4vw, 50px) !important;
}

.site-footer__cta-title {
    overflow-wrap: anywhere;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    min-height: var(--site-tap);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
}

.site-footer__phone {
    display: inline-flex;
    align-items: center;
}

.site-footer__bottom-text a {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__bottom-text a:hover {
    color: #ffffff;
}

.site-footer--solid .site-footer__bottom-text a:hover {
    color: var(--vs-theme-color2);
}

.site-footer__made-by a {
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .site-footer__links {
        gap: 0;
    }

    .site-footer__links a,
    .site-footer .site-contact-list a,
    .site-footer__phone,
    .site-footer__bottom-text a {
        min-width: var(--site-tap);
        min-height: var(--site-tap);
    }

    .site-footer__cta .site-btn {
        width: 100%;
    }

    /* The last line keeps clear of the floating WhatsApp button. */
    .site-footer__bottom {
        padding-inline-end: 72px;
    }
}

/* Wider screens: the floating WhatsApp button (16 px from the edge, 56 px wide) must not touch the credit either. */
@media (min-width: 992px) {
    .site-footer__bottom {
        padding-inline-end: max(0px, calc(88px - (100vw - 100%) / 2));
    }
}

/* ---------------------------------------------------------------------------
 * 13. Floating WhatsApp button and back to top
 * ------------------------------------------------------------------------- */
.site-whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--site-whatsapp);
    color: #ffffff;
    font-size: 30px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.site-whatsapp-float:hover,
.site-whatsapp-float:focus-visible {
    color: #ffffff;
    transform: scale(1.06);
}

.progress-wrap.site-scroll-top {
    right: 20px;
    bottom: 88px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    z-index: 999;
}

.progress-wrap.site-scroll-top::after {
    width: 48px;
    height: 48px;
    line-height: 48px;
}

@media (max-width: 991.98px) {
    .progress-wrap.site-scroll-top {
        display: none;
    }
}

body.site-menu-open .site-whatsapp-float,
body.site-menu-open .site-scroll-top {
    display: none;
}

/* ---------------------------------------------------------------------------
 * 14. Home page
 * ------------------------------------------------------------------------- */
.site-hero .swiper-slide {
    height: auto;
}

.site-hero .banner-padding {
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* The dark layer that keeps the text readable: even on phones and tablets (the text spans the photo), on wide screens dark
   behind the text on the left and light on the right, so the right half of the photo (or a logo placed there) keeps its colour. */
.site-hero .banner-padding::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

/* Narrow screens show only a slice of the wide photo: take it right of centre, where a slide's subject or logo sits beside the text on wide screens. */
@media (max-width: 991.98px) {
    .site-hero .banner-padding {
        background-position: 80% center !important; /* over the template's .bg-img, which centres with !important */
    }

    /* The text spans the photo here, so a little darker than the wide-screen left side. */
    .site-hero .banner-padding::before {
        background: rgba(0, 0, 0, 0.74);
    }
}

@media (min-width: 992px) {
    .site-hero .banner-padding::before {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.2) 66%, rgba(0, 0, 0, 0.08) 100%);
    }
}

.site-hero .banner-item h1 {
    overflow-wrap: anywhere;
}

.site-hero__badge {
    margin-bottom: 16px;
}

@media (max-width: 575.98px) {
    .site-hero .banner-item h1 {
        font-size: 44px;
    }

    .site-hero .banner-padding {
        padding: 136px 0 132px;
    }
}

.site-hero .banner-slider-pagination {
    display: flex;
    gap: 8px;
}

.site-hero .banner-slider-pagination .swiper-pagination-bullet {
    margin: 0 !important;
}

/* About block: portrait photos; the first fills its column so the year badge sits on it. */
.site-about-photo img {
    aspect-ratio: 640 / 820;
    object-fit: cover;
}

@media (min-width: 768px) {
    .about-three .col-md-4 .site-about-photo,
    .about-three .col-md-4 .site-about-photo .split-reveal-element,
    .about-three .col-md-4 .site-about-photo .scale-up-wrapper {
        height: 100%;
    }

    .about-three .col-md-4 .site-about-photo img {
        aspect-ratio: auto;
        min-height: 100%;
    }
}

.site-about-badge {
    padding: 24px 28px;
}

.site-feature-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 24px;
}

/* Counter row: equal columns, the sample label above the numbers. */
.counter-three-item {
    flex: 1 1 0;
    min-width: 0;
}

.site-stats__note {
    margin-bottom: 20px;
}

/* Gallery strip: the template's portrait tiles; on touch screens the caption stays visible. */
.gallery-item .scale-up-wrapper img {
    aspect-ratio: 480 / 688;
}

.gallery-item .gallery-content a {
    display: inline-flex;
    min-height: var(--site-tap);
}

@media (hover: none) {
    .gallery-item .gallery-content {
        top: auto !important;
        bottom: 0;
        height: auto !important;
        padding: 20px 24px !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        background-color: rgba(12, 12, 12, 0.82) !important;
    }

    .gallery-item .gallery-content .text-140-px {
        display: none !important;
    }
}

/* Membership cards: the header, the features and the button of each card line up across the row. */
.site-plans {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 24px;
}

@media (min-width: 576px) {
    .site-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.site-plan {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
    margin-bottom: 24px;
    padding: 40px 28px !important;
}

@supports not (grid-template-rows: subgrid) {
    .site-plan {
        display: flex;
        flex-direction: column;
    }

    .site-plan__action {
        margin-top: auto;
    }
}

.site-plan__price {
    overflow-wrap: anywhere;
}

/* Testimonials: every slide as tall as the tallest. */
.testimonials-three-slider .swiper-slide {
    height: auto;
}

.testimonial-three-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-three-item .site-quote__footer {
    margin-top: auto;
}

.site-avatar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--vs-theme-color1);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
}

.site-slider-nav {
    gap: 12px;
}

.site-slider-nav button {
    width: var(--site-tap);
    height: var(--site-tap);
}

/* Fundraiser progress. */
.site-progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.12);
}

.site-surface-light .site-progress {
    background-color: #e5e7eb;
}

.site-progress__bar {
    display: block !important;
    height: 100%;
    border-radius: inherit;
    background-color: var(--vs-theme-color1);
}

.site-donation__image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

@media (min-width: 992px) {
    .site-donation__image img {
        aspect-ratio: auto;
        min-height: 360px;
    }
}

/* ---------------------------------------------------------------------------
 * 15. Error pages
 * ------------------------------------------------------------------------- */
.site-error {
    padding-block: clamp(64px, 3rem + 4vw, 110px);
}

.site-error__image {
    width: min(100%, 520px);
    height: auto;
}

.site-error__code {
    font-family: var(--heading-font);
    font-size: clamp(6rem, 4rem + 8vw, 11rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0.04em;
    color: transparent;
    -webkit-text-stroke: 3px var(--vs-theme-color1);
}

.site-error__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 24px;
    margin-top: 28px;
}

.site-error__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--site-tap);
    color: var(--site-text);
    font-weight: 700;
}

.site-error__links a:hover {
    color: var(--vs-theme-color1);
}

/* ---------------------------------------------------------------------------
 * 16. Style guide (local only)
 * ------------------------------------------------------------------------- */
.site-guide__section + .site-guide__section {
    margin-top: 64px;
}

.site-guide__title {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--site-line);
    color: var(--site-heading);
    font-size: 26px;
}

.site-guide__label {
    margin-bottom: 12px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-guide__panel {
    padding: 24px;
    border: 1px dashed var(--site-line);
}

.site-guide__dark {
    padding: 24px;
    background-color: var(--vs-theme-color2);
}

.site-guide__code {
    display: block;
    margin-top: 12px;
    padding: 12px 16px;
    background-color: #0c0c0c;
    color: #f5f5f5;
    font-size: 13px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------------------
 * 17. Content pages: about, board, membership, news, gallery, contact, privacy
 * ------------------------------------------------------------------------- */

/* Footer: the newest gallery photos, square tiles. */
.site-footer__photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 1200px) {
    .site-footer__photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.site-footer__photo {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 8px;
}

.site-footer__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.site-footer__photo:hover img,
.site-footer__photo:focus-visible img {
    transform: scale(1.08);
}

.site-footer__divider {
    margin-inline: 6px;
}

/* The dot never stays alone at a line end: it goes with the privacy link, and on phones the link takes its own line without it. */
.site-footer__privacy {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .site-footer__privacy {
        display: block;
    }

    .site-footer__privacy .site-footer__divider {
        display: none;
    }
}

/* About: the template's two photos and the year badge keep their places whatever size the uploaded photos are. */
.site-about-two__main {
    flex: 0 0 34%;
}

.site-about-two__main .border-rounded-before,
.site-about-two__main figure,
.site-about-two__main .scale-up-wrapper {
    width: 100%;
    height: auto;
}

.site-about-two__main img {
    aspect-ratio: 2 / 5;
    object-fit: cover;
}

.site-about-two__side {
    flex: 1 1 0;
    min-width: 0;
}

.site-about-two__side figure,
.site-about-two__side .scale-up-wrapper {
    width: 100%;
}

.site-about-two__side img {
    aspect-ratio: 272 / 355;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .site-about-two__side {
        padding-top: 0 !important;
    }
}

.site-tabs .nav-link {
    min-height: var(--site-tap);
}

.site-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-timeline li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
}

.site-timeline__year {
    grid-column: 1;
    color: var(--vs-theme-color1);
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
}

.site-timeline__text {
    grid-column: 2;
    color: var(--site-text);
}

/* The steps to join: one frame size for every step photo, whatever its shape. */
.site-steps__media {
    width: 220px;
    height: 200px;
    max-width: 100%;
}

.site-steps__media img {
    width: 100%;
    height: 100%;
}

.site-steps__icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background-color: var(--site-card-bg);
    color: var(--vs-theme-color1);
    font-size: 56px;
}

.site-steps > li:last-child .dashed-arrow-right::before {
    display: none;
}

/* About testimonials (testi-four): the round portrait or its initials. */
.site-quote__avatar img,
.site-quote__avatar .site-avatar {
    width: 100%;
    height: 100%;
}

.site-quote__avatar .site-avatar {
    font-size: 44px;
}

.site-slider-dots {
    display: flex;
    gap: 8px;
}

.site-slider-dots .swiper-pagination-bullet {
    width: 28px;
    height: 6px;
    margin: 0 !important;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.site-slider-dots .swiper-pagination-bullet-active {
    background-color: var(--vs-theme-color1);
}

/* Membership price cards: the head, the line, the features and the button of every card line up across a row. */
.site-price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 24px;
}

@media (min-width: 768px) {
    .site-price-grid--2,
    .site-price-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .site-price-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.site-price-card,
.site-price-card__body {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
}

.site-price-card {
    margin-bottom: 24px;
}

.site-price-card__action {
    align-self: end;
}

@supports not (grid-template-rows: subgrid) {
    .site-price-card,
    .site-price-card__body {
        display: flex;
        flex-direction: column;
    }

    .site-price-card__action {
        margin-top: auto;
        padding-top: 40px;
    }
}

.site-price-card__price {
    overflow-wrap: anywhere;
}

.site-link-tap {
    min-height: var(--site-tap);
}

.site-faq .accordion-button {
    min-height: var(--site-tap);
}

/* Contact: the round icons of the club's details, the form panel and the map. */
.site-contact-cards__icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
}

.site-contact-cards__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--site-tap);
    overflow-wrap: anywhere;
}

/*
 * A link inside a form's hint (the privacy policy) is still a full tap target
 * on phones, without opening a gap in the sentence: the padding makes the box
 * 48 px tall and the negative margin of the same size keeps the line as tall
 * as the text around it.
 */
@media (max-width: 991.98px) {
    .site-field__hint a {
        display: inline-block;
        padding-block: calc((var(--site-tap) - 1.5em) / 2);
        margin-block: calc((var(--site-tap) - 1.5em) / -2);
        line-height: 1.5;
    }
}

.site-contact-socials {
    border-top: 1px dashed var(--site-line);
}

.site-form-panel {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--site-line);
    border-radius: 16px;
    background-color: var(--site-bg);
    box-shadow: var(--site-card-shadow);
}

.site-map {
    overflow: hidden;
}

.site-map__frame iframe {
    display: block;
    width: 100%;
    height: clamp(320px, 40vw, 460px);
    border: 0;
    filter: grayscale(0.25);
}

/* News list: what the list is filtered by, the sidebar and its join box. */
.site-filter-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 12px 20px;
    border-left: 4px solid var(--vs-theme-color1);
    background-color: var(--site-soft);
    color: var(--site-heading);
}

.site-filter-summary__clear {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--site-tap);
    color: var(--vs-theme-color1);
    font-weight: 700;
}

.site-sidebar .widget_categories a {
    min-height: var(--site-tap);
}

.site-sidebar .widget_categories a.is-active {
    border-color: var(--vs-theme-color1);
    color: var(--vs-theme-color1);
}

.site-sidebar .recent-post .media-img img,
.site-sidebar .recent-post .site-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-sidebar .recent-post .post-title a {
    display: inline-block;
    padding-block: 4px;
}

/* The template's search widget: as tall as every other field (56 px), the button a 56 px square. */
.site-sidebar .wp-block-search .wp-block-search__input,
.site-sidebar .wp-block-search .wp-block-search__button {
    height: 56px;
}

.site-sidebar .wp-block-search .wp-block-search__button {
    flex-shrink: 0;
    width: 56px;
}

.site-sidebar__promo {
    background: linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)), url("../images/home/hero-meetup.webp") center / cover no-repeat;
}

/* A post: the cover keeps one shape, the body reads like an article, the author box and the neighbouring posts. */
.site-article .vs-blog__img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
}

.site-prose--document h2,
.site-prose--document h3 {
    margin-top: 1.6em;
    color: var(--site-heading);
}

.site-prose--document h2 {
    font-size: clamp(24px, 1.2rem + 1vw, 32px);
}

.site-prose--document h3 {
    font-size: clamp(20px, 1.05rem + 0.6vw, 26px);
}

.site-prose--document ul,
.site-prose--document ol {
    padding-inline-start: 1.4em;
}

.site-prose--document ul {
    list-style: disc;
}

.site-prose--document ol {
    list-style: decimal;
}

.site-prose--document li + li {
    margin-top: 0.4em;
}

.site-prose--document blockquote {
    margin-block: 1.4em;
}

.site-author .media-img {
    background-color: var(--vs-theme-color1);
}

.site-author .media-img .site-avatar {
    font-size: 36px;
}

.site-author .author-name {
    color: var(--site-heading);
}

/* The template capitalises the author's bio (.blog-single-author .media-body .author-text); the bio is a sentence. */
.site-author .media-body .author-text {
    text-transform: none;
}

.site-post-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .site-post-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.site-post-nav__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: var(--site-tap);
    padding: 16px 20px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    color: var(--site-heading);
    transition: border-color 0.3s, color 0.3s;
}

.site-post-nav__link--next {
    grid-column: -2;
    text-align: end;
}

.site-post-nav__link:hover,
.site-post-nav__link:focus-visible {
    border-color: var(--vs-theme-color1);
    color: var(--vs-theme-color1);
}

.site-post-nav__label {
    color: var(--site-muted);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-post-nav__title {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

/* An album: the photos in a grid, one shape, captions under them. */
.site-album__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    color: var(--site-muted);
    font-weight: 600;
}

.site-album__meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--site-tap);
    color: var(--vs-theme-color1);
}

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

@media (min-width: 768px) {
    .site-album {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (min-width: 1200px) {
    .site-album {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.site-album__link {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background-color: var(--site-placeholder-bg);
}

.site-album__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.site-album__link:hover img,
.site-album__link:focus-visible img {
    transform: scale(1.06);
}

.site-album__caption {
    margin-top: 8px;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.45;
}

/*
 * The photo lightbox (the template's Magnific Popup on albums and product
 * photos): the close button is a full 48 px tap target, also on landscape
 * phones, and the photo's top padding grows with it so the button sits above
 * the photo, not on it (Magnific reads that padding when it fits the photo
 * to the screen). The arrows are already larger (90 x 110, 3/4 of it on
 * phones).
 */
.mfp-wrap button.mfp-close {
    min-width: var(--site-tap);
    height: var(--site-tap);
    line-height: var(--site-tap);
}

.mfp-wrap .mfp-image-holder img.mfp-img {
    padding-top: var(--site-tap);
}

.mfp-wrap .mfp-image-holder .mfp-figure::after {
    top: var(--site-tap);
}

/* Sponsors on the home page: one logo height, the sample label under it. */
.site-sponsor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.site-sponsor__logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}

.site-sponsor__logo img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.site-sponsor__name {
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.site-sponsors .swiper-slide {
    height: auto;
}

/* No sponsor yet: "Coming Soon" where the logos go. */
.site-sponsors__soon p {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------------------
 * Reduced motion: no sliding, scaling or fading.
 * ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .site *,
    .site *::before,
    .site *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .site [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}
