/*
Theme Name: GoBet
Theme URI: https://www.gobet.com.au
Author: GoBet
Author URI: https://www.gobet.com.au
Description: Custom lightweight WordPress theme for GoBet.com.au - Australian betting tips and reviews.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gobet
*/

/* ============================================================
   0. CSS VARIABLES / DESIGN TOKENS
   ============================================================ */
:root {
    --contrast: #000000;
    --contrast-2: #1b1b42;
    --contrast-3: #9898b1;
    --base: #e1e6ed;
    --base-2: #f2f5fa;
    --base-3: #ffffff;
    --accent: #00FE73;
    --accent-hover: #009945;
    --gold: #FFB822;
    --red: #FD195B;
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --max-width: 1200px;
    --content-width: 800px;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--contrast);
    background: var(--base-3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.2;
}
h1 { font-size: 40px; line-height: 1.1; }
h2 { font-size: 32px; }
h3 { font-size: 24px; line-height: 1.3; }
h4 { font-size: 20px; line-height: 1.4; }
p { margin-bottom: 1em; }

@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 30px; }
    h2 { font-size: 26px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }
    p { margin-bottom: 0.8em; }
}

/* ============================================================
   3. LAYOUT CONTAINERS
   ============================================================ */
.gb-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.gb-container--narrow { max-width: var(--content-width); }

@media (max-width: 768px) {
    .gb-container { padding: 0 10px; }
}

/* ============================================================
   4. HEADER
   ============================================================ */
/* Static header (404, standard pages, sitemap) */
.site-header { background: #000; }
/* Absolute header (dark hero pages) */
.site-header--absolute {
    position: absolute; top: 0; left: 0; right: 0; z-index: 100;
    background: #000;
}
.header-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 80px;
}
.header-logo img { max-height: 80px; max-width: 120px; width: auto; }
.header-right { display: flex; align-items: center; gap: 12px; }

