/* C.D. Puebla de Soto — Web pública v3 */

:root {
    --club-primary: #C41E3A;
    --club-secondary: #6B0F1A;
    --club-accent: #D4AF37;
    --pub-gray: #64748b;
    --pub-gray-light: #94a3b8;
    --pub-text: #1e293b;
    --pub-light: #f8fafc;
    --pub-border: #e2e8f0;
    --pub-radius: 14px;
    --pub-radius-sm: 10px;
    --pub-shadow: 0 4px 20px rgba(15, 23, 42, .06);
    --pub-shadow-lg: 0 12px 40px rgba(15, 23, 42, .1);
    --pub-nav-h: 76px;
    --pub-header-h: 76px;
    --pub-topbar-h: 0px;
    --pub-font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --pub-transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body.pub-body {
    font-family: var(--pub-font);
    color: var(--pub-text);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.pub-section-alt {
    background:
        linear-gradient(180deg, #f1f5f9 0%, #fff 100%);
    position: relative;
}
.pub-section-alt::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--club-primary), var(--club-accent), transparent);
    opacity: .3;
}

/* ——— Site header ——— */
.pub-header {
    z-index: 1030;
    background: #fff;
    transition: box-shadow .25s ease;
}
.pub-header::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--club-secondary), var(--club-primary), var(--club-accent), var(--club-primary), var(--club-secondary));
    opacity: .85;
}
.pub-header.is-scrolled {
    box-shadow: 0 8px 32px rgba(15, 23, 42, .1);
}
.pub-header.is-scrolled .public-nav {
    padding-top: .5rem;
    padding-bottom: .5rem;
    min-height: 64px;
}
.pub-header.is-scrolled .escudo-nav {
    height: 42px;
}
.pub-header.is-scrolled .pub-brand-tagline {
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
}

/* ——— Top bar ——— */
.pub-topbar {
    --pub-topbar-h: 38px;
    background: linear-gradient(90deg, #450a0a 0%, var(--club-secondary) 35%, #5c1018 100%);
    color: rgba(255, 255, 255, .88);
    font-size: .8125rem;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.pub-topbar a {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    transition: color var(--pub-transition);
}
.pub-topbar a:hover { color: #fff; }
.pub-topbar-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 500;
}
.pub-topbar-chip i {
    color: var(--club-accent);
    font-size: .875rem;
}
.pub-topbar-chip-link:hover {
    color: #fff;
}
.pub-topbar .social-links { gap: .35rem; }
.pub-topbar .social-link {
    width: 30px;
    height: 30px;
    font-size: .875rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: background .15s, transform .15s;
}
.pub-topbar .social-link:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-1px);
}
.pub-topbar-login-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(212, 175, 55, .35);
    color: #fff !important;
    font-weight: 600;
    font-size: .8125rem;
    transition: background .15s, border-color .15s;
}
.pub-topbar-login-btn:hover {
    background: rgba(212, 175, 55, .18);
    border-color: var(--club-accent);
    color: #fff !important;
}
.pub-topbar-login-btn i {
    color: var(--club-accent);
}

.text-maroon { color: var(--club-secondary) !important; }

/* ——— Accesibilidad ——— */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    padding: .75rem 1.25rem;
    background: var(--club-primary);
    color: #fff;
    border-radius: var(--pub-radius-sm);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--club-accent);
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--club-primary);
    outline-offset: 2px;
}

/* ——— Toasts ——— */
.pub-toast-container {
    position: fixed;
    top: calc(var(--pub-header-h, 76px) + .75rem);
    right: 1rem;
    left: 1rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    pointer-events: none;
    max-width: 420px;
    margin-left: auto;
}
.pub-toast {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.125rem;
    border-radius: var(--pub-radius-sm);
    background: #fff;
    box-shadow: var(--pub-shadow-lg);
    border-left: 4px solid;
    pointer-events: auto;
    animation: toastIn .35s ease;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
.pub-toast-success { border-color: #22c55e; }
.pub-toast-success i { color: #22c55e; }
.pub-toast-error { border-color: #ef4444; }
.pub-toast-error i { color: #ef4444; }
.pub-toast-warning { border-color: #f59e0b; }
.pub-toast-warning i { color: #f59e0b; }
.pub-toast-info { border-color: #3b82f6; }
.pub-toast-info i { color: #3b82f6; }
.pub-toast i { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.pub-toast span { flex: 1; font-size: .925rem; font-weight: 500; }
.pub-toast-close {
    background: none; border: none; padding: 0;
    color: var(--pub-gray-light); cursor: pointer; line-height: 1;
}
.pub-toast-close:hover { color: var(--pub-text); }

/* ——— Navbar ——— */
.public-nav {
    background: #fff;
    border-bottom: none;
    padding: .875rem 0;
    min-height: var(--pub-nav-h);
    transition: padding .25s ease, min-height .25s ease;
}
.pub-nav-inner {
    position: relative;
}
.pub-brand {
    gap: .875rem !important;
    max-width: calc(100% - 120px);
}
.pub-brand-escudo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 2px solid rgba(196, 30, 58, .12);
    box-shadow: 0 4px 14px rgba(107, 15, 26, .12);
    flex-shrink: 0;
    transition: transform .25s ease, box-shadow .25s ease;
}
.pub-brand:hover .pub-brand-escudo {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(107, 15, 26, .16);
}
.pub-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.public-nav .navbar-brand {
    color: var(--club-secondary) !important;
    font-size: 1rem;
    font-weight: 700;
}
.public-nav .escudo-nav {
    height: 44px;
    width: auto;
    flex-shrink: 0;
    transition: height .25s ease;
}
.public-nav .brand-name {
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    font-size: 1.0625rem;
    color: var(--club-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pub-brand-tagline {
    font-size: .6875rem;
    font-weight: 600;
    color: var(--pub-gray);
    letter-spacing: .02em;
    margin-top: .15rem;
    transition: opacity .2s ease, max-height .2s ease;
    max-height: 1.25rem;
}
.pub-nav-actions {
    flex-shrink: 0;
}
.pub-nav-login-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .65rem;
    border-radius: 8px;
    color: var(--pub-gray) !important;
    font-size: .8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s, background .15s;
}
.pub-nav-login-link:hover {
    color: var(--club-primary) !important;
    background: rgba(196, 30, 58, .06);
}
.pub-nav-cta {
    border-radius: 999px !important;
    padding: .5rem 1.125rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(196, 30, 58, .25);
    transition: transform .15s, box-shadow .15s !important;
}
.pub-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, .32);
}
.public-nav .nav-link,
.public-nav .pub-nav-link {
    color: var(--pub-text);
    font-weight: 600;
    font-size: .875rem;
    padding: .5rem .7rem !important;
    border-radius: 8px;
    transition: color .2s ease, background .2s ease;
    position: relative;
}
.public-nav .nav-link:hover,
.public-nav .pub-nav-link:hover {
    color: var(--club-primary);
    background: rgba(196, 30, 58, .04);
}
.public-nav .nav-link.active,
.public-nav .pub-nav-link.active {
    color: var(--club-primary);
    background: rgba(196, 30, 58, .06);
}
.public-nav .nav-link.active::after,
.public-nav .pub-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: .7rem;
    right: .7rem;
    height: 2px;
    background: linear-gradient(90deg, var(--club-primary), var(--club-accent));
    border-radius: 1px;
}
.public-nav .dropdown-menu,
.pub-nav-dropdown-menu {
    border: 1px solid var(--pub-border);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .12);
    border-radius: 12px;
    padding: .5rem;
    margin-top: .5rem !important;
}
.public-nav .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
    font-size: .875rem;
    padding: .55rem .75rem;
}
.public-nav .dropdown-item:hover,
.public-nav .dropdown-item.active {
    background: rgba(196, 30, 58, .08);
    color: var(--club-primary);
}
.pub-nav-toggler {
    border: 1px solid var(--pub-border);
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--pub-shadow);
    transition: border-color .15s, background .15s;
}
.pub-nav-toggler:hover {
    border-color: rgba(196, 30, 58, .25);
    background: rgba(196, 30, 58, .04);
}
.pub-nav-toggler:focus {
    box-shadow: 0 0 0 3px rgba(196, 30, 58, .15);
}
.pub-nav-toggler-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--club-secondary);
    line-height: 1;
}
.public-nav .navbar-toggler-icon { display: none; }

/* Mobile contact strip under nav */
.pub-mobile-contact {
    background: linear-gradient(90deg, var(--club-secondary), #450a0a);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: .4rem 0;
}
.pub-mobile-contact-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-size: .8125rem;
    font-weight: 600;
}
.pub-mobile-contact-link i {
    color: var(--club-accent);
}
.pub-mobile-contact-link span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pub-mobile-contact-city {
    cursor: default;
}
.pub-mobile-contact-login {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(212, 175, 55, .3);
    color: #fff !important;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.pub-mobile-contact-login:hover {
    background: rgba(212, 175, 55, .2);
    color: #fff !important;
}
.pub-mobile-contact-login i {
    color: var(--club-accent);
}

/* ——— Hero home ——— */
.public-hero {
    background: #120508;
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.public-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.public-hero-bg .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.public-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(18, 5, 8, .88) 0%,
        rgba(18, 5, 8, .72) 45%,
        rgba(18, 5, 8, .25) 75%,
        rgba(18, 5, 8, .08) 100%
    );
    pointer-events: none;
}
.public-hero .container { position: relative; z-index: 2; }
.hero-row {
    padding: 3rem 0 3.5rem;
    min-height: 480px;
    align-items: center;
}
@media (min-width: 992px) {
    .hero-row { padding: 4rem 0; min-height: 520px; }
}
.hero-content { color: #fff; }
.hero-kicker {
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .7);
    margin-bottom: .75rem;
}
.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 16ch;
}
@media (min-width: 992px) {
    .hero-title { max-width: 20ch; }
}
.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .82);
    max-width: 520px;
    margin-bottom: 1.75rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}
