main::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 0;
    right: 0;
    height: 600px;
    background-image: radial-gradient(ellipse 50% 90% at 50% 0%, rgba(117, 203, 145, 0.25) 0%, rgba(180, 255, 204, 0) 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.blog-hero,
.blog-featured {
    position: relative;
    z-index: 1;
}

.blog-main {
    background-color: var(--color-bg-light) !important;
}

.container-blog {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.detail-hero {
    padding: calc(var(--header-height) + 100px) 0 0 0;
    background-color: var(--color-bg-dark);
}

.detail-hero-title {
    font-size: 62px;
    background: linear-gradient(90deg, var(--color-text-white) 50%, var(--color-primary-light) 59%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 14px rgba(24, 23, 23, 0.10));
    padding: 0 0 16px 0;
    line-height: 1.15;
}

.detail-hero-subtitle {
    font-size: 22px;
    color: var(--color-text-white);
    padding: 0 0 24px 0;
    margin: 0;
}

.detail-hero-meta {
    gap: 24px;
    padding-bottom: 60px;
}

.detail-category {
    font-size: 15px;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.detail-date {
    font-size: 15px;
    color: var(--color-text-white);
}

.detail-hero-image-wrap {
    padding: 0;
}

.detail-main-image {
    width: 100%;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
}

.detail-main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 32px 32px 0 0;
}

.detail-body {
    background-color: var(--color-bg-light);
    padding-bottom: 80px;
}

.detail-body-card {
    background-color: var(--color-bg-white);
    border-radius: 0 0 32px 32px;
    padding: 80px 0 100px 0;
    border: 1px solid rgba(30, 30, 30, 0.10);
    border-top: none;
}

.detail-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.detail-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-heading {
    font-size: 22px;
    color: var(--color-text-dark);
}

.detail-paragraph {
    line-height: 32px;
    color: rgba(30, 30, 0.70);
}

.detail-block-with-image {
    display: flex;
    align-items: flex-start;
    gap: 58px;
}

.detail-block-with-image .detail-paragraph {
    flex: 1 1 0;
    min-width: 0;
}

.detail-block-image {
    flex: 0 0 300px;
    width: 300px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
}

.detail-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.related-section {
    padding: 0 0 120px 0;
}

.related-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.related-post-thumb {
    width: 100%;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 32px;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-tag {
    display: block;
    font-size: 13px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.post-title {
    font-size: 28px;
    line-height: 40px;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    transition: color 0.3s;
}

.post-title-link {
    text-decoration: none;
}

.post-title-link:hover .post-title {
    color: var(--color-primary);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(30, 30, 30, 0.7);

}

.post-meta img {
    width: 20px;
    opacity: 0.7;
}

@media (max-width: 991px) {
    .detail-hero-title {
        font-size: 44px;
        line-height: 56px;
    }

    .detail-main-image img {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .detail-hero-title {
        font-size: 36px;
        line-height: 46px;
    }

    .detail-hero-subtitle {
        font-size: 18px;
    }

    .detail-main-image img {
        height: 300px;
        border-radius: 18px 18px 0 0;
    }

    .detail-main-image {
        border-radius: 18px 18px 0 0;
    }

    .detail-body-card {
        border-radius: 0 0 24px 24px;
        padding: 48px 0 60px 0;
    }

    .detail-content-wrapper {
        gap: 40px;
    }

    .detail-block-with-image {
        flex-direction: column;
    }

    .detail-block-image {
        flex: none;
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 575px) {
    .detail-hero {
        padding: 60px 0 0 0;
    }

    .detail-hero-title {
        font-size: 28px;
        line-height: 38px;
    }

    .detail-hero-subtitle {
        font-size: 16px;
    }

    .detail-main-image img {
        height: 220px;
        border-radius: 12px 12px 0 0;
    }

    .detail-main-image {
        border-radius: 12px 12px 0 0;
    }

    .detail-body {
        padding-bottom: 48px;
    }

    .detail-body-card {
        border-radius: 0 0 16px 16px;
        padding: 32px 0 48px 0;
    }

    .detail-heading {
        font-size: 20px;
        line-height: 30px;
    }

    .detail-content-wrapper {
        gap: 28px;
    }

    .detail-block {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .related-grid-layout {
        gap: 30px;
    }

    .post-title {
        font-size: 24px;
        line-height: 34px;
    }
}

@media (max-width: 768px) {
    .related-grid-layout {
        grid-template-columns: 1fr;
    }

    .related-post-thumb {
        height: 280px;
    }
}

.related-grid-layout {
    display: block;
}

.related-swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 50px;
}

.related-swiper .swiper-slide {
    height: auto;
}

.related-post-card {
    margin-bottom: 0;
}
