@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;
    --secondary: #16a34a;
    --accent: #22c55e;
    --light: #f8fafc;
    --dark: #020617;
    --gray: #94a3b8;

    --font-display: 'Bebas Neue', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;

    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 14px 32px rgba(15, 23, 42, 0.08);
    --ease-standard: 180ms ease;

    --site-bg: #ffffff;
    --site-surface: #ffffff;
    --site-surface-soft: #f8fafc;
    --site-border: #e2e8f0;
    --site-text: var(--primary);
    --site-muted: #64748b;
    --site-primary: var(--secondary);
    --site-primary-dark: var(--primary);
    --site-accent: var(--accent);
    --radius: 14px;
    --container-pad: clamp(1rem, 2vw, 1.5rem);
}

* {
    box-sizing: border-box;
}

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

body {
    background: var(--site-bg);
    color: var(--site-text);
    font-family: var(--font-body);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
}

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

a:hover {
    color: var(--secondary);
}

:focus-visible {
    outline: 3px solid rgba(22, 163, 74, 0.28);
    outline-offset: 2px;
}

button,
.btn,
.nav-link {
    touch-action: manipulation;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
}

.skip-link:focus {
    top: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.admin-topbar h1,
.hero-panel h1,
.navbar-brand,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: var(--font-display);
    letter-spacing: 0;
    font-weight: 400;
    line-height: 0.95;
}

.topbar {
    background: #ffffff;
}

.topbar-item a,
.topbar-social {
    color: var(--site-muted);
}

.topbar-social {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--site-border);
    transition: border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.topbar-social:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.site-navbar {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 76px;
}

.site-navbar .navbar-brand {
    color: #fff;
    min-width: 0;
}

.club-logo-shell {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    flex-shrink: 0;
    overflow: hidden;
}

.club-logo-shell--footer {
    width: 3.25rem;
    height: 3.25rem;
}

.club-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-logo--nav {
    padding: 2px;
}

.club-logo--footer {
    padding: 2px;
}

.brand-badge {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
    flex-shrink: 0;
}

.brand-text {
    min-width: 0;
}

.brand-text span,
.brand-text small {
    display: block;
    line-height: 1;
}

.brand-text span {
    font-size: 1.05rem;
}

.brand-text small {
    margin-top: 0.2rem;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

.navbar .nav-link {
    color: #cbd5e1;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    min-height: 2.75rem;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.12);
}

.offcanvas.mobile-nav {
    background: #fff;
    color: var(--primary);
}

.mobile-menu .nav-link {
    border-radius: 12px;
    padding: 0.95rem 1rem;
    min-height: 3rem;
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu .nav-link.active,
.mobile-menu .nav-link:hover {
    background: var(--site-surface-soft);
    color: var(--secondary);
}

.mobile-nav-footer .btn {
    border-radius: 14px;
    min-height: 3rem;
}

.hero-panel {
    background:
        radial-gradient(circle at top right, rgba(22, 163, 74, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.99), rgba(2, 6, 23, 0.96));
    color: #fff;
    border-radius: 22px;
    overflow: hidden;
}

.hero-panel .lead {
    color: rgba(255, 255, 255, 0.82);
}

.section-band {
    padding: clamp(3rem, 5vw, 5rem) 0;
}

.section-band:not(.hero-home) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.section-band:first-of-type {
    padding-top: clamp(2.5rem, 4vw, 4rem);
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--dark);
}

.page-hero--dark {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.72) 0%, rgba(2, 6, 23, 0.84) 55%, rgba(2, 6, 23, 0.94) 100%),
        var(--page-hero-bg, linear-gradient(135deg, #020617, #0f172a));
    background-size: cover;
    background-position: center center;
}

.page-hero--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(22, 163, 74, 0.08), transparent 36%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.03), transparent 28%);
    pointer-events: none;
}

.page-hero--dark > .container {
    position: relative;
    z-index: 1;
}

