/* =========================================================
   BLOG HERO
========================================================= */

.blog-hero {
    position: relative;

    padding: 150px 0 90px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(232, 121, 249, 0.24),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(124, 58, 237, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #160b2e 0%,
            #2d1254 38%,
            #5b21b6 68%,
            #7c3aed 85%,
            #c026d3 100%
        );

    overflow: hidden;
}


/* =========================================================
   BLOG HERO DECORATION
========================================================= */

.blog-hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -220px;
    top: -260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(232, 121, 249, 0.28),
            rgba(192, 38, 211, 0.08) 42%,
            transparent 70%
        );

    pointer-events: none;
}


.blog-hero::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    left: -200px;
    bottom: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(124, 58, 237, 0.30),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   BLOG HERO CONTENT
========================================================= */

.blog-hero-content {
    position: relative;

    z-index: 1;

    max-width: 760px;
}


.blog-hero h1 {
    margin: 16px 0 20px;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(
            42px,
            5vw,
            68px
        );

    line-height: 1.08;

    letter-spacing: -2.5px;

    color: #ffffff;
}


.blog-hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #c4b5fd 0%,
            #e879f9 50%,
            #ffffff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;
}


.blog-hero p {
    max-width: 650px;

    margin: 0;

    color: #eadcff;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section {
    padding: 90px 0 110px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfaff 55%,
            #f9f5ff 100%
        );
}


.blog-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 7fr)
        minmax(280px, 3fr);

    gap: 60px;

    align-items: start;
}


/* =========================================================
   BLOG MAIN HEADING
========================================================= */

.blog-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 32px;
}


.blog-heading h2 {
    margin: 8px 0 0;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 32px;

    line-height: 1.2;

    color: #241044;
}


.blog-heading::after {
    content: "";

    display: block;

    width: 45px;

    height: 4px;

    margin-bottom: 5px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #7c3aed,
            #c026d3
        );
}


/* =========================================================
   ARTICLE LIST
========================================================= */

.article-list {
    display: flex;

    flex-direction: column;

    gap: 28px;
}


.article-card {
    display: grid;

    grid-template-columns:
        280px
        minmax(0, 1fr);

    gap: 28px;

    padding-bottom: 28px;

    border-bottom:
        1px solid
        #ede5f7;
}


/* =========================================================
   ARTICLE IMAGE
========================================================= */

.article-image {
    position: relative;

    display: block;

    height: 210px;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f5edff,
            #fcecff
        );
}


.article-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.12),
            rgba(192, 38, 211, 0.05),
            transparent 65%
        );

    pointer-events: none;
}


.article-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}


.article-card:hover .article-image img {
    transform:
        scale(1.05);
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.article-content {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;
}


.article-category {
    display: inline-flex;

    align-items: center;

    margin-bottom: 10px;

    padding: 6px 10px;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #f3e8ff,
            #fae8ff
        );

    color: #7c3aed;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.article-content h3 {
    margin: 0 0 12px;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 23px;

    line-height: 1.35;
}


.article-content h3 a {
    color: #241044;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.article-content h3 a:hover {
    color: #7c3aed;
}


.article-content p {
    margin: 0 0 18px;

    color: #6b6380;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   ARTICLE READ MORE
========================================================= */

.article-readmore {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #7c3aed;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}


.article-readmore:hover {
    gap: 12px;

    color: #c026d3;
}


/* =========================================================
   BLOG SIDEBAR
========================================================= */

.blog-sidebar {
    position: sticky;

    top: 110px;

    display: flex;

    flex-direction: column;

    gap: 28px;
}


.sidebar-widget {
    padding: 26px;

    border:
        1px solid
        #eee7f7;

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfaff 100%
        );

    box-shadow:
        0 12px 35px
        rgba(36, 16, 68, 0.06);
}


.sidebar-label {
    display: block;

    margin-bottom: 14px;

    color: #998eab;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* =========================================================
   ADVERTISEMENT
========================================================= */

.ad-box {
    min-height: 250px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border-radius: 15px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(232, 121, 249, 0.28),
            transparent 55%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(124, 58, 237, 0.22),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #160b2e 0%,
            #351064 45%,
            #5b21b6 75%,
            #7c3aed 100%
        );
}


.ad-box > i {
    margin-bottom: 14px;

    color: #e879f9;

    font-size: 34px;
}


.ad-box strong {
    color: #ffffff;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 19px;
}


.ad-box span {
    max-width: 190px;

    margin: 8px 0 18px;

    color: #dfd1ef;

    font-size: 13px;

    line-height: 1.6;
}


.ad-box a {
    padding: 10px 16px;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7edff
        );

    color: #241044;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.ad-box a:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(255, 255, 255, 0.18);
}


