/*
Theme Name: Boxing Card Registry
Theme URI:
Author: Lawrence
Author URI:
Description: Custom theme for Boxing Card Registry — a dark, bold registry for boxing event cards.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boxing-registry
Tags: custom, boxing, dark, sports
*/

/* =========================================================
   Google Fonts
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* =========================================================
   CSS Custom Properties — Design Tokens
   ========================================================= */
:root {
    /* Colors */
    --color-bg:          #0d0d0d;
    --color-bg-alt:      #141414;
    --color-bg-card:     #1a1a1a;
    --color-accent:      #c9a84c;
    --color-accent-dark: #a8853a;
    --color-accent-glow: rgba(201, 168, 76, 0.15);
    --color-text:        #e8e8e8;
    --color-text-muted:  #8a8a8a;
    --color-border:      #2a2a2a;
    --color-white:       #ffffff;

    /* Typography */
    --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --font-body:    'Barlow', Arial, sans-serif;

    /* Font sizes */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;

    /* Spacing */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Layout */
    --container-max: 1200px;
    --container-pad: 1.5rem;

    /* Borders & Radius */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --border:     1px solid var(--color-border);

    /* Shadows */
    --shadow-accent: 0 0 20px rgba(201, 168, 76, 0.2);
}

/* =========================================================
   Reset & Base
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: var(--color-white);
}

/* =========================================================
   Layout Utilities
   ========================================================= */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

/* =========================================================
   Registry Cards Page
   ========================================================= */

/* Header */
.bcr-registry {
    padding-block: var(--space-3xl) var(--space-2xl);
}
.bcr-registry__header {
    margin-bottom: var(--space-2xl);
}
.bcr-registry__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-sm);
}
.bcr-registry__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin-top: var(--space-sm);
}
.bcr-registry__subtitle {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    margin-top: var(--space-md);
}

/* ── Filter Panel ───────────────────────────────────────── */
.bcr-filters {
    background: var(--color-bg-card);
    border: var(--border);
    border-top: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    margin-bottom: var(--space-xl);
}
.bcr-filters__row {
    display: grid;
    gap: var(--space-lg);
}
.bcr-filters__selects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
}
.bcr-filters__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: var(--border);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* Labels */
.bcr-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

/* Search input */
.bcr-input-wrap {
    position: relative;
}
.bcr-icon-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
    pointer-events: none;
}
.bcr-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    background: var(--color-bg-alt);
    border: var(--border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    outline: none;
    transition: border-color 0.2s;
}
.bcr-input:focus {
    border-color: var(--color-accent);
}
.bcr-input::placeholder { color: var(--color-text-muted); }
.bcr-input::-webkit-search-cancel-button { display: none; }

/* Selects */
.bcr-select {
    width: 100%;
    padding: 10px 14px;
    background: var(--color-bg-alt);
    border: var(--border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s;
}
.bcr-select:focus { border-color: var(--color-accent); }
.bcr-select option { background: var(--color-bg-card); }

/* Result count & reset */
.bcr-result-count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}
.bcr-btn-reset {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.bcr-btn-reset:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ── Table ──────────────────────────────────────────────── */
.bcr-table-wrap {
    overflow-x: auto;
    border: var(--border);
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    position: relative;
    transition: opacity 0.2s;
}
.bcr-table-wrap.bcr-loading {
    opacity: 0.45;
    pointer-events: none;
}
.bcr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    white-space: nowrap;
}

/* Header row */
.bcr-table thead tr {
    background: var(--color-bg-alt);
    border-bottom: 2px solid var(--color-accent);
}
.bcr-table thead th {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    padding: 14px 16px;
    text-align: left;
}

/* Body rows */
.bcr-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s;
}
.bcr-table tbody tr:last-child {
    border-bottom: none;
}
.bcr-table tbody tr:hover {
    background: var(--color-accent-glow);
}
.bcr-table tbody td {
    padding: 13px 16px;
    color: var(--color-text);
    vertical-align: middle;
}

/* Column widths */
.bcr-col-id      { min-width: 110px; }
.bcr-col-boxer   { min-width: 160px; }
.bcr-col-card    { min-width: 160px; }
.bcr-col-weight  { min-width: 140px; }
.bcr-col-nat     { min-width: 110px; }
.bcr-col-country { min-width: 120px; }
.bcr-col-mfr     { min-width: 130px; }
.bcr-col-year    { min-width: 70px; text-align: left; }

