/* Open Sans — self-hosted latin static faces (400/600/700/800) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* Relative so this file works from origin /css/ or CDN …/static/css/ */
  src: url('../fonts/open-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/open-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/open-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/open-sans-800.woff2') format('woff2');
}
:root {
    --whc-dark: #1a1a2e;
    --whc-darker: #0f0f1a;
    --whc-accent: #c83b15;
    --whc-accent-hover: #a83212;
    --whc-gold: #d4a017;
    --whc-text: #333;
    --whc-text-light: #6c757d;
    /* Surfaces & depth */
    --whc-page-bg: #cfc6b6;
    --whc-surface: #f7f4ef;
    --whc-surface-raised: #fffcf8;
    --whc-border: #e2d9cc;
    --whc-border-strong: #d4c9b8;
    --whc-radius: 12px;
    --whc-radius-sm: 8px;
    --whc-shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.04), 0 1px 3px rgba(26, 26, 46, 0.06);
    --whc-shadow: 0 2px 6px rgba(26, 26, 46, 0.05), 0 8px 20px rgba(26, 26, 46, 0.06);
    --whc-shadow-lg: 0 4px 12px rgba(26, 26, 46, 0.06), 0 16px 36px rgba(26, 26, 46, 0.1);
    --whc-shadow-hover: 0 8px 18px rgba(26, 26, 46, 0.08), 0 18px 40px rgba(26, 26, 46, 0.1);
}

* { box-sizing: border-box; }

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--whc-text);
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255,255,255,0.35), transparent 55%),
        linear-gradient(180deg, #d8d0c2 0%, var(--whc-page-bg) 40%, #c4bbab 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--whc-surface);
}

/* Site banner */
.site-banner {
    width: 100%;
    line-height: 0;
    background: var(--whc-darker);
    position: relative;
    overflow: hidden;
}

.site-banner picture {
    display: block;
    width: 100%;
}
.site-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Homepage: banner as hero (logo stays mid-frame, copy sits on bottom gradient) */
.site-banner--hero {
    min-height: 300px;
    line-height: normal;
}
.site-banner--hero img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center center;
}
@media (min-width: 768px) {
    .site-banner--hero { min-height: 380px; }
    .site-banner--hero img { min-height: 380px; }
}
@media (min-width: 1200px) {
    .site-banner--hero { min-height: 420px; }
    .site-banner--hero img { min-height: 420px; }
}

.banner-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 56px 28px 22px;
    background: linear-gradient(
        to top,
        rgba(10, 10, 18, 0.94) 0%,
        rgba(10, 10, 18, 0.78) 42%,
        rgba(10, 10, 18, 0.25) 72%,
        transparent 100%
    );
    pointer-events: none;
}
.banner-hero-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    pointer-events: auto;
}
.banner-hero-text {
    flex: 1 1 auto;
    min-width: 0;
    color: #fff;
}
.banner-hero-kicker {
    display: inline-block;
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--whc-gold);
}
.banner-hero-text h1 {
    margin: 0 0 6px;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.banner-hero-sub {
    margin: 0 0 16px;
    max-width: 36rem;
    font-size: clamp(0.88rem, 1.5vw, 1.02rem);
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255,255,255,0.88);
}
.banner-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.banner-hero-actions .btn-whc,
.banner-hero-actions .btn-whc-outline {
    margin: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.banner-hero-actions .btn-whc-outline {
    border-color: rgba(255,255,255,0.88);
    color: #fff;
    background: rgba(255,255,255,0.06);
}
.banner-hero-actions .btn-whc-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--whc-dark);
}

