/* =============================================================================
   HRHH — main.css
   Complete stylesheet matching all PHP template BEM class names.
   Last rewrite: 2026-04-11
   ============================================================================= */

/* ─── Custom Properties ──────────────────────────────────────────────────────── */
:root {
    --bg:           #FFFCF0;
    --surface:      #FFFFFF;
    --border:       #EDE8DF;
    --navy:         #1B3A8C;
    --gold:         #FFD600;
    --coral:        #FF5C35;
    --text:         #1B3A8C;
    --text-muted:   #6B635C;

    /* Show accent palette */
    --socal-teal:   #06B6D4;
    --bh-green:     #0D4A2B;
    --bh-tan:       #C9A96E;
    --espn-red:     #D00000;

    --radius:       8px;
    --transition:   0.18s ease;
    --space-8:      32px;   /* referenced inline in front-page.php */
}

/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
}
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    display: block;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}


/* =============================================================================
   LAYOUT
   ============================================================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 64px 0;
}
.section--cream {
    background: var(--bg);
}
.section--navy {
    background: var(--navy);
    color: #fff;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .grid-3,
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}
.section--navy .section-title {
    color: #fff;
}
.section-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--coral);
    text-decoration: none;
}
.section-link:hover {
    text-decoration: underline;
}


/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity var(--transition), transform var(--transition);
    line-height: 1;
}
.btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn--coral {
    background: var(--coral);
    color: #fff;
}
.btn--gold {
    background: var(--gold);
    color: var(--navy);
}
.btn--navy {
    background: var(--navy);
    color: #fff;
}
.btn--outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn--outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn--sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}
.btn--block {
    display: block;
    width: 100%;
    text-align: center;
}
/* Per-show button variants */
.btn--socal {
    background: #06B6D4;
    color: #fff;
}
.btn--bh {
    background: #0D4A2B;
    color: #C9A96E;
}
.btn--espn {
    background: #D00000;
    color: #fff;
}


/* =============================================================================
   SHOW BADGE
   ============================================================================= */

.show-badge {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 4px;
}


/* =============================================================================
   HEADER / NAVIGATION
   ============================================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
}
.site-header.is-scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

/* .container inside header must not add vertical padding — handled by nav-inner height */
.site-header .container {
    padding-top: 0;
    padding-bottom: 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

/* Top-level <ul> from wp_nav_menu */
.nav-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* All list items */
.nav-menu__list li {
    list-style: none;
    position: relative;
}

/* All links */
.nav-menu__list a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 8px 14px;
    display: block;
    white-space: nowrap;
    transition: color var(--transition);
    border-radius: 4px;
}
.nav-menu__list a:hover,
.nav-menu__list .current-menu-item > a,
.nav-menu__list .current-menu-ancestor > a {
    color: var(--gold);
}

/* Dropdown arrow on parent items */
.nav-menu__list .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.65rem;
    opacity: 0.6;
}

/* Sub-menu — hidden by default */
.nav-menu__list .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    background: var(--navy);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    padding: 6px 0;
    z-index: 999;
    list-style: none;
    margin: 0;
    flex-direction: column;
    gap: 0;
}
.nav-menu__list .sub-menu a {
    padding: 10px 18px;
    border-radius: 0;
    font-size: 0.85rem;
}
.nav-menu__list .sub-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--gold);
}

/* Show sub-menu on hover or keyboard focus */
.nav-menu__list .menu-item-has-children:hover > .sub-menu,
.nav-menu__list .menu-item-has-children:focus-within > .sub-menu {
    display: flex;
    flex-direction: column;
}

.nav-cta {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 4px;
}

/* Mobile nav */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 67px;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 24px;
        border-bottom: 3px solid var(--gold);
        z-index: 998;
    }
    .nav-menu.is-open {
        display: block;
    }
    .nav-menu__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .nav-menu__list li {
        width: 100%;
    }
    .nav-menu__list a {
        padding: 10px 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-menu__list .sub-menu {
        display: flex;
        position: static;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        min-width: 0;
    }
    .nav-menu__list .sub-menu a {
        padding: 8px 0;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.5);
    }
    .nav-toggle {
        display: block;
    }
    .nav-cta {
        display: none;
    }
}


