/**
 * IGTrend.id Style for Single Blog Article
 * newblog/assets/css/blog-single.css
 * Diadaptasi persis sesuai https://igtrend.id/assets/css/blog-single.css
 */

:root {
    --navy: #06132d;
    --navy2: #0b1f45;
    --blue: #2563eb;
    --cyan: #19d3ff;
    --purple: #7c3aed;
    --ink: #0b1733;
    --muted: #64748b;
    --line: #e7edf6;
    --soft: #f6f9ff;
    --white: #fff;
    --shadow: 0 22px 70px rgba(15, 35, 75, 0.11);
}

body.single-post-page {
    margin: 0;
    color: var(--ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.single-post-page h1,
.single-post-page h2,
.single-post-page h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: -0.025em;
}

.single-post-page p {
    line-height: 1.8;
}

/* Container Matching IGTrend.id for Hero and Article Sections */
.single-post-page .article-hero .container,
.single-post-page .article-section .container {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Navbar handled exclusively by assets/cssv2/navbar.css */

/* =========================================================
   ARTICLE HERO (IGTrend.id Exact)
========================================================= */
.article-hero {
    padding: 165px 0 85px !important;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(200, 217, 255, 0.14),
            transparent 32%
        ),
        #0c2d64 !important;
    position: relative;
    overflow: hidden;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 38px;
    font-size: 13px;
    line-height: 1.6;
    color: #cccdce;
}

.article-breadcrumb a {
    color: #5a8eff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.article-breadcrumb i {
    font-size: 10px;
    color: #cfd7e4;
    flex-shrink: 0;
}

.article-breadcrumb span[aria-current="page"] {
    color: #e2e8f0;
    line-height: 1.5;
    word-break: break-word;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-category i {
    font-size: 14px;
    color: #60a5fa;
}

.article-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.article-intro {
    max-width: 780px;
    margin: 28px 0 25px;
    color: #cacfd6;
    font-size: 18px;
    line-height: 1.8;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    color: #e7e7e7;
    font-size: 13px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-meta i {
    color: #2563eb;
    font-size: 14px;
}


/* ==========================================
   ARTICLE SECTION & 2-COLUMN LAYOUT
========================================== */
.article-section {
    padding: 90px 0 110px;
    background: #ffffff;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    gap: 55px;
    align-items: start;
    width: 100%;
}

.article-content {
    min-width: 0;
}

.article-featured-image {
    margin: 0 0 42px;
    overflow: hidden;
    border-radius: 24px;
    background: #e2e8f0;
}

.article-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.article-body {
    max-width: 850px;
}

.article-body p {
    margin: 0 0 22px;
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
}

.article-body h2 {
    margin: 55px 0 20px;
    color: #07152f;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    scroll-margin-top: 100px;
}

.article-body h3 {
    margin: 35px 0 14px;
    color: #0f172a;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.025em;
    scroll-margin-top: 100px;
}

.article-body a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.article-body a:hover {
    color: #1d4ed8;
}

.article-body ul,
.article-body ol {
    margin: 0 0 24px;
    padding-left: 24px;
    color: #475569;
    font-size: 16px;
    line-height: 1.85;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 24px 0;
}


/* ==========================================
   TABLE OF CONTENTS (TOC)
========================================== */
.article-toc {
    margin: 35px 0 40px;
    padding: 24px 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 16px;
}

.article-toc .toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #07152f;
    font-size: 17px;
    font-weight: 800;
}

.article-toc .toc-header i {
    color: #2563eb;
    font-size: 20px;
}

.article-toc .toc-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-toc .toc-list li {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.article-toc .toc-list li a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.article-toc .toc-list li a:hover {
    color: #2563eb;
    transform: translateX(4px);
}


/* ==========================================
   ARTICLE VIDEO (IGTrend.id Component)
========================================== */
.article-video {
    margin: 40px 0;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
}

.article-video-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
}

.article-video-label i {
    font-size: 18px;
}

.article-video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #06132d;
}

.article-video-wrapper video,
.article-video-wrapper iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    object-fit: cover;
    background: #06132d;
}