.banner-next-match {
    flex: 0 0 auto;
    width: min(280px, 100%);
    display: block;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    border-left: 3px solid var(--whc-accent);
    border-radius: 10px;
    padding: 12px 14px 12px 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.banner-next-match:hover {
    color: #fff;
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}
.banner-next-match .bnm-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--whc-gold);
    margin-bottom: 4px;
}
.banner-next-match .bnm-date {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2px;
}
.banner-next-match .bnm-name {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255,255,255,0.92);
    margin-bottom: 8px;
}
.banner-next-match .bnm-type {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
}
.banner-next-match .bnm-cta {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}
.banner-next-match:hover .bnm-cta { color: #fff; }

/* Mobile: full native height of mobile_banner (400×350) — no fixed crop */
@media (max-width: 767px) {
    .site-banner--hero {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    /* Let <picture> mobile asset dictate height (was fixed 260–300px + cover = cropped) */
    .site-banner--hero img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: unset;
        object-position: center center;
    }
    .banner-hero-overlay {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        /* Soft bleed into bottom of full-height banner image */
        margin-top: -72px;
        padding: 56px 16px 20px;
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(10, 10, 18, 0.55) 28%,
            rgba(10, 10, 18, 0.92) 62%,
            var(--whc-darker) 100%
        );
        border-top: none;
    }
    .banner-hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .banner-hero-text h1 {
        font-size: 1.45rem;
    }
    .banner-hero-sub {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }
    .banner-next-match {
        width: 100%;
        background: rgba(255,255,255,0.08);
    }
    .banner-hero-actions .btn-whc,
    .banner-hero-actions .btn-whc-outline {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Navbar - sticky */
.navbar-whc {
    background: #000;
    padding: 0;
    border-bottom: 3px solid var(--whc-accent);
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.navbar-whc .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff !important;
    padding: 12px 15px;
    letter-spacing: 0.5px;
}

.navbar-whc .navbar-brand i { color: var(--whc-gold); }

.navbar-whc .nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 11px !important;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.navbar-whc .nav-link:hover,
.navbar-whc .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
    border-bottom-color: var(--whc-accent);
}

.navbar-whc .dropdown-menu {
    background: #000;
    border: 1px solid #333;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
}

.navbar-whc .dropdown-item {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-whc .dropdown-item:hover {
    background: var(--whc-accent);
    color: #fff;
}

.navbar-whc .navbar-toggler { border: none; padding: 14px; }
.navbar-whc .navbar-toggler:focus { box-shadow: none; }
.navbar-whc .navbar-toggler i { color: #fff; font-size: 1.4rem; }

/* Main Content */
.main-content { padding: 0; }

/* Content padding — open surface, room to breathe */
.content-area {
    --content-pad-y: 36px;
    --content-pad-x: 24px;
    padding: var(--content-pad-y) var(--content-pad-x) 48px;
    background: var(--whc-surface);
}
@media (min-width: 768px) {
    .content-area {
        --content-pad-y: 48px;
        --content-pad-x: 44px;
        padding: var(--content-pad-y) var(--content-pad-x) 56px;
    }
}

/* Note: .content-body wraps full page layouts (grids/rows) — do not set max-width here */

/* Spotlight row (featured + announcement side-by-side) */
.home-spotlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
    .home-spotlight { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.spotlight-card {
    border-radius: var(--whc-radius);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 22px 24px 24px;
    box-shadow: var(--whc-shadow-lg);
    border: 1px solid rgba(255,255,255,0.06);
}
.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255,255,255,0.07), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0,0,0,0.2), transparent 50%);
    pointer-events: none;
}
.spotlight-card > * {
    position: relative;
    z-index: 1;
}
.spotlight-card.featured {
    background: linear-gradient(145deg, #252540 0%, #1a1a2e 48%, #141422 100%);
    border-left: 4px solid var(--whc-gold);
    color: #fff;
}
.spotlight-card.announcement {
    background: linear-gradient(145deg, #2a1c1a 0%, #1f1514 48%, #161010 100%);
    border-left: 4px solid var(--whc-accent);
    color: #fff;
}
.spotlight-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.spotlight-card.featured .spotlight-badge {
    background: rgba(212, 160, 23, 0.18);
    color: var(--whc-gold);
    border: 1px solid rgba(212, 160, 23, 0.35);
}
.spotlight-card.announcement .spotlight-badge {
    background: rgba(200, 59, 21, 0.2);
    color: #f0a090;
    border: 1px solid rgba(200, 59, 21, 0.4);
}
.spotlight-feat-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.spotlight-feat-items.two-col {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.spotlight-feat-item {
    padding: 10px 0 4px;
}
.spotlight-feat-items.two-col .spotlight-feat-item {
    padding: 0;
}
.spotlight-feat-item + .spotlight-feat-item {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 8px;
    padding-top: 14px;
}
.spotlight-feat-items.two-col .spotlight-feat-item + .spotlight-feat-item {
    border-top: none;
    border-left: 1px solid rgba(255,255,255,0.1);
    margin-top: 0;
    padding-top: 0;
    padding-left: 16px;
}
.spotlight-feat-name {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
    line-height: 1.25;
}
.spotlight-feat-date {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 8px;
}
.spotlight-feat-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
    margin-bottom: 12px;
}
.spotlight-feat-btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 6px;
    background: var(--whc-gold);
    color: #1a1a2e !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.2s;
}
.spotlight-feat-btn:hover {
    background: #e0b12a;
    color: #1a1a2e !important;
    transform: translateY(-1px);
}
.spotlight-announce-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}
.spotlight-announce-body strong {
    color: #fff;
}
.spotlight-announce-body p {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.85);
}
.spotlight-announce-body h1,
.spotlight-announce-body h2,
.spotlight-announce-body h3,
.spotlight-announce-body h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.spotlight-announce-body a:not(.spotlight-announce-link) {
    color: #f0b4a4;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.spotlight-announce-link {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 6px;
    background: var(--whc-accent);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.2s;
    margin-top: 6px;
}
.spotlight-announce-link:hover {
    background: var(--whc-accent-hover);
    transform: translateY(-1px);
}
.spotlight-card.announcement h3:first-of-type { margin-top: 0; }

