/* Homepage-only layout safeguards; keep each theme's typography and palette. */
/* The static banner reserves an overlap; a news slider has content and controls
   down to its bottom edge, so the following blocks must stay in normal flow. */
body.landing .home-news-hero-slider + #main.home-ordered-shell {
    margin-top: 0;
}

body .home-intro-media img {
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}
body.theme-team-golf .home-live-grid--single .team-golf-cause-media {
    aspect-ratio: auto;
    height: clamp(180px, 24vw, 320px);
}
body.theme-modern-club .modern-spotlight > .modern-spotlight-media,
body.theme-team-golf .team-golf-intro-media {
    align-self: center;
    min-height: 0;
    aspect-ratio: 4 / 3;
}
body.theme-modern-club .modern-service {
    display: flex;
    flex-direction: column;
}
body.theme-modern-club .modern-service > .modern-spotlight-media {
    flex: none;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
body.theme-modern-club .modern-service > .modern-spotlight-media img {
    min-height: 0;
    height: 100%;
}
body.theme-modern-club .modern-service > .button {
    align-self: flex-start;
    margin-top: auto;
}
body.theme-team-golf .button.team-golf-button-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 2.75rem;
    line-height: 1.4;
    white-space: normal;
}
body.theme-association .home-intro-layout {
    display: flow-root;
}
body.theme-association .home-intro-layout > .association-card-media {
    float: left;
    width: 42%;
    margin: 0 2rem 1rem 0;
}
@media screen and (max-width: 736px) {
    body.theme-association .home-intro-layout > .association-card-media {
        float: none;
        width: 100%;
        margin: 0 0 1.5rem;
    }

}

.home-news-hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: min(72vh, 680px);
    border-radius: 0;
    background: #19392b;
    color: #fff;
}
.home-news-hero-slider-track,
.home-news-hero-slide {
    min-height: inherit;
}
.home-news-hero-slide {
    display: none;
    align-items: center;
    background-position: center;
    background-size: cover;
}
.home-news-hero-slide.is-active {
    display: flex;
}
.home-news-hero-slide-inner {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 6.75rem 0 6.5rem;
}
.home-news-hero-slide-inner > * {
    max-width: 720px;
}
.home-news-hero-slide-inner {
    position: relative;
}
.home-news-hero-slide-inner > .home-news-hero-kicker,
.home-news-hero-slide-inner > h2,
.home-news-hero-slide-inner > p,
.home-news-hero-slide-inner > a {
    position: relative;
    z-index: 1;
}
.home-news-hero-slide-inner::after {
    content: "";
    position: absolute;
    top: 5rem;
    left: -1.5rem;
    width: min(760px, calc(100% + 3rem));
    height: calc(100% - 10rem);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(8, 18, 14, 0.62), rgba(8, 18, 14, 0.34));
    backdrop-filter: blur(1px);
    z-index: 0;
}
.home-news-hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}
.home-news-hero-slide h2 {
    margin: 1rem 0 0.75rem;
    color: #fff;
    font-size: clamp(2.15rem, 4vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: 0;
}
.home-news-hero-date,
.home-news-hero-excerpt {
    color: rgba(255, 255, 255, 0.9);
}
.home-news-hero-excerpt {
    font-size: 1.05rem;
    line-height: 1.65;
}
.home-news-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    margin-top: 0.85rem;
    padding: 0.85rem 1.35rem;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.94);
    color: #173424 !important;
    font-weight: 800;
    text-shadow: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}
