@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600");

:root {
    --club-primary: #2F6F4F;
    --club-primary-dark: #275B41;
    --club-primary-darker: #204B35;
    --club-primary-light: #F2F8F4;
    --club-primary-light-border: rgba(47, 111, 79, 0.12);
    --club-primary-soft: rgba(47, 111, 79, 0.08);
    --club-primary-soft-strong: rgba(47, 111, 79, 0.14);
    --club-primary-shadow: rgba(47, 111, 79, 0.18);
    --club-primary-shadow-strong: rgba(47, 111, 79, 0.26);
    --club-primary-text: #214C37;
    --club-on-primary: #FFFFFF;
}

.contact-access-shell {
    padding-top: 7rem;
    padding-bottom: 3rem;
}

.contact-access-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1.8rem;
    align-items: stretch;
    margin-bottom: 1.75rem;
    padding: 2.6rem;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%),
        linear-gradient(135deg, var(--club-primary), var(--club-primary-text));
    color: #ffffff;
    box-shadow: 0 26px 54px rgba(32, 50, 41, 0.16);
}

.contact-access-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.42rem 0.88rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-access-hero :is(h2, h1.public-page-title) {
    color: #ffffff;
    margin-bottom: 0.7rem;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.contact-access-hero p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-access-hero-panel {
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-access-hero-panel h3 {
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.contact-access-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.contact-access-hero-actions .button.alt {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.contact-access-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-access-meta-card,
.contact-access-quick-card,
.contact-access-info-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.contact-access-quick-card {
    padding: 1.2rem 1.25rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(31, 61, 47, 0.08);
    box-shadow: 0 14px 32px rgba(32, 50, 41, 0.07);
}

.contact-access-meta-card .icon,
.contact-access-quick-card .icon,
.contact-access-info-item .icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-access-meta-card .icon {
    background: rgba(255, 255, 255, 0.15);
}

.contact-access-meta-card strong,
.contact-access-quick-card strong,
.contact-access-info-item strong {
    display: block;
    margin-bottom: 0.2rem;
}

.contact-access-meta-card p,
.contact-access-quick-card p,
.contact-access-info-item p {
    margin: 0;
    word-break: break-word;
}

.contact-access-quick-card .icon {
    background: var(--club-primary-light);
    color: var(--club-primary);
}

.contact-access-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-access-form-card,
.contact-access-info-card,
.contact-access-map-card {
    border-radius: 24px;
    border: 1px solid rgba(31, 61, 47, 0.09);
    box-shadow: 0 18px 40px rgba(32, 50, 41, 0.08);
}

.contact-access-info-card {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.5), transparent 30%),
        var(--club-primary-light);
}

.contact-access-section-head {
    margin-bottom: 1.1rem;
}

.contact-access-section-head h3 {
    margin-bottom: 0.25rem;
}

.contact-access-section-head p {
    margin: 0;
    color: #68777a;
}

.contact-access-map-card .contact-access-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.contact-access-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: var(--club-primary-light);
    color: var(--club-primary-text);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--club-primary-light-border);
}

.contact-access-map-link:hover {
    background: var(--club-primary);
    color: #ffffff;
}

.contact-access-map-link .icon {
    color: inherit;
}

.contact-access-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.contact-access-required {
    color: #c83a2a;
}

.contact-access-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: #fbfcfa;
    border: 1px solid rgba(31, 61, 47, 0.1);
    font-weight: 400 !important;
    line-height: 1.6;
}

.contact-access-consent input[type="checkbox"] {
    -moz-appearance: checkbox;
    -webkit-appearance: checkbox;
    -ms-appearance: checkbox;
    appearance: checkbox;
    display: block;
    float: none;
    opacity: 1;
    width: 1rem;
    height: 1rem;
    margin: 0.3rem 0 0;
    padding: 0;
    flex: 0 0 auto;
    z-index: 1;
}

.contact-access-form-card input,
.contact-access-form-card textarea {
    background: #fbfcfa;
    border-color: rgba(31, 61, 47, 0.14);
}

.contact-access-feedback {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-weight: 600;
}

.contact-access-feedback--success {
    background: #e8f6ee;
    color: #1d5b39;
}

.contact-access-feedback--danger {
    background: #fbe8e8;
    color: #9a2f2f;
}

.contact-access-feedback--warning {
    background: #fff4df;
    color: #8a5b15;
}

.contact-access-info-list {
    display: grid;
    gap: 1rem;
}

.contact-access-info-item .icon {
    background: var(--club-primary-light);
    color: var(--club-primary);
}

.contact-access-actions {
    margin-top: 1.35rem;
}

.contact-access-map-frame {
    overflow: hidden;
    border-radius: 18px;
    min-height: 26rem;
}

.contact-access-map-frame iframe {
    width: 100%;
    min-height: 26rem;
    border: 0;
    display: block;
}

.news-block--team {
    margin-top: 1rem;
}

.news-block-team-title {
    text-align: center;
    margin-bottom: 0.35rem;
}

.news-block-team-subtitle {
    max-width: 46rem;
    margin: 0 auto 1.8rem;
    text-align: center;
    color: #6a766f;
}

.news-block-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.news-block-team-card {
    display: flex;
    flex-direction: column;
    background: #f8faf8;
    border: 1px solid rgba(33, 76, 55, 0.08);
    border-radius: 20px;
    min-height: 100%;
    padding: 1.5rem 1.35rem;
    text-align: center;
    box-shadow: 0 14px 32px rgba(32, 50, 41, 0.06);
}

.news-block-team-photo {
    width: 10rem;
    height: 10rem;
    flex: 0 0 10rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(32, 50, 41, 0.08);
}

.news-block-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-block-team-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.news-block-team-name {
    margin-bottom: 0.3rem;
    font-size: 1.35rem;
}

.news-block-team-role {
    color: var(--club-primary);
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.news-block-team-details {
    color: #5d6b63;
    line-height: 1.7;
}

.news-block-team-email {
    margin-top: auto;
    padding-top: 0.9rem;
}

.news-block-team-email a {
    color: var(--club-primary);
    font-weight: 600;
}

.news-block--documents {
    margin-top: 1rem;
}

.news-block-documents-title {
    text-align: center;
    margin-bottom: 0.35rem;
}

.news-block-documents-intro {
    max-width: 46rem;
    margin: 0 auto 1.8rem;
    text-align: center;
    color: #6a766f;
}

.news-block-documents-list {
    display: grid;
    gap: 1rem;
}

.news-block-document-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    border-radius: 18px;
    background: #f8faf8;
    border: 1px solid rgba(33, 76, 55, 0.08);
    box-shadow: 0 12px 28px rgba(32, 50, 41, 0.05);
}

.news-block-document-meta {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.news-block-document-badge {
    flex: 0 0 auto;
    min-width: 4.2rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: var(--club-primary-light);
    color: var(--club-primary);
    font-weight: 700;
    font-size: 0.84rem;
    text-align: center;
}

.news-block-document-copy {
    min-width: 0;
}

.news-block-document-title {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
}

.news-block-document-description {
    margin: 0;
    color: #5d6b63;
    line-height: 1.65;
}

.news-block-document-actions {
    flex: 0 0 auto;
}

body.theme-association .contact-access-hero {
    background: linear-gradient(135deg, #244636, #3b6b52);
}

body.theme-modern-club .contact-access-hero {
    background: linear-gradient(135deg, #102624, #0f5b58);
}

body.theme-golf-premium .contact-access-hero {
    background: linear-gradient(135deg, #1f3327, #8e7a47);
}

body.theme-tiya .contact-access-hero {
    background: linear-gradient(135deg, var(--club-primary), #1e3642);
    border-radius: 32px;
}

body.theme-team-golf .contact-access-hero {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.84));
    border-radius: 32px;
}

body.theme-team-golf .contact-access-form-card,
body.theme-team-golf .contact-access-info-card,
body.theme-team-golf .contact-access-map-card {
    border-radius: 26px;
}

@media screen and (max-width: 980px) {
    .contact-access-hero,
    .contact-access-grid,
    .contact-access-quick-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 736px) {
    .contact-access-shell {
        padding-top: 6rem;
    }

    .contact-access-hero {
        padding: 1.5rem;
        border-radius: 22px;
    }

    .contact-access-map-card .contact-access-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-access-map-frame,
    .contact-access-map-frame iframe {
        min-height: 22rem;
    }

    .news-block-team-photo {
        width: 7.5rem;
        height: 7.5rem;
        flex-basis: 7.5rem;
    }

    .news-block-document-card,
    .news-block-document-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-block-document-actions {
        width: 100%;
    }
}

@media screen and (max-width: 980px) {
    .news-block-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 736px) {
    .news-block-team-grid {
        grid-template-columns: 1fr;
    }
}

body.theme-alpha-auisp {
    background: #f6f7f4;
}

body,
input,
select,
textarea {
    color: #5e6d63;
}

a {
    color: var(--club-primary);
}

a:hover {
    color: var(--club-primary-text);
}

strong,
b,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--club-primary-text);
}

.hero-panel :is(h1, .login-club-name) {
    color: #ffffff;
}

.login-club-name {
    font-size: calc(1.375rem + 1.5vw);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

@media (min-width: 1200px) {
    .login-club-name {
        font-size: 2.5rem;
    }
}

/* Keep the page title accessible when the hero contains multiple news slides. */
.public-heading-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#page-wrapper {
    min-height: 100vh;
}

.home-ordered-shell {
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
}

#main.home-ordered-shell {
    padding-bottom: 0;
}

#header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 0 var(--club-primary-soft);
    z-index: 10020;
    overflow: visible;
}

#header :is(h1, .home-header-brand),
#header :is(h1, .home-header-brand) a,
#header nav > ul > li > a:not(.button) {
    color: var(--club-primary-text);
}

#header :is(h1, .home-header-brand) {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

#header :is(h1, .home-header-brand) a,
#header nav > ul > li > a {
    border-bottom: 0;
}

.admin-header-logo {
    display: block;
    width: 180px;
    height: 52px;
    object-fit: contain;
}

#header :is(h1, .home-header-brand) a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

#header :is(h1, .home-header-brand) .admin-header-logo {
    width: 180px !important;
    height: 52px !important;
    max-width: 180px !important;
    max-height: 52px !important;
    object-fit: contain;
}