/* =============================================================================
   SHOWS STRIP  (below nav inside header)
   ============================================================================= */

.shows-strip {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.shows-strip__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.shows-strip__item {
    display: block;
    padding: 8px 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
}
.shows-strip__item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.shows-strip__item--hrhh  { color: var(--gold); }
.shows-strip__item--socal { color: #06B6D4; }
.shows-strip__item--bh    { color: #0D4A2B; }
.shows-strip__item--espn  { color: #D00000; }
.shows-strip__item--hrhh:hover  { color: #fff; background: rgba(255,214,0,0.15); }
.shows-strip__item--socal:hover { color: #fff; background: rgba(6,182,212,0.15); }
.shows-strip__item--bh:hover    { color: #fff; background: rgba(13,74,43,0.3); }
.shows-strip__item--espn:hover  { color: #fff; background: rgba(208,0,0,0.2); }

@media (max-width: 768px) {
    .shows-strip { display: none; }
}


/* =============================================================================
   HERO  (front-page.php)
   ============================================================================= */

.hero {
    background: var(--navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    right: -100px;
    top: 0;
    bottom: 0;
    width: 400px;
    background: var(--gold);
    opacity: 0.06;
    transform: skewX(-12deg);
}

.hero__inner {
    display: flex;
    align-items: center;
    gap: 48px;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.hero__text {
    flex: 1;
}
.hero__eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 12px;
}
.hero__headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    text-transform: uppercase;
    color: #fff;
    line-height: 0.95;
    margin-bottom: 16px;
}
.hero__sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero__media {
    flex-shrink: 0;
    width: 280px;
}
.hero__logo-mark {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero__inner {
        flex-direction: column;
    }
    .hero__headline {
        font-size: 3rem;
    }
    .hero__media {
        display: none;
    }
}


/* =============================================================================
   CARDS  (.card + BEM elements)
   ============================================================================= */

.card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.18s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(27, 58, 140, 0.1);
}

/* Thumbnail link wrapper */
.card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.card:hover .card__thumb img {
    transform: scale(1.04);
}

/* Video thumb variant */
.card__thumb--video {
    position: relative;
}
.card__play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    transition: opacity var(--transition);
}
.card__play-btn svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Card body */
.card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Meta row */
.card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.card__ep-num {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.card__date {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.card__duration {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Title */
.card__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
}
.card__title a {
    color: inherit;
    text-decoration: none;
}
.card__title a:hover {
    color: var(--coral);
}

/* Excerpt */
.card__excerpt {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

/* Footer row inside card */
.card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
}

/* Article card read-more */
.card__read-more {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--coral);
    text-decoration: none;
    margin-top: auto;
}
.card__read-more:hover {
    text-decoration: underline;
}

/* Tip-sheet card specifics */
.card__featured-horse {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--navy);
}
.card__tracks {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* =============================================================================
   GOLD BAND  (email CTA — footer.php)
   ============================================================================= */

.gold-band {
    background: var(--gold);
    padding: 64px 0;
}
.gold-band__inner {
    display: flex;
    align-items: center;
    gap: 48px;
    justify-content: space-between;
}
.gold-band__text {
    flex: 1;
}
.gold-band__heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}
.gold-band__sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--navy);
    opacity: 0.8;
}
.gold-band__form {
    flex-shrink: 0;
    width: 360px;
}
/* Beehiiv embed wrapper — sits inside gold-band__form */
.beehiiv-embed {
    width: 100%;
}

@media (max-width: 768px) {
    .gold-band__inner {
        flex-direction: column;
    }
    .gold-band__form {
        width: 100%;
    }
}


/* =============================================================================
   FOOTER  (.site-footer + BEM elements)
   ============================================================================= */

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.site-footer__brand img {
    height: 250px !important;
    width: auto !important;
    max-width: none;
}
.site-footer__tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.site-footer__social {
    display: flex;
    gap: 16px;
}
.site-footer__social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}
.site-footer__social a:hover {
    color: var(--gold);
}

/* Footer column — generic wrapper used in footer.php */
.site-footer__col {}

.site-footer__heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 16px;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.site-footer__links a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}
.site-footer__links a:hover {
    color: #fff;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.site-footer__bottom p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* wp_nav_menu with menu_class="site-footer__bottom-nav" */
.site-footer__bottom-links {}   /* nav wrapper */
.site-footer__bottom-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}
.site-footer__bottom-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}
.site-footer__bottom-nav a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color var(--transition);
}
.site-footer__bottom-nav a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}