/* Card ID link */
.bcr-col-id a {
    color: var(--color-accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.2s;
}
.bcr-col-id a:hover { color: var(--color-white); }

/* Boxer name link → boxer profile */
.bcr-col-boxer a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.bcr-col-boxer a:hover { color: var(--color-accent); }

/* Card name link → single card */
.bcr-col-card a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.bcr-col-card a:hover { color: var(--color-white); }

/* Empty & error states */
.bcr-empty,
.bcr-error {
    text-align: center;
    padding: var(--space-2xl) !important;
    color: var(--color-text-muted);
    white-space: normal;
}

/* ── Pagination ─────────────────────────────────────────── */
.bcr-pagination {
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
}
.bcr-pages {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
}
.bcr-page-btn {
    min-width: 38px;
    height: 38px;
    padding-inline: 10px;
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bcr-page-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.bcr-page-btn.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    font-weight: 700;
    pointer-events: none;
}
.bcr-ellipsis {
    color: var(--color-text-muted);
    padding-inline: 4px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media ( max-width: 768px ) {
    .bcr-registry__title { font-size: var(--text-3xl); }
    .bcr-filters { padding: var(--space-md); }
    .bcr-filters__footer { flex-direction: column; align-items: flex-start; }
    .bcr-table { font-size: var(--text-xs); }
    .bcr-table thead th,
    .bcr-table tbody td { padding: 10px 12px; }
}

/* =========================================================
   Single Boxing Card
   ========================================================= */

.bcr-single {
    padding-block: var(--space-2xl) var(--space-3xl);
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.bcr-breadcrumb {
    margin-bottom: var(--space-xl);
}
.bcr-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    font-size: var(--text-sm);
}
.bcr-breadcrumb__list a {
    color: var(--color-text-muted);
    transition: color 0.2s;
}
.bcr-breadcrumb__list a:hover {
    color: var(--color-accent);
}
.bcr-breadcrumb__sep {
    color: var(--color-border);
    user-select: none;
}
.bcr-breadcrumb__current {
    color: var(--color-accent);
    font-weight: 600;
}

/* ── Main Layout ────────────────────────────────────────── */
.bcr-single__layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* ── Card ID Badge ──────────────────────────────────────── */
.bcr-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
}
.bcr-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: var(--color-bg-card);
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-sm);
    padding: 6px 18px 6px 14px;
    box-shadow: 0 0 18px rgba(201,168,76,0.15), inset 0 0 30px rgba(201,168,76,0.04);
}
.bcr-badge__prefix {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    text-transform: uppercase;
}
.bcr-badge__id {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--color-white);
    line-height: 1;
}

/* ── Flip Card ──────────────────────────────────────────── */
.bcr-flip {
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
    /* aspect-ratio matches standard trading card 2.5" × 3.5" */
    aspect-ratio: 5 / 7;
    perspective: 1200px;
    cursor: pointer;
    outline: none;
}
.bcr-flip:focus-visible .bcr-flip__inner {
    transform: rotateY(180deg);
}
.bcr-flip:hover .bcr-flip__inner {
    transform: rotateY(180deg);
}
/* Touch toggle via JS class */
.bcr-flip.is-flipped .bcr-flip__inner {
    transform: rotateY(180deg);
}

.bcr-flip__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-md);
}

.bcr-flip__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    background: var(--color-bg-card);
    box-shadow:
        0 4px 24px rgba(0,0,0,0.6),
        0 0 0 1px rgba(201,168,76,0.08);
}
.bcr-flip__face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bcr-flip__face--back {
    transform: rotateY(180deg);
}

/* Placeholder when no image */
.bcr-flip__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(201,168,76,0.02) 10px,
        rgba(201,168,76,0.02) 20px
    );
}
.bcr-flip__placeholder svg {
    width: 60%;
    max-width: 160px;
    opacity: .7;
}
.bcr-flip__placeholder p {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* "Hover to flip" hint */
.bcr-flip__hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    pointer-events: none;
}
.bcr-flip__face--front .bcr-flip__hint { opacity: 0.6; }
.bcr-flip:hover .bcr-flip__face--front .bcr-flip__hint { opacity: 0; }
.bcr-flip:hover .bcr-flip__face--back .bcr-flip__hint  { opacity: 0.6; }

