:root {
    --black: #111111;
    --ink: #202124;
    --muted: #6d6a62;
    --line: #e3d9be;
    --cream: #f4efe3;
    --white: #fffdf7;
    --gold: #efbd25;
    --gold-soft: #fff2bd;
    --green: #1f7a43;
    --blue: #225aa8;
    --blue-soft: #eaf1fb;
    --shadow: 0 18px 42px rgba(17, 17, 17, .1);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(239, 189, 37, .16), transparent 26%),
        linear-gradient(225deg, rgba(34, 90, 168, .13), transparent 28%),
        var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

body.federado-callout-open {
    overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

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

.topbar {
    color: var(--white);
    background: var(--black);
    border-bottom: 4px solid var(--gold);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
    font-size: 13px;
    font-weight: 700;
}

.topbar-inner span,
.restricted-link {
    white-space: nowrap;
}

.restricted-link {
    color: var(--gold);
    font-weight: 900;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    overflow: hidden;
    background: rgba(255, 253, 247, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        url("/assets/img/logo-fjms.png") right 34px center / 360px auto no-repeat,
        linear-gradient(90deg, rgba(255, 253, 247, .98), rgba(255, 253, 247, .86));
    opacity: .07;
}

.header-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 10px;
    min-height: 126px;
    padding-block: 12px 14px;
}

.brand {
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 15px;
    min-width: max-content;
}

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

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 30px;
    line-height: 1;
}

.brand small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 6px;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 12px;
    background: rgba(244, 239, 227, .58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
    font-size: 13px;
    font-weight: 800;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a {
    flex: 0 0 auto;
    padding: 9px 11px;
    border-radius: 8px;
    color: var(--ink);
    line-height: 1;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--black);
    background: var(--gold-soft);
    box-shadow: 0 8px 18px rgba(17, 17, 17, .08);
}

.hero-wrap {
    padding: 34px 0 18px;
}

.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: stretch;
    overflow: hidden;
    min-height: 420px;
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(17, 17, 17, .96), rgba(17, 17, 17, .82)),
        url("/wp-content/uploads/2026/02/IMG_0050-1170x650.jpg") center / cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 58px);
}

.kicker {
    margin-bottom: 9px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 730px;
    margin-bottom: 16px;
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.04;
}

.hero-copy p:not(.kicker) {
    max-width: 650px;
    color: rgba(255, 253, 247, .82);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 6px;
    font-weight: 900;
}

.button.primary {
    color: var(--black);
    background: var(--gold);
}

.button.light {
    color: var(--white);
    border: 1px solid rgba(255, 253, 247, .46);
}

.federado-callout[hidden] {
    display: none;
}

.federado-callout {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(17, 17, 17, .76);
    backdrop-filter: blur(10px);
}

.federado-callout-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1fr);
    width: min(1080px, 100%);
    height: min(620px, calc(100vh - 44px));
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(34, 90, 168, .94), rgba(31, 122, 67, .9) 48%, rgba(17, 17, 17, .96)),
        var(--black);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--callout-start, #225aa8) 94%, transparent), color-mix(in srgb, var(--callout-mid, #1f7a43) 90%, transparent) 48%, color-mix(in srgb, var(--callout-end, #111111) 96%, transparent)),
        var(--black);
    border: 1px solid rgba(255, 253, 247, .2);
    border-radius: 10px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
}

.federado-callout-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    cursor: pointer;
    color: var(--white);
    background: rgba(17, 17, 17, .42);
    border: 1px solid rgba(255, 253, 247, .24);
    border-radius: 8px;
    font-size: 30px;
    line-height: 1;
}

.federado-callout-art {
    position: relative;
    display: grid;
    min-height: 100%;
    overflow: hidden;
    padding: 34px 28px 28px;
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--callout-accent, #efbd25) 70%, transparent), transparent 24%),
        linear-gradient(150deg, rgba(255, 253, 247, .16), transparent 42%),
        linear-gradient(28deg, rgba(17, 17, 17, .18), transparent 48%);
}

.federado-callout-ribbon {
    position: relative;
    z-index: 2;
    justify-self: start;
    align-self: start;
    padding: 9px 12px;
    color: var(--black);
    background: var(--callout-accent, var(--gold));
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.federado-certificate {
    position: absolute;
    z-index: 2;
    top: 128px;
    right: 18px;
    width: min(440px, 82%);
    aspect-ratio: 1122 / 795;
    object-fit: cover;
    object-position: center;
    background: #d4d4d4;
    border: 1px solid rgba(255, 253, 247, .72);
    border-radius: 6px;
    box-shadow: 0 22px 36px rgba(0, 0, 0, .28);
    transform: rotate(-5deg);
}

.federado-mascot {
    position: absolute;
    z-index: 3;
    left: -142px;
    bottom: -104px;
    width: min(520px, 92%);
    max-width: none;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .42));
}

.federado-callout-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: clamp(30px, 4.5vw, 52px);
}

.federado-callout-copy h2 {
    max-width: 590px;
    margin-bottom: 14px;
    font-size: clamp(30px, 3.9vw, 48px);
    line-height: 1;
}

.federado-callout-copy p:not(.kicker) {
    max-width: 560px;
    color: rgba(255, 253, 247, .84);
    font-size: 17px;
    line-height: 1.38;
}

.federado-callout-copy > strong {
    display: block;
    margin: 8px 0 6px;
    color: var(--gold);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1;
    text-transform: uppercase;
}

