/* N3ON Sports — long-form article styles (guides, comparisons).
   Loaded after site.css. Restyles the existing article markup classes
   in the dark/neon design so article content stays untouched. */

/* ---------- Column ---------- */
.article .page-hero .container,
.article main > .container,
.article .content-wrapper {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Hero ---------- */
.article .page-hero { padding: 176px 0 88px; }
.article .page-hero h1 {
    font-size: clamp(2.5rem, 5.6vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.035em;
    max-width: 18ch;
    text-wrap: balance;
}
.article .page-hero .section-label { margin-bottom: 20px; }
.author-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--muted);
    margin-bottom: 32px;
}
.author-byline::before {
    content: 'RH';
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--neon-grad);
    color: #04130c;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
}
.article .subtitle {
    font-size: 1.1875rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 40em;
    text-wrap: pretty;
}

/* ---------- Body copy ---------- */
.article main { padding-bottom: 40px; }
.article main a:not(.cta-btn):not(.cta-button) {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: rgba(61, 255, 168, 0.5);
    text-underline-offset: 3px;
    border-bottom: none !important;
    transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease);
}
.article main a:not(.cta-btn):not(.cta-button):hover { color: var(--neon); text-decoration-color: var(--neon); }

.article .section,
.article .guide-section {
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
}
.article .section:last-of-type,
.article .guide-section:last-of-type { border-bottom: none; }

.article .section h2,
.article .guide-section h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(1.625rem, 2.6vw, 2.125rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 28px;
}
.article .section h2::before,
.article .guide-section h2::before {
    content: '';
    width: 4px;
    align-self: stretch;
    min-height: 1em;
    border-radius: 4px;
    background: var(--neon-grad);
    flex-shrink: 0;
}
.article .section h3,
.article .guide-section h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin: 32px 0 12px; }

.article .section p,
.article .guide-section p,
.article .section li,
.article .guide-section li {
    font-size: 1.0625rem;
    color: #b9b9c0;
    line-height: 1.8;
}
.article .section p,
.article .guide-section p { margin-bottom: 18px; }
.article .section p:last-child,
.article .guide-section p:last-child { margin-bottom: 0; }

.article .guide-section > ul,
.article .section > ul:not(.points) {
    list-style: none;
    margin: 20px 0 24px;
    border-top: 1px solid var(--line);
}
.article .guide-section > ul > li,
.article .section > ul:not(.points) > li {
    position: relative;
    padding: 14px 0 14px 22px;
    border-bottom: 1px solid var(--line);
}
.article .guide-section > ul > li::before,
.article .section > ul:not(.points) > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 26px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon);
}

.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9375rem;
}

/* ---------- TL;DR ---------- */
.tldr,
.tldr-block {
    position: relative;
    margin: 64px 0 8px;
    padding: 36px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 255, 168, 0.25);
    background:
        radial-gradient(ellipse 60% 100% at 0% 0%, rgba(61, 255, 168, 0.10), transparent 60%),
        linear-gradient(180deg, var(--surface-2), var(--surface));
    overflow: hidden;
}
.tldr::before {
    content: 'TL;DR';
    display: block;
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--neon);
}
.tldr-label {
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon);
}
.tldr p,
.tldr-block p { font-size: 1.125rem; line-height: 1.75; color: var(--text); }

