/* ============================================
   BROBILLIONAIRE - PREMIUM ARTICLE ENHANCEMENTS
   Professional, Authoritative, Credible Design
   Version 2.0 - February 2026
   ============================================ */

/* ============================================
   GLOBAL ARTICLE ENHANCEMENTS
   ============================================ */

/* Remove personal/casual feel - add authority */
.article-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
    font-size: 1.0625rem !important;
    /* 17px - optimal readability */
    line-height: 1.75 !important;
    color: #e8e8e8 !important;
    max-width: 780px !important;
    letter-spacing: -0.003em !important;
}

/* Professional paragraph spacing */
.article-content p {
    margin-bottom: 1.75rem !important;
    color: #d8d8d8 !important;
    font-weight: 400 !important;
}

/* Enhanced professional headings */
.article-content h2,
.section-header {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
    margin: 3.5rem 0 1.75rem !important;
    letter-spacing: -0.02em !important;
    position: relative !important;
}

.article-content h3,
.subsection-header {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin: 2.5rem 0 1.25rem !important;
    color: #f5f5f5 !important;
    letter-spacing: -0.015em !important;
}

.article-content h4 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    margin: 2rem 0 1rem !important;
    color: #e8e8e8 !important;
}

/* ============================================
   PROFESSIONAL AUTHOR ATTRIBUTION
   ============================================ */

.article-byline {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
    border-left: 3px solid #C9A227;
    border-radius: 12px;
    margin: 2.5rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.byline-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(201, 162, 39, 0.4);
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #C9A227;
    flex-shrink: 0;
}

.byline-info {
    flex: 1;
}

.byline-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.byline-title {
    font-size: 0.9375rem;
    color: #C9A227;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.byline-date {
    font-size: 0.875rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.byline-date i {
    color: #C9A227;
    font-size: 0.75rem;
}

/* ============================================
   CREDIBILITY INDICATORS
   ============================================ */

.article-credibility-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid rgba(201, 162, 39, 0.15);
}

.credibility-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: #bbb;
}

.credibility-icon {
    color: #C9A227;
    font-size: 1.125rem;
    opacity: 0.9;
}

.credibility-value {
    font-weight: 600;
    color: #ffffff;
}

/* ============================================
   ENHANCED DATA PRESENTATION
   ============================================ */

/* Premium tables */
.article-content table,
.data-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 2.5rem 0 !important;
    background: rgba(22, 22, 22, 0.8) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
}

.article-content thead,
.data-table thead {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.25), rgba(201, 162, 39, 0.15)) !important;
}

.article-content th,
.data-table th {
    padding: 1.25rem 1.5rem !important;
    text-align: left !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #F4D03F !important;
    border-bottom: 2px solid rgba(201, 162, 39, 0.3) !important;
}

.article-content td,
.data-table td {
    padding: 1.125rem 1.5rem !important;
    border-bottom: 1px solid rgba(201, 162, 39, 0.08) !important;
    color: #d8d8d8 !important;
    font-size: 0.9375rem !important;
}

.article-content tbody tr:hover,
.data-table tbody tr:hover {
    background: rgba(201, 162, 39, 0.06) !important;
    cursor: default;
}

.article-content tbody tr:last-child td,
.data-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* ============================================
   PROFESSIONAL CALLOUT BOXES
   ============================================ */

/* Key insight boxes */
.key-insight-box {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.06));
    border-left: 4px solid #C9A227;
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.key-insight-box::before {
    content: '💡';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    opacity: 0.15;
}

.key-insight-box h4 {
    color: #F4D03F !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
}

/* Data-driven stat boxes */
.stat-highlight-box {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(201, 162, 39, 0.25);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-highlight-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #C9A227, #F4D03F, #C9A227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-highlight-label {
    font-size: 1rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Expert quote boxes */
.expert-quote-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(37, 99, 235, 0.04));
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 2rem 2rem 2rem 3.5rem;
    margin: 2.5rem 0;
    position: relative;
    font-style: italic;
    color: #e8e8e8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.expert-quote-box::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: rgba(59, 130, 246, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.expert-quote-attribution {
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.9375rem;
    color: #3b82f6;
    font-weight: 600;
}

/* ============================================
   ENHANCED LIST STYLING
   ============================================ */

.article-content ul:not(.key-points) {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.article-content ul:not(.key-points) li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: #d8d8d8;
}

.article-content ul:not(.key-points) li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #C9A227;
    font-weight: bold;
    font-size: 1.25rem;
}