/* =============================================================================
   ARCHIVE HERO  (archive.php, index.php, page-*.php)
   ============================================================================= */

.archive-hero {
    padding: 48px 0;
}
.archive-hero--navy {
    background: var(--navy);
}
.archive-hero__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}
.archive-hero__sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}


/* =============================================================================
   FILTER BAR  (archive.php, page-episodes.php, page-tip-sheets.php)
   ============================================================================= */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.filter-bar--stacked {
    flex-direction: column;
    gap: 12px;
}
.filter-bar__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.filter-bar__label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.filter-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    background: transparent;
    transition: all 0.18s;
    cursor: pointer;
}
.filter-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}
.filter-btn--active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}


/* =============================================================================
   PAGINATION  (archive.php, page-episodes.php, page-tip-sheets.php, index.php)
   ============================================================================= */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--navy);
    transition: all var(--transition);
}
.pagination .current {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.pagination a:hover {
    border-color: var(--navy);
    background: var(--bg);
}


/* =============================================================================
   SIDEBAR WIDGETS  (single.php, single-hrhh_video.php, page-race-day.php)
   ============================================================================= */

.sidebar-widget {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-widget__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 0;
}
/* Sub-element used in single.php sidebar */
.sidebar-widget__name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--navy);
}
.sidebar-widget--tipsheet {
    border-left: 4px solid var(--coral);
}
.sidebar-widget--email {
    border-left: 4px solid var(--gold);
}
.sidebar-widget--discord {
    border-left: 4px solid #5865F2;
}

.sticky-ad {
    position: sticky;
    top: 80px;
}


/* =============================================================================
   AD ZONES  (all templates)
   ============================================================================= */

.ad-zone {
    text-align: center;
    overflow: hidden;
}
.ad-zone--leaderboard {
    margin-bottom: 32px;
    min-height: 90px;
}
.ad-zone--sidebar {
    margin-bottom: 24px;
}
.ad-zone--infeed {
    margin: 32px 0;
}


/* =============================================================================
   SINGLE POST / EPISODE / ARTICLE / VIDEO
   (single.php, single-hrhh_video.php — share .single-post__* classes)
   ============================================================================= */

.single-post {
    padding: 48px 0;
}
.single-episode {
    padding: 48px 0;
}
.single-article {
    padding: 48px 0;
}
.single-video {
    padding: 48px 0;
}

.single-post__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.single-post__main {}

.single-post__header {
    margin-bottom: 24px;
}
.single-post__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.single-post__meta time {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.single-post__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.75rem;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
    line-height: 1.1;
}
.single-post__guests {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}
.single-post__featured-img {
    margin-bottom: 32px;
    border-radius: var(--radius);
    overflow: hidden;
}
.single-post__featured-img img {
    width: 100%;
    height: auto;
}
.single-post__content {
    line-height: 1.7;
    font-size: 1rem;
}
.single-post__content h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-top: 2em;
}
.single-post__content p {
    margin-bottom: 1.25em;
}
.single-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.single-post__sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Episode meta in single view */
.episode-num {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.episode-duration {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Tags */
.tag-pill {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition);
}
.tag-pill:hover {
    border-color: var(--navy);
    color: var(--navy);
}

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


/* =============================================================================
   SPOTIFY PLAYER  (single.php, page-race-day.php)
   ============================================================================= */

.spotify-player {
    margin-bottom: 32px;
    border-radius: var(--radius);
    overflow: hidden;
}
.spotify-player iframe {
    width: 100%;
    display: block;
}


/* =============================================================================
   VIDEO EMBED  (single-hrhh_video.php)
   ============================================================================= */

.video-embed {
    margin-bottom: 32px;
}
.video-embed__responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
}
.video-embed__responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* =============================================================================
   AUTHOR BIO  (single.php)
   ============================================================================= */