/* =========================================================
   SIDEBAR TITLE
========================================================= */

.sidebar-title {
    margin-bottom: 20px;
}


.sidebar-title h3 {
    margin: 7px 0 0;

    color: #241044;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 22px;
}


/* =========================================================
   LATEST ARTICLES
========================================================= */

.latest-list {
    display: flex;

    flex-direction: column;
}


.latest-item {
    display: grid;

    grid-template-columns:
        82px
        minmax(0, 1fr);

    gap: 13px;

    padding: 15px 0;

    border-bottom:
        1px solid
        #eee8f5;
}


.latest-item:first-child {
    padding-top: 0;
}


.latest-item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


.latest-image {
    display: block;

    height: 68px;

    overflow: hidden;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #f5edff,
            #fcecff
        );
}


.latest-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.latest-item:hover .latest-image img {
    transform:
        scale(1.06);
}


.latest-content > span {
    display: block;

    margin-bottom: 5px;

    color: #7c3aed;

    font-size: 10px;

    font-weight: 800;
}


.latest-content h4 {
    margin: 0;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 13px;

    line-height: 1.45;
}


.latest-content h4 a {
    color: #241044;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.latest-content h4 a:hover {
    color: #8b5cf6;
}


/* =========================================================
   SIDEBAR CTA
========================================================= */

.sidebar-cta {
    position: relative;

    padding: 28px;

    overflow: hidden;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(232, 121, 249, 0.30),
            transparent 35%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(124, 58, 237, 0.22),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #160b2e 0%,
            #3b176d 45%,
            #7c3aed 75%,
            #c026d3 100%
        );
}


/* =========================================================
   SIDEBAR CTA DECORATION
========================================================= */

.sidebar-cta::before {
    content: "";

    position: absolute;

    width: 200px;

    height: 200px;

    right: -100px;

    top: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(232, 121, 249, 0.25),
            transparent 68%
        );
}


.sidebar-cta::after {
    content: "";

    position: absolute;

    width: 160px;

    height: 160px;

    left: -90px;

    bottom: -90px;

    border-radius: 50%;

    background:
        rgba(124, 58, 237, 0.18);
}


/* =========================================================
   SIDEBAR CTA CONTENT
========================================================= */

.sidebar-cta > i {
    position: relative;

    z-index: 1;

    display: inline-flex;

    margin-bottom: 18px;

    color: #e879f9;

    font-size: 24px;
}


.sidebar-cta h3 {
    position: relative;

    z-index: 1;

    margin: 0 0 10px;

    color: #ffffff;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 21px;
}


.sidebar-cta p {
    position: relative;

    z-index: 1;

    margin: 0 0 20px;

    color:
        rgba(
            255,
            255,
            255,
            0.78
        );

    font-size: 13px;

    line-height: 1.7;
}


.sidebar-cta a {
    position: relative;

    z-index: 1;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 15px;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7edff
        );

    color: #241044;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.sidebar-cta a:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.18);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .blog-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .blog-sidebar {
        position: static;

        display: grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        align-items: start;
    }


    .sidebar-cta {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

    .blog-hero {
        padding: 120px 0 70px;
    }


    .blog-hero h1 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    .blog-hero p {
        font-size: 15px;
    }


    .blog-section {
        padding: 65px 0 80px;
    }


    .blog-heading h2 {
        font-size: 27px;
    }


    .article-card {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .article-image {
        height: 220px;
    }


    .article-content h3 {
        font-size: 20px;
    }


    .blog-sidebar {
        grid-template-columns: 1fr;
    }


    .sidebar-cta {
        grid-column: auto;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .blog-hero h1 {
        font-size: 34px;
    }


    .article-image {
        height: 190px;
    }


    .sidebar-widget {
        padding: 20px;
    }
}