/* ==========================================
   BLOG SINGLE
========================================== */

.article-hero {
    padding: 150px 0 85px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(37, 99, 235, 0.15),
            transparent 50%
        ),
        #020617;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 38px;
    font-size: 13px;
    color: #94a3b8;
}

.article-breadcrumb a {
    color: #60a5fa;
    text-decoration: none;
}

.article-breadcrumb i {
    font-size: 10px;
    color: #64748b;
}

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

.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;
}

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

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

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

.article-meta i {
    color: #3b82f6;
}


/* ==========================================
   ARTICLE SECTION
========================================== */

.article-section {
    padding: 90px 0 110px;
    background: #020617;
}

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


/* ==========================================
   ARTICLE CONTENT
========================================== */

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

.article-featured-image {
    margin: 0 0 42px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

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

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

.article-body a {
    color: #60a5fa;
}


/* ==========================================
   HIGHLIGHT
========================================== */

.article-highlight {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 35px 0;
    padding: 24px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 18px;
    background: rgba(37, 99, 235, 0.08);
}

.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;
}

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

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


/* ==========================================
   ARTICLE CTA
========================================== */

.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
    padding: 32px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(37, 99, 235, 0.25),
            transparent 35%
        ),
        #0b1329;
}

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

.article-cta h3 {
    margin: 8px 0 8px;
    color: #ffffff;
    font-size: 24px;
}

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

.article-cta a {
    color: #ffffff;
}

.article-cta .btn {
    flex-shrink: 0;
    white-space: nowrap;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: transparent;
}


/* ==========================================
   TAGS
========================================== */

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.article-tags a {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.02);
    font-size: 12px;
    text-decoration: none;
    transition: 0.2s ease;
}

.article-tags a:hover {
    border-color: #3b82f6;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
}


/* ==========================================
   SHARE
========================================== */

.article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 20px 0;
}

.article-share strong {
    color: #f8fafc;
    font-size: 14px;
}

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

.article-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    text-decoration: none;
    transition: 0.2s ease;
}

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


/* ==========================================
   ARTICLE VIDEO
========================================== */

.article-video {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    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: #60a5fa;
}

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

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

.article-video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #020617;
}

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


/* ==========================================
   FAQ ACCORDION
========================================== */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0 40px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item[open] {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #f1f5f9;
}

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

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

.faq-item summary span {
    flex: 1;
}

.faq-item summary i {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 14px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item[open] summary i {
    transform: rotate(45deg);
    background: #2563eb;
    color: #fff;
}

.faq-answer {
    padding: 0 22px 20px;
}

.faq-answer p {
    margin: 0;
    padding-top: 2px;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-accordion {
        gap: 10px;
        margin-top: 22px;
    }

    .faq-item summary {
        padding: 17px 16px;
        font-size: 15px;
    }

    .faq-item summary i {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 12px;
    }

    .faq-answer {
        padding: 0 16px 17px;
    }

    .faq-answer p {
        font-size: 14px;
        line-height: 1.7;
    }
}


/* ==========================================
   ARTICLE VIDEO RESPONSIVE
========================================== */

@media (max-width: 768px) {
    .article-video {
        margin: 30px 0;
        padding: 12px;
        border-radius: 14px;
    }

    .article-video-wrapper {
        border-radius: 10px;
    }

    .article-video-caption {
        font-size: 13px;
    }
}


/* ==========================================
   SIDEBAR
========================================== */

.sidebar-ad {
    width: 100%;
}

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

.sidebar-ad .ad-placeholder a {
    display: block;
}

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

.article-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}

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

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    color: #64748b;
}

.ad-placeholder i {
    margin-bottom: 10px;
    font-size: 28px;
    color: #3b82f6;
}

.ad-placeholder span {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
}

.ad-placeholder small {
    margin-top: 5px;
    font-size: 11px;
    color: #64748b;
}


/* ==========================================
   SIDEBAR HEADING
========================================== */

.sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.sidebar-heading i {
    color: #3b82f6;
}


/* ==========================================
   LATEST ARTICLE
========================================== */

.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: rgba(255, 255, 255, 0.03);
}

.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: #f1f5f9;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

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

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


/* ==========================================
   CATEGORY
========================================== */

.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 rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s ease;
}

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

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

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


/* ==========================================
   SIDEBAR CONTACT
========================================== */

.sidebar-contact {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(37, 99, 235, 0.25),
            transparent 35%
        ),
        #0b1329;
}

.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;
}

.sidebar-contact p {
    margin: 0 0 20px;
    color: #94a3b8;
    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;
}

.sidebar-contact a i {
    font-size: 12px;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sidebar-contact {
        grid-column: span 2;
    }
}


@media (max-width: 700px) {
    .article-hero {
        padding: 125px 0 65px;
    }
    .article-breadcrumb {
        margin-bottom: 28px;
    }
    .article-hero h1 {
        font-size: 36px;
    }
    .article-intro {
        font-size: 16px;
        line-height: 1.7;
    }
    .article-section {
        padding: 60px 0 80px;
    }
    .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: 42px;
        font-size: 25px;
    }
    .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: 23px;
    }
    .article-highlight {
        padding: 18px;
    }
    .article-share {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================
   ARTICLE SINGLE ANIMATIONS & UX
========================================== */

/* Hero Ambient Animation */
.article-hero {
    animation: articleHeroGlow 12s ease-in-out infinite alternate;
}

@keyframes articleHeroGlow {
    0% {
        background-position: 80% 20%;
    }
    100% {
        background-position: 40% 80%;
    }
}

/* Featured Image Lift & Zoom */
.article-featured-image {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.article-featured-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(37, 99, 235, 0.15);
}

.article-featured-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-featured-image:hover img {
    transform: scale(1.03);
}

/* Highlight Box Subtle Glow */
.article-highlight {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.article-highlight:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

/* Tag Chips Hover Lift */
.article-tags a {
    transition: all 0.25s ease;
}

.article-tags a:hover {
    transform: translateY(-2px);
}

/* Social Share Button Hover */
.article-share a {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-share a:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}
