main {
    --_side-img-width: 60ch;
}

.banner-media::before {
    background-image: url(/res/imgs/media/sustainability/1171-19-10-Sustainability-Banner.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* SECTIONS */

.section-title {
    width: fit-content;
    margin: 0 auto;
    font-size: 2em;
}

.underlined {
    --_underline-gap: 0.5em;
    position: relative;
    margin-bottom: var(--_underline-gap);
}

.underlined::after {
    content: "";
    border-bottom: 3px solid var(--company-color3);

    position: absolute;
    bottom: calc(var(--_underline-gap) * -1);
    left: 25%;
    right: 25%;
}

/* SECTIONS */

/* COMMITMENT TO RESPONSIBLE GROWTH */

.commited {}

.commited-text {
    color: #626262;

    padding: 2.5rem calc(var(--main-padding) * 2);
    margin: auto;
    max-width: 70ch;
    text-align: center;
    text-align: start;
}

/* ACD */

.acd {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.acd-img-wrapper {
    margin: auto;
    max-width: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.acd-img-wrapper>img {
    object-fit: cover;
}

.boat-image:is(:hover, :focus) {
    content: url(/res/imgs/media/sustainability/sustainability_boat.webp);
}

img.acd-certificate {
    padding: 1em;
    object-fit: contain;
}

.acd-text {
    color: #626262;
    padding: 2.5rem calc(var(--main-padding)* 2);
    margin: auto;
    max-width: 70ch;
    text-align: start;
}

/* Certificates and Recognitions */

.certificates {
    padding: calc(var(--main-padding)* 2) var(--main-padding);
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.certificates-title {
    font-size: 1.75em;
    font-family: var(--bold-font);
    color: #626262;
    text-align: center;
}

.certificates-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    flex: 1;
}

.certificates-wrapper>img {
    height: 100%;
    max-height: 5em;
    filter: grayscale(1);
    transition: filter 0.1s ease-out;
}

.certificates-wrapper>img:is(:hover, :focus) {
    filter: grayscale(0);
}

/* Ecovadis */

.ecovadis {
    display: flex;
    flex-direction: column-reverse;
    gap: 1em;
}

.ecovadis-img-wrapper {
    margin: auto;
    max-width: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.ecovadis-img-wrapper>img {
    object-fit: cover;
}

img.ecovadis-certificate {
    padding: 1em;
    object-fit: contain;
}

.ecovadis-text {
    color: #626262;
    padding: 2.5rem calc(var(--main-padding)* 2);
    margin: auto;
    max-width: 70ch;
    text-align: start;
}

/* Stay tuned for the most recent updates in the industry! */

.stay-tuned {
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
}

.stay-tuned-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem calc(var(--main-padding) * 2);
    flex: 1;
}

.stay-tuned-text-wrapper>h2 {
    margin: 0.5em 0;
}

.stay-tuned-text-wrapper>* {
    margin: 0;
}

.stay-tuned-text {
    color: #626262;
    text-align: start;
}

.stay-tuned-button {
    width: fit-content;
    font-size: 1.2em;
    color: black;
    border-bottom: 2px solid black;
    text-decoration: none;
    margin: 1em 0;
}

.stay-tuned-button:is(:hover, :focus) {
    color: var(--company-color3);
    border-color: var(--company-color3);
}

.stay-tuned-img-wrapper {
    position: relative;
    /* padding: 2.5rem calc(var(--main-padding) * 2); */
    padding-top: 2.5rem;
}

.stay-tuned-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: left;
}

.stay-tuned-img:is(.green) {
    display: block;
}

.stay-tuned-img:not(.green) {
    display: none;
}

.stay-tuned-img-wrapper:hover>:is(.green) {
    display: none;
}

.stay-tuned-img-wrapper:hover>:not(.green) {
    display: block;
}

section {
    font-size: 1rem;
    margin-bottom: 5em;
}

@media (width>=768px) {
    section {
        font-size: 1rem;
    }

    .acd-img-wrapper,
    .ecovadis-img-wrapper {
        max-width: unset;
        width: var(--_side-img-width);
        flex-direction: row;
        padding: unset;
    }

    .acd-img-wrapper>img,
    .ecovadis-img-wrapper>img {
        width: 50%;
    }
}

@media (width>=1024px) {
    section {
        font-size: 1.1rem;
    }

    .commited-text {
        /* column-count: 2;
        gap: 2em; */
        max-width: 120ch;
    }

    .acd {
        flex-direction: row;
        align-items: center;
    }

    .acd-img-wrapper {
        margin: 0;
    }

    .acd-text {
        margin: 0;
        padding-right: 0;
    }

    .acd::after {
        content: "";
        display: block;
        width: calc(var(--_side-img-width) / 2);
        height: 100%;
        margin-left: auto;
    }

    .certificates-wrapper>img {
        max-height: 7em;
    }

    .ecovadis {
        flex-direction: row;
        align-items: center;
        position: relative;
    }

    .ecovadis-img-wrapper {
        margin: 0;
        flex-direction: row-reverse;
    }

    img.ecovadis-certificate {
        padding: 1em;
        object-fit: contain;
    }

    img.ecovadis-barrels {
        visibility: hidden;
        opacity: 0;
    }

    .ecovadis::after {
        content: "";
        background-image: url(/res/imgs/media/sustainability/sustainability_triangulo-gris.svg);
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: right;
        display: block;
        width: calc(var(--_side-img-width) / 2);
        height: 100%;
        margin-left: auto;
    }

    .ecovadis-text {
        margin: 0;
        padding-right: 0;
    }

    .certificates {
        flex-direction: row;
    }

    .certificates-title {
        max-width: 15ch;
        text-align: start;
    }

    .stay-tuned {
        flex-direction: row-reverse;
    }

    .stay-tuned-text-wrapper {
        align-items: flex-start;
        max-width: 70ch;
        margin-right: auto;
    }

    .stay-tuned-img-wrapper {
        width: 50%;
        padding: 2.5rem calc(var(--main-padding) * 2) 0 0;
    }

    .stay-tuned-img-wrapper::after {
        bottom: clamp(-190px, -9vw, -90px);
    }

    .stay-tuned-button {
        align-self: end;
    }
}

@media (width>=1440px) {
    section {
        font-size: 1.2rem;
    }
}