@media (min-width: 992px) {
    .hero-actions { justify-content: flex-start; }
}
.btn-hero-primary {
    background: var(--club-primary);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: .9375rem;
    padding: .75rem 1.5rem;
    border-radius: 6px;
    transition: background .2s ease;
}
.btn-hero-primary:hover {
    background: var(--club-secondary);
    color: #fff;
}
.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
    font-weight: 600;
    font-size: .9375rem;
    padding: .75rem 1.5rem;
    border-radius: 6px;
    transition: border-color .2s ease, background .2s ease;
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    color: #fff;
}

/* Hero card (próximo partido) */
.hero-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .12);
    border: 1px solid rgba(255, 255, 255, .8);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 992px) {
    .hero-card { margin-right: 0; margin-left: auto; }
}
.hero-card-label {
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--club-primary);
    margin-bottom: .625rem;
}
.hero-card-match {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--pub-text);
    line-height: 1.4;
    margin-bottom: 1rem;
}
.hero-card-match strong { color: var(--club-secondary); font-weight: 700; }
.hero-card-vs {
    color: var(--pub-gray);
    font-weight: 500;
    margin: 0 .25rem;
    font-size: .875rem;
}
.hero-card-meta li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--pub-gray);
    margin-bottom: .375rem;
}
.hero-card-meta i { color: var(--club-primary); font-size: .9375rem; }
.hero-card-text {
    font-size: .9375rem;
    color: var(--pub-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.hero-card-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--club-primary);
    text-decoration: none;
    margin-top: 1rem;
}
.hero-card-link:hover { color: var(--club-secondary); }

/* ——— Hero carousel (banners admin) ——— */
.public-hero-carousel-wrap {
    min-height: 560px;
}
.home-hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.home-hero-carousel .carousel-inner,
.home-hero-carousel .carousel-item {
    height: 100%;
    min-height: 560px;
}
.home-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}
.home-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(18, 5, 8, .9) 0%,
        rgba(18, 5, 8, .7) 40%,
        rgba(18, 5, 8, .25) 72%,
        rgba(18, 5, 8, .1) 100%
    );
    pointer-events: none;
}
.public-hero-carousel-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(18, 5, 8, .75) 0%,
        rgba(18, 5, 8, .45) 38%,
        transparent 65%
    );
    pointer-events: none;
}
.home-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.home-hero-slide-caption {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    max-width: 360px;
    text-align: right;
    z-index: 2;
    color: #fff;
}
.home-hero-slide-caption h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: .35rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}
.home-hero-slide-caption p {
    font-size: .9375rem;
    opacity: .9;
    margin-bottom: .75rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.home-hero-indicators {
    z-index: 3;
    margin-bottom: 1.25rem;
}
.home-hero-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .6);
    background: transparent;
    opacity: 1;
}
.home-hero-indicators .active {
    background: var(--club-accent);
    border-color: var(--club-accent);
}
.home-hero-control {
    z-index: 3;
    width: 8%;
    opacity: .85;
}

/* ——— Banner strips (home) ——— */
.home-banner-strips {
    display: flex;
    flex-direction: column;
}
.home-banner-strip {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    background: var(--club-secondary) center/cover no-repeat;
    background-image: var(--banner-img);
    text-decoration: none;
    color: #fff;
    overflow: hidden;
}
@media (min-width: 768px) {
    .home-banner-strip { min-height: 280px; }
}
.home-banner-strip-link {
    cursor: pointer;
    transition: transform .3s ease;
}
.home-banner-strip-link:hover {
    color: #fff;
}
.home-banner-strip-link:hover .home-banner-strip-btn {
    background: #fff;
    color: var(--club-secondary);
}
.home-banner-strip-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 5, 8, .88) 0%, rgba(18, 5, 8, .55) 50%, rgba(18, 5, 8, .35) 100%);
    pointer-events: none;
}
.home-banner-strip-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0;
}
.home-banner-strip-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 .5rem;
    max-width: 640px;
    letter-spacing: -.02em;
}
.home-banner-strip-subtitle {
    font-size: 1.0625rem;
    opacity: .92;
    margin: 0 0 1rem;
    max-width: 560px;
    line-height: 1.55;
}
.home-banner-strip-btn {
    font-weight: 600;
    border-radius: 6px;
}

