/* =========================================================
   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(234, 88, 12, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #180d05 0%,
            #2b1408 38%,
            #6c240a 68%,
            #ea580c 85%,
            #ea580c 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(234, 88, 12, 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(234, 88, 12, 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,
            #fdba74 0%,
            #fb923c 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: #fed7aa;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section {
    padding: 90px 0 110px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffaf5 55%,
            #fffaf5 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: #261206;
}


.blog-heading::after {
    content: "";

    display: block;

    width: 45px;

    height: 4px;

    margin-bottom: 5px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #ea580c,
            #ea580c
        );
}


/* =========================================================
   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
        #ffedd5;
}


/* =========================================================
   ARTICLE IMAGE
========================================================= */

.article-image {
    position: relative;

    display: block;

    height: 210px;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #fff7ed,
            #fff7ed
        );
}


.article-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(234, 88, 12, 0.12),
            rgba(234, 88, 12, 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,
            #ffedd5,
            #fff7ed
        );

    color: #ea580c;

    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: #261206;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.article-content h3 a:hover {
    color: #ea580c;
}


.article-content p {
    margin: 0 0 18px;

    color: #786659;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   ARTICLE READ MORE
========================================================= */

.article-readmore {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #ea580c;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}


.article-readmore:hover {
    gap: 12px;

    color: #ea580c;
}


/* =========================================================
   BLOG SIDEBAR
========================================================= */

.blog-sidebar {
    position: sticky;

    top: 110px;

    display: flex;

    flex-direction: column;

    gap: 28px;
}


.sidebar-widget {
    padding: 26px;

    border:
        1px solid
        #ffedd5;

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffaf5 100%
        );

    box-shadow:
        0 12px 35px
        rgba(36, 16, 68, 0.06);
}


.sidebar-label {
    display: block;

    margin-bottom: 14px;

    color: #856d5e;

    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(234, 88, 12, 0.22),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #180d05 0%,
            #321508 45%,
            #6c240a 75%,
            #ea580c 100%
        );
}


.ad-box > i {
    margin-bottom: 14px;

    color: #fb923c;

    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: #ffedd5;

    font-size: 13px;

    line-height: 1.6;
}


.ad-box a {
    padding: 10px 16px;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f7edff
        );

    color: #261206;

    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: #261206;

    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
        #ffedd5;
}


.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,
            #fff7ed,
            #fff7ed
        );
}


.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: #ea580c;

    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: #261206;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.latest-content h4 a:hover {
    color: #f97316;
}


/* =========================================================
   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(234, 88, 12, 0.22),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #180d05 0%,
            #361508 45%,
            #ea580c 75%,
            #ea580c 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(234, 88, 12, 0.18);
}


/* =========================================================
   SIDEBAR CTA CONTENT
========================================================= */

.sidebar-cta > i {
    position: relative;

    z-index: 1;

    display: inline-flex;

    margin-bottom: 18px;

    color: #fb923c;

    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: #261206;

    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;
    }
}


/* =========================================================
   BLOG CATEGORY FILTERS & SEARCH
========================================================= */

.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fed7aa;
}

.category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #fed7aa;
    color: var(--ink, #180d05);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-pill:hover,
.category-pill.active {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #fff;
    border-color: #ea580c;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.25);
}

.blog-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 4px 14px;
}

.blog-search-form input {
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--ink, #180d05);
    background: transparent;
    padding: 6px 0;
    width: 180px;
}

.blog-search-form button {
    background: none;
    border: none;
    color: #ea580c;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    padding: 0;
}

/* =========================================================
   BLOG PAGINATION
========================================================= */

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    padding-top: 24px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #fed7aa;
    color: var(--ink, #180d05);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: #ea580c;
    color: #ea580c;
    background: #fffaf5;
}

.page-btn.active {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #fff;
    border-color: #ea580c;
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.25);
}

.page-ellipsis {
    color: var(--muted, #666);
    padding: 0 4px;
}