@font-face {
    font-family: "Open Sans";
    src: url("assets/OpenSans2.ttf") format("truetype");
    font-display: swap;
}

:root {
    --blue-950: #071d37;
    --blue-900: #0a2d55;
    --blue-700: #0757a6;
    --blue-600: #0875c9;
    --blue-100: #eaf4fb;
    --orange: #f4a000;
    --ink: #152335;
    --muted: #5e6b78;
    --line: #dbe4ec;
    --surface: #f4f8fb;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 14px 40px rgba(10, 45, 85, 0.1);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 8px;
    left: 8px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--blue-950);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(7, 29, 55, 0.09);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    width: min(calc(100% - 40px), var(--container));
    min-height: 92px;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    color: var(--blue-950);
    text-decoration: none;
}

.brand img {
    width: 104px;
    height: 78px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    position: relative;
    padding: 14px 12px;
    color: #324152;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a::after {
    position: absolute;
    right: 12px;
    bottom: 6px;
    left: 12px;
    height: 3px;
    border-radius: 3px;
    background: var(--orange);
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav .club-space-link {
    margin-left: 7px;
    padding: 10px 15px;
    border-radius: 7px;
    color: var(--white);
    background: #e85d04;
}

.main-nav .club-space-link:hover,
.main-nav .club-space-link:focus-visible {
    background: #c94700;
}

.main-nav .club-space-link::after {
    display: none;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 9px;
    border: 0;
    color: var(--blue-950);
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-icon {
    position: relative;
}

.menu-icon::before {
    position: absolute;
    top: -7px;
}

.menu-icon::after {
    position: absolute;
    top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: translateY(-7px) rotate(-45deg);
}

main {
    overflow: hidden;
}

.carousel {
    position: relative;
    width: min(calc(100% - 40px), var(--container));
    margin: 32px auto 68px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--blue-950);
    box-shadow: var(--shadow);
}

.carousel-track {
    position: relative;
    aspect-ratio: 2.3 / 1;
    min-height: 380px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease;
}

.slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 29, 55, 0.94) 0%, rgba(7, 29, 55, 0.67) 44%, rgba(7, 29, 55, 0.08) 75%);
    content: "";
}

.slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

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

.slide-caption {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: clamp(32px, 7vw, 90px);
    width: min(540px, 58%);
    color: var(--white);
    transform: translateY(-50%);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blue-600);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.slide-caption .eyebrow {
    color: #ffc348;
}

.slide-caption h1,
.slide-caption h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.75rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.slide-caption > p:last-child {
    max-width: 470px;
    margin: 18px 0 0;
    color: #e5eef7;
    font-size: clamp(0.95rem, 1.6vw, 1.12rem);
}