.page-hero--detail {
    min-height: 520px;
}

.page-hero-title {
    max-width: 12ch;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.92;
}

.page-hero-lead {
    max-width: 56ch;
    font-size: 1.02rem;
}

.breadcrumb-dark .breadcrumb-item,
.breadcrumb-dark .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.72);
}

.breadcrumb-dark .breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.42);
}

.branch-card {
    border: 1px solid var(--site-border);
    border-radius: calc(var(--radius) + 4px);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease-standard), box-shadow var(--ease-standard), border-color var(--ease-standard);
}

.branch-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.branch-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.branch-card-media::after,
.card-media::after,
.sponsor-tile__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.28) 50%, transparent 78%);
    transform: translateX(-130%);
    transition: transform 560ms ease;
    pointer-events: none;
}

.branch-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 220ms ease;
}

.branch-card:hover .branch-card-media img {
    transform: scale(1.04);
}

.branch-card:hover .branch-card-media::after,
.news-card:hover .card-media::after,
.fixture-card:hover .card-media::after,
.gallery-card:hover .card-media::after,
.sponsor-tile:hover .sponsor-tile__media::after {
    transform: translateX(130%);
}

.branch-card-overlay {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.branch-card-body {
    padding: 1.15rem;
}

.detail-box {
    border: 1px solid var(--site-border);
    border-radius: 16px;
    padding: 1rem;
    background: #fff;
    height: 100%;
}

.hero-home {
    min-height: clamp(720px, 92vh, 980px);
    background: #020617;
}

.hero-media,
.hero-media-img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    display: block;
    overflow: hidden;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.10) 50%, transparent 75%);
    transform: translateX(-120%);
    transition: transform 900ms ease;
    pointer-events: none;
    mix-blend-mode: screen;
}

.hero-home:hover .hero-media::after {
    transform: translateX(120%);
}

.hero-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.65) 0%, rgba(2, 6, 23, 0.86) 58%, rgba(2, 6, 23, 0.96) 100%),
        linear-gradient(135deg, rgba(22, 163, 74, 0.08), transparent 36%);
}

.hero-inner {
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    padding-top: clamp(5rem, 10vw, 7rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #dbeafe;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.hero-title {
    max-width: 12ch;
    color: #fff;
    font-size: clamp(3.6rem, 8vw, 6.8rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.83);
    font-size: 1.05rem;
}

.hero-meta {
    font-size: 0.92rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-card {
    backdrop-filter: none;
}

.card-media {
    aspect-ratio: 4 / 3;
    background: var(--site-surface-soft);
    overflow: hidden;
    position: relative;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-media--news {
    aspect-ratio: 16 / 10;
}

.news-date-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--site-surface-soft);
    color: var(--site-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.page-hero--news {
    min-height: 420px;
}

.news-meta-card {
    border-radius: 18px;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-share-mini .social-pill {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.news-body.typography {
    font-size: 1.04rem;
    line-height: 1.85;
}

.news-body.typography p {
    margin-bottom: 1.2rem;
}

.news-body.typography .lead {
    font-size: 1.18rem;
    line-height: 1.7;
    font-weight: 500;
}

.about-stat {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid var(--site-border);
    border-radius: var(--radius);
    background: #fff;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    color: var(--site-muted);
}

.info-list i {
    color: var(--secondary);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 1rem;
    padding-left: 1.25rem;
}

.timeline-item + .timeline-item {
    margin-top: 1.25rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.2rem;
    bottom: -1.25rem;
    width: 1px;
    background: rgba(148, 163, 184, 0.34);
}

.timeline-item:last-child::before {
    bottom: 0.25rem;
}

.timeline-dot {
    position: relative;
    flex: 0 0 0.85rem;
    width: 0.85rem;
    height: 0.85rem;
    margin-top: 0.3rem;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.mobile-submenu .nav-link {
    padding-left: 0;
    color: var(--site-muted);
    font-size: 0.95rem;
}

.mobile-submenu .nav-link:hover,
.mobile-submenu .nav-link:focus {
    color: var(--primary);
}

.sponsor-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--site-border);
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.sponsor-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 163, 74, 0.4);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    color: var(--secondary);
}

.sponsor-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.sponsor-marquee__track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
    animation: sponsor-marquee 24s linear infinite;
}

.sponsor-marquee:hover .sponsor-marquee__track {
    animation-play-state: paused;
}

.sponsor-tile {
    flex: 0 0 220px;
    height: 124px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease-standard), box-shadow var(--ease-standard), border-color var(--ease-standard);
}

.sponsor-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(22, 163, 74, 0.35);
}

