/* =============================================
   BLOG DETAIL / ARTICLE PAGE - UNIFIED CSS
   File: src/css/insights/blog-detail.css
   ============================================= */

.article-hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
}

.article-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.article-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.7) 0%, rgba(10, 14, 23, 0.9) 100%);
}

.article-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 100px 0 60px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.article-category {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--bw-accent);
    font-weight: 400;
}

.article-divider {
    opacity: 0.5;
}

.article-date {
    font-weight: 300;
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 0;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Article Content */
.article-content {
    padding: 80px 0;
    background: #fff;
}

.article-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--bw-ink);
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--bw-border);
}

.article-section {
    margin-bottom: 48px;
}

.article-h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--bw-ink);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.article-h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--bw-accent);
}

.article-h2-white {
    font-size: 30px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.article-h2-white::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #fff;
}

.article-h3,
.article-h3-white {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 16px;
}

.article-h3 { color: var(--bw-accent); }
.article-h3-white { color: #fff; }

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bw-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 400;
}

.article-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--bw-muted);
    margin-bottom: 20px;
}

.article-highlight {
    background: rgba(249, 95, 14, 0.05);
    border-left: 4px solid var(--bw-accent);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 1.05rem;
    color: var(--bw-ink);
    font-style: italic;
}

/* Lists */
.article-list,
.article-list-white,
.article-list-compact {
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}

.article-list li,
.article-list-compact li,
.article-list-white li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-list li,
.article-list-compact li { color: var(--bw-muted); }
.article-list-white li { color: rgba(255, 255, 255, 0.9); }

.article-list li::before,
.article-list-compact li::before,
.article-list-white li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--bw-accent);
    border-radius: 50%;
}

.article-list-white li::before {
    background: #fff;
}

/* Numbered list override */
ol.article-list {
    counter-reset: bw-ol;
}

ol.article-list > li {
    counter-increment: bw-ol;
    padding-left: 44px;
}

ol.article-list > li::before {
    content: counter(bw-ol);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--bw-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    top: 2px;
}

/* Feature boxes, CTA, etc. */
.article-feature-box {
    background: #f8f8f8;
    border-left: 4px solid var(--bw-accent);
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 0 8px 8px 0;
}

.article-cta-box {
    background: linear-gradient(135deg, var(--bw-dark) 0%, #1a1f2e 100%);
    padding: 48px;
    border-radius: 12px;
    color: #fff;
}

.article-cta-box p {
    color: rgba(255, 255, 255, 0.8);
}

.article-final-cta {
    background: var(--bw-bg);
    padding: 48px;
    border-radius: 12px;
    text-align: center;
    margin: 60px 0 40px;
}

.article-image-wrapper {
    margin: 40px 0;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.article-image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--bw-muted);
    margin-top: 12px;
    font-style: italic;
}

/* Stats Grid */
.article-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--bw-accent) 0%, #e5540c 100%);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(249, 95, 14, 0.2);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Checklist */
.checklist-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.checklist-item i {
    font-size: 24px;
    color: var(--bw-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .article-hero__content { padding: 80px 0 50px; }
    .article-cta-box { padding: 32px 24px; }
}

@media (max-width: 576px) {
    .article-hero__content { padding: 60px 0 40px; }
    .article-title { font-size: 1.75rem; }
    .article-meta { flex-direction: column; gap: 8px; }
    .article-divider { display: none; }
    .article-h2, .article-h2-white { font-size: 1.5rem; }
}