/*
   VELOCITYVERIFY BLOG CSS
   Unified Design System, Responsive Article Components & Zero-CLS Ad Rules
*/

:root {
    --ink: #FFFFFF;
    --muted: #a0a0a0;
    --line: #222222;
    --paper: #0a0a0a;
    --card-bg: #121214;
    --card-border: #202228;
    --blue: #1769e0;
    --blue-glow: rgba(23,105,224,0.15);
    --green: #00cc66;
    --orange: #ff9900;
    --red: #ff003c;
    --nav-width: 280px;
}

html, body {
    border: none;
    padding: 0;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
}

body {
    font-family: "Montserrat", "Helvetica Neue", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*
==================================================
1. GLOBAL NAVIGATION & FOOTER
==================================================
*/
header, .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #1a1a1a;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo a, .site-header .logo a {
    font-size: 1.5em;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}

header nav a, .site-header nav a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
    margin-left: 1.5rem;
}

header nav a:hover, .site-header nav a:hover {
    color: #fff;
}

.menu-toggle {
    display: none;
}

footer {
    padding: 3rem 2rem;
    border-top: 1px solid #1a1a1a;
    margin-top: auto;
    background: #080808;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #fff;
}

.footer-powered {
    color: #444;
    font-size: 0.8em;
}

.footer-powered a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-powered a:hover {
    color: #888;
}

/*
==================================================
2. ARTICLE LAYOUT & STICKY SIDEBAR
==================================================
*/
.article-page-wrap {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.article-sidebar {
    width: var(--nav-width);
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    padding: 30px 20px;
    border-right: 1px solid var(--line);
    overflow-y: auto;
    display: none;
    background: #0d0d0f;
    box-sizing: border-box;
}

.sidebar-title {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    margin-bottom: 12px;
}

.toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 6px;
}

.toc a {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    color: #8e929b;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: all 0.2s;
}

.toc a:hover, .toc a.active {
    background: rgba(255,0,60,0.1);
    color: #ff003c;
    border-left: 2px solid #ff003c;
}

.sidebar-note {
    font-size: 12px;
    color: #666;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 24px;
    line-height: 1.6;
}

.sidebar-note a {
    color: #ff003c;
    text-decoration: none;
}

.article-main-container {
    flex: 1;
    min-width: 0;
    padding: 0 2rem 5rem;
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

/*
==================================================
3. BREADCRUMBS, BADGES & HEADER
==================================================
*/
.article-hero-header {
    display: block;
    width: 100%;
    padding: 2rem 0 1rem;
    margin: 0 0 1rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #fff;
}

.breadcrumb-nav .sep {
    color: #444;
}

.breadcrumb-nav .current {
    color: #ff003c;
    font-weight: 500;
}

.article-badge-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge.category-badge {
    background: rgba(255,0,60,0.12);
    color: #ff003c;
    border: 1px solid rgba(255,0,60,0.3);
}

.badge.status-badge {
    background: rgba(255,153,0,0.12);
    color: #ffaa00;
    border: 1px solid rgba(255,153,0,0.3);
}

.badge.method-badge {
    background: #18191e;
    color: #9da2ae;
    border: 1px solid #2a2d36;
}

.article-hero-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 1.2rem;
    letter-spacing: -0.5px;
}

.dek {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #b4bac8;
    margin: 0 0 1.5rem;
    display: block;
}

/*
==================================================
4. AUTHOR BYLINE BAR
==================================================
*/
.article-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #1a1a1c;
    border-bottom: 1px solid #1a1a1c;
    margin: 1.5rem 0 2rem;
    flex-wrap: wrap;
}

.author-info-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar-img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #ff003c;
    object-fit: cover;
}