.author-bio {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
/* WordPress outputs avatar as <img> directly — target it via .author-bio img */
.author-bio img {
    border-radius: 50%;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    object-fit: cover;
}
.author-bio__text {
    flex: 1;
}
.author-bio__name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 4px;
}
.author-bio__desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}


/* =============================================================================
   RELATED POSTS  (single.php, single-hrhh_tipsheet.php)
   ============================================================================= */

.related-posts {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}
.related-posts__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 24px;
}


/* =============================================================================
   SHOW HUB  (page-show-hub.php)
   ============================================================================= */

.show-hub-hero {
    padding: 80px 0;
    position: relative;
}
.show-hub-hero__inner {
    display: flex;
    align-items: center;
    gap: 48px;
}
.show-hub-hero__logo {
    flex-shrink: 0;
    width: 200px;
}
.show-hub-hero__logo img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}
/* Text column of the hub hero */
.show-hub-hero__text {
    flex: 1;
}
.show-hub-hero__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 16px;
    /* color set inline via PHP */
}
.show-hub-hero__desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}
.show-hub-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.show-hub {
    padding-bottom: 64px;
}
.show-hub__section {
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .show-hub-hero__inner {
        flex-direction: column;
    }
    .show-hub-hero__logo {
        width: 140px;
    }
    .show-hub-hero__title {
        font-size: 2.5rem;
    }
}


/* =============================================================================
   SHOWS GRID + SHOW CARDS  (front-page.php, page-about.php)
   ============================================================================= */

.shows-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.show-card {
    display: flex;
    align-items: stretch;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: transform 0.18s;
    color: inherit;
}
.show-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(27, 58, 140, 0.12);
}

.show-card__logo {
    width: 140px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.show-card__logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.show-card__body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.show-card__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
}
.show-card__desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: #4A5568;
    line-height: 1.5;
    flex: 1;
}

/* Per-show logo background colours */
.show-card--hrhh  .show-card__logo { background: var(--navy); }
.show-card--socal .show-card__logo { background: #0891B2; }
.show-card--bh    .show-card__logo { background: #0D4A2B; }
.show-card--espn  .show-card__logo { background: #B91C1C; }

@media (max-width: 600px) {
    .shows-grid { grid-template-columns: 1fr; }
}


/* =============================================================================
   TIPSHEET FEATURE  (front-page.php — navy section)
   ============================================================================= */

.tipsheet-feature {
    text-align: center;
    padding: 16px 0;
}
.tipsheet-feature__label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 12px;
}
.tipsheet-feature__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}
.tipsheet-feature__horse {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}
.tipsheet-feature__date {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}
.tipsheet-feature__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}


/* =============================================================================
   SINGLE TIP SHEET  (single-hrhh_tipsheet.php)
   ============================================================================= */

.single-tipsheet {
    padding: 48px 0;
}
.tipsheet-single {
    max-width: 800px;
    margin: 0 auto;
}
.tipsheet-single__header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.tipsheet-single__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.tipsheet-single__meta time {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.tipsheet-single__tracks {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.tipsheet-single__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 12px;
}
.tipsheet-single__horse {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 20px;
}
.tipsheet-single__content {
    line-height: 1.7;
}


/* =============================================================================
   RACE DAY HUB  (page-race-day.php)
   ============================================================================= */

.race-day-hub {}

.race-day-hero {
    background: var(--navy);
    padding: 64px 0;
}
.race-day-hero__inner {
    text-align: center;
}
.race-day-hero__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.race-day-hero__label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
}
.race-day-hero__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}
.race-day-hero__sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
}

/* LIVE badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    background: var(--coral);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

/* Hub two-column layout */
.race-day-hub__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    padding: 48px 0;
}
.race-day-hub__main {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.race-day-hub__sidebar {}

/* Sections within race day main column */
.race-day-section {}
.race-day-section__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}