#header nav > ul > li > a:not(.button):hover {
    color: var(--club-primary);
}

#header nav > ul > li.active > a:not(.button) {
    background: var(--club-primary-soft);
}

#header nav > ul > li {
    position: relative;
    overflow: visible;
}

@media screen and (min-width: 737px) {
    #header {
        height: auto;
        min-height: 3.25em;
        padding: 0.45rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        line-height: normal;
    }

    #header :is(h1, .home-header-brand) {
        position: static;
        height: auto;
        line-height: 1.1;
        margin: 0;
        flex: 0 1 28rem;
        min-width: 0;
        max-width: min(34rem, 42vw);
    }

    #header :is(h1, .home-header-brand) a {
        line-height: 1.1;
        width: 100%;
        min-width: 0;
    }

    #header .home-header-brand-link {
        gap: 0.75rem;
        align-items: center;
        flex-wrap: nowrap;
    }

    #header .home-header-title {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    #header nav {
        position: static;
        height: auto;
        line-height: normal;
        margin-left: auto;
        flex: 1 1 auto;
        min-width: 0;
        overflow: visible;
    }

    #header nav > ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        min-width: 0;
    }

    #header .home-nav > li > a {
        display: inline-flex;
        align-items: center;
        min-height: 2.25rem;
        padding-right: clamp(0.5rem, 0.7vw, 0.8rem);
        padding-left: clamp(0.5rem, 0.7vw, 0.8rem);
        white-space: nowrap;
    }

    /*
     * The landing page has no top padding because the original theme expects a
     * transparent header over its banner. Our public header is opaque and its
     * height depends on the club logo/menu, so a fixed header masks the hero.
     * Keeping it sticky preserves the persistent navigation while putting its
     * actual (dynamic) height back into the page flow.
     */
    body.landing #header {
        position: sticky;
    }
}

@media screen and (min-width: 737px) and (max-width: 1180px) {
    #header {
        gap: 0.5rem;
        padding-right: 0.65rem;
        padding-left: 0.65rem;
    }

    #header :is(h1, .home-header-brand) {
        flex-basis: auto;
        max-width: none;
    }

    #header .home-header-title {
        display: none;
    }

    #header .home-header-logo {
        width: 6rem;
        height: 3rem;
    }

    #header .home-nav > li > a {
        padding-right: 0.4rem;
        padding-left: 0.4rem;
        font-size: 0.88rem;
    }
}

#header nav,
#header nav > ul,
#header nav > ul > li,
#header nav > ul > li > ul {
    overflow: visible !important;
}

#header nav > ul > li > ul {
    display: none !important;
}

body.public-submenu-fallback #header nav ul,
body.public-submenu-fallback #header nav li {
    list-style: none !important;
}

body.public-submenu-fallback #header nav li::marker {
    content: '' !important;
}

body #header nav > ul > li.home-has-submenu {
    position: relative;
}

body #header nav li.home-has-submenu {
    position: relative;
}

body #header nav li.home-has-submenu > a::after {
    content: '▾';
    display: inline-block;
    margin-left: 0.45rem;
    font-size: 0.78em;
    vertical-align: middle;
    opacity: 0.78;
}

body #header nav li.home-has-submenu li.home-has-submenu > a::after {
    content: '›';
    float: right;
    margin-left: 0.9rem;
}

body.public-submenu-fallback #header nav > ul > li.home-has-submenu:hover > ul,
body.public-submenu-fallback #header nav > ul > li.home-has-submenu.submenu-open > ul,
body.public-submenu-fallback #header nav > ul > li.home-has-submenu:focus-within > ul {
    display: block !important;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    transform: none;
    min-width: 13.5em;
    margin: 0;
    padding: 0.5em 0;
    background: #ffffff;
    border: 1px solid var(--club-primary-soft-strong);
    border-radius: 10px;
    box-shadow: 0 14px 28px var(--club-primary-shadow);
    z-index: 12000;
}

body.public-submenu-fallback #header nav > ul > li.home-has-submenu > ul ul {
    display: none !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body.public-submenu-fallback #header nav li.home-has-submenu li.home-has-submenu:hover > ul,
body.public-submenu-fallback #header nav li.home-has-submenu li.home-has-submenu.submenu-open > ul,
body.public-submenu-fallback #header nav li.home-has-submenu li.home-has-submenu:focus-within > ul {
    display: block !important;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    position: absolute;
    top: -0.5em;
    left: calc(100% - 0.15rem);
    min-width: 13.5em;
    margin: 0;
    padding: 0.5em 0;
    background: #ffffff;
    border: 1px solid var(--club-primary-soft-strong);
    border-radius: 10px;
    box-shadow: 0 14px 28px var(--club-primary-shadow);
    z-index: 12001;
}

body.public-submenu-fallback #header nav > ul > li.home-has-submenu:hover > ul::before,
body.public-submenu-fallback #header nav > ul > li.home-has-submenu.submenu-open > ul::before,
body.public-submenu-fallback #header nav > ul > li.home-has-submenu:focus-within > ul::before {
    transform: rotate(45deg);
    background: #ffffff;
    border: solid 1px var(--club-primary-soft-strong);
    border-bottom: 0;
    border-right: 0;
    box-shadow: -0.25em -0.125em 0.125em 0 rgba(0, 0, 0, 0.015);
    content: '';
    display: block;
    height: 0.75em;
    position: absolute;
    left: 1.5rem;
    top: -0.375em;
    width: 0.75em;
}

body.public-submenu-fallback #header nav > ul > li.home-has-submenu:hover > ul::after,
body.public-submenu-fallback #header nav > ul > li.home-has-submenu.submenu-open > ul::after,
body.public-submenu-fallback #header nav > ul > li.home-has-submenu:focus-within > ul::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -0.6rem;
    height: 0.6rem;
    background: transparent;
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu.submenu-open > ul,
body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu:hover > ul,
body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu:focus-within > ul {
    display: block !important;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 13.5em;
    margin: 0;
    padding: 0.5em 0;
    background: #ffffff;
    border: 1px solid var(--club-primary-soft-strong);
    border-radius: 10px;
    box-shadow: 0 14px 28px var(--club-primary-shadow);
    z-index: 12000;
}

body.backoffice-submenu-fallback #header nav ul,
body.backoffice-submenu-fallback #header nav li {
    list-style: none !important;
}

body.backoffice-submenu-fallback #header nav li::marker {
    content: '' !important;
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu.submenu-open > ul::before,
body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu:hover > ul::before,
body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu:focus-within > ul::before {
    transform: rotate(45deg);
    background: #ffffff;
    border: solid 1px var(--club-primary-soft-strong);
    border-bottom: 0;
    border-right: 0;
    box-shadow: -0.25em -0.125em 0.125em 0 rgba(0, 0, 0, 0.015);
    content: '';
    display: block;
    height: 0.75em;
    position: absolute;
    right: 1.25em;
    top: -0.375em;
    width: 0.75em;
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu.submenu-open > ul::after,
body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu:hover > ul::after,
body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu:focus-within > ul::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -0.6rem;
    height: 0.6rem;
    background: transparent;
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu {
    position: relative;
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu > a::after {
    content: '▾';
    display: inline-block;
    margin-left: 0.45rem;
    font-size: 0.78em;
    vertical-align: middle;
    opacity: 0.78;
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu > ul > li {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu > ul > li > a {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.4;
    color: var(--club-primary-text) !important;
    padding: 0.5em 1em;
    text-decoration: none;
    border-radius: 0;
    background: transparent;
    border-top: solid 1px var(--club-primary-light-border);
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu > ul > li:first-child > a {
    border-top: 0;
}

body.backoffice-submenu-fallback #header nav > ul > li.backoffice-has-submenu > ul > li > a:hover {
    background: var(--club-primary-soft);
    color: var(--club-primary-text) !important;
}

body.public-submenu-fallback #header nav > ul > li > ul li {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.public-submenu-fallback #header nav > ul > li > ul li > a {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.4;
    color: var(--club-primary-text) !important;
    padding: 0.5em 1em;
    text-decoration: none;
    border-radius: 0;
    background: transparent;
    border-top: solid 1px var(--club-primary-light-border);
}

body.public-submenu-fallback #header nav > ul > li > ul li:first-child > a {
    border-top: 0;
}

body.public-submenu-fallback #header nav > ul > li > ul li > a:hover {
    background: var(--club-primary-soft);
    color: var(--club-primary-text) !important;
}

.dropotron {
    z-index: 12000 !important;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 28px var(--club-primary-shadow);
    border: 1px solid var(--club-primary-soft-strong);
    list-style: none;
    margin: calc(-0.5em + 1px) 0 0 1px;
    padding: 0.5em 0;
    width: 13.5em;
}

.dropotron li {
    padding: 0;
}

.dropotron li a,
.dropotron li span {
    transition: background 0.2s ease, color 0.2s ease;
    border: 0;
    border-top: solid 1px var(--club-primary-light-border);
    color: var(--club-primary-text) !important;
    display: block;
    padding: 0.6em 1em;
    text-decoration: none;
}

.dropotron li:first-child > a,
.dropotron li:first-child > span {
    border-top: 0;
}

.dropotron li.active > a,
.dropotron li.active > span,
.dropotron li:hover > a,
.dropotron li:hover > span {
    background: var(--club-primary-soft);
    color: var(--club-primary-text) !important;
}

.dropotron.level-0 {
    font-size: 0.9em;
    margin: 0.55rem 0 0 0 !important;
}

.dropotron.level-0:before {
    transform: rotate(45deg);
    background: #ffffff;
    border: solid 1px var(--club-primary-soft-strong);
    border-bottom: 0;
    border-right: 0;
    box-shadow: -0.25em -0.125em 0.125em 0 rgba(0, 0, 0, 0.015);
    content: '';
    display: block;
    height: 0.75em;
    position: absolute;
    right: 1.25em;
    top: -0.34em;
    width: 0.75em;
}

#header.alt :is(h1, .home-header-brand),
#header.alt nav > ul > li > a:not(.button) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    padding: 0 1em;
}

#header.alt :is(h1, .home-header-brand),
#header.alt :is(h1, .home-header-brand) a {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

#header.alt :is(h1, .home-header-brand) span {
    color: rgba(255, 255, 255, 0.8);
}

