/* =========================================================
   BLOG HERO
========================================================= */

.blog-hero {

    position: relative;

    padding: 150px 0 90px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 190, 190, 0.14),
            transparent 32%
        ),
        #c1121f;

    overflow: hidden;
}

.blog-hero-content {

    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;

    color: #ff6b6b;
}

.blog-hero p {

    max-width: 650px;

    margin: 0;

    color: #ffe5e5;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section {

    padding: 90px 0 110px;

    background: #ffffff;
}

.blog-layout {

    display: grid;

    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);

    gap: 60px;

    align-items: start;
}


/* =========================================================
   BLOG MAIN
========================================================= */

.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: #07152f;
}


/* =========================================================
   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 #e6ebf2;
}

.article-image {

    display: block;

    height: 210px;

    overflow: hidden;

    border-radius: 18px;

    background: #fff5f5;
}

.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 {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;
}

.article-category {

    margin-bottom: 10px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: #dc2626;
}

.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: #07152f;

    text-decoration: none;

    transition: color 0.25s ease;
}

.article-content h3 a:hover {

    color: #dc2626;
}

.article-content p {

    margin: 0 0 18px;

    color: #64748b;

    font-size: 15px;

    line-height: 1.7;
}

.article-readmore {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #dc2626;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition: gap 0.25s ease;
}

.article-readmore:hover {

    gap: 12px;
}


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

.blog-sidebar {

    position: sticky;

    top: 110px;

    display: flex;

    flex-direction: column;

    gap: 28px;
}

.sidebar-widget {

    padding: 26px;

    border: 1px solid #e5eaf2;

    border-radius: 20px;

    background: #ffffff;

    box-shadow: 0 12px 35px rgba(7, 21, 47, 0.05);
}

.sidebar-label {

    display: block;

    margin-bottom: 14px;

    color: #94a3b8;

    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(220, 38, 38, 0.18),
            transparent 60%
        ),
        #07152f;
}

.ad-box > i {

    margin-bottom: 14px;

    color: #ff6b6b;

    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: #a9b9d0;

    font-size: 13px;

    line-height: 1.6;
}

.ad-box a {

    padding: 10px 16px;

    border-radius: 9px;

    background: #ffffff;

    color: #07152f;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}


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

.sidebar-title {

    margin-bottom: 20px;
}

.sidebar-title h3 {

    margin: 7px 0 0;

    color: #07152f;

    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 #edf1f6;
}

.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: #fff5f5;
}

.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: #dc2626;

    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: #07152f;

    text-decoration: none;

    transition: color 0.25s ease;
}

.latest-content h4 a:hover {

    color: #dc2626;
}


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

.sidebar-cta {

    position: relative;

    padding: 28px;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #ef233c,
            #b11226
        );
}

.sidebar-cta::after {

    content: "";

    position: absolute;

    width: 150px;

    height: 150px;

    right: -60px;

    bottom: -70px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);
}

.sidebar-cta > i {

    display: inline-flex;

    margin-bottom: 18px;

    color: #ffffff;

    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: #ffffff;

    color: #07152f;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   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;
    }
}