/* ═══════════════════════════════════════════
   BLOG PAGE — SCOPED STYLES
   Extends style.min.css with blog-specific components.
   Color palette & design tokens match main site exactly.
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   NAV ACTIVE LINK (Blog page indicator)
   ═══════════════════════════════════════════ */
.nav-active {
    color: #4780BC !important;
    position: relative;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #264B77, #4780BC);
}

/* ═══════════════════════════════════════════
   BLOG HERO
   ═══════════════════════════════════════════ */
.blog-hero {
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 5% 5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay */
.blog-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(71, 128, 188, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 128, 188, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    /* Fade the grid out toward edges */
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

/* Radial glow behind hero text */
.blog-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(71, 128, 188, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin: 1rem 0 1.5rem;
}

.blog-hero-sub {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════
   FILTER BAR SECTION
   ═══════════════════════════════════════════ */
.blog-filter-section {
    padding: 0 5% 0.5rem;
    position: relative;
    z-index: 1;
}

.blog-filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #777;
    padding: 9px 22px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.filter-btn:hover {
    border-color: rgba(71, 128, 188, 0.4);
    color: #ccc;
    background: rgba(71, 128, 188, 0.06);
}

.filter-btn.active {
    background: rgba(71, 128, 188, 0.12);
    border-color: rgba(71, 128, 188, 0.5);
    color: #72A1D4;
}

/* ═══════════════════════════════════════════
   BLOG POSTS GRID
   ═══════════════════════════════════════════ */
.blog-section {
    padding: 3rem 5% 6rem;
    position: relative;
    z-index: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════
   BLOG CARD  (used when posts are added)
   ═══════════════════════════════════════════ */
.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(71, 128, 188, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(71, 128, 188, 0.08);
}

/* Card thumbnail area */
.blog-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: rgba(15, 42, 74, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.06);
}

/* Category pill on the thumbnail */
.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(9, 9, 11, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #72A1D4;
}

/* Reading-time badge */
.blog-card-readtime {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(71, 128, 188, 0.25);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4780BC;
}

/* Card body */
.blog-card-body {
    padding: 1.75rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #f0f0f0;
    transition: color 0.3s;
}

.blog-card:hover .blog-card-title {
    color: #72A1D4;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.blog-card-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4780BC;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: gap 0.3s ease, color 0.3s;
}

.blog-card:hover .blog-card-cta {
    gap: 10px;
    color: #72A1D4;
}

/* Featured card — full-width first post */
.blog-card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.blog-card.featured .blog-card-thumb {
    width: 55%;
    flex-shrink: 0;
    aspect-ratio: unset;
    min-height: 320px;
}

.blog-card.featured .blog-card-body {
    padding: 2.5rem 2.5rem 2.5rem;
    justify-content: center;
}

.blog-card.featured .blog-card-title {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

.blog-card.featured .blog-card-excerpt {
    font-size: 1rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════ */
.blog-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 640px;
    margin: 0 auto;
}

.empty-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(71, 128, 188, 0.15);
    border-radius: 24px;
}

.empty-icon svg {
    width: 100%;
    height: 100%;
}

.empty-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.8px;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.empty-desc {
    color: #777;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Coming topics strip */
.coming-topics {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
}

.coming-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #555;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.coming-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.coming-tags span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(71, 128, 188, 0.15);
    color: #666;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.coming-tags span:hover {
    border-color: rgba(71, 128, 188, 0.45);
    color: #4780BC;
    background: rgba(71, 128, 188, 0.06);
}

/* ═══════════════════════════════════════════
   PAGINATION (ready for future use)
   ═══════════════════════════════════════════ */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #777;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover,
.page-btn.active {
    background: rgba(71, 128, 188, 0.12);
    border-color: rgba(71, 128, 188, 0.5);
    color: #72A1D4;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .blog-hero-title {
        font-size: 2.6rem;
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .blog-card.featured {
        grid-column: 1 / -1;
        flex-direction: column;
    }

    .blog-card.featured .blog-card-thumb {
        width: 100%;
        min-height: 260px;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .blog-hero {
        padding: 8rem 5% 3.5rem;
        min-height: auto;
    }

    .blog-hero-title {
        font-size: 2rem;
        letter-spacing: -0.8px;
    }

    .blog-hero-sub {
        font-size: 0.95rem;
    }

    .blog-filter-bar {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .blog-section {
        padding: 2.5rem 5% 4rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card.featured {
        flex-direction: column;
        grid-column: auto;
    }

    .blog-card.featured .blog-card-thumb {
        width: 100%;
        aspect-ratio: 16/9;
        min-height: unset;
    }

    .blog-card.featured .blog-card-title {
        font-size: 1.35rem;
    }

    .empty-title {
        font-size: 1.7rem;
    }

    .empty-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .empty-actions .btn {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — SMALL PHONE (≤480px)
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 1.8rem;
    }

    .empty-title {
        font-size: 1.5rem;
    }

    .coming-tags span {
        font-size: 0.78rem;
        padding: 6px 13px;
    }
}


/* ═══════════════════════════════════════════
   BLOG CARD — THUMBNAIL ART (CSS Gradient Illustrations)
   ═══════════════════════════════════════════ */
.card-thumb-art {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* AI Post Thumbnail */
.card-thumb-ai {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(15, 42, 74, 0.9) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(38, 75, 119, 0.5) 0%, transparent 55%),
        linear-gradient(135deg, #060810 0%, #0d1a2e 50%, #0a1525 100%);
}

/* Animated circuit lines background */
.thumb-circuit {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(71, 128, 188, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 128, 188, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Marketing Post Thumbnail */
.card-thumb-marketing {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(38, 75, 119, 0.6) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(15, 42, 74, 0.7) 0%, transparent 50%),
        linear-gradient(135deg, #070d12 0%, #0b1c2a 50%, #060f1a 100%);
    overflow: hidden;
}

/* Animated chart bars behind the icon */
.thumb-bars {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 0 20px 20px;
    opacity: 0.18;
}

.thumb-bar {
    flex: 1;
    background: linear-gradient(to top, #4780BC, #264B77);
    border-radius: 4px 4px 0 0;
    min-width: 0;
}

/* Glow blobs */
.thumb-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(71, 128, 188, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.thumb-glow-teal {
    background: radial-gradient(circle, rgba(71, 128, 188, 0.12) 0%, transparent 70%);
}

/* Centered SVG icon on thumbnails */
.thumb-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    opacity: 0.9;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.blog-card:hover .thumb-icon {
    transform: scale(1.1);
    opacity: 1;
}

/* Featured card overrides */
.blog-card.featured .blog-card-thumb {
    aspect-ratio: unset;
}

/* ═══════════════════════════════════════════
   BLOG POST ARTICLE PAGE — FULL STYLES
   ═══════════════════════════════════════════ */

/* Back link bar & pill button at top of post */
.post-back-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 5% 0;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
}

.post-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #999;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.post-back:hover {
    background: rgba(71, 128, 188, 0.12);
    border-color: #4780BC;
    color: #4780BC;
    transform: translateX(-4px);
}

/* Post Hero */
.post-hero {
    padding: 1.5rem 5% 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Subtle radial glow */
.post-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(71, 128, 188, 0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Dot-grid overlay same as blog hero */
.post-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(71, 128, 188, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 128, 188, 0.03) 1px, transparent 1px);
    background-size: 55px 55px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.post-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.post-category-pill {
    display: inline-block;
    background: rgba(71, 128, 188, 0.12);
    border: 1px solid rgba(71, 128, 188, 0.35);
    color: #72A1D4;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.post-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.18;
    margin-bottom: 1.5rem;
}

.post-subtitle {
    font-size: 1.15rem;
    color: #888;
    line-height: 1.7;
    max-width: 660px;
    margin: 0 auto 2.5rem;
}

.post-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-author-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F2A4A, #4780BC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
    border: 1px solid rgba(71,128,188,0.4);
}

.post-author-info {
    text-align: left;
}

.post-author-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ccc;
    display: block;
}

.post-author-role {
    font-size: 0.75rem;
    color: #555;
}

.post-meta-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.08);
}

.post-meta-item {
    font-size: 0.82rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-item svg {
    opacity: 0.5;
    flex-shrink: 0;
}

/* Post Hero Thumbnail Banner */
.post-thumb-banner {
    max-width: 1000px;
    margin: 0 auto 0;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.post-thumb-banner-inner {
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(71, 128, 188, 0.15);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(71,128,188,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* AI Banner Art */
.banner-art-ai {
    background:
        radial-gradient(ellipse at 25% 50%, rgba(15, 42, 74, 0.95) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 60%, rgba(38, 75, 119, 0.6) 0%, transparent 55%),
        linear-gradient(135deg, #04080f 0%, #0d1a2e 60%, #080e1c 100%);
}

.banner-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(71, 128, 188, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 128, 188, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.banner-center-art {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.banner-center-art svg {
    filter: drop-shadow(0 0 24px rgba(71, 128, 188, 0.4));
}

.banner-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(71, 128, 188, 0.6);
    font-weight: 700;
}

/* Marketing Banner Art */
.banner-art-marketing {
    background:
        radial-gradient(ellipse at 75% 40%, rgba(38, 75, 119, 0.5) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 70%, rgba(15, 42, 74, 0.8) 0%, transparent 50%),
        linear-gradient(135deg, #04090e 0%, #0a1a28 60%, #050c18 100%);
}

/* Post Body Layout */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1100px;
    margin: 4rem auto 0;
    padding: 0 5% 6rem;
    align-items: start;
}

/* Article content column */
.post-content {
    min-width: 0;
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
    color: #f0f0f0;
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: #ddd;
}

.post-content p {
    font-size: 1.05rem;
    color: #999;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.post-content strong {
    color: #e0e0e0;
    font-weight: 700;
}

.post-content a {
    color: #4780BC;
    text-decoration: none;
    border-bottom: 1px solid rgba(71, 128, 188, 0.3);
    transition: border-color 0.25s, color 0.25s;
}

.post-content a:hover {
    color: #72A1D4;
    border-bottom-color: rgba(114, 161, 212, 0.6);
}

/* Intro paragraph — slightly larger */
.post-content .post-intro {
    font-size: 1.15rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Pull quote */
.post-pullquote {
    margin: 2.5rem 0;
    padding: 1.75rem 2rem;
    border-left: 3px solid #4780BC;
    background: rgba(71, 128, 188, 0.05);
    border-radius: 0 12px 12px 0;
}

.post-pullquote p {
    font-size: 1.2rem !important;
    color: #ccc !important;
    font-style: italic;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Numbered/bulleted list items */
.post-content ol,
.post-content ul {
    margin: 0 0 1.5rem 1.5rem;
    color: #999;
}

.post-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Highlight box */
.post-highlight {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(71, 128, 188, 0.15);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
}

.post-highlight h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4780BC;
    font-weight: 700;
    margin-bottom: 1rem;
}

.post-highlight ul {
    margin: 0 0 0 1.25rem;
    color: #aaa;
}

.post-highlight li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Post section divider */
.post-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 3rem 0;
    border: none;
}

/* Rule card — numbered rule display */
.post-rule-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2rem 2rem 2rem 5rem;
    margin: 2rem 0;
    position: relative;
    transition: border-color 0.3s;
}

.post-rule-card:hover {
    border-color: rgba(71, 128, 188, 0.25);
}

.rule-number {
    position: absolute;
    left: 1.75rem;
    top: 1.9rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(71, 128, 188, 0.3);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.post-rule-card h3 {
    margin-top: 0 !important;
    font-size: 1.1rem !important;
    color: #e0e0e0 !important;
}

.post-rule-card p {
    margin-bottom: 0.75rem;
}

.post-rule-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(71, 128, 188, 0.1);
    border: 1px solid rgba(71, 128, 188, 0.25);
    color: #72A1D4;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-top: 0.5rem;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2.5rem 0;
}

.post-tags span {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #666;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* Share / Bottom action bar */
.post-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}

.post-share-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    font-weight: 700;
}

.post-share-links {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #666;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    font-family: inherit;
}

.share-btn:hover {
    border-color: rgba(71, 128, 188, 0.35);
    color: #4780BC;
    background: rgba(71, 128, 188, 0.06);
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.5rem;
}

.sidebar-card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #4780BC;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

/* Author sidebar card */
.sidebar-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0.75rem 0 0.25rem;
}

.sidebar-author-bio {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.sidebar-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F2A4A, #4780BC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    color: white;
    border: 1px solid rgba(71,128,188,0.4);
}

/* Table of contents */
.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-list a {
    display: block;
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
    line-height: 1.4;
}

.toc-list a:hover {
    color: #4780BC;
    background: rgba(71,128,188,0.06);
    border-left-color: #4780BC;
}

/* CTA sidebar card */
.sidebar-cta-btn {
    display: block;
    text-align: center;
    background: linear-gradient(270deg, #0F2A4A, #264B77, #4780BC, #72A1D4);
    background-size: 300% 300%;
    animation: gradientScroll 6s ease infinite;
    color: white !important;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.75rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.sidebar-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(71,128,188,0.3);
}

.sidebar-cta-p {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* Post End CTA Box */
.post-end-cta {
    background: rgba(71, 128, 188, 0.06);
    border: 1px solid rgba(71, 128, 188, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.post-end-cta h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.post-end-cta p {
    color: #777 !important;
    font-size: 0.95rem !important;
    margin-bottom: 1.75rem !important;
}

.post-end-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* More Posts strip */
.more-posts-section {
    padding: 0 5% 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.more-posts-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #555;
    font-weight: 700;
    margin-bottom: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.more-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ═══════════════════════════════════════════
   BLOG POST RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .post-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .post-title {
        font-size: 2.4rem;
    }

    .more-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .post-back-bar {
        padding-top: 110px;
    }

    .post-title {
        font-size: 1.9rem;
        letter-spacing: -0.8px;
    }

    .post-subtitle {
        font-size: 1rem;
    }

    .post-layout {
        padding: 0 5% 4rem;
        margin-top: 2.5rem;
        gap: 2rem;
    }

    .post-sidebar {
        grid-template-columns: 1fr;
    }

    .post-content h2 {
        font-size: 1.45rem;
    }

    .post-rule-card {
        padding: 1.5rem 1.5rem 1.5rem 4rem;
    }

    .rule-number {
        left: 1.25rem;
        font-size: 1.25rem;
    }

    .post-pullquote p {
        font-size: 1.05rem !important;
    }

    .post-thumb-banner-inner {
        aspect-ratio: 16/9;
    }

    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-end-cta-btns {
        flex-direction: column;
    }

    .post-end-cta-btns .btn {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .post-back-bar {
        padding-top: 105px;
    }

    .post-title {
        font-size: 1.65rem;
    }

    .post-meta-row {
        gap: 0.75rem;
    }

    .post-meta-divider {
        display: none;
    }

    .post-rule-card {
        padding: 1.25rem;
    }

    .rule-number {
        position: static;
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   GEO (GENERATIVE ENGINE OPTIMIZATION) & CITATION STYLES
   Optimized for high-density AI extraction (ChatGPT, Perplexity)
   ══════════════════════════════════════════════════════════════ */
.post-geo-box {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, rgba(71, 128, 188, 0.02) 100%);
    border: 1px solid rgba(0, 210, 255, 0.22);
    border-left: 4px solid #00E5FF;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin: 2rem 0 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
}

.post-geo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #00E5FF;
    margin-bottom: 1rem;
}

.post-geo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00E5FF;
    box-shadow: 0 0 10px #00E5FF;
    animation: geoPulse 2s infinite ease-in-out;
}

@keyframes geoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.post-geo-box p {
    font-size: 1rem !important;
    color: #cad5e3 !important;
    line-height: 1.7 !important;
    margin-bottom: 0.85rem !important;
}

.post-geo-box ul {
    margin: 0.75rem 0 0 1.25rem !important;
    color: #b0c0d4 !important;
}

.post-geo-box li {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    margin-bottom: 0.65rem !important;
}

.post-geo-box strong {
    color: #ffffff !important;
}

/* Contextual Resource Cross-Link Card */
.post-resource-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(71, 128, 188, 0.2);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    margin: 2.25rem 0;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-resource-banner:hover {
    background: rgba(71, 128, 188, 0.08);
    border-color: rgba(0, 210, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.post-resource-meta {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00E5FF;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.post-resource-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f0f0f0;
}

.post-resource-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.1);
    color: #00E5FF;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.post-resource-banner:hover .post-resource-arrow {
    background: #00E5FF;
    color: #080a0f;
    transform: translateX(3px);
}

