/* ============================================================
   BLOG PAGE — DARK EDITORIAL DESIGN
   ============================================================ */

/* ── Page shell ─────────────────────────────────────────────── */
body.blog-page {
    background: #0d0d0d;
    color: #e8e8e8;
}

/* ── Blog hero / intro ──────────────────────────────────────── */
.blog-hero {
    background: #0d0d0d;
    padding: 60px 0 40px;
    border-bottom: 1px solid #1e1e1e;
}

.blog-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.blog-hero p {
    font-size: 1rem;
    color: #888;
    max-width: 520px;
    line-height: 1.7;
}

/* ── Featured split layout ──────────────────────────────────── */
.blog-featured {
    background: #0d0d0d;
    padding: 40px 0 60px;
    border-bottom: 1px solid #1e1e1e;
}

.blog-featured-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Left: large hero card */
.feat-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feat-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(122, 28, 46, 0.35);
}

.feat-main-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.feat-main:hover .feat-main-img {
    transform: scale(1.04);
}

.feat-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.25) 40%,
        rgba(0,0,0,0.82) 100%
    );
}

.feat-main-body {
    position: relative;
    z-index: 2;
    padding: 32px 36px;
}

.feat-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.cat-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    background: #7A1C2E;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.feat-date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
}

.feat-main-body h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.feat-main-body p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 440px;
}

.feat-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.feat-read-link:hover {
    gap: 10px;
    color: #f87171;
}

/* Right: stacked mini-cards */
.feat-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feat-side-card {
    background: #161616;
    border: 1px solid #242424;
    border-radius: 12px;
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.feat-side-card:hover {
    border-color: #7A1C2E;
    background: #1a1212;
    transform: translateX(4px);
}

.feat-side-card .feat-meta {
    margin-bottom: 12px;
}

.feat-side-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 12px;
    flex: 1;
}

.feat-side-card p {
    font-size: 0.83rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.side-read-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.side-read-link:hover {
    color: #f87171;
    gap: 8px;
}

/* ── Latest Intelligence section ────────────────────────────── */
.blog-latest {
    background: #0d0d0d;
    padding: 64px 0;
}

.blog-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.blog-section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.blog-section-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.blog-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    color: #888;
}

.blog-icon-btn:hover {
    background: #7A1C2E;
    border-color: #7A1C2E;
    color: #fff;
}

/* Articles grid */
.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.blog-article-card {
    background: #131313;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease;
    cursor: pointer;
}

.blog-article-card:hover {
    border-color: #7A1C2E;
    transform: translateY(-6px);
}

.blog-article-card:hover .bac-image {
    transform: scale(1.06);
}

.bac-img-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
}

.bac-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s ease;
}

.bac-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bac-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.bac-date {
    font-size: 0.72rem;
    color: #555;
    font-weight: 500;
}

.bac-body h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #e8e8e8;
    line-height: 1.4;
    margin-bottom: 10px;
    flex: 1;
}

.bac-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.bac-body h3 a:hover {
    color: #f87171;
}

.bac-body p {
    font-size: 0.82rem;
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bac-read {
    font-size: 0.75rem;
    font-weight: 700;
    color: #7A1C2E;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
    margin-top: auto;
    display: inline-block;
}

.bac-read:hover {
    color: #f87171;
}

/* Load more button */
.blog-load-more-wrap {
    text-align: center;
}

.btn-load-more {
    display: inline-block;
    padding: 14px 40px;
    border: 1.5px solid #2e2e2e;
    border-radius: 6px;
    color: #cccccc;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.btn-load-more:hover {
    border-color: #7A1C2E;
    color: #ffffff;
    background: rgba(122, 28, 46, 0.1);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .blog-featured-grid {
        grid-template-columns: 1fr;
    }

    .feat-main {
        min-height: 400px;
    }

    .feat-side {
        flex-direction: row;
    }

    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .feat-side {
        flex-direction: column;
    }

    .blog-articles-grid {
        grid-template-columns: 1fr;
    }

    .feat-main-body {
        padding: 24px 20px;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }
}