

/*--- AGENCY GOTHIC CT----------------------*/
@font-face {
    font-family: 'Agency Gothic CT';
    font-weight: 700;
    src: url(agency-gothic-ct-bold.woff) format('woff')
}


/*--- VENDING MACHINE -----------------------------------------------------------------*/
body:has(.vending-machine) {
    background-color: #fff
}

.vending-machine {
    margin-top: -1rem
}

    /*--- sections ---*/
    .vending-machine section {
        margin-bottom: clamp(4rem, 6vw, 6rem)
    }

    /*--- headings ---*/
    .vending-machine h2 {
        padding: 0;
        font-family: 'Open Sans';
        font-weight: bold;
        font-size: clamp(1.8rem, 4.5vw, 2.5rem);
        margin: 0 0 1.5rem
    }

        .vending-machine h2 span {
            display: inline-block
        }

    /*--- link-styled buttons ---*/
    .vending-machine .button-style-link {
        font-size: 1.2rem;
        padding: 1em 2.5em;
        border-radius: 0;
        margin: 0
    }

    /*--- form elements ---*/
    .vending-machine label {
        font-size: 1.1rem
    }

    .vending-machine :is(input, select, button, textarea) {
        width: 100%;
        padding-top: .5em;
        padding-bottom: .5em;
        border-width: 2px;
        border-color: #b3b3b3;
        border-radius: 0;
        font-size: 1.1rem;
        font-weight: bold;
        margin: 0
    }

    .vending-machine button {
        padding-top: .8em;
        padding-bottom: .8em
    }

        .vending-machine button:disabled {
            background-color: #757575
        }


/*--- full-width background areas ----------------------*/
.vending-machine-banner, .vending-machine-features, .vending-machine-contact > div:first-child, .vending-machine-contact-2 > div:first-child, .vending-machine-contact-2 > div:last-child {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem
}

/*--- with dark background image ---*/
.vending-machine-features, .vending-machine-contact > div:first-child, .vending-machine-contact-2 > div:first-child {
    padding-top: clamp(2rem, 5vw, 3rem);
    padding-bottom: clamp(2rem, 5vw, 3rem);
    background-color: #000;
    background: linear-gradient(to right, hsl(0 0% 0% / 80%), hsl(0 0% 0% / 0)), url('vending-background-texture.png') repeat center / 7rem, #000;
    border: 2px solid #b2b2b2;
    border-width: 2px 0;
    color: #fff
}

/*--- links ---*/
:is(.vending-machine-features, .vending-machine-contact > div:first-child, .vending-machine-contact-2) a {
    color: #ff2335
}

    :is(.vending-machine-features, .vending-machine-contact > div:first-child, .vending-machine-contact-2) a:is(:hover, :focus) {
        color: #ff4c5b
    }

@media (max-width:499px) {
    .vending-machine-banner, .vending-machine-features, .vending-machine-contact > div:first-child, .vending-machine-contact-2 > div:first-child, .vending-machine-contact-2 > div:last-child {
        padding-left: .5rem;
        padding-right: .5rem;
        margin-left: -.5rem;
        margin-right: -.5rem
    }
}

@media (min-width:1400px) {
    .vending-machine-banner, .vending-machine-features, .vending-machine-contact > div:first-child, .vending-machine-contact-2 > div:first-child, .vending-machine-contact-2 > div:last-child {
        padding-left: calc(((100vw - 1400px)/2) + clamp(.5rem, 2.5vw, 3rem));
        padding-right: calc(((100vw - 1400px)/2) + clamp(.5rem, 2.5vw, 3rem));
        margin-left: calc(((-100vw + 1400px)/2) - clamp(.5rem, 2.5vw, 3rem));
        margin-right: calc(((-100vw + 1400px)/2) - clamp(.5rem, 2.5vw, 3rem))
    }
}




/*--- banner ----------------------*/
.vending-machine-banner {
    display: grid;
    justify-items: center;
    align-items: start;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    position: relative
}

    /*--- first column ---*/
    .vending-machine-banner > :is(img:first-of-type, h1, p, .button-style-link, div) {
        grid-column: 1/3
    }

    /*--- heading ---*/
    .vending-machine-banner h1 {
        justify-self: start;
        padding: 0;
        font-family: 'Agency Gothic CT';
        font-weight: 700;
        font-size: clamp(3rem, 7vw, 5rem)
    }

        .vending-machine-banner h1 b {
            color: #ce202e
        }

        .vending-machine-banner h1 span {
            display: inline-block
        }

    /*--- text ---*/
    .vending-machine-banner p {
        font-size: 1.2em
    }

    /*--- links ---*/
    .vending-machine-banner .button-style-link:first-of-type {
        padding-left: 3.05em;
        padding-right: 3.05em
    }

    .vending-machine-banner .button-style-link + .button-style-link {
        padding-left: .5em;
        padding-right: .5em
    }

        .vending-machine-banner .button-style-link + .button-style-link:not(:hover, :focus) {
            background-color: #757575
        }

    /*--- rotator ---*/
    .vending-machine-banner > div {
        min-width: 0;
        width: 90%;
        max-width: 30rem;
        margin-bottom: -5rem
    }

        /*--- Slick/JS inactive ---*/
        .vending-machine-banner > div:not(.slick-slider) :is(div:not(:first-of-type), img:not(:first-of-type)) {
            display: none
        }

    /*--- nav ---*/
    .vending-machine-banner .slick-arrow, .vending-machine-banner .slick-arrow:hover, .vending-machine-banner .slick-arrow:focus {
        background-color: transparent
    }

        .vending-machine-banner .slick-arrow::after {
            border-left-color: #ce202e;
            border-right-color: #ce202e
        }


    /*--- faux background image ---*/
    .vending-machine-banner > img:last-of-type {
        object-fit: cover;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1
    }


