/* =========================================
   BLOG INDEX SEOBITT
========================================= */

.blog-page {
    background: #ffffff;
    color: #1d1d1f;
    padding-top: 80px;
}


/* =========================================
   CONTAINER
========================================= */

.blog-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


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

.blog-hero {
    padding: 90px 0 70px;
    background: #f7f8fa;
    border-bottom: 1px solid #eeeeee;
}

.blog-label,
.archive-label,
.sidebar-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.blog-label {
    margin-bottom: 15px;
}

.blog-hero h1 {
    max-width: 780px;
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
    font-weight: 700;
}

.blog-hero p {
    max-width: 700px;
    margin: 0;
    color: #666666;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================
   BLOG CONTENT
========================================= */

.blog-content {
    padding: 80px 0 100px;
}


/* =========================================
   TWO COLUMN
========================================= */

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


/* =========================================
   ARCHIVE HEADING
========================================= */

.archive-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.archive-label {
    margin-bottom: 8px;
}

.archive-heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}


/* =========================================
   BLOG CARD
========================================= */

.blog-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;

    padding-bottom: 30px;
    margin-bottom: 30px;

    border-bottom: 1px solid #e9e9e9;
}


/* =========================================
   BLOG IMAGE
========================================= */

.blog-card-image {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f1f1;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    display: block;

    object-fit: contain;

    transition: transform 0.4s ease;
}

.blog-card-image:hover img {
    transform: scale(1.05);
}


/* =========================================
   BLOG CONTENT
========================================= */

.blog-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-card-title {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.35;
}

.blog-card-title a {
    color: #1d1d1f;
    text-decoration: none;

    transition:
        color 0.25s ease;
}

.blog-card-title a:hover {
    color: #555555;
}


.blog-card-description {
    margin: 0 0 20px;

    color: #686868;

    font-size: 15px;
    line-height: 1.7;
}


.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #1d1d1f;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        gap 0.25s ease;
}

.blog-read-more:hover {
    gap: 13px;
}


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

.blog-sidebar {
    position: sticky;
    top: 100px;
}


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

.sidebar-banner {
    overflow: hidden;

    border: 1px solid #e7e7e7;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);
}

.sidebar-banner > a {
    display: block;
}

.sidebar-banner img {
    display: block;

    width: 100%;
}

.sidebar-banner-content {
    padding: 25px;
}

.sidebar-label {
    margin-bottom: 15px;
    padding: 6px 10px;

    border-radius: 5px;

    background: #f1f1f1;
}

.sidebar-banner-content h2 {
    margin: 0 0 12px;

    font-size: 22px;
    line-height: 1.3;
}

.sidebar-banner-content p {
    margin: 0 0 20px;

    color: #686868;

    font-size: 14px;
    line-height: 1.7;
}


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

.sidebar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 45px;

    padding: 10px 18px;

    border-radius: 7px;

    background: #1d1d1f;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.sidebar-button:hover {
    color: #ffffff;
    opacity: 0.88;
    transform: translateY(-2px);
}


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

.sidebar-cta {
    margin-top: 25px;
    padding: 28px;

    border-radius: 14px;

    background: #f7f7f7;
}

.sidebar-cta span {
    display: block;

    margin-bottom: 10px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.sidebar-cta h2 {
    margin: 0 0 12px;

    font-size: 22px;
    line-height: 1.35;
}

.sidebar-cta p {
    margin: 0 0 20px;

    color: #686868;

    font-size: 14px;
    line-height: 1.7;
}

.sidebar-cta-button {
    display: inline-block;

    padding: 11px 18px;

    border-radius: 7px;

    background: #ffffff;
    color: #1d1d1f;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    border: 1px solid #dddddd;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.sidebar-cta-button:hover {
    background: #1d1d1f;
    color: #ffffff;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .blog-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 30px;
    }

    .blog-card {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 20px;
    }

    .blog-card-title {
        font-size: 20px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .blog-container {
        width: min(100% - 30px, 600px);
    }


    .blog-hero {
        padding: 60px 0 50px;
    }

    .blog-hero h1 {
        font-size: 34px;
    }

    .blog-hero p {
        font-size: 15px;
    }


    .blog-content {
        padding: 55px 0 70px;
    }


    .blog-layout {
        display: block;
    }


    .blog-sidebar {
        position: static;
        margin-top: 50px;
    }


    .blog-card {
        display: block;
    }


    .blog-card-image {
        width: 100%;

        margin-bottom: 20px;
    }


    .blog-card-title {
        font-size: 21px;
    }


    .blog-card-description {
        font-size: 14px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .blog-container {
        width: calc(100% - 24px);
    }

    .blog-hero h1 {
        font-size: 30px;
    }

    .archive-heading h2 {
        font-size: 26px;
    }

}