.home-news-hero-button:hover,
.home-news-hero-button:focus {
    background: #fff;
    border-color: #fff;
    color: #173424 !important;
}
.home-news-hero-controls {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transform: translateX(-50%);
    z-index: 2;
    width: max-content;
    max-width: calc(100% - 2rem);
    flex-wrap: wrap;
    justify-content: center;
}
.home-news-hero-dots { flex-wrap: wrap; justify-content: center; }
.home-news-hero-nav,
.home-news-hero-dot {
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(0, 0, 0, 0.24);
    color: #fff;
    cursor: pointer;
}
.home-news-hero-nav {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    font-size: 1.65rem;
    line-height: 1;
}
.home-news-hero-dots {
    display: inline-flex;
    gap: 0.45rem;
}
.home-news-hero-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    padding: 0;
}
.home-news-hero-dot.is-active {
    background: #fff;
}
.home-live-grid--single,
.association-live-grid.home-live-grid--single,
.modern-grid.home-live-grid--single,
.team-golf-info-grid.home-live-grid--single {
    grid-template-columns: minmax(0, 1fr) !important;
}
.home-live-grid--single > * {
    grid-column: 1 / -1;
}
.home-ordered-shell {
    gap: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.home-ordered-shell > .home-final-cta {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.home-ordered-shell ~ #footer {
    margin-top: 0 !important;
}
/* Match the adjoining surface: a full-width block, or the shell behind an inset block/ticker. */
body.theme-tiya .tiya-shell {
    --tiya-hero-join-bg: #f9f7ef;
}
body.theme-tiya .tiya-shell:has(> .tiya-hero + :nth-child(1 of [data-home-background-section]):is(.tiya-intro-section, .tiya-events-section)) {
    --tiya-hero-join-bg: #f3ecd9;
}
body.theme-tiya .tiya-shell:has(> .tiya-hero + :nth-child(1 of [data-home-background-section]):is(.tiya-intro-section, .tiya-events-section, .tiya-sponsors-section):is(.home-section-tone--light, .home-auto-background--light)) {
    --tiya-hero-join-bg: var(--home-section-bg-light, #F7F3E8);
}
body.theme-tiya .tiya-shell:has(> .tiya-hero + :nth-child(1 of [data-home-background-section]):is(.tiya-intro-section, .tiya-events-section, .tiya-sponsors-section):is(.home-section-tone--dark, .home-auto-background--dark)) {
    --tiya-hero-join-bg: var(--home-section-bg-dark, #5F7F63);
}
body.theme-tiya .tiya-hero::after {
    background: var(--tiya-hero-join-bg, #f9f7ef);
}
/* A photo CTA has no single surface colour to continue into the curve. */
body.theme-tiya .tiya-shell:has(> .tiya-hero + :nth-child(1 of [data-home-background-section]).home-final-cta) .tiya-hero::after {
    display: none;
}
body.theme-tiya .tiya-shell.home-ordered-shell > .tiya-intro-section,
body.theme-tiya .tiya-shell.home-ordered-shell > .tiya-events-section,
body.theme-tiya .tiya-shell.home-ordered-shell > .tiya-sponsors-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.home-section-tone--light,
.home-section-tone--dark {
    padding: clamp(2rem, 4vw, 4rem);
    border-radius: 18px;
}
.home-section-tone--light {
    background: var(--home-section-bg-light, #F7F3E8) !important;
}
:is(.home-section-tone--dark, .home-auto-background--dark) {
    background: var(--home-section-bg-dark, #5F7F63) !important;
    color: var(--home-section-ink-dark, #fff);
}
:is(.home-section-tone--dark, .home-auto-background--dark) h2,
:is(.home-section-tone--dark, .home-auto-background--dark) h3,
:is(.home-section-tone--dark, .home-auto-background--dark) h4,
:is(.home-section-tone--dark, .home-auto-background--dark) h5,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-section-title h3,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-section-head h3,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-section-heading h3,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-section-heading h3 {
    color: var(--home-section-ink-dark, #fff) !important;
}
:is(.home-section-tone--dark, .home-auto-background--dark) p,
:is(.home-section-tone--dark, .home-auto-background--dark) li,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-section-title p,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-section-head p,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-rich-text,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-rich-text {
    color: var(--home-section-ink-dark, #fff);
}
:is(.home-section-tone--dark, .home-auto-background--dark) a:not(.button),
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-link,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-inline-link,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-service-cta {
    color: var(--home-section-ink-dark, #fff) !important;
}
:is(.home-section-tone--dark, .home-auto-background--dark) .button,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-section-button,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-section-button,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-button-primary,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-button-primary {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #1f3f2e !important;
}
:is(.home-section-tone--dark, .home-auto-background--dark) .association-feature,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-service,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-sponsor-card,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-feature,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-service,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-sponsor,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-intro-card,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-feature-card,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-service-card,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-sponsor-card,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-section-grid,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-card,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-service-card,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-sponsor-card,
:is(.home-section-tone--dark, .home-auto-background--dark) .box,
:is(.home-section-tone--dark, .home-auto-background--dark) .home-sponsor-card {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #27382c;
}
:is(.home-section-tone--dark, .home-auto-background--dark) .association-feature h4,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-service h4,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-sponsor-card h5,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-feature h4,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-service h4,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-sponsor h5,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-intro-card h3,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-feature-card h4,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-service-card h4,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-sponsor-card h5,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-section-grid h3,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-card h4,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-service-card h4,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-sponsor-card h5,
:is(.home-section-tone--dark, .home-auto-background--dark) .box h3 {
    color: #27382c !important;
}
:is(.home-section-tone--dark, .home-auto-background--dark) .association-feature p,
:is(.home-section-tone--dark, .home-auto-background--dark) .association-service p,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-feature p,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-service p,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-intro-card p,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-feature-card p,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-service-card p,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-section-grid p,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-card p,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-service-card p,
:is(.home-section-tone--dark, .home-auto-background--dark) .box p {
    color: #4d5d51;
}
:is(.home-section-tone--dark, .home-auto-background--dark) .association-service .association-service-cta,
:is(.home-section-tone--dark, .home-auto-background--dark) .modern-service .button,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-intro-card .button,
:is(.home-section-tone--dark, .home-auto-background--dark) .team-golf-service-card .button,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-section-grid .button,
:is(.home-section-tone--dark, .home-auto-background--dark) .tiya-service-card .button,
:is(.home-section-tone--dark, .home-auto-background--dark) .box .button {
    background: var(--club-primary, #214c37) !important;
    border-color: var(--club-primary, #214c37) !important;
    color: #ffffff !important;
}
body.theme-tiya .tiya-shell.home-ordered-shell > .home-section-tone--dark.tiya-intro-section,
body.theme-tiya .tiya-shell.home-ordered-shell > .home-section-tone--dark.tiya-events-section,
body.theme-tiya .tiya-shell.home-ordered-shell > .home-section-tone--dark.tiya-sponsors-section,
body.theme-tiya .tiya-shell.home-ordered-shell > .home-section-tone--light.tiya-intro-section,
body.theme-tiya .tiya-shell.home-ordered-shell > .home-section-tone--light.tiya-events-section,
body.theme-tiya .tiya-shell.home-ordered-shell > .home-section-tone--light.tiya-sponsors-section {
    border-radius: 0;
}
@media screen and (max-width: 736px) {
    .home-news-hero-slider {
        min-height: 560px;
    }
    .home-news-hero-slide-inner {
        padding: 5.5rem 0 10rem;
    }
    .home-news-hero-slide-inner::after {
        top: 4rem;
        left: -0.75rem;
        width: calc(100% + 1.5rem);
        height: calc(100% - 8.75rem);
    }
    .home-news-hero-slide h2 {
        font-size: 2.15rem;
    }
    .home-news-hero-excerpt {
        font-size: 0.98rem;
    }
}

/* Alternation changes surfaces without changing the template's spacing. */
body.theme-alpha-auisp section.home-auto-background--light {
    background: var(--home-section-bg-light, #F7F3E8) !important;
    color: var(--home-section-ink-light, #18251C) !important;
}
body.theme-alpha-auisp section.home-auto-background--dark {
    background: var(--home-section-bg-dark, #5F7F63) !important;
    color: var(--home-section-ink-dark, #FFFFFF) !important;
}
body.theme-alpha-auisp .home-auto-background :is(.home-live-header, .tiya-section-heading, .em-section-heading, .im-section-top, .association-section-title, .modern-section-head, .team-golf-section-heading) :is(h2, h3, p, a:not(.button)) {
    color: inherit !important;
}
body.theme-alpha-auisp .home-auto-background--light :is(h2, h3, h4) {
    color: var(--home-section-ink-light, #18251C);
}
body.theme-alpha-auisp .home-auto-background.home-live-grid {
    padding: 1.25rem;
    border-radius: 16px;
}
body.theme-alpha-auisp .home-auto-background .home-live-card {
    background: transparent !important;
    color: inherit;
}
body.theme-alpha-auisp .home-auto-background .home-live-card :is(h3, h4, p, a:not(.button)) {
    color: inherit !important;
}
body.theme-alpha-auisp .home-auto-background :is(.home-live-header, .tiya-section-heading, .em-section-heading, .im-section-top, .association-section-title, .modern-section-head, .team-golf-section-heading) {
    color: inherit !important;
}
/* Photo cards keep their own contrast independently of the surrounding section. */
body.theme-alpha-auisp .home-auto-background .em-news-card :is(h3, p) {
    color: #FFFFFF !important;
}
body.theme-alpha-auisp.theme-immersion .home-auto-background {
    --im-ink: currentColor;
    --im-muted: currentColor;
}
body.theme-alpha-auisp.theme-immersion .home-auto-background :is(h2, h3, p, .im-eyebrow, .im-arrow, .im-details, summary) {
    color: inherit;
}
/* The right-hand hero panel shares one readable feed across supported themes. */
body.theme-alpha-auisp .home-hero-news-aside { min-width: 0; }
body.theme-alpha-auisp .home-hero--without-aside > :is(.tiya-hero-inner, .team-golf-hero-grid, .association-hero-grid, .modern-hero-grid) { grid-template-columns: minmax(0, 1fr); }
body.theme-alpha-auisp .home-hero--with-news .tiya-media-card { align-self: center; }
@media (min-width: 981px) {
    body.theme-alpha-auisp .home-hero--with-news > :is(.tiya-hero-inner, .team-golf-hero-grid, .association-hero-grid, .modern-hero-grid) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
body.theme-alpha-auisp .home-hero-news {
    min-width: 0;
    padding: 1.5rem;
    border-radius: 22px;
    border-top: 5px solid var(--club-primary, #2f6f4f);
    background: #fff;
    color: #24352c;
    box-shadow: 0 18px 50px #12221830;
    text-align: left;
    text-shadow: none;
    line-height: 1.5;
}
body.theme-alpha-auisp .home-hero-news-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
body.theme-alpha-auisp .home-hero-news .home-hero-news-heading h2 { color: #24352c; font-size: 1.4rem; line-height: 1.3; margin: 0; letter-spacing: normal; }
body.theme-alpha-auisp .home-hero-news-count { margin-left: auto; font-size: .8rem; color: #526258; white-space: nowrap; }
body.theme-alpha-auisp .home-hero-news .home-hero-news-intro { margin: .5rem 0 1rem; font-size: .85rem; color: #526258; }
body.theme-alpha-auisp .home-hero-news-list { max-height: 22rem; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior-y: contain; }
body.theme-alpha-auisp .home-hero-news ul { list-style: none; margin: 0; padding: 0 .4rem 0 0; }
body.theme-alpha-auisp .home-hero-news li { margin: 0; padding: 0; border-top: 1px solid #dce4de; }
body.theme-alpha-auisp .home-hero-news li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .65rem; padding: .95rem .4rem; color: #24352c; border: 0; font-size: 1rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
body.theme-alpha-auisp .home-hero-news time { display: block; grid-column: 1; margin-bottom: .3rem; color: #526258; font-size: .78rem; font-weight: 400; }
body.theme-alpha-auisp .home-hero-news li a > span:not(.home-hero-news-arrow) { grid-column: 1; }
body.theme-alpha-auisp .home-hero-news-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }
body.theme-alpha-auisp .home-hero-news li a:hover { color: #24352c; background: #f1f5f2; text-decoration: underline; text-underline-offset: .2em; }
body.theme-alpha-auisp .home-hero-news :is(a, .home-hero-news-list):focus-visible { outline: 2px solid #24352c; outline-offset: -2px; }
body.theme-alpha-auisp .home-hero-news .home-hero-news-hint { margin: .9rem 0 0; font-size: .75rem; color: #526258; }
@media (max-width: 736px) {
    body.theme-alpha-auisp .home-hero-news { padding: 1.1rem; border-radius: 16px; }
    body.theme-alpha-auisp .home-hero-news-list { max-height: 20rem; }
}
/* Competition identity must remain fully visible, independently of theme photo rules. */
body.theme-alpha-auisp img.home-competition-image--logo {
    object-fit: contain;
    padding: 16px;
    background: #fff;
    box-sizing: border-box;
    filter: none;
    mix-blend-mode: normal;
}
body.theme-alpha-auisp .home-competition-thumbnail {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 8px;
}
body.theme-alpha-auisp .home-competition-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.theme-alpha-auisp .home-competition-thumbnail img.home-competition-image--logo {
    object-fit: contain;
    padding: 6px;
}
/* Hero buttons size to their label and can wrap inside the available space. */
body.theme-alpha-auisp :is(
    .tiya-hero .tiya-hero-actions > a.button,
    .team-golf-hero-actions > a.button,
    .im-hero-actions > a.im-button,
    .em-hero a.em-button,
    a.home-news-hero-button
) {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 100%;
    min-height: 44px;
    height: auto !important;
    padding: .8em 1.5em !important;
    line-height: 1.4;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
/* Tiya's secondary action previously removed its horizontal button padding. */
body.theme-tiya .tiya-hero .tiya-hero-actions > a.button {
    min-height: 52px;
    border: 1px solid var(--club-primary) !important;
    background: var(--club-primary) !important;
    color: var(--club-on-primary) !important;
    font-size: 1rem;
}
/* Tiya homepage news: a smaller editorial card, distinct from the Hero. */
body.theme-tiya .tiya-home-news-heading {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: .75rem 1.5rem; max-width: 1120px; margin: 0 auto 1.25rem; text-align: left;
}
body.theme-tiya .tiya-home-news-heading h3 { margin: 0; font-size: clamp(1.65rem, 2.2vw, 2.15rem); line-height: 1.2; }
body.theme-tiya .tiya-home-news .tiya-news-all { color: var(--club-primary-text); font-size: .95rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
body.theme-tiya .tiya-home-news .tiya-news-track { min-height: 0; }
body.theme-tiya .tiya-home-news .tiya-news-slide {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.5rem; padding: 18px;
    border-radius: 18px; box-shadow: 0 5px 22px rgba(31, 44, 28, .06);
}
body.theme-tiya .tiya-home-news .tiya-news-media { min-height: 0; aspect-ratio: 4 / 3; align-self: center; border-radius: 12px; }
body.theme-tiya .tiya-home-news .tiya-news-media img { min-height: 0; height: 100%; object-fit: cover; }
body.theme-tiya .tiya-home-news .tiya-news-copy { min-width: 0; padding: .5rem .5rem .5rem 0; overflow-wrap: anywhere; }
body.theme-tiya .tiya-home-news .tiya-home-news-date { align-self: flex-start; color: #626d65; font-size: .8rem; font-weight: 500; line-height: 1.4; }
body.theme-tiya .tiya-home-news .tiya-news-copy h4 { font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.3; margin: .55rem 0 .7rem; text-wrap: balance; }
body.theme-tiya .tiya-home-news .tiya-news-copy h4 a { font-size: inherit; line-height: inherit; color: inherit; border-bottom: 0; text-decoration: none; }
body.theme-tiya .tiya-home-news .tiya-news-copy h4 a:hover { text-decoration: underline; text-underline-offset: .16em; }
body.theme-tiya .tiya-home-news .tiya-news-copy p { font-size: 1rem; line-height: 1.6; margin: 0 0 1rem; color: #566159; }
body.theme-tiya .tiya-home-news-actions { margin-top: .2rem; }
body.theme-tiya .tiya-home-news .tiya-home-news-read { display: inline-flex; box-sizing: border-box; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--club-primary); border-radius: 12px; background: var(--club-primary); color: var(--club-on-primary) !important; font-size: .9rem; line-height: 1.3; font-weight: 600; text-decoration: none; }
body.theme-tiya .tiya-home-news .tiya-home-news-read:hover { text-decoration: underline; text-underline-offset: .2em; }
body.theme-tiya .tiya-home-news a:focus-visible { outline: 3px solid var(--club-primary-text); outline-offset: 3px; }
body.theme-tiya .tiya-home-news .tiya-news-controls { gap: .5rem; margin-top: .8rem; }
body.theme-tiya .tiya-home-news .tiya-news-nav { width: 44px; height: 44px; color: var(--club-on-primary); }
body.theme-tiya .tiya-home-news .tiya-news-dots { gap: .1rem; }
body.theme-tiya .tiya-home-news .tiya-news-dot { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; background: transparent; }
body.theme-tiya .tiya-home-news .tiya-news-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--club-primary-soft-strong); }
body.theme-tiya .tiya-home-news .tiya-news-dot.is-active::after { background: var(--club-primary-text); }
@media (max-width: 800px) {
    body.theme-tiya .tiya-home-news .tiya-news-slide { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 14px; }
    body.theme-tiya .tiya-home-news .tiya-news-media { width: 100%; aspect-ratio: 16 / 9; max-height: 260px; }
    body.theme-tiya .tiya-home-news .tiya-news-copy { padding: 0; }
}
/* Agenda: dates and titles lead; logos keep a small, uncropped canvas. */
body.theme-alpha-auisp .home-agenda { min-width: 0; }
body.theme-alpha-auisp .home-agenda-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
body.theme-alpha-auisp .home-agenda-heading :is(h3, h4) { margin: 0; line-height: 1.2; }
body.theme-alpha-auisp .home-agenda-eyebrow { display: block; margin-bottom: .4rem; color: var(--club-primary-text); font-size: .8rem; font-weight: 600; }
body.theme-tiya .tiya-events-section > .home-agenda { max-width: 1120px; margin: 0 auto; }
body.theme-alpha-auisp .home-agenda-calendar { color: var(--club-primary-text); font-size: .95rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
body.theme-alpha-auisp .home-agenda-list { display: grid; gap: .75rem; }
body.theme-alpha-auisp .home-agenda-row { display: grid; grid-template-columns: 68px 76px minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 112px; padding: 16px; background: #fff; border: 1px solid #e5e9e6; border-radius: 16px; box-shadow: 0 3px 14px rgba(25, 45, 34, .04); }
body.theme-alpha-auisp .home-agenda-date { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .35rem; min-height: 76px; padding: .5rem .2rem; border-radius: 12px; background: var(--club-primary-light); color: var(--club-primary-text); text-align: center; }
body.theme-alpha-auisp .home-agenda-date strong { font-size: 1.8rem; line-height: 1; }
body.theme-alpha-auisp .home-agenda-date span { font-size: .75rem; line-height: 1.3; }
body.theme-alpha-auisp .home-agenda-copy { min-width: 0; overflow-wrap: anywhere; }
body.theme-alpha-auisp .home-agenda-copy :is(h4, h5) { margin: 0 0 .3rem; font-size: 1.18rem; line-height: 1.35; }
body.theme-alpha-auisp .home-agenda-copy p { margin: .15rem 0 0; color: #566159; font-size: .9rem; line-height: 1.4; }
body.theme-alpha-auisp .home-agenda-register { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: .65rem 1rem; border-radius: 12px; background: var(--club-primary) !important; color: var(--club-on-primary) !important; border: 1px solid var(--club-primary); font-size: .9rem; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
body.theme-alpha-auisp .home-agenda-register:hover { text-decoration: underline; text-underline-offset: .2em; }
body.theme-alpha-auisp .home-agenda :is(a):focus-visible { outline: 3px solid var(--club-primary-text); outline-offset: 3px; }
body.theme-alpha-auisp .home-agenda-register .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.theme-alpha-auisp .home-agenda-ffg { margin-top: 1rem; }
body.theme-alpha-auisp .home-agenda-ffg .home-ffg-links { justify-content: flex-start; flex-wrap: wrap; margin: 0; }
body.theme-alpha-auisp .home-agenda-ffg a { font-size: .85rem; }
body.theme-alpha-auisp .home-agenda-empty { padding: 1.25rem; border-radius: 16px; background: #fff; }
body.theme-alpha-auisp .home-agenda--compact .home-agenda-row { grid-template-columns: 60px minmax(0, 1fr) 64px; gap: .6rem .75rem; }
body.theme-alpha-auisp .home-agenda--compact .home-agenda-date { grid-column: 1; grid-row: 1 / span 2; }
body.theme-alpha-auisp .home-agenda--compact .home-competition-thumbnail { grid-column: 3; grid-row: 1 / span 2; width: 64px; height: 64px; }
body.theme-alpha-auisp .home-agenda--compact .home-agenda-copy { grid-column: 2; grid-row: 1; }
body.theme-alpha-auisp .home-agenda--compact .home-agenda-register { grid-column: 2; grid-row: 2; justify-self: start; }
@media (max-width: 736px) {
    body.theme-alpha-auisp .home-agenda .home-agenda-row { grid-template-columns: 54px minmax(0, 1fr) 56px; gap: .6rem; padding: 12px; }
    body.theme-alpha-auisp .home-agenda .home-agenda-date { grid-column: 1; grid-row: 1 / span 2; }
    body.theme-alpha-auisp .home-agenda .home-competition-thumbnail { grid-column: 3; grid-row: 1; width: 56px; height: 56px; }
    body.theme-alpha-auisp .home-agenda .home-agenda-copy { grid-column: 2; grid-row: 1; }
    body.theme-alpha-auisp .home-agenda .home-agenda-register { grid-column: 2 / 4; grid-row: 2; justify-self: start; }
    body.theme-alpha-auisp .home-agenda-copy :is(h4, h5) { font-size: 1.05rem; }
}
/* A shared, larger logo canvas keeps sponsors readable in every home theme. */
body.theme-alpha-auisp [data-home-background-section="sponsors"] :is(
    .classic-sponsor img,
    .home-sponsor-logo,
    .association-sponsor-card img,
    .modern-sponsor img,
    .team-golf-sponsor-card img,
    .tiya-sponsor-card img,
    .im-partner-logos img,
    .em-partner-grid img
) {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 148px;
    max-height: none;
    padding: 10px;
    margin: 0 auto .75rem;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border-radius: 8px;
    filter: none;
    mix-blend-mode: normal;
}
/* Keep the scriptless editor grid as generous as the live four-logo slider. */
body.theme-alpha-auisp [data-home-background-section="sponsors"] :is(.association-sponsor-card, .modern-sponsor, .team-golf-sponsor-card) > a {
    display: block;
    width: 100%;
}
body.theme-alpha-auisp .im-home [data-home-background-section="sponsors"] .im-partner-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.theme-alpha-auisp [data-home-background-section="sponsors"] .em-partner-grid > a {
    flex: 0 1 calc(25% - 34px);
    min-width: 0;
}
@media (max-width: 980px) {
    body.theme-alpha-auisp .im-home [data-home-background-section="sponsors"] .im-partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.theme-alpha-auisp [data-home-background-section="sponsors"] .em-partner-grid > a { flex-basis: calc(50% - 23px); }
}
@media (max-width: 736px) {
    body.theme-alpha-auisp [data-home-background-section="sponsors"] :is(.classic-sponsor img, .home-sponsor-logo, .association-sponsor-card img, .modern-sponsor img, .team-golf-sponsor-card img, .tiya-sponsor-card img, .im-partner-logos img, .em-partner-grid img) { height: 160px; }
    body.theme-alpha-auisp .im-home [data-home-background-section="sponsors"] .im-partner-logos { grid-template-columns: minmax(0, 1fr); }
    body.theme-alpha-auisp [data-home-background-section="sponsors"] .em-partner-grid > a { flex-basis: 100%; }
}
