/* =========================================================
   KnowledgeLibrary — Main Theme Stylesheet
   ========================================================= */

:root {
  --navy: #1B2A3B;
  --navy-deep: #0F1B28;
  --spice: #D85A30;
  --spice-light: #F0997B;
  --cream: #FAF8F4;
  --sand: #EDE9E1;
  --mist: #F4F2EE;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-mid: #4A4845;
  --ink-light: #7A7672;
  --border: rgba(0,0,0,0.08);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── NAV ──────────────────────────────────────────────── */
.nav { background: var(--navy); position: sticky; top: 0; z-index: 100; padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between; height: 60px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-brand { font-family: var(--font-display); font-size: 20px; color: #fff; text-decoration: none; }
.nav-brand em { color: var(--spice); font-style: normal; }
.nav-links { display: flex; gap: 24px; align-items: center; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color 0.15s; }
.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a { color: #fff; }
.nav-btn { background: var(--spice); color: #fff; border: none; padding: 8px 18px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; cursor: pointer; font-family: var(--font-body); transition: background 0.15s; text-decoration: none; display: inline-block; }
.nav-btn:hover { background: #c04f27; color: #fff; }

/* ── BREADCRUMB ───────────────────────────────────────── */
.breadcrumb { background: var(--mist); border-bottom: 1px solid var(--border); padding: 0.75rem 2.5rem; }
.breadcrumb-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-light); }
.breadcrumb a { color: var(--ink-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--spice); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--ink-mid); font-weight: 500; }

/* ── PAGE HERO ────────────────────────────────────────── */
.page-hero { background: var(--navy); padding: 3.5rem 2.5rem 3rem; }
.page-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--spice); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 1.5px; background: var(--spice); }
.page-hero h1 { font-family: var(--font-display); font-size: 38px; color: #fff; line-height: 1.15; letter-spacing: -0.3px; margin-bottom: 14px; }
.page-hero-sub { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 540px; }
.hero-stats { display: flex; gap: 2rem; padding: 1.5rem 2rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); align-self: center; }
.hstat-num { font-family: var(--font-display); font-size: 26px; color: #fff; line-height: 1; }
.hstat-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* ── FILTER BAR ───────────────────────────────────────── */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 2.5rem; position: sticky; top: 60px; z-index: 90; }
.filter-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 4px; }
.ftab { padding: 7px 18px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--ink-light); font-family: var(--font-body); transition: all 0.15s; }
.ftab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.ftab:hover:not(.active) { border-color: var(--navy); color: var(--navy); }
.filter-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.fcat { padding: 5px 14px; border-radius: var(--radius-pill); font-size: 12px; cursor: pointer; border: 1px solid var(--border); background: var(--cream); color: var(--ink-mid); font-family: var(--font-body); transition: all 0.15s; }
.fcat.active { background: var(--spice); color: #fff; border-color: var(--spice); }
.fcat:hover:not(.active) { border-color: var(--spice); color: var(--spice); }

/* ── MAIN LAYOUT ──────────────────────────────────────── */
.main-wrap { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2.5rem; display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }

/* ── FEATURED WEBINAR ─────────────────────────────────── */
.featured-webinar { background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; }
.fw-inner { padding: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.fw-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--spice); color: #fff; font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.fw-badge::before { content: '●'; font-size: 8px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.fw-title { font-family: var(--font-display); font-size: 24px; color: #fff; line-height: 1.25; margin-bottom: 10px; }
.fw-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 16px; max-width: 480px; }
.fw-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.fw-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.55); }
.fw-meta-item svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fw-btns { display: flex; gap: 10px; }
.btn-spice { background: var(--spice); color: #fff; border: none; padding: 11px 24px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; cursor: pointer; font-family: var(--font-body); transition: background 0.15s; }
.btn-spice:hover { background: #c04f27; }
.btn-ghost-white { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); padding: 11px 24px; border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; font-family: var(--font-body); transition: all 0.15s; }
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.fw-date-block { text-align: center; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 1.5rem 2rem; flex-shrink: 0; }
.fw-month { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--spice); }
.fw-day { font-family: var(--font-display); font-size: 52px; color: #fff; line-height: 1; margin: 4px 0; }
.fw-year { font-size: 12px; color: rgba(255,255,255,0.4); }
.fw-time { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ── SECTION HEADING ──────────────────────────────────── */
.section-head { margin-bottom: 1.25rem; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--spice); margin-bottom: 6px; }
.section-title { font-family: var(--font-display); font-size: 22px; color: var(--ink); letter-spacing: -0.2px; }

/* ── WEBINAR CARDS ────────────────────────────────────── */
.webinar-list { display: flex; flex-direction: column; gap: 12px; }
.webinar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1.25rem; transition: border-color 0.15s, box-shadow 0.15s; cursor: pointer; }
.webinar-card:hover { border-color: rgba(0,0,0,0.18); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.webinar-card.past { opacity: 0.7; background: var(--mist); }
.date-block { min-width: 58px; text-align: center; background: var(--navy); border-radius: var(--radius); padding: 10px 8px; flex-shrink: 0; }
.date-block.past { background: var(--sand); }
.db-month { font-size: 10px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.date-block.past .db-month { color: var(--ink-light); }
.db-day { font-family: var(--font-display); font-size: 22px; color: #fff; line-height: 1.1; }
.date-block.past .db-day { color: var(--ink-mid); }
.wcard-content { flex: 1; min-width: 0; }
.wcard-cat { font-size: 10px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px; }
.cat-tax   { color: #185FA5; }
.cat-mgmt  { color: #0F6E56; }
.cat-trade { color: #854F0B; }
.cat-bank  { color: #993C1D; }
.cat-agile { color: #534AB7; }
.cat-strat { color: #3B6D11; }
.wcard-title { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.35; margin-bottom: 5px; }
.wcard-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-light); }
.wcard-meta span { display: flex; align-items: center; gap: 4px; }
.wcard-meta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wcard-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.wcard-price { font-size: 13px; font-weight: 500; }
.price-free   { color: #0F6E56; }
.price-member { color: var(--spice); }
.wcard-tag { font-size: 10px; padding: 3px 10px; border-radius: var(--radius-pill); font-weight: 500; }
.tag-live   { background: #fee2e2; color: #991b1b; }
.tag-replay { background: var(--sand); color: var(--ink-mid); }
.tag-free   { background: #dcfce7; color: #166534; }
.tag-member { background: #E6F1FB; color: #185FA5; }
.wcard-btn { background: var(--navy); color: #fff; border: none; padding: 7px 16px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; cursor: pointer; font-family: var(--font-body); white-space: nowrap; transition: background 0.15s; }
.wcard-btn:hover { background: var(--navy-deep); }
.wcard-btn.replay { background: var(--ink-light); }
.wcard-btn.replay:hover { background: var(--ink-mid); }

/* ── REPLAYS GRID ─────────────────────────────────────── */
.replays-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.25rem; }
.replay-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: transform 0.15s; }
.replay-card:hover { transform: translateY(-2px); }
.replay-thumb { height: 100px; display: flex; align-items: center; justify-content: center; position: relative; font-size: 32px; }
.replay-thumb.t1 { background: #E6F1FB; }
.replay-thumb.t2 { background: #E1F5EE; }
.replay-thumb.t3 { background: #FEF3E2; }
.replay-thumb.t4 { background: #EEEDFE; }
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.0); transition: background 0.2s; }
.replay-card:hover .play-overlay { background: rgba(0,0,0,0.1); }
.play-btn-circle { width: 40px; height: 40px; border-radius: 50%; background: rgba(27,42,59,0.85); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.replay-card:hover .play-btn-circle { opacity: 1; }
.play-btn-circle svg { width: 14px; height: 14px; fill: #fff; }
.replay-body { padding: 12px; }
.replay-cat { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.replay-title { font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 5px; }
.replay-meta { font-size: 11px; color: var(--ink-light); display: flex; gap: 8px; justify-content: space-between; }
.replay-access { font-size: 10px; padding: 2px 8px; border-radius: var(--radius-pill); }
.access-free   { background: #dcfce7; color: #166534; }
.access-member { background: #E6F1FB; color: #185FA5; }

/* ── SIDEBAR ──────────────────────────────────────────── */
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 16px; }
.sidebar-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

/* ── REGISTER FORM ────────────────────────────────────── */
.reg-form { display: flex; flex-direction: column; gap: 10px; }
.reg-select-label { font-size: 12px; color: var(--ink-light); margin-bottom: 4px; display: block; }
.reg-select { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--cream); color: var(--ink); font-size: 13px; font-family: var(--font-body); appearance: none; cursor: pointer; }
.reg-input { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--cream); color: var(--ink); font-size: 13px; font-family: var(--font-body); }
.reg-input::placeholder { color: var(--ink-light); }
.reg-input:focus, .reg-select:focus { outline: none; border-color: var(--navy); }
.reg-btn { width: 100%; padding: 11px; background: var(--spice); color: #fff; border: none; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; cursor: pointer; font-family: var(--font-body); transition: background 0.15s; }
.reg-btn:hover { background: #c04f27; }
.reg-note { font-size: 11px; color: var(--ink-light); text-align: center; line-height: 1.5; }

/* ── HOST CARD ────────────────────────────────────────── */
.host-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--spice); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; color: #fff; flex-shrink: 0; }
.host-info { flex: 1; }
.host-name { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.host-role { font-size: 12px; color: var(--ink-light); line-height: 1.5; }
.host-link { font-size: 12px; color: var(--spice); text-decoration: none; display: block; margin-top: 10px; }
.host-link:hover { color: #c04f27; }

/* ── MEMBERSHIP NUDGE ─────────────────────────────────── */
.member-nudge { background: var(--navy); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 16px; }
.nudge-title { font-family: var(--font-display); font-size: 16px; color: #fff; margin-bottom: 6px; }
.nudge-sub { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 14px; }
.nudge-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.nudge-feat { font-size: 12px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 6px; }
.nudge-feat::before { content: '✓'; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--spice-light); font-size: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nudge-btn { width: 100%; padding: 10px; background: var(--spice); color: #fff; border: none; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; cursor: pointer; font-family: var(--font-body); }
.nudge-btn:hover { background: #c04f27; }
.nudge-price { font-size: 11px; color: rgba(255,255,255,0.35); text-align: center; margin-top: 8px; }

/* ── UPCOMING MINI LIST ───────────────────────────────── */
.upcoming-mini { display: flex; flex-direction: column; gap: 10px; }
.upcoming-item { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.upcoming-item:last-child { border-bottom: none; padding-bottom: 0; }
.upcoming-date { min-width: 42px; background: var(--navy); border-radius: 6px; padding: 6px 4px; text-align: center; flex-shrink: 0; }
.upcoming-date .db-month { font-size: 9px; color: rgba(255,255,255,0.5); }
.upcoming-date .db-day { font-size: 16px; color: #fff; font-family: var(--font-display); line-height: 1.1; }
.upcoming-title { font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.35; margin-bottom: 2px; }
.upcoming-sub { font-size: 11px; color: var(--ink-light); }

/* ── NEWSLETTER ───────────────────────────────────────── */
.newsletter { background: var(--sand); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
.newsletter-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.newsletter-sub { font-size: 12px; color: var(--ink-light); margin-bottom: 12px; line-height: 1.5; }
.nl-row { display: flex; gap: 8px; }
.nl-input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 12px; font-family: var(--font-body); }
.nl-btn { background: var(--navy); color: #fff; border: none; padding: 8px 16px; border-radius: var(--radius); font-size: 12px; font-weight: 500; cursor: pointer; font-family: var(--font-body); white-space: nowrap; }
.nl-btn:hover { background: var(--navy-deep); }

/* ── EMPTY STATE ──────────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem 1.5rem; background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.empty-sub { font-size: 13px; color: var(--ink-light); }

/* ── TOAST ────────────────────────────────────────────── */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--radius); font-size: 13px; font-weight: 500; transform: translateY(80px); opacity: 0; transition: all 0.3s; z-index: 999; border-left: 3px solid var(--spice); }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer { background: var(--navy-deep); padding: 2rem 2.5rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-widgets-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-widget h4.footer-widget-title { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.5); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-widget a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 12px; display: block; margin-bottom: 6px; }
.footer-widget a:hover { color: rgba(255,255,255,0.7); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin-bottom: 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.25); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ── MODAL ────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; padding: 1rem; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; max-width: 480px; width: 100%; transform: translateY(20px); transition: transform 0.2s; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem; }
.modal-title { font-family: var(--font-display); font-size: 20px; color: var(--ink); line-height: 1.3; max-width: 360px; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--ink-light); padding: 2px; line-height: 1; }
.modal-meta { font-size: 13px; color: var(--ink-light); margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 5px; }
.modal-meta span { display: flex; align-items: center; gap: 6px; }
.modal-form { display: flex; flex-direction: column; gap: 10px; }
.mform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mform-group { display: flex; flex-direction: column; gap: 4px; }
.mform-label { font-size: 12px; color: var(--ink-light); }
.mform-input { padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--cream); color: var(--ink); font-size: 13px; font-family: var(--font-body); }
.mform-input:focus { outline: none; border-color: var(--navy); }
.mform-submit { padding: 12px; background: var(--spice); color: #fff; border: none; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; cursor: pointer; font-family: var(--font-body); transition: background 0.15s; margin-top: 4px; }
.mform-submit:hover { background: #c04f27; }
.mform-note { font-size: 11px; color: var(--ink-light); text-align: center; line-height: 1.5; }

/* ── STANDARD PAGE CONTENT ────────────────────────────── */
.page-content-wrap { max-width: 1100px; margin: 0 auto; padding: 2.5rem; }
.entry-content h1, .entry-content h2, .entry-content h3 { font-family: var(--font-display); color: var(--ink); margin-bottom: 1rem; }
.entry-content p { margin-bottom: 1rem; color: var(--ink-mid); line-height: 1.75; }
.entry-content a { color: var(--spice); }

/* ── WOOCOMMERCE OVERRIDES ────────────────────────────── */
.woocommerce-page .main-wrap { grid-template-columns: 1fr; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; list-style: none; }
.woocommerce ul.products li.product { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.15s; }
.woocommerce ul.products li.product:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.woocommerce ul.products li.product a { text-decoration: none; color: var(--ink); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-size: 16px; padding: 1rem 1rem 0.25rem; }
.woocommerce ul.products li.product .price { padding: 0 1rem 1rem; color: var(--spice); font-weight: 500; }
.woocommerce ul.products li.product .button { display: block; margin: 0 1rem 1rem; padding: 10px; background: var(--navy); color: #fff; border: none; border-radius: var(--radius-pill); text-align: center; font-size: 13px; font-weight: 500; transition: background 0.15s; }
.woocommerce ul.products li.product .button:hover { background: var(--navy-deep); }

/* ── SINGLE WEBINAR ───────────────────────────────────── */
.webinar-single-wrap { max-width: 860px; margin: 0 auto; padding: 2.5rem; }
.webinar-single-hero { background: var(--navy); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; }
.webinar-single-hero h1 { font-family: var(--font-display); font-size: 28px; color: #fff; line-height: 1.25; margin-bottom: 12px; }
.webinar-single-body { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }

/* ── HAMBURGER BUTTON ─────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .main-wrap { grid-template-columns: 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .fw-inner { grid-template-columns: 1fr; }
  .fw-date-block { width: fit-content; }
  .replays-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 0 1.25rem; position: relative; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links > li > a { display: block; padding: 11px 1.5rem; font-size: 14px; }
  .nav-links .nav-item-btn { padding: 10px 1.5rem; }
  .nav-links .nav-btn { display: inline-block; }
  .page-hero { padding: 2.5rem 1.25rem 2rem; }
  .filter-bar { padding: 0.75rem 1.25rem; top: 60px; }
  .filter-bar-inner { flex-direction: column; align-items: flex-start; }
  .main-wrap { padding: 1.5rem 1.25rem; }
  .webinar-card { flex-wrap: wrap; }
  .wcard-right { flex-direction: row; align-items: center; width: 100%; }
  .footer { padding: 1.5rem 1.25rem; }
  .breadcrumb { padding: 0.75rem 1.25rem; }
  .webinar-single-wrap { padding: 1.5rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