#header.alt nav > ul > li > a:not(.button):hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.62);
}

#header.alt nav > ul > li.active > a:not(.button) {
    background: rgba(255, 255, 255, 0.7);
}

#header.alt .home-nav .home-nav-link {
    color: var(--club-primary-text);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(17, 32, 24, 0.12);
    font-weight: 600;
    min-width: 7.5em;
    text-align: center;
}

#header.alt .home-nav .home-nav-link:hover {
    color: var(--club-primary-text);
    background: #ffffff;
}

#header.alt .home-nav > li.active .home-nav-link,
#header.alt .home-nav .home-nav-link:focus {
    color: var(--club-primary-text);
    background: #ffffff;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
    box-shadow: inset 0 0 0 2px #d5ddd8;
    color: var(--club-primary-text);
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:hover {
    background-color: var(--club-primary-soft);
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
.button.primary {
    background-color: var(--club-primary);
    color: var(--club-on-primary) !important;
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
.button.primary:hover {
    background-color: var(--club-primary-dark);
}

.admin-cta,
.admin-cta.button,
.admin-cta.button.alt,
.admin-cta.button.fit,
.admin-cta.button.small,
input[type="submit"].admin-cta,
input[type="reset"].admin-cta,
input[type="button"].admin-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.9rem;
    padding: 0 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--club-primary-text), var(--club-primary));
    box-shadow: 0 16px 30px var(--club-primary-shadow);
    border: 1px solid var(--club-primary-soft-strong);
    color: var(--club-on-primary) !important;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-cta:hover,
.admin-cta.button:hover,
input[type="submit"].admin-cta:hover,
input[type="reset"].admin-cta:hover,
input[type="button"].admin-cta:hover {
    background: linear-gradient(135deg, var(--club-primary-darker), var(--club-primary-dark));
    box-shadow: 0 20px 34px var(--club-primary-shadow-strong);
    color: var(--club-on-primary) !important;
    transform: translateY(-1px);
}

.admin-cta-primary,
.admin-cta-primary.button,
input[type="submit"].admin-cta-primary,
input[type="reset"].admin-cta-primary,
input[type="button"].admin-cta-primary {
    background: linear-gradient(135deg, #f4c84b, #d8a42d);
    box-shadow: 0 18px 34px rgba(155, 114, 12, 0.2);
    border-color: rgba(135, 98, 10, 0.16);
    color: #1f2a20 !important;
}

.admin-cta-primary:hover,
.admin-cta-primary.button:hover,
input[type="submit"].admin-cta-primary:hover,
input[type="reset"].admin-cta-primary:hover,
input[type="button"].admin-cta-primary:hover {
    background: linear-gradient(135deg, #e8bd41, #c99727);
    box-shadow: 0 20px 36px rgba(155, 114, 12, 0.24);
    color: #1f2a20 !important;
}

.btn-golf,
.btn.btn-golf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--club-primary-text), var(--club-primary));
    border: 1px solid var(--club-primary-soft-strong);
    box-shadow: 0 16px 32px var(--club-primary-shadow-strong);
    color: var(--club-on-primary) !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-golf:hover,
.btn-golf:focus,
.btn.btn-golf:hover,
.btn.btn-golf:focus {
    background: linear-gradient(135deg, var(--club-primary-darker), var(--club-primary-dark));
    box-shadow: 0 20px 36px var(--club-primary-shadow-strong);
    color: var(--club-on-primary) !important;
    transform: translateY(-1px);
}

#header nav > ul > li > a.button,
#header nav > ul > li > .backoffice-logout-form > button.button {
    background-color: var(--club-primary);
    box-shadow: none;
    color: var(--club-on-primary) !important;
}

#header nav > ul > li > a.button:hover,
#header nav > ul > li > .backoffice-logout-form > button.button:hover {
    background-color: var(--club-primary-dark);
}

.backoffice-logout-form {
    margin: 0;
}

.backoffice-logout-form > button.button {
    cursor: pointer;
    font: inherit;
}

#navButton .toggle:before {
    background: var(--club-primary);
    color: var(--club-on-primary);
}

#navPanel {
    background: #ffffff;
    color: var(--club-primary-text);
    box-shadow: 0 0 0 1px var(--club-primary-soft);
}

#navPanel .link {
    color: var(--club-primary-text);
    border-top-color: var(--club-primary-soft);
    min-height: 44px;
    height: auto;
    line-height: 1.25;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

#navPanel .link.depth-0 {
    color: var(--club-primary-text);
    font-weight: 600;
}

#navPanel .link span[class^="indent-"] {
    display: inline-block;
    flex: 0 0 auto;
}

#navPanel .link:hover {
    background: var(--club-primary-soft);
}

#navPanel .nav-panel-logout-form {
    margin: 0;
}

#navPanel .nav-panel-logout-form > button.link {
    width: 100%;
    border: 0;
    border-top: solid 1px var(--club-primary-soft);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.box.special,
.box.special.features {
    border-top: solid 4px var(--club-primary);
}

.icon.major.accent2 {
    background: var(--club-primary);
}

.icon.major.accent3 {
    background: #4f8b69;
}

.icon.major.accent4 {
    background: #7f9c62;
}

.icon.major.accent5 {
    background: #516f58;
}

#cta {
    background: var(--club-primary);
    color: #e8f0eb;
}

#cta h2,
#cta h3,
#cta h4,
#cta h5,
#cta h6 {
    color: #ffffff;
}

#cta input[type="submit"],
#cta input[type="reset"],
#cta input[type="button"],
#cta .button {
    color: var(--club-primary);
}

#cta input[type="text"],
#cta input[type="password"],
#cta input[type="email"],
#cta select,
#cta textarea {
    color: var(--club-primary-text);
}

#footer {
    padding: 2rem 1.5rem 1.25rem;
}

.public-footer-inner {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.public-footer-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 1.5rem;
}

.public-footer-overview--without-weather,
.public-footer-overview--without-location {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-footer-overview--without-weather.public-footer-overview--without-location {
    grid-template-columns: minmax(0, 1fr);
}

.public-footer-identity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    min-width: 0;
}

.public-footer-club-name {
    max-width: 20rem;
    font-size: 1rem;
    line-height: 1.35;
    text-align: left;
}

.public-footer-weather {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.public-footer-location {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 20rem;
    justify-self: center;
    padding: .65rem .9rem;
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 10px;
    text-align: left;
}

.public-footer-location strong {
    font-size: .78rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.public-footer-location address {
    margin: .2rem 0;
    font-size: .78rem;
    line-height: 1.35;
    font-style: normal;
}

.public-footer-location a,
.public-footer-links a {
    color: inherit;
    border-bottom: 0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.public-footer-location a {
    font-size: .75rem;
}

.public-footer-nav {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 18%, transparent);
}

.public-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .82rem;
}

.public-footer-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .25rem 1.5rem;
    margin-top: 1rem;
    font-size: .75rem;
    line-height: 1.4;
    opacity: .72;
}

body.theme-tiya #footer {
    color: rgba(255, 255, 255, .82);
}

@media screen and (max-width: 736px) {
    #footer { padding: 1.5rem 1rem 1rem; }
    .public-footer-overview,
    .public-footer-overview--without-weather,
    .public-footer-overview--without-location { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .public-footer-identity { width: 100%; flex-direction: column; gap: .5rem; }
    .public-footer-club-name { text-align: center; }
    .public-footer-weather { width: 100%; }
    .public-footer-location { width: 100%; text-align: center; }
}

.uniform-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.uniform-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#main .box.special > .image.featured img {
    max-height: 420px;
    object-fit: cover;
}

.equal-height-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.equal-height-card p {
    flex-grow: 1;
}

.equal-height-card .actions.special {
    margin-top: auto;
}

.home-live-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.25rem;
    margin: 0 0 1.6rem;
}

.home-live-card {
    border-top: 4px solid var(--club-primary);
    margin-bottom: 0;
    padding: 1.35rem 1.35rem 1.25rem;
}

.home-live-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-live-header h3 {
    margin-bottom: 0;
}

.home-live-kicker {
    display: inline-block;
    margin-bottom: 0.32rem;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 700;
    color: #7b8d82;
}

.home-live-empty {
    color: #6f7f75;
    padding: 0.65rem 0 0.1rem;
}

.home-competition-list {
    display: grid;
    gap: 0.75rem;
}

.home-competition-item {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.8rem 0.85rem;
    border: 1px solid var(--club-primary-soft);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f8fbf9);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-competition-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(26, 63, 45, 0.08);
    border-color: var(--club-primary-soft-strong);
}

.home-competition-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 4.4rem;
    border-radius: 12px;
    background: var(--club-primary-soft);
    color: var(--club-primary-text);
    text-align: center;
    padding: 0.55rem;
}

.home-competition-date .day {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700;
}

.home-competition-date .month {
    margin-top: 0.22rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.home-competition-copy h4 {
    margin-bottom: 0.28rem;
    font-size: 1rem;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-competition-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
}

.home-competition-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f3f7f4;
    border: 1px solid var(--club-primary-soft);
    padding: 0.18rem 0.48rem;
    font-size: 0.76rem;
    color: #5e6d63;
}

.home-competition-register-button {
    background: linear-gradient(135deg, var(--club-primary-text), var(--club-primary)) !important;
    box-shadow: 0 12px 24px var(--club-primary-shadow) !important;
    border: 0 !important;
    color: var(--club-on-primary) !important;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.home-competition-register-button:hover {
    background: linear-gradient(135deg, var(--club-primary-darker), var(--club-primary-dark)) !important;
    box-shadow: 0 16px 28px var(--club-primary-shadow-strong) !important;
    transform: translateY(-1px);
}

.home-ffg-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 1rem;
}

.home-ffg-links--stacked {
    margin-bottom: 1rem;
}

.home-ffg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--club-primary-soft);
    background: rgba(255, 255, 255, 0.92);
    color: var(--club-primary-text);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-ffg-link:hover,
.home-ffg-link:focus-visible {
    border-color: var(--club-primary);
    box-shadow: 0 10px 22px var(--club-primary-shadow);
    transform: translateY(-1px);
}

.home-news-slider {
    position: relative;
}

.home-news-track {
    position: relative;
    min-height: 100%;
}

