/* Re-usable classes */
.component-container {
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: 4.5rem;
    overflow-x: clip;
}

.component-y-margin {
    margin-block: 6rem;
}

.component-y-padding {
    padding-block: 6rem;
}

.btn--primary {
    background-color: #CFC48D;
    min-width: 225px;
    padding-block: .65rem;
    padding-inline: 1.5rem;
    width: fit-content;
    text-decoration: none;
    color: white;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: .2s ease-in-out;
}

.btn--primary:hover {
    background-color: #dcd3a4;
}

.component-text h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    letter-spacing: 0px;
}

.component-text * {
    font-family: freight-big-pro, serif;
}

.component-text p,
span,
label,
strong {
    font-size: 22px !important;
}

/* Unique classes */
.text-white * {
    color: white !important;
}

.big-title,
.big-title-with-text {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 333px;
}

.big-title img {
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 284px;
    object-fit: contain;
    z-index: -10;
}

.big-title h1 {
    line-height: 1.2;
    text-align: center;
    max-width: 950px;
}

.text-image {
    position: relative;
    flex-direction: row;
    display: flex;
    column-gap: 4rem;
    align-items: flex-start;
}

.text-image .text {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding-right: 5rem;
}

.text-image .text h1,
h2,
h3,
h4 {
    margin-block: 0px !important;
}

.text-image .text .cta-button {
    margin-top: .5rem;
}

.text-image img {
    position: absolute;
    right: -5rem;
    top: 0;
    width: calc(50% + 5rem);
    height: 375px;
    object-fit: cover;
}

.image-text {
    position: relative;
    flex-direction: row;
    display: flex;
    align-items: flex-start;
}

.image-text .text {
    width: calc(50% + 8rem);
    display: flex;
    flex-direction: column;
    transform: translateX(-2rem);
}

.image-text img {
    transform: translateX(-8rem);
    width: calc(50% + 8rem);
    height: 375px;
    object-fit: cover;
}

.bg-color-text-image-wrapper,
.bg-color-image-text-wrapper {
    display: flex;
    align-items: flex-start;
    column-gap: 4rem;
}

.bg-color-text-image-wrapper .text,
.bg-color-image-text-wrapper .text {
    width: 45%;
}

.bg-color-text-image-wrapper img,
.bg-color-image-text-wrapper img {
    width: 55%;
    height: 400px;
    object-fit: cover;
}

.big-title-with-text .bg-watermark-img {
    position: absolute;
    right: 1rem;
    bottom: -8rem;
    height: 365px;
    width: 284px;
    object-fit: contain;
    z-index: -10;
}

.big-title-with-text .text {
    max-width: 670px;
    margin: 0 auto;
    text-align: center;
}

.big-title-with-text .text h1 {
    line-height: 1.2;
    margin-block: 0px !important;
}

.text-with-slider {
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.text-with-slider .text {
    width: 40%;
}

.text-with-slider .slider-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 600px;
}

.text-with-slider .slider-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-with-text {
    padding-block: 3.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1440px;
    width: 100%;
    min-height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-with-text .black-bg-img-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-with-text .content-wrapper .text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    margin: 0 auto;
    max-width: 670px;
    text-align: center;
}

.banner-with-text .content-wrapper .text h1 {
    margin-block: 0px !important;
}


/* Responsiveness */
@media screen and (min-width: 1024px) {
    .big-title h1 {
        font-size: 105px;
    }
}

@media screen and (max-width: 1024px) {
    .component-container {
        padding-inline: 2rem;
    }

    .component-text p span label {
        font-family: freight-big-pro, serif;
        font-size: 20px !important;
    }

    .text-image .text,
    .image-text .text,
    .bg-color-text-image-wrapper .text,
    .bg-color-image-text-wrapper .text {
        width: 75%;
    }

    .text-image img,
    .image-text img,
    .bg-color-text-image-wrapper img,
    .bg-color-image-text-wrapper img {
        width: 75%;
    }

    .bg-color-image-text-wrapper {
        flex-direction: column;
        row-gap: 2rem;
    }

    .bg-color-text-image-wrapper {
        flex-direction: column-reverse;
        row-gap: 2rem;
    }

    .text-image {
        flex-direction: column-reverse;
        row-gap: 2rem;
    }

    .text-image img {
        position: relative;
        right: inherit;
    }

    .text-image .text {
        padding-right: 3.5rem;
    }

    .image-text {
        flex-direction: column;
        row-gap: 2rem;
    }

    .image-text img {
        transform: translateX(0px);
    }

    .image-text .text {
        transform: translateX(0px);
    }

    .text-with-slider {
        min-height: 0px;
        row-gap: 2rem;
        flex-direction: column;
    }

    .text-with-slider .slider-wrapper {
        position: relative;
        width: 100%;
        height: 350px;
    }

    .text-with-slider .text {
        width: 100%;
        padding-right: 4rem;
    }
}

@media screen and (max-width: 768px) {
    .component-y-margin {
        margin-block: 4.5rem;
    }

    .component-y-padding {
        padding-block: 4.5rem;
    }

    .image-text img,
    .text-image img,
    .bg-color-text-image-wrapper img,
    .bg-color-image-text-wrapper img {
        height: 250px;
    }

    .big-title img {
        left: 50%;
        transform: translateX(-50%);
    }

    .big-title-with-text .bg-watermark-img {
        right: -7.5rem;
        height: 275px;
    }

    .banner-with-text {
        min-height: 500px;
    }
}

@media screen and (max-width: 640px) {
    .component-container {
        padding-inline: 1rem;
    }

    .component-text p,
    span,
    label {
        font-family: freight-big-pro, serif;
        font-size: 18px !important;
    }

    .text-image img,
    .image-text img,
    .bg-color-text-image img,
    .bg-color-image-text-wrapper img {
        width: 100%;
    }

    .text-image .text,
    .image-text .text,
    .bg-color-text-image-wrapper .text,
    .bg-color-image-text-wrapper .text {
        width: 100%;
        padding-right: 2rem;
    }

    .text-image img {
        position: relative;
        right: inherit;
    }

    .big-title {
        min-height: 275px;
    }

    .text-with-slider .text {
        padding-right: 2rem;
    }
}