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

.blog-details-section {
    padding: 80px 20px;
    background: #f8faf7;
}

.blog-details-section .container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

/* =========================================
   ARTICLE CARD
========================================= */

.blog-article-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edf0e9;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(25, 45, 20, 0.07);
}

/* =========================================
   FEATURED IMAGE
========================================= */

.blog-featured-image {
    width: 100%;
    height: 460px;
    overflow: hidden;
    background: #eef3e9;
}

.blog-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.blog-article-card:hover .blog-featured-image img {
    transform: scale(1.025);
}

/* =========================================
   ARTICLE CONTENT
========================================= */

.blog-article-content {
    /* max-width: 900px; */
    /* margin: 0 auto; */
    padding: 55px 65px 65px;
}

/* =========================================
   ARTICLE META
========================================= */

.blog-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;

    color: #72796f;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.blog-category {
    color: #387d25;
    background: #eff8e8;
    padding: 7px 13px;
    border-radius: 30px;
}

.blog-meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a5dc4c;
}

/* =========================================
   MAIN TITLE
========================================= */

.blog-article-title {
    margin: 0 0 24px;

    color: #20291f;
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.2px;
}

/* =========================================
   INTRODUCTION
========================================= */

.blog-article-intro {
    margin: 0 0 35px;
    padding-left: 20px;

    border-left: 4px solid #a5dc4c;

    color: #50594d;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.85;
}

/* =========================================
   ARTICLE BODY
========================================= */

.blog-article-body h2 {
    margin: 35px 0 16px;

    color: #263323;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.4;
}

.blog-article-body h3 {
    margin: 26px 0 10px;

    color: #283526;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.45;
}

.blog-article-body p {
    margin: 0 0 20px;

    color: #626a60;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}

/* =========================================
   ARTICLE HIGHLIGHT
========================================= */

.blog-article-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 35px;
    padding: 22px 25px;
    background: #f4f9ee;
    border: 1px solid #e1edcf;
    border-radius: 12px;
}

.blog-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: #a5dc4c;
    border-radius: 50%;
    font-size: 21px;
}

.blog-article-highlight p {
    margin: 0;
    color: #35432e;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}

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

@media (max-width: 991px) {

    .blog-details-section {
        padding: 60px 20px;
    }

    .blog-featured-image {
        height: 360px;
    }

    .blog-article-content {
        padding: 40px 35px 45px;
    }

    .blog-article-title {
        font-size: 34px;
    }
}

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

@media (max-width: 575px) {

    .blog-details-section {
        padding: 30px 12px;
    }

    .blog-article-card {
        border-radius: 12px;
    }

    .blog-featured-image {
        height: 240px;
    }

    .blog-article-content {
        padding: 28px 20px 30px;
    }

    .blog-article-meta {
        gap: 9px;
        font-size: 11px;
    }

    .blog-article-title {
        margin-bottom: 18px;
        font-size: 27px;
        line-height: 1.35;
        letter-spacing: -0.6px;
    }

    .blog-article-intro {
        margin-bottom: 25px;
        padding-left: 14px;
        font-size: 15px;
        line-height: 1.75;
    }

    .blog-article-body h2 {
        margin-top: 28px;
        font-size: 21px;
    }

    .blog-article-body h3 {
        margin-top: 22px;
        font-size: 17px;
    }

    .blog-article-body p {
        font-size: 14px;
        line-height: 1.8;
    }

    .blog-article-highlight {
        align-items: flex-start;
        gap: 12px;
        padding: 17px;
    }

    .blog-highlight-icon {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .blog-article-highlight p {
        font-size: 13px;
    }
}

/* =========================================== */


/* =====================================
   ALL BLOGS SECTION
===================================== */

.all-blogs-section {
    padding: 90px 0;
    background: #ffffff;
}

.all-blogs-section .container {
    max-width: 1400px;
}

/* =====================================
   SECTION HEADING
===================================== */

.blogs-section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.blogs-section-heading h2 {
    margin: 0;
    color: #387d25;
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.3;
}

.blogs-heading-line {
    display: block;
    width: 55px;
    height: 4px;
    margin: 15px auto 0;
    background: #a5dc4c;
    border-radius: 10px;
}

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

.blog-list-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f0f1ed;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease,
                box-shadow 0.35s ease;
}

.blog-list-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(40, 65, 30, 0.12);
}

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

.blog-card-image {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f2f5ef;
}

.blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

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

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

.blog-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 30px 30px;
    min-height: 255px;
}

/* Category */

.blog-card-category {
    display: inline-block;
    margin-bottom: 13px;
    color: #477d27;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Blog Title */

.blog-card-content h3 {
    margin: 0 0 15px;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.5;
}

.blog-card-content h3 a {
    color: #263323;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-content h3 a:hover {
    color: #528b2e;
}

/* Blog Description */

.blog-card-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    margin: 0 0 22px;
    color: #697166;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

/* View Details */

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

    color: #387d25;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition: color 0.3s ease,
                gap 0.3s ease;
}

.blog-read-more i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
    color: #2e641e;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

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

@media (max-width: 991px) {

    .all-blogs-section {
        padding: 70px 0;
    }

    .blogs-section-heading {
        margin-bottom: 40px;
    }

    .blog-card-image {
        height: 250px;
    }

    .blog-card-content {
        padding: 24px;
    }

    .blog-card-content h3 {
        font-size: 17px;
    }
}

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

@media (max-width: 575px) {

    .all-blogs-section {
        padding: 50px 12px;
    }

    .blogs-section-heading {
        margin-bottom: 30px;
    }

    .blogs-section-heading h2 {
        font-size: 28px;
    }

    .blog-list-card {
        border-radius: 12px;
    }

    .blog-card-image {
        height: 230px;
    }

    .blog-card-content {
        min-height: auto;
        padding: 22px 20px 25px;
    }

    .blog-card-content h3 {
        font-size: 17px;
        line-height: 1.45;
    }

    .blog-card-content p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* =========================================
   ADMIN EDITOR CONTENT (lists, bold, images)
========================================= */

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 20px;
    padding-left: 22px;
    color: #626a60;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.85;
}

.blog-article-body li {
    margin-bottom: 6px;
}

.blog-article-body li::marker {
    color: #5C9220;
}

.blog-article-body strong {
    color: #283526;
}

.blog-article-body > :first-child {
    margin-top: 0;
}

.blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.blog-article-meta time {
    color: inherit;
}
