/* ============================================================
   BK Ett Fyra – design system
   Colors: navy #002060 · royal #0040F0 · yellow #F0D000
           white #FFFFFF · near-black #090B10
   Type:   Oswald (headings) · Inter (body)
   ============================================================ */

:root {
    --navy: #002060;
    --royal: #0040F0;
    --yellow: #F0D000;
    --white: #FFFFFF;
    --ink: #090B10;

    --tint: #f3f5fb;
    --line: #e3e7f0;
    --muted: #5b6478;
    --navy-muted: #b9c4e6;

    --font-head: "Oswald", "Arial Narrow", sans-serif;
    --font-body: "Inter", system-ui, sans-serif;

    --shell: 1180px;
    --radius: 4px;
    --shadow: 0 18px 40px -22px rgba(0, 32, 96, .45);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

::selection { background: var(--yellow); color: var(--ink); }

.container {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: .98;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: .95rem 1.7rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: #ffe23c; transform: translateY(-3px); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__crest { height: 46px; width: auto; }
.brand__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--navy);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    position: relative;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .98rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy);
    padding: .35rem 0;
    transition: color .2s var(--ease);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%;
    height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.site-nav a:hover { color: var(--royal); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

/* hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: min(82vh, 720px);
    display: flex;
    align-items: flex-end;
    background: var(--navy);
    overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 18, 56, .92) 0%, rgba(0, 24, 74, .72) 42%, rgba(0, 32, 96, .28) 100%),
        linear-gradient(0deg, rgba(9, 11, 16, .8) 0%, rgba(9, 11, 16, 0) 55%);
}
.hero__content {
    position: relative;
    z-index: 2;
    padding-block: clamp(2.5rem, 8vh, 6rem);
    max-width: 760px;
}
.hero__kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--yellow);
    border-left: 3px solid var(--yellow);
    padding-left: .8rem;
    margin-bottom: 1.1rem;
}
.hero__title {
    color: var(--white);
    font-size: clamp(3.2rem, 11vw, 8rem);
    line-height: .86;
    text-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.hero__subtitle {
    color: var(--white);
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    font-weight: 500;
    margin: 1.3rem 0 .2rem;
}
.hero__tagline {
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--yellow);
    font-size: clamp(1rem, 2vw, 1.35rem);
    margin: 0 0 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--light { background: var(--white); color: var(--ink); }
.section--tint { background: var(--tint); color: var(--ink); }
.section--navy { background: var(--navy); color: var(--white); }

.section-head { margin-bottom: 2.6rem; }
.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 40rem;
    margin: .75rem 0 0;
}
.kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--royal);
    margin-bottom: .5rem;
}
.section-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--navy); }
.section--navy .section-head h2,
.section-head--light h2 { color: var(--white); }
.section--navy .kicker,
.section-head--light .kicker { color: var(--yellow); }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.6rem;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .9rem;
    color: var(--navy);
    transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-more:hover { gap: .9rem; color: var(--royal); }

/* ---------- Match cards ---------- */
.match-duo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
}
.match-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
}
.match-list-section {
    margin-top: clamp(3rem, 6vw, 4.5rem);
}
.match-list__empty {
    margin: 0;
    padding: 1.8rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
}
.match-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .3s var(--ease);
}
.match-card:hover { transform: translateY(-4px); }
.match-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--navy);
    color: var(--white);
    padding: .85rem 1.25rem;
}
.match-card__heading {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--yellow);
}
.match-card__comp { font-size: .82rem; color: var(--navy-muted); letter-spacing: .04em; }

.match-card__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.8rem 1.25rem;
}
.team__name {
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    color: var(--navy);
    letter-spacing: .02em;
}
.team--away { text-align: right; }
.team--club .team__name { color: var(--royal); }

.match-card__score {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--navy);
}
.score-dash { color: var(--yellow); }
.match-card__vs {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .1em;
    color: var(--white);
    background: var(--royal);
    padding: .35rem .7rem;
    border-radius: 3px;
}

