:root {
    --color-white: #ffffff;
    --color-teal: #144d59;
    --color-light-gray-yellow: #f6f3e9;
    --color-teal: #144d59;
    --color-light-gray: #D3D3D3;
    --color-gray: #808080;
    --color-grayish-orange: #d6d1c5;
    --color-polished-cotton: #c8d4d6;
}

/* Utilities */
.bg-light-gray-yellow {
    background-color: var(--color-light-gray-yellow) !important;
}

.bg-grayish-orange {
    background-color: var(--color-grayish-orange) !important;
}

.bg-polished-cotton {
    background-color: var(--color-polished-cotton) !important;
}

.max-w-lg {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-white);
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    color: var(--color-teal) !important;
    border: 2px solid var(--color-white);
}

.btn-outline::before {
    background: var(--color-white) !important;
}

/* Home Section 1 */
.home-section-1 .title {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 3rem;
    font-style: italic;
}

.home-section-1 .ysla-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    color: var(--color-gray);
}

.home-section-1 img {
    width: 100%;
    height: auto;
    display: block;
}

.home-section-1 .text {
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

/* Home Section 2 */
.home-section-2 .img-2 {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Home Section 3 */
.home-section-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-3 .title {
    font-size: 2.5rem;
    font-family: 'serif';
    font-weight: bold;
    color: var(--color-teal);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.home-section-3 img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.home-section-3 .text {
    margin-bottom: 2rem;
}

/* Ysla Collections */
.ysla-collections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}

.ysla-collections .wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 2.5px solid var(--color-light-gray);
}

.ysla-collections .wrapper p {
    margin-top: 2rem;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Mobile */

@media (max-width: 600px) {
    .home-section-2 {
        flex-direction: column-reverse;
        gap: 1rem;
    }
}

/* Ysla 2025 collection page */
.ysla-page header:not(.onscroll) .main-logo img {
    filter: brightness(0) invert(1);
}

.ysla-page__banner {
    background-position: center center;
    height: min(600px, 54vw);
    min-height: 520px;
}

.ysla-page__banner:before {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.08) 45%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.ysla-page__banner-title {
    margin-left: auto;
    padding: 0 4% 46px 0;
    text-align: center !important;
    width: max-content;
}

.ysla-page__banner-title .hero-title {
    color: #fff;
    font-size: 9rem;
    line-height: 1.2;
    margin: 0;
}

.ysla-page__banner-title .hero-text {
    color: #fff;
    line-height: 1.4;
    margin: -1.9rem 0 0 3rem;
}

.ysla-page__content {
    background: #fff;
}

.ysla-page__intro {
    padding: 54px 0 40px;
}

.ysla-page__intro .container {
    max-width: 1040px;
}

.ysla-page__intro h2 {
    color: #a4a4a4;
    font-family: "Montserrat Light";
    font-size: 31px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.ysla-page__intro p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.ysla-page__story-image {
    margin: 0;
}

.ysla-page__story-image > img {
    display: block;
    height: auto;
    width: 100%;
}

.ysla-page__story-image figcaption {
    font-size: 16px;
    line-height: 1.5;
    padding: 20px 24px 18px;
    text-align: center;
}

.ysla-page__products {
    padding: 20px 0 64px;
}

.ysla-page__products .container {
    max-width: 1040px;
}

.ysla-page__product-grid {
    display: grid;
    gap: 22px 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ysla-page__product-grid figure {
    margin: 0;
    min-width: 0;
    text-align: center;
}

.ysla-page__product-grid img {
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    width: 100%;
}

.ysla-page__product-grid figcaption {
    font-size: 16px;
    line-height: 1.35;
    padding-top: 7px;
}

.ysla-page__feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ysla-page__feature-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ysla-page__feature-copy {
    align-items: flex-start;
    background: var(--color-teal);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 560px;
    padding: 66px 9%;
}

.ysla-page__publication-logo {
    height: auto;
    margin-bottom: 34px;
    max-width: 240px;
    width: 58%;
}

.ysla-page__feature-copy h2 {
    color: #fff;
    font-family: "Playfair Display";
    font-size: 32px;
    line-height: 1.18;
    margin-bottom: 80px;
    max-width: 480px;
}

.ysla-page__feature-copy .btn {
    color: #fff;
    margin: 0;
    min-width: 185px;
}

@media (max-width: 767px) {
    .ysla-page__banner {
        height: 520px;
        min-height: 0;
    }

    .ysla-page__banner-title {
        margin: 0 auto;
        padding: 0 0 42px;
    }

    .ysla-page__banner-title .hero-title {
        font-size: 6.5rem;
    }

    .ysla-page__banner-title .hero-text {
        font-size: 0.95rem;
        margin: -1.3rem 0 0 2rem;
    }

    .ysla-page__intro {
        padding: 42px 0 34px;
    }

    .ysla-page__intro h2 {
        font-size: 27px;
    }

    .ysla-page__intro p,
    .ysla-page__story-image figcaption {
        font-size: 14px;
    }

    .ysla-page__product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ysla-page__product-grid figcaption {
        font-size: 14px;
    }

    .ysla-page__feature {
        grid-template-columns: 1fr;
    }

    .ysla-page__feature-image img {
        aspect-ratio: 4 / 3;
    }

    .ysla-page__feature-copy {
        min-height: 0;
        padding: 52px 30px;
    }

    .ysla-page__feature-copy h2 {
        font-size: 28px;
        margin-bottom: 42px;
    }
}
