:root {
    --color-primary: #008c45;
    --color-secondary: #fff;
    --color-background: #f6f8f6;
    --color-text: #17201b;
    --color-muted: #68736d;
    --container-width: 1280px;
    --spacing-xs: .5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --radius: 14px;
    --shadow: 0 10px 35px rgba(0, 0, 0, .07)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

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

.container {
    width: min(calc(100% - 48px), var(--container-width));
    margin-inline: auto
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.skip-link:focus {
    position: fixed !important;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 16px;
    background: #fff;
    clip: auto;
    z-index: 9999
}

.topbar {
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    letter-spacing: .28em
}

.topbar__inner {
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 10px
}

.topbar__social {
    margin-left: auto;
    display: flex;
    gap: 12px
}

.topbar .social-link {
    font-weight: 700
}

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05)
}

.site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px
}

.site-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain
}

.main-navigation {
    margin-left: auto
}

.primary-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center
}

.primary-menu a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 28px 0;
    position: relative
}

.primary-menu a:hover:after, .primary-menu .current-menu-item > a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    height: 3px;
    background: var(--color-primary)
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 9px;
    padding: 12px 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .03em;
    transition: .2s ease
}

.button:hover {
    transform: translateY(-1px);
    filter: brightness(.95)
}

.button--ghost {
    background: transparent;
    color: #fff;
    border-color: #fff
}

.button--header {
    white-space: nowrap
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    color: var(--color-primary)
}

.hero {
    min-height: 610px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #fff
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 70, 34, var(--hero-overlay)), rgba(0, 70, 34, .18), rgba(0, 70, 34, .04))
}

.hero__container {
    min-height: 610px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px
}

.hero__content {
    max-width: 670px
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: 17px;
    margin-bottom: 18px
}

.hero h1 {
    font-family: var(--hero-title-font);
    font-size: clamp(52px, 7vw, 94px);
    line-height: .86;
    margin: 0 0 22px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .01em;
    transform: skewX(-3deg);
    text-shadow: 2px 3px 0 rgba(0, 0, 0, .08)
}

.hero p {
    font-size: 21px;
    max-width: 550px;
    margin: 0 0 30px
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.quick-links {
    background: #fff;
    border-bottom: 1px solid #e8ece9
}

.quick-links__grid {
    display: grid;
    grid-template-columns:repeat(6, 1fr)
}

.quick-link {
    padding: 24px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-right: 1px solid #edf0ee
}

.quick-link:first-child {
    border-left: 1px solid #edf0ee
}

.quick-link:hover {
    background: #f4faf6
}

.quick-link__icon {
    font-size: 27px;
    color: var(--color-primary);
    line-height: 1.2
}

.quick-link strong {
    font-size: 13px;
    text-transform: uppercase
}

.quick-link span:last-child {
    font-size: 12px;
    color: var(--color-muted)
}

.section {
    padding: 72px 0
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px
}

.section-heading h2 {
    font-size: 28px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 900
}

.section-heading p {
    margin: 5px 0 0;
    color: var(--color-muted)
}

.section-kicker {
    display: inline-block;
    width: 26px;
    height: 5px;
    background: var(--color-primary);
    margin-bottom: 10px
}

.text-link {
    color: var(--color-primary);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .04em
}

.events-layout {
    display: grid;
    grid-template-columns:minmax(0, 1fr) 320px;
    gap: 24px
}

.event-list {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden
}

.event-row {
    display: grid;
    grid-template-columns:110px 1fr 150px;
    gap: 22px;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid #edf0ee
}

.event-row:last-child {
    border-bottom: 0
}

.event-date {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-primary);
    font-size: 22px
}

.event-category {
    display: block;
    color: var(--color-muted);
    font-size: 11px;
    text-transform: uppercase
}

.event-main h3 {
    margin: 2px 0;
    font-size: 17px
}

.event-location {
    font-size: 12px;
    color: var(--color-muted)
}

.event-time {
    text-align: right
}

.event-time strong {
    display: block;
    font-size: 17px
}

.event-time span {
    font-size: 12px;
    color: var(--color-muted)
}

.membership-card {
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 30px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden
}

.membership-card:before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    right: -160px;
    top: -130px
}

.membership-card__crest img {
    width: 90px;
    height: 105px;
    object-fit: contain;
    filter: brightness(0) invert(1)
}

.membership-card h3 {
    font-size: 32px;
    line-height: 1;
    margin: 25px 0 5px;
    text-transform: uppercase;
    font-style: italic
}

.membership-card p {
    font-size: 15px
}

.membership-card .button {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
    align-self: flex-start;
    margin-top: 12px
}

.section--news {
    background: #fff
}

.news-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 24px
}

.news-card {
    background: #fff;
    border: 1px solid #e5eae6;
    border-radius: 10px;
    overflow: hidden
}

.news-card__image {
    display: block;
    aspect-ratio: 16/9;
    background: #e9efeb
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.image-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e7efe9, #fff);
    font-weight: 900;
    font-size: 48px;
    color: var(--color-primary)
}

.news-card__content {
    padding: 20px
}

.news-card time {
    font-size: 11px;
    color: var(--color-muted);
    text-transform: uppercase
}