/* Welcome section — open text + photo, not a nested card */
.home-welcome {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
    padding: 8px 0 4px;
}
@media (min-width: 768px) {
    .home-welcome {
        grid-template-columns: 1.2fr 1fr;
        gap: 28px;
        align-items: start;
    }
}
.welcome-text h2 {
    font-weight: 700;
    font-size: 1.55rem;
    color: var(--whc-dark);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.welcome-text p {
    line-height: 1.85;
    margin-bottom: 14px;
    color: var(--whc-text);
}
.welcome-photo {
    position: sticky;
    top: 80px;
}
.welcome-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--whc-radius-sm);
    border: 1px solid var(--whc-border);
    box-shadow: var(--whc-shadow-sm);
}
@media (min-width: 768px) {
    .welcome-photo img {
        object-fit: cover;
        object-position: center;
    }
}

/* Bottom row (upcoming matches + video) — open columns, not card-in-card */
.home-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 12px;
    margin-bottom: 0;
    padding-top: 8px;
}
@media (min-width: 768px) {
    .home-bottom { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.home-bottom h2 {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--whc-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
/* Homepage-only: free upcoming list; videos keep a light frame without nested chrome */
.page-home .home-bottom .bottom-side .section-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 22px;
    border-radius: 0;
}
.page-home .home-bottom .bottom-side .section-card h2 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.page-home .home-bottom .bottom-side .ratio {
    border-radius: var(--whc-radius-sm);
    overflow: hidden;
    box-shadow: var(--whc-shadow-sm);
    border: 1px solid var(--whc-border);
}

/*
 * Smoke-Out: background only — no empty layout height.
 * Smoke is flush under the nav (extends through content-area top padding).
 * Header/body keep normal content-area spacing like other pages.
 */
.annual-match {
    position: relative;
}
.annual-match--smoke {
    /* Side bleed only so smoke can run full content width */
    margin-left: calc(-1 * var(--content-pad-x, 24px));
    margin-right: calc(-1 * var(--content-pad-x, 24px));
    padding-left: var(--content-pad-x, 24px);
    padding-right: var(--content-pad-x, 24px);
}
.annual-match--smoke > .page-header,
.annual-match--smoke > .content-body {
    position: relative;
    z-index: 2;
}
.annual-match--smoke > .page-header h1,
.annual-match--smoke > .page-header p {
    text-shadow:
        0 1px 2px rgba(245, 242, 237, 0.95),
        0 0 16px rgba(245, 242, 237, 0.85);
}
.smoke-stage {
    position: absolute;
    /* Pull up through content-area top padding → flush under nav */
    top: calc(-1 * var(--content-pad-y, 36px));
    left: 0;
    right: 0;
    height: min(444px, 55vw);
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
/* Buffalo hunter — sits under the drifting smoke, full width of the stage */
.smoke-backdrop {
    position: absolute;
    inset: 0;
    background: url('https://cdn.reaverbackup.com/whc/general/Buffalo_Hunter_Wide_1.webp') center top / 100% auto no-repeat;
    opacity: 0.6;
    z-index: 0;
}
.smoke-drift {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left top;
    opacity: 0;
    will-change: transform, opacity;
    display: block;
    z-index: 1;
}
.smoke-drift-a {
    animation: smoke-roll-a 16s linear infinite;
}
.smoke-drift-b {
    animation: smoke-roll-b 20s linear 2.8s infinite;
}
.smoke-drift-c {
    animation: smoke-roll-c 14s linear 5.5s infinite;
}
@keyframes smoke-roll-a {
    0%   { transform: translateX(-35%) scale(1); opacity: 0; }
    8%   { opacity: 0.8; }
    75%  { opacity: 0.55; }
    100% { transform: translateX(110%) scale(1.05); opacity: 0; }
}
@keyframes smoke-roll-b {
    0%   { transform: scaleX(-1) translateX(-20%) scale(1.05); opacity: 0; }
    10%  { opacity: 0.65; }
    80%  { opacity: 0.45; }
    100% { transform: scaleX(-1) translateX(100%) scale(1.1); opacity: 0; }
}
@keyframes smoke-roll-c {
    0%   { transform: translateX(-40%) translateY(2%); opacity: 0; }
    12%  { opacity: 0.5; }
    100% { transform: translateX(115%) translateY(-2%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .smoke-drift-a,
    .smoke-drift-b,
    .smoke-drift-c {
        animation: none !important;
        opacity: 0.35;
        transform: none;
        left: 0;
    }
}

/* Page Header */
.page-header {
    border-bottom: none;
    margin-bottom: 28px;
    padding: 4px 0 16px;
    position: relative;
}
.page-header::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 12px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--whc-accent), rgba(200, 59, 21, 0.15));
}

.page-header h1 { font-weight: 800; font-size: 1.8rem; color: var(--whc-dark); margin: 0; letter-spacing: -0.01em; }
.page-header p { color: var(--whc-text-light); margin: 8px 0 0; }

/* Section cards — light panels for match info, sidebars, "What You Need", etc. */
.section-card {
    background: var(--whc-surface-raised);
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius);
    padding: 22px 24px;
    margin-bottom: 22px;
    box-shadow: var(--whc-shadow-sm);
}

.section-card h2 {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--whc-dark);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.section-card h3 {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--whc-accent);
    margin-bottom: 10px;
}

