/* ============================================================
   PROTOUR GEAR - style.css
   Brand palette: deep navy + court blue + electric lime accent.
   Sporty and sport-agnostic; works for pickleball now and future
   tour-sport verticals. Variable NAMES are kept identical to the
   reference template (discgolfgear.com) since ~1200 lines of
   component rules below reference them by name.
   Fonts:  Barlow Condensed (headings) · Inter (body).
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
    --green-dark:    #14213D;  /* deep navy - nav background, headings */
    --green-primary: #1565A8;  /* court blue - links, accents, card borders */
    --green-light:   #E7F0F9;  /* light blue tint - card backgrounds, hover states */
    --blue:          #2C7FB8;  /* secondary link color */
    --blue-light:    #EAF3FA;
    --yellow:        #C3D82E;  /* electric lime accent - kept separate from theme swaps */
    --yellow-dark:   #A4B920;
    --yellow-light:  #F5F9DC;
    --accent:        var(--yellow);       /* CTA/accent color */
    --accent-dark:   var(--yellow-dark);
    --accent-light:  var(--yellow-light);
    --on-accent:     #14213D;             /* dark navy text on lime CTAs for contrast */
    --bg:            #F6F8FA;
    --white:         #FFFFFF;
    --text:          #16202E;
    --text-muted:    #56637A;
    --border:        #D6DEE8;
    --shadow:        0 2px 8px rgba(0,0,0,0.07);
    --shadow-hover:  0 4px 16px rgba(0,0,0,0.12);
    --accent-shadow:       0 2px 6px rgba(195,216,46,0.40);
    --accent-shadow-hover: 0 4px 12px rgba(195,216,46,0.55);
    --radius:        6px;
    --font-head:     'Barlow Condensed', sans-serif;
    --font-body:     'Inter', sans-serif;
    --max-width:     1100px;
}

/* --- Additional themes go here, if wanted -------------------
   Follow discgolfgear.com's [data-theme="..."] pattern: a block that
   overrides a subset of the variables above, selected by config.php's
   $active_theme. Not needed until a second look-and-feel is designed. */

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* --- Utility ---------------------------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Buttons ---------------------------------------------- */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

/* Primary - basket yellow */
.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: var(--accent-shadow);
}
.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: var(--accent-shadow-hover);
}

/* Secondary - outlined */
.btn-secondary {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}
.btn-secondary:hover { background: var(--green-light); }

/* Full-width variant */
.btn-block { display: block; text-align: center; width: 100%; }

/* --- Header ----------------------------------------------- */
.site-header {
    background: var(--green-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.45rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}
.logo:hover { text-decoration: none; opacity: 0.92; }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; border-radius: 7px; }
.logo-text strong { color: var(--accent); }
.logo--footer .logo-text { color: var(--white); }

/* Nav */
.main-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
}
.main-nav > ul > li > a {
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
    display: block;
}
.main-nav > ul > li > a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
}

/* Dropdown */
.has-drop { position: relative; }
.main-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    min-width: 160px;
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.dropdown li a {
    display: block;
    width: 100%;
    padding: 10px 16px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    transition: background 0.12s;
}
.dropdown li a:hover { background: var(--green-light); text-decoration: none; }
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown { display: flex; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s;
}

/* --- Hero -------------------------------------------------- */
.hero {
    background: url('../images/hero-bg-pickleball.webp') center 40% / cover no-repeat,
                var(--green-dark);
    padding: 70px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 33, 61, 0.55);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 680px; margin: 0 auto; }
.hero-inner--split {
    max-width: 1040px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    text-align: center;
}
.hero-content { flex: 1 1 420px; max-width: 560px; }
.hero-eyebrow {
    display: inline-block;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
}
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.55);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* --- Hero Editor's Pick Card -------------------------------- */
.hero-pick {
    position: relative;
    flex: 0 0 280px;
    max-width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 20px 20px 24px;
    text-align: left;
    color: var(--text);
}
.hero-pick-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
}
.hero-pick-img-link { display: block; }
.hero-pick-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: var(--bg);
    border-radius: calc(var(--radius) - 4px);
    padding: 10px;
    margin-bottom: 14px;
    box-sizing: border-box;
}
.hero-pick-body p.hero-pick-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin: 4px 0 6px; max-width: none; }
.hero-pick-name a { color: var(--green-dark); }
.hero-pick-body p.hero-pick-desc { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 14px; max-width: none; }
.hero-pick-review-link {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--green-primary);
    font-weight: 600;
}

