/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #hero-493 {
        /* Centers button */
        text-align: center;
        /* 200px - 300px - leaving extra space for the navigation */
        padding: clamp(12.5rem, 25.95vw, 18.75em) 1rem;
        padding-bottom: 12.5rem;
        /* prevents the topper line from causing an overflow */
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    #hero-493 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2;
    }
    #hero-493 .cs-background:before {
        /* Overlay */
        content: "";
        width: 100%;
        height: 100%;
        background: #001f3f;
        opacity: 0.7;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: 1;
        /* prevents the cursor from interacting with it */
        pointer-events: none;
    }
    #hero-493 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    #hero-493 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        /* changes at tablet */
        gap: 3rem;
    }
    #hero-493 .cs-content {
        width: 100%;
        max-width: 39.375rem;
    }
    #hero-493 .cs-topper {
        /* 16px - 20px */
        font-size: clamp(1rem, 1.5vw, 1.25rem);
        line-height: 1.2em;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 1rem;
        color: #fff;
        display: inline-block;
        position: relative;
    }
    #hero-493 .cs-topper:before {
        /* left yellow line */
        content: "";
        /* 70px - 100px */
        width: clamp(4.375rem, 5vw, 6.25rem);
        height: 2px;
        margin-right: 1.75rem;
        background: var(--primary);
        opacity: 1;
        position: absolute;
        display: block;
        top: 50%;
        transform: translateY(-50%);
        right: 100%;
    }
    #hero-493 .cs-topper:after {
        /* right yellow line */
        content: "";
        /* 70px - 100px */
        width: clamp(4.375rem, 5vw, 6.25rem);
        height: 2px;
        margin-left: 1.75rem;
        background: var(--primary);
        opacity: 1;
        position: absolute;
        display: block;
        top: 50%;
        transform: translateY(-50%);
        left: 100%;
    }
    #hero-493 .cs-title {
        /* 39px - 61px */
        font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
        font-weight: 700;
        line-height: 1.2em;
        text-align: center;
        max-width: 51.8125rem;
        /* 16px - 24px */
        margin: 0 auto clamp(1rem, 4vw, 1.5rem) 0;
        color: #fff;
        position: relative;
    }
    #hero-493 .cs-text {
        /* 16px - 20px */
        font-size: clamp(1rem, 1.95vw, 1.25rem);
        line-height: 1.5em;
        text-align: center;
        width: 100%;
        /* 464px - 622px */
        max-width: clamp(29rem, 60vw, 38.785rem);
        margin: 0 auto 0;
        margin-bottom: 2.25rem;
        color: #fff;
    }
    #hero-493 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #1a1a1a;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #hero-493 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #hero-493 .cs-button-solid:hover:before {
        width: 100%;
    }
}

/* ---- Critchfield Systems brand overrides ---- */

#hero-493 .cs-background:before { background: var(--deep); opacity: 0.35; }
#hero-493 .cs-topper:before, #hero-493 .cs-topper:after { background: var(--primaryLight); }
#hero-493 .cs-text a { color: #fff; font-weight: 700; }

#legal { padding: var(--sectionPadding); background-color: #fff; }
#legal .cs-container { max-width: 50rem; margin: 0 auto; }
#legal h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.25em; color: var(--headerColor); margin: 2.5rem 0 .75rem; }
#legal h2:first-child { margin-top: 0; }
#legal p, #legal li { font-size: var(--bodyFontSize); line-height: 1.75em; color: var(--bodyTextColor); }
#legal p { margin: 0 0 1rem; }
#legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
#legal li { margin-bottom: .5rem; }
#legal a { color: var(--primary); font-weight: 600; }
#legal .cs-updated { font-weight: 600; color: var(--headerColor); }