/* ——— Banner mosaic (home) ——— */
.home-banner-mosaic {
    background: #fff;
}
.home-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 992px) {
    .home-mosaic-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    .home-mosaic-item-wide {
        grid-column: span 2;
        min-height: 320px;
    }
}
.home-mosaic-item {
    position: relative;
    min-height: 220px;
    border-radius: var(--pub-radius);
    overflow: hidden;
    background: var(--club-secondary) center/cover no-repeat;
    background-image: var(--mosaic-img);
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--pub-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.home-mosaic-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--pub-shadow-lg);
    color: #fff;
}
.home-mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(18, 5, 8, .92) 0%, rgba(18, 5, 8, .35) 55%, rgba(18, 5, 8, .1) 100%);
    transition: opacity .25s ease;
}
.home-mosaic-item:hover .home-mosaic-overlay {
    background: linear-gradient(0deg, rgba(18, 5, 8, .95) 0%, rgba(107, 15, 26, .5) 100%);
}
.home-mosaic-content {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.5rem;
    width: 100%;
}
.home-mosaic-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .25rem;
}
.home-mosaic-content p {
    font-size: .875rem;
    opacity: .88;
    margin: 0 0 .5rem;
    line-height: 1.45;
}
.home-mosaic-link {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--club-accent);
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

/* ——— Home gallery showcase ——— */
.home-gallery-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .625rem;
}
@media (min-width: 768px) {
    .home-gallery-showcase {
        grid-template-columns: repeat(4, 1fr);
        gap: .75rem;
    }
}
.home-gallery-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--pub-radius-sm);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--pub-shadow);
}
.home-gallery-tile:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
}
@media (max-width: 767px) {
    .home-gallery-tile:first-child {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/10;
    }
}
.home-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.home-gallery-tile:hover img { transform: scale(1.06); }
.home-gallery-tile-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: .75rem;
    background: linear-gradient(0deg, rgba(18,5,8,.75) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .25s ease;
}
.home-gallery-tile:hover .home-gallery-tile-label { opacity: 1; }
.home-gallery-tile-label span {
    color: #fff;
    font-size: .8125rem;
    font-weight: 600;
}

/* ——— Stats ——— */
.stats-strip {
    margin-top: 0;
    position: relative;
    z-index: 2;
    padding: 3rem 0 1.5rem;
    background: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.stat-card {
    background: #fff;
    border-radius: var(--pub-radius-sm);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--pub-shadow);
    border: 1px solid var(--pub-border);
    transition: box-shadow .2s ease;
    position: relative;
    overflow: hidden;
}
.stat-card-power::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--club-primary);
}
.stat-card:hover {
    box-shadow: var(--pub-shadow-lg);
}
.stat-card-icon {
    width: 44px; height: 44px;
    margin: 0 auto .625rem;
    background: rgba(196, 30, 58, .08);
    color: var(--club-primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
}
.stat-num {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--club-secondary);
    line-height: 1;
}
.stat-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--pub-gray);
    margin-top: .5rem;
    font-weight: 700;
}

/* ——— Page hero interior ——— */
.page-hero {
    background: var(--club-secondary);
    color: #fff;
    padding: 2.5rem 0 3rem;
    border-bottom: 3px solid var(--club-accent);
}
.page-hero .container { position: relative; }
.page-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -.02em;
}
.page-hero-subtitle {
    opacity: .85;
    margin: .625rem 0 0;
    max-width: 560px;
    font-size: 1rem;
    font-weight: 400;
}
.page-breadcrumb {
    font-size: .8125rem;
    margin-bottom: .875rem;
    opacity: .75;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
}
.page-breadcrumb a { color: #fff; text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; opacity: 1; }
.page-breadcrumb .current { font-weight: 600; opacity: 1; }

/* ——— Section headers ——— */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.section-header-center { flex-direction: column; text-align: center; align-items: center; }
.section-header-center .section-title::after { margin-left: auto; margin-right: auto; }
.section-title {
    font-weight: 800;
    color: var(--club-secondary);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    letter-spacing: -.03em;
    position: relative;
    padding-bottom: .625rem;
    margin-bottom: 0;
}
.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--club-primary), var(--club-accent));
    border-radius: 2px;
    margin-top: .5rem;
    box-shadow: 0 2px 8px rgba(196,30,58,.3);
}
.section-subtitle {
    color: var(--pub-gray);
    font-size: .9375rem;
    margin: .5rem 0 0;
    max-width: 480px;
}
.section-header-center .section-subtitle { margin-left: auto; margin-right: auto; }
.section-link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--club-primary);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.section-link:hover { color: var(--club-secondary); }
.section-link i { transition: transform var(--pub-transition); }
.section-link:hover i { transform: translateX(3px); }

/* ——— Cards ——— */
.pub-card {
    background: #fff;
    border-radius: var(--pub-radius);
    box-shadow: var(--pub-shadow);
    border: 1px solid var(--pub-border);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.pub-card:hover {
    box-shadow: var(--pub-shadow-lg);
}
.pub-card-accent {
    position: relative;
    border-top: none;
}
.pub-card-accent::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--club-primary), var(--club-accent));
    z-index: 1;
}
.pub-card-interactive { cursor: pointer; }
.pub-card-interactive:hover { border-color: rgba(196,30,58,.3); }

.news-card-img { height: 200px; object-fit: cover; width: 100%; display: block; }
.news-card-img-sm { height: 160px; }
.news-card-img-wrap { display: block; position: relative; overflow: hidden; }
.news-card-featured .news-card-img { height: 280px; transition: transform .4s ease; }
.news-card-featured:hover .news-card-img { transform: scale(1.03); }
.news-card-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--club-accent);
    color: #1a1200;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .35rem .75rem;
    border-radius: 999px;
}
.news-card-body { padding: 1.25rem 1.375rem; }
.news-meta {
    font-size: .75rem;
    color: var(--pub-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.news-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: .5rem 0;
}
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--club-primary); }