/* Today's tip sheet highlight card */
.tipsheet-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    gap: 16px;
}
.tipsheet-highlight__info {}
.tipsheet-highlight__horse {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Latest episode highlight */
.episode-highlight {
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.episode-highlight h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .race-day-hub__layout {
        grid-template-columns: 1fr;
    }
}


/* =============================================================================
   ABOUT PAGE  (page-about.php)
   ============================================================================= */

.about-page {}

.about-hero {
    background: var(--navy);
    padding: 64px 0;
    text-align: center;
}
.about-hero__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    text-transform: uppercase;
    color: #fff;
}
.about-hero__sub {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.about-content {
    max-width: 800px;
    margin: 48px auto;
    line-height: 1.7;
    font-size: 1rem;
}

.about-team {
    margin: 64px 0;
}
.about-team__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 32px;
}
.about-team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.host-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.host-card__photo {
    aspect-ratio: 1;
    overflow: hidden;
}
.host-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.host-card__info {
    padding: 20px;
}
.host-card__name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 4px;
}
.host-card__role {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--coral);
    margin-bottom: 12px;
}
.host-card__bio {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: #4A5568;
    line-height: 1.5;
}

.about-shows {
    margin: 64px 0;
}
.about-shows__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 32px;
}

.advertise-cta {
    background: var(--navy);
    padding: 48px;
    border-radius: var(--radius);
    text-align: center;
    color: #fff;
    margin-bottom: 64px;
}
.advertise-cta h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.advertise-cta a {
    color: var(--gold);
}

@media (max-width: 768px) {
    .about-team__grid { grid-template-columns: 1fr; }
}


/* =============================================================================
   404 PAGE  (404.php)
   ============================================================================= */

.error-404 {
    padding: 96px 0;
    text-align: center;
}
.error-404__inner {
    max-width: 560px;
    margin: 0 auto;
}
.error-404__number {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 8rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0;
}
.error-404__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}
.error-404__msg {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}
.error-404__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}


/* =============================================================================
   SHOP PAGE  (page-shop.php)
   ============================================================================= */

.shop-page {}

.shop-content {
    padding: 48px 0;
}
.shopify-embed {
    margin-top: 32px;
}


/* =============================================================================
   PAGE TEMPLATE  (page.php)
   ============================================================================= */

.page-content {}

.page-article {
    max-width: 800px;
    margin: 48px auto;
}
.page-article__header {}
.page-article__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 24px;
}
.page-article__featured-img {
    margin-bottom: 32px;
    border-radius: var(--radius);
    overflow: hidden;
}
.page-article__featured-img img {
    width: 100%;
    height: auto;
}
/* entry-content used inside page-article in page.php */
.page-article__content {}


/* =============================================================================
   ENTRY CONTENT  (WordPress rich text — shared across templates)
   ============================================================================= */

.entry-content {
    line-height: 1.7;
    font-size: 1rem;
}
.entry-content h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    text-transform: uppercase;
    color: var(--navy);
    margin: 2em 0 0.5em;
}
.entry-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--navy);
    margin: 1.5em 0 0.5em;
}
.entry-content p {
    margin-bottom: 1.25em;
}
.entry-content a {
    color: var(--coral);
}
.entry-content a:hover {
    text-decoration: underline;
}
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}
.entry-content li {
    margin-bottom: 0.5em;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}
.entry-content .wp-caption,
.single-post__content .wp-caption {
    max-width: 100% !important;
    width: auto !important;
    margin-bottom: 1.25em;
    overflow: hidden;
    border-radius: var(--radius);
}
.entry-content .wp-caption img,
.single-post__content .wp-caption img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0;
    border-radius: 0;
}
.entry-content .wp-caption-text,
.entry-content figcaption,
.single-post__featured-img figcaption {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 6px;
    line-height: 1.4;
}


/* =============================================================================
   ARCHIVE / INDEX PAGE WRAPPERS  (misc)
   ============================================================================= */

.archive-page {}
.blog-index {}
.episodes-archive {}
.tipsheets-archive {}


/* =============================================================================
   NO RESULTS
   ============================================================================= */

.no-results {
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}


/* =============================================================================
   UTILITIES
   ============================================================================= */

/* Skip link — visible on focus for keyboard users */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

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

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .live-badge {
        animation: none;
    }
}