/* --- Category Cards --------------------------------------- */
.categories { padding: 56px 0; }
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.97rem;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}
.cat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-top: 4px solid var(--green-primary);
    padding: 28px 20px 24px;
    text-align: center;
    transition: box-shadow 0.18s, transform 0.15s;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.cat-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    text-decoration: none;
}
.cat-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: block;
}
.cat-name {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 6px;
}
.cat-desc { font-size: 0.85rem; color: var(--text-muted); }

/* Coming-soon category card: same footprint, visibly not-yet-live */
.cat-card--soon {
    border-top-color: var(--border);
    background: var(--bg);
    opacity: 0.75;
}
.cat-card--soon:hover { box-shadow: none; transform: none; }

/* --- Top Picks Section ------------------------------------ */
.top-picks { background: var(--green-dark); padding: 52px 0; }
.top-picks .section-title { color: var(--white); }
.top-picks .section-subtitle { color: rgba(255,255,255,0.7); }
.picks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pick-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}
.pick-card .btn-block::after {
    content: '';
    position: absolute;
    inset: 0;
}
.pick-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #fff;
    border-radius: calc(var(--radius) - 4px);
    margin-bottom: 12px;
    padding: 8px;
    box-sizing: border-box;
}
.pick-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--green-primary);
    margin-bottom: 5px;
}
.pick-name {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    flex: 1;
}

/* --- Article Grid ----------------------------------------- */
.articles { padding: 56px 0; }
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.18s, transform 0.15s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.article-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.article-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.article-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.article-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 8px;
    line-height: 1.25;
}
.article-card p { font-size: 0.9rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; }
.article-card a.read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-primary);
}
.article-card a.read-more:hover { color: var(--green-dark); }
.article-card a.read-more::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* --- Page layout (article + sidebar) ---------------------- */
.page-wrap { padding: 40px 0 60px; }
.content-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}
.content-area { min-width: 0; }
.sidebar-widget:first-child { position: static; }

/* Article header */
.article-header { margin-bottom: 28px; }
.article-header .breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.article-header .breadcrumb a { color: var(--green-primary); }
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 4px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 10px;
}
.article-meta > span { white-space: nowrap; }
@media (max-width: 600px) {
    .article-meta { column-gap: 8px; }
    .article-meta > span:first-child { flex: 0 0 100%; }
    .article-meta > span:nth-child(2) { display: none; }
}
.article-header h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.15;
}

/* Quick picks box */
.quick-picks {
    background: var(--accent-light);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 28px 0;
}
.quick-picks.quick-picks h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin: 0 0 20px;
    letter-spacing: 0.01em;
}
.quick-picks.quick-picks ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 0;
    margin-bottom: 0;
}
.quick-picks.quick-picks li {
    font-size: 0.92rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 0;
}
.pick-label {
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 3px;
    white-space: nowrap;
}
.quick-picks a { color: var(--green-primary); font-weight: 600; }

@media (min-width: 640px) {
    .quick-picks.quick-picks ul { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* Product review cards */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 28px 0;
}
.product-card-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}
.product-card h2 {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-top: 0;
    margin-bottom: 4px;
}
.product-card h2 a { color: inherit; text-decoration: none; }
.product-card h2 a:hover { text-decoration: underline; }
.card-review-link {
    font-size: 0.65em;
    font-weight: 400;
    color: var(--green-primary) !important;
    white-space: nowrap;
    margin-left: 4px;
}
.product-img-link { display: block; }
.product-badge {
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    justify-self: end;
}
.stars { color: var(--accent); font-size: 1rem; letter-spacing: 1px; margin-bottom: 2px; }
.rating-text { font-size: 0.82rem; color: var(--text-muted); }

/* Card-top price + quick CTA (second CTA above the fold) */
.card-price-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.card-price {
    font-weight: 700;
    color: var(--green-dark);
    font-size: 1rem;
}
.card-cta-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-primary);
    white-space: nowrap;
}

/* Quick-picks inline buy link */
.qp-buy {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-dark) !important;
    white-space: nowrap;
}
.qp-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.product-img-placeholder {
    background: #fff;
    border-radius: var(--radius);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 18px;
    color: var(--green-primary);
}
.product-img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 18px;
    display: block;
    box-sizing: border-box;
}
.product-summary { font-size: 0.97rem; margin-bottom: 18px; }