/* ——— Sidebar widget ——— */
.sidebar-widget {
    background: #fff;
    border-radius: var(--pub-radius);
    border: 1px solid var(--pub-border);
    box-shadow: var(--pub-shadow);
    overflow: hidden;
}
.sidebar-widget-header {
    background: linear-gradient(135deg, var(--club-secondary), var(--club-primary));
    color: #fff;
    padding: .875rem 1.25rem;
    font-weight: 700;
    font-size: .9375rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.sidebar-widget-body { padding: 1rem 1.25rem 1.25rem; }
@media (min-width: 992px) {
    .sidebar-sticky { position: sticky; top: calc(var(--pub-nav-h) + 1rem); }
}

/* ——— Match items ——— */
.match-item {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 0;
    border-bottom: 1px solid var(--pub-border);
    text-decoration: none;
    color: inherit;
    transition: background var(--pub-transition);
}
.match-item:last-child { border-bottom: none; }
a.match-item:hover { background: var(--pub-light); margin: 0 -.5rem; padding-left: .5rem; padding-right: .5rem; border-radius: 8px; }
.match-item-date {
    text-align: center;
    min-width: 48px;
    background: var(--pub-light);
    border-radius: 8px;
    padding: .35rem .4rem;
    flex-shrink: 0;
}
.match-item-date .day { font-size: 1.125rem; font-weight: 800; color: var(--club-primary); line-height: 1; }
.match-item-date .mon { font-size: .65rem; text-transform: uppercase; color: var(--pub-gray); font-weight: 600; }
.match-item-body { flex: 1; min-width: 0; }
.match-item-title { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.match-item-meta { font-size: .78rem; color: var(--pub-gray); margin-top: .15rem; }

.result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 8px;
    font-weight: 800;
    font-size: .75rem;
    flex-shrink: 0;
}
.result-win { background: #dcfce7; color: #166534; }
.result-loss { background: #fee2e2; color: #991b1b; }
.result-draw { background: #f1f5f9; color: #475569; }
.score-display { font-size: 1rem; font-weight: 800; color: var(--club-secondary); flex-shrink: 0; }

/* ——— Quick links ——— */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem .75rem;
    background: #fff;
    border-radius: var(--pub-radius-sm);
    border: 1px solid var(--pub-border);
    box-shadow: var(--pub-shadow);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
    min-height: 110px;
    justify-content: center;
}
.quick-link:hover {
    border-color: rgba(196, 30, 58, .25);
    box-shadow: var(--pub-shadow-lg);
    color: var(--club-primary);
}
.quick-link-icon {
    width: 44px; height: 44px;
    background: rgba(196, 30, 58, .08);
    color: var(--club-primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: .625rem;
}
.quick-link span:last-child { font-weight: 600; font-size: .875rem; }

/* ——— CTA band ——— */
.cta-band {
    background: var(--club-secondary);
    color: #fff;
    border-radius: var(--pub-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 3px solid var(--club-accent);
}
.cta-band .container-inner { position: relative; }
.cta-band h3 { font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.5rem); margin-bottom: .5rem; }
.cta-band-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
    color: var(--club-accent);
}
.cta-band p { opacity: .88; margin-bottom: 1.25rem; max-width: 480px; margin-left: auto; margin-right: auto; font-size: .975rem; }
.cta-band .btn-light {
    font-weight: 600;
    border-radius: 6px;
    padding: .625rem 1.25rem;
    color: var(--club-secondary);
}
.cta-band .btn-outline-light { border-width: 1px; font-weight: 600; border-radius: 6px; }

/* ——— Empty state ——— */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--pub-light);
    border-radius: var(--pub-radius);
    border: 1px dashed var(--pub-border);
}
.empty-state-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    color: var(--pub-gray-light);
    border: 1px solid var(--pub-border);
}
.empty-state-text { color: var(--pub-gray); margin-bottom: 1rem; max-width: 320px; margin-left: auto; margin-right: auto; }

/* ——— About, values, gallery, sponsors, contact ——— */
.value-pill {
    display: inline-block;
    background: rgba(196,30,58,.07);
    color: var(--club-secondary);
    border: 1px solid rgba(196,30,58,.15);
    padding: .45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .8125rem;
    margin: .2rem;
}
.about-block {
    background: #fff;
    border-radius: var(--pub-radius);
    padding: 1.75rem;
    border: 1px solid var(--pub-border);
    box-shadow: var(--pub-shadow);
    margin-bottom: 1.25rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .875rem;
}
.gallery-item {
    position: relative;
    border-radius: var(--pub-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: none;
    box-shadow: var(--pub-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 48px rgba(0,0,0,.2);
    z-index: 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 30%, rgba(107,15,26,.9));
    display: flex; align-items: flex-end;
    padding: 1.25rem;
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-within .gallery-item-overlay { opacity: 1; }
.gallery-filter .btn { border-radius: 999px; font-weight: 600; font-size: .8125rem; }

.sponsor-tier { margin-bottom: 2rem; }
.sponsor-tier-title {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--pub-gray);
    font-weight: 700;
    margin-bottom: 1rem;
}
.sponsor-card {
    background: #fff;
    border-radius: var(--pub-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--pub-border);
    box-shadow: var(--pub-shadow);
    height: 100%;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform var(--pub-transition);
}
.sponsor-card:hover { transform: translateY(-2px); }
.sponsor-card img { max-height: 72px; max-width: 160px; object-fit: contain; }

.contact-info-card {
    background: linear-gradient(160deg, var(--club-secondary), #120508);
    color: #fff;
    border-radius: var(--pub-radius);
    padding: 2rem;
    height: 100%;
}
.contact-info-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact-info-item {
    display: flex;
    gap: .875rem;
    margin-bottom: 1.125rem;
    align-items: flex-start;
}
.contact-info-item i {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.12);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Formularios públicos */
.pub-form .form-label { font-weight: 600; font-size: .875rem; color: var(--pub-text); margin-bottom: .35rem; }
.pub-form .form-control,
.pub-form .form-select {
    border-radius: var(--pub-radius-sm);
    border-color: var(--pub-border);
    padding: .625rem .875rem;
    font-size: .9375rem;
}
.pub-form .form-control:focus {
    border-color: var(--club-primary);
    box-shadow: 0 0 0 3px rgba(196,30,58,.15);
}

.team-card-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--club-primary), var(--club-secondary));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.65rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(196,30,58,.25);
    transition: transform var(--pub-transition);
}
.pub-card-interactive:hover .team-card-icon { transform: scale(1.08) rotate(-3deg); }
.team-card-category {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--club-primary);
    background: rgba(196,30,58,.08);
    padding: .25rem .65rem;
    border-radius: 999px;
    margin-bottom: .5rem;
}
.team-card-players {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--pub-gray);
    margin-top: .75rem;
}

/* ——— Footer ——— */
.footer-cta {
    background: var(--club-secondary);
    color: #fff;
    padding: 2.5rem 0;
    border-top: 3px solid var(--club-accent);
}
.footer-cta .container { position: relative; }
.footer-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.footer-cta h3 { font-weight: 700; font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: .35rem; }
.footer-cta p { opacity: .88; margin: 0; max-width: 420px; font-size: .975rem; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-cta .btn-light {
    color: var(--club-secondary);
    font-weight: 600;
    border-radius: 6px;
    padding: .625rem 1.25rem;
}
.footer-cta .btn-outline-light {
    border-radius: 6px;
    font-weight: 600;
    border-width: 1px;
}

.public-footer {
    background: linear-gradient(180deg, #120508 0%, #0a0304 100%);
    color: #fff;
    margin-top: 0;
}
.public-footer .footer-escudo { height: 72px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.4)); }
.footer-brand-name { font-weight: 800; font-size: 1.125rem; }
.footer-brand-tagline { font-size: .875rem; opacity: .65; margin-bottom: 1rem; }
.public-footer a { color: rgba(255,255,255,.75); text-decoration: none; transition: color var(--pub-transition); }
.public-footer a:hover { color: var(--club-accent); }
.footer-links li { margin-bottom: .5rem; }
.footer-heading {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    color: var(--club-accent);
    margin-bottom: 1rem;
}
.footer-contact-line { font-size: .875rem; opacity: .75; margin-bottom: .35rem; }
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    font-size: .8125rem;
    opacity: .5;
}