/* ---------- Numbered criteria ---------- */
.criterion {
    padding: 32px 0;
    border-top: 1px solid var(--line);
}
.criterion:first-of-type { border-top: none; padding-top: 0; }
.criterion-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.criterion-number {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: rgba(61, 255, 168, 0.08);
    border: 1px solid rgba(61, 255, 168, 0.35);
    color: var(--neon);
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.article .criterion h3 { margin: 0; font-size: 1.375rem; }

/* ---------- Bullet lists ---------- */
ul.points { list-style: none; margin: 20px 0; border-top: 1px solid var(--line); }
ul.points li {
    position: relative;
    padding: 16px 0 16px 24px;
    border-bottom: 1px solid var(--line);
}
ul.points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 28px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 10px rgba(61, 255, 168, 0.6);
}
ul.points li.red-flag::before { background: #ff5c7a; box-shadow: 0 0 10px rgba(255, 92, 122, 0.6); }
.red-flag { padding-left: 24px; }

ol.questions,
ol.criteria-list {
    list-style: none;
    counter-reset: q;
    margin: 20px 0;
    border-top: 1px solid var(--line);
}
ol.questions li,
ol.criteria-list li {
    counter-increment: q;
    position: relative;
    padding: 18px 0 18px 52px;
    border-bottom: 1px solid var(--line);
}
ol.questions li::before,
ol.criteria-list li::before {
    content: counter(q, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 18px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neon);
    padding-top: 4px;
    font-variant-numeric: tabular-nums;
}
ol.criteria-list li strong { display: block; margin-bottom: 4px; }

/* ---------- Ranked firms ---------- */
.ranked-item {
    position: relative;
    margin: 0 0 16px;
    padding: 36px 40px 36px 104px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.ranked-item:has(.top-pick) {
    border-color: rgba(61, 255, 168, 0.35);
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(61, 255, 168, 0.12), transparent 60%),
        linear-gradient(180deg, var(--surface-2), var(--surface));
    box-shadow: 0 30px 80px -40px rgba(61, 255, 168, 0.35);
}
.rank-badge {
    position: absolute;
    left: 36px;
    top: 34px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--muted);
}
.rank-badge.top-pick { background: var(--neon-grad); border-color: transparent; color: #04130c; }
.article .ranked-item h3 { display: inline; margin: 0; font-size: 1.5rem; line-height: 44px; }
.pick-label {
    display: inline-block;
    margin-left: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #04130c;
    background: var(--neon-grad);
    vertical-align: 4px;
}
.firm-details { margin-top: 16px; }
.article .firm-details p { font-size: 1rem; }
.firm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.firm-tags span {
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid var(--line-strong);
    font-size: 0.8125rem;
    color: var(--muted);
}
.ranked-item:has(.top-pick) .firm-tags span { border-color: rgba(61, 255, 168, 0.35); color: var(--text); }

/* ---------- Comparison table ---------- */
.table-wrapper {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(1176px, calc(100vw - 64px));
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    -webkit-overflow-scrolling: touch;
}
.comparison-table { margin: 0 !important; min-width: 860px; font-size: 0.875rem !important; }
.comparison-table th,
.comparison-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.5;
}
.comparison-table th {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    background: var(--bg-raised);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:first-child td { background: rgba(61, 255, 168, 0.05); }
.comparison-table td strong { color: var(--text); }
.comparison-table td.check { color: var(--neon); font-weight: 600; }
.comparison-table td.no { color: var(--dim); }
.comparison-table td.limited { color: #e5c07b; }

/* ---------- FAQ ---------- */
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.article .faq-item h3 { margin: 0 0 10px; font-size: 1.125rem; }
.article .faq-item p { font-size: 1rem; }

/* ---------- Citations ---------- */
.citations-list { list-style: none; border-top: 1px solid var(--line); }
.article .citations-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.article .citations-list li::before { display: none; }

/* ---------- CTA ---------- */
.cta-section {
    position: relative;
    margin: 56px 0;
    padding: 64px 56px;
    border-radius: 28px;
    border: 1px solid var(--line);
    text-align: left;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 90% at 100% 0%, rgba(61, 255, 168, 0.16), transparent 60%),
        radial-gradient(ellipse 45% 70% at 0% 100%, rgba(34, 211, 238, 0.10), transparent 60%),
        linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cta-section h2 {
    font-size: clamp(1.875rem, 3.6vw, 2.75rem);
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 16px;
    text-wrap: balance;
}
.cta-section h2::before { display: none; }
.cta-section p { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 28px; max-width: 52ch; }
.cta-section a.cta-btn,
.cta-section a.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 28px;
    border-radius: 100px;
    background: var(--neon-grad);
    color: #04130c;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cta-section a.cta-btn::after,
.cta-section a.cta-button::after { content: '\2192'; }
.cta-section a.cta-btn:hover,
.cta-section a.cta-button:hover { transform: translateY(-1px); box-shadow: 0 12px 40px -6px var(--neon-glow); color: #04130c; }
.cta-email { display: inline-block; margin-left: 20px; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .article .page-hero { padding: 140px 0 64px; }
    .article .page-hero .container,
    .article main > .container,
    .article .content-wrapper { padding: 0 24px; }
    .tldr, .tldr-block { padding: 28px 24px; margin-top: 48px; }
    .table-wrapper { width: calc(100vw - 48px); }
    .ranked-item { padding: 28px 24px; }
    .rank-badge { position: static; display: inline-grid; margin-right: 12px; vertical-align: middle; }
    .article .ranked-item h3 { line-height: 1.3; vertical-align: middle; }
    .pick-label { margin: 8px 0 0; display: table; }
    .cta-section { padding: 44px 24px; border-radius: 24px; }
    .cta-email { display: block; margin: 16px 0 0; }
}

@media (max-width: 560px) {
    .article .page-hero .container,
    .article main > .container,
    .article .content-wrapper { padding: 0 20px; }
    .article .section, .article .guide-section { padding: 48px 0; }
    .cta-section a.cta-btn, .cta-section a.cta-button { width: 100%; justify-content: center; }
}