.home-news-slide {
    display: none;
    animation: homeNewsFade 0.35s ease;
}

.home-news-slide.is-active {
    display: block;
}

.home-news-media {
    display: block;
    aspect-ratio: 16 / 8;
    max-height: 210px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 0.85rem;
    width: 100%;
    max-width: 100%;
}

.home-news-slide .image.featured:first-child {
    margin-top: 0;
}

.home-news-slide > .image.featured.home-news-media,
.home-news-slide .image.featured.home-news-media {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 0.85rem !important;
    left: auto !important;
    right: auto !important;
}

.home-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-news-copy h4 {
    margin-bottom: 0.4rem;
    font-size: 1.18rem;
    line-height: 1.24;
}

.home-news-date {
    margin-bottom: 0.42rem;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #7b8d82;
}

.home-news-copy p {
    margin-bottom: 0.8rem;
    color: #617168;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-news-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}

.home-news-nav {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(33, 76, 55, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #214c37;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.home-news-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    flex: 1;
}

.home-news-dot {
    width: 0.7rem;
    height: 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(33, 76, 55, 0.18);
    cursor: pointer;
    padding: 0;
}

.home-news-dot.is-active {
    background: #2f6f4f;
}

@keyframes homeNewsFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-public-shell,
.news-detail-shell {
    padding-top: 6.25em;
    padding-bottom: 3em;
}

.news-page-header {
    text-align: center;
    margin-bottom: 1.85em;
}

.news-page-header p {
    color: #6f7f75;
    max-width: 42rem;
    margin: 0.55rem auto 0;
}

/* Compact editorial headings, without changing the home-page hero. */
#main > header.public-content-heading {
    margin: 0 0 1.75rem;
    padding: 0;
    text-align: left;
}

#main > header.public-content-heading::after {
    content: none;
}

#main > header.public-content-heading h1.public-page-title {
    max-width: 64rem;
    margin: 0;
    font-size: clamp(1.5rem, 2.2vw, 2.25rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    text-wrap: pretty;
    overflow-wrap: break-word;
}

#main > header.public-content-heading p {
    display: block;
    max-width: 58rem;
    margin: 0.7rem 0 0;
    padding: 0;
    border: 0;
    color: #626b65;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
    text-transform: none;
}

#main > header.public-content-heading .news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 0.7rem;
    font-size: 0.85rem;
}

#main > header.public-content-heading .news-detail-category {
    display: inline-flex;
    align-items: baseline;
    gap: 0.7rem;
}

#main > header.public-content-heading .news-detail-meta a {
    color: inherit;
    border-bottom: 0;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

#main > header.public-content-heading .news-detail-meta a:hover {
    color: var(--club-primary-text);
}

.news-layout {
    align-items: flex-start;
}

@media screen and (min-width: 981px) {
    .news-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
        column-gap: 1.5rem;
        margin-left: 0 !important;
    }

    .news-layout > .col-9,
    .news-layout > .col-3 {
        width: auto !important;
        max-width: none !important;
        padding-left: 0 !important;
        clear: none !important;
    }
}

.content-links-sidebar {
    position: sticky;
    top: 6.5rem;
}

.content-links-box {
    border-top: solid 4px var(--club-primary);
    background: linear-gradient(180deg, #ffffff, var(--club-primary-light));
    box-shadow: 0 14px 32px var(--club-primary-shadow);
    padding: 1.1rem 1.1rem 1.2rem;
}

.content-links-box h3 {
    color: var(--club-primary-text);
    margin-bottom: 0.8rem;
    font-size: 1.02rem;
}

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

.content-links-list li + li {
    margin-top: 0.55rem;
}

.content-links-list a {
    display: block;
    padding: 0.72rem 0.82rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--club-primary-text);
    background: linear-gradient(180deg, #ffffff, var(--club-primary-light));
    border: 1px solid var(--club-primary-light-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.content-links-list a:hover {
    background: #ffffff;
    color: var(--club-primary-darker);
    box-shadow: 0 12px 24px var(--club-primary-shadow);
    transform: translateY(-1px);
}

.content-links-brand {
    text-align: center;
    padding: 0.85rem 0.85rem 1rem;
    background: linear-gradient(180deg, #ffffff, var(--club-primary-light));
}

.content-links-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 88px;
    margin: 0 0 0.65rem;
}

.content-links-brand-logo img {
    display: block;
    width: 100%;
    max-width: 220px;
    max-height: 88px;
    object-fit: contain;
}

.content-links-ffg-logo {
    display: flex;
    justify-content: center;
    margin: 1rem 0 .5rem;
    padding: .75rem;
    background: #fff;
    border-radius: 8px;
}

.content-links-ffg-logo img {
    display: block;
    width: 172px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.content-links-brand::after {
    content: "";
    display: block;
    width: 3rem;
    height: 0.25rem;
    margin: 0.85rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--club-primary-text), var(--club-primary));
}

.content-sidebar-club-logo-wrap,
.public-footer-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-sidebar-club-logo-wrap {
    margin: 0 0 1rem;
}

.content-sidebar-club-logo,
.public-footer-logo {
    display: block;
    max-width: 180px;
    max-height: 88px;
    object-fit: contain;
}

.public-footer-logo-wrap {
    margin: 0;
}

.public-footer-logo {
    max-width: 120px;
    max-height: 64px;
}

.sponsors-public-shell {
    padding-top: 6.25em;
    padding-bottom: 3em;
}

.sponsors-public-grid {
    align-items: stretch;
}

.sponsors-public-card {
    height: 100%;
    text-align: center;
    border-top: solid 4px var(--club-primary);
    background: linear-gradient(180deg, #ffffff, var(--club-primary-light));
    box-shadow: 0 14px 30px var(--club-primary-shadow);
    padding: 1.15rem 1rem 1.1rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sponsors-public-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sponsors-public-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, var(--club-primary-light));
    border: 1px solid var(--club-primary-light-border);
}

.sponsors-public-media img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    display: block;
}

.sponsors-public-card h3 {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--club-primary-text);
}

.sponsors-public-link:hover .sponsors-public-card {
    box-shadow: 0 18px 34px var(--club-primary-shadow-strong);
    transform: translateY(-2px);
}

.sponsors-public-link:hover .sponsors-public-card h3 {
    color: var(--club-primary);
}

.home-sponsors-section {
    background: var(--club-primary);
    color: #e8f0eb;
    text-align: center;
}

.home-sponsors-section h2 {
    color: #ffffff;
    margin-bottom: 1.25rem;
}

#cta.home-final-cta {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 2rem;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    text-align: center;
}

.home-ordered-shell > .home-final-cta,
.home-ordered-shell > .home-sponsors-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.home-final-cta-inner {
    max-width: 760px;
    margin: 0 auto;
}

.home-final-cta h2 {
    margin-bottom: 1rem;
}

.home-final-cta p {
    max-width: 640px;
    margin: 0 auto 1.8rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.7;
}

/* A white CTA button needs its own ink, independent of the site's accent color. */
body.theme-alpha-auisp #cta.home-final-cta .button.alt {
    background-color: #ffffff !important;
    color: #20392f !important;
}

body.theme-alpha-auisp #cta.home-final-cta .button.alt:is(:hover, :focus-visible, :active) {
    background-color: #e6ede8 !important;
    color: #20392f !important;
}

body.theme-alpha-auisp #cta.home-final-cta .button.alt:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.home-final-cta + #footer {
    margin-top: 0;
    padding-top: 3rem;
    background: #1d3a27;
}

.home-sponsors-slider {
    max-width: 760px;
    margin: 0 auto;
}

.home-sponsors-track {
    position: relative;
    min-height: 210px;
}

.home-sponsor-slide {
    display: none;
    animation: homeNewsFade 0.35s ease;
}

.home-sponsor-slide.is-active {
    display: block;
}

.home-sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 210px;
    padding: 1.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(17, 32, 24, 0.16);
    text-decoration: none;
}

.home-sponsor-card:hover {
    background: #ffffff;
}

.home-sponsor-logo {
    display: block;
    max-width: min(100%, 320px);
    max-height: 110px;
    object-fit: contain;
}

.home-sponsor-name {
    display: block;
    color: #214c37;
    font-size: 1rem;
    font-weight: 700;
}

.home-news-slider-controls,
.home-sponsors-controls,
body .tiya-news-controls,
body .tiya-sponsors-controls {
    flex-wrap: wrap;
}

body button.carousel-autoplay-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid #244f38;
    border-radius: 50%;
    background: #fff;
    color: #244f38;
    font-size: .85rem;
    line-height: 1.3;
    white-space: normal;
    cursor: pointer;
}

body button.carousel-autoplay-toggle:focus-visible {
    outline: 3px solid #d98a00;
    outline-offset: 3px;
}

body button.carousel-autoplay-toggle[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    body .tiya-sponsors-track,
    body .home-news-hero-slide,
    body .home-news-slide,
    body .tiya-news-slide,
    body .home-sponsor-slide {
        transition: none !important;
        animation: none !important;
    }
}

.home-sponsors-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.home-sponsors-nav {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.home-sponsors-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    flex: 1;
}

.home-sponsors-dot {
    width: 0.7rem;
    height: 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    padding: 0;
}

.home-sponsors-dot.is-active {
    background: #ffffff;
}

.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top-width: 3px;
    padding-bottom: 0.95rem;
    box-shadow: 0 10px 24px rgba(26, 63, 45, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(26, 63, 45, 0.12);
}

.news-card-media {
    display: block;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin: -3em -3em 0.85rem;
    width: calc(100% + 6em);
    max-width: calc(100% + 6em);
}

.news-card > .image.featured.news-card-media,
.news-card .image.featured.news-card-media {
    width: calc(100% + 6em) !important;
    max-width: calc(100% + 6em) !important;
    margin: -3em -3em 0.85rem !important;
    left: auto !important;
    right: auto !important;
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7b8d82;
    margin-bottom: 0.4rem;
    padding: 0 1rem;
}

.news-card h3 {
    margin-bottom: 0.45rem;
    font-size: 1.08rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 1rem;
}

.news-card-title-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 0;
}

.news-card-title-link:hover,
.news-card-title-link:focus {
    color: var(--club-primary);
}

.news-card p {
    flex-grow: 1;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #617168;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 1rem;
}