/* ── Info Panel ─────────────────────────────────────────── */
.bcr-single__header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: var(--border);
}
.bcr-single__boxer-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}
.bcr-single__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-white);
    line-height: 1.05;
}

/* ── Data Table ─────────────────────────────────────────── */
.bcr-data {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-card);
}
.bcr-data__row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: var(--border);
}
.bcr-data__row:last-child {
    border-bottom: none;
}
.bcr-data__label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    padding: 14px 16px;
    background: var(--color-bg-alt);
    border-right: var(--border);
    display: flex;
    align-items: center;
}
.bcr-data__value {
    font-size: var(--text-sm);
    color: var(--color-text);
    padding: 14px 18px;
    display: flex;
    align-items: center;
}
.bcr-data__value a {
    color: var(--color-accent);
}
.bcr-data__value a:hover {
    color: var(--color-white);
}
.bcr-data__value--id {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

/* Back link */
.bcr-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-xl);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    border: var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    transition: border-color 0.2s, color 0.2s;
}
.bcr-back-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ── Responsive ─────────────────────────────────────────── */
@media ( max-width: 900px ) {
    .bcr-single__layout {
        grid-template-columns: 1fr;
    }
    .bcr-flip {
        max-width: 320px;
    }
    .bcr-single__title {
        font-size: var(--text-3xl);
    }
}
@media ( max-width: 480px ) {
    .bcr-data__row {
        grid-template-columns: 1fr;
    }
/* hero background image (set via inline CSS var) */
.hero--has-bg {
    background-image: var(--hero-bg-url);
    background-size: cover;
    background-position: center;
}
.hero--has-bg .hero__bg-pattern {
    background-image:
        linear-gradient(rgba(13,13,13,0.75) 0%, rgba(13,13,13,0.55) 100%),
        linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
}

/* about section custom image */
.about__image {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: var(--border);
}

/* about wysiwyg output */
.about__body--wysiwyg p  { color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-md); }
.about__body--wysiwyg strong { color: var(--color-text); }
.about__body--wysiwyg a  { color: var(--color-accent); }

    .bcr-data__label {
        border-right: none;
        border-bottom: var(--border);
        padding: 10px 14px;
    }
    .bcr-data__value {
        padding: 10px 14px;
    }
}

/* =========================================================
   Site Header — Sticky Nav
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,13,13,0.75);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled {
    background: rgba(10,10,10,0.96);
    border-color: rgba(201,168,76,0.18);
    box-shadow: 0 1px 32px rgba(0,0,0,0.55);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 10px;
    gap: var(--space-lg);
}

/* Logo — "BCR" wordmark */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Logo image variant */
.site-logo__img {
    height: 64px; /* default — overridden by inline style from ACF */
    width: auto;
    display: block;
    object-fit: contain;
}
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
/* =========================================================
   Boxer Profile Page (taxonomy-boxer_category)
   ========================================================= */
.boxer-hero {
    padding-block: var(--space-3xl) 60px;
    background: var(--color-bg-alt);
    border-bottom: var(--border);
}
.boxer-hero__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* Photo */
.boxer-hero__photo-wrap {
    position: sticky;
    top: 90px;
}
.boxer-hero__photo {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    border: 1px solid rgba(201,168,76,0.2);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.boxer-hero__photo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.boxer-hero__photo-placeholder svg {
    width: 60%;
    opacity: 0.4;
}

/* Info */
.boxer-hero__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}
.boxer-hero__name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
    line-height: 1;
    margin: 0;
}
.boxer-hero__name::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--color-accent);
    margin-top: var(--space-md);
}