.article-content ol {
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.article-content ol li {
    margin-bottom: 1rem;
    color: #d8d8d8;
    padding-left: 0.5rem;
}

.article-content ol li::marker {
    color: #C9A227;
    font-weight: 700;
}

/* Key points premium styling */
.key-points {
    list-style: none !important;
    padding: 0 !important;
    margin: 2rem 0 !important;
}

.key-points li {
    padding: 1.25rem 1.5rem 1.25rem 3rem !important;
    margin-bottom: 1rem !important;
    background: rgba(26, 26, 26, 0.7) !important;
    border-left: 4px solid #C9A227 !important;
    border-radius: 12px !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.key-points li:hover {
    background: rgba(201, 162, 39, 0.08) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.15) !important;
}

.key-points li::before {
    content: '◆' !important;
    position: absolute !important;
    left: 1.25rem !important;
    color: #C9A227 !important;
    font-weight: bold !important;
    font-size: 0.875rem !important;
}

/* ============================================
   SOURCE CITATIONS & REFERENCES
   ============================================ */

.article-content a {
    color: #5b9eff;
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 158, 255, 0.3);
    transition: all 0.2s ease;
}

.article-content a:hover {
    color: #7db3ff;
    border-bottom-color: rgba(125, 179, 255, 0.6);
}

/* Inline citations */
.inline-citation {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #C9A227;
    margin-left: 0.25rem;
    cursor: help;
    vertical-align: super;
}

.inline-citation::before {
    content: '[';
}

.inline-citation::after {
    content: ']';
}

/* References section */
.references-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(201, 162, 39, 0.2);
}

.references-section h3 {
    color: #C9A227 !important;
    font-size: 1.75rem !important;
    margin-bottom: 2rem !important;
}

.references-list {
    list-style: none;
    padding: 0;
}

.references-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(26, 26, 26, 0.5);
    border-left: 3px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #aaa;
    line-height: 1.6;
}

/* ============================================
   METHODOLOGY & TRANSPARENCY
   ============================================ */

.methodology-box {
    background: rgba(201, 162, 39, 0.06);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    font-size: 0.9375rem;
    color: #d0d0d0;
}

.methodology-box h4 {
    color: #F4D03F !important;
    font-size: 1.125rem !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.methodology-box h4 i {
    color: #C9A227;
}

/* Last updated timestamp */
.last-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #888;
    padding: 0.625rem 1.25rem;
    background: rgba(20, 20, 20, 0.7);
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 1px solid rgba(201, 162, 39, 0.15);
}

.last-updated-badge i {
    color: #C9A227;
}

/* ============================================
   WARNING & DISCLAIMER BOXES
   ============================================ */

.disclaimer-box {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(234, 88, 12, 0.04));
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    padding: 1.75rem 2rem 1.75rem 4rem;
    margin: 2.5rem 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.disclaimer-box::before {
    content: '⚠️';
    position: absolute;
    top: 1.75rem;
    left: 1.5rem;
    font-size: 1.5rem;
}

.disclaimer-box h4 {
    color: #fb923c !important;
    margin-top: 0 !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .article-content {
        font-size: 1rem !important;
        padding: 2.5rem 20px !important;
    }

    .article-content h2,
    .section-header {
        font-size: 1.75rem !important;
        margin: 2.5rem 0 1.25rem !important;
    }

    .article-content h3,
    .subsection-header {
        font-size: 1.25rem !important;
        margin: 2rem 0 1rem !important;
    }

    .article-byline {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .byline-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.125rem;
    }

    .article-credibility-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .stat-highlight-number {
        font-size: 2.5rem;
    }

    .key-points li {
        padding: 1rem 1.25rem 1rem 2.5rem !important;
    }

    .article-content table,
    .data-table {
        font-size: 0.875rem !important;
        display: block;
        overflow-x: auto;
    }

    .article-content th,
    .data-table th,
    .article-content td,
    .data-table td {
        padding: 0.875rem 1rem !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .article-content {
        font-size: 11pt !important;
        color: #000 !important;
    }

    .article-byline,
    .article-credibility-bar,
    .key-insight-box,
    .expert-quote-box,
    .disclaimer-box {
        background: none !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    .article-content a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

.article-content :focus-visible {
    outline: 2px solid #C9A227;
    outline-offset: 2px;
}

.article-content a:focus-visible {
    background: rgba(201, 162, 39, 0.1);
    border-radius: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .key-points li,
    .article-content a {
        transition: none !important;
    }

    .key-points li:hover {
        transform: none !important;
    }
}

/* ============================================
   END OF PREMIUM ARTICLE ENHANCEMENTS
   ============================================ */