.federado-callout-copy > small {
    display: block;
    max-width: 560px;
    margin-top: 2px;
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.federado-callout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.federado-callout-actions .button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.federado-callout-actions .button.light {
    color: var(--black);
    background: var(--white);
    border: 1px solid rgba(255, 253, 247, .72);
}

.federado-callout-actions .button.primary,
.federado-callout-copy > strong,
.federado-callout-copy > small {
    color: var(--callout-accent, var(--gold));
}

.federado-callout-actions .button.primary {
    color: var(--black);
    background: var(--callout-accent, var(--gold));
}

.hero-mascot-panel {
    position: relative;
    display: grid;
    align-items: end;
    justify-items: center;
    min-height: 100%;
    padding: 10px 0 0;
    overflow: visible;
    background:
        radial-gradient(circle at 68% 22%, rgba(255, 253, 247, .34), transparent 28%),
        linear-gradient(165deg, rgba(239, 189, 37, .98) 0%, rgba(239, 189, 37, .86) 39%, rgba(31, 122, 67, .92) 40%, rgba(28, 88, 168, .9) 100%);
}

.hero-mascot-panel::before {
    content: "";
    position: absolute;
    inset: auto -26px -42px -26px;
    height: 126px;
    background: rgba(17, 17, 17, .18);
    border-radius: 50% 50% 0 0;
}

.hero-mascot-panel img {
    position: relative;
    z-index: 1;
    align-self: end;
    width: min(430px, 132%);
    max-width: none;
    max-height: 438px;
    object-fit: contain;
    object-position: center bottom;
    transform: translate(-54px, 0);
    filter: drop-shadow(0 20px 26px rgba(17, 17, 17, .34));
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.feature-strip a,
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-strip a {
    min-height: 122px;
    padding: 20px;
    border-top: 5px solid var(--gold);
}

.feature-strip a:nth-child(2) { border-top-color: var(--blue); }
.feature-strip a:nth-child(3) { border-top-color: var(--green); }
.feature-strip a:nth-child(4) { border-top-color: var(--gold); }
.feature-strip a:nth-child(5) { border-top-color: var(--blue); }

.feature-strip span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.feature-strip strong {
    display: block;
    margin-top: 9px;
    font-size: 18px;
    line-height: 1.18;
}

.home-photo-teaser {
    display: grid;
    grid-template-columns: minmax(280px, .5fr) minmax(260px, .42fr) minmax(320px, .62fr);
    gap: 14px;
    align-items: stretch;
    margin-top: 18px;
}

.home-photo-lead {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    color: var(--white);
    background: var(--black);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.home-photo-lead img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    opacity: .86;
    transition: transform .22s ease, opacity .22s ease;
}

.home-photo-lead:hover img {
    opacity: .96;
    transform: scale(1.035);
}

.home-photo-lead::after {
    content: "";
    position: absolute;
    inset: 34% 0 0;
    background: linear-gradient(0deg, rgba(17, 17, 17, .86), transparent);
}

.home-photo-lead span {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.home-photo-lead small {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-photo-lead strong {
    display: block;
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1.05;
}

.home-photo-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(34, 90, 168, .1), transparent 52%),
        var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.home-photo-copy h2 {
    margin-bottom: 10px;
    color: var(--black);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.06;
}

.home-photo-copy p:not(.kicker) {
    color: var(--muted);
    font-size: 16px;
}

.home-photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.home-photo-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.home-photo-strip a {
    overflow: hidden;
    min-height: 0;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.home-photo-strip img {
    width: 100%;
    height: 100%;
    min-height: 144px;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .18s ease;
}

.home-photo-strip a:hover img {
    transform: scale(1.04);
}

.main-grid,
.content-grid,
.lower-grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.main-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
}

.content-grid {
    grid-template-columns: minmax(0, 1fr) 430px;
}

.lower-grid {
    grid-template-columns: minmax(0, .95fr) minmax(340px, .55fr);
    margin-bottom: 42px;
}

.instagram-home {
    margin: -18px auto 44px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(34, 90, 168, .1), transparent 44%),
        linear-gradient(315deg, rgba(210, 39, 48, .08), transparent 42%),
        var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.instagram-home-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.instagram-profile {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 14px;
}

.instagram-profile img {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(17, 17, 17, .16);
}

.instagram-profile h2 {
    margin: 2px 0 3px;
    color: var(--black);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.05;
}

.instagram-profile span {
    display: block;
    color: var(--muted);
    font-weight: 800;
}

.instagram-stories {
    display: flex;
    gap: 12px;
    margin: 0 0 18px;
    padding: 0 0 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.instagram-stories button {
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    padding: 3px;
    cursor: pointer;
    background: conic-gradient(var(--gold), var(--red), var(--blue), var(--gold));
    border: 0;
    border-radius: 50%;
}

.instagram-stories span {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border: 3px solid var(--white);
    border-radius: 50%;
}

.instagram-stories img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease, filter .18s ease;
}

.instagram-stories button:hover img,
.instagram-stories button:focus-visible img {
    filter: saturate(1.08);
    transform: scale(1.06);
}

.instagram-stories button:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 3px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}

.instagram-grid button {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 1;
    width: 100%;
    padding: 0;
    cursor: pointer;
    background: var(--cream);
    border: 0;
    border-radius: 8px;
}

.instagram-grid button::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: inherit;
    pointer-events: none;
}

.instagram-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease, filter .18s ease;
}

.instagram-grid button:hover img,
.instagram-grid button:focus-visible img {
    filter: saturate(1.08);
    transform: scale(1.045);
}

.instagram-grid button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.card {
    padding: 24px;
}

.institution-card {
    background:
        linear-gradient(135deg, rgba(255, 242, 189, .58), transparent 52%),
        var(--white);
}

.institution-card h2,
.card-heading h2,
.training-card h2,
.calendar-card h2,
.page-head h1 {
    margin-bottom: 10px;
    color: var(--black);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.08;
}