/* Stats row */
.boxer-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-xl);
    margin: 0;
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
}
.boxer-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 80px;
}
.boxer-hero__stat dt {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}
.boxer-hero__stat dd {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

/* Bio */
.boxer-hero__bio {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    line-height: 1.8;
}
.boxer-hero__bio p {
    margin: 0 0 var(--space-md);
}
.boxer-hero__bio p:last-child {
    margin-bottom: 0;
}

/* Cards section */
.boxer-cards {
    padding-block: var(--space-3xl) 80px;
    background: var(--color-bg);
}

/* Rookie stamp on card grid */
.fc-card__rookie-stamp {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 40px;
    color: var(--color-accent);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

/* Responsive */
@media ( max-width: 768px ) {
    .boxer-hero__inner {
        grid-template-columns: 1fr;
    }
    .boxer-hero__photo-wrap {
        position: static;
        max-width: 220px;
        margin: 0 auto;
    }
    .boxer-hero__info { align-items: center; text-align: center; }
    .boxer-hero__name::after { margin: var(--space-md) auto 0; }
    .boxer-hero__stats { justify-content: center; }
}

/* =========================================================
   Site Footer
   ========================================================= */

/* ── Main grid ──────────────────────────────────────────── */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid var(--color-border);
}
.site-footer__main {
    padding-block: 60px 50px;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* ── Brand column ───────────────────────────────────────── */
.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.site-footer__logo-link {
    display: inline-block;
    line-height: 0;
}
.site-footer__logo {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}
.site-footer__tagline {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0;
}

/* ── Column headings ────────────────────────────────────── */
.site-footer__col-heading {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    margin: 0 0 var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(201,168,76,0.2);
}

/* ── Navigation column ──────────────────────────────────── */
.site-footer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.site-footer__nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.site-footer__nav a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

/* ── Contact column ─────────────────────────────────────── */
.site-footer__contact-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0 0 var(--space-md);
}
.site-footer__contact-item a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer__contact-item a:hover {
    color: var(--color-accent);
}
.site-footer__contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent);
    opacity: 0.7;
}
.site-footer__address {
    align-items: flex-start;
}

/* ── Disclaimer bar ─────────────────────────────────────── */
.site-footer__disclaimer-bar {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding-block: 18px;
    background: rgba(255,255,255,0.02);
}
.site-footer__disclaimer {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: 1.65;
    opacity: 0.75;
    margin: 0;
    text-align: center;
}

/* ── Bottom strip ───────────────────────────────────────── */
.site-footer__bottom {
    padding-block: 18px;
}
.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}
.site-footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.site-footer__legal a {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-decoration: none;
    opacity: 0.8;
    transition: color 0.2s, opacity 0.2s;
    white-space: nowrap;
}
.site-footer__legal a:hover {
    color: var(--color-accent);
    opacity: 1;
}
.site-footer__legal-sep {
    color: var(--color-border);
    font-size: var(--text-xs);
    user-select: none;
}
.site-footer__copy {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    opacity: 0.6;
    margin: 0;
    white-space: nowrap;
}

/* ── Footer responsive ──────────────────────────────────── */
@media ( max-width: 900px ) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .site-footer__brand {
        grid-column: 1 / -1;
    }
}
@media ( max-width: 600px ) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    .site-footer__brand { grid-column: 1; }
    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    .site-footer__legal { gap: 8px; }
    .site-footer__copy { white-space: normal; }
}

.site-logo__gloves {
    font-size: 1.3em;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(201,168,76,0.5));
}
.site-logo__bcr {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    line-height: 1;
    text-transform: uppercase;
    transition: text-shadow 0.2s;
}
.site-logo__name {
    display: none; /* hidden — BCR mark takes precedence */
}
.site-logo:hover .site-logo__bcr {
    text-shadow: 0 0 16px rgba(201,168,76,0.6);
}

/* Nav menu */
.site-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}
.site-nav .nav-menu a {
    position: relative;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding-bottom: 3px;
    transition: color 0.2s;
}
/* Animated underline */
.site-nav .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width 0.25s ease;
}
.site-nav .nav-menu a:hover,
.site-nav .nav-menu .current-menu-item > a {
    color: var(--color-accent);
}
.site-nav .nav-menu a:hover::after,
.site-nav .nav-menu .current-menu-item > a::after {
    width: 100%;
}

/* Header CTA */
.header-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.header-cta:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 0 14px rgba(201,168,76,0.35);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: transparent;
    border: var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-muted);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s, background 0.2s;
    transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--color-accent); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--color-accent); }

@media ( max-width: 640px ) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(20,20,20,0.98);
        border-bottom: 1px solid var(--color-border);
        display: none;
        padding: var(--space-lg) var(--container-pad);
    }
    .site-nav.is-open { display: block; }
    .site-nav .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
}

