/* CMS Styles */
/* HOME */
/* 
body {
 background-color: var(--brand-primary-color-3, #009BE5);
} */

.page--home {

    .focus-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(229, 0, 25, 0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .fit-content {
        max-width: fit-content !important;
    }

    .flex-1 {
        flex: 1 !important;
    }

    .container {
        padding-bottom: 1.5rem;
        padding-top: 1.5rem;
    }

    h2 {
        font-size: 2.45rem
    }

    .btn {
        font-family: var(--brand-copy-font, 'Terfens');
        font-weight: 900;
    }

    button.bg-transparent {
        font-size: 65%;
    }

    .slick-dots li {
        margin: 0;
    }

    .slick-dots li button:before {
        color: var(----brand-neutral-color-1, #FFFFFF);
        font-size: .5rem;
        opacity: 1;
    }

    .slick-dots li.slick-active button:before {
        color: var(--brand-primary-color-1, #E50019);
    }

    .slick-autoplay-toggle-button {
        display: none;
    }
}

.page--home .intro {
    .video-container {
        align-items: center;
        aspect-ratio: 9/16;
        display: flex;
        justify-content: center;
        height: 100vh;
        position: relative;
        width: 100vw;
    }

    .video-container video {
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: -1;
    }

    .position-middle {
        transform: translate(-50%, -100%);
    }

    h1 {
        font-size: 3rem;
    }

    .btn-container .btn {
        flex-grow: 1;
        width: 100%;
    }

    .btn-controls {
        position: absolute;
        bottom: 0%;
        right: 0%;
        opacity: 0.6;
        cursor: pointer;
    }

    /* eClub */
    .bg--red-cubes {
        background-size: 6.5rem;
    }

    .form-label p {
        font-size: .95rem;
    }

    .form-group {
        margin: 0 auto;
        padding: .35rem .5rem;
        width: 100%;
    }

    .form-control {
        border: 2px solid var(----brand-neutral-color-1, #FFFFFF);
        color: var(--brand-neutral-color-3, #000000);
    }

    #eclub-form-title {
        font-size: 2rem;
    }

    #submission-error-message {
        font-weight: 500;
    }

}

.page--home .difference {

    h2+p {
        text-wrap: pretty;
    }

    .slider {
        height: 250px;
        position: relative;
    }

    .slider img,
    .slider video {
        border-radius: 10px;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .slider-header {
        height: 100%;
    }

    .slider-title {
        text-align: center;
        width: 75%;
    }

    .slider-title h3 {
        color: white;
        font-size: 2.5rem;
    }
}

.page--home .menu {

    h2 {
        text-align: center;
    }

    .slick-initialized .slick-slide {
        margin: 0 .5rem;
    }

    .slider-header .slider-img-link:focus {
        outline: none;
    }

    .slider-header .slider-img-link:focus .focus-overlay,
    .slider-header .slider-img-link:focus-within .focus-overlay {
        opacity: 1;
    }

    .slider-header img {
        border-radius: 15px 15px 0 0;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .slider-title {
        background-color: var(--brand-secondary-color-1, #BFCE18);
        border-radius: 0 0 10px 10px;
        padding: .5rem;
    }

    .slider-title p {
        font-weight: 900;
        line-height: 1.3;
    }

    .slick-dots li button:before {
        color: #D5D5D5;
    }

    .slick-dots li.slick-active button:before {
        color: var(--brand-primary-color-1, #E50019);
    }

    .slick-arrow {
        scale: 1.75;
    }

    .slick-next:before,
    .slick-prev:before {
        all: unset;
    }

    .slick-next {
        right: -1.75rem;
    }

    .slick-prev {
        left: -1.75rem;
    }
}

.page--home .featured {
    .container {
        max-width: none;
    }

    .row:has(.card-container) {
        gap: 2rem;
    }

    .card-header img {
        /* aspect-ratio: 8/11; */
        border-radius: calc(.25rem - 1px);
        object-fit: cover;
    }

    .card-header,
    .card-body,
    .card-footer {
        background: transparent;
        border: 0;
    }
}

.page--home .careers {
    &.bg--blue-tex-mex-foods-tiled {
        background-size: cover;
    }

    /* 
     .slick-track {
         display: flex;
         gap: .5rem;
     } */

    .img-wrap img {
        border-radius: 10px;
    }

    /* .slick-arrow {
         display: none;
     } */
}


.page--home .links {

    .content-container,
    .content {
        display: flex;
        flex-direction: column;
    }

    .content img {
        aspect-ratio: 11/7;
        object-fit: cover;
    }

    .content-header img,
    .instagram .content-header {
        border-radius: .75rem;
    }

    .content-header .content-img-link:focus {
        outline: none;
    }

    .content-header .content-img-link:focus .focus-overlay,
    .content-header .content-img-link:focus-within .focus-overlay {
        opacity: 1;
        border-radius: .75rem;
    }

    .content-body h3 {
        font-size: 2rem;
        margin-bottom: 0;
    }
}

@media(width>=375px) {
    .page--home .featured {
        .card-body h3 {
            font-size: 2rem;
        }
    }
}

@media (width>=390px) {
    .page--home .intro {
        h1 {
            font-size: 3.5rem;
        }

        .btn-container {
            max-width: 200px;
        }

        /* eClub */
        .form-group {
            max-width: 305px;
        }
    }

    .page--home .links {
        .content-body h3 {
            font-size: 2.25rem;
        }
    }
}

@media (width>=480px) {
    .page--home .difference {
        .copy-break {
            display: none;
        }
    }
}

@media (width>=576px) {
    .page--home {
        .btn {
            font-size: 1.1rem;
        }

        h2 {
            font-size: 3.5rem;
        }
    }

    .page--home .intro {
        h1 {
            font-size: 4.5rem;
        }

        .btn-container {
            max-width: 375px;
        }

        /* eClub */
        h2 {
            font-size: 3rem;
        }

        .form-label p {
            font-size: 1.15rem;
        }

        .small {
            font-size: 90%;
        }
    }

    .page--home .menu {

        slick-dotted.slick-slider {
            margin-bottom: 2.5rem;
        }

        .slider-title {
            padding: 1rem;
        }

        .slider-title p {
            font-size: 1.1rem;
        }
    }

    .page--home .featured {
        .card {
            max-width: 475px;
            margin: 0 auto;
        }

        .card-body h3 {
            font-size: 2.25rem;
            padding: .5rem 0;
        }
    }

    .page--home .links {
        .content-body h3 {
            font-size: 2.5rem;
        }
    }
}

@media (width>=768px) {
    .gap-md-6 {
        gap: 1.5rem !important;
    }

    .page--home .intro {
        #eclub-form-title {
            font-size: 2.75rem;
        }

        #submission-error-message,
        #eclub-form-copy {
            font-size: 1.15rem;
        }
    }

    .page--home .difference {
        .slider-title h3 {
            font-size: 2rem;
        }
    }

    .page--home .menu {
        .slider-title p {
            font-size: 1rem;
        }
    }

    .page--home .featured {
        &.bg--decor-particles {
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

        .row:has(.card-container) {
            gap: 0;
        }

        .card {
            max-width: 100%;
            margin: unset;
        }

        .card-body h3 {
            font-size: 1.4rem;
        }
    }

    .page--home .careers {
        .bg--blue-tex-mex-foods-tiled {
            background-size: auto;
        }
    }

    .page--home .links {

        .content-container {
            flex-direction: row;
        }

        .content-body h3 {
            font-size: 2rem;
        }
    }
}

@media (width>=992px) {
    .page--home {
        .container:not(.eclub-wrap .container) {
            padding-bottom: 3rem;
            padding-top: 3rem;
        }
    }

    .page--home .intro {
        h1 {
            font-size: 5rem;
        }

        .btn-container {
            max-width: 500px;
        }

        /* eClub */
        .form-group,
        .form-button {
            max-width: unset;
            min-height: 4.5rem;
        }

        .form-fields {
            padding-top: .1rem;
        }

        .form-group {
            padding: .25rem .5rem;
        }
    }

    .page--home .difference {
        .gap-lg-2 {
            gap: .5rem;
        }

        h2 {
            flex: 1 1 40%;
            font-size: 2.25rem;
        }

        p {
            flex: 1 1 40%;
            font-size: .9rem;
        }

        a {
            flex: 1 1 15%;
        }
    }

    .page--home .featured {

        .card-body h3 {
            font-size: 1.9rem;
            padding: .5rem 0;
        }
    }

    .page--home .careers {
        h2 {
            flex: 1 1 35%;
            font-size: 2.35rem;
        }

        p {
            flex: 1 1 45%;
            font-size: .95rem;
        }

        a {
            flex: 1 1 15%;
        }

        /* .slick-track {
             gap: 1rem;
         } */
    }

    .page--home .links {
        h2 {
            font-size: 3rem;
        }
    }
}

@media (width>=1024px) {
    .page--home .featured {
        .container {
            max-width: 980px;
        }
    }
}

@media (width>=1200px) {
    .page--home {
        .btn {
            font-size: 1.2rem;
        }
    }

    .page--home .intro {

        /* eClub */
        .form {
            max-width: 75%;
        }
    }

    .page--home .difference {
        h2 {
            flex: 1 1 45%;
            font-size: 2.9rem;
        }

        p {
            font-size: 1rem;
        }
    }

    .page--home .menu {
        &.bg--yellow-cubes_top {
            background-size: 45%;
        }
    }

    .page--home .featured {
        &.bg--decor-particles {
            background-size: 85%;
        }

        .container {
            max-width: 1140px;
        }

        h2 {
            font-size: 3.5rem;
        }

        .card-body h3 {
            font-size: 2.2rem;
        }
    }

    .page--home .careers {
        h2 {
            font-size: 3.2rem;
            flex: 1 1 40%;
        }

        p {
            flex: 1 1 40%;
            font-size: 1rem;
        }

        a {
            flex: 1 1 12%;
        }
    }

    .page--home .links {
        h2 {
            font-size: 3.5rem;
        }

        .content-body h3 {
            font-size: 2.5rem;
        }
    }
}

@media (width>=1636px) {
    .page--home {
        h2 {
            font-size: 4rem;
        }
    }

    .page--home .intro {
        h1 {
            font-size: 6rem;
        }

        /* eClub */
        h2 {
            font-size: 4rem;
        }

        .form {
            max-width: 65%;
        }

        .form-label p {
            font-size: 1.25rem;
        }
    }

    .page--home .difference {
        h2 {
            font-size: 3.75rem;
        }

        h2+p {
            font-size: 1.25rem;
        }

        .slider {
            height: 325px;
        }

        .slider-title h3 {
            font-size: 2.75rem;
            text-wrap: balance;
        }
    }

    .page--home .menu {
        &.bg--yellow-cubes_top {
            background-size: 30%;
        }

        .slider-title p {
            font-size: 1.3rem;
            line-height: 1.15;
        }
    }

    .page--home,
    .page--home .featured {
        .container {
            max-width: 1536px;
        }
    }

    .page--home .featured {
        &.bg--decor-particles {
            background-position: left;
            background-size: 60%;
        }

        h2 {
            font-size: 4.5rem;
        }

        .card-body h3 {
            font-size: 2.75rem;
        }

        .card-footer {
            padding: 1.25rem;
        }
    }

    .page--home .careers {
        h2 {
            font-size: 3.75rem;
        }

        p {
            font-size: 1.25rem;
        }
    }
}


/* FOOTER */

#back-to-top {
    .shape--top-zigzag {
        height: 2rem;
    }

    .mt-np25 {
        margin-top: -.25rem !important;
    }

    .z-11 {
        z-index: 11 !important;
    }

    h2 {
        font-size: 1.6rem;
    }

    .back-to-top-arrow {
        scale: .85;
    }
}

@media (width>=768px) {
    #back-to-top {
        .position-md-relative {
            position: relative !important;
        }

        .mt-n4 {
            margin-top: -4rem !important;
        }

        h2 {
            text-wrap: balance;
        }

        div:has(.back-to-top-arrow) {
            min-width: 14rem;
        }
    }
}

@media (width>=1366px) {
    #back-to-top {
        .container-fluid {
            max-width: 1536px;
        }

        h2 {
            font-size: 2.35rem;
        }
    }
}