/* ==========================================
   BLOG SINGLE — PURPLE GRADIENT THEME
========================================== */

/* ==========================================
   ARTICLE HERO
========================================== */

.article-hero {
    position: relative;
    padding: 150px 0 85px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(192, 132, 252, 0.28),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(168, 85, 247, 0.18),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #18052f 0%,
            #3b0764 48%,
            #6d28d9 100%
        );
}

/* Decorative glow */

.article-hero::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(232, 121, 249, 0.28),
            transparent 68%
        );

    pointer-events: none;
}

.article-hero::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    left: -160px;
    bottom: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(124, 58, 237, 0.25),
            transparent 68%
        );

    pointer-events: none;
}

.article-hero .container {
    position: relative;
    z-index: 1;
}


/* ==========================================
   BREADCRUMB
========================================== */

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 38px;

    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

.article-breadcrumb a {
    color: #d8b4fe;
    text-decoration: none;

    transition: 0.25s ease;
}

.article-breadcrumb a:hover {
    color: #ffffff;
}

.article-breadcrumb i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.38);
}


/* ==========================================
   ARTICLE CATEGORY
========================================== */

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;
    padding: 8px 14px;

    border: 1px solid rgba(216, 180, 254, 0.25);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.20),
            rgba(232, 121, 249, 0.12)
        );

    color: #e9d5ff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    backdrop-filter: blur(10px);
}

.article-category i {
    color: #d8b4fe;
}


/* ==========================================
   ARTICLE TITLE
========================================== */

.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
========================================== */

.article-intro {
    max-width: 780px;

    margin: 28px 0 25px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
    line-height: 1.8;
}


/* ==========================================
   ARTICLE META
========================================== */

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-meta i {
    color: #d8b4fe;
}


/* ==========================================
   ARTICLE SECTION
========================================== */

.article-section {
    padding: 90px 0 110px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfaff 100%
        );
}

.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;
}


/* ==========================================
   FEATURED IMAGE
========================================== */

.article-featured-image {
    margin: 0 0 42px;

    overflow: hidden;

    border:
        1px solid
        #ede9fe;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #f5f3ff,
            #faf5ff
        );

    box-shadow:
        0 18px 50px
        rgba(76, 29, 149, 0.08);
}

.article-featured-image img {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 8;

    object-fit: cover;
}


/* ==========================================
   ARTICLE BODY
========================================== */

.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: #241044;

    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: #35135f;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 20px;

    line-height: 1.4;

    letter-spacing: -0.025em;
}

.article-body a {
    color: #7c3aed;

    font-weight: 600;

    text-decoration: none;

    transition: 0.2s ease;
}

.article-body a:hover {
    color: #a855f7;
}


/* ==========================================
   HIGHLIGHT
========================================== */

.article-highlight {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    margin: 35px 0;
    padding: 24px;

    border:
        1px solid
        #e9d5ff;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #faf5ff 0%,
            #f5f3ff 100%
        );
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex:
        0 0 45px;

    width: 45px;
    height: 45px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        );

    color: #ffffff;

    box-shadow:
        0 8px 20px
        rgba(124, 58, 237, 0.25);
}

.article-highlight strong {
    display: block;

    margin-bottom: 5px;

    color: #35135f;

    font-size: 15px;
}

.article-highlight p {
    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================
   ARTICLE CTA
========================================== */

.article-cta {
    position: relative;

    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% 15%,
            rgba(232, 121, 249, 0.30),
            transparent 35%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(124, 58, 237, 0.35),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #241044,
            #4c1d95,
            #7c3aed
        );

    box-shadow:
        0 20px 45px
        rgba(76, 29, 149, 0.18);
}

.article-cta::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -90px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);
}

.article-cta span {
    color: #e9d5ff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;
}

.article-cta h3 {
    position: relative;
    z-index: 1;

    margin: 8px 0 8px;

    color: #ffffff;

    font-size: 24px;
}

.article-cta p {
    position: relative;
    z-index: 1;

    max-width: 550px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 14px;

    line-height: 1.7;
}

.article-cta a {
    color: #ffffff;
}

.article-cta .btn {
    position: relative;
    z-index: 2;

    flex-shrink: 0;

    white-space: nowrap;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f3e8ff
        ) !important;

    color: #5b21b6 !important;

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.15);
}

.article-cta .btn:hover {
    transform: translateY(-2px);
}


/* ==========================================
   TAGS
========================================== */

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin-top: 55px;
    padding-top: 25px;

    border-top:
        1px solid
        #ede9fe;
}

.article-tags span {
    margin-right: 5px;

    color: #475569;

    font-size: 13px;

    font-weight: 700;
}

.article-tags a {
    padding: 8px 12px;

    border:
        1px solid
        #e9d5ff;

    border-radius: 999px;

    background: #ffffff;

    color: #64748b;

    font-size: 12px;

    text-decoration: none;

    transition:
        0.2s ease;
}

.article-tags a:hover {
    border-color: #a855f7;

    background:
        linear-gradient(
            135deg,
            #faf5ff,
            #f3e8ff
        );

    color: #7c3aed;

    transform: translateY(-1px);
}


/* ==========================================
   SHARE
========================================== */

.article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 28px;
    padding: 20px 0;
}

.article-share strong {
    color: #241044;

    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:
        1px solid
        #ede9fe;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #faf5ff,
            #f5f3ff
        );

    color: #6b7280;

    text-decoration: none;

    transition:
        0.25s ease;
}

.article-share a:hover {
    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        );

    border-color: transparent;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(124, 58, 237, 0.22);
}


/* ==========================================
   ARTICLE VIDEO
========================================== */

.article-video {
    margin: 40px 0;
    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #faf5ff,
            #f8f7ff
        );

    border:
        1px solid
        #ede9fe;

    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: #7c3aed;
}