.carousel-button {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: var(--white);
    background: rgba(7, 29, 55, 0.34);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel-button:hover,
.carousel-button:focus-visible {
    background: var(--blue-700);
}

.carousel-button.previous {
    left: 18px;
}

.carousel-button.next {
    right: 18px;
}

.carousel-dots {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 22px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid var(--white);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.carousel-dot.is-active {
    background: var(--white);
    transform: scale(1.35);
}

.page-layout {
    display: grid;
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto 90px;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(36px, 5vw, 70px);
    align-items: start;
}

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

.section-heading h2,
.info-card h2,
.contact-panel h2 {
    margin: 0;
    color: var(--blue-950);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.section-heading > a,
.card-link {
    color: var(--blue-700);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.section-heading > a:hover,
.card-link:hover {
    text-decoration: underline;
}

.news-list {
    border-top: 1px solid var(--line);
}

.news-item {
    display: grid;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 24px;
}

.news-item time {
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.news-item h3 {
    margin: -4px 0 8px;
    color: var(--blue-950);
    font-size: 1.15rem;
    line-height: 1.35;
}

.news-copy {
    color: var(--muted);
    font-size: 0.94rem;
}

.news-copy p {
    margin: 0 0 10px;
}

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

.empty-state {
    padding: 28px 0;
    color: var(--muted);
}

.club-contact-page {
    width: min(calc(100% - 40px), 920px);
    margin: 0 auto;
    padding: 72px 0 96px;
    overflow: visible;
}

.page-intro {
    max-width: 720px;
    margin-bottom: 42px;
}

.page-intro h1 {
    margin: 0;
    color: var(--blue-950);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.page-intro > p:last-child {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.club-form-panel {
    padding: clamp(26px, 5vw, 52px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.club-form-heading {
    margin-bottom: 28px;
}

.club-form-heading h2 {
    margin: 0;
    color: var(--blue-950);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.club-contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.club-contact-form label {
    display: grid;
    gap: 7px;
}

.club-contact-form label > span {
    color: var(--blue-950);
    font-size: 0.8rem;
    font-weight: 800;
}

.club-contact-form input,
.club-contact-form select,
.club-contact-form textarea {
    width: 100%;
    border: 1px solid #c8d5df;
    border-radius: 8px;
    outline: 0;
    color: var(--ink);
    background: var(--white);
}

.club-contact-form input,
.club-contact-form select {
    height: 50px;
    padding: 0 14px;
}

.club-contact-form textarea {
    min-height: 160px;
    padding: 12px 14px;
    resize: vertical;
}

.club-contact-form input:focus,
.club-contact-form select:focus,
.club-contact-form textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(8, 117, 201, 0.13);
}

.club-contact-form .full-field {
    grid-column: 1 / -1;
}

.club-contact-form button {
    width: max-content;
    padding: 14px 22px;
    border: 0;
    border-radius: 7px;
    color: var(--white);
    background: var(--blue-700);
    font-weight: 800;
    cursor: pointer;
}

.club-contact-form button:hover {
    background: var(--blue-950);
}

.documents-page {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 72px 0 96px;
    overflow: visible;
}

.documents-intro {
    max-width: 800px;
}

.documents-toolbar {
    display: flex;
    margin: 0 0 28px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    background: var(--surface);
    font-size: 0.84rem;
}

.documents-toolbar p {
    margin: 0;
}

.documents-toolbar strong {
    color: var(--blue-700);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.document-card {
    display: flex;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 28px rgba(10, 45, 85, 0.06);
    flex-direction: column;
}

.document-card.is-archived {
    background: #f8f8f8;
}

.document-card-top {
    display: flex;
    min-height: 25px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.document-number {
    color: var(--blue-700);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.document-format,
.document-status {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.document-format {
    color: #a52222;
    background: #fdeaea;
}

.document-status.archived {
    color: #606970;
    background: #e7eaec;
}

.document-status.unavailable {
    color: #8a5c00;
    background: #fff0c9;
}

.document-card h2 {
    margin: 0 0 10px;
    color: var(--blue-950);
    font-size: 1.2rem;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.bulletins-section + .bulletins-section {
    margin-top: 64px;
}

.bulletin-maintenance-warning {
    margin: -8px 0 32px;
    padding: 14px 18px;
    border: 1px solid #e5bd67;
    border-radius: 10px;
    color: #654607;
    background: #fff8e8;
    font-size: 0.88rem;
}

.bulletin-maintenance-warning code {
    font-weight: 700;
}

.bulletins-section .section-heading {
    margin-bottom: 24px;
}

.bulletins-section .section-heading .eyebrow {
    margin-bottom: 8px;
}

.bulletins-section .section-heading h2 {
    margin: 0;
    color: var(--blue-950);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.bulletins-section .section-heading > p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
}

.asbl-season + .asbl-season {
    margin-top: 48px;
}

.asbl-season > h3 {
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--line);
    color: var(--blue-950);
    font-size: 1.35rem;
}

.bulletin-card h3,
.archive-season-card h3 {
    margin: 0 0 10px;
    color: var(--blue-950);
    font-size: 1.2rem;
}

.bulletin-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 210 / 297;
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.pdf-preview-canvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    transition: opacity 180ms ease;
}

.pdf-preview.is-loaded .pdf-preview-canvas {
    opacity: 1;
}

.pdf-preview-status {
    position: absolute;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
    color: var(--muted);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.pdf-preview.is-loaded .pdf-preview-status {
    display: none;
}

.pdf-preview.has-error .pdf-preview-status {
    color: #a52222;
}

.archive-label {
    margin: 18px 0 9px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bulletin-links,
.circular-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bulletin-links a,
.circular-links a {
    display: inline-flex;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    align-items: center;
    color: var(--blue-700);
    background: var(--surface);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.bulletin-links a:hover,
.bulletin-links a:focus-visible,
.circular-links a:hover,
.circular-links a:focus-visible {
    border-color: var(--orange);
    color: var(--blue-950);
    background: #fff3dc;
}

.circular-links a {
    width: 100%;
    border-radius: 8px;
}

.document-description {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.88rem;
}

.document-meta {
    display: grid;
    margin: auto 0 22px;
    gap: 12px;
}

.document-meta div {
    padding-top: 11px;
    border-top: 1px solid var(--line);
}

.document-meta dt {
    color: var(--blue-700);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.document-meta dd {
    margin: 3px 0 0;
    color: #405063;
    font-size: 0.78rem;
    line-height: 1.45;
}

.document-download {
    display: flex;
    padding: 11px 14px;
    border-radius: 7px;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.document-download:hover {
    background: var(--blue-950);
}

.document-download.disabled {
    color: #6f777e;
    background: #e7eaec;
    cursor: not-allowed;
}

.calendar-page {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 72px 0 96px;
    overflow: visible;
}

.calendar-intro {
    margin-bottom: 34px;
}

.day-selector {
    display: flex;
    margin-bottom: 28px;
    padding: 15px 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    align-items: center;
    gap: 18px;
    background: var(--surface);
}

.day-selector-label {
    flex: 0 0 auto;
    color: var(--blue-950);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.day-list {
    display: flex;
    padding: 2px;
    overflow-x: auto;
    gap: 7px;
    scrollbar-width: thin;
}

.day-list a {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #cbd8e2;
    border-radius: 50%;
    color: var(--blue-900);
    background: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.day-list a:hover,
.day-list a.active {
    color: var(--white);
    border-color: var(--blue-700);
    background: var(--blue-700);
}

.schedule {
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.schedule-header {
    display: flex;
    padding: 28px 32px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--white);
    background: var(--blue-900);
}

.schedule-header .eyebrow {
    color: #ffc348;
}

.schedule-header h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    letter-spacing: -0.035em;
}

.schedule-header > time {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: #e1ebf4;
    font-size: 0.84rem;
    font-weight: 700;
}

.division-list {
    display: grid;
    padding: 24px;
    gap: 20px;
}

.division-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.division-card > header {
    display: flex;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #edf4f9;
}

.division-card h3 {
    margin: 0;
    color: var(--blue-950);
    font-size: 1rem;
}

.division-card > header span {
    color: var(--muted);
    font-size: 0.72rem;
}

.match-row {
    display: grid;
    min-height: 72px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 64px minmax(0, 1fr) 30px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.match-row:last-child {
    border-bottom: 0;
}

.match-row > time {
    color: var(--blue-700);
    font-size: 0.8rem;
    font-weight: 800;
}

.team {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.team span {
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.team strong {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 0.9rem;
}

.away-team {
    text-align: right;
}

.versus {
    color: #9ba8b4;
    text-align: center;
}

.calendar-empty {
    padding: 48px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    background: var(--surface);
}

.calendar-empty.compact {
    margin: 24px;
    padding: 30px 20px;
    background: var(--white);
}

.calendar-empty h2,
.calendar-empty h3 {
    margin: 0 0 6px;
    color: var(--blue-950);
}

.calendar-empty p {
    margin: 0;
    color: var(--muted);
}

.sidebar {
    display: grid;
    gap: 20px;
}

.info-card {
    position: relative;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #e2eaf0;
    border-radius: var(--radius);
    background: var(--surface);
}

.info-card.events {
    color: var(--white);
    border-color: var(--blue-900);
    background: var(--blue-900);
}

.info-card h2 {
    margin-bottom: 18px;
    padding-right: 42px;
    font-size: 1.25rem;
}

.info-card.events h2 {
    color: var(--white);
}

.info-card h3 {
    margin: 0 0 8px;
    color: var(--blue-950);
    font-size: 0.98rem;
}

.info-card p {
    color: var(--muted);
    font-size: 0.86rem;
}

.info-card.events p {
    color: #dce8f4;
}

.card-icon {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 1.5rem;
}

.event-list,
.birthday-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.event-list li {
    display: grid;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
}

.event-list time {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffc348;
    line-height: 1;
}

.event-list time strong {
    font-size: 1.25rem;
}

.event-list time span {
    margin-top: 5px;
    font-size: 0.68rem;
}

.event-list p {
    margin: 0;
}

.events .card-link {
    color: #ffc348;
}

.birthday-list li {
    padding: 8px 0;
    color: #344456;
    font-size: 0.88rem;
}

.birthday-list span {
    display: inline-block;
    min-width: 52px;
    color: var(--blue-700);
    font-weight: 800;
}

.site-footer {
    color: #dbe7f2;
    background: var(--blue-950);
}

.footer-inner {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
    padding: 72px 0 28px;
}

.contact-panel {
    padding-bottom: 62px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-panel > p:not(.eyebrow, .form-status) {
    margin: 10px 0 30px;
    color: #aebfd0;
}

.contact-panel h2 {
    color: var(--white);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 7px;
}

.contact-form label > span {
    font-size: 0.78rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    outline: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.contact-form input {
    height: 48px;
    padding: 0 14px;
}

.contact-form textarea {
    min-height: 125px;
    padding: 12px 14px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ffc348;
    box-shadow: 0 0 0 3px rgba(255, 195, 72, 0.16);
}

.message-field {
    grid-column: 1 / -1;
}

.contact-form button {
    width: max-content;
    padding: 13px 20px;
    border: 0;
    border-radius: 7px;
    color: var(--blue-950);
    background: #ffc348;
    font-weight: 800;
    cursor: pointer;
}

.contact-form button:hover {
    background: var(--white);
}

.honeypot {
    position: absolute;
    left: -10000px;
}

.form-status {
    max-width: 720px;
    padding: 12px 15px;
    border-radius: 6px;
}

.form-status.success {
    color: #d8ffe7;
    background: rgba(28, 152, 87, 0.25);
}

.form-status.error {
    color: #ffe1e1;
    background: rgba(205, 58, 58, 0.28);
}

.footer-bottom {
    display: grid;
    padding-top: 32px;
    grid-template-columns: 150px 1fr auto;
    gap: 38px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-brand img {
    width: 132px;
    height: 98px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-bottom nav a {
    color: #bdcbd8;
    font-size: 0.75rem;
    text-decoration: none;
}

.footer-bottom nav a:hover {
    color: var(--white);
}

.legal {
    text-align: right;
}

.legal p {
    margin: 3px 0;
    color: #8498aa;
    font-size: 0.69rem;
}

@media (max-width: 1020px) {
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .header-inner {
        position: relative;
        flex-wrap: wrap;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: -20px;
        left: -20px;
        display: none;
        padding: 12px 20px 20px;
        border-top: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 18px 28px rgba(10, 45, 85, 0.12);
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 11px 6px;
    }

    .main-nav a::after {
        right: auto;
        bottom: 4px;
        left: 6px;
        width: 38px;
    }

    .main-nav .club-space-link {
        margin: 8px 0 0;
        padding: 12px;
        text-align: center;
    }

    .page-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 32px;
    }

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

@media (max-width: 780px) {
    .header-inner {
        min-height: 76px;
    }

    .brand img {
        width: 82px;
        height: 62px;
    }

    .carousel {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }

    .carousel-track {
        min-height: 500px;
        aspect-ratio: auto;
    }

    .slide::after {
        background: linear-gradient(0deg, rgba(7, 29, 55, 0.96) 0%, rgba(7, 29, 55, 0.64) 60%, rgba(7, 29, 55, 0.15) 100%);
    }

    .slide-caption {
        top: auto;
        right: 28px;
        bottom: 74px;
        left: 28px;
        width: auto;
        transform: none;
    }

    .slide-caption h1,
    .slide-caption h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .carousel-button {
        top: 45%;
        width: 38px;
        height: 38px;
    }

    .page-layout {
        grid-template-columns: 1fr;
    }

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

    .sidebar .events {
        grid-row: span 2;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legal {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .header-inner,
    .page-layout,
    .footer-inner {
        width: min(calc(100% - 32px), var(--container));
    }

    .club-contact-page {
        width: min(calc(100% - 32px), 920px);
        padding: 48px 0 70px;
    }

    .documents-page {
        width: min(calc(100% - 32px), var(--container));
        padding: 48px 0 70px;
    }

    .calendar-page {
        width: min(calc(100% - 32px), var(--container));
        padding: 48px 0 70px;
    }

    .documents-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .day-selector {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .day-list {
        width: 100%;
    }

    .schedule-header {
        padding: 22px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .division-list {
        padding: 14px;
    }

    .match-row {
        padding: 16px;
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 8px 12px;
        align-items: start;
    }

    .match-row > time {
        grid-row: 1 / 4;
    }

    .team,
    .away-team {
        text-align: left;
    }

    .versus {
        display: none;
    }

    .club-contact-form {
        grid-template-columns: 1fr;
    }

    .club-contact-form .full-field {
        grid-column: auto;
    }

    .menu-toggle {
        padding-right: 0;
    }

    .main-nav {
        right: -16px;
        left: -16px;
        padding-inline: 16px;
    }

    .carousel {
        margin-bottom: 48px;
    }

    .carousel-button {
        display: none;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .news-item h3 {
        margin-top: 0;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar .events {
        grid-row: auto;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .message-field {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