.institution-card p:not(.kicker),
.training-card p,
.page-head p {
    color: var(--muted);
    font-size: 17px;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.mini-stats > span {
    display: grid;
    grid-template-rows: 54px minmax(18px, auto) minmax(28px, auto);
    align-items: center;
    align-content: center;
    min-height: 132px;
    padding: 14px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.stat-label {
    display: block;
    align-self: start;
    line-height: 1.2;
}

.mini-stats small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.dynamic-stats > span:nth-child(1) { border-top: 4px solid var(--gold); }
.dynamic-stats > span:nth-child(2) { border-top: 4px solid var(--green); }
.dynamic-stats > span:nth-child(3) { border-top: 4px solid var(--blue); }
.dynamic-stats > span:nth-child(4) { border-top: 4px solid var(--black); }

.mini-stats strong {
    display: block;
    margin-bottom: 5px;
    color: var(--black);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.card-heading.row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.small-link {
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.birthday-list {
    display: grid;
    gap: 13px;
}

.birthday-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.birthday-item img,
.avatar-fallback {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    background: var(--cream);
}

.avatar-fallback {
    display: grid;
    place-items: center;
    font-weight: 900;
}

.birthday-item strong,
.birthday-item span {
    display: block;
}

.birthday-item span,
.empty-state {
    color: var(--muted);
    font-size: 14px;
}

.document-list {
    display: grid;
    gap: 10px;
}

.document-list a {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 76px;
    gap: 12px;
    align-items: center;
    padding: 13px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.document-list span {
    display: inline-grid;
    place-items: center;
    min-height: 30px;
    color: var(--black);
    background: var(--gold);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 900;
}

.document-list strong {
    font-size: 15px;
    line-height: 1.22;
}

.document-list small {
    color: var(--muted);
    text-align: right;
}

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

.home-featured-news {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.home-featured-news img {
    width: 132px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

time {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.home-featured-news h3,
.latest-list h3 {
    margin: 5px 0 0;
    font-size: 16px;
    line-height: 1.22;
}

.latest-list article {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.latest-list article:last-child {
    border-bottom: 0;
}

.calendar-card {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(34, 90, 168, .93), rgba(17, 17, 17, .96));
    border-color: rgba(255,255,255,.12);
}

.calendar-card .kicker,
.calendar-card h2 {
    color: var(--gold);
}

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

.event-list article {
    padding: 15px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 8px;
}

.event-list span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-weight: 900;
}

.training-card {
    background:
        linear-gradient(135deg, rgba(31, 122, 67, .15), transparent 55%),
        var(--white);
}

.training-card .button {
    margin-top: 10px;
}

.club-showcase-card {
    overflow: hidden;
}

.club-showcase-card > p {
    margin-bottom: 18px;
}

.club-logo-slider {
    position: relative;
    margin: 18px -24px 4px;
    overflow: hidden;
    border-block: 1px solid rgba(17, 17, 17, .07);
    background: linear-gradient(90deg, rgba(239, 189, 37, .14), rgba(31, 122, 67, .08), rgba(28, 88, 168, .08));
}

.club-logo-slider::before,
.club-logo-slider::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 54px;
    pointer-events: none;
}

.club-logo-slider::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.club-logo-slider::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.club-logo-track {
    display: flex;
    width: max-content;
    gap: 12px;
    padding: 16px 24px;
    animation: clubMarquee 36s linear infinite;
}

.club-logo-slider:hover .club-logo-track {
    animation-play-state: paused;
}

.club-logo-track a {
    display: grid;
    grid-template-rows: 62px auto;
    place-items: center;
    width: 106px;
    gap: 8px;
    color: var(--black);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.club-logo-track img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    padding: 7px;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(17, 17, 17, .08);
}

.club-logo-track span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes clubMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


.site-footer {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(239,189,37,.13), transparent 34%),
        linear-gradient(180deg, #111 0%, #050505 100%);
    border-top: 5px solid var(--gold);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.7fr) repeat(3, minmax(150px, 1fr));
    gap: 34px;
    padding: 44px 0 34px;
}

.footer-brand-block {
    max-width: 440px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: min(100%, 176px);
}

.footer-logo img {
    width: 176px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-brand-block p {
    margin: 16px 0 8px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-brand-block span,
.footer-links a,
.footer-contact span,
.footer-contact a,
.footer-bottom {
    color: rgba(255,255,255,.72);
}

.footer-brand-block span {
    display: block;
    line-height: 1.7;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-style: normal;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    margin-bottom: 7px;
    color: var(--white);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 980px) {
    .footer-inner {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 34px 0 26px;
    }

    .footer-logo img {
        width: 154px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.page-head {
    padding: 38px 0 22px;
}

.page-head h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.docs-page-card {
    margin-bottom: 42px;
}

.news-page .page-title {
    padding-top: 38px;
    padding-bottom: 24px;
}

.news-page .page-title h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.news-archive {
    display: grid;
    gap: 18px;
    padding-top: 0;
}

.archive-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.archive-featured img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.archive-featured div {
    padding: 28px;
}

.archive-featured h2 {
    margin: 8px 0 10px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
}

.archive-featured p {
    color: var(--muted);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.archive-card,
.archive-list {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.archive-card {
    overflow: hidden;
}

.archive-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.archive-card div {
    padding: 13px;
}

.archive-card h3 {
    margin: 6px 0 0;
    font-size: 16px;
}

.archive-list article,
.archive-list a {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.archive-list article:last-child,
.archive-list a:last-child {
    border-bottom: 0;
}

.archive-list h3 {
    margin: 0;
    font-size: 18px;
}

@media (max-width: 1100px) {
    .hero-card,
    .home-photo-teaser,
    .main-grid,
    .content-grid,
    .lower-grid,
    .archive-featured {
        grid-template-columns: 1fr;
    }

    .feature-strip,
    .event-list,
    .archive-grid,
    .document-list-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-mascot-panel {
        min-height: 260px;
        overflow: hidden;
    }

    .hero-mascot-panel img {
        width: min(360px, 92%);
        max-width: none;
        max-height: 330px;
        transform: translate(-18px, 0);
    }

    .federado-callout-panel {
        grid-template-columns: minmax(320px, .88fr) minmax(0, 1fr);
        height: min(590px, calc(100vh - 36px));
    }

    .federado-callout-copy h2 {
        font-size: clamp(30px, 4.4vw, 44px);
    }
}

@media (max-width: 760px) {
    .topbar-inner,
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        position: static;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 92px;
        height: 68px;
    }

    .hero-wrap {
        padding-top: 18px;
    }

    .hero-card {
        min-height: 0;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .feature-strip,
    .home-photo-strip,
    .event-list,
    .document-list-page,
    .archive-grid {
        grid-template-columns: 1fr;
    }

    .instagram-home {
        margin-top: -20px;
        padding: 18px;
    }

    .instagram-home-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .instagram-stories button {
        width: 66px;
        height: 66px;
    }

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

    .home-photo-lead,
    .home-photo-lead img {
        min-height: 260px;
    }

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

    .mini-stats {
        grid-template-columns: 1fr;
    }

    .document-list a,
    .home-featured-news,
    .archive-list article,
.archive-list a {
        grid-template-columns: 1fr;
    }

    .document-list small {
        text-align: left;
    }

    .home-featured-news img {
        width: 100%;
    }

    .federado-callout {
        padding: 12px;
    }

    .federado-callout-panel {
        grid-template-columns: 1fr;
        grid-template-rows: 44% 56%;
        height: calc(100vh - 24px);
        max-height: 680px;
    }

    .federado-callout-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }

    .federado-callout-art {
        min-height: 0;
        padding: 18px 16px;
    }

    .federado-callout-ribbon {
        max-width: calc(100% - 52px);
        font-size: 10px;
    }

    .federado-certificate {
        top: 68px;
        right: 8px;
        left: auto;
        width: min(340px, 82%);
        min-height: 0;
        padding: 0;
        transform: rotate(-4deg);
    }

    .federado-mascot {
        left: -86px;
        right: auto;
        bottom: -64px;
        width: min(310px, 70%);
    }

    .federado-callout-copy {
        justify-content: start;
        min-height: 0;
        padding: 18px 20px 20px;
    }

    .federado-callout-copy h2 {
        margin-bottom: 10px;
        font-size: clamp(23px, 7vw, 30px);
    }

    .federado-callout-copy p:not(.kicker) {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.28;
    }

    .federado-callout-copy > strong {
        margin: 2px 0 4px;
        font-size: 24px;
    }

    .federado-callout-copy > small {
        font-size: 11px;
    }

    .federado-callout-actions {
        display: grid;
        gap: 8px;
        margin-top: 8px;
    }

    .federado-callout-actions .button {
        min-height: 40px;
    }
}


.home-featured-news {
    transition: transform .18s ease, box-shadow .18s ease;
}

.home-featured-news:hover,
.latest-news-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 17, 17, .08);
}

.home-featured-news p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.latest-news-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.latest-news-item {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.latest-news-item.with-thumb {
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    background: var(--cream);
}

.latest-news-item img {
    width: 86px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.single-news {
    padding: 38px 0 54px;
}

.single-news-header {
    max-width: none;
    margin-bottom: 22px;
}

.single-news-header h1 {
    margin-bottom: 14px;
    color: var(--black);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--muted);
    font-weight: 800;
}

.single-cover {
    overflow: hidden;
    margin: 0 0 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.single-cover img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.single-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.share-card {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 9px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.share-card strong {
    color: var(--black);
}

.share-card a {
    padding: 10px 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
}

.single-content {
    padding: clamp(22px, 4vw, 38px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 18px;
}

.single-content p,
.single-content li {
    color: #34312a;
    font-size: 18px;
    line-height: 1.72;
}

.single-content p:last-child {
    margin-bottom: 0;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    margin: 1.3em 0 .45em;
    color: var(--black);
    line-height: 1.15;
}

.single-content a {
    color: var(--blue);
    font-weight: 900;
    border-bottom: 2px solid rgba(34, 90, 168, .22);
}

.single-content figure {
    margin: 24px 0;
}

.single-content img {
    width: auto;
    height: auto;
    border-radius: 8px;
}

.single-content figure img {
    width: 100%;
}

.single-content figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.single-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    background: var(--cream);
    border-left: 5px solid var(--gold);
    border-radius: 8px;
}

@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr;
    }

    .share-card {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .share-card strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .latest-news-item.with-thumb,
    .share-card {
        grid-template-columns: 1fr;
    }

    .latest-news-item img {
        width: 100%;
    }

    .single-news-header h1 {
        font-size: 32px;
    }

    .single-content,
    .single-content p,
    .single-content li {
        font-size: 16px;
    }
}


.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.category-list span {
    padding: 6px 10px;
    color: var(--black);
    background: var(--gold-soft);
    border: 1px solid rgba(239, 189, 37, .45);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.news-gallery {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.news-gallery h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.news-gallery-grid button {
    display: block;
    overflow: hidden;
    width: 100%;
    padding: 0;
    cursor: pointer;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.news-gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .18s ease;
}

.news-gallery-grid button:hover img {
    transform: scale(1.04);
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    align-items: center;
    gap: 12px;
    padding: 28px;
    background: rgba(0, 0, 0, .88);
}

.lightbox figure {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 0;
}

.lightbox img,
.lightbox video {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    border-radius: 8px;
}

.lightbox figcaption {
    color: var(--white);
    font-weight: 800;
    text-align: center;
}

.lightbox button {
    cursor: pointer;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    font-size: 34px;
    line-height: 1;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
}

.lightbox-prev,
.lightbox-next {
    width: 54px;
    height: 70px;
}

@media (max-width: 900px) {
    .news-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .news-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lightbox {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        padding: 18px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 56px;
    }
}


.news-first-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.home-news-wide {
    overflow: hidden;
}

.home-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 12px;
}

.home-news-grid .home-featured-news {
    display: block;
    padding: 0;
    overflow: hidden;
    background: var(--cream);
}

.home-news-grid .home-featured-news img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
}

.home-news-grid .home-featured-news div {
    padding: 16px;
}

.home-news-grid .home-featured-news h3 {
    font-size: 21px;
}

.home-news-thumb {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 96px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.home-news-thumb:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 17, 17, .08);
}

.home-news-thumb img {
    width: 96px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    background: var(--cream);
}

.home-news-thumb h3 {
    margin: 5px 0 0;
    font-size: 15px;
    line-height: 1.2;
}

.compact-documents a {
    grid-template-columns: 46px minmax(0, 1fr);
}

.compact-documents small {
    grid-column: 2;
    text-align: left;
}

@media (max-width: 1100px) {
    .news-first-grid,
    .home-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .home-news-thumb {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .home-news-thumb img {
        width: 88px;
    }
}


.editorial-news-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: stretch;
}

.medium-news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-news-medium {
    display: grid;
    overflow: hidden;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.home-news-medium:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(17, 17, 17, .08);
}

.home-news-medium img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-news-medium span {
    padding: 12px;
}

.home-news-medium h3 {
    margin: 5px 0 0;
    font-size: 16px;
    line-height: 1.2;
}

.small-news-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.small-news-list .home-news-thumb {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 82px;
}

.small-news-list .home-news-thumb img {
    width: 78px;
}

.small-news-list .home-news-thumb h3 {
    font-size: 14px;
}

@media (max-width: 1100px) {
    .editorial-news-grid,
    .medium-news-list,
    .small-news-list {
        grid-template-columns: 1fr 1fr;
    }

    .small-news-list {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .editorial-news-grid,
    .medium-news-list,
    .small-news-list {
        grid-template-columns: 1fr;
    }

    .small-news-list .home-news-thumb {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .small-news-list .home-news-thumb img {
        width: 88px;
    }
}


.editorial-news-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.medium-news-list {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
}

.home-news-medium {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
}

.home-news-medium img {
    width: 150px;
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
}

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

.small-news-list .home-news-thumb {
    grid-template-columns: 92px minmax(0, 1fr);
}

.small-news-list .home-news-thumb img {
    width: 92px;
}

@media (max-width: 1100px) {
    .editorial-news-grid {
        grid-template-columns: 1fr;
    }

    .medium-news-list,
    .small-news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }
}

@media (max-width: 760px) {
    .medium-news-list,
    .small-news-list {
        grid-template-columns: 1fr;
    }

    .home-news-medium,
    .small-news-list .home-news-thumb {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .home-news-medium img,
    .small-news-list .home-news-thumb img {
        width: 96px;
        min-height: 92px;
    }
}


.news-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 22px;
    align-items: stretch;
    padding: 34px 0 18px;
}

.news-hero > div,
.news-search-card,
.news-category-strip,
.archive-summary,
.news-result-card,
.pagination a {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.news-hero > div {
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(255, 242, 189, .6), transparent 58%),
        var(--white);
}

.news-hero h1 {
    margin-bottom: 10px;
    color: var(--black);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1;
}

.news-hero p:not(.kicker) {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.news-search-card {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.news-search-card label {
    display: grid;
    gap: 6px;
}

.news-search-card label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-search-card input,
.news-search-card select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
}

.news-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
    margin-bottom: 12px;
}

.news-category-strip a {
    padding: 8px 11px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.news-category-strip a.active,
.news-category-strip a:hover {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}

.archive-summary {
    padding: 12px 16px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
}

.news-feature-area {
    margin-bottom: 16px;
}

.news-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.news-result-card {
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.news-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(17, 17, 17, .13);
}

.news-result-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--cream);
}

.news-result-card div {
    padding: 16px;
}

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

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

.result-category {
    display: inline-flex;
    margin-top: 6px;
    padding: 5px 8px;
    color: var(--black);
    background: var(--gold-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.empty-news-card {
    grid-column: 1 / -1;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 42px;
}

.pagination a {
    min-width: 42px;
    padding: 10px 13px;
    text-align: center;
    font-weight: 900;
}

.pagination a.active,
.pagination a:hover {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}

.photos-page {
    padding-bottom: 42px;
}

.photos-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .44fr);
    gap: 24px;
    align-items: end;
    padding: 36px 0 18px;
}

.photos-hero h1 {
    margin-bottom: 12px;
    color: var(--black);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
}

.photos-hero p:not(.kicker) {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.album-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.photos-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.photos-meta span {
    padding: 7px 10px;
    color: var(--black);
    background: var(--gold-soft);
    border: 1px solid rgba(239, 189, 37, .5);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.photo-albums-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.photo-album-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.photo-album-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(17, 17, 17, .13);
}

.photo-album-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--cream);
}

.photo-album-card div {
    padding: 16px;
}

.photo-album-card time {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.photo-album-card h2 {
    margin: 8px 0 10px;
    color: var(--black);
    font-size: 20px;
    line-height: 1.16;
}

.photo-album-card span {
    display: inline-flex;
    padding: 5px 8px;
    color: var(--black);
    background: var(--gold-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.album-photo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 26px;
}

.album-photo-grid button {
    display: block;
    overflow: hidden;
    width: 100%;
    padding: 0;
    cursor: pointer;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.album-photo-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .18s ease;
}

.album-photo-grid button:hover img {
    transform: scale(1.04);
}

@media (max-width: 980px) {
    .photo-albums-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .photos-hero,
    .album-hero {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 1100px) {
    .news-hero,
    .news-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .news-hero,
    .news-results-grid {
        grid-template-columns: 1fr;
    }
}

.results-page {
    padding-bottom: 46px;
}

.results-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(31, 122, 67, .94), rgba(34, 90, 168, .9)),
        var(--green);
    color: var(--white);
}

.results-hero::after {
    position: absolute;
    right: -60px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border: 42px solid rgba(239, 189, 37, .45);
    border-radius: 50%;
    content: "";
}

.results-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: end;
    min-height: 430px;
    padding: 46px 0;
}

.results-hero-copy h1 {
    max-width: 780px;
    margin-bottom: 14px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: .98;
}

.results-hero-copy p:not(.kicker) {
    max-width: 660px;
    color: rgba(255, 253, 247, .88);
    font-size: 18px;
    font-weight: 700;
}

.results-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.results-hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(255, 253, 247, .24);
    border-radius: 999px;
    background: rgba(17, 17, 17, .2);
    font-size: 13px;
    font-weight: 900;
}

.results-hero-stats strong {
    color: var(--gold);
    font-size: 20px;
}

.results-hero-art {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.results-hero-art img {
    width: min(430px, 90vw);
    max-height: 485px;
    object-fit: contain;
    object-position: center bottom;
    margin-bottom: -46px;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .28));
}

.results-hero-art div {
    position: absolute;
    right: 0;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    border: 5px solid var(--white);
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .24);
}

.results-hero-art span,
.results-hero-art small {
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.results-hero-art strong {
    margin: -8px 0;
    font-size: 42px;
    line-height: 1;
}

.results-medal-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px)) minmax(220px, 1fr);
    gap: 12px;
    align-items: stretch;
    margin-top: -36px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.medal-pill,
.results-source {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 86px;
    padding: 16px;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.medal-pill span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55), 0 8px 16px rgba(17, 17, 17, .16);
}

.medal-pill.gold span { background: #efbd25; }
.medal-pill.silver span { background: #c8ccd2; }
.medal-pill.bronze span { background: #b56b33; }

.medal-pill strong {
    font-size: 30px;
    line-height: 1;
}

.medal-pill small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.results-source {
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
}

.results-source strong {
    font-size: 15px;
}

.results-source span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.results-events {
    display: grid;
    gap: 18px;
}

.results-year-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px auto 20px;
}

.results-year-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(17, 17, 17, .08);
}

.results-year-tabs a.active,
.results-year-tabs a:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--black);
}

.results-year-group {
    display: none;
    gap: 12px;
}

.results-year-group.active {
    display: grid;
}

.results-year-group > h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 0;
    color: var(--green);
    font-size: 32px;
    line-height: 1;
}

.results-year-group > h2::after {
    flex: 1;
    height: 1px;
    background: rgba(31, 122, 67, .24);
    content: "";
}

.results-year-events {
    display: grid;
    gap: 18px;
}

.result-event-card {
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.result-event-card header {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid rgba(17, 17, 17, .08);
    background: linear-gradient(90deg, rgba(234, 241, 251, .86), rgba(255, 242, 189, .72));
}

.result-event-date {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: var(--black);
    color: var(--white);
}

.result-event-date span {
    color: var(--gold);
    font-size: 16px;
    font-weight: 950;
}

.result-event-date small {
    font-size: 12px;
    font-weight: 800;
}

.result-event-card h3 {
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 1.15;
}

.result-event-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 850;
}

.result-event-card header > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 6px;
    background: var(--green);
    color: var(--white);
    font-weight: 950;
}

.result-event-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px 0;
}