.article-video-label i {
    font-size: 18px;

    color: #a855f7;
}

.article-video-wrapper {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #241044,
            #4c1d95
        );
}

.article-video-wrapper video {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    background:
        #241044;
}

.article-video-caption {
    margin: 14px 0 0;

    font-size: 14px;

    line-height: 1.7;

    color: #64748b;
}


/* ==========================================
   FAQ ACCORDION
========================================== */

.faq-accordion {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin: 28px 0 40px;
}

.faq-item {
    overflow: hidden;

    border:
        1px solid
        #e9e5f5;

    border-radius: 14px;

    background: #ffffff;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: #d8b4fe;
}

.faq-item[open] {
    border-color: #a855f7;

    box-shadow:
        0 10px 30px
        rgba(124, 58, 237, 0.08);
}

.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: #241044;
}

.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:
        #f5f3ff;

    color: #7c3aed;

    font-size: 14px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.faq-item[open] summary i {
    transform: rotate(45deg);

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        );

    color: #ffffff;
}

.faq-answer {
    padding: 0 22px 20px;
}

.faq-answer p {
    margin: 0;

    padding-top: 2px;

    color: #666;

    font-size: 15px;

    line-height: 1.8;
}


/* ==========================================
   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
        #ede9fe;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fcfaff
        );

    box-shadow:
        0 10px 30px
        rgba(76, 29, 149, 0.04);
}

.sidebar-label {
    display: block;

    margin-bottom: 12px;

    color: #a78bfa;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-align: center;
}


/* ==========================================
   AD PLACEHOLDER
========================================== */

.ad-placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 250px;

    border:
        1px dashed
        #d8b4fe;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #faf5ff,
            #f8f7ff
        );

    color: #a78bfa;
}

.ad-placeholder i {
    margin-bottom: 10px;

    font-size: 28px;
}

.ad-placeholder span {
    font-size: 13px;

    font-weight: 700;
}

.ad-placeholder small {
    margin-top: 5px;

    font-size: 11px;
}


/* ==========================================
   SIDEBAR HEADING
========================================== */

.sidebar-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom:
        1px solid
        #ede9fe;
}

.sidebar-heading span {
    color: #241044;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.sidebar-heading i {
    color: #a855f7;
}


/* ==========================================
   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:
        linear-gradient(
            135deg,
            #f5f3ff,
            #faf5ff
        );
}

.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: #241044;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 13px;

    line-height: 1.45;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 3;
}

.latest-item:hover .latest-content h3 {
    color: #7c3aed;
}

.latest-content span {
    color: #8b5cf6;

    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
        #f1edfa;

    color: #475569;

    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: #7c3aed;
}

.category-list i {
    font-size: 11px;

    color: #a78bfa;
}


/* ==========================================
   SIDEBAR CONTACT
========================================== */

.sidebar-contact {
    position: relative;

    overflow: hidden;

    padding: 28px;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(232, 121, 249, 0.28),
            transparent 35%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(124, 58, 237, 0.35),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #241044,
            #4c1d95,
            #7c3aed
        );

    box-shadow:
        0 18px 40px
        rgba(76, 29, 149, 0.16);
}

.sidebar-contact::after {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);
}

.sidebar-contact > i {
    position: relative;
    z-index: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    margin-bottom: 20px;

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.12);

    color: #e9d5ff;

    font-size: 20px;
}

.sidebar-contact h3 {
    position: relative;
    z-index: 1;

    margin: 0 0 10px;

    color: #ffffff;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 21px;
}

.sidebar-contact p {
    position: relative;
    z-index: 1;

    margin: 0 0 20px;

    color:
        rgba(255, 255, 255, 0.70);

    font-size: 13px;

    line-height: 1.7;
}

.sidebar-contact a {
    position: relative;
    z-index: 1;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition: 0.2s ease;
}

.sidebar-contact a:hover {
    color: #e9d5ff;

    transform: translateX(3px);
}

.sidebar-contact a i {
    font-size: 12px;
}


/* ==========================================
   RESPONSIVE — TABLET
========================================== */

@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;
    }
}


/* ==========================================
   RESPONSIVE — MOBILE
========================================== */

@media (max-width: 700px) {

    .article-hero {
        padding: 125px 0 65px;
    }

    .article-breadcrumb {
        margin-bottom: 28px;
    }

    .article-hero h1 {
        font-size: 36px;

        letter-spacing: -0.035em;
    }

    .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-body h3 {
        font-size: 19px;
    }

    .article-cta {
        flex-direction: column;

        align-items: flex-start;

        padding: 25px;
    }

    .article-sidebar {
        display: flex;
    }

    .sidebar-contact {
        grid-column: auto;
    }
}


/* ==========================================
   FAQ — MOBILE
========================================== */

@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 {
        margin: 30px 0;

        padding: 12px;

        border-radius: 14px;
    }

    .article-video-wrapper {
        border-radius: 10px;
    }

    .article-video-caption {
        font-size: 13px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .article-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }

    .article-hero h1 {
        font-size: 34px;
    }

    .article-body h2 {
        font-size: 23px;
    }

    .article-highlight {
        padding: 18px;
    }

    .article-share {
        align-items: flex-start;

        flex-direction: column;
    }

    .article-cta {
        padding: 22px;
    }

    .article-cta h3 {
        font-size: 21px;
    }
}


/* ==========================================
   EXTRA SMALL MOBILE
========================================== */

@media (max-width: 360px) {

    .article-hero h1 {
        font-size: 30px;
    }

    .article-intro {
        font-size: 15px;
    }

    .article-featured-image {
        border-radius: 13px;
    }

    .sidebar-box {
        padding: 20px;
    }
}