/* Slightly stronger panel when needed (forms, primary callouts) */
.section-card.panel {
    padding: 24px 26px;
    box-shadow: var(--whc-shadow);
}

/* Opt-out: open prose (About intros) without card chrome */
.section-card.open {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 4px 0 8px;
    margin-bottom: 28px;
    box-shadow: none;
}
.section-card.open h2 {
    margin-bottom: 12px;
}
.section-card.open p {
    line-height: 1.8;
    max-width: 48rem;
}

/* Range Gallery Grid */
.range-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.range-gallery-item {
    display: block;
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius-sm);
    overflow: hidden;
    box-shadow: var(--whc-shadow-sm);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.range-gallery-item:hover {
    border-color: rgba(200, 59, 21, 0.45);
    transform: translateY(-3px);
    box-shadow: var(--whc-shadow-hover);
}
.range-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Range Videos */
.range-video-wrapper iframe {
    border-radius: var(--whc-radius-sm);
    box-shadow: var(--whc-shadow-sm);
}

/* Content Typography */
.content-body p { line-height: 1.8; margin-bottom: 15px; }
.content-body ul { margin-bottom: 15px; padding-left: 20px; }
.content-body ul li { margin-bottom: 8px; line-height: 1.6; }
.content-body ul li::marker { color: var(--whc-accent); }

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin: 10px 0;
}