.author-byline {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.author-byline a {
    color: #fff;
    text-decoration: none;
}

.author-byline a:hover {
    color: #ff003c;
}

.verified-badge {
    display: inline-block;
    font-size: 11px;
    color: #00cc66;
    font-weight: 500;
    margin-left: 6px;
}

.article-date-meta {
    font-size: 12px;
    color: #888;
    margin-top: 3px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.dot-sep {
    color: #444;
}

/*
==================================================
5. FEATURED IMAGES & DIAGRAMS (ZERO CLS)
==================================================
*/
.hero-image-wrap {
    margin: 2rem 0;
    position: relative;
    width: 100%;
}

.featured-hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 10px;
    border: 1px solid #22242b;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.image-caption {
    font-size: 12px;
    color: #7e838f;
    margin-top: 8px;
    line-height: 1.5;
    text-align: center;
}

.diagram-image-wrap {
    margin: 2.5rem 0;
    position: relative;
    width: 100%;
}

.diagram-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    border: 1px solid #202228;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/*
==================================================
6. EXECUTIVE VERDICT & KEY TAKEAWAYS CARD
==================================================
*/
.verdict-summary-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    background: linear-gradient(135deg,#131418 0%,#101216 100%);
    border: 1px solid #272a33;
    border-left: 4px solid #ff9900;
    border-radius: 10px;
    padding: 22px;
    margin: 2rem 0 2.5rem;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.verdict-score-column {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #20222a;
    padding-right: 18px;
}

.score-circle-large {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #181a20;
    border: 4px solid #ff9900;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.score-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.score-max {
    font-size: 11px;
    color: #888;
}

.score-stars {
    color: #ff9900;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 3px;
}

.score-type {
    font-size: 10px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.verdict-headline {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.verdict-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0b4be;
    margin: 0 0 12px;
}

.verdict-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
}

.hl-good {
    color: #00cc66;
    background: rgba(0,204,102,0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.hl-warn {
    color: #ffaa00;
    background: rgba(255,170,0,0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

/*
==================================================
7. ARTICLE CONTENT TYPOGRAPHY
==================================================
*/
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.article-body section {
    scroll-margin-top: 100px;
    margin-bottom: 4rem;
}

.article-body h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    border-bottom: 1px solid #1f1f1f;
    padding-bottom: 0.6rem;
}

.article-body h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.8rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body a {
    color: #ff003c;
    text-decoration: none;
    border-bottom: 1px dotted #ff003c;
}

.article-body a:hover {
    border-bottom-style: solid;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.6rem;
}

.lead-p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #ffffff;
}

/*
==================================================
8. CALLOUTS & INFO CARDS
==================================================
*/
.callout {
    padding: 1.2rem 1.4rem;
    border-left: 4px solid #ff003c;
    background: rgba(255,0,60,0.05);
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    line-height: 1.7;
}

.callout.warning {
    border-left-color: #ff9900;
    background: rgba(255,153,0,0.06);
}

.callout.danger {
    border-left-color: #ff003c;
    background: rgba(255,0,60,0.08);
}

.callout.good {
    border-left-color: #00cc66;
    background: rgba(0,204,102,0.06);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin: 2rem 0;
}

.info-card {
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 20px;
    background: var(--card-bg);
}

.info-card h3, .info-card h4 {
    margin: 0 0 8px 0;
    color: #fff;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 4px 0;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/*
==================================================
9. TABLES & COMPARISON MATRICES
==================================================
*/
.table-wrap {
    overflow-x: auto;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    margin: 2rem 0;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 600px;
    font-size: 0.95rem;
}

th, td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #1a1a1a;
    vertical-align: top;
}

th {
    background: #141416;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

tr:hover td {
    background: #121214;
}

.val-good { color: #00cc66; font-weight: 700; }
.val-bad { color: #ff003c; font-weight: 700; }
.val-ok { color: #ffaa00; font-weight: 700; }

/*
==================================================
10. AUTHOR CARD & CTA BOX
==================================================
*/
.author-card {
    display: flex;
    gap: 1.5rem;
    background: #121214;
    border: 1px solid #1f1f1f;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 3rem 0;
    align-items: center;
}

.author-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff003c;
}

.author-card h4 {
    margin: 0 0 0.4rem 0;
    color: #fff;
    font-size: 1.1rem;
}

.author-card p {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cta-box {
    text-align: center;
    margin: 3rem 0;
    padding: 2.5rem;
    background: #101216;
    border: 1px solid #1f2229;
    border-radius: 8px;
}

.article-body .cta-button, .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 2.2rem;
    background: #ff003c;
    color: #ffffff !important;
    border: 1px solid #ff003c;
    border-bottom: none !important;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255,0,60,0.3);
}

.article-body .cta-button:hover, .cta-button:hover {
    background: #d60032;
    border-color: #d60032;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(255,0,60,0.5);
    border-bottom: none !important;
}

/*
==================================================
11. MOBILE TOC DRAWER
==================================================
*/
.mobile-toc-bar {
    display: none;
    position: sticky;
    top: 70px;
    z-index: 90;
    background: #0d0d0f;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px;
}

.mobile-toc-bar button {
    width: 100%;
    padding: 10px;
    border: 1px solid #2c2f38;
    background: #15171c;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 12px 0;
}

.mobile-panel.open {
    display: block;
}

.mobile-panel a {
    display: block;
    padding: 8px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
}

/*
==================================================
12. MEDIA QUERIES & ZERO-CLS ADS
==================================================
*/
@media(min-width:1100px) {
    .article-sidebar {
        display: block;
    }
}

@media(max-width:1099px) {
    .mobile-toc-bar {
        display: block;
    }
}

@media(max-width:768px) {
    header, .site-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .article-main-container {
        padding: 0 1rem 4rem;
    }
    .grid-2, .form-grid, .evidence-status-grid, .ui-grid {
        grid-template-columns: 1fr;
    }
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    .verdict-summary-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .verdict-score-column {
        border-right: none;
        border-bottom: 1px solid #20222a;
        padding-right: 0;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    .article-hero-header h1 {
        font-size: 1.85rem;
    }
}

/*
==================================================
13. ZERO-CLS AD WRAPPERS
==================================================
*/
[class^="ad-wrapper-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    margin: 2rem 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

[class^="ad-wrapper-"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.02) 10px,
        rgba(255,255,255,0.02) 20px
    );
    pointer-events: none;
    z-index: 0;
}

.ad-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 4px;
    letter-spacing: 2px;
    z-index: 1;
    font-family: "Montserrat", "Helvetica Neue", sans-serif;
}

.ad-wrapper-leaderboard {
    min-height: 90px;
    max-width: 970px;
    margin-left: auto;
    margin-right: auto;
}

.ad-wrapper-incontent {
    min-height: 280px;
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
}

.ad-wrapper-sidebar {
    min-height: 600px;
    width: 300px;
    margin: 0;
}

@media (max-width: 768px) {
    .ad-wrapper-leaderboard {
        min-height: 100px;
        width: 100%;
    }
    .ad-wrapper-sidebar {
        display: none;
    }
}

.quarantine-zone-blog {
    margin: 50px 0;
    position: relative;
    padding: 30px 0;
    width: 100%;
    border-radius: 12px;
    background: radial-gradient(circle at center, rgba(17,17,17,0.5) 0%, transparent 70%);
}