.match-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 1rem 1.25rem 1.3rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
}
.match-card__meta i { color: var(--royal); margin-right: .35rem; }
.match-card__meta span { text-transform: capitalize; }
.match-card__fallback {
    margin: 0;
    padding: 1.8rem 1.25rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
}
.match-card__footer {
    padding: 0 1.25rem 1.2rem;
}
.match-card__link {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--royal);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
    transition: gap .2s var(--ease);
}
.match-card__link:hover { gap: .8rem; color: var(--navy); }

/* ---------- Match detail ---------- */
.match-detail { max-width: 52rem; }
.match-detail__back { margin-bottom: 1.5rem; }
.match-detail__back a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.match-detail__back a:hover { color: var(--yellow-ink, #8a6b00); }
.match-detail__header { margin-bottom: 1.25rem; }
.match-detail__comp {
    margin: .35rem 0 0;
    color: var(--muted);
    font-size: .95rem;
    letter-spacing: .02em;
}
.match-detail__panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.match-detail__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.4rem 1.6rem;
}
.match-detail__score {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    color: var(--navy);
}
.match-detail__vs {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .1em;
    color: var(--white);
    background: var(--royal);
    padding: .35rem .7rem;
    border-radius: 3px;
}
.match-detail__club-tag {
    display: inline-block;
    margin-top: .45rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(240, 208, 0, .28);
    padding: .2rem .45rem;
    border-radius: 3px;
}
.team--away .match-detail__club-tag { float: right; }
.match-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 1rem 1.4rem 1.35rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .95rem;
}
.match-detail__meta i { color: var(--royal); margin-right: .35rem; }
.match-detail__meta span { text-transform: capitalize; }
.match-detail__hero { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.match-detail-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
    align-items: center;
    background: var(--navy);
    border-radius: var(--radius);
    padding: 1.4rem;
}
.match-detail-hero__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #001238;
}
.match-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.match-detail-hero__fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(240, 208, 0, .18), transparent 55%),
        linear-gradient(160deg, #001a4d, #001238 60%);
}
.match-detail-hero__number {
    position: absolute;
    left: 14px; bottom: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--yellow);
    text-shadow: 0 6px 24px rgba(0, 0, 0, .5);
}
.match-detail-hero__content { color: var(--white); }
.match-detail-hero__name {
    color: var(--white);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    margin: .35rem 0 .85rem;
}
.match-detail-hero__motivation {
    margin: 0;
    color: var(--navy-muted);
    font-size: 1.05rem;
    max-width: 46ch;
}

/* ---------- Standings ---------- */
.standings {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.standings__table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
}
.standings__empty {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
}
.standings__table th {
    background: var(--navy);
    color: var(--navy-muted);
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .78rem;
    text-align: center;
    padding: .8rem .5rem;
}
.standings__table td {
    text-align: center;
    padding: .85rem .5rem;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
    color: var(--ink);
}
.standings__table tbody tr:last-child td { border-bottom: 0; }
.col-team { text-align: left !important; font-weight: 600; }
.col-pts { font-weight: 700; color: var(--navy); }
.pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: var(--tint);
    border-radius: 3px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--navy);
}
.is-club { background: rgba(240, 208, 0, .14); box-shadow: inset 4px 0 0 var(--yellow); }
.is-club td { font-weight: 700; }
.is-club .col-team { color: var(--navy); }
.is-club .pos { background: var(--yellow); color: var(--ink); }