/* =========================================================
   Shared Section Utilities
   ========================================================= */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    gap: var(--space-sm);
}
.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
    position: relative;
    padding-bottom: var(--space-sm);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}
.section-link {
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.section-link:hover { color: var(--color-white); }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}
.btn-primary:hover {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201,168,76,0.35);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero {
    position: relative;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-block: 100px;
}

/* Crosshatch pattern background */
.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
/* Radial vignette on top */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 30%, var(--color-bg) 100%);
    pointer-events: none;
}
/* Bottom fade */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--color-bg));
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.hero__logo-mark {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(201,168,76,0.4));
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    color: var(--color-white);
    max-width: 820px;
}
.hero__title-accent {
    color: var(--color-accent);
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 540px;
    line-height: 1.7;
}

/* Search bar */
.hero__search-form { width: 100%; max-width: 660px; }
.hero__search-wrap {
    display: flex;
    align-items: stretch;
    background: var(--color-bg-card);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hero__search-wrap:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.hero__search-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: auto 0 auto 18px;
    color: var(--color-text-muted);
    pointer-events: none;
}
.hero__search-input {
    flex: 1;
    padding: 16px 14px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    outline: none;
    min-width: 0;
}
.hero__search-input::placeholder { color: var(--color-text-muted); }
.hero__search-input::-webkit-search-cancel-button { display: none; }
.hero__search-btn {
    flex-shrink: 0;
    padding: 0 24px;
    background: var(--color-accent);
    border: none;
    color: var(--color-bg);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.hero__search-btn:hover { background: #d9b85c; }

/* Stats row */
.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}
.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.hero__stat-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    line-height: 1;
}
.hero__stat-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}
.hero__stat-sep {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* =========================================================
   Featured Cards Section
   ========================================================= */
.featured {
    padding-block: 100px;
    background: #111111;
    position: relative;
}
/* Gold divider line */
.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: rgba(201,168,76,0.3);
}
.featured::after { display: none; }

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
}

/* Card */
.fc-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
}
/* Gold bottom accent line */
.fc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}
.fc-card:hover {
    border-color: rgba(201,168,76,0.5);
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.2);
}
.fc-card:hover::after { opacity: 1; }

/* Image area — 5:7 card ratio */
.fc-card__image-wrap {
    position: relative;
    aspect-ratio: 5 / 7;
    overflow: hidden;
    background: var(--color-bg-alt);
}
.fc-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.fc-card:hover .fc-card__image {
    transform: scale(1.06);
}

/* Hover overlay with centred Card ID */
.fc-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.68);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}
.fc-card:hover .fc-card__overlay { opacity: 1; }
.fc-card__overlay-id {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    text-shadow: 0 0 20px rgba(201,168,76,0.6);
}

/* Placeholder */
.fc-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 8px,
        rgba(201,168,76,0.02) 8px,
        rgba(201,168,76,0.02) 16px
    );
}
.fc-card__placeholder svg { width: 55%; opacity: .7; }

/* Badge */
.fc-card__badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(13,13,13,0.85);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 8px;
    border-radius: 3px;
    backdrop-filter: blur(6px);
}

/* Card body */
.fc-card__body {
    padding: var(--space-md) var(--space-md) var(--space-lg);
}
.fc-card__boxer {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 4px;
}
.fc-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-white);
    line-height: 1.2;
}

/* Empty state */
.featured-empty {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

/* =========================================================
   About Section
   ========================================================= */
.about {
    padding-block: 100px;
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: rgba(201,168,76,0.3);
}
.about::after { display: none; }
.about__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--space-3xl);
    align-items: center;
}
.about__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.0;
    color: var(--color-white);
    margin-bottom: var(--space-xl);
}
.about__title-accent { color: var(--color-accent); }