.social-links { display: flex; gap: .625rem; }
.social-link {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    transition: background var(--pub-transition), transform var(--pub-transition);
}
.social-link:hover { background: var(--club-primary); color: #fff; transform: translateY(-2px); }

/* ——— Buttons ——— */
.btn-club-primary {
    background: var(--club-primary);
    border-color: var(--club-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: .5rem 1.25rem;
}
.btn-club-primary:hover, .btn-club-primary:focus {
    background: var(--club-secondary);
    border-color: var(--club-secondary);
    color: #fff;
}
.btn-club-outline {
    border: 2px solid var(--club-primary);
    color: var(--club-primary);
    font-weight: 600;
    border-radius: 999px;
    background: transparent;
}
.btn-club-outline:hover {
    background: var(--club-primary);
    color: #fff;
    border-color: var(--club-primary);
}

/* ——— Article ——— */
.article-content { font-size: 1.0625rem; line-height: 1.8; color: #334155; }
.article-featured { border-radius: var(--pub-radius); max-height: 420px; object-fit: cover; width: 100%; }

/* ——— Tabs ——— */
.pub-tabs {
    border-bottom: 2px solid var(--pub-border);
    gap: .25rem;
}
.pub-tabs .nav-link {
    color: var(--pub-gray);
    font-weight: 600;
    font-size: .9rem;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: .75rem 1.25rem;
    margin-bottom: -2px;
}
.pub-tabs .nav-link:hover { color: var(--club-primary); }
.pub-tabs .nav-link.active {
    color: var(--club-primary);
    border-bottom-color: var(--club-primary);
    background: transparent;
}

/* ——— Lightbox ——— */
.pub-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.94);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.pub-lightbox.open { display: flex; }
.pub-lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--pub-radius-sm); }
.pub-lightbox-close {
    position: absolute;
    top: 1rem; right: 1.25rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,.1);
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.pub-lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ——— Back to top ——— */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--club-primary);
    color: #fff;
    border: none;
    box-shadow: var(--pub-shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--pub-transition), visibility var(--pub-transition), transform var(--pub-transition), background var(--pub-transition);
    z-index: 1040;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background: var(--club-secondary); }

/* ——— Responsive ——— */
@media (min-width: 992px) {
    .pub-nav-drawer {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
    }
}
@media (max-width: 991px) {
    .public-nav .navbar-collapse {
        border-top: none;
        margin-top: 0;
        padding: 0;
    }
    .stat-num { font-size: 1.5rem; }
    .pub-toast-container { top: .75rem; right: .75rem; left: .75rem; }
    .public-hero { min-height: auto; }
    .public-hero-bg img { object-position: center 30%; }
    .hero-row { min-height: auto; padding: 2.5rem 0; }
    .hero-title { max-width: none; }
    .public-hero-carousel-wrap { min-height: auto; }
    .home-hero-carousel .carousel-inner,
    .home-hero-carousel .carousel-item { min-height: 420px; }
    .home-hero-slide-caption-mobile {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: .75rem 1rem;
        background: linear-gradient(0deg, rgba(18, 5, 8, .92) 0%, transparent 100%);
        color: #fff;
        text-align: center;
    }
    .home-hero-slide-caption-mobile strong {
        display: block;
        font-size: .9375rem;
        font-weight: 700;
        margin-bottom: .15rem;
    }
    .home-hero-slide-caption-mobile span {
        display: block;
        font-size: .8125rem;
        opacity: .88;
    }
    .home-mosaic-grid { grid-template-columns: 1fr; }
    .home-mosaic-item-wide { grid-column: span 1; }
    .footer-cta-inner { flex-direction: column; text-align: center; }
    .footer-cta-actions { justify-content: center; }
}

@media (max-width: 575px) {
    .stats-grid { gap: .5rem; }
    .stats-strip-overlap { margin-top: -2.5rem; padding-top: 0; }
    .stats-strip-overlap .stat-card {
        box-shadow: 0 8px 28px rgba(15, 23, 42, .12);
    }
    .stat-card { padding: 1rem .5rem; }
    .stat-card-icon { width: 32px; height: 32px; font-size: .95rem; }
    .hero-actions { flex-direction: row; width: 100%; max-width: none; margin: 0; justify-content: center; }
    .hero-actions .btn { flex: 1; min-width: 0; padding-left: .75rem; padding-right: .75rem; font-size: .875rem; }
    .hero-row { padding: 2rem 0 1.5rem; }
    .hero-card { padding: 1.125rem 1.25rem; border-radius: 14px; }
    .team-show-stats { width: 100%; margin-left: 0; justify-content: center; }
    .team-show-header { text-align: center; justify-content: center; }
    .quick-links-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: .75rem;
        padding-bottom: .35rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .quick-links-scroll::-webkit-scrollbar { display: none; }
    .quick-links-scroll .quick-link {
        flex: 0 0 42%;
        min-width: 130px;
        scroll-snap-align: start;
    }
}

/* ——— Fixture cards ——— */
.fixture-card, .calendar-event-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    margin-bottom: .75rem;
    transition: box-shadow var(--pub-transition), transform var(--pub-transition);
}
.fixture-card:hover, .calendar-event-card:hover {
    box-shadow: var(--pub-shadow);
}
.fixture-card-result { position: relative; }
.fixture-result-badge { flex-shrink: 0; }
.fixture-date {
    text-align: center;
    min-width: 52px;
    background: var(--pub-light);
    border-radius: 10px;
    padding: .4rem .5rem;
    flex-shrink: 0;
}
.fixture-day { display: block; font-size: 1.25rem; font-weight: 800; color: var(--club-primary); line-height: 1; }
.fixture-mon { display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase; color: var(--pub-gray); }
.fixture-body { flex: 1; min-width: 0; }
.fixture-teams { font-weight: 700; font-size: .95rem; line-height: 1.35; margin-bottom: .25rem; }
.fixture-team-us { color: var(--club-secondary); }
.fixture-vs { color: var(--pub-gray); font-weight: 500; margin: 0 .25rem; font-size: .85rem; }
.fixture-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .78rem; color: var(--pub-gray); }
.fixture-meta i { margin-right: .2rem; }
.fixture-competition {
    background: var(--pub-light);
    padding: .1rem .5rem;
    border-radius: 999px;
    font-weight: 600;
}
.fixture-score { font-size: 1.125rem; font-weight: 800; color: var(--club-secondary); flex-shrink: 0; min-width: 56px; text-align: center; }
.fixture-home-badge, .fixture-away-badge {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: .9rem;
}
.fixture-home-badge { background: rgba(196,30,58,.1); color: var(--club-primary); }
.fixture-away-badge { background: #f1f5f9; color: #64748b; }

/* ——— Month groups ——— */
.month-group { margin-bottom: 2rem; }
.month-group-title {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--pub-gray);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--pub-border);
}