/* CTA Button */
.nav-cta {
    font-family: var(--font-heading); font-weight: 800; font-size: 14px;
    color: var(--accent); border: 2px solid var(--accent); border-radius: 6px;
    padding: 8px 14px; background: transparent;
    transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
    animation: cta-breathe 2.5s ease-in-out infinite;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: #000; }
.nav-cta:hover .nav-cta__badge { background: #000; color: #fff; }
.nav-cta__badge {
    background: var(--red); color: #fff; font-size: 12px; font-weight: 800;
    padding: 1px 5px; border-radius: 3px;
    animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes cta-breathe {
    0%, 100% { border-color: rgba(0,254,115,0.35); }
    50% { border-color: rgba(0,254,115,1); }
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* Hamburger */
.hamburger-btn {
    background: none; border: none; color: var(--base-3);
    padding: 10px 0 10px 16px; display: flex; align-items: center;
}
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.hamburger-icon span { display: block; height: 2px; background: var(--base-3); border-radius: 2px; }

/* Smart sticky */
.site-header--sticky {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.site-header--sticky.is-visible { transform: translateY(0); }
.site-header--sticky.is-visible { box-shadow: 0 2px 10px rgba(0,0,0,0.3); }

@media (max-width: 768px) {
    .header-inner { padding: 0 10px; min-height: 60px; }
    .header-logo img { max-height: 40px; max-width: 90px; }
    .nav-cta { font-size: 11px; padding: 5px 8px; gap: 4px; }
    .nav-cta__badge { font-size: 10px; padding: 1px 4px; }
}

/* ============================================================
   5. SLIDEOUT MENU
   ============================================================ */
.slideout-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 998;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.slideout-overlay.is-open { opacity: 1; visibility: visible; }
.slideout-menu {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; background: #000; z-index: 999;
    transform: translateX(-100%); transition: transform 0.3s ease;
    overflow-y: auto; padding: 20px;
}
.slideout-menu.is-open { transform: translateX(0); }
.slideout-menu__logo { margin-bottom: 20px; }
.slideout-menu__logo img { max-height: 40px; }
.slideout-menu__cta {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-bottom: 20px;
    font-family: var(--font-heading); font-weight: 800; font-size: 14px;
    color: var(--accent); border: 2px solid var(--accent); border-radius: 6px;
    padding: 10px 14px; background: transparent; transition: all 0.2s;
    text-decoration: none;
}
.slideout-menu__cta:hover { background: var(--accent); color: #000; }
.slideout-menu__cta-badge {
    background: var(--red); color: #fff; font-size: 12px; font-weight: 800;
    padding: 1px 5px; border-radius: 3px;
}
.slideout-menu__label {
    font-family: var(--font-heading); font-weight: 700; font-size: 10px;
    color: #444; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 8px; padding: 14px 2px 6px;
}
.slideout-menu__nav a, .slideout-menu__nav li a {
    display: block; font-family: var(--font-heading); font-weight: 800;
    font-size: 15px; color: #ddd; padding: 9px 0; letter-spacing: -0.3px;
    border-bottom: 1px solid rgba(255,255,255,0.04); transition: color 0.2s;
    text-decoration: none;
}
.slideout-menu__nav a:hover, .slideout-menu__nav li a:hover { color: var(--accent); }
.slideout-menu__nav li { list-style: none; }
.slideout-menu__more-toggle {
    background: none; border: none; font-family: var(--font-heading);
    font-weight: 800; font-size: 16px; color: #fff; padding: 8px 0;
    display: flex; align-items: center; gap: 6px; width: 100%;
}
.slideout-menu__more-toggle svg {
    width: 12px; height: 12px; fill: #fff; transition: transform 0.2s;
}
.slideout-menu__more-toggle.is-open svg { transform: rotate(180deg); }
.slideout-menu__sub { display: none; padding-left: 16px; }
.slideout-menu__sub.is-open { display: block; }
.slideout-menu__sub a {
    font-size: 14px; font-weight: 700; color: #999;
    border-bottom: 1px solid rgba(255,255,255,0.03); text-decoration: none;
}
.slideout-menu__utility { padding: 12px 20px; border-top: 1px solid #111; }
.slideout-menu__utility a, .slideout-menu__utility li a {
    display: block; font-family: var(--font-heading); font-weight: 700;
    font-size: 13px; color: #555; padding: 6px 0; transition: color 0.2s;
    text-decoration: none; list-style: none;
}
.slideout-menu__utility a:hover, .slideout-menu__utility li a:hover { color: #888; }
.slideout-menu__utility li { list-style: none; }
.slideout-menu__social {
    display: flex; gap: 10px; padding: 8px 20px 20px;
}
.slideout-menu__social a {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 8px;
    background: rgba(255,255,255,0.06); color: #555;
    transition: all 0.2s; text-decoration: none;
}
.slideout-menu__social a:hover { background: var(--accent); color: #000; }
.slideout-menu__social svg { width: 16px; height: 16px; }
.slideout-close {
    position: fixed; top: 12px; left: 288px;
    background: rgba(0,0,0,0.8); border: 2px solid #444; border-radius: 50%;
    color: #fff; font-size: 18px; line-height: 1;
    width: 38px; height: 38px;
    display: none; align-items: center; justify-content: center;
    cursor: pointer; z-index: 1001;
    transition: background 0.2s;
}
.slideout-close:hover { background: var(--red); border-color: var(--red); }

/* ============================================================
   6. DARK HERO SECTIONS
   ============================================================ */
.dark-hero { background: #000; color: #fff; }
.dark-hero--with-header { padding-top: 80px; }
.dark-hero__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.dark-hero__inner--narrow { max-width: var(--content-width); margin: 0 auto; padding: 0 20px; }

/* Dark hero inner padding */
.dark-hero__inner { padding-bottom: 1px; }
.dark-hero__inner--narrow { padding-bottom: 0; }

@media (max-width: 768px) {
    .dark-hero--with-header { padding-top: 70px !important; }
    .dark-hero__inner, .dark-hero__inner--narrow { padding: 0 10px; }
    .dark-hero__inner { padding-bottom: 1px; }
}

/* ============================================================
   7. BREADCRUMBS
   ============================================================ */
/* On dark hero */
.breadcrumbs { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 15px; padding-top: 15px; }
.breadcrumbs a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .breadcrumb-sep { margin: 0 6px; }
/* On white pages */
.breadcrumbs--light { color: var(--contrast-3); padding: 8px 0 0; margin-bottom: 8px; }
.breadcrumbs--light a { color: var(--contrast-2); }
.breadcrumbs--light a:hover { color: var(--accent-hover); }
/* Hide current item on mobile (single posts only) */
@media (max-width: 768px) {
    .breadcrumbs { font-size: 12px; }
    .single .breadcrumbs .breadcrumb-current { display: none; }
    .single .breadcrumbs .breadcrumb-sep:last-of-type { display: none; }
}

/* ============================================================
   8. HERO ELEMENTS
   ============================================================ */
/* Hero title */
.hero-title {
    font-family: var(--font-heading); font-weight: 900;
    font-size: 38px; letter-spacing: -1px; line-height: 1.1;
    color: #fff; margin-bottom: 16px;
}
@media (max-width: 768px) { .hero-title { font-size: 26px; margin-bottom: 12px; } }

/* Hero intro text */
.hero-intro {
    font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.7);
    max-width: 100%; margin-bottom: 20px;
}
@media (max-width: 768px) { .hero-intro { font-size: 14px; } }

/* Featured image in hero (single post) */
.hero-image { border-radius: 10px; overflow: hidden; margin-bottom: 5px; }
.hero-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }

/* Byline (single post) */
.hero-byline {
    display: flex; align-items: center; gap: 12px; padding-bottom: 30px;
}
.hero-byline__avatar {
    width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
    flex-shrink: 0; border: 2px solid var(--accent);
}
.hero-byline__avatar img,
.hero-byline__avatar .avatar {
    width: 44px !important; height: 44px !important;
    object-fit: cover; border-radius: 50%; display: block;
}
.hero-byline__info { display: flex; flex-direction: column; }
.hero-byline__role {
    font-family: var(--font-heading); font-weight: 700; font-size: 10px;
    color: var(--accent); letter-spacing: 0.5px; text-transform: uppercase; line-height: 1;
}
.hero-byline__name {
    font-family: var(--font-heading); font-weight: 800; font-size: 14px;
    color: #fff; letter-spacing: -0.3px;
}
.hero-byline__name a { color: #fff; transition: color 0.2s; }
.hero-byline__name a:hover { color: var(--accent); }
.hero-byline__badge {
    font-family: var(--font-heading); font-weight: 700; font-size: 10px;
    color: var(--gold); background: rgba(255,184,34,0.12);
    padding: 3px 8px; border-radius: 4px; letter-spacing: 0.3px;
    text-transform: uppercase; white-space: nowrap;
}
.hero-byline__date { font-size: 13px; color: rgba(255,255,255,0.5); margin-left: auto; }
/* Date+badge wrap: hidden on desktop, shown on mobile */
.hero-byline__date-badge-wrap { display: none; }
@media (max-width: 768px) {
    .hero-byline {
        padding-bottom: 20px;
    }
    /* Hide inline date and badge on mobile */
    .hero-byline > .hero-byline__date,
    .hero-byline > .hero-byline__badge {
        display: none;
    }
    /* Show grouped date + badge on right, aligned with job title */
    .hero-byline__date-badge-wrap {
        display: flex; flex-direction: column; align-items: flex-end;
        gap: 3px; margin-left: auto;
    }
    .hero-byline__date-badge-wrap .hero-byline__date {
        display: block; font-size: 11px;
        margin-left: 0; color: rgba(255,255,255,0.5);
    }
    .hero-byline__date-badge-wrap .hero-byline__badge {
        display: inline-block;
    }
}

/* Verified badge (sportsbook reviews, pages with meta) */
.hero-meta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 25px; }
.verified-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-heading); font-weight: 700; font-size: 12px;
    color: var(--accent); letter-spacing: 0.3px;
    background: rgba(0,254,115,0.08); padding: 5px 12px; border-radius: 5px;
}
.verified-badge svg { width: 14px; height: 14px; fill: var(--accent); flex-shrink: 0; }
.hero-date { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ============================================================
   9. SECTION HEADINGS (green left accent bar)
   ============================================================ */
.section-heading {
    font-family: var(--font-heading); font-weight: 900; font-size: 24px;
    letter-spacing: -0.5px; line-height: 1.2;
    display: flex; align-items: center; gap: 12px;
    margin: 35px 0 18px;
}
.section-heading::before {
    content: ''; width: 4px; height: 24px;
    background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
@media (max-width: 768px) {
    .section-heading { font-size: 20px; }
    .section-heading::before { height: auto; align-self: stretch; }
}

/* ============================================================
   10. ARTICLE CARDS (universal horizontal layout - matches approved demo)
   Thumb 40% on left, title + date on right. 2-column grid. No card border.
   ============================================================ */
.article-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin-bottom: 30px;
}
.article-card {
    /* No styling on wrapper - the <a> handles layout */
}
.article-card:hover .article-card__title { color: var(--accent-hover); }
.article-card a {
    display: flex; gap: 15px; align-items: center;
    color: inherit; text-decoration: none;
}
.article-card__thumb {
    flex: 0 0 40%; border-radius: 10px; overflow: hidden; display: block;
}
.article-card__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.article-card__thumb > div { width: 100%; aspect-ratio: 16/10; border-radius: 10px; }
.article-card__body { flex: 1; min-width: 0; }
.article-card__meta {
    display: none; /* Hidden in horizontal layout */
}
.article-card__title {
    font-family: var(--font-heading); font-weight: 800; font-size: 18px;
    letter-spacing: -0.5px; line-height: 1.25; color: var(--contrast);
    margin: 0; transition: color 0.2s;
}
.article-card__date {
    font-family: var(--font-heading); font-size: 11px; font-weight: 700;
    color: var(--contrast-3); margin-top: 5px; letter-spacing: 0.3px;
    display: none;
}

/* 3-column vertical variant (homepage sport sections via layout="vertical") */
.article-grid--3col {
    grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.article-grid--3col .article-card {
    display: block; background: var(--base-3); border-radius: 10px;
    overflow: hidden; border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.15s, box-shadow 0.15s;
}
.article-grid--3col .article-card:hover {
    transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.article-grid--3col .article-card a {
    display: block; gap: 0;
}
.article-grid--3col .article-card__thumb {
    flex: none; width: 100%; border-radius: 0;
}
.article-grid--3col .article-card__body { padding: 12px 14px 16px; }
.article-grid--3col .article-card__meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--contrast-3); margin-bottom: 5px;
}
.article-grid--3col .article-card__cat {
    font-weight: 600; color: var(--accent-hover);
    text-transform: uppercase; letter-spacing: 0.3px;
}
.article-grid--3col .article-card__date { display: none; }

@media (max-width: 992px) {
    .article-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .article-grid { grid-template-columns: 1fr; gap: 12px; }
    .article-card__thumb { flex: 0 0 35%; }
    .article-card__title { font-size: 16px; }
    .article-grid--3col { grid-template-columns: 1fr; }
}

/* ============================================================
   11. PILL LINKS (tags, related content links)
   ============================================================ */
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill-links a {
    display: inline-block; padding: 6px 14px; border-radius: 20px;
    background: var(--base-2); font-size: 13px; font-weight: 500;
    color: var(--contrast); transition: all 0.2s; border: 1px solid transparent;
}
.pill-links a:hover { background: #000; color: #fff; }
.pill-links a.is-current { background: #000; color: var(--accent); border-color: var(--accent); font-weight: 600; }

/* ============================================================
   12. ARTICLE BODY (white, content pages at 800px)
   ============================================================ */
.article-body-wrap { background: var(--base-3); padding: 5px 20px 40px; }
.article-body {
    max-width: var(--content-width); margin: 0 auto;
    font-size: 18px; line-height: 2;
}
.article-body p { margin-bottom: 1em; }
/* Internal links: underlined default colour, hover green */
.article-body a { color: var(--contrast); text-decoration: underline; transition: color 0.2s; }
.article-body a:hover { color: var(--accent-hover); }
/* Prevent underline on article cards within article content */
.article-body .article-card a,
.article-body .section-heading,
.article-body .section-heading a,
.article-body .sport-section__header a,
.article-body .sport-section__more { text-decoration: none; }
/* H2 with green accent bar */
.article-body h2 {
    font-family: var(--font-heading); font-weight: 900; font-size: 28px;
    letter-spacing: -1px; line-height: 1.2; margin: 35px 0 15px;
    display: flex; align-items: center; gap: 12px;
}
.article-body h2::before {
    content: ''; width: 4px; height: 28px;
    background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
.article-body h3 {
    font-family: var(--font-heading); font-weight: 800; font-size: 22px;
    letter-spacing: -0.5px; line-height: 1.3; margin: 25px 0 10px;
}
.article-body ul, .article-body ol { margin: 0 0 1em 1.5em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.3em; }
.article-body img { border-radius: 8px; margin: 15px 0; }
/* Don't apply article image margin to author bio card or article cards */
.article-body .author-bio-card img,
.article-body .article-card img { margin: 0; border-radius: 0; }
.article-body .author-bio-card__avatar img { border-radius: 50%; }
.article-body blockquote {
    border-left: 4px solid var(--accent); padding: 10px 20px;
    margin: 20px 0; background: var(--base-2); border-radius: 0 8px 8px 0;
}

@media (max-width: 768px) {
    .article-body-wrap { padding: 20px 10px; }
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 24px; text-align: left; }
    .article-body h2::before { height: auto; align-self: stretch; }
    .article-body h3 { font-size: 20px; }
}

/* Wide body for non-article pages (1200px) */
.page-body-wrap { background: var(--base-3); padding: 10px 20px 40px; }
.page-body { max-width: var(--max-width); margin: 0 auto; font-size: 18px; line-height: 2; }
.page-body p { margin-bottom: 1em; }
.page-body a { color: var(--contrast); text-decoration: underline; transition: color 0.2s; }
.page-body a:hover { color: var(--accent-hover); }
/* Prevent underline inheritance on article cards and section headings within page content */
.page-body .article-card a,
.page-body .section-heading a,
.page-body .sport-section__more { text-decoration: none; }
.page-body h2 {
    font-family: var(--font-heading); font-weight: 900; font-size: 28px;
    letter-spacing: -1px; line-height: 1.2; margin: 25px 0 15px;
    display: flex; align-items: center; gap: 12px;
}
.page-body h2::before {
    content: ''; width: 4px; height: 28px;
    background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
@media (max-width: 768px) {
    .page-body-wrap { padding: 15px 10px 30px; }
    .page-body { font-size: 16px; }
    .page-body h2 { font-size: 24px; text-align: left; }
    .page-body h2::before { height: auto; align-self: stretch; }
}

/* ============================================================
   13. AUTHOR BIO CARD (after single post content)
   ============================================================ */
.author-bio-card {
    background: #000; border-radius: 10px; padding: 25px;
    display: flex; gap: 20px; align-items: flex-start; margin: 35px 0;
}
.author-bio-card__avatar {
    width: 70px; height: 70px; border-radius: 50%; overflow: hidden;
    flex-shrink: 0; border: 2px solid var(--accent);
}
.author-bio-card__avatar img,
.author-bio-card__avatar .avatar {
    width: 70px !important; height: 70px !important;
    object-fit: cover; border-radius: 50%; display: block;
}
.author-bio-card__content { flex: 1; }
.author-bio-card__role {
    font-family: var(--font-heading); font-weight: 700; font-size: 11px;
    color: var(--accent); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px;
}
.author-bio-card__name {
    font-family: var(--font-heading); font-weight: 800; font-size: 18px;
    color: #fff; letter-spacing: -0.3px; margin-bottom: 8px;
}
.author-bio-card__name a { color: #fff; transition: color 0.2s; }
.author-bio-card__name a:hover { color: var(--accent); }
.author-bio-card__text { font-size: 14px; line-height: 1.6; color: #ccc; }
.author-bio-card__text p { margin-bottom: 6px; }
/* Ensure bio text visible and not affected by article-body link styles */
.author-bio-card a { color: #fff !important; text-decoration: none !important; }
.author-bio-card__text { overflow: visible; }
.author-bio-card__text p { color: #ccc; margin-bottom: 6px; display: block; }
@media (max-width: 768px) {
    .author-bio-card { flex-direction: column; align-items: center; text-align: center; padding: 20px; }
    .author-bio-card__avatar { width: 60px; height: 60px; }
    .author-bio-card__avatar img,
    .author-bio-card__avatar .avatar { width: 60px !important; height: 60px !important; }
    .author-bio-card__content { width: 100%; }
    .author-bio-card__text { font-size: 13px; }
}

/* ============================================================
   14. AUTHOR ARCHIVE HERO (matches approved demo)
   ============================================================ */
.author-hero__card {
    display: flex; gap: 30px; align-items: flex-start;
    padding: 20px 0 30px;
}
.author-hero__avatar {
    width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
    flex-shrink: 0; border: 3px solid var(--accent); background: #1a1a1a;
}
.author-hero__avatar img,
.author-hero__avatar .avatar {
    width: 120px !important; height: 120px !important;
    object-fit: cover; border-radius: 50%; display: block;
}
.author-hero__role {
    font-family: var(--font-heading); font-weight: 700; font-size: 12px;
    color: var(--accent); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px;
}
.author-hero__name {
    font-family: var(--font-heading); font-weight: 900; font-size: 32px;
    color: #fff; letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px;
}
.author-hero__bio { font-size: 15px; line-height: 1.7; color: #ccc; margin-bottom: 16px; max-width: 750px; }
.author-hero__bio p { margin-bottom: 8px; }

/* Social icon boxes (SVG) */
.author-hero__social { display: flex; gap: 10px; margin-bottom: 18px; }
.author-hero__social a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.08); color: #aaa;
    transition: background 0.2s, color 0.2s; text-decoration: none;
}
.author-hero__social a:hover { background: var(--accent); color: #000; }
.author-hero__social svg { width: 18px; height: 18px; }

/* Sport tags */
.author-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.author-hero__tag {
    display: inline-block; background: rgba(255,255,255,0.08);
    color: #aaa; font-size: 12px; font-weight: 500;
    padding: 4px 12px; border-radius: 4px;
}

/* Stats bar */
.author-hero__stats {
    display: flex; gap: 30px; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.author-hero__stat { display: flex; flex-direction: column; }
.author-hero__stat-value {
    font-family: var(--font-heading); font-weight: 900; font-size: 24px;
    color: var(--accent); letter-spacing: -0.5px; line-height: 1;
}
.author-hero__stat-label {
    font-size: 12px; color: #888; margin-top: 4px;
    text-transform: uppercase; letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .author-hero__card { flex-direction: column; align-items: center; text-align: center; }
    .author-hero__avatar { width: 100px; height: 100px; }
    .author-hero__avatar img,
    .author-hero__avatar .avatar { width: 100px !important; height: 100px !important; }
    .author-hero__name { font-size: 26px; }
    .author-hero__bio { font-size: 14px; }
    .author-hero__social { justify-content: center; }
    .author-hero__tags { justify-content: center; }
    .author-hero__stats { justify-content: center; gap: 20px; }
    .author-hero__stat { align-items: center; }
}

/* ============================================================
   14b. TEAM CARDS (About page [gobet_team] shortcode)
   ============================================================ */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 20px 0 35px; }
.team-card {
    background: #000; border-radius: 10px; padding: 30px;
    display: flex; gap: 25px; align-items: flex-start;
}
.team-card-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0; background: #1a1a1a;
}
.team-card-avatar img,
.team-card-avatar .avatar {
    width: 80px !important; height: 80px !important;
    border-radius: 50%; object-fit: cover; display: block;
}
.team-card-content { flex: 1; }
.team-card-role {
    font-family: var(--font-heading); font-weight: 700; font-size: 12px;
    color: var(--accent); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px;
}
.team-card-name {
    font-family: var(--font-heading); font-weight: 800; font-size: 20px;
    letter-spacing: -0.5px; color: #fff; margin-bottom: 10px;
}
.team-card-name a { color: #fff; transition: color 0.2s; text-decoration: none; }
.team-card-name a:hover { color: var(--accent); }
.team-card-content p { font-size: 14px; line-height: 1.6; color: #ccc; margin-bottom: 8px; }
.team-card-sports { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.team-card-sports span {
    display: inline-block; background: rgba(255,255,255,0.08);
    color: #aaa; font-size: 12px; font-weight: 500;
    padding: 3px 10px; border-radius: 4px;
}
/* Override page-body link styles inside team cards */
.page-body .team-card a { color: #fff; text-decoration: none; }
.page-body .team-card p { color: #ccc; }

@media (max-width: 768px) {
    .team-card { flex-direction: column; align-items: center; text-align: center; padding: 25px 20px; }
    .team-card-name { font-size: 18px; }
    .team-card-sports { justify-content: center; }
}

/* ============================================================
   15. HOMEPAGE FEATURED MODULE (matches approved demo exactly)
   ============================================================ */
.featured-module {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 25px; margin-bottom: 30px;
}
.featured-big .featured-img {
    border-radius: 10px; overflow: hidden; margin-bottom: 14px; display: block;
}
.featured-big .featured-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.featured-big h3 {
    font-family: var(--font-heading); font-weight: 800; font-size: 24px;
    letter-spacing: -0.5px; line-height: 1.25; margin-bottom: 6px; color: #fff;
}
.featured-big h3 a { color: #fff; transition: color 0.2s; text-decoration: none; }
.featured-big h3 a:hover { color: var(--accent); }
.featured-big .excerpt { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.6); }
.featured-big .post-date {
    font-family: var(--font-heading); font-size: 11px; font-weight: 700;
    color: rgba(255,255,255,0.4); margin-top: 6px; letter-spacing: 0.3px;
    display: none;
}
.featured-small { display: flex; flex-direction: column; gap: 15px; }
.featured-small-item { display: flex; gap: 15px; align-items: center; }
.featured-small-item .thumb {
    flex: 0 0 140px; border-radius: 10px; overflow: hidden; display: block;
}
.featured-small-item .thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.featured-small-item h3 {
    font-family: var(--font-heading); font-weight: 800; font-size: 17px;
    letter-spacing: -0.5px; line-height: 1.3; color: #fff;
}
.featured-small-item h3 a { color: #fff; transition: color 0.2s; text-decoration: none; }
.featured-small-item h3 a:hover { color: var(--accent); }
.featured-small-item .post-date {
    font-family: var(--font-heading); font-size: 11px; font-weight: 700;
    color: rgba(255,255,255,0.4); margin-top: 4px; letter-spacing: 0.3px;
    display: none;
}
@media (max-width: 768px) {
    .featured-module { grid-template-columns: 1fr; gap: 15px; }
    .featured-big h3 { font-size: 20px; }
    .featured-big .excerpt { display: none; }
    .featured-small-item .thumb { flex: 0 0 35%; }
    .featured-small-item h3 { font-size: 16px; }
}

/* ============================================================
   16. HOMEPAGE SPORT SECTIONS (on white bg)
   ============================================================ */
.sport-sections { background: var(--base-3); padding: 20px 10px 40px; }
/* Reduce white space on first heading after dark hero */
.sport-sections .section-heading:first-child,
.sport-sections .sport-section__header:first-child,
.sport-sections__inner > .section-heading:first-child,
.sport-sections__inner > .sport-section__header:first-child { margin-top: 10px; }
/* Header clearance for page 2+ archives (no dark hero, but absolute header) */
.sport-sections--with-header-clearance { padding-top: 100px; }
@media (max-width: 768px) {
    .sport-sections--with-header-clearance { padding-top: 80px; }
}
.sport-sections__inner { max-width: var(--max-width); margin: 0 auto; }
.sport-section { margin-bottom: 35px; }
.sport-section__header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px;
}
.sport-section__more {
    font-family: var(--font-heading); font-weight: 700; font-size: 13px;
    color: var(--accent-hover); transition: color 0.2s;
}
.sport-section__more:hover { color: var(--accent); }

/* ============================================================
   17. PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 35px; }

/* Category/Tag bottom content (page 1 only, below articles) */
.cat-bottom-content { margin-top: 30px; margin-bottom: 20px; }
/* Override article-body narrow width for category/tag bottom content */
.cat-bottom-content.article-body { max-width: var(--max-width); }
.pagination a, .pagination span {
    font-family: var(--font-heading); font-weight: 700; font-size: 14px;
    padding: 8px 14px; border-radius: 6px; border: 1px solid var(--base);
    color: var(--contrast); transition: all 0.2s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: #000; color: #fff; border-color: #000; }

/* ============================================================
   18. 404 PAGE
   ============================================================ */
.error-page { max-width: var(--content-width); margin: 0 auto; padding: 50px 20px 60px; }
.error-page__text { font-size: 18px; line-height: 1.8; margin-bottom: 25px; }
.error-page__image { border-radius: 12px; overflow: hidden; margin-bottom: 30px; }
.error-page__image img { width: 100%; }
.error-page__links { font-size: 18px; line-height: 2.2; }
.error-page__links a { color: var(--contrast); text-decoration: underline; font-weight: 600; transition: color 0.2s; }
.error-page__links a:hover { color: var(--accent-hover); }
@media (max-width: 768px) {
    .error-page { padding: 30px 10px 40px; }
    .error-page__text { font-size: 16px; }
    .error-page__links { font-size: 16px; }
}

/* ============================================================
   19. SITEMAP
   ============================================================ */
.sitemap-links {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 30px; margin-bottom: 10px;
}
.sitemap-links a {
    display: block; padding: 6px 0; font-size: 15px; line-height: 1.5;
    color: var(--contrast); transition: color 0.2s;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.sitemap-links a:hover { color: var(--accent-hover); }
.sitemap-note {
    font-size: 12px; color: var(--contrast-3); font-style: italic; margin-top: 35px;
    padding-top: 15px; border-top: 1px solid var(--base);
}
@media (max-width: 768px) {
    .sitemap-links { grid-template-columns: repeat(2, 1fr); gap: 6px 20px; }
    .sitemap-links a { font-size: 14px; }
}
@media (max-width: 480px) {
    .sitemap-links { grid-template-columns: 1fr; }
}

/* ============================================================
   20. FOOTER (matches approved demo exactly)
   ============================================================ */
.site-footer { background: #000; color: var(--base-3); padding: 50px 0 0; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.footer-cols {
    display: grid; grid-template-columns: 1.2fr 1fr 1.5fr 1.3fr;
    gap: 35px; margin-bottom: 40px;
}
.footer-cols h3 {
    font-family: var(--font-heading); font-weight: 900; font-size: 20px;
    letter-spacing: -0.5px; color: var(--accent); margin-bottom: 15px;
}
/* Column 1 & 2: Link columns */
.footer-links a, .footer-links li a,
.footer-sports a, .footer-sports li a {
    display: block; font-size: 15px; line-height: 2.2;
    color: #ccc; transition: color 0.2s; text-decoration: none;
}
.footer-links a:hover, .footer-sports a:hover,
.footer-links li a:hover, .footer-sports li a:hover { color: var(--accent); }
.footer-links li, .footer-sports li { list-style: none; }
/* Column 3: About */
.footer-about p { font-size: 13px; line-height: 1.8; color: #999; margin-bottom: 8px; }
.footer-about strong { color: #ccc; }
/* Social icon boxes */
.footer-socials { display: flex; gap: 10px; margin-top: 15px; }
.footer-socials a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.06); color: #888;
    transition: background 0.2s, color 0.2s; text-decoration: none;
}
.footer-socials a:hover { background: var(--accent); color: #000; }
.footer-socials svg { width: 18px; height: 18px; }
/* Column 4: Disclaimer */
.footer-disclaimer p { font-size: 12px; line-height: 1.8; color: #777; margin-bottom: 6px; }

/* Footer middle */
.footer-middle { border-top: 1px solid #1a1a1a; padding: 25px 0; text-align: center; }
.footer-logo { max-width: 130px; margin: 0 auto 12px; }
.footer-logo img { width: 100%; }
.footer-copyright { font-size: 10px; color: #666; margin-bottom: 12px; }
.footer-nav {
    display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-bottom: 8px;
}
.footer-nav a, .footer-nav li a {
    font-family: var(--font-heading); font-weight: 800; font-size: 13px;
    color: #fff; padding: 6px 10px; border-radius: 4px; transition: color 0.2s;
    text-decoration: none;
}
.footer-nav a:hover, .footer-nav li a:hover { color: var(--accent); }
.footer-nav li { display: inline; list-style: none; }
.footer-sister {
    display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.footer-sister a, .footer-sister li a {
    font-family: var(--font-heading); font-weight: 700; font-size: 11px;
    color: #555; padding: 3px 8px; transition: color 0.2s; text-decoration: none;
}
.footer-sister a:hover, .footer-sister li a:hover { color: #888; }
.footer-sister li { display: inline; list-style: none; }

/* RG Bar - white background */
.footer-rg {
    background: #fff; color: #000; text-align: center; padding: 14px 20px;
}
.footer-rg h3 {
    font-family: var(--font-heading); font-size: 14px; font-weight: 800;
    color: #000; margin-bottom: 3px;
}
.footer-rg p { font-size: 12px; color: #333; margin: 0; }
.footer-rg a { color: #000; text-decoration: underline; }

@media (max-width: 768px) {
    .site-footer { padding: 30px 0 0; }
    .footer-inner { padding: 0 15px; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 25px; }
    .footer-cols h3 { font-size: 18px; }
    .footer-links a, .footer-sports a,
    .footer-links li a, .footer-sports li a { font-size: 14px; line-height: 2; }
    .footer-rg { padding: 12px 15px; }
    .footer-rg h3 { font-size: 13px; }
    .footer-rg p { font-size: 11px; }
}
@media (max-width: 480px) {
    .footer-cols { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   21. WS FORM LITE OVERRIDES (Dark theme contact form)
   ============================================================ */
:where([data-wsf-style-id]) {
    --wsf-form-color-base: #fff;
    --wsf-form-color-base-contrast: #000;
    --wsf-form-color-accent: var(--accent);
    --wsf-form-color-primary: var(--accent);
    --wsf-form-color-neutral: #333;
    --wsf-form-font-family: var(--font-body);
    --wsf-form-font-size: 15px;
    --wsf-field-border-color: #333;
    --wsf-field-border-color-focus: var(--accent);
    --wsf-field-box-shadow-color-focus: rgba(0,254,115,0.2);
    --wsf-field-border-radius: 8px;
    --wsf-field-button-primary-color-background: var(--accent);
    --wsf-field-button-primary-color-background-hover: var(--accent-hover);
    --wsf-field-button-primary-border-color: var(--accent);
    --wsf-field-button-primary-border-color-hover: var(--accent-hover);
    --wsf-field-button-primary-color: #000;
    --wsf-field-button-primary-color-hover: #fff;
    --wsf-field-button-border-radius: 8px;
    --wsf-field-label-font-family: var(--font-heading);
    --wsf-field-label-font-weight: 700;
}
/* Dark form wrapper */
.wsf-form,
[data-wsf-style-id] {
    background: #000 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    color: #fff !important;
}
.wsf-form input[type="text"],
.wsf-form input[type="email"],
.wsf-form input[type="tel"],
.wsf-form input[type="url"],
.wsf-form textarea,
.wsf-form select {
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
    background: #111 !important;
    color: #fff !important;
    border: 2px solid #333 !important;
    border-radius: 8px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.wsf-form input::placeholder,
.wsf-form textarea::placeholder {
    color: #666 !important;
}
.wsf-form input:focus,
.wsf-form textarea:focus,
.wsf-form select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(0,254,115,0.15) !important;
    outline: none !important;
    background: #111 !important;
}
.wsf-form label {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: -0.3px;
    color: #fff !important;
    margin-bottom: 6px !important;
}
.wsf-form button[type="submit"],
.wsf-form input[type="submit"],
.wsf-form .wsf-button-primary {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: -0.3px;
    padding: 14px 28px !important;
    background: var(--accent) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background 0.2s, color 0.2s !important;
}
.wsf-form button[type="submit"]:hover,
.wsf-form input[type="submit"]:hover,
.wsf-form .wsf-button-primary:hover {
    background: var(--accent-hover) !important;
    color: #fff !important;
}
@media (max-width: 768px) {
    .wsf-form,
    [data-wsf-style-id] { padding: 20px !important; }
}

/* ============================================================
   22. KEMOKU PLUGIN COMPATIBILITY
   ============================================================ */
/* Ensure Kemoku tables render properly within 800px content width */
.article-body .sb-wrapper,
.article-body .sb-table,
.article-body .kemoku-block { max-width: 100%; }

/* Betseeker odds blocks */
.article-body .betseeker_block { max-width: 100%; margin: 15px 0; }

/* Kemoku table spacing fixes */
.tw-bs4 .p-2 { padding: 0 0.5rem 0 0.5rem !important; }
.tw-bs4 .row { align-items: center; }

/* ============================================================
   23. WORDPRESS BLOCK COMPATIBILITY
   ============================================================ */
.wp-block-image { margin: 15px 0; }
.wp-block-image img { border-radius: 8px; }
.wp-block-embed { margin: 20px 0; }
.wp-block-table { margin: 15px 0; overflow-x: auto; }

/* ============================================================
   24. SCREEN READER & ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--accent); color: #000;
    padding: 8px 16px; z-index: 10000; font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 0; }


/* ============================================================
   26. WORDPRESS ADMIN BAR COMPATIBILITY
   ============================================================ */
.admin-bar .site-header,
.admin-bar .site-header--absolute,
.admin-bar .site-header--sticky.is-visible { top: 32px; }
.admin-bar .slideout-close { top: 44px; }
@media (max-width: 782px) {
    .admin-bar .site-header,
    .admin-bar .site-header--absolute,
    .admin-bar .site-header--sticky.is-visible { top: 46px; }
    .admin-bar .slideout-close { top: 58px; }
    .admin-bar .dark-hero--with-header { padding-top: 116px !important; }
    .admin-bar .sport-sections--with-header-clearance { padding-top: 126px; }
}
@media (min-width: 783px) {
    .admin-bar .dark-hero--with-header { padding-top: 112px; }
    .admin-bar .sport-sections--with-header-clearance { padding-top: 132px; }
}
/* ============================================================
   25. PRINT STYLES
   ============================================================ */
@media print {
    .site-header, .site-footer, .slideout-menu, .slideout-overlay,
    .nav-cta, .hamburger-btn, .pagination, .footer-rg { display: none; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
}