/* Big stat callout */
.about__stat {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-left: 3px solid var(--color-accent);
    background: rgba(201,168,76,0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about__stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    line-height: 1;
}
.about__stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about__body {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}
.about__body strong { color: var(--color-text); }
.about__body:last-of-type { margin-bottom: var(--space-xl); }

/* Float keyframe */
@keyframes bcr-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Card stack illustration */
.about__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl);
}
.about__card-stack {
    position: relative;
    width: 260px;
    height: 364px; /* 5:7 */
    animation: bcr-float 4s ease-in-out infinite;
}
.about__stack-card {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1.5px solid var(--color-border);
}
.about__stack-card--3 {
    background: #111;
    transform: rotate(-6deg) translateY(8px);
}
.about__stack-card--2 {
    background: #141414;
    transform: rotate(-3deg) translateY(4px);
}
.about__stack-card--1 {
    background: var(--color-bg-card);
    border-color: var(--color-accent);
    transform: rotate(0);
    box-shadow:
        0 12px 48px rgba(0,0,0,0.6),
        0 0 40px rgba(201,168,76,0.18),
        inset 0 0 60px rgba(201,168,76,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about__stack-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}
.about__stack-prefix {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    opacity: .7;
}
.about__stack-id {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--color-white);
    line-height: 1;
}
.about__stack-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 160px;
}

/* Responsive */
@media ( max-width: 900px ) {
    .about__inner {
        grid-template-columns: 1fr;
    }
    .about__visual { display: none; }
}
@media ( max-width: 640px ) {
    .hero__search-btn { padding: 0 14px; font-size: 11px; }
    .hero__stats { gap: var(--space-lg); }
    .hero__stat-sep { display: none; }
    .featured-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
}

/* =========================================================
   Blog Archive
   ========================================================= */
.blog-archive {
    padding-block: var(--space-3xl) 100px;
}
.blog-archive__header {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-lg);
    border-bottom: var(--border);
}
.blog-archive__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-sm);
}
.blog-archive__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    margin-top: var(--space-sm);
}
.blog-archive__subtitle {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    margin-top: var(--space-md);
}

/* ── Blog Grid ──────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}
.blog-grid--related {
    margin-bottom: 0;
}

/* ── Blog Card ──────────────────────────────────────────── */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.blog-card:hover {
    border-color: rgba(201,168,76,0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}

/* Image */
.blog-card__image-link { display: block; }
.blog-card__image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-alt);
}
.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__image {
    transform: scale(1.04);
}
.blog-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card__image-placeholder svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Body */
.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-lg);
    gap: var(--space-sm);
}
.blog-card__cat {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    align-self: flex-start;
    transition: color 0.2s;
}
.blog-card__cat:hover { color: var(--color-white); }
.blog-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--color-white);
}
.blog-card__title--sm { font-size: var(--text-lg); }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--color-accent); }
.blog-card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.7;
    flex: 1;
}
.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: var(--border);
    gap: var(--space-sm);
    flex-wrap: wrap;
}
.blog-card__date {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}
.blog-card__more {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    white-space: nowrap;
    transition: color 0.2s;
}
.blog-card__more:hover { color: var(--color-white); }

/* ── Pagination ─────────────────────────────────────────── */
.blog-pagination {
    display: flex;
    justify-content: center;
}
.blog-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
}
.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 12px;
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: border-color 0.2s, color 0.2s;
}
.blog-pagination .page-numbers li a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.blog-pagination .page-numbers li .current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    font-weight: 700;
}

.blog-empty {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--color-text-muted);
}

/* =========================================================
   Single Post
   ========================================================= */

/* ── Post Hero ──────────────────────────────────────────── */
.post-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    background: var(--color-bg-alt);
    background-image: var(--post-hero-bg);
    background-size: cover;
    background-position: center;
    padding-bottom: var(--space-3xl);
}
.post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(13,13,13,0.92) 100%
    );
}
.post-hero--has-image .post-hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(13,13,13,0.95) 100%
    );
}
.post-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}
.post-hero__cat {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    border: 1px solid rgba(201,168,76,0.4);
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: var(--space-md);
    transition: background 0.2s, color 0.2s;
}
.post-hero__cat:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}
.post-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}
.post-hero__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}
.post-hero__meta-sep { opacity: .4; }

/* ── Post Content ───────────────────────────────────────── */
.post-content-wrap {
    padding-block: var(--space-3xl);
}
.post-content {
    max-width: 720px;
    margin-inline: auto;
    font-size: var(--text-lg);
    line-height: 1.85;
    color: var(--color-text);
}
.post-content p        { margin-bottom: var(--space-lg); }
.post-content h2,
.post-content h3,
.post-content h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}
.post-content h2 { font-size: var(--text-3xl); }
.post-content h3 { font-size: var(--text-2xl); }
.post-content h4 { font-size: var(--text-xl); }
.post-content a  { color: var(--color-accent); text-decoration: underline; }
.post-content a:hover { color: var(--color-white); }
.post-content strong { color: var(--color-white); font-weight: 600; }
.post-content blockquote {
    border-left: 3px solid var(--color-accent);
    background: rgba(201,168,76,0.04);
    margin-inline: 0;
    padding: var(--space-md) var(--space-lg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--color-text-muted);
    font-style: italic;
}
.post-content ul,
.post-content ol {
    padding-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}