/* ——— Tab counts ——— */
.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 .4rem;
    margin-left: .35rem;
    background: rgba(196,30,58,.1);
    color: var(--club-primary);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
}
.pub-tabs .nav-link.active .tab-count { background: var(--club-primary); color: #fff; }

/* ——— Season stats ——— */
.season-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.season-stat {
    text-align: center;
    padding: 1.25rem 1rem;
    background: #fff;
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    box-shadow: var(--pub-shadow);
}
.season-stat-num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--club-secondary); line-height: 1; }
.season-stat-label { font-size: .75rem; font-weight: 600; color: var(--pub-gray); text-transform: uppercase; letter-spacing: .04em; margin-top: .35rem; display: block; }
.season-stat-win .season-stat-num { color: #166534; }
.season-stat-draw .season-stat-num { color: #475569; }
.season-stat-loss .season-stat-num { color: #991b1b; }

/* ——— Filter ——— */
.pub-filter { max-width: 280px; }
.pub-filter .form-select { border-radius: 999px; border-color: var(--pub-border); font-weight: 500; }

/* ——— Share bar ——— */
.share-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.share-bar-label { font-size: .85rem; font-weight: 600; color: var(--pub-gray); margin-right: .25rem; }
.share-btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--pub-border);
    background: #fff;
    color: var(--pub-gray);
    text-decoration: none;
    cursor: pointer;
    transition: background var(--pub-transition), color var(--pub-transition), border-color var(--pub-transition);
}
.share-btn:hover { background: var(--club-primary); color: #fff; border-color: var(--club-primary); }
.share-wa:hover { background: #25D366; border-color: #25D366; }
.share-x:hover { background: #000; border-color: #000; }
.share-fb:hover { background: #1877F2; border-color: #1877F2; }

/* ——— Article meta ——— */
.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: .875rem;
    color: var(--pub-gray);
    margin-bottom: 1.25rem;
}
.article-meta-bar i { margin-right: .3rem; color: var(--club-primary); }

/* ——— About cards ——— */
.about-card {
    padding: 1.5rem;
    border-radius: var(--pub-radius);
    border: 1px solid var(--pub-border);
    background: #fff;
    box-shadow: var(--pub-shadow);
}
.about-card-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.about-card-mission .about-card-icon { background: rgba(196,30,58,.1); color: var(--club-primary); }
.about-card-vision .about-card-icon { background: rgba(212,175,55,.15); color: #92700a; }
.about-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; color: var(--club-secondary); }

/* ——— Error page ——— */
.error-code {
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(196,30,58,.15);
    margin-bottom: .5rem;
}

/* ——— Scroll reveal ——— */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ——— Sponsors strip ——— */
.sponsors-strip {
    background: var(--pub-light);
    border-top: 1px solid var(--pub-border);
}
.sponsors-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
}
.sponsor-logo-item {
    background: #fff;
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-sm);
    padding: 1rem 1.5rem;
    min-width: 140px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--pub-transition), box-shadow var(--pub-transition);
}
.sponsor-logo-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--pub-shadow);
}
.sponsor-logo-item img {
    max-height: 48px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: .85;
    transition: filter var(--pub-transition), opacity var(--pub-transition);
}
.sponsor-logo-item:hover img {
    filter: none;
    opacity: 1;
}
.sponsor-logo-text {
    font-weight: 700;
    font-size: .875rem;
    color: var(--pub-gray);
}

/* ——— Page sport nav ——— */
.pub-page-nav {
    padding: .875rem 1rem;
    background: var(--pub-light);
    border-radius: var(--pub-radius-sm);
    border: 1px solid var(--pub-border);
}

/* ——— Team show ——— */
.team-show-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(196,30,58,.06), rgba(212,175,55,.08));
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    margin-bottom: 1.5rem;
}
.team-show-header-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--club-primary), var(--club-secondary));
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(196,30,58,.2);
}
.team-show-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--club-secondary);
    letter-spacing: -.02em;
}
.team-show-coach { color: var(--pub-gray); font-size: .9375rem; }
.team-show-stats {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}
.team-show-stat {
    text-align: center;
    padding: .5rem 1rem;
    background: #fff;
    border-radius: var(--pub-radius-sm);
    border: 1px solid var(--pub-border);
    min-width: 80px;
}
.team-show-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--club-primary);
    line-height: 1;
}
.team-show-stat-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--pub-gray);
    font-weight: 600;
    margin-top: .25rem;
    display: block;
}
.roster-grid {
    display: grid;
    gap: .5rem;
}
.roster-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .875rem 1rem;
    background: #fff;
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius-sm);
    transition: border-color var(--pub-transition), box-shadow var(--pub-transition);
}
.roster-player:hover {
    border-color: rgba(196,30,58,.25);
    box-shadow: var(--pub-shadow);
}
.roster-number {
    width: 40px; height: 40px;
    background: var(--pub-light);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    color: var(--club-primary);
    font-size: .9375rem;
    flex-shrink: 0;
}
.roster-name { font-weight: 700; font-size: .9375rem; }
.roster-position { font-size: .78rem; color: var(--pub-gray); margin-top: .1rem; }

/* ——— Event cards ——— */
.event-card { display: flex; flex-direction: column; overflow: hidden; }
.event-card-header {
    padding: 1rem 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.event-type-badge {
    display: inline-block;
    background: rgba(196,30,58,.1);
    color: var(--club-primary);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .35rem .75rem;
    border-radius: 999px;
}
.event-card-body { padding: 1rem 1.25rem; flex: 1; }
.event-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: .75rem; }
.event-card-meta li {
    font-size: .875rem;
    color: var(--pub-gray);
    margin-bottom: .35rem;
}
.event-card-footer { padding: 0 1.25rem 1.25rem; }
.event-detail-meta li {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem 0;
    border-bottom: 1px solid var(--pub-border);
    font-size: .9375rem;
}
.event-detail-meta li:last-child { border-bottom: none; }
.event-detail-meta i { color: var(--club-primary); font-size: 1.1rem; width: 20px; text-align: center; }

/* ——— Article detail ——— */
.article-card { border-top-width: 4px; }
.article-figure { margin: 0; border-radius: var(--pub-radius-sm); overflow: hidden; }
.article-figure .article-featured { margin-bottom: 0; border-radius: 0; }
.article-content h2, .article-content h3 {
    color: var(--club-secondary);
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: .75rem;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pub-radius-sm);
    margin: 1rem 0;
}