.result-event-summary span {
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.result-event-summary .gold { background: rgba(239, 189, 37, .28); }
.result-event-summary .silver { background: rgba(157, 164, 175, .22); }
.result-event-summary .bronze { background: rgba(181, 107, 51, .18); }

.result-list {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.result-row {
    display: grid;
    grid-template-columns: 54px 86px minmax(160px, 1.1fr) minmax(150px, .9fr) minmax(180px, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid rgba(17, 17, 17, .08);
    border-left: 5px solid rgba(17, 17, 17, .18);
    border-radius: 8px;
    background: #fff;
}

.result-row.medal-ouro { border-left-color: #efbd25; }
.result-row.medal-prata { border-left-color: #aab0ba; }
.result-row.medal-bronze { border-left-color: #b56b33; }

.result-place {
    font-size: 18px;
    font-weight: 950;
}

.result-medal {
    justify-self: start;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.result-row.medal-ouro .result-medal {
    background: rgba(239, 189, 37, .32);
    color: #6b4c00;
}

.result-row.medal-prata .result-medal {
    background: rgba(157, 164, 175, .22);
    color: #4a515c;
}

.result-row.medal-bronze .result-medal {
    background: rgba(181, 107, 51, .18);
    color: #744015;
}

.result-row strong {
    line-height: 1.2;
}

.result-row small {
    color: var(--muted);
    font-weight: 850;
}

.result-row em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.25;
}

.results-empty-card {
    padding: 22px;
}

@media (max-width: 980px) {
    .results-hero-inner,
    .results-medal-strip,
    .result-event-card header {
        grid-template-columns: 1fr;
    }

    .results-medal-strip {
        margin-top: 14px;
    }

    .results-source {
        align-items: center;
        text-align: center;
    }

    .result-event-card header > a {
        width: fit-content;
    }

    .result-row {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .result-medal,
    .result-row small,
    .result-row em {
        grid-column: 2;
    }
}

@media (max-width: 640px) {
    .results-hero-inner {
        min-height: 0;
        padding: 34px 0;
    }

    .results-hero-copy h1 {
        font-size: 36px;
    }

    .results-hero-art {
        justify-items: start;
    }

    .results-hero-art img {
        width: 210px;
    }
}


.document-list .doc-type {
    position: relative;
    min-width: 42px;
    min-height: 40px;
    padding: 14px 6px 4px;
    background: linear-gradient(180deg, #ffffff, var(--gold-soft));
    border: 1px solid rgba(17, 17, 17, .14);
    border-radius: 6px;
    box-shadow: inset 0 4px 0 var(--gold);
    font-size: 10px;
    line-height: 1;
}

.document-list .doc-type::before {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 14px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transform: translateX(-50%);
    content: "";
    opacity: .45;
}

.compact-documents small,
.document-list small {
    line-height: 1.25;
}


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

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

.pdf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, .82);
}

.pdf-lightbox-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1100px, 100%);
    height: min(86vh, 900px);
    overflow: hidden;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.pdf-lightbox-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: var(--black);
    color: var(--white);
    border-bottom: 4px solid var(--gold);
}

.pdf-lightbox-panel header div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdf-open-link {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.pdf-close {
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 7px;
    font-size: 26px;
    line-height: 1;
}

.pdf-lightbox iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

@media (max-width: 760px) {
    .pdf-lightbox {
        padding: 12px;
    }

    .pdf-lightbox-panel {
        height: 88vh;
    }

    .pdf-lightbox-panel header {
        align-items: flex-start;
        flex-direction: column;
    }
}


.docs-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 22px;
    align-items: stretch;
    padding: 34px 0 18px;
}

.docs-hero > div,
.docs-search-card,
.docs-category-strip,
.doc-result-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.docs-hero > div {
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(34, 90, 168, .13), transparent 54%),
        linear-gradient(225deg, rgba(239, 189, 37, .2), transparent 50%),
        var(--white);
}

.docs-hero h1 {
    margin-bottom: 10px;
    color: var(--black);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1;
}

.docs-hero p:not(.kicker) {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.docs-search-card {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.docs-search-card label {
    display: grid;
    gap: 6px;
}

.docs-search-card label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.docs-search-card input,
.docs-search-card select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 7px;
    font: inherit;
}

.docs-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
    margin-bottom: 12px;
}

.docs-category-strip a {
    padding: 8px 11px;
    color: var(--muted);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.docs-category-strip a.active,
.docs-category-strip a:hover {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}

.docs-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.doc-result-card {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    min-height: 152px;
    padding: 18px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.doc-result-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--gold);
    content: "";
}

.doc-result-card:nth-child(3n+2)::before { background: var(--blue); }
.doc-result-card:nth-child(3n)::before { background: var(--green); }

.doc-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(17, 17, 17, .13);
}

.doc-icon {
    position: relative;
    display: grid;
    place-items: center;
    align-self: start;
    width: 62px;
    height: 72px;
    color: var(--black);
    background: linear-gradient(180deg, #ffffff, var(--gold-soft));
    border: 1px solid rgba(17, 17, 17, .14);
    border-radius: 8px;
    box-shadow: inset 0 6px 0 var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.doc-icon::after {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 14px;
    height: 14px;
    background: rgba(17, 17, 17, .1);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    content: "";
}

.doc-result-card strong {
    display: block;
    margin-bottom: 9px;
    color: var(--black);
    font-size: 19px;
    line-height: 1.18;
}

.doc-result-card small {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 9px;
    padding: 5px 8px;
    color: var(--black);
    background: var(--gold-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.doc-result-card em {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .docs-hero,
    .docs-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .docs-hero,
    .docs-results-grid {
        grid-template-columns: 1fr;
    }

    .doc-result-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .doc-icon {
        width: 56px;
        height: 66px;
    }
}


.pdf-share-whatsapp,
.pdf-share-facebook,
.pdf-share-x {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.document-share-page {
    padding: 36px 0 52px;
}

.document-share-head {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.document-share-head h1 {
    margin-bottom: 8px;
    color: var(--black);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.06;
}

.document-share-head p:not(.kicker) {
    color: var(--muted);
    font-weight: 800;
}

.document-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.document-actions a:not(.button) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    color: var(--blue);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-weight: 900;
}

.document-frame {
    width: 100%;
    height: 78vh;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

@media (max-width: 760px) {
    .document-share-head {
        grid-template-columns: 1fr;
    }
}


.training-page {
    padding-bottom: 48px;
    background: linear-gradient(180deg, rgba(239, 189, 37, .08), rgba(255, 253, 247, 0) 260px);
}

.training-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: stretch;
    padding-top: 34px;
}

.training-hero > div:first-child,
.training-summary-card,
.training-panel,
.training-map-card,
.training-search-strip .training-filter-card,
.training-results-section,
.training-feature-card {
    border: 1px solid rgba(17, 17, 17, .09);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.training-hero > div:first-child {
    padding: clamp(26px, 4vw, 42px);
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(17, 17, 17, .96), rgba(17, 17, 17, .76)),
        url('/wp-content/uploads/2026/02/IMG_0050-1170x650.jpg') center / cover;
}

.training-hero h1 {
    max-width: 820px;
    margin-bottom: 14px;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.04;
}

.training-hero p:not(.kicker) {
    max-width: 700px;
    color: rgba(255, 253, 247, .82);
    font-size: 18px;
}

.training-summary-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    color: var(--black);
    background: linear-gradient(150deg, var(--gold), #fff7cf 58%, rgba(31, 122, 67, .18));
}

.training-summary-card span {
    font-size: 58px;
    font-weight: 950;
    line-height: 1;
}

.training-summary-card strong {
    margin-top: 8px;
    font-size: 18px;
}

.training-summary-card small {
    margin-top: 10px;
    color: rgba(17, 17, 17, .68);
    font-weight: 800;
}

.training-featured {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.training-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 104px;
    padding: 14px;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.training-feature-card:hover {
    border-color: rgba(239, 189, 37, .7);
    box-shadow: 0 18px 36px rgba(17, 17, 17, .12);
    transform: translateY(-2px);
}

.club-logo-wrap {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 8px;
    background: #fff;
}

.club-logo-wrap.small {
    width: 54px;
    height: 54px;
}

.club-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.club-logo-wrap strong {
    color: var(--green);
    font-size: 24px;
    font-weight: 950;
}

.training-feature-card h2 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.18;
}

.training-feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}


.training-search-strip {
    margin-top: 18px;
}

.training-search-strip .training-filter-card {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(220px, .9fr) auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    border: 1px solid rgba(17, 17, 17, .09);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.training-search-strip .training-list-heading {
    justify-content: flex-end;
    padding: 0;
}

.training-search-strip .training-list-heading strong {
    min-width: 150px;
    text-align: right;
}

.training-results-section {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(17, 17, 17, .09);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.training-results-section .club-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.training-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.training-panel {
    position: sticky;
    top: 104px;
    order: 2;
    padding: 16px;
    overflow: hidden;
}

.training-filter-card {
    display: grid;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(17, 17, 17, .08);
}

.training-filter-card label {
    display: grid;
    gap: 6px;
}

.training-filter-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.training-filter-card input,
.training-filter-card select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(17, 17, 17, .14);
    border-radius: 7px;
    background: #fff;
    color: var(--black);
    font: inherit;
    font-weight: 800;
}

.training-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 0;
}

.training-list-heading strong {
    font-size: 14px;
}

.training-list-heading button {
    min-height: 34px;
    border: 0;
    border-radius: 6px;
    background: rgba(31, 122, 67, .1);
    color: var(--green);
    font-weight: 900;
    cursor: pointer;
}

.club-list {
    display: grid;
    gap: 10px;
    max-height: 610px;
    overflow: auto;
    padding-right: 4px;
}

.club-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 8px;
    background: rgba(255, 253, 247, .72);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.club-list-item[hidden] {
    display: none !important;
}

.club-list-item:hover,
.club-list-item.active {
    border-color: rgba(28, 88, 168, .36);
    background: #fff;
    transform: translateX(2px);
}

.club-list-main {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.club-list-main > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.club-list-item h2 {
    margin: 0 0 5px;
    font-size: 15px;
    line-height: 1.2;
}

.club-list-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.club-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

.club-actions a,
.club-actions span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(239, 189, 37, .2);
    color: var(--black);
    font-size: 12px;
    font-weight: 900;
}

.club-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--gold);
    color: var(--black);
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.club-icon-link:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .1), 0 8px 16px rgba(17, 17, 17, .14);
}

.club-icon-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.club-icon-link.whatsapp {
    background: #25d366;
    color: #fff;
}

.club-icon-link.site {
    background: var(--green);
    color: #fff;
}

.club-icon-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.club-route-link {
    flex: 0 0 auto;
}

.training-map-card {
    order: 1;
    overflow: hidden;
    padding: 0;
    margin-top: 18px;
}

.clubs-map {
    min-height: 780px;
    width: 100%;
    background: #dfe9df;
}

.map-unavailable {
    display: grid;
    place-items: center;
    padding: 30px;
    color: var(--muted);
    font-weight: 800;
}

.club-map-marker {
    width: 46px !important;
    height: 46px !important;
    background: transparent;
    border: 0;
}

.club-map-pin {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 3px solid var(--gold);
    border-radius: 50% 50% 50% 8px;
    background: #fff;
    box-shadow: 0 12px 22px rgba(17, 17, 17, .28);
    transform: rotate(-45deg);
}

.club-map-marker img,
.club-map-marker strong {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transform: rotate(45deg);
}

.club-map-marker strong {
    display: grid;
    place-items: center;
    color: var(--green);
    font-weight: 950;
}

.club-popup {
    min-width: 220px;
}

.club-popup-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.club-popup-head img,
.club-popup-head span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 7px;
    object-fit: contain;
}

.club-popup p {
    margin: 0 0 10px;
    color: #4d4d4d;
    font-size: 13px;
    line-height: 1.35;
}

.club-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

@media (max-width: 1100px) {
    .training-hero,
    .training-layout,
    .training-search-strip .training-filter-card {
        grid-template-columns: 1fr;
    }

    .training-search-strip .training-list-heading {
        justify-content: space-between;
    }

    .training-search-strip .training-list-heading strong {
        text-align: left;
    }

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

    .training-results-section .club-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .training-panel {
        position: static;
        max-height: none;
    }

    .club-list {
        max-height: none;
    }

    .clubs-map {
        min-height: 600px;
    }
}

@media (max-width: 760px) {
    .training-featured,
    .training-results-section .club-list {
        grid-template-columns: 1fr;
    }

    .training-summary-card span {
        font-size: 46px;
    }

    .training-search-strip .training-filter-card {
        padding: 14px;
    }

    .clubs-map {
        min-height: 460px;
    }
}


.leaflet-container {
    position: relative;
    overflow: hidden;
    font: inherit;
    background: #dfe9df;
    outline: 0;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
    position: absolute;
    left: 0;
    top: 0;
}

.leaflet-container img.leaflet-tile {
    display: block;
    width: 256px !important;
    height: 256px !important;
    max-width: none !important;
    max-height: none !important;
    visibility: visible !important;
}

.leaflet-tile-loaded {
    visibility: inherit !important;
}

.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg { z-index: 200; }
.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
}
.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }
.leaflet-control {
    position: relative;
    z-index: 1000;
    pointer-events: auto;
    float: left;
    clear: both;
    margin: 10px;
}
.leaflet-right .leaflet-control { float: right; }
.leaflet-popup {
    position: absolute;
    text-align: center;
    margin-bottom: 20px;
}
.leaflet-popup-content-wrapper {
    padding: 1px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 17, 17, .2);
}
.leaflet-popup-content {
    margin: 13px;
    line-height: 1.4;
}
.leaflet-popup-tip-container {
    position: absolute;
    left: 50%;
    width: 40px;
    height: 20px;
    margin-left: -20px;
    overflow: hidden;
    pointer-events: none;
}
.leaflet-popup-tip {
    width: 17px;
    height: 17px;
    margin: -10px auto 0;
    padding: 1px;
    background: #fff;
    transform: rotate(45deg);
}
.leaflet-control-zoom a {
    display: block;
    width: 32px;
    height: 32px;
    background: #fff;
    color: var(--black);
    line-height: 32px;
    text-align: center;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(17, 17, 17, .16);
}