.news-card .actions {
    margin-top: auto;
    margin-bottom: 0;
    padding: 0 1rem;
}

.news-card .actions .button {
    min-height: 2.65rem;
    padding: 0 1rem;
    font-size: 0.86rem;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.news-empty-box {
    text-align: center;
}

.news-detail-box .image.featured {
    margin-bottom: 2rem;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #f4f5f2;
}

.news-detail-box .image.featured img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.news-detail-content {
    color: #5e6d63;
    line-height: 1.72;
    font-size: 1.02rem;
    overflow-wrap: break-word;
    overflow-x: hidden;
    min-width: 0;
}

.news-detail-box {
    min-width: 0;
}

.news-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.75rem 0 0;
    padding: 0 1.35rem 1.35rem;
}

.news-detail-actions li {
    padding-left: 0;
}

.news-detail-actions .button {
    margin-bottom: 0;
}

.news-detail-content img {
    display: block;
    max-width: 100% !important;
    width: auto;
    height: auto !important;
}

.news-detail-content figure {
    max-width: 100%;
    min-width: 0;
}

.news-detail-content .news-block,
.news-detail-content .news-blocks,
.news-detail-content .news-block-content-image-media,
.news-detail-content .news-block-content-image-media img {
    max-width: 100%;
    min-width: 0;
}

.news-detail-meta {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #6f7f75;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-detail-content p {
    margin-bottom: 0.85rem;
}

.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 0 0 1rem 1.25rem;
    padding-left: 1rem;
}

.news-detail-content li {
    margin: 0.35rem 0;
}

.news-detail-content a {
    word-break: break-word;
}

@media screen and (max-width: 980px) {
    .content-links-sidebar {
        position: static;
        top: auto;
    }
}

.calendar-public-shell {
    padding-top: 3.75em;
    padding-bottom: 2.5em;
}

.calendar-page-hero {
    text-align: center;
    margin-bottom: 0.85rem;
}

.calendar-page-hero :is(h2, h1.public-page-title) {
    color: var(--calendar-primary-text);
    font-size: 3rem;
    line-height: 1.08;
    margin: 0 0 0.75rem;
}

.calendar-kicker {
    display: inline-block;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--calendar-primary-soft);
    color: var(--calendar-primary);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.calendar-control-box {
    margin-bottom: 1.25rem;
}

.calendar-control-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.calendar-view-switch {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.28rem;
    border-radius: 999px;
    background: var(--calendar-primary-soft);
}

.calendar-view-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    color: var(--calendar-primary-text);
    border-bottom: 0;
    font-weight: 600;
}

.calendar-view-switch a.active {
    background: var(--calendar-primary);
    color: #fff;
}

.calendar-nav-public {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.calendar-current-label {
    font-weight: 600;
    color: var(--calendar-primary-text);
}

.calendar-empty-state {
    text-align: center;
    color: #6f7f75;
    padding: 1rem 0;
}

.calendar-agenda-grid .col-6,
.calendar-agenda-grid .col-12-narrower {
    display: flex;
}

.calendar-agenda-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.calendar-agenda-grid > .col-6,
.calendar-agenda-grid > .col-12-narrower {
    width: 33.333333%;
}

.agenda-card {
    width: 100%;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 4.15rem 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.9rem;
    border-top: 4px solid var(--calendar-primary);
    background: linear-gradient(180deg, #ffffff, var(--calendar-primary-light));
    box-shadow: 0 14px 30px var(--calendar-primary-shadow);
    border-radius: 16px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.agenda-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px var(--calendar-primary-shadow-strong);
}

.agenda-date {
    border-radius: 12px;
    background: linear-gradient(180deg, var(--calendar-primary-soft), rgba(255,255,255,0.9));
    border: 1px solid var(--calendar-primary-border);
    text-align: center;
    padding: 0.62rem 0.4rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}

.agenda-date .day {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
    color: var(--calendar-primary);
}

.agenda-date .month {
    display: block;
    margin-top: 0.22rem;
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--calendar-primary-dark);
    font-weight: 700;
}

.agenda-date .weekday {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: #6f7f75;
}

.agenda-content {
    min-width: 0;
}

.agenda-content h3 {
    margin: 0 0 0.45rem;
    line-height: 1.18;
    font-size: 1rem;
    color: var(--calendar-primary-text);
}

.calendar-public-shell .event-title-link {
    display: inline;
    width: auto;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: left;
    cursor: pointer;
}

.calendar-public-shell .event-title-link:hover,
.calendar-public-shell .event-title-link:focus {
    color: var(--calendar-primary);
    text-decoration: underline;
}

.calendar-public-shell .status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.65rem;
    padding: 0.12rem 0.62rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
    color: #fff;
}

.calendar-public-shell .status-badge.is-open {
    background: var(--calendar-primary);
}

.calendar-public-shell .status-badge.is-warning {
    background: #f59e0b;
}

.calendar-public-shell .status-badge.is-upcoming {
    background: var(--calendar-primary-dark);
}

.calendar-public-shell .status-badge.is-full,
.calendar-public-shell .status-badge.is-closed {
    background: #ef4444;
}

.calendar-public-shell .status-badge.is-neutral {
    background: #64748b;
}

.calendar-public-shell .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin: 0 0 0.65rem;
}

.calendar-public-shell .meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f7faf8;
    border: 1px solid var(--calendar-primary-border);
    padding: 0.24rem 0.52rem;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #5e6d63;
}

.calendar-public-shell .obs {
    margin: 0 0 0.8rem;
    color: #5e6d63;
    white-space: pre-wrap;
    font-size: 0.88rem;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.calendar-public-shell .action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    align-items: center;
}

.calendar-public-shell .btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0 0.9rem;
    border-radius: 8px;
    background: var(--calendar-primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--calendar-primary);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.calendar-public-shell .btn-register:hover {
    background: var(--calendar-primary-dark);
    border-color: var(--calendar-primary-dark);
    color: #fff;
}

.calendar-public-shell .btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0 0.9rem;
    border-radius: 8px;
    background: #fff;
    color: var(--calendar-primary-text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--calendar-primary-border);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.calendar-public-shell .btn-details:hover {
    background: var(--calendar-primary-soft);
    border-color: var(--calendar-primary);
    color: var(--calendar-primary);
}

.calendar-board-box {
    overflow: hidden;
}

.calendar-board {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem;
}

.calendar-weekday-head {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6f7f75;
    padding-bottom: 0.25rem;
}

.calendar-day-cell {
    min-height: 10rem;
    padding: 0.8rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, var(--calendar-primary-light));
    border: 1px solid var(--calendar-primary-border);
}

.calendar-day-cell.empty {
    background: transparent;
    border-style: dashed;
}

.calendar-day-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--calendar-primary-text);
    margin-bottom: 0.7rem;
}

.calendar-event-chip {
    background: linear-gradient(180deg, var(--calendar-primary-light), rgba(255,255,255,1));
    border: 1px solid var(--calendar-primary-border);
    border-radius: 10px;
    padding: 0.65rem;
    margin-bottom: 0.55rem;
}

.calendar-event-chip strong,
.calendar-event-chip small {
    display: block;
}

.calendar-event-title-link {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    text-align: left;
    color: var(--calendar-primary-text);
    font: inherit;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
}

.calendar-event-title-link:hover {
    color: var(--calendar-primary-dark);
    text-decoration: underline;
}

.calendar-event-chip small {
    margin-top: 0.2rem;
    color: #6f7f75;
}

.calendar-chip-actions {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.calendar-modal {
    display: none;
    position: fixed;
    z-index: 13000;
    inset: 0;
    background: rgba(18, 30, 22, 0.58);
    backdrop-filter: blur(3px);
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: clamp(5.25rem, 9vh, 7rem) 1rem 1.5rem;
}

.calendar-modal-content {
    width: min(42rem, 100%);
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--calendar-primary-border);
    box-shadow: 0 24px 48px var(--calendar-primary-shadow);
    max-height: calc(100vh - 6.75rem);
    display: flex;
    flex-direction: column;
}

.calendar-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: var(--calendar-primary);
    color: #fff;
}

.calendar-modal-header :is(h2, h1.public-page-title) {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.calendar-modal-close {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
}

.calendar-modal-body {
    padding: 1.35rem 1.4rem 1.5rem;
    overflow-y: auto;
}

.calendar-modal-body h3 {
    margin-top: 1.25rem;
    color: var(--calendar-primary-text);
}

.calendar-modal-body--competition {
    display: grid;
    gap: 1.15rem;
    padding: 1.4rem;
}

.calendar-modal-summary {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--calendar-primary-border);
    border-radius: 12px;
    background: var(--calendar-primary-light);
}

.calendar-modal-summary p {
    flex: 1 1 auto;
    margin: 0;
    color: #526058;
    font-size: 0.95rem;
    line-height: 1.45;
}