.news-card h3 {
    font-size: 19px;
    line-height: 1.15;
    margin: 8px 0
}

.news-card p {
    color: var(--color-muted);
    font-size: 14px
}

.site-footer {
    background: var(--color-primary);
    color: #fff;
    padding: 55px 0 0
}

.footer-content {
    display: grid;
    grid-template-columns:2fr 1.2fr 1fr .8fr;
    gap: 35px;
    padding-bottom: 45px
}

.footer-brand {
    display: flex;
    gap: 18px;
    align-items: center
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 7px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}

.footer-logo img {
    width: 76px;
    height: 90px;
    object-fit: contain
}

.footer-brand strong {
    font-size: 27px;
    text-transform: uppercase
}

.footer-brand p {
    margin: 4px 0 0;
    opacity: .8;
    font-size: 13px
}

.footer-message {
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    font-style: italic;
    align-self: center;
    opacity: .85
}

.site-footer h2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0 0 12px
}

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

.footer-nav li {
    margin: 4px 0;
    font-size: 13px
}

.social-row {
    display: flex;
    gap: 10px
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    font-size: 11px;
    transition: background .2s ease, transform .2s ease
}

.social-link:hover {
    background: rgba(255, 255, 255, .26);
    transform: translateY(-1px)
}

.social-link svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0
}

.social-link--instagram svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8
}

.social-link--instagram .social-icon__dot {
    fill: currentColor;
    stroke: none
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    opacity: .8
}

.archive-layout {
    padding: 70px 0
}

.archive-main {
    max-width: 980px;
    margin: 0 auto
}

.archive-header {
    margin-bottom: 30px
}

.archive-header h1 {
    font-size: 42px;
    line-height: 1.05;
    text-transform: uppercase
}

.content-card {
    display: grid;
    grid-template-columns:300px 1fr;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow)
}

.content-card__image {
    background: #eef3ef
}

.content-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.content-card__body {
    padding: 28px
}

.content-card h2 {
    margin: 5px 0 10px
}

.narrow-content {
    max-width: 99%;
    padding: 70px 24px
}

.entry {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: var(--shadow)
}

.entry-header h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.02;
    text-transform: uppercase
}

.entry-image {
    margin: 25px -40px
}

.entry-image img {
    width: 100%
}

.entry-content {
    font-size: 17px
}

.event-detail-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 12px;
    margin: 30px 0
}

.event-detail-grid > div {
    background: #f1f6f2;
    padding: 18px;
    border-radius: 8px
}

.event-detail-grid strong, .event-detail-grid span {
    display: block
}

.event-detail-grid strong {
    text-transform: uppercase;
    color: var(--color-primary);
    font-size: 11px
}

.empty-state {
    background: #fff;
    border: 1px dashed #cfd9d1;
    padding: 35px;
    border-radius: 10px
}

.search-form {
    display: flex;
    gap: 10px
}

.search-form input {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccd6cf;
    border-radius: 8px
}

.error-page {
    text-align: center;
    padding: 120px 24px
}

.error-page__number {
    font-size: 120px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: .9
}

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

    .button {
        transition: none
    }
}

.football-de-widget {
    width: 100%;
    min-height: 120px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    border: 1px solid rgba(0, 0, 0, .08);
    overflow: hidden;
    padding: 18px
}

.football-de-widget--empty {
    padding: 40px;
    text-align: center;
    color: #68736e
}

.football-de-widget--empty strong {
    display: block;
    color: #111;
    margin-bottom: 6px
}

.football-de-widget--empty p {
    margin: 0;
    font-size: 14px
}

.section--events {
    background: #f6f8f6
}

.football-games-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 24px
}

.football-de-widget {
    width: 100%;
    min-height: 120px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    border: 1px solid rgba(0, 0, 0, .08);
    overflow: hidden;
    padding: 18px
}

.football-de-widget--bottom {
    grid-column: 1 / -1
}

.football-de-widget:empty {
    min-height: 160px
}

.football-de-widget iframe, .football-de-widget img {
    max-width: 100%
}

@media (max-width: 767px) {
    .football-games-grid {
        grid-template-columns:1fr
    }

    .football-de-widget--bottom {
        grid-column: auto
    }
}

.section--events-has-bg {
    position: relative;
    background-size: cover;
    background-position: center
}

.section--events-has-bg:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(246, 248, 246, .88)
}

.section--events-has-bg > .container {
    position: relative;
    z-index: 1
}

.section--news-has-bg {
    position: relative;
    background-size: cover;
    background-position: center
}

.section--news-has-bg:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .88)
}

.section--news-has-bg > .container {
    position: relative;
    z-index: 1
}

.section--football-has-bg {
    position: relative;
    background-size: cover;
    background-position: center
}

.section--football-has-bg:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(246, 248, 246, .88)
}

.section--football-has-bg > .container {
    position: relative;
    z-index: 1
}


.section--sponsors-has-bg {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.section--sponsors-has-bg:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .72);
    pointer-events: none;
}

.section--sponsors-has-bg > .container {
    position: relative;
    z-index: 1;
}

.section--news-has-bg,
.section--football-has-bg,
.section--events-has-bg {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.section--news-has-bg:before,
.section--football-has-bg:before,
.section--events-has-bg:before {
    pointer-events: none;
}