/* ——— Contact page extras ——— */
.contact-form-header {
    border-bottom: 1px solid var(--pub-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* ——— Mobile-first enhancements ——— */
.has-mobile-dock #main-content {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
}

.pub-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--pub-border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .1);
    padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom, 0));
}
.pub-mobile-dock-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    min-height: 52px;
    padding: .25rem .15rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: .625rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: color .15s, background .15s;
}
.pub-mobile-dock-item i { font-size: 1.2rem; line-height: 1; }
.pub-mobile-dock-item.active {
    color: var(--club-primary);
    background: rgba(196, 30, 58, .08);
}
.pub-mobile-dock-menu { cursor: pointer; }

.has-mobile-dock .back-to-top {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
}

@media (max-width: 991px) {
    .pub-nav-drawer.show,
    .pub-nav-drawer.collapsing {
        position: fixed;
        inset: var(--pub-header-h, 76px) 0 0 0;
        z-index: 1040;
        background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
        padding: 0 0 1.5rem;
        overflow-y: auto;
        box-shadow: inset 0 8px 24px rgba(15, 23, 42, .06);
    }
    .pub-nav-drawer-quick {
        display: flex;
        gap: .5rem;
        padding: 1rem 1.25rem .75rem;
        overflow-x: auto;
        scrollbar-width: none;
        border-bottom: 1px solid var(--pub-border);
        background: rgba(196, 30, 58, .04);
    }
    .pub-nav-drawer-quick::-webkit-scrollbar { display: none; }
    .pub-nav-quick-chip {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .45rem .85rem;
        border-radius: 999px;
        border: 1px solid var(--pub-border);
        background: #fff;
        color: var(--pub-text);
        font-size: .8125rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }
    .pub-nav-quick-chip.active,
    .pub-nav-quick-chip:hover {
        border-color: var(--club-primary);
        color: var(--club-primary);
        background: rgba(196, 30, 58, .06);
    }
    .pub-nav-quick-chip-accent {
        border-color: rgba(212, 175, 55, .45);
        background: linear-gradient(135deg, rgba(196, 30, 58, .08), rgba(212, 175, 55, .1));
    }
    .pub-nav-drawer .pub-nav-list {
        padding: .75rem 1.25rem 0;
        gap: .15rem;
    }
    .pub-nav-drawer .nav-link,
    .pub-nav-drawer .pub-nav-link {
        display: flex;
        align-items: center;
        gap: .65rem;
        font-size: 1rem !important;
        padding: .8rem .75rem !important;
        border-radius: 12px;
    }
    .pub-nav-link-icon {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(196, 30, 58, .08);
        color: var(--club-primary);
        font-size: .9375rem;
        flex-shrink: 0;
    }
    .pub-nav-drawer .nav-link.active,
    .pub-nav-drawer .pub-nav-link.active {
        background: rgba(196, 30, 58, .08);
    }
    .pub-nav-drawer .nav-link.active::after,
    .pub-nav-drawer .pub-nav-link.active::after {
        display: none;
    }
    .pub-nav-drawer-footer {
        margin-top: 1rem;
        padding: 1rem 1.25rem 0;
        border-top: 1px solid var(--pub-border);
    }
    .pub-nav-drawer-contact {
        display: flex;
        flex-direction: column;
        gap: .5rem;
        margin-bottom: .875rem;
    }
    .pub-nav-drawer-contact-link {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        color: var(--pub-gray);
        font-size: .875rem;
        text-decoration: none;
    }
    .pub-nav-drawer-contact-link i {
        color: var(--club-primary);
    }
    .pub-nav-drawer-social {
        margin-bottom: 1rem;
    }
    .pub-nav-drawer-social .social-links {
        justify-content: center;
    }
    .pub-nav-drawer-login {
        border-radius: 12px !important;
        padding: .75rem 1rem !important;
        font-weight: 700 !important;
    }
    .pub-nav-toggler {
        border-radius: 12px;
        min-width: 44px;
        min-height: 44px;
    }
    .pub-nav-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 2.75rem;
        margin: 0 !important;
    }
    .pub-nav-dropdown .dropdown-item {
        padding: .65rem .75rem;
    }

    .sidebar-sticky-mobile-rail {
        position: static !important;
        display: flex;
        gap: .875rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .35rem;
        margin-bottom: .5rem;
        scrollbar-width: none;
    }
    .sidebar-sticky-mobile-rail::-webkit-scrollbar { display: none; }
    .sidebar-sticky-mobile-rail .sidebar-widget {
        flex: 0 0 88%;
        min-width: 280px;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }

    .pub-page-nav-scroll {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .35rem;
        scrollbar-width: none;
    }
    .pub-page-nav-scroll::-webkit-scrollbar { display: none; }
    .pub-page-nav-scroll .btn {
        scroll-snap-align: start;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .pub-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .pub-tabs::-webkit-scrollbar { display: none; }
    .pub-tabs .nav-link { white-space: nowrap; flex-shrink: 0; }

    .fixture-card, .calendar-event-card {
        padding: 1.125rem;
        border-radius: 14px;
    }
    .fixture-date { min-width: 56px; padding: .5rem .55rem; }

    .news-card-featured .news-card-img-wrap { aspect-ratio: 16/10; }
    .news-card-img { width: 100%; object-fit: cover; }
    .cta-band { padding: 2rem 1.25rem; margin-left: -.25rem; margin-right: -.25rem; border-radius: 16px; }

    .home-gallery-tile-label { opacity: 1; }
    .home-gallery-tile-label span { font-size: .75rem; }
}

@media (min-width: 576px) and (max-width: 991px) {
    .quick-links-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: .875rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .quick-links-scroll::-webkit-scrollbar { display: none; }
    .quick-links-scroll .quick-link {
        flex: 0 0 28%;
        min-width: 140px;
        scroll-snap-align: start;
    }
}

@media (min-width: 992px) {
    .has-mobile-dock #main-content { padding-bottom: 0; }
}