.article-video-caption {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

/* Vertical video support (TikTok / Shorts 9:16) */
.article-video.is-vertical {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.article-video.is-vertical .article-video-wrapper iframe {
    aspect-ratio: 9 / 16;
}


/* ==========================================
   HIGHLIGHT BOX
========================================== */
.article-highlight {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 35px 0;
    padding: 24px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #eff6ff;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: #2563eb;
    color: #ffffff;
    font-size: 20px;
}

.article-highlight strong {
    display: block;
    margin-bottom: 5px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.article-highlight p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #3b82f6;
}


/* ==========================================
   POINT BOX
========================================== */
.article-point-box {
    margin: 24px 0;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-point-box:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.article-point-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: #07152f;
    font-size: 18px;
    font-weight: 700;
}

.article-point-box h3 i {
    color: #2563eb;
    font-size: 20px;
}

.article-point-box p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================
   ARTICLE CTA (IGTrend.id Exact)
========================================== */
.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
    padding: 32px;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(25, 211, 255, 0.3),
            transparent 35%
        ),
        #07152f;
}

.article-cta span {
    color: #60a5fa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-cta h3 {
    margin: 8px 0 8px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.article-cta p {
    max-width: 550px;
    margin: 0;
    color: #a9b9d0;
    font-size: 14px;
    line-height: 1.7;
}

.article-cta .btn {
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid transparent;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.38);
    color: #ffffff;
}


/* ==========================================
   ARTICLE FAQ ACCORDION (IGTrend.id Exact)
========================================== */
.article-faq {
    margin: 45px 0;
}

.article-faq h2 {
    margin: 0 0 20px;
    color: #07152f;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 28px;
    font-weight: 800;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0 22px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item[open] {
    border-color: #bfdbfe;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-size: 14px;
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] summary .faq-icon {
    transform: rotate(180deg);
    background: #2563eb;
    color: #ffffff;
}

.faq-item .faq-answer {
    padding-bottom: 20px;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.8;
}

.faq-item .faq-answer p {
    margin: 0;
}


/* ==========================================
   TAGS (IGTrend.id Exact)
========================================== */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.article-tags span {
    margin-right: 5px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.article-tags a {
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.article-tags a:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}


/* ==========================================
   SHARE (IGTrend.id Exact)
========================================== */
.article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
}

.article-share strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.article-share > div {
    display: flex;
    gap: 8px;
}

.article-share a,
.article-share button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.article-share a:hover,
.article-share button:hover {
    background: #2563eb;
    color: #ffffff;
}


/* ==========================================
   SIDEBAR 30% (IGTrend.id Exact)
========================================== */
.article-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
}

.sidebar-label {
    display: block;
    margin-bottom: 12px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.sidebar-ad {
    width: 100%;
}

.ad-placeholder {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.ad-placeholder a {
    display: block;
}

.ad-placeholder img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    border-radius: 14px;
    object-fit: cover;
}

.sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-heading span {
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-heading i {
    color: #2563eb;
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.latest-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 13px;
    text-decoration: none;
}

.latest-image {
    overflow: hidden;
    border-radius: 10px;
    background: #e2e8f0;
}

.latest-image img {
    display: block;
    width: 100%;
    height: 78px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-item:hover .latest-image img {
    transform: scale(1.06);
}

.latest-content h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 7px;
    color: #0f172a;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    transition: color 0.2s ease;
}

.latest-item:hover .latest-content h3 {
    color: #2563eb;
}

.latest-content span {
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
}

.latest-content span i {
    margin-left: 3px;
}

.category-list {
    display: flex;
    flex-direction: column;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.category-list a:last-child {
    border-bottom: 0;
}

.category-list a:hover {
    padding-left: 5px;
    color: #2563eb;
}

.category-list i {
    font-size: 11px;
}

.sidebar-contact {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(25, 211, 255, 0.25),
            transparent 35%
        ),
        #07152f;
}

.sidebar-contact > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-bottom: 20px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
    font-size: 20px;
}

.sidebar-contact h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 21px;
    font-weight: 800;
}

.sidebar-contact p {
    margin: 0 0 20px;
    color: #a9b9d0;
    font-size: 13px;
    line-height: 1.7;
}

.sidebar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* ==========================================
   RELATED POSTS (Vertical List, IGTrend Style)
========================================== */
.related-posts-section {
    margin-top: 48px;
    padding-top: 35px;
    border-top: 1px solid #e2e8f0;
}

