.home-blogs {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 92px 0 88px !important;
    background:
        radial-gradient(ellipse 50% 45% at 8% 0%, rgba(143, 232, 60, 0.14), transparent 58%),
        radial-gradient(ellipse 42% 40% at 94% 18%, rgba(22, 133, 45, 0.08), transparent 52%),
        #f7fbf3;
}

.home-blogs__aurora,
.home-blogs__gridlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-blogs__gridlines {
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(23, 122, 46, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 122, 46, 0.09) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 78%);
}

.home-blogs__inner {
    position: relative;
    z-index: 1;
    width: min(1520px, calc(100% - 6vw));
    margin: 0 auto;
}

.home-blogs__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 18px 28px;
    margin-bottom: 28px;
}

.home-blogs__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    background: rgba(22, 133, 45, 0.08);
    color: #16852d;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-blogs__kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #45c72f;
    box-shadow: 0 0 10px rgba(143, 232, 60, 0.8);
}

.home-blogs__heading {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    color: #121b16 !important;
    font-family: inherit !important;
    font-size: clamp(36px, 4.6vw, 60px) !important;
    font-weight: 600 !important;
    letter-spacing: -.02em;
    line-height: 1.12 !important;
    text-transform: uppercase;
}

.home-blogs__heading span {
    display: inline;
    font: inherit;
    letter-spacing: inherit;
    color: #16852d !important;
    font-weight: 600 !important;
}

.home-blogs__lead {
    margin: 10px 0 0;
    max-width: 34rem;
    color: #5f6a61;
    font-size: 1rem;
}

.home-blogs__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: #121b16;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
}

.home-blogs__all svg {
    width: 16px;
    height: 16px;
}

.home-blogs__all:hover,
.home-blogs__all:focus-visible {
    background: #16852d;
    color: #fff !important;
}

.home-blogs__viewport {
    position: relative;
}

.home-blogs__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    overflow-anchor: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    padding: 8px 4px 18px;
    margin: 0 -4px;
}

.home-blogs__scroller.is-jumping {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.home-blogs__scroller::-webkit-scrollbar {
    display: none;
}

.home-blogs__track {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.home-blog {
    position: relative;
    flex: 0 0 calc((100% - 40px) / 3);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(22, 133, 45, 0.12);
    box-shadow: 0 14px 32px rgba(18, 27, 22, 0.06);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.home-blog.is-active {
    border-color: rgba(22, 133, 45, 0.28);
    box-shadow: 0 22px 40px rgba(22, 133, 45, 0.14);
    transform: translateY(-4px);
}

.home-blog__media {
    position: relative;
    display: block;
    height: 240px;
    overflow: hidden;
    background: #e8f4df;
}

.home-blog__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-blog:hover .home-blog__media img,
.home-blog:focus-within .home-blog__media img {
    transform: scale(1.05);
}

.home-blog__index {
    position: absolute;
    right: 14px;
    bottom: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    text-shadow: 0 8px 18px rgba(18, 27, 22, 0.35);
}

.home-blog__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #121b16;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-blog__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 18px 18px;
}

.home-blog__meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    color: #5f6a61;
    font-size: 0.76rem;
    font-weight: 700;
}

.home-blog__title {
    margin: 0 0 8px !important;
    color: #121b16 !important;
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    line-height: 1.3;
    text-decoration: none !important;
}

.home-blog__title:hover,
.home-blog__title:focus-visible {
    color: #16852d !important;
}

.home-blog__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 14px;
    color: #5f6a61;
    font-size: 0.9rem;
    line-height: 1.5;
}

.home-blog__more {
    margin-top: auto;
    width: fit-content;
    color: #121b16;
    border-bottom: 1.6px solid #8fe83c;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none !important;
}

.home-blog__more:hover,
.home-blog__more:focus-visible {
    color: #16852d;
}

.home-blogs__nav {
    position: absolute;
    top: 46%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(22, 133, 45, 0.18);
    border-radius: 50%;
    background: #fff;
    color: #16852d;
    box-shadow: 0 10px 24px rgba(18, 27, 22, 0.1);
    cursor: pointer;
    transform: translateY(-50%);
}

.home-blogs__nav--prev {
    left: -10px;
}

.home-blogs__nav--next {
    right: -10px;
}

.home-blogs__nav svg {
    width: 18px;
    height: 18px;
}

.home-blogs__nav:hover,
.home-blogs__nav:focus-visible {
    background: #16852d;
    border-color: #16852d;
    color: #fff;
}

.home-blogs__bar {
    display: flex;
    align-items: center;
    gap: 16px 20px;
    margin-top: 6px;
}

.home-blogs__count {
    flex: 0 0 auto;
    color: #5f6a61;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.home-blogs__count em {
    color: #121b16;
    font-style: normal;
    font-weight: 800;
}

.home-blogs__meter {
    flex: 1 1 auto;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(22, 133, 45, 0.12);
}

.home-blogs__meter span {
    display: block;
    width: var(--p, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #16852d, #45c72f);
}

.home-blogs__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.home-blogs__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(22, 133, 45, 0.22);
    cursor: pointer;
}

.home-blogs__dot.is-active {
    width: 22px;
    background: #16852d;
}

@media (max-width: 1180px) {
    .home-blogs__heading {
        font-size: clamp(32px, 5vw, 46px) !important;
    }
}

@media (max-width: 1020px) {
    .home-blog {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 760px) {
    .home-blogs__inner {
        width: min(1520px, calc(100% - 32px));
    }

    .home-blogs__heading {
        font-size: clamp(28px, 8vw, 36px) !important;
    }

    .home-blogs__nav {
        position: static;
        transform: none;
        box-shadow: none;
    }

    .home-blogs__viewport {
        display: grid;
        grid-template-columns: 48px 1fr 48px;
        align-items: center;
        gap: 8px;
    }

    .home-blogs__scroller {
        grid-column: 1 / -1;
        grid-row: 1;
        padding-left: 0;
        padding-right: 0;
    }

    .home-blogs__nav--prev {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    .home-blogs__nav--next {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
    }

    .home-blog {
        flex-basis: 84%;
    }

    .home-blog__media {
        height: 190px;
    }
}

@media (max-width: 640px) {
    .home-blogs {
        padding: 56px 0 68px !important;
    }

    .home-blogs__bar {
        flex-wrap: wrap;
    }

    .home-blogs__meter {
        order: 3;
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-blog,
    .home-blog__media img {
        transition: none;
    }
}
