/* =============================================
   THE SOVEREIGN — Article Styles
   Shared styles for all rating report articles
   ============================================= */

/* Article Layout */
.article-hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.article-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.5);
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--bg-deep) 10%, transparent);
    z-index: -1;
}

.article-hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

/* Article Body */
.article-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-body h2 {
    font-size: 1.5rem;
    margin-top: 56px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: #fff;
}

.article-body h3 {
    font-size: 1.15rem;
    margin-top: 36px;
    margin-bottom: 14px;
    color: var(--gold);
}

.article-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 2;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 2;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body strong {
    color: var(--text-main);
}

/* Executive Summary Box */
.exec-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 32px;
    margin: 32px 0;
}

.exec-summary h3 {
    margin-top: 0;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.exec-summary p {
    margin-bottom: 12px;
}

.exec-summary .verdict {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

/* Rating Badge Large */
.rating-badge-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.rating-badge-lg.buy {
    background: rgba(0, 200, 83, 0.12);
    color: var(--rating-buy);
    border: 1px solid rgba(0, 200, 83, 0.3);
}

/* Data Cards */
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.data-card .data-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.data-card .data-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

/* Comparison Table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.85rem;
}

.compare-table th {
    background: var(--gold-subtle);
    color: var(--gold);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-gold);
}

.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    vertical-align: top;
}

.compare-table tr:hover td {
    background: var(--bg-glass);
}

.compare-table .highlight-row td {
    color: var(--text-main);
    font-weight: 600;
    background: rgba(201, 168, 76, 0.04);
}

/* Data Table (Pillar Articles) */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.data-table thead th {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(201, 168, 76, 0.3);
    border-right: 1px solid var(--border);
    white-space: nowrap;
}

.data-table thead th:last-child {
    border-right: none;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    vertical-align: top;
    line-height: 1.6;
}

.data-table td:last-child {
    border-right: none;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover td {
    background: rgba(201, 168, 76, 0.03);
}

/* Report Link Card (Pillar Articles) */
.report-card {
    display: flex;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.report-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.report-card-img {
    width: 180px;
    min-width: 180px;
    height: 120px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.report-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.report-card-body h3 {
    font-size: 1.05rem;
    color: #fff;
    margin: 0 0 6px 0;
}

.report-card-body .report-card-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.report-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.report-card-body .report-card-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

@media (max-width: 600px) {
    .report-card {
        flex-direction: column;
        gap: 16px;
    }
    .report-card-img {
        width: 100%;
        min-width: unset;
        height: 160px;
    }
}

/* Evidence Box */
.evidence-box {
    border-left: 3px solid var(--gold);
    padding: 16px 20px;
    margin: 20px 0;
    background: var(--bg-glass);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.evidence-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.evidence-box .source {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 8px;
}

/* Pros & Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.pros,
.cons {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.pros {
    border: 1px solid rgba(0, 200, 83, 0.15);
}

.cons {
    border: 1px solid rgba(255, 23, 68, 0.15);
}

.pros h4 {
    color: var(--rating-buy);
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.cons h4 {
    color: var(--rating-sell);
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.pros li,
.cons li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ROI Box */
.roi-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 32px;
    margin: 28px 0;
    text-align: center;
}

.roi-value {
    font-size: 2.4rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--gold);
    line-height: 1;
    margin: 12px 0;
}

.roi-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Article Table of Contents */
.article-body h2[id] {
    scroll-margin-top: 100px;
}

.article-toc {
    margin: 32px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
}

.article-toc h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.article-toc ol {
    margin: 0;
    padding-left: 20px;
    list-style: none;
    counter-reset: toc-counter;
}

.article-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-toc ol li::before {
    content: counter(toc-counter) ".";
    color: var(--gold);
    font-weight: 700;
    margin-right: 8px;
    font-family: 'Outfit', sans-serif;
}

.article-toc ol li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.article-toc ol li a:hover {
    color: var(--gold);
}

/* Premium CTA Wrapper */
.premium-cta-container {
    margin: 48px 0;
    padding: 24px;
    background: linear-gradient(145deg, rgba(201, 168, 76, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.premium-cta-container .premium-cta-title {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.premium-cta-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* Premium CTA Primary (Main Conversion) */
.premium-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #DFB950 0%, #B8902A 100%);
    color: #000 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.15);
}

.premium-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
    background: linear-gradient(135deg, #ECC863 0%, #C79E31 100%);
}

.premium-cta-primary i {
    font-size: 1.1rem;
}

.premium-cta-microcopy {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 2px;
}

/* Premium CTA Secondary (Amazon/Rakuten) */
.premium-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.premium-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.premium-cta-disclaimer {
    margin-top: 16px;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* Disclaimer */
.disclaimer {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 32px 0;
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    transition: gap 0.3s;
}

.back-link:hover {
    gap: 12px;
    opacity: 1;
}

/* CTA Button */
.cta-button-container {
    text-align: center;
    margin: 40px 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--rating-buy), #00E676);
    color: var(--bg-deep);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 200, 83, 0.25);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 200, 83, 0.4);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .data-grid {
        grid-template-columns: 1fr;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .article-hero {
        height: 40vh;
        min-height: 280px;
    }

    .article-hero-content {
        padding: 32px 20px;
    }

    .compare-table {
        font-size: 0.78rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 12px;
    }
}