/* ---------- Player of the match ---------- */
.potm {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.potm__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #001238;
}
.potm__media img { width: 100%; height: 100%; object-fit: cover; }
.potm__media-fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(240, 208, 0, .18), transparent 55%),
        linear-gradient(160deg, #001a4d, #001238 60%);
}
.potm__number {
    position: absolute;
    left: 18px; bottom: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--yellow);
    text-shadow: 0 6px 24px rgba(0, 0, 0, .5);
}
.potm__name { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin: .4rem 0 1rem; }
.potm__motivation { color: var(--navy-muted); font-size: 1.1rem; max-width: 46ch; }
.potm__match {
    margin-top: 1rem;
    color: var(--yellow);
    font-size: .95rem;
    font-weight: 600;
}
.potm__empty {
    color: var(--navy-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* ---------- News ---------- */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
}
.news-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e8edf5; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card__media-fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(11, 42, 122, .12), transparent 55%),
        linear-gradient(160deg, #dfe6f2, #e8edf5 60%);
}
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__category {
    position: absolute;
    left: 12px; top: 12px;
    background: var(--royal);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .72rem;
    padding: .3rem .6rem;
    border-radius: 3px;
}
.news-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card__date { color: var(--muted); font-size: .82rem; text-transform: capitalize; }
.news-card__title { color: var(--navy); font-size: 1.3rem; }
.news-card__summary { color: var(--muted); font-size: .96rem; margin: 0; }
.news-card__link {
    margin-top: auto;
    padding-top: .6rem;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--royal);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: gap .2s var(--ease);
}
.news-card__link:hover { gap: .8rem; }
.news-empty {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}
.news-detail { max-width: 46rem; }
.news-detail__back { margin-bottom: 1.5rem; }
.news-detail__back a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.news-detail__back a:hover { color: var(--yellow-ink, #8a6b00); }
.news-detail__header { margin-bottom: 1.5rem; }
.news-detail__header h1 {
    margin: .4rem 0 .75rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.news-detail__date {
    color: var(--muted);
    font-size: .95rem;
}
.news-detail__media {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 16 / 9;
}
.news-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-detail__body {
    white-space: pre-wrap;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink);
}

/* ---------- Teams (Lag) ---------- */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e8edf5; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card__media-fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(11, 42, 122, .12), transparent 55%),
        linear-gradient(160deg, #dfe6f2, #e8edf5 60%);
}
.team-card:hover .team-card__media img { transform: scale(1.05); }
.team-card__age {
    position: absolute;
    left: 12px; top: 12px;
    background: var(--navy);
    color: var(--yellow);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .72rem;
    padding: .3rem .6rem;
    border-radius: 3px;
}
.team-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.team-card__title { color: var(--navy); font-size: 1.3rem; margin: 0; }
.team-card__summary { color: var(--muted); font-size: .96rem; margin: 0; }
.team-card__link {
    margin-top: auto;
    padding-top: .6rem;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--royal);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: gap .2s var(--ease);
}
.team-card__link:hover { gap: .8rem; }
.team-empty {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

/* ---------- Contact (Kontakt) ---------- */
.contact-empty {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

/* ---------- About (Föreningen) ---------- */
.about-empty {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0 0 2rem;
}
.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.4rem;
}
.about-intro .about-body {
    font-size: 1.12rem;
    color: var(--ink);
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.7;
}
.about-section {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    border-left: 4px solid var(--yellow);
}
.about-section__title {
    margin: 0 0 .75rem;
    color: var(--navy);
    font-size: clamp(1.25rem, 3vw, 1.55rem);
}
.about-section .about-body {
    margin: 0;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.7;
    white-space: pre-wrap;
}
.about-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .85rem 1.25rem;
    padding: 1.25rem 1.4rem;
    background: var(--tint);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.about-cta__text {
    margin: 0;
    color: var(--navy);
    font-weight: 600;
}
.about-cta__link {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .85rem;
    color: var(--navy);
    background: var(--yellow);
    padding: .55rem 1rem;
    border-radius: 3px;
    text-decoration: none;
}
.about-cta__link:hover { filter: brightness(.95); }

/* ---------- Sponsor inquiry form ---------- */
.sponsor-form {
    max-width: 36rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
}
.sponsor-form__form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.sponsor-form__field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.sponsor-form__field label {
    font-weight: 600;
    color: var(--navy);
    font-size: .95rem;
}
.sponsor-form__optional {
    font-weight: 500;
    color: var(--muted);
}
.sponsor-form__field input,
.sponsor-form__field textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .7rem .85rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.sponsor-form__field input:focus,
.sponsor-form__field textarea:focus {
    outline: none;
    border-color: var(--royal);
    box-shadow: 0 0 0 3px rgba(0, 64, 240, .18);
}
.sponsor-form__field textarea {
    resize: vertical;
    min-height: 8rem;
}
.sponsor-form__error,
.sponsor-form__summary {
    color: #8a1f1f;
    font-size: .9rem;
}
.sponsor-form__summary:not(:empty) {
    padding: .75rem .9rem;
    background: #fff5f5;
    border: 1px solid #f0c4c4;
    border-radius: var(--radius);
}
.sponsor-form__privacy {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}
.sponsor-form__confirmation {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    background: var(--tint);
    border: 1px solid var(--line);
    border-left: 4px solid var(--yellow);
    border-radius: var(--radius);
    color: var(--navy);
    font-weight: 600;
}
.sponsor-form .btn--primary {
    align-self: flex-start;
    border: none;
}
/* Off-screen trap field; keep out of layout/tab/AT without type=hidden. */
.sponsor-form__hp {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}
.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem 1.4rem;
    border-left: 4px solid var(--yellow);
}
.contact-card__title {
    margin: 0 0 .65rem;
    color: var(--navy);
    font-size: 1.15rem;
}
.contact-card__text,
.contact-card__address p {
    margin: 0 0 .35rem;
    color: var(--ink);
    font-size: 1.02rem;
}
.contact-card__address p:last-child { margin-bottom: 0; }
.contact-card__venue {
    font-weight: 600;
    color: var(--navy);
}
.contact-card__link {
    color: var(--royal);
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}
.contact-card__link:hover { color: var(--navy); text-decoration: underline; }
.contact-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
}
.contact-social-list li { margin: 0; }