.sponsor-tile__media {
    position: relative;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(22, 163, 74, 0.05)),
        #ffffff;
    overflow: hidden;
}

.sponsor-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
}

.sponsor-tile__placeholder {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--secondary);
}

.sponsor-tile__name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes sponsor-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.contact-cta {
    border-radius: calc(var(--radius) + 6px);
}

.page-hero--dark .hero-media-img {
    object-position: center center;
}

.surface {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.surface-soft {
    background: var(--site-surface-soft);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.92;
    margin-bottom: 0.75rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
}

.stat-box {
    padding: 1.15rem;
    min-height: 100%;
    border: 1px solid var(--site-border);
    background: #fff;
    border-radius: 14px;
}

.stat-box .value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.feature-card,
.content-card,
.news-card,
.fixture-card,
.gallery-card,
.admin-card {
    border: 1px solid var(--site-border);
    border-radius: var(--radius);
    background: var(--site-surface);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease-standard), box-shadow var(--ease-standard), border-color var(--ease-standard);
    content-visibility: auto;
    contain-intrinsic-size: 1px 420px;
    backface-visibility: hidden;
}

.feature-card .card-body,
.content-card .card-body,
.news-card .card-body,
.fixture-card .card-body,
.gallery-card .card-body,
.admin-card .card-body {
    padding: 1.15rem;
}

.feature-card:hover,
.content-card:hover,
.news-card:hover,
.fixture-card:hover,
.gallery-card:hover,
.admin-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.match-day-section .section-header {
    position: relative;
    z-index: 1;
}

.match-day-feature,
.match-day-card {
    position: relative;
    overflow: hidden;
    --spotlight-x: 50%;
    --spotlight-y: 0%;
}

.match-day-feature::before,
.match-day-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(34, 197, 94, 0.12), transparent 38%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.015), rgba(34, 197, 94, 0.02));
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.match-day-feature:hover::before,
.match-day-card:hover::before {
    opacity: 1;
}

.match-day-card {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, opacity 420ms ease;
}

.match-day-section .match-day-feature,
.match-day-section .match-day-card {
    opacity: 0;
    transform: translateY(14px);
}

.match-day-section.is-visible .match-day-feature,
.match-day-section.is-visible .match-day-card {
    opacity: 1;
    transform: translateY(0);
}

.match-day-section.is-visible .match-day-feature {
    transition-delay: 70ms;
}

.match-day-section.is-visible .match-day-card:nth-of-type(1) {
    transition-delay: 140ms;
}

.match-day-section.is-visible .match-day-card:nth-of-type(2) {
    transition-delay: 220ms;
}

.match-day-section.is-visible .match-day-card:nth-of-type(3) {
    transition-delay: 300ms;
}

.media-placeholder {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(22, 163, 74, 0.05)),
        linear-gradient(120deg, #eef2f7, #f8fafc);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.media-placeholder.small {
    aspect-ratio: 4 / 3;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(22, 163, 74, 0.08);
    color: var(--primary);
}

.tag.amber {
    background: rgba(22, 163, 74, 0.1);
    color: var(--secondary);
}

.tag.gray {
    background: #e8eef5;
    color: #334155;
}