.calendar-modal-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.calendar-modal-status.is-open { background: #0f8f7f; }
.calendar-modal-status.is-warning { background: #c66a08; }
.calendar-modal-status.is-upcoming { background: #2563eb; }
.calendar-modal-status.is-full,
.calendar-modal-status.is-closed { background: #dc2626; }
.calendar-modal-status.is-neutral { background: #64748b; }

.calendar-modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.calendar-modal-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e4e9e6;
    border-radius: 12px;
    background: #fff;
}

.calendar-modal-info:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.calendar-modal-info-icon {
    display: inline-grid;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: 10px;
    background: var(--calendar-primary-soft);
    font-size: 1rem;
}

.calendar-modal-info > div {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.calendar-modal-info-label {
    color: #718078;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.calendar-modal-info strong {
    overflow-wrap: anywhere;
    color: #2f3933;
    font-size: 1rem;
    line-height: 1.4;
}

.calendar-modal-capacity {
    width: min(18rem, 100%);
    height: 0.4rem;
    margin-top: 0.35rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e7ebe8;
}

.calendar-modal-capacity span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--calendar-primary);
}

.calendar-modal-notes {
    padding: 1rem;
    border-left: 4px solid var(--calendar-primary);
    border-radius: 0 10px 10px 0;
    background: #f7f9f8;
}

.calendar-modal-notes h3 {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
}

.calendar-modal-notes p {
    margin: 0;
    color: #526058;
    line-height: 1.55;
    white-space: pre-line;
}

.calendar-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding-top: 0.15rem;
}

.calendar-modal-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    min-height: 3rem;
    margin: 0;
}

@media (max-width: 560px) {
    .calendar-modal {
        padding: 1rem;
        align-items: center;
    }

    .calendar-modal-content {
        max-height: calc(100vh - 2rem);
    }

    .calendar-modal-header,
    .calendar-modal-body--competition {
        padding: 1rem;
    }

    .calendar-modal-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .calendar-modal-info-grid {
        grid-template-columns: 1fr;
    }

    .calendar-modal-info:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .calendar-modal-actions {
        display: grid;
    }

    .calendar-modal-actions .button {
        width: 100%;
    }
}

body.theme-button-sober .button.primary,
body.theme-button-sober .admin-cta,
body.theme-button-sober .btn-golf,
body.theme-button-sober .home-competition-register-button {
    border-radius: 10px !important;
    box-shadow: none !important;
}

body.theme-button-premium .button.primary,
body.theme-button-premium .admin-cta,
body.theme-button-premium .btn-golf,
body.theme-button-premium .home-competition-register-button {
    border-radius: 14px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.theme-card-shadow-soft .box.special,
body.theme-card-shadow-soft .news-card,
body.theme-card-shadow-soft .sponsors-public-card,
body.theme-card-shadow-soft .competition-card {
    border-top-width: 0;
    box-shadow: 0 18px 34px var(--club-primary-shadow);
}

body.theme-card-tinted .box.special,
body.theme-card-tinted .news-card,
body.theme-card-tinted .sponsors-public-card,
body.theme-card-tinted .competition-card,
body.theme-card-tinted .content-links-box {
    background: linear-gradient(180deg, #ffffff, var(--club-primary-light));
}

body.theme-heading-sport h1,
body.theme-heading-sport h2,
body.theme-heading-sport h3,
body.theme-heading-sport h4 {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.theme-heading-institutional h1,
body.theme-heading-institutional h2,
body.theme-heading-institutional h3,
body.theme-heading-institutional h4 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.01em;
}

body.theme-menu-compact #header .home-nav > li > a {
    min-width: 0;
    padding: 0 0.85rem;
    font-size: 0.95rem;
}

body.theme-menu-centered #header {
    text-align: center;
}

body.theme-menu-centered #header :is(h1, .home-header-brand) {
    display: block;
    margin: 0 auto 0.4rem;
}

body.theme-menu-centered #header nav {
    float: none;
}

body.theme-menu-centered #header .home-nav {
    justify-content: center;
}

body.theme-content-sport .news-card h3,
body.theme-content-sport .sponsors-public-card h3 {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.theme-content-institutional .news-card,
body.theme-content-institutional .sponsors-public-card {
    border-radius: 8px;
}

body.theme-content-institutional .news-card h3,
body.theme-content-institutional .sponsors-public-card h3 {
    font-family: Georgia, "Times New Roman", serif;
}

@media screen and (max-width: 980px) {
    .home-live-grid {
        grid-template-columns: 1fr;
    }

    .calendar-agenda-grid > .col-6,
    .calendar-agenda-grid > .col-12-narrower {
        width: 50%;
    }

    .calendar-control-bar,
    .calendar-nav-public {
        justify-content: center;
    }

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

@media screen and (max-width: 736px) {
    .home-live-card,
    .news-card,
    .sponsors-public-card {
        padding: 0.95rem 0.95rem 0.9rem;
    }

    .home-live-header {
        flex-direction: column;
    }

    .home-competition-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-competition-meta {
        justify-content: center;
    }

    .news-card-media,
    .home-news-media {
        aspect-ratio: 16 / 9;
    }

    .news-card-media,
    .news-card > .image.featured.news-card-media,
    .news-card .image.featured.news-card-media {
        margin: -0.95rem -0.95rem 0.85rem !important;
        width: calc(100% + 1.9rem) !important;
        max-width: calc(100% + 1.9rem) !important;
    }

    .calendar-public-shell {
        padding-top: 3.9em;
    }

    .calendar-page-hero :is(h2, h1.public-page-title) {
        font-size: 2rem;
    }

    .calendar-page-hero p {
        font-size: 0.98rem;
    }

    .agenda-card {
        max-width: none;
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .agenda-date {
        max-width: 6.25rem;
        margin: 0 auto;
    }

    .agenda-content {
        text-align: center;
    }

    .calendar-public-shell .meta {
        justify-content: center;
    }

    .calendar-public-shell .action-row {
        flex-direction: column;
    }

    .calendar-public-shell .btn-details,
    .calendar-public-shell .btn-register {
        width: 100%;
    }

    .calendar-agenda-grid > .col-6,
    .calendar-agenda-grid > .col-12-narrower {
        width: 100%;
    }

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

    .calendar-weekday-head {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .calendar-board {
        grid-template-columns: 1fr;
    }

    .calendar-nav-public {
        gap: 0.5rem;
    }

    .calendar-current-label {
        width: 100%;
        text-align: center;
    }
}

.page-shell {
    min-height: calc(100vh - 3.25em);
    padding-top: 4.75em;
}

.page-shell .container-fluid,
.page-shell .container {
    max-width: 1440px;
}

body.theme-alpha-auisp #main.container {
    width: min(1600px, calc(100% - 5rem)) !important;
    max-width: 1600px !important;
}

@media screen and (max-width: 980px) {
    body.theme-alpha-auisp #main.container {
        width: calc(100% - 3rem) !important;
        max-width: calc(100% - 3rem) !important;
    }
}

@media screen and (max-width: 736px) {
    body.theme-alpha-auisp #main.container {
        width: calc(100% - 2rem) !important;
        max-width: calc(100% - 2rem) !important;
    }
}

.hero-dashboard {
    background: linear-gradient(135deg, rgba(33, 76, 55, 0.98), rgba(55, 107, 76, 0.9));
    border-radius: 10px;
    box-shadow: none;
}

.hero-dashboard .section-kicker {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-rich-text {
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.hero-rich-text p,
.hero-rich-text div {
    margin: 0 0;
    padding: 0;
    border: 0;
    display: block;
    font-size: inherit;
    line-height: inherit;
    font-style: normal;
}

.hero-rich-text p:last-child,
.hero-rich-text div:last-child {
    margin-bottom: 0;
}

.hero-rich-text ul,
.hero-rich-text ol,
.intro-rich-text ul,
.intro-rich-text ol {
    margin: 0 0 1rem 1.25rem;
    padding-left: 1.1rem;
    text-align: inherit;
}

.hero-rich-text li,
.intro-rich-text li {
    margin: 0.4rem 0;
    padding-left: 0;
}

#banner.banner-has-video {
    position: relative;
    overflow: hidden;
    background-image: none !important;
    padding: 9em 0 11em 0;
}

body.landing #banner.banner-has-video + #main {
    margin-top: 0;
    padding-top: 4em;
}

.hero-video-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-layer iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.8);
    transform-origin: center center;
    border: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(39, 62, 43, 0.52), rgba(39, 62, 43, 0.62));
}

.hero-banner-content {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 1680px) {
    #banner.banner-has-video {
        padding: 8em 0 10em 0;
    }
}

@media screen and (max-width: 840px) {
    #banner.banner-has-video {
        padding: 4.5em 2.5em 4em 2.5em;
    }
}

@media screen and (max-width: 480px) {
    #banner.banner-has-video {
        padding: 4em 1.5em 3.25em 1.5em;
    }
}

.intro-rich-text {
    color: inherit;
    line-height: 1.55;
}

.intro-rich-text p,
.intro-rich-text div {
    margin: 0 0 0.5rem;
    padding: 0;
    border: 0;
    display: block;
    font-size: inherit;
    line-height: inherit;
    font-style: normal;
}

.intro-rich-text p:last-child,
.intro-rich-text div:last-child {
    margin-bottom: 0;
}

#main .public-breadcrumbs {
    display: block;
    grid-column: 1 / -1;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    float: none;
    clear: both;
    margin: 0 0 1.75rem;
    padding: 0;
    color: #626b65;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}

#main .public-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Keep short labels whole; wrap between steps, never shrink their text. */
#main .public-breadcrumbs li {
    display: block;
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-wrap: normal;
    word-break: normal;
}

#main .public-breadcrumbs a {
    color: inherit;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 0;
}

#main .public-breadcrumbs a:hover {
    color: var(--club-primary-text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

#main .public-breadcrumbs a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

#main .public-breadcrumbs [aria-current="page"] {
    font-weight: 500;
    overflow-wrap: anywhere;
}

#main .public-breadcrumb-separator {
    display: inline-block;
    margin-right: 0.6rem;
    color: #89918b;
}

@media screen and (max-width: 736px) {
    #main .public-breadcrumbs {
        margin-bottom: 1.25rem;
        font-size: 0.78rem;
    }

    #main .public-breadcrumbs a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

.home-header-brand {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.85rem;
    max-width: min(46rem, 100%);
    min-width: 0;
}

.home-header-brand-link {
    flex-wrap: nowrap;
}

.home-header-logo {
    display: block;
    width: clamp(7rem, 10vw, 10rem);
    height: clamp(3.25rem, 4vw, 3.75rem);
    margin-top: 0;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
    border-radius: 0;
}

.home-header-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    line-height: 1.15;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
}

@media screen and (max-width: 736px) {
    .home-header-brand {
        max-width: calc(100vw - 10rem);
    }

    .home-header-logo {
        width: 150px;
        height: 56px;
    }
}

.content-card,
.stat-card,
.login-card,
.hero-panel {
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid rgba(33, 76, 55, 0.08);
}

.content-card,
.stat-card,
.login-card {
    background: #ffffff;
}

.alert {
    border-radius: 8px;
}

.table {
    --bs-table-bg: transparent;
}

.table thead th {
    color: #214c37;
    font-weight: 600;
}

.badge {
    border-radius: 0.45rem;
}

.login-shell {
    min-height: calc(100vh - 3.25em);
    padding-top: 4.75em;
}

.login-card .input-group .btn {
    border-radius: 14px;
}

.session-list strong,
.dashboard-session-list strong {
    color: #214c37;
}

@media screen and (max-width: 980px) {
    .page-shell,
    .login-shell {
        padding-top: 4.25em;
    }
}

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