.owner-quote {
    background: var(--green-light);
    border-left: 3px solid var(--green-primary);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 18px;
    font-style: italic;
    font-size: 0.92rem;
}
.owner-quote-source {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
.pros, .cons {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.pros h4 { color: var(--green-primary); font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.cons h4 { color: #b84f4f; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.pros ul, .cons ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pros li::before { content: '✓'; color: var(--green-primary); font-weight: 700; margin-right: 6px; }
.cons li::before { content: '✗'; color: #b84f4f; font-weight: 700; margin-right: 6px; }
.pros li, .cons li { font-size: 0.88rem; }

.product-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.paid-link { font-size: 0.65rem; color: var(--text-muted); opacity: 0.6; }

.disclosure-link { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-decoration: underline; text-decoration-style: dotted; }
.disclosure-link:hover { color: rgba(255,255,255,0.8); }

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.comparison-table th {
    background: var(--green-dark);
    color: var(--white);
    padding: 12px 14px;
    text-align: left;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.comparison-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.comparison-table tr:hover td { background: var(--green-light); }
.comparison-table .check { color: var(--green-primary); font-weight: 700; }
.comparison-table .cross { color: #b84f4f; }
.table-wrap { overflow-x: auto; }

/* Flight path chart */
.flight-chart-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 28px 0;
    text-align: center;
}
.flight-chart-wrap svg { max-width: 100%; height: auto; }
.flight-chart-caption { font-size: 0.85rem; color: var(--text-muted); margin-top: 14px; }
.flight-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
    margin-top: 18px;
    font-size: 0.85rem;
}
.flight-chart-legend .swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Sidebar widgets */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.sidebar-widget h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green-light);
    letter-spacing: 0.01em;
}
.sidebar-pick {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.sidebar-pick:last-of-type { border-bottom: none; }
.sidebar-pick strong { font-weight: 600; color: var(--text); }
.sidebar-pick .sp-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; }
.sidebar-pick-img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius);
    padding: 8px;
    display: block;
    box-sizing: border-box;
}

/* FAQ */
.faq { margin: 36px 0; }
.faq h2 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 20px;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.faq-item h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.faq-item p { font-size: 0.93rem; color: var(--text-muted); }

/* Inline headings in content */
.content-area h2 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--green-dark);
    margin: 36px 0 12px;
    letter-spacing: 0.01em;
}
.product-card h2 { margin: 0 0 4px; }
.content-area h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-dark);
    margin: 24px 0 8px;
}
.content-area p { margin-bottom: 14px; font-size: 0.97rem; }
.content-area ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.content-area ul li { font-size: 0.97rem; margin-bottom: 5px; }

/* Trust bar */
.trust-bar {
    background: var(--green-dark);
    color: rgba(255,255,255,0.85);
    padding: 18px 0;
    text-align: center;
}
.trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-item { font-size: 0.88rem; }
.trust-item strong { color: var(--accent); font-size: 1.1rem; display: block; }

/* --- Footer ----------------------------------------------- */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.75);
    margin-top: auto;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 20px 32px;
    flex-wrap: wrap;
}
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 48px; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--accent); text-decoration: none; }
.disclosure-bar {
    background: rgba(0,0,0,0.25);
    padding: 18px 20px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}
.disclosure-bar p { max-width: var(--max-width); margin: 0 auto 6px; }
.footer-copy { color: rgba(255,255,255,0.35) !important; }