.fixture-hero {
    border-radius: calc(var(--radius) + 4px);
}

.fixture-filters {
    border-radius: calc(var(--radius) + 2px);
}

.fixture-status-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.fixture-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--site-border);
    background: #fff;
    color: var(--site-text);
    font-weight: 700;
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.fixture-status-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 163, 74, 0.28);
}

.fixture-status-pill.active {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.fixture-status-pill .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.9rem;
    height: 1.9rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    color: inherit;
    font-size: 0.82rem;
}

.fixture-status-pill.active .count {
    background: rgba(255, 255, 255, 0.14);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.status-badge--upcoming {
    background: rgba(22, 163, 74, 0.1);
    color: var(--secondary);
}

.status-badge--completed {
    background: rgba(15, 23, 42, 0.08);
    color: var(--primary);
}

.status-badge--cancelled {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.fixture-stat {
    padding: 1rem 1.05rem;
    min-height: 100%;
    border-radius: 18px;
    border: 1px solid var(--site-border);
    background: #fff;
}

.fixture-stat-value {
    margin-top: 0.2rem;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.fixture-section + .fixture-section {
    margin-top: 2rem;
}

.fixture-card-title {
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
}

.fixture-card-matchup,
.result-score-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.fixture-team-label,
.result-team-label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--site-muted);
}

.fixture-team-name {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
    word-break: break-word;
}

.fixture-score-chip {
    min-width: 3rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--site-surface-soft);
    color: var(--primary);
    font-weight: 800;
    text-align: center;
}

.fixture-score-chip--result {
    background: var(--primary);
    color: #fff;
}

.result-card {
    border: 1px solid var(--site-border);
    border-radius: calc(var(--radius) + 2px);
}

.result-score {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    color: var(--primary);
}

.fixture-table thead th {
    white-space: nowrap;
}

.fixture-table tbody td {
    vertical-align: middle;
}

.fixture-table tbody tr:hover {
    background: rgba(248, 250, 252, 0.9);
}

.fixture-score-cell {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.fixture-table--results .fixture-score-cell {
    font-size: 1.3rem;
}

.gallery-hero {
    border-radius: calc(var(--radius) + 4px);
}

.gallery-count {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-item {
    min-width: 0;
}

.gallery-trigger {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 240ms ease, filter 240ms ease;
    background: var(--site-surface-soft);
}

.gallery-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(22, 163, 74, 0.14), transparent 30%),
        linear-gradient(135deg, #0f172a, #111c34 56%, #0b1324);
}

.gallery-image__placeholder {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: #fff;
    text-align: center;
}

.gallery-image__placeholder i {
    font-size: 2rem;
    opacity: 0.9;
}

.gallery-image__placeholder span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.gallery-trigger:hover .gallery-image,
.gallery-trigger:focus-visible .gallery-image {
    transform: scale(1.03);
    filter: saturate(1.02);
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.05rem 1.05rem 0.95rem;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.84) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.gallery-overlay__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.gallery-chip {
    display: inline-flex;
    width: fit-content;
    padding: 0.36rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gallery-title {
    font-size: 1.05rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0;
    color: #fff;
    text-wrap: balance;
}

.gallery-caption {
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.84);
}

.gallery-modal .modal-content {
    border-radius: calc(var(--radius) + 4px);
}

.gallery-modal-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #0f172a;
}

.gallery-modal-image {
    width: 100%;
    max-height: min(72vh, 860px);
    object-fit: contain;
    display: block;
    background: #0f172a;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.85rem;
    height: 2.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    transition: transform 140ms ease, background-color 140ms ease;
}

.gallery-nav:hover {
    transform: translateY(-50%) scale(1.04);
}

.gallery-nav--prev {
    left: 0.9rem;
}

.gallery-nav--next {
    right: 0.9rem;
}

.gallery-page .section-title {
    max-width: 14ch;
}