.related-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #07152f;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.related-title i {
    color: #2563eb;
    font-size: 20px;
}

.related-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-list-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-list-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.related-item-thumb {
    width: 96px;
    min-width: 96px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background: #06132d;
    flex-shrink: 0;
}

.related-item-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-list-item:hover .related-item-thumb img {
    transform: scale(1.06);
}

.related-item-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

.related-item-cat {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.related-item-date {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.related-item-title {
    font-size: 15px;
    font-weight: 700;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.related-list-item:hover .related-item-title {
    color: #2563eb;
}

.related-item-link {
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}



/* ==========================================
   RESPONSIVE BREAKPOINTS (IGTrend.id Exact)
========================================== */
@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .sidebar-contact {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    .article-hero {
        padding: 125px 0 65px !important;
    }

    .article-breadcrumb {
        margin-bottom: 28px;
    }

    .article-hero h1 {
        font-size: 32px;
    }

    .article-intro {
        font-size: 16px;
        line-height: 1.7;
    }

    .article-section {
        padding: 50px 0 70px;
    }

    .article-layout {
        gap: 40px;
    }

    .article-featured-image {
        margin-bottom: 30px;
        border-radius: 16px;
    }

    .article-body p {
        font-size: 15px;
        line-height: 1.8;
    }

    .article-body h2 {
        margin-top: 40px;
        font-size: 24px;
    }

    .article-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .article-sidebar {
        display: flex;
    }

    .sidebar-contact {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .article-highlight {
        padding: 18px;
    }

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

/* Footer handled exclusively by assets/cssv2/footer.css */


/* =========================================================
   ENHANCED RESPONSIVE VIDEO & MOBILE OVERFLOW FIXES
========================================================= */
html, body.single-post-page {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Article video container */
.article-video {
    margin: 35px 0 !important;
    padding: 16px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}

.article-video-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
}

.article-video-wrapper {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
    height: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #06132d !important;
}

@supports (aspect-ratio: 16 / 9) {
    .article-video-wrapper {
        height: auto !important;
        padding-bottom: 0 !important;
        aspect-ratio: 16 / 9 !important;
    }
}

.article-video-wrapper iframe,
.article-video-wrapper video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 12px !important;
}

.article-video-caption {
    margin: 12px 0 0 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
}

/* Responsive Embeds & Figures */
.wp-block-embed,
.wp-block-embed__wrapper,
.nv-iframe-embed {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 14px !important;
}

.article-body iframe,
.article-body embed,
.article-body object,
.article-body video {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.article-body img,
.article-content img,
.article-featured-image img,
figure img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
}

figure {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

.article-body {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.article-body table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

.article-body pre,
.article-body code {
    max-width: 100% !important;
    overflow-x: auto !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
}

/* Mobile Strict Viewport Rules */
@media (max-width: 768px) {
    .single-post-page .article-hero .container,
    .single-post-page .article-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .article-hero {
        padding: 110px 0 50px !important;
        overflow: hidden !important;
    }

    .article-breadcrumb {
        gap: 6px 8px !important;
        margin-bottom: 24px !important;
        font-size: 12.5px !important;
    }

    .article-hero h1 {
        font-size: clamp(24px, 6.5vw, 36px) !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .article-intro {
        font-size: 15.5px !important;
        line-height: 1.75 !important;
    }

    .article-meta {
        flex-wrap: wrap !important;
        gap: 8px 16px !important;
        font-size: 12.5px !important;
    }

    .article-section {
        padding: 35px 0 60px !important;
    }

    .article-toc {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }

    .article-toc .toc-list {
        padding-left: 20px !important;
    }

    .article-toc .toc-list li {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .article-cta {
        padding: 22px 18px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        gap: 18px !important;
    }

    .article-cta p {
        margin: 0 auto !important;
    }

    .article-cta .btn {
        width: 100% !important;
    }

    .faq-item {
        padding: 0 16px !important;
    }

    .faq-item summary {
        font-size: 14.5px !important;
        padding: 16px 0 !important;
        gap: 12px !important;
    }

    .faq-item .faq-answer {
        font-size: 14px !important;
    }

    .article-tags {
        margin-top: 35px !important;
        padding-top: 20px !important;
    }

    .article-share {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .article-share div {
        flex-wrap: wrap !important;
    }

    .article-sidebar {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
}