@media (min-width:600px) and (max-width:799px), (min-width:1100px) {
    /*--- links ---*/
    .vending-machine-banner .button-style-link:has(+ .button-style-link) {
        grid-column: 1;
        justify-self: end
    }

    .vending-machine-banner .button-style-link + .button-style-link {
        grid-column: 2;
        justify-self: start
    }
}

@media (min-width:800px) {
    .vending-machine-banner {
        grid-template-columns: 1fr 1fr 2fr;
        grid-template-rows: auto auto auto 1fr
    }

        /*--- rotator ---*/
        .vending-machine-banner > div {
            align-self: center;
            grid-column: 3 !important;
            grid-row: 1/6;
            margin: 0
        }
}

@media (min-width:1100px) {
    .vending-machine-banner {
    }

        /*--- heading ---*/
        .vending-machine-banner h1 b {
            display: block
        }

        /*--- rotator ---*/
        .vending-machine-banner > div {
            grid-row: 1/5;
            max-width: 35rem;
            margin-bottom: -11rem
        }
}






/*--- steps ----------------------*/
.vending-machine-steps {
}

    .vending-machine-steps h2 {
    }

    .vending-machine-steps ol {
        display: flex;
        flex-direction: column;
        padding: 0 clamp(1rem, 5vw, 2rem);
        background-color: #e5e5e5;
        font-size: clamp(1.5rem, 2vw, 1.8rem);
        font-weight: bold;
        text-transform: uppercase;
        text-align: center
    }

    .vending-machine-steps li {
        padding: 2rem 0
    }

        .vending-machine-steps li:not(:last-child) {
            border-bottom: 2px solid #000
        }

    .vending-machine-steps ol b {
        display: block;
        font-family: 'Agency Gothic CT';
        font-weight: bold;
        font-size: 3rem;
        margin: 0 0 1rem
    }

    .vending-machine-steps ol span {
        display: inline-block
    }


@media (min-width:800px) {
    .vending-machine-steps ol {
        flex-direction: row;
        padding: clamp(1rem, 15vw, 2rem) 0
    }

    .vending-machine-steps li {
        flex: 1;
        padding: 0 clamp(.5rem, 1.5vw, 2rem)
    }

        .vending-machine-steps li:not(:last-child) {
            border: 0;
            border-right: 2px solid #000
        }
}




/*--- contact ----------------------*/
.vending-machine-contact {
}

    /*--- first group ----*/
    .vending-machine-contact > div:first-child {
        margin-bottom: clamp(2rem, 4vw, 3rem)
    }

        .vending-machine-contact > div:first-child p {
            font-size: clamp(1.2rem, 3vw, 1.5rem);
            text-shadow: 0 0 .2em hsl(0 0% 0% / .5)
        }

            .vending-machine-contact > div:first-child p b {
                text-transform: uppercase;
                font-weight: normal
            }

    /*--- form ----*/
    .vending-machine-contact > div:last-child {
        display: grid;
        gap: 1rem
    }

        .vending-machine-contact > div:last-child > div {
        }

    .vending-machine-contact textarea {
        min-height: 5em
    }

@media (min-width:500px) {
    .vending-machine-contact > div:last-child {
        grid-template-columns: 1fr 1fr
    }

        /*--- 2-column items ----*/
        .vending-machine-contact > div:last-child > :is(div:nth-child(5), div:nth-child(8), .g-recaptcha, button, input[type="submit"]) {
            grid-column: 1/3
        }
}