.gallery-count-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.section-tight {
    padding-top: clamp(2.25rem, 4vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.gallery-toolbar-lean {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.gallery-toolbar__copy {
    min-width: 0;
    max-width: 100%;
}

.gallery-folder-panel {
    padding: 0;
    margin-bottom: 1.5rem;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.gallery-folder-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.gallery-folder-panel__head .section-kicker {
    margin-bottom: 0.15rem !important;
}

.gallery-folder-panel__copy {
    min-width: 0;
}

.gallery-folder-panel__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
}

.gallery-scroll-btn {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--site-border);
    background: #fff;
    color: var(--site-heading);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.gallery-scroll-btn:hover,
.gallery-scroll-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(22, 163, 74, 0.35);
    color: var(--site-accent);
    box-shadow: var(--shadow-md);
}

.gallery-toolbar__search {
    flex: 0 0 min(100%, 380px);
}

.gallery-search-group .input-group-text {
    background: #fff;
    border-color: var(--site-border);
    color: var(--site-muted);
}

.gallery-search-group .form-control {
    border-color: var(--site-border);
}

.gallery-search-group .form-control:focus {
    border-color: rgba(22, 163, 74, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.08);
}

.mini-stat {
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    box-shadow: var(--shadow-sm);
}

.mini-stat__label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--site-muted);
}

.mini-stat__value {
    margin-top: 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--site-heading);
}

.gallery-folder-strip {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

.gallery-folder-strip::-webkit-scrollbar {
    display: none;
}

.gallery-folder-strip.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.gallery-folder-strip.is-dragging * {
    user-select: none;
}

.gallery-folder-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    border-radius: 18px;
    border: 1px solid var(--site-border);
    background: var(--site-surface);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    flex: 0 0 248px;
    min-width: 248px;
    scroll-snap-align: start;
}

.gallery-folder-card:hover,
.gallery-folder-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(22, 163, 74, 0.35);
    box-shadow: var(--shadow-lg);
}

.gallery-folder-card.is-active {
    border-color: rgba(22, 163, 74, 0.55);
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.12);
}

.gallery-folder-card__media {
    flex: 0 0 82px;
    width: 82px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    background: #e2e8f0;
}

.gallery-folder-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-folder-card__body {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
}

.gallery-folder-card__title {
    font-weight: 700;
    color: var(--site-heading);
}

.gallery-folder-card__meta {
    font-size: 0.86rem;
    color: var(--site-muted);
}

.schools-hero {
    border-radius: calc(var(--radius) + 4px);
}

.hero-copy {
    max-width: 58ch;
}

.mini-metric {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--site-border);
    background: #fff;
}

.mini-metric-value {
    margin-top: 0.2rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.feature-icon,
.system-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.9rem;
    border-radius: 12px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--secondary);
    font-size: 1.15rem;
}

.age-card {
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--site-border);
}

.age-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: var(--secondary);
    color: #fff;
    font-weight: 800;
}

.system-box {
    height: 100%;
    padding: 1.15rem;
    border-radius: 18px;
    border: 1px solid var(--site-border);
    background: #fff;
}

.coach-card {
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--site-border);
}

.coach-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 800;
}

.cta-panel {
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid var(--site-border);
    background: #fff;
}

.contact-hero {
    border-radius: calc(var(--radius) + 4px);
}

.contact-summary {
    display: grid;
    gap: 0.75rem;
}

.contact-summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--site-border);
}

.contact-summary-item i,
.contact-card-icon {
    color: var(--secondary);
    font-size: 1.05rem;
}

.contact-summary-item a {
    color: var(--site-text);
    font-weight: 700;
}

.contact-card {
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--site-border);
}

.contact-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(22, 163, 74, 0.1);
    margin-bottom: 1rem;
}

.contact-card h2 a {
    color: inherit;
}

.map-shell {
    border-radius: calc(var(--radius) + 2px);
}