.post-content li { margin-bottom: var(--space-xs); }
.post-content img {
    border-radius: var(--radius-md);
    margin-block: var(--space-xl);
}
.post-content pre,
.post-content code {
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    padding: 2px 6px;
}
.post-content pre {
    padding: var(--space-md);
    overflow-x: auto;
    margin-bottom: var(--space-lg);
}
.post-content pre code { padding: 0; border: none; background: none; }

/* Tags */
.post-tags {
    max-width: 720px;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    border-top: var(--border);
}
.post-tag {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    border: var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    transition: border-color 0.2s, color 0.2s;
}
.post-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Back link */
.post-back {
    max-width: 720px;
    margin-inline: auto;
    margin-top: var(--space-xl);
}
.post-back__link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    border: var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s, color 0.2s;
}
.post-back__link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ── Related Posts ──────────────────────────────────────── */
.related-posts {
    padding-block: var(--space-3xl) 100px;
    border-top: 1px solid rgba(201,168,76,0.3);
}
.related-posts__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-white);
    margin-bottom: var(--space-xl);
}

/* ── Blog responsive ────────────────────────────────────── */
@media ( max-width: 900px ) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media ( max-width: 600px ) {
    .blog-grid { grid-template-columns: 1fr; }
    .post-hero { min-height: 360px; }
    .post-content { font-size: var(--text-base); }
}

/* =========================================================
   Rookie Badge — Registry Table
   ========================================================= */
.bcr-rookie-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 7px;
    position: relative;
    top: -1px;
    color: var(--color-accent);
    flex-shrink: 0;
    cursor: default;
}
.bcr-rookie-icon {
    width: 24px;
    height: 26px;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 0 4px rgba(201,168,76,0));
}
.bcr-rookie-badge:hover .bcr-rookie-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px rgba(201,168,76,0.6));
}
/* Row highlight for rookie cards */
.bcr-row--rookie {
    background: rgba(201,168,76,0.04);
}
.bcr-row--rookie:hover {
    background: rgba(201,168,76,0.09);
}
/* Boxer cell with rookie badge: keep items aligned */
.bcr-col-boxer {
    display: flex;
    align-items: center;
    gap: 0;
}

/* =========================================================
   Photo Gallery — Landing Page
   ========================================================= */
.photo-gallery {
    padding-block: var(--space-2xl);
    background: var(--color-bg);
}
.photo-gallery__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    max-width: 1400px;
    margin: 0 auto;
    height: 560px;
}
.photo-gallery__item {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-card);
    text-decoration: none;
    cursor: pointer;
}
.photo-gallery__item--large {
    grid-row: 1 / 3;
}
.photo-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease, filter 0.4s ease;
    filter: brightness(0.8) saturate(0.75);
}
.photo-gallery__item:hover .photo-gallery__img {
    transform: scale(1.05);
    filter: brightness(0.65) saturate(0.6);
}
.photo-gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    pointer-events: none;
}
.photo-gallery__label {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.65);
    transition: color 0.3s, opacity 0.3s;
    line-height: 1;
}
.photo-gallery__item:hover .photo-gallery__label {
    color: var(--color-accent);
}
@media ( max-width: 768px ) {
    .photo-gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 220px 220px;
        height: auto;
    }
    .photo-gallery__item--large {
        grid-row: 1;
    }
}

/* =========================================================
   Promo / CTA Banner — Landing Page
   ========================================================= */