@media (min-width:800px) {
    .vending-machine-contact > div:last-child {
        grid-template-columns: 1fr 1fr 2fr
    }

        /*--- message ----*/
        .vending-machine-contact > div:last-child > div:nth-child(8) {
            grid-column: 3;
            grid-row: 1/3;
            display: flex;
            flex-direction: column;
            margin-left: 2rem
        }

    .vending-machine-contact textarea {
        flex: 1
    }

    /*--- button ----*/
    .vending-machine-contact > div:last-child > :is(.g-recaptcha, input[type="submit"], button) {
        align-self: end;
        justify-self: end;
        max-width: calc(100% - 2rem);
        grid-column: 3 !important
    }

    .vending-machine-contact > div:last-child > .g-recaptcha {
        grid-row: 3;
        justify-self: start !important;
        margin: 0 0 -1rem 2rem
    }
}




/*--- features ----------------------*/
.vending-machine-features {
    display: grid;
    gap: clamp(1rem, 2vw, 2rem) 1rem;
    padding-bottom: 0;
    overflow: hidden
}


    /*--- heading ---*/
    .vending-machine-features h2 {
        align-self: end
    }

    /*--- list ---*/
    .vending-machine-features ul {
        columns: 10em 2;
        gap: clamp(1rem, 3vw, 1.5rem);
        font-size: clamp(1.5rem, 2.5vw, 1.8rem)
    }

    .vending-machine-features li {
        display: flex;
        gap: .5em
    }

        .vending-machine-features li:not(:last-child) {
            margin: 0 0 1.5em
        }

        .vending-machine-features li::before {
            flex: 0 0 auto;
            display: block;
            width: 1em;
            height: 1em;
            background-color: #fff;
            content: ""
        }

    /*--- image ---*/
    .vending-machine-features img {
        width: 29rem;
        margin: 0 auto -50%
    }


@media (min-width:800px) {
    .vending-machine-features {
        grid-template-columns: 1fr 35%
    }

        /*--- image ---*/
        .vending-machine-features img {
            grid-column: 2;
            grid-row: 1/3;
            align-self: end
        }
}




/*--- faq ----------------------*/
.vending-machine-faq {
}

    .vending-machine-faq h2 {
        margin-bottom: 2rem
    }


    /*--- questions ---*/
    .vending-machine-faq dt {
    }

        .vending-machine-faq dt button {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1em;
            padding: .5em 0;
            background-color: transparent;
            font-size: clamp(1.2rem, 2.5vw, 2rem);
            color: #757575;
            text-align: left
        }

            .vending-machine-faq dt button::after {
                display: block;
                width: 0;
                height: 0;
                border: 0 solid transparent;
                border-width: .4em 0 .4em .5em;
                border-left-color: #757575;
                font-size: .6em;
                transition: rotate .2s;
                content: ""
            }

            .vending-machine-faq dt button:hover, .vending-machine-faq dt button:focus {
                color: #ce202e
            }

                .vending-machine-faq dt button:hover::after, .vending-machine-faq dt button:focus::after {
                    border-left-color: #ce202e
                }

        /*--- open state ---*/
        .vending-machine-faq dt:has(+ dd.open) button::after {
            rotate: 90deg
        }

    /*--- answers ---*/
    .vending-machine-faq dd {
        visibility: hidden;
        height: 0;
        overflow: hidden;
        font-size: 1.2rem;
        margin: 0 0 clamp(.5rem, 2vw, 1rem);
        transition: visibility .2s, height .2s
    }

        /*--- open state ---*/
        .vending-machine-faq dd.open {
            visibility: visible;
            height: auto;
            transition-delay: 0s, 0s
        }




/*--- second contact ----------------------*/
.vending-machine-contact-2 {
    margin-bottom: -3rem !important
}

    /*--- first group ---*/
    .vending-machine-contact-2 > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: clamp(2rem, 5vw, 4rem);
        padding-bottom: clamp(2rem, 5vw, 4rem);
        text-align: center
    }

    .vending-machine-contact-2 h2 {
        font-family: 'Agency Gothic CT';
        font-weight: 700;
        font-size: clamp(2.5rem, 5vw, 4rem)
    }

    .vending-machine-contact-2 .button-style-link {
        color: #fff !important
    }

    /*--- image group ---*/
    .vending-machine-contact-2 > div:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem clamp(0.5rem, calc(0.5rem + ((1vw - 0.38rem) * 13.6364)), 5rem);
        padding-top: 2rem;
        padding-bottom: 2rem;
        background-image: linear-gradient(to top, hsl(0 0% 0% / .2) 20%, transparent 30%);
        position: relative
    }

        .vending-machine-contact-2 > div:last-child::before {
            flex: 0 0 100%;
            content: ""
        }

        .vending-machine-contact-2 > div:last-child img {
        }

            .vending-machine-contact-2 > div:last-child img:first-of-type {
                order: -1;
                width: 16rem
            }

            .vending-machine-contact-2 > div:last-child img:not(:first-of-type) {
                flex: 1;
                min-width: 0
            }

            /*--- faux background image ---*/
            .vending-machine-contact-2 > div:last-child img:nth-of-type(5) {
                object-fit: cover;
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                z-index: -1
            }
