.green-blog-hero {
    overflow: hidden;
}

.green-blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 102, 76, 0.86), rgba(0, 0, 0, 0.56));
}

.green-blog-hero .container {
    position: relative;
    z-index: 1;
}

.green-blog-eyebrow {
    display: inline-block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 8px 14px;
    margin-top: 30px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
}

.green-blog-listing,
.green-single-wrap {
    padding-top: 70px;
    padding-bottom: 70px;
    background:
        radial-gradient(circle at top left, rgba(4, 102, 76, 0.08), transparent 34%),
        linear-gradient(180deg, #f2fbf8 0%, #f8fcfb 100%);
}

.green-reference-layout {
    border-top: 10px solid #04664c;
}

.green-blog-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(4, 102, 76, 0.08);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(12, 76, 59, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.green-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(12, 76, 59, 0.14);
}

.green-blog-card-img {
    position: relative;
    display: block;
    overflow: hidden;
}

.green-blog-card-img img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.green-mini-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    color: #fff;
    background: #04664c;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.green-blog-card-img .green-mini-badge {
    position: absolute;
    left: 14px;
    top: 14px;
}

.green-post-meta,
.green-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    color: #04664c;
    font-size: 12px;
    font-weight: 600;
}

.green-blog-card .content-bx {
    padding: 22px;
}

.green-blog-card .content-bx h3 {
    margin-bottom: 10px;
    line-height: 1.35;
}

.green-blog-card .content-bx h3 a {
    color: #071d18;
}

.green-blog-card .content-bx p {
    min-height: 66px;
}

.green-empty-state {
    padding: 50px;
    background: #fff;
    border: 1px solid #e1f0eb;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(12, 76, 59, 0.08);
}

.green-empty-state h3 {
    color: #000;
    font-weight: 700;
}

.green-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 45px;
}

.green-pagination .page-numbers {
    min-width: 42px;
    padding: 10px 14px;
    color: #04664c;
    background: #fff;
    border: 1px solid #d8e5df;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

.green-pagination .page-numbers.current,
.green-pagination .page-numbers:hover {
    color: #fff;
    background: #04664c;
}

.green-main-article,
.green-share-card,
.green-single-nav-card,
.green-widget,
.green-sidebar-cta,
.green-related-card {
    background: #fff;
    border: 1px solid rgba(4, 102, 76, 0.08);
    border-radius: 8px;
    box-shadow: 0 15px 34px rgba(12, 76, 59, 0.08);
}

.green-main-article {
    overflow: hidden;
}

.green-single-image {
    position: relative;
    overflow: hidden;
}

.green-single-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.58) 42%, rgba(255, 255, 255, 0.04) 100%);
    pointer-events: none;
}

.green-single-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.green-image-title {
    position: absolute;
    z-index: 2;
    left: 34px;
    top: 50%;
    width: min(520px, calc(100% - 68px));
    transform: translateY(-50%);
}

.green-image-title span {
    display: inline-block;
    margin-bottom: 12px;
    color: #04664c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.green-image-title h1 {
    margin: 0;
    color: #0c2d28;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.12;
}

.green-single-content {
    padding: 42px 44px;
}

.green-single-content p,
.green-single-content li {
    color: #46534f;
    font-size: 15px;
    line-height: 1.9;
}

.green-single-content h2,
.green-single-content h3,
.green-single-content h4 {
    color: #071d18;
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 14px;
}

.green-single-content a {
    color: #04664c;
    font-weight: 700;
}

.green-share-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 18px 22px;
}

.green-share-card span {
    color: #40514b;
    font-size: 13px;
    font-weight: 700;
}

.green-share-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 7px 12px;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.green-share-card .facebook {
    background: #1877f2;
}

.green-share-card .twitter {
    background: #1d9bf0;
}

.green-share-card .whatsapp {
    background: #20b65a;
}

.green-share-card .linkedin {
    background: #0a66c2;
}

.green-single-nav-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 22px;
    padding: 20px;
}

.green-single-nav-card a {
    display: block;
    color: #071d18;
}

.green-single-nav-card small {
    display: block;
    color: #04664c;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.green-single-nav-card strong {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.35;
}

.green-single-nav-card div:last-child {
    text-align: right;
}

.green-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0 20px;
}

.green-section-title h2 {
    margin: 0;
    color: #071d18;
    font-size: 24px;
    font-weight: 800;
}

.green-section-title span {
    flex: 1;
    height: 2px;
    background: #04664c;
    opacity: 0.5;
}

.green-related-card {
    height: 100%;
    overflow: hidden;
}

.green-related-img {
    display: block;
    overflow: hidden;
}

.green-related-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.green-related-body {
    padding: 18px;
}

.green-related-body small {
    display: block;
    margin: 12px 0 8px;
    color: #7a8782;
    font-size: 11px;
}

.green-related-body h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.green-related-body h3 a {
    color: #071d18;
}

.green-related-body p {
    color: #5a6763;
    font-size: 13px;
    line-height: 1.6;
}

.green-outline-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    padding: 8px 12px;
    color: #04664c;
    border: 2px solid #0b8a72;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
}

.green-outline-link:hover {
    color: #fff;
    background: #04664c;
    border-color: #04664c;
}

.green-sidebar {
    position: sticky;
    top: 105px;
}

.green-sidebar-cta {
    padding: 30px 24px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #04664c, #00917e);
}

.green-sidebar-cta h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.green-sidebar-cta p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.6;
}

.green-sidebar-cta .btn {
    margin-top: 6px;
    color: #04664c;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
}

.green-widget {
    margin-top: 22px;
    padding: 22px;
}

.green-widget h3 {
    margin: 0 0 18px;
    padding-bottom: 12px;
    color: #071d18;
    border-bottom: 2px solid rgba(4, 102, 76, 0.55);
    font-size: 17px;
    font-weight: 800;
}

.green-recent-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e6f1ed;
}

.green-recent-item:last-child {
    border-bottom: 0;
}

.green-recent-item img {
    width: 64px;
    height: 58px;
    object-fit: cover;
    border-radius: 5px;
}

.green-recent-item strong {
    display: block;
    color: #071d18;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.green-recent-item small {
    display: block;
    margin-top: 5px;
    color: #8a9692;
    font-size: 11px;
}

.green-category-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.green-category-list li + li {
    border-top: 1px solid #edf5f2;
}

.green-category-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    color: #40514b;
    font-size: 13px;
    font-weight: 600;
}

.green-category-list em {
    min-width: 24px;
    height: 24px;
    color: #04664c;
    background: #e4f6f1;
    border-radius: 50%;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    line-height: 24px;
    text-align: center;
}

.green-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.green-tag-cloud a {
    padding: 7px 11px;
    color: #04705a;
    background: #e4f6f1;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.green-about-card {
    text-align: center;
}

.green-about-card img {
    max-width: 170px;
    margin: 8px auto 18px;
}

.green-about-card p {
    color: #5a6763;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .green-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .green-blog-hero .banner-content h1 {
        font-size: 34px;
        padding-left: 0;
        padding-right: 0;
    }

    .green-blog-hero .banner-content p {
        padding-left: 0;
        padding-right: 0;
    }

    .green-single-image img {
        height: 310px;
    }

    .green-single-image::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45));
    }

    .green-image-title {
        left: 22px;
        width: calc(100% - 44px);
    }

    .green-image-title h1 {
        font-size: 28px;
    }

    .green-single-content {
        padding: 26px;
    }

    .green-single-nav-card {
        grid-template-columns: 1fr;
    }

    .green-single-nav-card div,
    .green-single-nav-card div:last-child {
        text-align: left;
    }
}
