/* ============================
   HERO SECTION BLOCK
============================ */
.hero-section {
    position: relative;
    min-height: 468px;
    padding-block: var(--space-2md);
    overflow: hidden;
    @media screen and (min-width: 991.8px) {
        padding-block: var(--space-xl);
    }
}

@media screen and (max-width: 991.8px) {
    .hero-section.hero-section--layout-text_image.more-padding {
        padding-bottom: 220px;
    }

}

.hero-section .hero-mobile-image {
    max-width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (min-width: 767.8px) {
    .hero-section .hero-mobile-image {
        max-width: 720px;
        height: 1000px;
        bottom: -300px;
    }
}

.hero-section.more-padding {
    padding-block: var(--space-2md) 156px;
    @media screen and (min-width: 991.8px) {
        padding-block: var(--space-xl) 156px;
    }
}

.hero-section.hero-section--layout-overlay {
    padding-block: var(--space-2md) 560px;
    @media screen and (min-width: 575.8px) {
        padding-block: var(--space-2md) 600px;
    }
    @media screen and (min-width: 991.8px) {
        padding-block: var(--space-xl);
    }
}

.hero-section--bg-bg-green-light {
    background-color: var(--clr-green-100);
}

.hero-section--layout-text_image.hero-section--bg-bg-green-light {
    background-color: var(--clr-green-200);
}

.hero-section--layout-text_image .row {
    align-items: center;
}

/* Container */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .container .row {
    row-gap: var(--space-2md);
}

.hero-section--layout-overlay::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ============================================
   Hero Overlay Gradients — bg-light
   ============================================ */
.hero-section--layout-overlay.hero-section--bg-bg-light::before {
    background: RGBA(248, 242, 239, 1);
    background: -webkit-linear-gradient(
            180deg,
            rgba(248, 242, 239, 1) 30%,
            rgba(248, 242, 239, 1) calc(100% - 560px),
            rgba(248, 242, 239, 0.57) 61%,
            rgba(248, 242, 239, 0) calc(100% - 350px)
    );
    background: -moz-linear-gradient(
            180deg,
            rgba(248, 242, 239, 1) 30%,
            rgba(248, 242, 239, 1) calc(100% - 560px),
            rgba(248, 242, 239, 0.57) 61%,
            rgba(248, 242, 239, 0) calc(100% - 350px)
    );
    background: linear-gradient(
            180deg,
            rgba(248, 242, 239, 1) 30%,
            rgba(248, 242, 239, 1) calc(100% - 560px),
            rgba(248, 242, 239, 0.57) 61%,
            rgba(248, 242, 239, 0) calc(100% - 350px)
    );
}

@media screen and (min-width: 380px) {
    .hero-section--layout-overlay.hero-section--bg-bg-light::before {
        background: RGBA(248, 242, 239, 1);
        background: -webkit-linear-gradient(
                180deg,
                rgba(248, 242, 239, 1) calc(100% - 555px),
                rgba(248, 242, 239, 0.57) 60%,
                rgba(248, 242, 239, 0) calc(100% - 350px)
        );
        background: -moz-linear-gradient(
                180deg,
                rgba(248, 242, 239, 1) calc(100% - 555px),
                rgba(248, 242, 239, 0.57) 60%,
                rgba(248, 242, 239, 0) calc(100% - 350px)
        );
        background: linear-gradient(
                180deg,
                rgba(248, 242, 239, 1) calc(100% - 555px),
                rgba(248, 242, 239, 0.57) 60%,
                rgba(248, 242, 239, 0) calc(100% - 350px)
        );
    }
}

/* Desktop override */
@media (min-width: 575.8px) {
    .hero-section--layout-overlay.hero-section--bg-bg-light::before {
        background: RGBA(248, 242, 239, 1);
        background: -webkit-linear-gradient(
                180deg,
                rgba(248, 242, 239, 1) 52%,
                rgba(248, 242, 239, 1) 49%,
                rgba(248, 242, 239, 0.57) 56%,
                rgba(248, 242, 239, 0) calc(100% - 350px)
        );
        background: -moz-linear-gradient(
                180deg,
                rgba(248, 242, 239, 1) 52%,
                rgba(248, 242, 239, 1) 49%,
                rgba(248, 242, 239, 0.57) 56%,
                rgba(248, 242, 239, 0) calc(100% - 350px)
        );
        background: linear-gradient(
                180deg,
                rgba(248, 242, 239, 1) 52%,
                rgba(248, 242, 239, 1) 49%,
                rgba(248, 242, 239, 0.57) 56%,
                rgba(248, 242, 239, 0) calc(100% - 350px)
        );
    }
}

@media screen and (min-width: 991.81px) {
    .hero-section--layout-overlay.hero-section--bg-bg-light::before {
        background: RGBA(248, 242, 239, 1);
        background: -webkit-linear-gradient(
                90deg,
                rgba(248, 242, 239, 1) 50%,
                rgba(248, 242, 239, 0.7) 60%,
                rgba(248, 242, 239, 0.1) 85%,
                rgba(248, 242, 239, 0) 100%
        );
        background: -moz-linear-gradient(
                90deg,
                rgba(248, 242, 239, 1) 50%,
                rgba(248, 242, 239, 0.7) 60%,
                rgba(248, 242, 239, 0.1) 85%,
                rgba(248, 242, 239, 0) 100%
        );
        background: linear-gradient(
                90deg,
                rgba(248, 242, 239, 1) 50%,
                rgba(248, 242, 239, 0.7) 60%,
                rgba(248, 242, 239, 0.1) 85%,
                rgba(248, 242, 239, 0) 100%
        );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#F8F2EF", endColorstr="#F8F2EF00", GradientType=1);
    }
}

@media screen and (min-width: 1199.9px) {
    .hero-section--layout-overlay.hero-section--bg-bg-light::before {
        background: RGBA(248, 242, 239, 1);
        background: -webkit-linear-gradient(
                90deg,
                rgba(248, 242, 239, 1) 60%,
                rgba(248, 242, 239, 0.7) 75%,
                rgba(248, 242, 239, 0.1) 85%,
                rgba(248, 242, 239, 0) 100%
        );
        background: -moz-linear-gradient(
                90deg,
                rgba(248, 242, 239, 1) 60%,
                rgba(248, 242, 239, 0.7) 75%,
                rgba(248, 242, 239, 0.1) 85%,
                rgba(248, 242, 239, 0) 100%
        );
        background: linear-gradient(
                90deg,
                rgba(248, 242, 239, 1) 60%,
                rgba(248, 242, 239, 0.7) 75%,
                rgba(248, 242, 239, 0.1) 85%,
                rgba(248, 242, 239, 0) 100%
        );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#F8F2EF", endColorstr="#F8F2EF00", GradientType=1);
    }
}

/* ============================================
   Hero Overlay Gradients — bg-green-light
   ============================================ */
.hero-section--layout-overlay.hero-section--bg-bg-green-light::before {
    background: RGBA(20, 46, 46, 1);
    background: -webkit-linear-gradient(
            180deg,
            rgba(20, 46, 46, 1) 30%,
            rgba(20, 46, 46, 1) calc(100% - 560px),
            rgba(20, 46, 46, 0.57) 61%,
            rgba(20, 46, 46, 0) calc(100% - 350px)
    );
    background: -moz-linear-gradient(
            180deg,
            rgba(20, 46, 46, 1) 30%,
            rgba(20, 46, 46, 1) calc(100% - 560px),
            rgba(20, 46, 46, 0.57) 61%,
            rgba(20, 46, 46, 0) calc(100% - 350px)
    );
    background: linear-gradient(
            180deg,
            rgba(20, 46, 46, 1) 30%,
            rgba(20, 46, 46, 1) calc(100% - 560px),
            rgba(20, 46, 46, 0.57) 61%,
            rgba(20, 46, 46, 0) calc(100% - 350px)
    );
}

@media screen and (min-width: 380px) {
    .hero-section--layout-overlay.hero-section--bg-bg-green-light::before {
        background: RGBA(20, 46, 46, 1);
        background: -webkit-linear-gradient(
                180deg,
                rgba(20, 46, 46, 1) calc(100% - 560px),
                rgba(20, 46, 46, 0.57) 60%,
                rgba(20, 46, 46, 0) calc(100% - 350px)
        );
        background: -moz-linear-gradient(
                180deg,
                rgba(20, 46, 46, 1) calc(100% - 560px),
                rgba(20, 46, 46, 0.57) 60%,
                rgba(20, 46, 46, 0) calc(100% - 350px)
        );
        background: linear-gradient(
                180deg,
                rgba(20, 46, 46, 1) calc(100% - 560px),
                rgba(20, 46, 46, 0.57) 60%,
                rgba(20, 46, 46, 0) calc(100% - 350px)
        );
    }
}

@media screen and (min-width: 575.8px) {
    .hero-section--layout-overlay.hero-section--bg-bg-green-light::before {
        background: RGBA(20, 46, 46, 1);
        background: -webkit-linear-gradient(
                180deg,
                rgba(20, 46, 46, 1) 52%,
                rgba(20, 46, 46, 1) 49%,
                rgba(20, 46, 46, 0.57) 56%,
                rgba(20, 46, 46, 0) calc(100% - 350px)
        );
        background: -moz-linear-gradient(
                180deg,
                rgba(20, 46, 46, 1) 52%,
                rgba(20, 46, 46, 1) 49%,
                rgba(20, 46, 46, 0.57) 56%,
                rgba(20, 46, 46, 0) calc(100% - 350px)
        );
        background: linear-gradient(
                180deg,
                rgba(20, 46, 46, 1) 52%,
                rgba(20, 46, 46, 1) 49%,
                rgba(20, 46, 46, 0.57) 56%,
                rgba(20, 46, 46, 0) calc(100% - 350px)
        );
    }
}

@media screen and (min-width: 991.9px) {
    .hero-section--layout-overlay.hero-section--bg-bg-green-light::before {
        background: RGBA(20, 46, 46, 1);
        background: -webkit-linear-gradient(
                90deg,
                rgba(20, 46, 46, 1) 50%,
                rgba(20, 46, 46, 0.7) 60%,
                rgba(20, 46, 46, 0.1) 85%,
                rgba(20, 46, 46, 0) 100%
        );
        background: -moz-linear-gradient(
                90deg,
                rgba(20, 46, 46, 1) 50%,
                rgba(20, 46, 46, 0.7) 60%,
                rgba(20, 46, 46, 0.1) 85%,
                rgba(20, 46, 46, 0) 100%
        );
        background: linear-gradient(
                90deg,
                rgba(20, 46, 46, 1) 50%,
                rgba(20, 46, 46, 0.7) 60%,
                rgba(20, 46, 46, 0.1) 85%,
                rgba(20, 46, 46, 0) 100%
        );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#142E2E", endColorstr="#142E2E", GradientType=1);
    }
}

@media screen and (min-width: 1199.9px) {
    .hero-section--layout-overlay.hero-section--bg-bg-green-light::before {
        background: RGBA(20, 46, 46, 1);
        background: -webkit-linear-gradient(
                90deg,
                rgba(20, 46, 46, 1) 60%,
                rgba(20, 46, 46, 0.7) 75%,
                rgba(20, 46, 46, 0.1) 85%,
                rgba(20, 46, 46, 0) 100%
        );
        background: -moz-linear-gradient(
                90deg,
                rgba(20, 46, 46, 1) 60%,
                rgba(20, 46, 46, 0.7) 75%,
                rgba(20, 46, 46, 0.1) 85%,
                rgba(20, 46, 46, 0) 100%
        );
        background: linear-gradient(
                90deg,
                rgba(20, 46, 46, 1) 60%,
                rgba(20, 46, 46, 0.7) 75%,
                rgba(20, 46, 46, 0.1) 85%,
                rgba(20, 46, 46, 0) 100%
        );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#142E2E", endColorstr="#142E2E", GradientType=1);
    }
}

/* ============================
   TEXT CONTENT
============================ */
.hero-section__content {
    max-width: 880px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.hero-section__heading {
    color: var(--clr-text-inverse);
    margin-bottom: var(--space-md);
    @media screen and (min-width: 991.8px) {
        margin-bottom: var(--space-md);
    }
}

.hero-section--layout-text_image .hero-section__heading {
    color: var(--clr-text-inverse);
    margin-bottom: 0;
    @media screen and (min-width: 991.8px) {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 991.8px) {
    .hero-section--layout-text_image {
        padding-bottom: 156px;
    }
}

.hero-section--bg-bg-light .hero-section__heading {
    color: var(--clr-primary);
}

.hero-section--bg-bg-light .hero-section__heading span {
    color: var(--clr-brown-100);
}

.hero-section__subheading {
    margin-bottom: var(--space-md);
    color: var(--clr-text-inverse);
}

.hero-section__text {
    margin-top: var(--space-2md);
    color: var(--clr-text-inverse);
}
.hero-section__text h2{
    margin-bottom: 0;
}
.hero-section--layout-overlay .hero-section__text {
    margin-top: var(--space-md);
}

.hero-section--bg-bg-light .hero-section__text {
    color: var(--clr-green-300);
}

.hero-section__buttons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
    width: 100%;
    margin-top: var(--space-2md);
    row-gap: var(--space-sm);
    @media screen and (min-width: 991.8px) {
        flex-wrap: nowrap;
    }
}

.hero-section__note {
    font-style: italic;
    font-weight: var(--fw-regular);
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: var(--clr-text-inverse);
    text-align: center;
    width: 100%;
    @media screen and (min-width: 1199.8px) {
        text-align: left;
    }
}

.hero-section--bg-bg-light .hero-section__note {
    color: var(--clr-primary);
}

/* ============================
   SECOND COLUMN CARD
============================ */
.hero-section__card {
    margin-left: auto;
    margin-right: 0;
    width: 100%;

    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    @media screen and (min-width: 991.8px) {
        max-width: 425px;
    }
}

.hero-section__card-preheader {
    color: var(--clr-accent);
    margin-bottom: 15px;
}

.hero-section__card-title {
    color: var(--clr-text-inverse);
    margin-bottom: 25px;
}

.hero-section__card-content {
    color: var(--clr-text-inverse);
}

.hero-section__card-content p {
    margin-bottom: var(--space-sm);
}

.hero-section__card-content ul {
    padding-left: 20px;
    margin-bottom: var(--space-sm);
    list-style: disc;
}

.hero-section__card-content ul li {
    margin-bottom: 6px;
}

.hero-section__card .link {
    justify-content: flex-start;
}

.hero-section--bg-bg-light .hero-section__card {
    background-color: var(--clr-green-100);
}

.hero-section--bg-bg-light .hero-section__card a {
    color: var(--clr-brown-100);
}

.hero-section--bg-bg-light .hero-section__card a:hover {
    color: var(--clr-brown-200);
}

.hero-section__card-content {
    margin-bottom: 25px;
}

.hero-section-text-position-right .hero-section__image-holder {
    max-width: 536px;

}

.hero-section-text-position-left .hero-section__text_inner {
    max-width: 536px;

}


.hero-section-text-position-right .hero-section__content-wrapper {
    order: 1;
    @media screen and (min-width: 991.8px) {
        order: 2;
    }

}

.hero-section-text-position-right .hero-section__image-wrapper {
    order: 2;
    @media screen and (min-width: 991.8px) {
        order: 1;
    }
}

.hero-section-text-position-right .hero-section__image-holder {
    margin-left: auto;
    margin-right: auto;
    @media screen and (min-width: 991.8px) {
        margin-left: 0;
        margin-right: auto;
    }
}

.hero-section-text-position-left .hero-section__image-holder {
    margin-left: auto;
    margin-right: auto;
    @media screen and (min-width: 991.8px) {
        margin-right: 0;
        margin-left: auto;
    }
}

/* ============================
   BACKGROUND VARIANTS
============================ */
/* Green Background (default) */
.hero-section--bg-green {
    background-color: var(--clr-green-100);
}

.hero-section--bg-green .hero-section__card {
    background-color: var(--clr-neutral-100);
}

.hero-section--bg-green .hero-section__card-title {
    color: var(--clr-green-100);
}

.hero-section--bg-green .hero-section__card-content {
    color: var(--clr-green-100);
}

.hero-section--bg-green .btn--secondary {
    background-color: var(--clr-brown-100);
}

.hero-section--bg-green .btn--secondary:hover {
    background-color: var(--clr-brown-200);
}

.hero-section--bg-green .link--brown {
    color: var(--clr-brown-100);
}

.hero-section--bg-green .link--brown:hover {
    color: var(--clr-brown-200);
}

/* Light Background */
.hero-section--bg-light {
    background-color: var(--clr-neutral-100);
}

.hero-section--bg-light .hero-section__heading,
.hero-section--bg-light .hero-section__text,
.hero-section--bg-light .hero-section__note {
    color: var(--clr-green-100);
}

.hero-section--bg-light .hero-section__subheading {
    color: var(--clr-green-300);
}

.hero-section--bg-light .hero-section__card {
    background-color: var(--clr-green-100);
}

.hero-section--bg-light .hero-section__card-title,
.hero-section--bg-light .hero-section__card-content {
    color: var(--clr-neutral-100);
}

.hero-section--bg-light .hero-section__card .link--brown {
    color: var(--clr-brown-100);
}

/*.hero-section--bg-light .hero-section__card .link--brown svg path {*/
/*    fill: var(--clr-brown-100);*/
/*}*/

.hero-section--bg-light .hero-section__card .link--brown:hover {
    color: var(--clr-brown-200);
}

/*.hero-section--bg-light .hero-section__card .link--brown:hover svg path {*/
/*    fill: var(--clr-brown-200);*/
/*}*/

.hero-section--layout-overlay .hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 500px;
    object-fit: cover;
    /*z-index: 4;*/
    top: auto;
    display: none;

}

@media screen and (min-width: 991.8px) {
    .hero-section--layout-overlay .hero-image {
        position: absolute;
        right: 0;
        top: 0;
        object-fit: contain;
        object-position: right center;
        width: 100%;
        height: 100%;
        display: block;
        transform: scale(1.2);

    }
}
@media screen and (min-width: 1199.8px) {
    .hero-section--layout-overlay .hero-image {
        position: absolute;
        right: 0;
        top: 0;
        object-fit: contain;
        object-position: right center;
        width: 100%;
        height: 100%;
        display: block;
        transform: none;

    }
}
.hero-section--bg-bg-green-light .hero-section__preheader {
    color: var(--clr-brown-200);
}

.hero-section--bg-bg-green-light .btn--primary {
    background-color: var(--clr-brown-200);
}

.hero-section--bg-bg-green-light .btn--primary:hover {
    background-color: var(--clr-neutral-100);
    color: var(--clr-brown-200);
}

.hero-section--bg-bg-green-light .link--brown,
.hero-section--bg-bg-green-light .link--brown svg path {
    color: var(--clr-brown-200);
}

.hero-section--bg-bg-green-light .link--brown svg path {
    fill: var(--clr-brown-200);
}

.hero-section--bg-bg-green-light .link--brown:hover {
    color: var(--clr-neutral-100);
}

.hero-section--bg-bg-green-light .link--brown:hover svg path {
    fill: var(--clr-neutral-100);
}

.hero-section--layout-text_image.hero-section-text-position-left .hero-section__content-wrapper {
    order: 2;
    @media screen and (min-width: 991.8px) {
        order: 1;
    }
}

.hero-section--layout-text_image.hero-section-text-position-left .hero-section__image-wrapper {
    order: 1;
    @media screen and (min-width: 991.8px) {
        order: 2;
    }
}

.two-columns-section__text p {
    margin-bottom: 16px;
}

.two-columns-section__text p:last-of-type {
    margin-bottom: 0;
}

.hero-section__buttons-wrapper {
    flex-wrap: wrap;
}