.search-results {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 280px;
    overflow: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(17, 17, 17, .08);
}

.search-results[hidden] {
    display: none;
}

.search-results .club-list-item {
    width: 100%;
    border: 1px solid rgba(17, 17, 17, .08);
    text-align: left;
    font: inherit;
}

.search-results .club-list-main > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.search-results .club-list-item strong {
    overflow: hidden;
    color: var(--black);
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-results .club-list-item small {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .search-results {
        grid-template-columns: 1fr;
    }
}


.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(17, 17, 17, .08);
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--black);
    transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle span:nth-child(1) { transform: translateY(-7px); }
.menu-toggle span:nth-child(3) { transform: translateY(7px); }

.site-header.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }

@media (max-width: 760px) {
    .topbar {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
        overflow: visible;
    }

    .header-inner {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 12px;
        align-items: center;
        min-height: 74px;
        padding-block: 8px;
    }

    .brand {
        min-width: 0;
        gap: 10px;
    }

    .brand img {
        width: 70px;
        height: 54px;
    }

    .brand strong {
        font-size: 24px;
    }

    .brand small {
        max-width: 210px;
        font-size: 11px;
        line-height: 1.2;
    }

    .menu-toggle {
        position: relative;
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 18px;
        left: 18px;
        display: grid;
        gap: 4px;
        padding: 10px;
        border: 1px solid rgba(17, 17, 17, .1);
        border-radius: 10px;
        background: rgba(255, 253, 247, .98);
        box-shadow: 0 18px 42px rgba(17, 17, 17, .14);
        overflow: visible;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .18s ease, transform .18s ease;
    }

    .site-header.menu-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 0 12px;
        border-radius: 7px;
        background: rgba(244, 239, 227, .72);
    }

    .main-nav a:hover {
        background: var(--gold-soft);
    }

    .hero-wrap {
        padding-top: 14px;
    }
}