.map-frame {
    border-radius: 18px;
    overflow: hidden;
}

.map-frame iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.65rem;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: #cbd5e1;
}

.footer-title {
    color: #fff;
    margin-bottom: 1rem;
}

.site-footer {
    background: var(--dark);
    color: #e2e8f0;
}

.site-footer .text-secondary {
    color: #94a3b8 !important;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.footer-copy {
    max-width: 36ch;
}

.footer-divider {
    border-color: rgba(148, 163, 184, 0.2);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding-bottom: 0.25rem;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.4rem;
    max-width: 100%;
    text-wrap: balance;
    letter-spacing: 0;
}

.footer-credit a {
    color: #f8fafc;
    font-weight: 600;
}

.footer-credit-sep {
    color: rgba(226, 232, 240, 0.5);
}

.footer-credit a:hover {
    color: var(--accent);
}

.social-pill,
.sponsor-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
    transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.social-pill {
    width: 2.5rem;
    height: 2.5rem;
}

.sponsor-pill {
    min-height: 2.5rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.02);
}

.social-pill:hover,
.sponsor-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.whatsapp-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 3.4rem;
    height: 3.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.28);
    z-index: 1080;
    transition: transform var(--ease-standard), box-shadow var(--ease-standard);
}

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1070;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--site-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.06);
}

.mobile-cta {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 16px;
    border: 1px solid var(--site-border);
    background: #fff;
    color: var(--primary);
    font-weight: 800;
}

.mobile-cta--primary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.mobile-cta--primary:hover {
    color: #fff;
}

.mobile-cta:hover {
    color: var(--primary);
}

.whatsapp-fab:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(22, 163, 74, 0.32);
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.content-wrap {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.page-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.admin-shell {
    background: #f8fafc;
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-mobile-shell {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #f8fafc;
}

.admin-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--site-border);
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(8px);
}