.schedule-grid-item {
    background: var(--whc-surface-raised);
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--whc-shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}
.schedule-grid-item:hover {
    box-shadow: var(--whc-shadow);
    transform: translateY(-2px);
}

.schedule-grid-item .day {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--whc-dark);
    margin-bottom: 8px;
}

.schedule-grid-item .match-name {
    font-weight: 600;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--whc-text);
    line-height: 1.3;
}
.schedule-grid-item .match-time {
    font-size: 0.78rem;
    color: var(--whc-text-light);
    margin-top: 4px;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--whc-radius-sm);
    overflow: hidden;
    box-shadow: var(--whc-shadow-sm);
    border: 1px solid var(--whc-border);
    background: var(--whc-surface-raised);
}
.schedule-table th {
    background: var(--whc-dark);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    border: 1px solid var(--whc-dark);
}
.schedule-table td { padding: 9px 14px; border: 1px solid var(--whc-border); vertical-align: top; }
.schedule-table tr:nth-child(even) td { background: #faf8f5; }

.match-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
}
.match-tag.cowboy_action { background: #8B4513; }
.match-tag.long_range { background: #2c5282; }
.match-tag.rimfire_steel { background: #2d6a4f; }
.match-tag.rimfire_long_range { background: #4a5568; }
.match-tag.skirmish { background: #5a3a1a; }

/* Upcoming match list */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.schedule-month-header {
    font-size: 0.8rem;
    font-weight: 800;
    /* Darker than --whc-text-light (#6c757d) so small caps meet WCAG AA on surface bg */
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 18px 0 4px;
    padding: 0 2px 0;
    border: none;
}
.schedule-list > .schedule-month-header:first-child {
    margin-top: 0;
}

.sl-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px 10px 10px;
    background: var(--whc-surface-raised);
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius-sm);
    box-shadow: var(--whc-shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.sl-item.is-link {
    cursor: pointer;
}
a.sl-item.is-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--whc-shadow);
    border-color: var(--whc-border-strong);
    color: inherit;
}
.sl-item.is-special {
    border-color: rgba(212, 160, 23, 0.45);
    background: linear-gradient(90deg, rgba(212, 160, 23, 0.08) 0%, var(--whc-surface-raised) 40%);
}
.sl-item.is-today {
    border-color: rgba(200, 59, 21, 0.4);
    box-shadow: 0 0 0 1px rgba(200, 59, 21, 0.12), var(--whc-shadow-sm);
}

.sl-dateblock {
    flex: 0 0 56px;
    width: 56px;
    text-align: center;
    padding: 6px 4px 7px;
    border-radius: 8px;
    background: var(--whc-dark);
    color: #fff;
    line-height: 1;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06);
    border-bottom: 3px solid var(--sl-accent, var(--whc-accent));
}
.sl-dateblock .sl-month {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 3px;
}
.sl-dateblock .sl-day {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 2px;
}
.sl-dateblock .sl-dow {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.sl-item.is-today .sl-dateblock {
    background: var(--whc-accent);
    border-bottom-color: #fff;
}
.sl-item.is-today .sl-dateblock .sl-month,
.sl-item.is-today .sl-dateblock .sl-dow {
    color: rgba(255,255,255,0.85);
}

.sl-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sl-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--whc-dark);
    line-height: 1.3;
}
.sl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.sl-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.sl-special-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--whc-gold);
    color: #1a1a2e;
}
.sl-today-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    background: rgba(200, 59, 21, 0.12);
    color: var(--whc-accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sl-chevron {
    flex: 0 0 auto;
    color: var(--whc-text-light);
    font-size: 0.95rem;
    opacity: 0.55;
    transition: opacity 0.15s, transform 0.15s;
}
a.sl-item.is-link:hover .sl-chevron {
    opacity: 1;
    color: var(--whc-accent);
    transform: translateX(2px);
}

.schedule-empty {
    text-align: center;
    padding: 28px 16px;
    color: var(--whc-text-light);
}
.schedule-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
    opacity: 0.55;
}
.schedule-empty-title {
    font-weight: 600;
    color: var(--whc-dark);
    margin: 0 0 4px;
}
.schedule-empty-hint {
    font-size: 0.88rem;
    margin: 0;
}
.schedule-empty-hint a { color: var(--whc-accent); font-weight: 600; }