.contact-page {
    background:
        linear-gradient(180deg, rgba(255, 253, 247, .98), rgba(244, 239, 227, .72) 46%, rgba(255, 253, 247, 1));
}

.contact-hero {
    padding: 42px 0 22px;
    background:
        linear-gradient(135deg, rgba(17, 17, 17, .92), rgba(32, 33, 36, .86)),
        url("/assets/img/logo-fjms.png") right 8vw center / 380px auto no-repeat;
    color: var(--white);
}

.contact-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 24px;
    align-items: end;
}

.contact-hero h1 {
    margin: 0;
    max-width: 760px;
    color: var(--white);
    font-size: clamp(42px, 7vw, 76px);
    line-height: .96;
}

.contact-hero p {
    max-width: 720px;
    color: rgba(255, 253, 247, .84);
    font-size: 18px;
}

.contact-hero .kicker {
    color: var(--gold);
}

.contact-hero-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 253, 247, .16);
    border-radius: 8px;
    background: rgba(255, 253, 247, .08);
    backdrop-filter: blur(10px);
}

.contact-hero-card span,
.contact-quick-links span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-hero-card strong {
    color: var(--white);
    font-size: 21px;
    line-height: 1.18;
}

.contact-hero-card a {
    justify-self: start;
    color: var(--black);
    background: var(--gold);
    padding: 10px 13px;
    border-radius: 6px;
    font-weight: 900;
}