.promo-banner {
    position: relative;
    padding-block: 120px;
    overflow: hidden;
    background: var(--color-bg-card);
}
.promo-banner__bg {
    position: absolute;
    inset: 0;
    background-image: var(--promo-bg, url('https://images.pexels.com/photos/3531081/pexels-photo-3531081.jpeg?auto=compress&cs=tinysrgb&w=1920'));
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.35) saturate(0.5);
    transform: scale(1.04);
    transition: transform 10s ease;
    will-change: transform;
}
.promo-banner:hover .promo-banner__bg {
    transform: scale(1.08);
}
.promo-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,13,13,0.88) 0%,
        rgba(13,13,13,0.45) 60%,
        rgba(13,13,13,0.75) 100%
    );
}
.promo-banner__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}
.promo-banner__eyebrow {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin: 0;
}
.promo-banner__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
    line-height: 1.05;
    margin: 0;
}
.promo-banner__title span {
    color: var(--color-accent);
}
.promo-banner__text {
    color: var(--color-text-muted);
    font-size: var(--text-lg);
    max-width: 520px;
    line-height: 1.75;
    margin: 0;
}
@media ( max-width: 640px ) {
    .promo-banner { padding-block: 80px; }
    .promo-banner__title { font-size: 2rem; }
    .promo-banner__text { font-size: var(--text-base); }
}

/* =========================================================
   Contact Page — Hero
   ========================================================= */
.contact-hero {
    position: relative;
    padding-block: 100px 90px;
    overflow: hidden;
    background: var(--color-bg-card);
}
.contact-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--contact-hero-bg, url('https://images.pexels.com/photos/8744796/pexels-photo-8744796.jpeg?auto=compress&cs=tinysrgb&w=1920'));
    background-size: cover;
    background-position: center 40%;
    filter: brightness(0.25) saturate(0.4);
}
.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,13,13,0.5) 0%, rgba(13,13,13,0.85) 100%);
}
.contact-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.contact-hero__eyebrow {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    margin: 0 0 var(--space-md);
}
.contact-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
    line-height: 1;
    margin: 0 0 var(--space-lg);
}
.contact-hero__title span {
    color: var(--color-accent);
}
.contact-hero__sub {
    color: var(--color-text-muted);
    font-size: var(--text-lg);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =========================================================
   Contact Page — Layout
   ========================================================= */
.contact-section {
    padding-block: var(--space-3xl) 100px;
    background: var(--color-bg);
}
.contact-section__inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-3xl);
    align-items: start;
}

/* =========================================================
   Contact Form
   ========================================================= */
.contact-form-wrap {
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}
.contact-form__heading {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    margin: 0 0 var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}
.contact-form__heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    margin-top: var(--space-sm);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-form__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.contact-form__required {
    color: var(--color-accent);
    margin-left: 2px;
}
.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: var(--color-text-muted);
}
.contact-form__input:focus,
.contact-form__textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.contact-form__input.is-error {
    border-color: #e05555;
}
.contact-form__textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}
.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 36px;
    background: var(--color-accent);
    color: #0d0d0d;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    align-self: flex-start;
}
.contact-form__submit svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.contact-form__submit:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.contact-form__submit:active {
    transform: translateY(0);
}

/* Alerts */
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}
.contact-alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.contact-alert ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.contact-alert--success {
    background: rgba(74, 180, 110, 0.12);
    border: 1px solid rgba(74, 180, 110, 0.35);
    color: #6fd49a;
}
.contact-alert--error {
    background: rgba(224, 85, 85, 0.1);
    border: 1px solid rgba(224, 85, 85, 0.3);
    color: #f08080;
}

/* =========================================================
   Contact Info Cards (sidebar)
   ========================================================= */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.contact-info__card {
    background: var(--color-bg-card);
    border: var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: border-color 0.25s;
}
.contact-info__card:hover {
    border-color: rgba(201,168,76,0.3);
}
.contact-info__card--accent {
    border-color: rgba(201,168,76,0.2);
    background: linear-gradient(135deg, rgba(201,168,76,0.07) 0%, var(--color-bg-card) 60%);
}
.contact-info__icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}
.contact-info__icon svg {
    width: 22px;
    height: 22px;
}
.contact-info__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-white);
    margin: 0 0 var(--space-sm);
}
.contact-info__text {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media ( max-width: 900px ) {
    .contact-section__inner {
        grid-template-columns: 1fr;
    }
    .contact-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media ( max-width: 640px ) {
    .contact-form-wrap { padding: var(--space-lg); }
    .contact-form__row { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }
    .contact-hero { padding-block: 70px 60px; }
}