.news-block {
    background: #fff;
    border: 1px solid rgba(33, 76, 55, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(26, 63, 45, 0.06);
}

.news-block-title {
    margin-bottom: 0.85rem;
    color: #214c37;
}

.news-block-richtext > *:last-child {
    margin-bottom: 0;
}

.news-block--split .news-block-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.news-block--split-right .news-block-split-media {
    order: 2;
}

.news-block--split-right .news-block-split-copy {
    order: 1;
}

.news-block-split-media img,
.news-block--image img,
.news-block-gallery-item img,
.news-block-hero-media img {
    display: block;
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.news-block--image img {
    max-height: 420px;
}

.news-block-split-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    margin-inline: auto;
    object-fit: contain;
}

.news-block-actions {
    margin-top: 1rem;
}

.news-block--hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 0;
    background: linear-gradient(135deg, #214c37, #2f6f4f);
}

.news-block-hero-media {
    position: absolute;
    inset: 0;
}

.news-block-hero-media img {
    height: 100%;
}

.news-block-hero-overlay {
    position: relative;
    z-index: 1;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(18, 34, 25, 0.72), rgba(33, 76, 55, 0.42));
    color: #fff;
}

.news-block--content-image {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.news-block-content-image-media {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
}

.news-block-content-image-media img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none;
    object-fit: contain !important;
    margin: 0 auto;
}

.news-block-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.82;
}

.news-block-hero-title,
.news-block-hero-text {
    color: #fff;
}

.news-block-hero-title {
    margin-bottom: 0;
}

.news-block-hero-text {
    margin-bottom: 0;
    max-width: 46rem;
}

.news-block--gallery .news-block-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1rem;
}

.news-block-richtext {
    overflow-x: auto;
}

.news-block-richtext table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.news-block-richtext th,
.news-block-richtext td {
    border: 1px solid rgba(33, 76, 55, 0.16);
    padding: 0.65rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.news-block-richtext th {
    color: #214c37;
    background: var(--club-primary-light);
    font-weight: 700;
}

.news-block--external-gallery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.news-block-external-gallery-copy {
    min-width: 0;
}

.news-block--external-gallery p {
    margin-bottom: 0;
}

.news-block-video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background: #111;
}

.news-block-video-frame iframe,
.news-block-video-player {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.news-block-video-player {
    max-height: 560px;
    border-radius: 14px;
    background: #111;
}

.news-block-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #f4f7f5;
    border: 1px solid rgba(33, 76, 55, 0.08);
    box-shadow: 0 10px 24px rgba(26, 63, 45, 0.08);
}

.news-block-gallery-link,
.news-block-split-link {
    display: block;
    border-bottom: 0;
    cursor: zoom-in;
}

.news-block-gallery-link:focus-visible,
.news-block-split-link:focus-visible {
    outline: 3px solid #214c37;
    outline-offset: -3px;
}

.news-block-split-link {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.news-block-split-link::after {
    content: '\1F50D';
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    font-size: 1rem;
    pointer-events: none;
}

.news-block-gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 0;
}

.news-block--quote {
    background: linear-gradient(135deg, rgba(33, 76, 55, 0.08), rgba(255, 255, 255, 0.98));
}

.news-block--quote blockquote {
    margin: 0;
    padding: 0;
    border-left: 0;
    font-size: 1.15rem;
    line-height: 1.6;
    font-style: italic;
    color: inherit;
}

.news-block-quote-author {
    margin-top: 0.85rem;
    font-weight: 700;
    color: inherit;
}

.news-block--image figcaption {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: #6b7b72;
}

.news-block--image {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.news-block--image img {
    display: block;
    width: 100%;
    min-height: 360px;
}

.news-block-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(12, 22, 17, 0.18), rgba(12, 22, 17, 0.58));
}

.news-block-image-title {
    max-width: 16ch;
    margin: 0 auto;
    font-size: clamp(1.9rem, 3vw, 3.4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.news-block--image figcaption {
    padding: 0 1.5rem 1.25rem;
}

body.is-lightbox-open {
    overflow: hidden;
}

.news-lightbox[hidden] {
    display: none;
}

.news-lightbox {
    position: fixed;
    inset: 0;
    z-index: 14000;
}

.news-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 13, 0.84);
    backdrop-filter: blur(4px);
}

.news-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 5.5rem;
}

.news-lightbox-figure {
    margin: 0;
    max-width: min(1120px, 100%);
    max-height: calc(100vh - 4rem);
}

.news-lightbox-figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 4rem);
    width: auto;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.news-lightbox-close,
.news-lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.news-lightbox-close:hover,
.news-lightbox-close:focus-visible,
.news-lightbox-nav:hover,
.news-lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.news-lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    line-height: 1;
}

.news-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 3.25rem;
    height: 3.25rem;
    font-size: 2rem;
    line-height: 1;
}

.news-lightbox-nav:hover,
.news-lightbox-nav:focus-visible {
    transform: translateY(calc(-50% - 1px));
}

.news-lightbox-nav--prev {
    left: 1.25rem;
}

.news-lightbox-nav--next {
    right: 1.25rem;
}

@media screen and (max-width: 980px) {
    .news-block--split .news-block-split-grid {
        grid-template-columns: 1fr;
    }

    .news-block--external-gallery {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-block--split-right .news-block-split-media,
    .news-block--split-right .news-block-split-copy {
        order: initial;
    }
}

@media screen and (max-width: 640px) {
    .news-detail-box .image.featured img {
        height: 150px;
    }

    .news-block-split-media img {
        max-height: 320px;
    }

    .news-detail-actions {
        flex-direction: column;
        padding: 0 1rem 1.15rem;
    }

    .news-detail-actions li,
    .news-detail-actions .button {
        width: 100%;
    }

    .news-block {
        padding: 1.1rem;
        border-radius: 14px;
    }

    .news-block--hero,
    .news-block-hero-overlay {
        min-height: 300px;
    }

    .news-block-hero-overlay {
        padding: 1.25rem;
    }

    .news-block-image-overlay {
        padding: 1.25rem;
    }

    .news-block-image-title {
        max-width: 100%;
    }

    .news-lightbox-dialog {
        padding: 1rem 4rem;
    }

    .news-lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
    }

    .news-lightbox-nav {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.7rem;
    }

    .news-lightbox-nav--prev {
        left: 0.5rem;
    }

    .news-lightbox-nav--next {
        right: 0.5rem;
    }
}
/* Accès rapides publics : rail desktop et panneau tactile mobile. */
.public-quick-access,
.public-quick-access * {
    box-sizing: border-box;
}

.public-quick-access ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.public-quick-access-desktop {
    position: fixed;
    top: 50%;
    right: max(2px, env(safe-area-inset-right));
    z-index: 9000;
    transform: translateY(-50%);
}

.public-quick-access-list {
    display: grid;
    gap: 2px;
}

.public-quick-access-item {
    position: relative;
}

.public-quick-access-link {
    position: relative;
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 6px 0 0 6px;
    background: var(--quick-access-bg);
    color: var(--quick-access-color) !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(20, 32, 25, 0.16);
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.public-quick-access-link:hover,
.public-quick-access-link:focus-visible {
    background: var(--quick-access-hover);
    color: var(--quick-access-color) !important;
    box-shadow: 0 6px 20px rgba(20, 32, 25, 0.24);
}

.public-quick-access-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.public-quick-access-label {
    position: absolute;
    top: 0;
    right: 50px;
    display: flex;
    height: 52px;
    min-width: max-content;
    align-items: center;
    padding: 0 1rem;
    border-radius: 6px 0 0 6px;
    background: var(--quick-access-hover);
    color: var(--quick-access-color);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transform: translateX(12px);
    transition: opacity 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.public-quick-access-link:hover .public-quick-access-label,
.public-quick-access-link:focus-visible .public-quick-access-label {
    opacity: 1;
    transform: translateX(0);
}

.public-quick-access-mobile {
    display: none;
}

@media screen and (max-width: 840px) {
    .public-quick-access-desktop {
        display: none;
    }

    .public-quick-access-mobile {
        position: fixed;
        right: max(1rem, env(safe-area-inset-right));
        bottom: max(1rem, env(safe-area-inset-bottom));
        z-index: 9000;
        display: block;
    }

    .public-quick-access-mobile > summary {
        display: flex;
        width: 58px;
        height: 58px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: var(--club-primary, #2F6F4F);
        color: var(--club-on-primary, #FFFFFF);
        box-shadow: 0 8px 24px rgba(20, 32, 25, 0.28);
        cursor: pointer;
        list-style: none;
    }

    .public-quick-access-mobile > summary::-webkit-details-marker {
        display: none;
    }

    .public-quick-access-mobile > summary .fas {
        font-size: 1.25rem;
    }

    .public-quick-access-summary-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .public-quick-access-mobile[open] > summary {
        background: var(--club-primary-dark, #275D43);
    }

    .public-quick-access-mobile-panel {
        position: absolute;
        right: 0;
        bottom: 70px;
        width: min(330px, calc(100vw - 2rem));
        max-height: calc(100vh - 6.5rem);
        overflow-y: auto;
        padding: 1rem;
        border: 1px solid rgba(20, 45, 31, 0.1);
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 18px 46px rgba(20, 32, 25, 0.26);
    }

    .public-quick-access-mobile-panel > strong {
        display: block;
        margin-bottom: 0.75rem;
        color: #24372c;
        font-size: 1rem;
    }

    .public-quick-access-mobile .public-quick-access-list {
        gap: 0.45rem;
    }

    .public-quick-access-mobile .public-quick-access-link {
        width: 100%;
        height: 48px;
        justify-content: flex-start;
        border-radius: 8px;
    }

    .public-quick-access-mobile .public-quick-access-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 1.05rem;
    }

    .public-quick-access-mobile .public-quick-access-label {
        position: static;
        height: auto;
        min-width: 0;
        padding: 0 0.9rem 0 0.15rem;
        background: transparent;
        color: inherit;
        font-size: 0.92rem;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        white-space: normal;
    }
}

@media print {
    .public-quick-access {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-quick-access-link,
    .public-quick-access-label {
        transition: none;
    }
}

/* Recherche publique partagée par le menu, la colonne latérale et la page de résultats. */
.public-search-menu-link {
    min-width: 2.5rem;
    text-align: center;
}

.public-search-menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.public-search-dialog[hidden],
.public-search-suggestions[hidden] {
    display: none !important;
}

.public-search-dialog {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: start center;
    padding: min(14vh, 8rem) 1rem 1rem;
}

.public-search-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(14, 28, 20, 0.68);
    cursor: default;
}

.public-search-dialog-panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(10, 25, 16, 0.35);
}

.public-search-dialog-panel h2 {
    margin: 0 2.5rem 1rem 0;
    color: var(--club-primary-text);
    font-size: 1.45rem;
}

.public-search-dialog-close {
    position: absolute;
    top: 0.75rem;
    right: 0.8rem;
    width: 2.25rem;
    min-width: 0;
    height: 2.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #526158;
    box-shadow: none;
    font-size: 1.8rem;
    line-height: 1;
}

body.is-public-search-open {
    overflow: hidden;
}

.public-search-widget {
    position: relative;
    color: #263c30;
    text-align: left;
}

.public-search-widget--sidebar {
    z-index: 5;
    margin-bottom: 1rem;
    padding: 1rem;
    border-top: 4px solid var(--club-primary);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 28px var(--club-primary-shadow);
}

.public-search-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--club-primary-text);
    font-size: 0.98rem;
    font-weight: 700;
}

.public-search-input-wrap {
    position: relative;
    display: flex;
    gap: 0.55rem;
    align-items: stretch;
}

.public-search-input-wrap > .fa-search {
    position: absolute;
    top: 50%;
    left: 0.85rem;
    z-index: 1;
    color: var(--club-primary);
    transform: translateY(-50%);
    pointer-events: none;
}

input.public-search-input {
    width: 100%;
    height: 2.85rem;
    padding: 0 0.8rem 0 2.45rem;
    border: 1px solid var(--club-primary-light-border);
    border-radius: 10px;
    background: #fff;
    color: #24372c;
    box-shadow: inset 0 1px 3px rgba(20, 45, 31, 0.08);
}

input.public-search-input:focus {
    border-color: var(--club-primary);
    box-shadow: 0 0 0 3px var(--club-primary-soft-strong);
}

.public-search-submit {
    height: 2.85rem;
    padding: 0 1rem;
    white-space: nowrap;
}

.public-search-widget--sidebar .public-search-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.public-search-help {
    margin: 0.4rem 0 0;
    color: #6f7f75;
    font-size: 0.76rem;
    line-height: 1.35;
}

.public-search-widget--dialog .public-search-help,
.public-search-widget--page .public-search-help {
    margin-left: 0.1rem;
}

.public-search-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.public-search-suggestions {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 50;
    width: 100%;
    max-height: min(65vh, 31rem);
    overflow-y: auto;
    border: 1px solid rgba(30, 65, 45, 0.14);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 40, 28, 0.24);
}