.contact-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: -8px;
    padding-block: 24px 8px;
}

.contact-quick-links a {
    display: grid;
    gap: 8px;
    min-height: 106px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(17, 17, 17, .08);
}

.contact-quick-links strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.16;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
    padding-block: 20px 36px;
}

.contact-form-panel,
.contact-side article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(17, 17, 17, .08);
}

.contact-form-panel {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.contact-form-heading h2,
.contact-side h2,
.contact-map-copy h2 {
    margin: 0;
    color: var(--black);
    font-size: 30px;
    line-height: 1.05;
}

.contact-form-heading p,
.contact-side p,
.contact-map-copy p {
    color: var(--muted);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

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

.contact-form-panel label span {
    color: var(--black);
    font-size: 13px;
    font-weight: 900;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
    width: 100%;
    border: 1px solid rgba(17, 17, 17, .16);
    border-radius: 7px;
    background: #fffdf7;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    padding: 12px 13px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-form-panel textarea {
    resize: vertical;
    min-height: 180px;
    line-height: 1.45;
}

.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(239, 189, 37, .2);
}

.contact-security-row {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 14px;
    align-items: end;
}

.contact-consent {
    display: flex !important;
    grid-template-columns: none;
    flex-direction: row;
    align-items: center;
    gap: 10px !important;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 7px;
    background: rgba(244, 239, 227, .58);
}

.contact-consent input {
    width: 18px;
    height: 18px;
    padding: 0;
}

.contact-alert {
    padding: 13px 14px;
    border-radius: 8px;
    font-weight: 900;
    line-height: 1.35;
}

.contact-alert.success {
    color: #155b35;
    background: #dcf7e7;
    border: 1px solid #99ddb7;
}

.contact-alert.error {
    color: #842029;
    background: #fde2e4;
    border: 1px solid #f3a6ad;
}

.contact-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-side {
    display: grid;
    gap: 14px;
}

.contact-side article {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.contact-map-section {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding-bottom: 48px;
}

.contact-map-copy {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 24px;
    border-radius: 8px;
    background: var(--black);
}

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

.contact-map-copy .kicker {
    color: var(--gold);
}

.contact-map-copy p {
    color: rgba(255, 253, 247, .78);
}

.contact-map-frame {
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(17, 17, 17, .1);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    filter: saturate(.9) contrast(1.02);
}

@media (max-width: 900px) {
    .contact-hero-inner,
    .contact-layout,
    .contact-map-section {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .contact-hero {
        padding: 30px 0 18px;
    }

    .contact-hero h1 {
        font-size: 46px;
    }

    .contact-form-panel {
        padding: 18px;
    }

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

    .contact-map-frame,
    .contact-map-frame iframe {
        min-height: 340px;
    }
}

.referees-page {
    padding-bottom: 54px;
}

.referees-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 24px;
    align-items: stretch;
    padding: 42px 0 20px;
}

.referees-hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .94;
}

.referees-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.referees-hero-stats {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 22px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(34, 90, 168, .95), rgba(31, 122, 67, .9)),
        var(--black);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.referees-hero-stats span {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: end;
}

.referees-hero-stats strong {
    color: var(--gold);
    font-size: 42px;
    line-height: .9;
}

.referees-hero-stats small {
    color: rgba(255, 253, 247, .78);
    font-weight: 900;
    text-transform: uppercase;
}

.referees-news,
.referees-board,
.referee-profile,
.referee-events-card {
    margin-top: 18px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.referees-news-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 360px);
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x mandatory;
}