/* Key/value tables still used on basics pages */
.schedule-list-table { width: 100%; border-collapse: collapse; }
.schedule-list-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--whc-border);
    vertical-align: middle;
}
.schedule-list-table tr:last-child td { border-bottom: none; }

/* Mobile: scroll wide schedule tables without collapsing columns
   (do NOT set display:block on table itself — that shrinks columns left) */
.table-responsive .schedule-table {
    min-width: 480px;
}

/* ── Score listings (long range / skirmish) ── */
.scores-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.score-row {
    display: flex;
    align-items: center;
    gap: 16px 20px;
    flex-wrap: wrap;
    width: 100%;
    padding: 16px 18px;
    background: var(--whc-surface-raised, #fff);
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius, 8px);
    box-shadow: var(--whc-shadow-sm, 0 1px 3px rgba(0,0,0,0.06));
    transition: border-color 0.15s, box-shadow 0.15s;
}
.score-row:hover {
    border-color: rgba(200, 59, 21, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.score-row-date {
    flex: 0 0 auto;
    min-width: 5.5rem;
    text-align: center;
    padding: 8px 10px;
    background: linear-gradient(145deg, #1a1a2e 0%, #2a2a42 100%);
    color: #fff;
    border-radius: 8px;
    line-height: 1.15;
}
.score-row-date .sr-month {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
}
.score-row-date .sr-day {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.score-row-date .sr-year {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}
.score-row-body {
    flex: 1 1 12rem;
    min-width: 0;
}
.score-row-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--whc-dark, #1a1a2e);
    margin: 0 0 4px;
    line-height: 1.3;
}
.score-row-meta {
    font-size: 0.85rem;
    color: var(--whc-text-light, #6c757d);
    margin: 0;
}
.score-row-action {
    flex: 0 0 auto;
    margin-left: auto;
}
.score-row-action .btn {
    white-space: nowrap;
    min-width: 8.5rem;
}
@media (max-width: 576px) {
    .score-row {
        align-items: flex-start;
    }
    .score-row-action {
        width: 100%;
        margin-left: 0;
    }
    .score-row-action .btn {
        width: 100%;
    }
}

/* ALTCHA widget styling */
altcha-widget {
    --altcha-color-red: #c83b15;
    --altcha-border-width: 2px;
    --altcha-border-radius: 8px;
}
.sl-location { font-size: 0.8rem; }

/* Buttons */
.btn-whc {
    background: linear-gradient(180deg, #d44722 0%, var(--whc-accent) 100%);
    color: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 24px;
    border-radius: 6px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 2px 8px rgba(200,59,21,0.28);
    transition: all 0.2s;
}

.btn-whc:hover {
    background: linear-gradient(180deg, var(--whc-accent) 0%, var(--whc-accent-hover) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 6px 16px rgba(200,59,21,0.35);
}

.btn-whc-outline {
    background: rgba(255,255,255,0.5);
    color: var(--whc-accent);
    border: 2px solid var(--whc-accent);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-whc-outline:hover {
    background: var(--whc-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(200,59,21,0.25);
}

/* Membershp banner */
.membership-banner {
    background: linear-gradient(135deg, var(--whc-accent), #e85d3a);
    color: #fff;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
}

.membership-banner a { color: #fff; font-weight: 700; }

.special-event-banner {
    background: linear-gradient(135deg, var(--whc-gold), #f0c040);
    color: #333;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
}

.featured-event-banner {
    background: linear-gradient(135deg, #1a5276, #2e86c1);
    color: #fff;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #d4a017;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 12px 0 44px;
}
@media (min-width: 576px) {
    .info-section {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    .info-section {
        grid-template-columns: repeat(5, 1fr);
    }
}
.info-card:last-child {
    justify-self: center;
    max-width: 400px;
    width: 100%;
}
@media (min-width: 992px) {
    .info-card:last-child {
        justify-self: auto;
        max-width: none;
    }
}

.info-card {
    text-align: center;
    padding: 28px 18px;
    background: var(--whc-surface-raised);
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius);
    box-shadow: var(--whc-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-top: 4px solid var(--whc-accent);
}
.info-card.cowboy_action { border-top-color: #8B4513; }
.info-card.long_range { border-top-color: #2c5282; }
.info-card.rimfire_steel { border-top-color: #2d6a4f; }
.info-card.rimfire_long_range { border-top-color: #4a5568; }
.info-card.skirmish { border-top-color: #5a3a1a; }

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--whc-shadow-hover);
}

.info-card i { font-size: 1.6rem; color: var(--whc-accent); margin-bottom: 8px; }
.info-card h3 { font-weight: 700; font-size: 1.05rem; color: var(--whc-dark); margin-bottom: 8px; }
.info-card p { color: var(--whc-text-light); font-size: 0.88rem; }

/* Homepage photo discipline cards (16:9 media works well) */
a.info-card-media {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    color: inherit;
    border-top-width: 0;
    border-bottom: 4px solid var(--whc-accent);
    height: 100%;
    box-shadow: var(--whc-shadow);
}
a.info-card-media:hover {
    box-shadow: var(--whc-shadow-hover);
}
a.info-card-media.cowboy_action { border-bottom-color: #8B4513; }
a.info-card-media.long_range { border-bottom-color: #2c5282; }
a.info-card-media.rimfire_steel { border-bottom-color: #2d6a4f; }
a.info-card-media.rimfire_long_range { border-bottom-color: #4a5568; }
a.info-card-media.skirmish { border-bottom-color: #5a3a1a; }

.info-card-media .info-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--whc-darker);
}
.info-card-media .info-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}
.info-card-media:hover .info-card-thumb img {
    transform: scale(1.04);
}
.info-card-media .info-card-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.info-card-media h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
    line-height: 1.25;
}
.info-card-media p {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 12px;
    flex: 1 1 auto;
}
.info-card-media .info-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--whc-accent);
}
.info-card-media:hover .info-card-cta {
    color: var(--whc-accent-hover);
}

/* Match Grid */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.match-card {
    background: var(--whc-surface-raised);
    border: 1px solid var(--whc-border);
    border-radius: var(--whc-radius);
    overflow: hidden;
    box-shadow: var(--whc-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.match-card:hover { transform: translateY(-4px); box-shadow: var(--whc-shadow-hover); }
.match-card.special { border: 2px solid var(--whc-gold); box-shadow: var(--whc-shadow); }
.match-card .match-body { padding: 18px; }
.match-card .match-type-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.match-card h3 { font-weight: 700; font-size: 1.1rem; color: var(--whc-dark); margin-bottom: 6px; }
.match-card .match-meta { color: var(--whc-text-light); font-size: 0.88rem; margin-bottom: 4px; }
.match-card .match-meta i { width: 16px; color: var(--whc-accent); }

/* Content images */
.content-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--whc-radius-sm);
    border: 1px solid var(--whc-border);
    margin: 10px 0;
    box-shadow: var(--whc-shadow-sm);
}
.img-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    margin: 18px 0;
}
.img-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--whc-radius-sm);
    border: 1px solid var(--whc-border);
    box-shadow: var(--whc-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.img-gallery img:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--whc-shadow);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #1f1f35 0%, var(--whc-darker) 100%);
    color: rgba(255,255,255,0.65);
    padding: 28px 28px 22px;
    font-size: 0.85rem;
    border-top: 3px solid var(--whc-accent);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
}
.site-footer .footer-heading {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}
.site-footer a { color: var(--whc-gold); text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-link {
    /* Higher contrast on dark footer (AA) + min touch target 44px for mobile a11y */
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    font-size: 0.88rem;
    display: block;
    min-height: 44px;
    padding: 10px 0;
    line-height: 1.35;
}
.site-footer .footer-link:hover { color: #fff; }
/* Quick-links column stacks with comfortable spacing */
.site-footer .d-flex.flex-wrap {
    row-gap: 0;
    column-gap: 1.25rem;
}

/* Alerts */
.alert-whc {
    border-radius: var(--whc-radius-sm);
    border: 1px solid rgba(200, 59, 21, 0.2);
    border-left: 4px solid var(--whc-accent);
    box-shadow: var(--whc-shadow-sm);
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}
.lightbox-modal.show { display: flex; }
.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

@media (max-width: 768px) {
    .navbar-whc .nav-link { padding: 14px 16px !important; font-size: 0.9rem; }
    .navbar-whc .navbar-brand { font-size: 1rem; padding: 10px 12px; }
    .navbar-whc .dropdown-menu { border: none; padding-left: 12px; background: transparent; }
    .navbar-whc .dropdown-item { padding: 12px 16px; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
    .match-grid { grid-template-columns: 1fr; }
    .info-section { grid-template-columns: 1fr; }
    .schedule-grid { grid-template-columns: 1fr 1fr; }
    .content-area {
        --content-pad-y: 20px;
        --content-pad-x: 15px;
        padding: var(--content-pad-y) var(--content-pad-x);
    }
    .img-gallery { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .range-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .range-gallery-item img { height: 140px; }
    .spotlight-card { padding: 18px 16px; }
    .spotlight-feat-items.two-col { grid-template-columns: 1fr; }
    .spotlight-feat-items.two-col .spotlight-feat-item + .spotlight-feat-item {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 8px;
        padding-left: 0;
        padding-top: 14px;
    }
    .home-welcome { gap: 20px; }
    .page-header h1 { font-size: 1.4rem; }
    .section-card.panel { padding: 18px; }
    .site-footer { padding: 20px 15px 16px; }
    .match-card .match-body { padding: 14px; }
}

@media (max-width: 480px) {
    .schedule-grid { grid-template-columns: 1fr; }
    .img-gallery { grid-template-columns: 1fr; }
    .range-gallery { grid-template-columns: 1fr; }
    .content-area {
        --content-pad-y: 15px;
        --content-pad-x: 12px;
        padding: var(--content-pad-y) var(--content-pad-x) 24px;
    }
    .spotlight-card { padding: 14px 12px; }
    .navbar-whc .navbar-brand { font-size: 0.9rem; padding: 8px 10px; }
    /* Inner pages: show full mobile banner aspect (do not clamp to 100px) */
    .site-banner:not(.site-banner--hero) img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: unset;
    }
}