/* --- Author Box ------------------------------------------- */
.author-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--green-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 36px;
}
.author-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--green-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.author-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 4px;
}
.author-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 800px) {
    .content-sidebar { grid-template-columns: 1fr; }
    .sidebar-widget:first-child { position: static; }
    .pros-cons { grid-template-columns: 1fr; }
    .trust-bar-inner { gap: 20px; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: fixed;
        top: 62px;
        left: 0; right: 0;
        bottom: 0;
        background: var(--green-dark);
        padding: 12px 16px 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .main-nav .dropdown {
        position: static;
        display: flex;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding-left: 16px;
    }
    .dropdown li a { color: rgba(255,255,255,0.75); }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .picks-grid { grid-template-columns: 1fr 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .footer-nav ul { grid-template-columns: 1fr; }
    .product-card-header { grid-template-columns: 1fr; }
    .product-badge { justify-self: start; }
    .card-review-link { display: block; margin-left: 0; margin-top: 4px; }
}

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

/* --- Holiday Promo Banner ---------------------------------- */
.holiday-promo {
    background: var(--accent);
    padding: 20px 0;
    border-top: 1px solid var(--accent-dark);
    border-bottom: 1px solid var(--accent-dark);
}
.holiday-promo-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.holiday-badge {
    background: var(--green-dark);
    color: var(--white);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.holiday-promo-text {
    flex: 1;
    min-width: 180px;
}
.holiday-promo-text h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-accent);
    margin: 0 0 3px;
    line-height: 1.2;
}
.holiday-promo-text p {
    font-size: 0.9rem;
    color: var(--on-accent);
    opacity: 0.75;
    margin: 0;
}
.holiday-promo-cta { flex-shrink: 0; }
.holiday-promo .btn-primary {
    background: var(--green-dark);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.holiday-promo .btn-primary:hover {
    background: var(--green-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@media (max-width: 640px) {
    .holiday-promo-inner { gap: 14px; }
    .holiday-promo-text h2 { font-size: 1.25rem; }
}

/* --- Interactive Comparison Tables --- */
.comparison-table th[data-sort] {
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    position: relative;
    padding-right: 26px;
    transition: background 0.12s;
}
.comparison-table th[data-sort]::after {
    content: '\21C5';
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    font-size: 0.8rem;
}
.comparison-table th.sort-asc::after  { content: '\2191'; opacity: 1; }
.comparison-table th.sort-desc::after { content: '\2193'; opacity: 1; }
.comparison-table th[data-sort]:hover { background: var(--green-primary); }

.table-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: var(--green-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    align-items: flex-start;
}
.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}
.filter-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-right: 3px;
    white-space: nowrap;
}
.filter-btn {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body);
    line-height: 1.4;
    transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.filter-btn:hover {
    border-color: var(--green-primary);
    background: var(--green-light);
}
.filter-btn.active {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white);
    font-weight: 600;
}
.filter-clear {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    font-family: var(--font-body);
    padding: 4px 0;
    align-self: center;
}
.filter-clear:hover { color: var(--green-primary); }

.comparison-table-cta {
    text-align: right;
    margin-top: 10px;
    font-size: 0.88rem;
}
.comparison-table-cta a {
    color: var(--green-primary);
    font-weight: 600;
}
.comparison-table-cta a:hover { color: var(--green-dark); }

.table-badge {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Flight-number column hint in disc table */
.col-hint {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0;
    text-transform: none;
}

.comparison-intro {
    background: var(--green-light);
    border-left: 4px solid var(--green-primary);
    padding: 14px 18px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 20px;
    font-size: 0.93rem;
    color: var(--text);
}
.comparison-intro p { margin: 0; }

.full-review-cta {
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 28px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.full-review-cta p { margin: 0; font-size: 0.93rem; flex: 1; min-width: 200px; }

/* Product thumbnail in comparison-table name cell */
.table-product { display: flex; align-items: center; gap: 12px; }
.table-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px;
}
.table-thumb-ph {
    display: inline-block;
    background: var(--green-light) url("../favicon.svg") center / 24px 24px no-repeat;
    opacity: 0.7;
}
.table-product-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.table-product-info a { font-weight: 600; }
.comparison-table td:first-child { min-width: 210px; }

/* Mobile horizontal-scroll affordance for wide comparison tables */
.table-wrap { -webkit-overflow-scrolling: touch; }
.table-scroll-hint {
    display: none;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 4px 0 0;
}

@media (max-width: 640px) {
    .table-filters { gap: 8px 14px; padding: 12px; }
    .filter-btn { padding: 3px 10px; font-size: 0.76rem; }
    .full-review-cta { flex-direction: column; gap: 10px; }
    .table-scroll-hint { display: block; }
    .table-wrap {
        border: 1px solid var(--border);
        border-radius: var(--radius);
    }
    .comparison-table { font-size: 0.82rem; }
    .comparison-table th,
    .comparison-table td { padding: 9px 10px; }
    .comparison-table th { font-size: 0.9rem; }
    .table-thumb { width: 42px; height: 42px; }
    .table-product { gap: 9px; }
    .comparison-table td:first-child { min-width: 170px; }
}

/* Gift guide price-tier badge */
.tier-badge {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