.referee-news-card {
    display: grid;
    grid-template-rows: 150px 1fr;
    overflow: hidden;
    min-height: 268px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
    scroll-snap-align: start;
}

.referee-news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.referee-news-card span {
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 13px;
}

.referee-news-card time,
.referee-card small,
.referee-card time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.referee-news-card strong {
    font-size: 18px;
    line-height: 1.12;
}

.referee-detail-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 18px;
}

.referee-detail-page {
    display: grid;
    gap: 18px;
    padding-top: 34px;
}

.referee-profile {
    display: grid;
    gap: 18px;
}

.referee-profile-head {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.referee-profile-head img,
.referee-avatar-fallback {
    width: 150px;
    height: 150px;
    object-fit: cover;
    background: var(--blue-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.referee-avatar-fallback {
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 34px;
    font-weight: 900;
}

.referee-profile-head h2 {
    margin-bottom: 6px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1;
}

.referee-profile-head h1 {
    margin-bottom: 8px;
    font-size: clamp(38px, 5.8vw, 72px);
    line-height: .94;
}

.referee-profile-head span {
    display: inline-block;
    padding: 7px 10px;
    color: var(--black);
    background: var(--gold);
    border-radius: 6px;
    font-weight: 900;
}

.referee-profile-data {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.referee-profile-data div {
    padding: 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.referee-profile-data dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.referee-profile-data dd {
    margin: 3px 0 0;
    font-weight: 900;
}

.referee-profile-full .referee-profile-head {
    grid-template-columns: 190px minmax(0, 1fr);
}

.referee-profile-full .referee-profile-head img,
.referee-profile-full .referee-avatar-fallback {
    width: 190px;
    height: 210px;
}

.referee-events-wide {
    overflow: hidden;
}

.referee-events-wide .card-heading > span {
    color: var(--muted);
    font-weight: 900;
}

.referee-year-group {
    margin-top: 24px;
}

.referee-year-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--black);
}

.referee-year-heading h3 {
    margin: 0;
    color: var(--black);
    font-size: 24px;
}

.referee-year-heading span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.referee-activity-table {
    overflow-x: auto;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.referee-activity-table table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.referee-activity-table th,
.referee-activity-table td {
    padding: 12px 13px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.referee-activity-table th {
    color: var(--black);
    background: var(--cream);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.referee-activity-table tr:last-child td {
    border-bottom: 0;
}

.referee-activity-table td:first-child {
    white-space: nowrap;
    font-weight: 900;
}

.referee-activity-table td span {
    display: inline-block;
    padding: 5px 8px;
    color: var(--black);
    background: var(--gold-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.referee-activity-table td strong,
.referee-activity-table td small {
    display: block;
}

.referee-activity-table td small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.referee-search input {
    width: min(420px, 100%);
    min-height: 44px;
    padding: 10px 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.referee-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.referee-category-pills span {
    padding: 7px 10px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.referee-category-pills strong {
    color: var(--blue);
}

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

.referee-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 132px;
    padding: 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.referee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(17, 17, 17, .1);
}

.referee-card img,
.referee-card .referee-avatar-fallback {
    width: 86px;
    height: 100px;
    border-radius: 7px;
    object-fit: cover;
}

.referee-card span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.referee-card strong {
    line-height: 1.1;
}

.referee-card em {
    color: var(--blue);
    font-style: normal;
    font-weight: 900;
}

@media (max-width: 980px) {
    .referees-hero,
    .referee-detail-wrap {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .referee-grid,
    .referee-profile-data,
    .referee-profile-head {
        grid-template-columns: 1fr;
    }

    .referee-profile-head img,
    .referee-avatar-fallback {
        width: 120px;
        height: 120px;
    }

    .referee-profile-full .referee-profile-head img,
    .referee-profile-full .referee-avatar-fallback {
        width: 140px;
        height: 156px;
    }

    .referee-card {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .referee-card img,
    .referee-card .referee-avatar-fallback {
        width: 76px;
        height: 90px;
    }
}
