/* ========================================= */
/* BLOG DETAILS PAGE */
/* ========================================= */

.blog-details-page {
    width: 100%;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

/* HERO */

.blog-details-hero {
    width: 100%;
    padding: 180px 20px 90px;
    background: #f8faf8;
    border-bottom: 1px solid #efefef;
}

.blog-details-container {
    width: 88%;
    max-width: 1150px;
    margin: auto;
}

.blog-details-meta {
    margin-bottom: 20px;
}

.blog-details-meta span {
    color: #0F9D58;
    font-size: 15px;
    font-weight: 500;
}

.blog-details-meta i {
    margin-right: 6px;
}

.blog-details-hero h1 {
    font-size: 62px;
    line-height: 78px;
    font-weight: 700;
    color: #111;
    margin-bottom: 28px;
    max-width: 950px;
}

.blog-details-short-desc {
    font-size: 18px;
    line-height: 34px;
    color: #666;
    max-width: 850px;
}

/* FEATURED IMAGE */

.blog-featured-image-section {
    padding: 70px 20px;
}

.blog-featured-image {
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.blog-featured-image img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

/* CONTENT */

.blog-content-section {
    padding: 20px 20px 100px;
}

.blog-main-content {
    font-size: 17px;
    line-height: 36px;
    color: #444;
}

/* TYPOGRAPHY */

.blog-main-content h2 {
    font-size: 38px;
    line-height: 52px;
    margin-top: 70px;
    margin-bottom: 25px;
    color: #111;
    font-weight: 700;
}

.blog-main-content h3 {
    font-size: 30px;
    line-height: 42px;
    margin-top: 55px;
    margin-bottom: 20px;
    color: #111;
    font-weight: 600;
}

.blog-main-content p {
    margin-bottom: 28px;
}

.blog-main-content img {
    width: 100%;
    border-radius: 25px;
    margin: 40px 0;
}

.blog-main-content ul,
.blog-main-content ol {
    margin-bottom: 30px;
    padding-left: 25px;
}

.blog-main-content li {
    margin-bottom: 14px;
}

.blog-main-content blockquote {
    border-left: 5px solid #0F9D58;
    padding-left: 25px;
    margin: 40px 0;
    font-size: 20px;
    line-height: 38px;
    color: #222;
    font-style: italic;
}

.blog-main-content a {
    color: #0F9D58;
    text-decoration: none;
}

/* RELATED BLOGS */

.related-blogs-section {
    padding: 100px 20px;
    background: #f8faf8;
}

.related-blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.related-blog-header h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
}

.related-blog-header p {
    max-width: 700px;
    margin: auto;
    color: #666;
    line-height: 30px;
}

.related-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* CARD */

.related-blog-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.related-blog-card:hover {
    transform: translateY(-10px);
}

.related-blog-image {
    overflow: hidden;
}

.related-blog-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.5s ease;
}

.related-blog-card:hover img {
    transform: scale(1.08);
}

.related-blog-content {
    padding: 24px;
}

.related-blog-content span {
    color: #0F9D58;
    font-size: 14px;
    font-weight: 500;
}

.related-blog-content h3 {
    font-size: 24px;
    line-height: 36px;
    font-weight: 600;
    margin: 18px 0;
    color: #111;
}

.related-blog-content a {
    text-decoration: none;
    color: #0F9D58;
    font-weight: 600;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 992px) {

    .related-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-details-hero h1 {
        font-size: 48px;
        line-height: 62px;
    }

    .blog-featured-image img {
        height: 500px;
    }

}

@media (max-width: 768px) {

    .blog-details-hero {
        padding: 140px 20px 70px;
    }

    .blog-details-container {
        width: 100%;
    }

    .blog-details-hero h1 {
        font-size: 36px;
        line-height: 48px;
    }

    .blog-details-short-desc {
        font-size: 16px;
        line-height: 30px;
    }

    .blog-featured-image-section {
        padding: 40px 20px;
    }

    .blog-featured-image img {
        height: 300px;
        border-radius: 25px;
    }

    .blog-main-content {
        font-size: 16px;
        line-height: 32px;
    }

    .blog-main-content h2 {
        font-size: 30px;
        line-height: 42px;
    }

    .blog-main-content h3 {
        font-size: 24px;
        line-height: 36px;
    }

    .related-blogs-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .related-blog-header h2 {
        font-size: 32px;
    }

}