.public-search-result {
    display: block;
    padding: 0.85rem 1rem;
    border: 0;
    color: #263c30;
    text-decoration: none;
}

.public-search-result + .public-search-result {
    border-top: 1px solid rgba(30, 65, 45, 0.09);
}

.public-search-result:hover,
.public-search-result:focus,
.public-search-result.is-active {
    background: var(--club-primary-light);
    color: var(--club-primary-darker);
}

.public-search-result-heading {
    display: flex;
    gap: 0.65rem;
    align-items: baseline;
    justify-content: space-between;
}

.public-search-result-heading strong {
    color: inherit;
    line-height: 1.3;
}

.public-search-result-type,
.public-search-page-result-meta span {
    flex: 0 0 auto;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: var(--club-primary-soft-strong);
    color: var(--club-primary-text);
    font-size: 0.7rem;
    font-weight: 700;
}

.public-search-result-excerpt {
    display: block;
    margin-top: 0.25rem;
    color: #68786e;
    font-size: 0.82rem;
    line-height: 1.45;
}

.public-search-all-results {
    display: block;
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(30, 65, 45, 0.12);
    color: var(--club-primary-text);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.public-search-empty {
    margin: 0;
    padding: 1rem;
    color: #68786e;
    text-align: center;
}

.public-search-page-form {
    position: relative;
    z-index: 4;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.public-search-count {
    margin-bottom: 1rem;
    color: #627168;
    text-align: center;
}

.public-search-page-results {
    display: grid;
    gap: 1rem;
    max-width: 920px;
    margin: 0 auto;
}

.public-search-page-result {
    margin: 0;
    padding: 1.25rem 1.4rem;
    border-left: 4px solid var(--club-primary);
}

.public-search-page-result h3 {
    margin: 0.45rem 0 0.5rem;
}

.public-search-page-result p {
    margin: 0;
}

.public-search-page-result-meta {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    color: #708077;
    font-size: 0.78rem;
}

@media screen and (max-width: 840px) {
    .public-search-dialog {
        padding-top: 4.5rem;
    }

    .public-search-input-wrap {
        display: block;
    }

    .public-search-submit {
        width: 100%;
        margin-top: 0.55rem;
    }

    .public-search-widget--sidebar .public-search-submit {
        margin: 0;
    }
}

/* Retour en haut : contrôle discret, indépendant du menu mobile. */
button.public-back-to-top {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 8900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--club-primary-light-border);
    border-radius: 50%;
    background: #fff;
    color: var(--club-primary-text);
    box-shadow: 0 3px 12px rgba(20, 40, 28, 0.16);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

button.public-back-to-top:hover,
button.public-back-to-top:focus-visible {
    background: var(--club-primary-light);
    color: var(--club-primary-darker);
}

button.public-back-to-top:focus-visible {
    outline: 2px solid var(--club-primary);
    outline-offset: 3px;
}

button.public-back-to-top[hidden],
body.is-public-search-open .public-back-to-top,
body.is-lightbox-open .public-back-to-top,
body.navPanel-visible .public-back-to-top {
    display: none !important;
}

@media screen and (max-width: 840px) {
    body:has(.public-quick-access-mobile) .public-back-to-top {
        bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 70px);
    }
    body:has(.public-quick-access-mobile[open]) .public-back-to-top {
        display: none;
    }
}

@media print {
    button.public-back-to-top { display: none !important; }
}

/* En-tête public mobile : le logo reste un accès permanent à l'accueil. */
@media screen and (max-width: 840px) {
    #header.public-site-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10020;
        display: flex;
        width: 100%;
        height: 56px;
        min-height: 56px;
        align-items: center;
        justify-content: center;
        padding: 0 4.75rem;
        line-height: 1;
        overflow: visible;
    }

    #header.public-site-header .home-header-brand {
        position: static;
        display: flex;
        width: auto;
        max-width: min(12rem, calc(100vw - 9.5rem));
        height: 48px;
        align-items: center;
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    #header.public-site-header .home-header-brand-link {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    #header.public-site-header .home-header-logo {
        display: block;
        width: auto;
        max-width: 100%;
        height: 44px;
        max-height: 44px;
        object-fit: contain;
    }

    #header.public-site-header .home-header-title,
    #header.public-site-header #nav {
        display: none;
    }

    body:has(#header.public-site-header) #page-wrapper {
        padding-top: 56px !important;
    }

    body:has(#header.public-site-header) #navButton {
        z-index: 10030;
        height: 56px;
        pointer-events: none;
    }

    body:has(#header.public-site-header) #navButton .toggle {
        width: 4.5rem;
        pointer-events: auto;
    }

    body:has(#header.public-site-header) #navPanel {
        z-index: 10040;
    }
}

/* Barre d’administration affichée sur le site public pour le club connecté. */
.public-admin-bar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 11000;
    height: 36px;
    margin: 0;
    padding: 0;
    background: #1d2327;
    color: #dcdcde;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1;
}

.public-admin-bar-inner,
.public-admin-bar-group {
    display: flex;
    align-items: stretch;
}

.public-admin-bar-inner {
    width: 100%;
    height: 100%;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
}

.public-admin-bar-inner::-webkit-scrollbar {
    display: none;
}

.public-admin-bar-group {
    min-width: max-content;
}

.public-admin-bar-group--account {
    margin-left: auto;
}

.public-admin-bar-link,
.public-admin-bar-club,
.public-admin-bar-user {
    display: inline-flex;
    height: 36px;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.75rem;
    border: 0 !important;
    border-radius: 0;
    color: #dcdcde !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.public-admin-bar-logout-form {
    margin: 0;
}

.public-admin-bar-logout {
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.public-admin-bar-link:hover,
.public-admin-bar-link:focus {
    background: #2c3338;
    color: #72aee6 !important;
}

.public-admin-bar-brand {
    color: #ffffff !important;
    font-weight: 700;
}

.public-admin-bar-edit {
    background: #2c3338;
    color: #ffffff !important;
    font-weight: 600;
}

.public-admin-bar-edit:hover,
.public-admin-bar-edit:focus {
    background: #3c434a;
}

.public-admin-bar-club {
    max-width: 18rem;
    overflow: hidden;
    color: #a7aaad !important;
    text-overflow: ellipsis;
}

.public-admin-bar-user {
    color: #f0f0f1 !important;
}

body.has-public-admin-bar #header.public-site-header {
    top: 36px;
}

body.has-public-admin-bar #page-wrapper {
    padding-top: calc(3em + 36px);
}

body.landing.has-public-admin-bar #page-wrapper {
    padding-top: 36px;
}

@media screen and (max-width: 840px) {
    .public-admin-bar {
        height: 40px;
        font-size: 12px;
    }

    .public-admin-bar-link,
    .public-admin-bar-club,
    .public-admin-bar-user {
        height: 40px;
        padding-right: 0.65rem;
        padding-left: 0.65rem;
    }

    .public-admin-bar-secondary,
    .public-admin-bar-club,
    .public-admin-bar-user {
        display: none;
    }

    body.has-public-admin-bar #header.public-site-header,
    body.has-public-admin-bar #navButton {
        top: 40px;
    }

    body.has-public-admin-bar:has(#header.public-site-header) #page-wrapper {
        padding-top: 96px !important;
    }

    body.has-public-admin-bar #navPanel {
        top: 40px;
        height: calc(100% - 40px);
    }
}

@media print {
    .public-admin-bar {
        display: none !important;
    }

    body.has-public-admin-bar #header.public-site-header {
        top: 0;
    }
}