.admin-menu-toggle {
    width: 2.9rem;
    height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.admin-sidebar {
    background: var(--dark);
    color: #fff;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.admin-brand .brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    font-weight: 800;
}

.admin-nav .nav-link {
    color: #cbd5e1;
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.admin-nav--mobile .nav-link {
    color: var(--site-text);
}

.admin-nav--mobile .nav-link.active,
.admin-nav--mobile .nav-link:hover {
    background: var(--site-surface-soft);
    color: var(--secondary);
}

.admin-sidebar-footer {
    margin-top: auto;
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    background: var(--site-surface);
    border-bottom: 1px solid var(--site-border);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.table thead th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--site-muted);
    border-bottom-color: var(--site-border);
}

.form-control,
.form-select {
    border-color: var(--site-border);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(22, 163, 74, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.08);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    border-width: 1px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.btn:focus-visible {
    box-shadow: 0 0 0 0.22rem rgba(22, 163, 74, 0.16);
}

.btn-lg {
    min-height: 3.35rem;
    padding: 0.9rem 1.35rem;
    font-size: 1rem;
}

.btn-primary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, var(--primary), #111c34);
    border-color: rgba(255, 255, 255, 0.04);
    color: #fff;
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-primary:hover,
.btn-primary:focus {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #111c34, #0b1324);
    border-color: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: linear-gradient(135deg, var(--primary), #111c34);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 18%, transparent 36%);
    transform: translateX(-120%);
    transition: transform 520ms ease;
    pointer-events: none;
    z-index: -1;
}

.btn:hover::before,
.btn:focus-visible::before {
    transform: translateX(120%);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 800;
}

.admin-dashboard {
    padding-bottom: 0.75rem;
}

.admin-stat-card,
.admin-widget {
    border: 1px solid var(--site-border);
    border-radius: calc(var(--radius) + 2px);
    background: var(--site-surface);
    box-shadow: var(--shadow-md);
}

.admin-stat-card {
    padding: 1.2rem;
    height: 100%;
}

.admin-stat-icon {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 0.8rem;
    background: rgba(22, 163, 74, 0.1);
    color: var(--secondary);
    font-size: 1.1rem;
}

.admin-stat-value {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
}

.admin-widget {
    padding: 1.1rem;
}

.admin-table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

.admin-table tbody tr:hover {
    background: rgba(248, 250, 252, 0.95);
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-pill--neutral {
    background: rgba(15, 23, 42, 0.08);
    color: var(--primary);
}

.admin-pill--accent {
    background: rgba(22, 163, 74, 0.12);
    color: var(--secondary);
}

.admin-mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: #fff;
}

.admin-offcanvas {
    width: min(340px, 88vw);
}

.admin-offcanvas .offcanvas-header {
    padding: 1rem 1rem 0.9rem;
}

.admin-offcanvas .offcanvas-body {
    padding: 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 460ms ease, transform 460ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .sponsor-marquee__track {
        animation: none;
    }
}

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

    .admin-topbar {
        top: 3.85rem;
    }
}

@media (max-width: 767.98px) {
    body:not(.admin-shell) {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }

    .site-navbar .navbar-brand {
        max-width: calc(100vw - 150px);
    }

    .section-band {
        padding: 2.5rem 0;
    }

    .hero-panel {
        border-radius: 18px;
    }

    .hero-home {
        min-height: 820px;
    }

    .hero-title {
        max-width: 10ch;
    }

    .hero-lead,
    .page-hero-lead {
        font-size: 0.98rem;
    }

    .page-hero {
        min-height: 360px;
        padding: 3.5rem 0;
    }

    .page-hero-title {
        font-size: clamp(2.6rem, 12vw, 4rem);
        max-width: 10ch;
    }

    .navbar .btn,
    .navbar .navbar-toggler {
        min-height: 2.75rem;
    }

    .navbar-toggler {
        width: 3rem;
        height: 3rem;
    }

    .mobile-nav {
        width: min(100vw, 420px);
    }

    .mobile-nav .offcanvas-header,
    .mobile-nav .offcanvas-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mobile-menu .nav-link {
        border-radius: 14px;
    }

    .mobile-nav-footer .btn,
    .mobile-cta {
        min-height: 3.25rem;
    }

    .fixture-card-matchup,
    .result-score-grid {
        gap: 0.75rem;
    }

    .fixture-card {
        padding: 1rem !important;
    }

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

    .gallery-count-grid {
        grid-template-columns: 1fr;
    }

    .gallery-folder-card {
        flex-basis: 220px;
        min-width: 220px;
    }

    .gallery-nav {
        width: 2.5rem;
        height: 2.5rem;
    }

    .topbar {
        display: none;
    }

    .site-navbar {
        min-height: 68px;
    }
}

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

}

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

    .gallery-folder-card {
        flex-basis: 280px;
        min-width: 280px;
    }

}

@media (min-width: 992px) {
    .site-navbar {
        min-height: 80px;
    }

    .section-band {
        padding: clamp(3.5rem, 5vw, 5.5rem) 0;
    }

    .page-hero {
        padding: clamp(5rem, 8vw, 7rem) 0;
    }
}

.u-surface {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.u-shadow-sm {
    box-shadow: var(--shadow-sm);
}

.u-shadow-md {
    box-shadow: var(--shadow-md);
}

.u-shadow-lg {
    box-shadow: var(--shadow-lg);
}

.u-text-muted {
    color: var(--site-muted) !important;
}

.u-radius {
    border-radius: var(--radius) !important;
}

.u-radius-lg {
    border-radius: calc(var(--radius) + 4px) !important;
}

.u-stack {
    display: grid;
    gap: var(--space-4);
}

.u-stack-lg {
    display: grid;
    gap: var(--space-6);
}

.u-grid {
    display: grid;
    gap: var(--space-4);
}

.u-grid-lg {
    display: grid;
    gap: var(--space-6);
}

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