
:root {
    --brand-navy: #100060;
    --brand-blue: #3f9cf8;
    --brand-teal: #0bd5c4;
    --brand-red: #ff4757;
    --brand-amber: #ffa502;
    --bg-light: #f4f7fc;
    --text-main: #1a1a2e;
    --text-muted: #6c757d;
}

/* ─── HERO SECTION ──────────────────────────────── */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(16, 0, 96, 0.4) 0%,
            rgba(16, 0, 96, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
}

.hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .accent {
    color: #ffd166;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-meta i {
    color: var(--brand-teal);
}

/* ─── BLOG LAYOUT (70/30) ────────────────────────── */
.blog-layout-container {
    display: flex;
    gap: 40px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.blog-main-col {
    width: 70%;
}

.blog-side-col {
    width: 30%;
}

@media (max-width: 991px) {
    .blog-layout-container {
        flex-direction: column;
    }
    .blog-main-col, .blog-side-col {
        width: 100%;
    }
    .blog-side-col {
        margin-top: 20px;
    }
}

/* ─── CONTENT WRAPPER ────────────────────────────── */
.content-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.blog-card-detail {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.blog-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.blog-body h2 {
    color: var(--brand-navy);
    margin-top: 45px;
    margin-bottom: 15px;
    font-weight: 800;
}

.blog-body img {
    border-radius: 12px;
    margin: 30px 0;
    max-width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.blog-body blockquote {
    border-left: 5px solid var(--brand-blue);
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8fbff;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--brand-navy);
}

/* ─── KEY TAKEAWAYS ─────────────────────────────── */
.key-takeaways {
    background: #f8fbff;
    border: 1px solid #e1e9f5;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.key-takeaways h4 {
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaways li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #444;
}

.key-takeaways li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--brand-teal);
    font-weight: 900;
}

/* ─── STAT CARDS ────────────────────────────────── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .stat-grid { grid-template-columns: 1fr; }
}

.stat-card {
    background: linear-gradient(135deg, var(--brand-navy), #2500b0);
    color: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    display: block;
    margin-bottom: 5px;
}

.stat-number.red { color: #ff6b6b; }
.stat-number.amber { color: #ffca28; }
.stat-number.teal { color: #26a69a; }
.stat-number.green { color: #66bb6a; }

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ─── SIDEBAR & TOC ─────────────────────────────── */
.sticky-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}

.sidebar-title {
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 18px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 12px;
}

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

.toc-list li {
    margin-bottom: 8px;
    padding-left: 0;
}

.toc-list li.toc-h3 {
    padding-left: 15px;
    font-size: 0.9em;
}

.toc-list a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: block;
    line-height: 1.4;
}

.toc-list a:hover {
    color: var(--brand-blue);
    transform: translateX(3px);
}

.toc-list a.active {
    color: var(--brand-blue);
    font-weight: 700;
    border-left: 3px solid var(--brand-blue);
    padding-left: 10px;
    margin-left: -13px;
}

.toc-list li.toc-h3 a.active {
    margin-left: -28px;
    padding-left: 25px;
}

/* ─── RECENT POSTS ─────────────────────────────── */
.recent-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none !important;
}

.recent-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}

.recent-info h6 {
    font-size: 0.85rem;
    color: var(--brand-navy);
    margin: 0;
}

.recent-info span {
    font-size: 0.75rem;
    color: #999;
}

/* ─── SHARE BUTTONS ────────────────────────────── */
.social-share-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.share-btn-round {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.share-btn-round i {
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

.share-btn-round:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    filter: brightness(1.1);
}

.btn-fb { background: #1877f2 !important; }
.btn-li { background: #0077b5 !important; }
.btn-x { background: #000000 !important; }
.btn-copy { background: #636e72 !important; }
.btn-native { background: #e0e0e0 !important; color: #333 !important; }

/* ─── CTA BLOCK ─────────────────────────────────── */
.cta-block {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 50px;
}

.cta-block h3 { color: white; margin-bottom: 15px; font-weight: 800; }
.cta-block p { opacity: 0.9; margin-bottom: 25px; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffd166;
    color: var(--brand-navy) !important;
    font-weight: 800;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none !important;
}