@media (min-width: 720px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-card--social {
        grid-column: 1 / -1;
    }
}
.team-detail { max-width: 46rem; }
.team-detail__back { margin-bottom: 1.5rem; }
.team-detail__back a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.team-detail__back a:hover { color: var(--yellow-ink, #8a6b00); }
.team-detail__header { margin-bottom: 1.5rem; }
.team-detail__header h1 {
    margin: .4rem 0 .75rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.team-detail__media {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 16 / 9;
}
.team-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-detail__body {
    white-space: pre-wrap;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink);
}
.team-detail__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}
.team-detail__links a {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .9rem;
    color: var(--navy);
    background: var(--yellow);
    padding: .55rem 1rem;
    border-radius: 3px;
    text-decoration: none;
}
.team-detail__links a:hover { filter: brightness(.95); }

/* ---------- Sponsors ---------- */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
}
.sponsor-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 1.4rem;
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.sponsor-card:hover { transform: translateY(-3px); border-color: var(--yellow); }
.sponsor-card__tier {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .68rem;
    color: var(--royal);
}
.sponsor-card__wordmark {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 1.25rem;
    color: var(--navy);
    text-align: center;
}
.sponsor-card__logo { max-height: 54px; width: auto; }
.sponsor-card__name {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .04em;
    font-size: .95rem;
    color: var(--navy);
    text-align: center;
}
.sponsor-card__link {
    margin-top: .35rem;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .72rem;
    color: var(--royal);
    text-decoration: none;
}
.sponsor-card__link:hover { color: var(--navy); text-decoration: underline; }
.sponsor-empty {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--navy-muted); }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-crest { height: 64px; margin-bottom: 1rem; }
.footer-club {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}
.footer-place { margin: .2rem 0 1.1rem; color: var(--navy-muted); }
.footer-social { display: flex; gap: .7rem; }
.footer-social a {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: var(--white);
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.footer-col h4 {
    color: var(--yellow);
    font-size: 1rem;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-contact-empty {
    color: var(--navy-muted);
    font-size: .95rem;
}

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding-block: 1.3rem;
    font-size: .85rem;
}
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a:hover { color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .match-duo { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 900px) {
    .potm { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
    .match-detail-hero { grid-template-columns: .9fr 1.1fr; gap: 2rem; padding: 1.6rem; }
    .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 899px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s var(--ease);
    }
    .site-nav.open { max-height: 460px; }
    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 20px 1.2rem;
    }
    .site-nav li { border-bottom: 1px solid var(--line); }
    .site-nav a { display: block; padding: .95rem 0; }
    .site-nav a::after { display: none; }
}