/* ——— Mobile polish v13 ——— */
@media (max-width: 991px) {
    .pub-page-content {
        padding-top: 2rem !important;
        padding-bottom: 2.5rem !important;
    }

    .page-hero {
        padding: 1.75rem 0 2.25rem;
    }
    .page-hero-title {
        font-size: clamp(1.5rem, 6vw, 1.85rem);
    }
    .page-hero-subtitle {
        font-size: .9375rem;
        margin-top: .5rem;
    }
    .page-breadcrumb {
        font-size: .75rem;
        margin-bottom: .625rem;
    }

    .public-hero-carousel-wrap .hero-content {
        display: none;
    }
    .public-hero-carousel-wrap .hero-row {
        min-height: auto;
        padding: 0 0 1rem;
        align-items: flex-end;
    }
    .public-hero-carousel-wrap .hero-card {
        max-width: none;
        width: 100%;
        margin: 0;
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
    }
    .public-hero-carousel-wrap::after {
        background: linear-gradient(
            0deg,
            rgba(18, 5, 8, .92) 0%,
            rgba(18, 5, 8, .35) 45%,
            transparent 70%
        );
    }

    .season-stats {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: .75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: .35rem;
        margin-bottom: 1.5rem;
    }
    .season-stats::-webkit-scrollbar { display: none; }
    .season-stat {
        flex: 0 0 42%;
        min-width: 130px;
        scroll-snap-align: start;
        padding: 1rem .75rem;
    }
    .season-stat-num { font-size: 1.5rem; }

    .pub-filter-scroll {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .35rem;
        scrollbar-width: none;
    }
    .pub-filter-scroll::-webkit-scrollbar { display: none; }
    .pub-filter-scroll .btn,
    .pub-filter-pill {
        scroll-snap-align: start;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .pub-filter-label {
        font-size: .75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--pub-gray);
        margin-bottom: .5rem;
    }
    .pub-filter-pill {
        display: inline-flex;
        align-items: center;
        padding: .45rem .9rem;
        border-radius: 999px;
        border: 1px solid var(--pub-border);
        background: #fff;
        color: var(--pub-text);
        font-size: .8125rem;
        font-weight: 600;
        text-decoration: none;
        transition: background .15s, border-color .15s, color .15s;
    }
    .pub-filter-pill.active,
    .pub-filter-pill:hover {
        background: var(--club-primary);
        border-color: var(--club-primary);
        color: #fff;
    }

    .pub-team-filter .pub-filter-select { display: none !important; }

    .pub-mobile-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: .5rem;
        margin-bottom: 1.25rem;
    }
    .pub-mobile-action-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .25rem;
        min-height: 64px;
        padding: .5rem .35rem;
        border-radius: 14px;
        border: 1px solid var(--pub-border);
        background: #fff;
        box-shadow: var(--pub-shadow);
        color: var(--pub-text);
        text-decoration: none;
        font-size: .6875rem;
        font-weight: 700;
        transition: transform .15s, box-shadow .15s;
    }
    .pub-mobile-action-btn i { font-size: 1.15rem; }
    .pub-mobile-action-call i { color: #16a34a; }
    .pub-mobile-action-email i { color: #2563eb; }
    .pub-mobile-action-contact i { color: var(--club-primary); }
    .pub-mobile-action-btn:active { transform: scale(.97); }

    .fixture-card {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: .75rem;
    }
    .fixture-body {
        flex: 1 1 calc(100% - 72px);
        min-width: 0;
    }
    .fixture-teams {
        font-size: .875rem;
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: .15rem .35rem;
    }
    .fixture-score {
        font-size: 1.25rem;
        min-width: 48px;
        margin-left: auto;
    }
    .fixture-result-badge {
        position: absolute;
        top: .75rem;
        right: .75rem;
    }

    .pub-news-grid .pub-card {
        border-radius: 16px;
        overflow: hidden;
    }
    .pub-news-grid .news-card-img {
        aspect-ratio: 16/10;
        width: 100%;
        object-fit: cover;
    }
    .pub-news-grid .news-card-body {
        padding: 1.125rem 1.25rem 1.25rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .5rem;
    }
    .gallery-item {
        border-radius: 12px;
        aspect-ratio: 1;
    }
    .gallery-item-overlay {
        opacity: 1;
        background: linear-gradient(transparent 40%, rgba(107, 15, 26, .85));
        padding: .75rem;
        font-size: .8125rem;
    }

    .contact-info-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    .contact-info-item {
        padding: .875rem 0;
    }

    .article-card {
        padding: 1.25rem !important;
        border-radius: 16px;
    }
    .article-meta-bar {
        gap: .5rem 1rem;
        font-size: .8125rem;
    }
    .share-bar {
        justify-content: center;
    }

    .footer-cta {
        margin-bottom: 0;
        padding: 2rem 0;
    }
    .public-footer {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
    }

    .team-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pub-team-filter .pub-filter-select { display: block !important; }
    .pub-team-filter .pub-filter-scroll { display: none !important; }
    .pub-filter-label { display: none; }
}

@media (max-width: 575px) {
    .page-breadcrumb { display: none; }
    .home-hero-carousel .carousel-inner,
    .home-hero-carousel .carousel-item { min-height: 360px; }
    .public-hero:not(.public-hero-carousel-wrap) { min-height: auto; }
    .hero-title { font-size: 1.65rem; }
    .hero-desc { font-size: .9375rem; margin-bottom: 1.25rem; }

    .event-card {
        border-radius: 16px;
    }
    .month-group-title {
        font-size: .8125rem;
    }
}

/* ——— Mobile polish v14 ——— */
@media (max-width: 991px) {
    .public-footer .row > [class*="col-"] {
        text-align: center !important;
    }
    .public-footer .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: .35rem 1.25rem;
        padding-left: 0;
        margin-bottom: 0;
    }
    .public-footer .footer-links li {
        list-style: none;
    }
    .public-footer .footer-heading {
        margin-top: .5rem;
    }

    .home-banner-strip-inner {
        padding: 1.75rem 0;
    }
    .home-banner-strip-title {
        font-size: 1.35rem;
    }
    .home-banner-strip-subtitle {
        font-size: .9375rem;
    }

    .match-item {
        gap: .625rem;
    }
    .match-item-title {
        font-size: .8125rem;
        line-height: 1.35;
    }
    .match-item-meta {
        font-size: .75rem;
    }

    .team-show-header {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
    }
    .team-show-stats {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
    .team-show-name {
        font-size: 1.45rem;
    }
    .team-show-header-icon {
        width: 60px;
        height: 60px;
        font-size: 1.65rem;
    }

    .roster-player {
        padding: .75rem .875rem;
    }
    .roster-number {
        width: 36px;
        height: 36px;
        font-size: .875rem;
    }

    .about-block {
        padding: 1.25rem;
    }
    .about-card {
        padding: 1.25rem;
    }

    .event-detail-meta li {
        font-size: .875rem;
    }

    .pub-mobile-dock-item {
        font-size: .5625rem;
        min-height: 48px;
        padding: .2rem .1rem;
    }
    .pub-mobile-dock-item i {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .quick-links {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: .75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: .35rem;
    }
    .quick-links::-webkit-scrollbar { display: none; }
    .quick-links .quick-link {
        flex: 0 0 42%;
        min-width: 128px;
        scroll-snap-align: start;
    }

    .sponsor-tier .row {
        --bs-gutter-x: .75rem;
    }
    .sponsor-card {
        padding: 1rem;
        min-height: 110px;
    }

    .cta-band h3 {
        font-size: 1.15rem;
    }
    .cta-band .btn {
        width: 100%;
    }

    .sidebar-sticky-mobile-rail .sidebar-widget .match-item {
        flex-wrap: nowrap;
    }

    .sponsors-logos {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding-bottom: .35rem;
    }
    .sponsors-logos::-webkit-scrollbar { display: none; }
    .sponsor-logo-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .cta-band .d-flex.flex-wrap {
        flex-direction: column;
        width: 100%;
    }
    .cta-band .d-flex.flex-wrap .btn {
        width: 100%;
    }

    .container.pb-5 {
        padding-bottom: 2.5rem !important;
    }
}

