@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* General font */
#app,
body,
html,
#cms-header .m4--menu-item,
.m4--menu-item-focusable .m4--menu-item-link,
.m4--menu-item-text,
.m4--menu-item-focusable {
    font-family: Poppins, sans-serif !important;
}

/* Font for the section headers/titles, footer headers */
#app h1,
#app .see-all-container h2,
#cms-footer h2 {
    font-family: Poppins, serif !important;
}


#app {
    --container-width: 1575px;
    --side-padding: calc((100% - var(--container-width)) / 2);
    --button-tab-height: 80px;
    --primary-font: Poppins, serif;
    --monterrey-small-title-font-size: 25px;
    --monterrey-big-title-font-size: 53px;
    --section-desc-font-size: 22px;

    @media (max-width: 1699px) {
        --container-width: 1400px;
        --section-desc-font-size: 20px;
        --monterrey-big-title-font-size: 45px;
        --monterrey-small-title-font-size: 22px;
    }

    @media (max-width: 1499px) {
        --container-width: calc(100vw - 64px);
        --monterrey-big-title-font-size: 42px;
        --monterrey-small-title-font-size: 20px;
        --section-desc-font-size: 18px;
        --side-padding: 32px;
    }

    @media (max-width: 1199px) {
        --container-width: calc(100vw - 40px);
        --monterrey-big-title-font-size: 36px;
        --section-desc-font-size: 16px;
        --side-padding: 20px;
    }

    @media (max-width: 599px) {}

    position: relative;



    .style-monterrey {
        .header-slot-container {
            text-transform: unset;

            &:after,
            &::before {
                display: none;
            }

            .header-top {
                font-size: var(--monterrey-small-title-font-size);
                font-weight: 800;
            }

            .header-bottom {
                font-size: var(--monterrey-big-title-font-size);
                font-weight: 800;
                line-height: 1.1;
                margin-top: .35em;
            }
        }
    }

    .see-all-container.light {
        .light-header-accent {
            display: none;
        }

        .header-slot-container {

            h2 {
                text-transform: unset;
                font-size: var(--monterrey-big-title-font-size);
                font-weight: 700;
            }
        }
    }

    .see-all-container {
        .see-all-button {
            font-weight: 800;
            padding: .75em 2.5em;
            border-radius: 2em;
            transition: all .25s linear;
        }
    }

    .see-all-button-custom {
        &.button-has-arrow {
            a {
                display: inline-flex;
                align-items: center;
                column-gap: 1em;

                &:after {
                    content: '';
                    width: 1.5em;
                    height: 1.5em;
                    display: block;
                    background-color: currentColor;
                    mask-image: url("data:image/svg+xml,%3Csvg clip-rule='evenodd' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m14.523 18.787s4.501-4.505 6.255-6.26c.146-.146.219-.338.219-.53s-.073-.383-.219-.53c-1.753-1.754-6.255-6.258-6.255-6.258-.144-.145-.334-.217-.524-.217-.193 0-.385.074-.532.221-.293.292-.295.766-.004 1.056l4.978 4.978h-14.692c-.414 0-.75.336-.75.75s.336.75.75.75h14.692l-4.979 4.979c-.289.289-.286.762.006 1.054.148.148.341.222.533.222.19 0 .378-.072.522-.215z' fill-rule='nonzero'/%3E%3C/svg%3E");
                }
            }
        }

        a {
            font-weight: 800;
            padding: .75em 2.5em;
            border-radius: .75em;
            transition: all .25s linear;

            @media (max-width: 599px) {
                padding: .65em .95em;
            }
        }
    }
}


/* ================================================================== */
/*  START Header */
/* ================================================================== */

@media (min-width: 980px) {
    #app:has(#home, .hero-section) #view-header {
        #languagebutton {
            display: none;
        }
    }

    body.clark-county-school-district {
        #app:has(#home, .hero-section) #view-header {
            --logo-height: 140px;
            --vertical-padding: 14px;

            @media (max-width: 1499px) {
                --logo-height: 110px;
            }

            .header-bar-wrapper {
                &:not(.sticky) {
                    height: calc(var(--logo-height) + 2 * var(--vertical-padding));
                    padding-top: 0;
                    padding-bottom: 0;
                }

                .header-container {
                    max-width: var(--container-width);
                    margin-left: auto;
                    margin-right: auto;

                    .left {
                        margin-left: 0;
                    }
                }
            }

            #languagebutton {
                display: none;
            }
        }

        #app:has(#home, .hero-section) .header-bar-wrapper:not(.sticky) #h1 .header-container {
            background: transparent !important;
            padding-top: 0;
            padding-bottom: 0;
        }

        .languages svg rect,
        .schools svg rect {
            display: none;
        }

        #app:has(#home, .hero-section) .header-bar-wrapper:not(.sticky) #h1 {
            box-shadow: unset;
        }

        #app:has(#home, .hero-section) .header-bar-wrapper.sticky #h1 {
            background-color: var(--bg-color);
        }

        #app:has(#home, .hero-section) .header-bar-wrapper:not(.sticky) .logo {
            margin-top: 0;
            margin-right: 0;

            img {
                height: var(--logo-height);
                max-height: var(--logo-height);
            }
        }

        #app:has(#home, .hero-section) #view-header .header-bar-wrapper:not(.sticky) .logo {
            height: auto;
            transition: all .35s ease-in-out;
            padding: var(--vertical-padding) 75px;
            background-color: color-mix(in srgb, var(--bg-color), transparent 30%);
            border-radius: 0 0 64px 64px;

            @media (max-width: 1499px) {
                padding: var(--vertical-padding) 50px;
                border-radius: 0 0 48px 48px;
            }
        }


        #view-header .header-bar-wrapper.sticky .logo {
            height: 45px;
        }

        #app:has(#home) #cms-gallery,
        #app .row.hero-section {
            margin-top: calc(-1 * var(--header-height));
        }

        #cms-header #h1 #menubutton .button-action-content,
        #cms-header .explore-menu-container {
            display: flex;
            align-items: center;
        }

        #cms-header #h1 #menubutton svg {
            width: 35px;
            height: 26px;
            margin: 0;
        }

        #cms-header #h1 #menubutton svg rect {
            fill: transparent;
        }


        #cms-header #h1 #schoolsbutton {
            margin-right: 20px;
        }

        #cms-header #h1 .right {
            background-color: var(--bg-color);
            padding: 20px 30px;
            border-radius: 20px;
            margin-right: 0;
        }

        #cms-header .button-action.search {
            margin-right: 0;
        }
    }

    @media only screen and (min-width: 1023px) {
        #app {
            --header-height: 96px;
        }
    }

    @media only screen and (min-width: 1280px) {
        #app {
            --header-height: 112px;
        }
    }

}


#cms-header #h1 {

    #languagebutton {}

    #schoolsbutton {
        display: none;
    }

    .explore-menu-container {
        order: -1;
    }

    #school-btn-desktop,
    #district-btn-desktop {
        padding-right: 25px;

        & span {
            position: relative;
        }

        & span::before,
        & span::after {
            content: '';
            position: absolute;
            bottom: -2px;
            width: 50%;
            height: 2px;
            background: currentColor;
            transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
        }

        & span::before {
            left: 0;
            transform: scaleX(0);
            transform-origin: left;
        }

        & span::after {
            right: 0;
            transform: scaleX(0);
            transform-origin: right;
        }

        &:hover span::before,
        &:hover span::after {
            transform: scaleX(1);
        }
    }
}

#view-header {

    #m3 .generated-links a.link,
    #m4 .m4-menu--drawer a.m4--menu-item-link,
    #explore-menu li a.link-explore {
        position: relative;

        &::before,
        &::after {
            content: '';
            position: absolute;
            bottom: -2px;
            width: 50%;
            height: 2px;
            background: currentColor;
            transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
        }

        &::before {
            left: 0;
            transform: scaleX(0);
            transform-origin: left;
        }

        &::after {
            right: 0;
            transform: scaleX(0);
            transform-origin: right;
        }

        &:hover::before,
        &:hover::after {
            transform: scaleX(1);
        }
    }
}


@media (max-width: 959px) {
    #view-header #cms-header {
        #h1 {
            .utilities-top {
                .utility-bar {
                    padding-bottom: unset;
                    padding-left: 10px;
                    padding-right: 10px;
                    width: 100%;
                    column-gap: 10px;
                    justify-content: flex-start;

                    .utilities {
                        font-size: 12px;
                        margin-top: unset;
                        text-align: center;
                        padding: 8px 0;
                    }
                }
            }

            .mobile-header {
                padding-top: unset;
                padding-top: 10px;
                padding-bottom: 10px;
                height: auto;

                .main-content {
                    height: unset;
                    max-width: calc(100% - 50px);
                    padding-left: 10px;

                    .mobile {
                        display: flex;
                        align-items: center;
                        flex-shrink: 1;
                        column-gap: 10px;

                        .logo {
                            margin-bottom: unset;
                        }

                        .school-info {
                            padding-bottom: unset;

                            .name {
                                .org-name {
                                    font-size: 15px;
                                    font-weight: 600;
                                    text-align: left;

                                    @media (max-width: 599px) {
                                        font-size: 13px;
                                    }
                                }
                            }
                        }
                    }

                }

                .left-icon {
                    position: static;
                    order: 2;
                    transform: unset;
                    margin-right: 10px;

                    #menubutton {
                        width: 30px;
                        height: 30px;

                        svg {
                            width: 30px;
                            height: 30px;
                        }
                    }
                }

                #mainmenu {
                    order: 3;
                    margin-top: 10px;
                }
            }
        }
    }
}


/* ================================================================== */
/*  END Header */
/* ================================================================== */


/* ================================================================== */
/*  START Gallery */
/* ================================================================== */

#cms-gallery {
    #G7 {
        --image-height: max(500px, 100vh) !important;
        --button-size: 36px;
        --bullet-size: 20px;

        @media (max-width: 959px) {
            --image-height: 500px !important;
        }

        .gallery-content {
            padding-left: 0;
            padding-right: 0;
            margin-left: var(--side-padding);
            top: unset;
            bottom: calc(var(--button-tab-height) + 80px);

            @media (max-width: 959px) {
                bottom: 15px;
            }
        }
    }
}


body.clark-county-school-district {
    #cms-gallery {
        #G7 {
            .gallery-content {
                .title {

                    h2 {
                        font-size: 40px;
                        font-style: italic;
                        color: var(--secondary-color);
                        margin-top: .25em;
                        margin-bottom: .25em;

                        @media (max-width: 1499px) {
                            font-size: 32px;
                        }

                        @media (max-width: 959px) {
                            font-size: 24px;
                        }
                    }

                    h1 {
                        font-size: 68px;

                        @media (max-width: 1499px) {
                            font-size: 52px;
                        }

                        @media (max-width: 959px) {
                            font-size: 40px;
                        }

                        @media (max-width: 767px) {
                            font-size: 35px;
                        }
                    }

                    h1,
                    h2,
                    h3 {
                        font-family: var(--primary-font);
                        font-weight: 700;
                        line-height: 1.1;

                        span {
                            font-family: inherit;
                            font-weight: inherit;
                            font-style: inherit;
                        }
                    }
                }

                .button-link button {
                    font-size: 18px;
                    border-radius: 2em;
                    padding: .65em 1.5em;
                    letter-spacing: unset;
                    text-transform: unset;
                    font-weight: 700;

                    @media (max-width: 959px) {
                        font-size: 16px;
                    }

                    &:hover {
                        transform: unset;
                    }
                }
            }

            .gallery-controls {
                width: 800px;
                max-width: 800px;
                justify-content: flex-start;
                padding: 0;
                max-width: var(--container-width);
                position: absolute;
                top: unset;
                left: var(--side-padding);
                bottom: calc(var(--button-tab-height) + 80px);

                @media (max-width: 959px) {
                    bottom: 30px;
                }

                .play,
                .pause {
                    width: var(--button-size);
                    height: var(--button-size);
                    padding: 0;
                    border-radius: 50%;
                    margin-right: unset;

                    svg {
                        width: 100%;
                        height: 100%;
                    }
                }

                .pager {
                    button.item {
                        width: var(--bullet-size);
                        height: var(--bullet-size);
                        background-color: var(--pager-border-color);

                        &.active {
                            background-color: var(--pager-active-color);
                        }
                    }
                }
            }
        }
    }
}

#cms-gallery {
    #g2 {
        --image-height: 32vw !important;

        .slide {

            .left-arrow.button-action,
            .right-arrow.button-action {
                border-radius: 50%;
                overflow: hidden;
                font-size: 0;
            }

            .position {
                .button-action {
                    border-radius: 50%;
                }
            }

            .pause.button-action,
            .play.button-action {
                overflow: hidden;
                border-radius: 50%;

                svg {
                    width: 100%;
                    height: 100%;
                }
            }

            .text {
                /* background: transparent !important; */
                padding: 40px 35px;
                overflow: unset;
                /* filter: blur(1px); */

                .title {
                    width: 100%;
                    margin: 0;
                    z-index: 2;
                }

                .description {
                    width: 100%;
                    margin: 0;
                    z-index: 2;
                    margin-top: .5em;
                }

            }
        }

    }
}


/* ================================================================== */
/*  END Gallery */
/* ================================================================== */

/* ================================================================== */
/*  START Custom language switcher in gallery */
/* ================================================================== */


#gallery-language {
    --language-color-1: #5BC8C4;
    --language-color-2: #3BAA4A;
    --language-color-3: #E8472E;
    --language-color-4: #F5C12E;

    background-color: #FFF;
    box-sizing: border-box;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 25px;


    .text h3 {
        font-size: 20px;
        line-height: 1.1;
        font-weight: 700;
        color: #4A4A4A;
        margin: 0;

        @media (max-width: 1499px) {
            font-size: 16px;
        }

        @media (max-width: 767px) {
            font-size: 14px;
        }
    }

    .languages-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 25px;

        @media (max-width: 1499px) {
            gap: 15px;
        }
    }

    .language-button {
        font-family: inherit;
        font-size: 16px;
        line-height: 1.1;
        font-weight: 600;
        text-transform: uppercase;
        color: #4A4A4A;
        background: transparent;
        border: 2px solid var(--language-color, var(--language-color-1));
        border-radius: 5px;
        padding: 4px 14px;
        cursor: pointer;
        transition: transform .35s ease-in-out, background-color .35s ease-in-out;

        @media (max-width: 1499px) {
            font-size: 15px;
        }

        @media (max-width: 767px) {
            font-size: 14px;
        }

        &:hover,
        &:focus-visible {
            transform: scale(1.05);
            background-color: color-mix(in srgb, var(--language-color, var(--language-color-1)) 15%, transparent);
        }

        &:nth-child(4n + 1) {
            --language-color: var(--language-color-1);
        }

        &:nth-child(4n + 2) {
            --language-color: var(--language-color-2);
        }

        &:nth-child(4n + 3) {
            --language-color: var(--language-color-3);
        }

        &:nth-child(4n + 4) {
            --language-color: var(--language-color-4);
        }
    }

    .active-language {
        display: none;
    }

    &:not(.languages-expanded) .extra-language {
        display: none;
    }

    .languages-toggle {
        font-family: inherit;
        font-size: 16px;
        line-height: 1.1;
        font-weight: 700;
        color: #4A4A4A;
        background: transparent;
        border: 0;
        padding: 6px 0;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 10px;

        @media (max-width: 1499px) {
            font-size: 15px;
        }

        @media (max-width: 767px) {
            font-size: 14px;
        }

        &[hidden] {
            display: none;
        }

        &::after {
            content: '';
            width: 8px;
            height: 8px;
            border-right: 2px solid currentColor;
            border-bottom: 2px solid currentColor;
            transform: rotate(-45deg);
            transition: transform .35s ease-in-out;
        }

        &[aria-expanded="true"]::after {
            transform: rotate(-135deg);
        }

        &[aria-expanded="true"] .view-more,
        &[aria-expanded="false"] .view-less {
            display: none;
        }
    }
}

@media only screen and (min-width: 1080px) {
    #gallery-language {
        border-radius: 20px 0 0 20px;
        position: absolute;
        right: 0;
        bottom: calc(var(--button-tab-height) + 65px);
        width: 950px;
        max-width: calc(100% - 450px);
    }

    body:not(.clark-county-school-district) {
        #gallery-language {
            bottom: 15px;
        }
    }
}

@media only screen and (max-width: 500px) {
    #gallery-language {
        padding-inline: 15px;

        .language-button {
            font-size: 16px;
        }
    }
}

/* ================================================================== */
/*  END Custom language switcher in gallery */
/* ================================================================== */


/* ================================================================== */
/*  START Tabbed Buttons */
/* ================================================================== */

/* ------------------------------------------------------------------
   Layout modes are set by JS on `.tabbed-buttons[data-tb-mode]`:
     - "tabs"      (desktop): tab bar + one visible panel
     - "accordion" (below --tb-breakpoint): stacked headers + panels
   Without `data-tb-mode` (CMS editor) everything is left unstyled/visible.

   Optional modifier classes on `.tabbed-buttons-area`:
     - `has-tab-notch`: small notch under the active tab (tabs mode)

   Customize by overriding the `--tb-*` variables on `.tabbed-buttons-area`.
   ------------------------------------------------------------------ */

.tabbed-buttons-area {
    /* behavior (read by JS) */
    --tb-breakpoint: 960px;
    --tb-accordion-initial: first;
    /* first | none */

    /* colors */
    --tb-active-bg: #6AD3CD;
    --tb-active-color: #1B2A5C;
    --tb-inactive-bg: #F1F1F1;
    --tb-inactive-color: #1B2A5C;
    --tb-panel-bg: #FFF;
    --tb-label-color: #1B2A5C;
    --tb-icon-color: #1B2A5C;
    --tb-divider-color: var(--tertiary-color, #F24425);
    --tb-row-divider-color: #E3E3E3;
    --tb-focus-color: #1B2A5C;
    --tb-shadow: 0 10px 30px rgb(0 0 0 / .12);

    /* sizing */
    --tb-max-width: var(--container-width, 1600px);
    --tb-gutter: 20px;
    --tb-radius: 40px;
    --tb-tab-gap: 5px;
    --tb-tab-min-height: 95px;
    --tb-tab-font-size: 21px;
    --tb-panel-padding: 20px 70px;
    --tb-panel-padding-accordion: 10px 20px 20px;
    --tb-accordion-gap: 10px;
    --tb-accordion-radius: 20px;

    @media (max-width: 1499px) {
        --tb-tab-min-height: 85px;
        --tb-tab-font-size: 20px;
        --tb-panel-padding: 15px 25px;
    }

    @media (max-width: 1199px) {
        --tb-tab-min-height: 75px;
        --tb-tab-font-size: 16px;
    }

    /* items grid */
    --tb-columns: 4;
    --tb-columns-accordion: 1;
    --tb-item-min-width: 240px;
    --tb-col-gap: 60px;
    --tb-row-gap: 1px;
    --tb-item-min-height: 120px;
    --tb-item-gap: 20px;
    --tb-icon-size: 44px;
    --tb-label-font-size: 18px;
    --tb-label-align: center;
    --tb-divider-width: 2px;
    --tb-divider-height: 45px;

    @media (max-width: 1499px) {
        --tb-icon-size: 36px;
        --tb-label-font-size: 16px;
        --tb-item-min-height: 100px;
    }

    @media (max-width: 1199px) {
        --tb-icon-size: 32px;
        --tb-item-min-height: 75px;
    }

    @media (max-width: 959px) {
        --tb-label-align: left;
    }

    /* notch (only with `.has-tab-notch`) */
    --tb-notch-width: 90px;
    --tb-notch-height: 18px;


    padding-left: 0;
    padding-right: 0;

    [hidden] {
        display: none !important;
    }

    .tabbed-buttons {
        width: min(100% - 2 * var(--tb-gutter), var(--tb-max-width));
        margin-inline: auto;
    }

    /* ---------- Tab / accordion trigger (real <button> created by JS) ---------- */
    .tabbed-buttons-trigger {
        position: relative;
        appearance: none;
        margin: 0;
        border: 0;
        font: inherit;
        font-size: var(--tb-tab-font-size);
        font-weight: 700;
        line-height: 1.1;
        text-transform: uppercase;
        text-align: center;
        cursor: pointer;
        color: var(--tb-inactive-color);
        background-color: var(--tb-inactive-bg);
        transition: background-color .25s ease, color .25s ease;

        &[aria-selected="true"],
        &[aria-expanded="true"] {
            color: var(--tb-active-color);
            background-color: var(--tb-active-bg);
        }

        &:focus-visible {
            outline: 3px solid var(--tb-focus-color);
            outline-offset: -3px;
        }

        .tabbed-buttons-title {
            font: inherit;
            color: inherit;
        }
    }

    /* ---------- Items grid ---------- */
    .tabbed-contents {
        display: grid;
        grid-template-columns: repeat(auto-fill,
                minmax(max(var(--tb-item-min-width),
                        calc((100% - (var(--tb-columns) - 1) * var(--tb-col-gap)) / var(--tb-columns))),
                    1fr));
        gap: var(--tb-row-gap) var(--tb-col-gap);
        /* Dividers are drawn in the gaps; the outer ones fall outside and get clipped */
        overflow: hidden;
    }

    .tabbed-buttons[data-tb-mode="accordion"] .tabbed-contents {
        grid-template-columns: repeat(var(--tb-columns-accordion), minmax(0, 1fr));
    }

    .tabbed-contents-item {
        position: relative;
        display: flex;
        align-items: center;
        gap: var(--tb-item-gap);
        min-height: var(--tb-item-min-height);
        padding: 12px 15px;

        /* vertical divider, centered in the column gap */
        &::before {
            content: "";
            position: absolute;
            inset-inline-end: calc(100% + (var(--tb-col-gap) - var(--tb-divider-width)) / 2);
            top: 50%;
            width: var(--tb-divider-width);
            height: var(--tb-divider-height);
            transform: translateY(-50%);
            background-color: var(--tb-divider-color);
        }

        /* horizontal divider, sits in the row gap above the item */
        &::after {
            content: "";
            position: absolute;
            bottom: 100%;
            inset-inline: calc(var(--tb-col-gap) / -2);
            height: 1px;
            background-color: var(--tb-row-divider-color);
        }

        &:has(a:focus-visible) {
            outline: 3px solid var(--tb-focus-color);
            outline-offset: -3px;
        }

        >[class*="tab-content-icon"] {
            flex: 0 0 var(--tb-icon-size);
            width: var(--tb-icon-size);
            height: var(--tb-icon-size);
            color: var(--tb-icon-color);

            span {
                display: block;
                width: 100%;
                height: 100%;
            }

            svg {
                display: block;
                width: 100%;
                height: 100%;
                fill: currentColor;
            }
        }

        >[class*="tab-content-button"] {
            flex: 1;
            min-width: 0;
            text-align: var(--tb-label-align);
            font-size: var(--tb-label-font-size);
            font-weight: 600;
            line-height: 1.3;
            letter-spacing: .15em;
            text-transform: uppercase;
            color: var(--tb-label-color);

            @media (max-width: 1499px) {
                letter-spacing: unset;
            }
        }

        a {
            color: inherit;
            text-decoration: none;

            /* whole item is clickable */
            &::after {
                content: "";
                position: absolute;
                inset: 0;
            }

            &:hover {
                text-decoration: underline;
                text-underline-offset: .25em;
            }
        }
    }

    /* ---------- Desktop: tabs ---------- */
    .tabbed-buttons[data-tb-mode="tabs"] {
        .tabbed-buttons__tabs {
            display: flex;
            align-items: stretch;
            gap: var(--tb-tab-gap);
        }

        .tabbed-buttons-title-wrap {
            display: flex;
            flex: 1 1 0;
            min-width: 0;
        }

        .tabbed-buttons-trigger {
            flex: 1;
            min-height: var(--tb-tab-min-height);
            padding: 12px 24px;
            border-radius: var(--tb-radius) var(--tb-radius) 0 0;

            @media (max-width: 1199px) {
                padding: 8px 12px;
            }
        }

        .tabbed-buttons__contents {
            padding: var(--tb-panel-padding);
            background-color: var(--tb-panel-bg);
            border-radius: 0 0 var(--tb-radius) var(--tb-radius);
            box-shadow: var(--tb-shadow);
        }
    }

    &.has-tab-notch .tabbed-buttons[data-tb-mode="tabs"] .tabbed-buttons-trigger[aria-selected="true"]::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: var(--tb-notch-width);
        height: var(--tb-notch-height);
        transform: translateX(-50%);
        background-color: var(--tb-panel-bg);
        clip-path: polygon(0 100%, 35% 0, 65% 0, 100% 100%);
    }

    /* ---------- Mobile: accordion ---------- */
    .tabbed-buttons[data-tb-mode="accordion"] {
        .tabbed-buttons__tabs {
            display: flex;
            flex-direction: column;
            gap: var(--tb-accordion-gap);
        }

        /* panels are moved inside their title wrapper, nothing is left here */
        .tabbed-buttons__contents {
            display: none;
        }

        .tabbed-buttons-title-wrap {
            overflow: hidden;
            border-radius: var(--tb-accordion-radius);
            background-color: var(--tb-panel-bg);
            box-shadow: var(--tb-shadow);
        }

        .tabbed-buttons-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            width: 100%;
            min-height: 60px;
            padding: 12px 20px;
            font-size: min(var(--tb-tab-font-size), 20px);
            text-align: start;

            /* chevron */
            &::after {
                content: "";
                flex: none;
                width: .5em;
                height: .5em;
                margin-top: -.25em;
                border-inline-end: 2px solid currentColor;
                border-bottom: 2px solid currentColor;
                transform: rotate(45deg);
                transition: transform .25s ease;
            }

            &[aria-expanded="true"]::after {
                margin-top: .25em;
                transform: rotate(-135deg);
            }
        }

        .tabbed-contents {
            margin: var(--tb-panel-padding-accordion);
        }
    }
}

@media (prefers-reduced-motion: reduce) {

    .tabbed-buttons-area .tabbed-buttons-trigger,
    .tabbed-buttons-area .tabbed-buttons-trigger::after {
        transition: none;
    }
}


#home .tabbed-buttons-area {
    padding-top: unset;
    margin-top: calc(var(--tb-tab-min-height) * -1);

    @media (max-width: 1089px) {
        margin-top: 20px;
    }
}


/* ================================================================== */
/*  END Tabbed Buttons */
/* ================================================================== */



/* ================================================================== */
/*  START Programs */
/* ================================================================== */

#home .clark-programs {
    padding-left: 0;
    padding-right: 0;

    .clark-programs-inner {
        width: var(--container-width);
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: space-between;

        @media (max-width: 1199px) {
            flex-wrap: wrap;
        }

        @media (max-width: 599px) {
            width: 100%;
            padding-left: 20px;
        }

        .clark-programs__left {
            width: 535px;

            @media (max-width: 1699px) {
                width: 400px;
            }

            @media (max-width: 1199px) {
                width: 100%;
            }

            .see-all-top {
                .header-top {
                    color: #474747;
                }

                .header-bottom {
                    margin-top: .5em;
                }

                .header-slot-container {
                    margin-bottom: .5em;
                }
            }

            .clark-programs-desc {
                font-size: var(--section-desc-font-size);
                color: #474747;
                --lines: 6;

                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: var(--lines);
                line-clamp: var(--lines);
                overflow: hidden;
            }

            .clark-programs-button a {
                background-color: var(--fourth-color);
                border-color: var(--fourth-color);
                margin-top: 1.5em;

                &:hover {
                    background-color: color-mix(in srgb, var(--fourth-color), #000 10%);
                    border-color: color-mix(in srgb, var(--fourth-color), #000 10%);
                }
            }
        }

        .clark-programs__right {
            width: calc(100% - 560px);
            position: relative;

            @media (max-width: 1699px) {
                width: calc(100% - 430px);
            }

            @media (max-width: 1199px) {
                width: 100%;
                margin-top: 30px;
            }

            .clark-programs-list {
                padding-left: 30px;

                @media (max-width: 1199px) {
                    padding-left: 0;
                }

                .clark-programs-list-wrapper {
                    &>div {
                        &:nth-child(3n + 1) {
                            --card-bg-color: #F24425;
                            --card-text-color: #000;
                        }
                    }

                    &>div {
                        &:nth-child(3n + 2) {
                            --card-bg-color: #FFC62F;
                            --card-text-color: var(--primary-color);
                        }
                    }

                    &>div {
                        &:nth-child(3n) {
                            --card-bg-color: #41AD49;
                            --card-text-color: #000;
                        }
                    }
                }

                .clark-program {
                    height: 480px;
                    border-radius: 20px;
                    position: relative;

                    &:after {
                        content: '';
                        display: block;
                        position: absolute;
                        width: 100%;
                        height: 75%;
                        background: linear-gradient(0deg, #192A59 0%, rgba(25, 42, 89, 0.00) 50%);
                        bottom: 0;
                        border-radius: 0 0 20px 20px;
                    }

                    .clark-program__image {
                        width: 100%;
                        height: 100%;
                        overflow: hidden;

                        .clark-program-image {
                            display: block;
                            width: 100%;
                            height: 100%;
                            border-radius: 20px;
                            overflow: hidden;

                            img {
                                width: 100%;
                                height: 100%;
                                max-height: 100%;
                                object-fit: cover;
                            }
                        }
                    }

                    .clark-program__contents {
                        position: absolute;
                        width: 100%;
                        bottom: 20px;
                        left: -20px;
                        display: flex;
                        align-items: center;
                        column-gap: 15px;
                        z-index: 2;

                        @media (max-width: 1199px) {
                            left: 0;
                            padding-left: 15px;
                            padding-right: 15px;
                        }

                        .clark-programs-icon {
                            width: 80px;
                            height: 80px;
                            padding: 20px;
                            display: flex;
                            align-items: center;
                            background-color: var(--card-bg-color, var(--primary-color));
                            color: var(--card-text-color, var(--primary-color-contrast));
                            border-radius: 50%;

                            @media (max-width: 1499px) {
                                width: 60px;
                                height: 60px;
                                padding: 14px;
                            }

                            span {
                                display: flex;
                            }

                            svg {
                                width: 100%;
                                height: 100%;
                                fill: currentColor;
                            }
                        }

                        h4 {
                            width: calc(100% - 80px);
                            font-size: 22px;
                            color: #fff;
                            line-height: 1.2;

                            @media (max-width: 1499px) {
                                font-size: 20px;
                            }

                            a {
                                color: inherit;
                                text-decoration: unset;

                                &:after {
                                    content: '';
                                    display: block;
                                    position: absolute;
                                    width: 100%;
                                    height: 100%;
                                    top: 0;
                                    left: 0;
                                }
                            }
                        }
                    }
                }
            }

            .clark-programs-list-controls {
                margin-top: unset;
                position: static;

                .custom-swiper-navigation {
                    @media (max-width: 599px) {
                        justify-content: flex-start;
                        column-gap: 10px;
                    }
                }

                .clark-programs-prev-wrap,
                .clark-programs-next-wrap {
                    width: 60px;
                    height: 60px;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background-color: var(--secondary-color);
                    color: var(--primary-color);
                    position: absolute;
                    top: calc(50% - 35px);
                    left: 0;
                    z-index: 1;

                    @media (max-width: 1199px) {
                        left: -10px;
                    }

                    @media (max-width: 599px) {
                        position: static;
                    }
                }

                .clark-programs-next-wrap {
                    left: unset;
                    right: -30px;

                    @media (max-width: 1199px) {
                        right: -10px;
                    }
                }

                .clark-programs-prev,
                .clark-programs-next {
                    width: 38px;
                }
            }
        }
    }
}

/* ================================================================== */
/*  END Programs */
/* ================================================================== */

/* ================================================================== */
/*  START Highlights */
/* ================================================================== */

#home .clark-highlights {
    padding-left: 0;
    padding-right: var(--side-padding);
    --icon-size: 50px;

    @media (max-width: 1199px) {
        width: var(--container-width);
        margin-left: auto;
        margin-right: auto;
        padding-right: unset;
    }

    .clark-highlights-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;

        @media (max-width: 1199px) {
            flex-wrap: wrap;
        }

        .clark-highlights__right {
            width: 600px;

            @media (max-width: 1699px) {
                width: 500px;
            }

            @media (max-width: 1199px) {
                width: 100%;
                order: 1;
            }

            .header-slot-container {
                margin-bottom: .5em;
            }

            .clark-highlights-desc {
                font-size: var(--section-desc-font-size);
                color: #474747;
                --lines: 4;

                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: var(--lines);
                line-clamp: var(--lines);
                overflow: hidden;
            }

            .clark-highlights-button a {
                background-color: var(--fourth-color);
                border-color: var(--fourth-color);
                margin-top: 1.5em;

                &:hover {
                    background-color: color-mix(in srgb, var(--fourth-color), #000 10%);
                    border-color: color-mix(in srgb, var(--fourth-color), #000 10%);
                }
            }
        }

        .clark-highlights__left {
            width: calc(100% - 750px);
            position: relative;

            @media (max-width: 1699px) {
                width: calc(100% - 600px);
            }

            @media (max-width: 1199px) {
                width: 100%;
                order: 2;
            }

            .clark-highlights__image {
                position: absolute;
                inset: 0;
                border-radius: 0 40px 40px 0;
                overflow: hidden;
                z-index: -1;

                @media (max-width: 1199px) {
                    display: none;
                }

                .clark-highlights-img {
                    display: block;
                    width: 100%;
                    height: 100%;

                    img {
                        width: 100%;
                        height: 100%;
                        max-height: unset;
                        object-fit: cover;
                    }
                }
            }

            .clark-highlights__list {
                padding-top: 15px;
                padding-bottom: 15px;
                display: flex;
                flex-direction: column;
                align-items: flex-end;

                .clark-highlights-list {
                    margin-right: -50px;

                    @media (max-width: 1199px) {
                        width: 100%;
                        margin-right: unset;
                        display: grid;
                        grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
                        column-gap: 25px;

                        &>div {
                            margin-top: 10px;
                            margin-bottom: 10px;
                        }
                    }

                    @media (max-width: 599px) {
                        display: block;
                    }

                    .clark-highlight-item {
                        background-color: #fff;
                        box-shadow: -2px 2px 5px 4px rgba(0, 0, 0, 0.13);
                        border-radius: 11px;
                        display: flex;
                        align-items: center;
                        column-gap: 15px;
                        width: 350px;
                        max-width: 100%;
                        padding: 14px 20px;
                        margin-top: 10px;
                        margin-bottom: 10px;
                        position: relative;
                        transition: all .25s linear;

                        @media (max-width: 1199px) {
                            width: 100%;
                            height: 100%;
                            padding-top: 7px;
                            padding-bottom: 7px;
                        }

                        @media (max-width: 599px) {
                            margin-top: 20px;
                        }

                        .clark-highlight-item-title {
                            font-size: 20px;
                            font-weight: 800;
                            line-height: 1.1;

                            a {
                                text-decoration: unset;
                                color: inherit;

                                &:after {
                                    content: '';
                                    display: block;
                                    position: absolute;
                                    inset: 0;
                                }
                            }
                        }

                        .clark-highlight-item-image {
                            width: var(--icon-size);
                            height: var(--icon-size);
                        }

                        &:has(.clark-highlight-item-title a:hover) {
                            box-shadow: -2px 2px 8px 8px rgba(0, 0, 0, 0.2);
                        }
                    }

                    .clark-highlight-item-text {
                        font-size: 15px;
                        line-height: 1.2;
                        margin-top: .35em;
                    }
                }
            }
        }
    }
}

/* ================================================================== */
/*  END Highlights */
/* ================================================================== */


/* ================================================================== */
/*  START News (modifying Custom V9) */
/* ================================================================== */

#home {
    #news-container:has(#news-n6) {
        width: var(--container-width);
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    #news-n6 {
        --section-side-padding: 90px;
        padding-top: 75px;
        padding-bottom: 75px;

        @media (max-width: 599px) {
            padding-left: 0 !important;
            padding-right: 0 !important;
            padding-top: 20px;
            padding-bottom: 40px;
        }

        .see-all-button {
            &:hover {
                background-color: color-mix(in srgb, var(--button-bg-color), #000 10%);
                border-color: color-mix(in srgb, var(--button-bg-color), #000 10%);
            }
        }

        .news-wrapper {
            gap: 1%;
        }

        .story {
            min-width: calc(33.5% - var(--fck-shadow));

            &:after {
                color: var(--snippet-color);
            }
        }

        .nav {
            .scroll-right.button {
                right: 0;
            }

            .scroll-left.button {
                left: 0;
            }
        }
    }
}


body:not(.clark-county-school-district) {
    #home {
        .nav {
            .scroll-right.button {
                border: 3px solid #000;
            }

            .scroll-left.button {
                border: 3px solid #000;
            }
        }
    }
}

/* ================================================================== */
/*  END News (modifying Custom V9) */
/* ================================================================== */



/* ================================================================== */
/*  START Events */
/* ================================================================== */

#home .events-e6 {
    --date-width: 100px;

    @media (max-width: 959px) {
        --date-width: 80px;
    }

    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
    padding-top: 75px;
    padding-bottom: 75px;

    .see-all-button {
        &:hover {
            background-color: color-mix(in srgb, var(--button-bg-color), #000 10%);
            border-color: color-mix(in srgb, var(--button-bg-color), #000 10%);
        }
    }

    .events-container {

        .logo {
            display: none;
        }

        .events-wrapper {
            width: 100%;
            column-gap: 2%;

            .event-card {
                padding: 0;
                display: flex;
                align-items: center;
                flex-direction: row;
                column-gap: 15px;
                margin-top: 1em;
                padding-right: 20px;
                position: relative;

                &:hover {
                    transform: scale(1.05);
                }

                .event-title {
                    margin-top: unset;

                    .events-title {
                        font-weight: 700;

                        &:after {
                            content: '';
                            display: block;
                            position: absolute;
                            inset: 0;
                        }

                    }
                }

                .event-location {
                    display: none;
                }

                .start-date {
                    width: var(--date-width);
                    flex-shrink: 0;
                    border-radius: 1.5em;
                    height: 100%;
                    padding-top: .75em;
                    padding-bottom: .75em;

                    .date-number {
                        font-size: 50px;
                        line-height: 1;

                        @media (max-width: 1499px) {
                            font-size: 45px;
                        }

                        @media (max-width: 959px) {
                            font-size: 40px;
                        }
                    }
                }

                .details {
                    width: calc(100% - var(--date-width) - 15px);
                }

                .event-dates {
                    margin-top: 0.25em;
                }
            }
        }
    }
}

/* ================================================================== */
/*  END Events */
/* ================================================================== */


/* ================================================================== */
/*  START Live Feed */
/* ================================================================== */

#home .main #cms-live-feed {
    --lf-card-border-color: #fff;

    .see-all-button {
        &:hover {
            background-color: color-mix(in srgb, var(--button-bg-color), #000 10%);
            border-color: color-mix(in srgb, var(--button-bg-color), #000 10%);
        }
    }

    .wrapper {
        position: relative;
        isolation: isolate;
        padding-bottom: 80px;
        padding-left: 0;
        padding-right: 0;

        @media (max-width: 1499px) {
            padding-bottom: 60px;
        }

        @media (max-width: 1199px) {
            padding-bottom: 40px;
        }

        .see-all-container {
            width: var(--container-width);
            margin-left: auto;
            margin-right: auto;
        }
    }

    .cards-slider {
        width: 1700px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 4em;

        @media (max-width: 1799px) {
            width: var(--container-width);
        }

        @media (max-width: 959px) {
            width: calc(100% - 5px);
            margin-left: 5px;
            margin-top: 20px;
            margin-right: unset;
        }

        .cards-wrapper {
            padding-bottom: 0;
            padding-left: 15px;
            padding-right: 15px;
            column-gap: 0;

            @media (max-width: 1280px) {
                padding-left: 0;
            }

            .card {
                width: 416px;
                margin-left: 0;
                margin-right: 0;
                padding: 15px;
                position: relative;
                box-shadow: none;

                &:before {
                    content: '';
                    display: block;
                    position: absolute;
                    width: calc(100% - 20px);
                    height: calc(100% - 20px);
                    top: 10px;
                    left: 10px;
                    border-radius: 15px;
                    box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.25);
                }

                .card-content {
                    position: relative;
                    z-index: 2;
                    padding: 10px 15px 32px;

                    .card-header {
                        column-gap: 10px;

                        img {
                            margin-right: unset;
                        }

                        .author {
                            font-size: 13px;
                        }

                        .time-ago {
                            font-size: 13px;
                        }
                    }
                }


                .card-gallery {
                    max-width: calc(100% - 5px);
                    margin-left: auto;
                    margin-right: auto;
                    margin-top: 3px;
                    border-radius: 15px 15px 0 0;
                    position: relative;
                    z-index: 2;

                    &:before,
                    &:after {
                        display: none;
                    }
                }

                @media (max-width: 1799px) {
                    width: 383px;

                    .card-content {
                        padding: 25px;
                    }
                }

                @media (max-width: 1699px) {
                    width: 342px;

                    .card-content {
                        padding: 15px;
                    }

                    .card-description {
                        font-size: 14px;
                    }
                }

            }
        }

        .slider-button {
            border-width: 4px;
        }
    }

    .slider-button.left {
        margin-right: -45px;

        @media (max-width: 959px) {
            margin-right: 5px;
        }
    }

    .slider-button.right {
        margin-left: -45px;

        @media (max-width: 959px) {
            margin-left: 5px;
        }
    }
}

/* ================================================================== */
/*  END Live Feed */
/* ================================================================== */



/* ================================================================== */
/*  START Message */
/* ================================================================== */

#home .clark-message-area {
    width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 100px;

    .see-all-container {
        .header-slot-container {
            width: 100%;

            h2 {
                width: 100%;
                font-size: 63px;
                line-height: 1.1;

                @media (max-width: 1699px) {
                    font-size: 55px;
                }

                @media (max-width: 1499px) {
                    font-size: 50px;
                }

                @media (max-width: 1199px) {
                    font-size: 45px;
                }

                @media (max-width: 959px) {
                    font-size: 40px;
                }

                @media (max-width: 767px) {
                    font-size: 36px;
                }

                @media (max-width: 599px) {
                    font-size: 24px;
                }

                .header-top {
                    color: #474747;
                    font-size: inherit;
                    font-weight: 600;
                }

                .header-bottom {
                    font-size: inherit;
                    margin-top: unset;
                    color: var(--primary-color);
                }
            }
        }
    }

    .clark-message {
        display: flex;
        justify-content: space-between;

        @media (max-width: 767px) {
            flex-wrap: wrap;
        }

        .clark-message__image {
            width: 430px;
            border-radius: 25px;
            overflow: hidden;

            @media (max-width: 1499px) {
                width: 400px;
            }

            @media (max-width: 1199px) {
                width: 350px;
            }

            @media (max-width: 959px) {
                width: 275px;
            }

            @media (max-width: 767px) {
                width: 100%;
            }

            .clark-message-image {
                display: block;
                width: 100%;
                height: 100%;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    max-height: unset;
                }
            }
        }

        .clark-message__content {
            width: calc(100% - 460px);

            @media (max-width: 1499px) {
                width: calc(100% - 420px);
            }

            @media (max-width: 1199px) {
                width: calc(100% - 370px);
            }

            @media (max-width: 959px) {
                width: calc(100% - 295px);
            }

            @media (max-width: 767px) {
                width: 100%;
                margin-top: 30px;
            }

            .clark-message-text {
                font-size: 24px;
                color: #474747;
                --lines: 10;

                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: var(--lines);
                line-clamp: var(--lines);
                overflow: hidden;

                p {
                    margin-top: 1em;
                    margin-bottom: 1em;
                }

                ul {
                    p {
                        margin-top: unset;
                        margin-bottom: unset;
                    }
                }

                @media (max-width: 1699px) {
                    font-size: 22px;
                }

                @media (max-width: 1499px) {
                    font-size: 20px;
                }

                @media (max-width: 1199px) {
                    font-size: 18px;
                }

                @media (max-width: 959px) {
                    font-size: 16px;
                }


            }
        }
    }
}

/* ================================================================== */
/*  END Message */
/* ================================================================== */

/* ================================================================== */
/*  START Schools Programs */
/* ================================================================== */

#home #programs-p1 {
    padding-left: 0;
    padding-right: 0;
    padding-top: 65px;
    padding-bottom: 65px;

    .see-all-container.see-all-top {
        width: var(--container-width);
        margin-left: auto;
        margin-right: auto;
        padding-left: 4%;
    }

    .programs-wrapper {
        width: var(--container-width);
        margin-left: auto;
        margin-right: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);

        @media (max-width: 1199px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media (max-width: 599px) {
            display: block;
        }

        .program {
            margin-right: unset;
            width: 100%;


            &:nth-child(4n) {
                .image-wrapper {
                    border-radius: 0 20px 20px 0;
                    overflow: hidden;
                }
            }

            &:nth-child(4n + 1) {
                .image-wrapper {
                    border-radius: 20px 0 0 20px;
                    overflow: hidden;
                }
            }

            @media (max-width: 1199px) {
                &:nth-child(4n + 2) {
                    .image-wrapper {
                        border-radius: 0 20px 20px 0;
                        overflow: hidden;
                    }
                }

                &:nth-child(4n + 3) {
                    .image-wrapper {
                        border-radius: 20px 0 0 20px;
                        overflow: hidden;
                    }
                }
            }

            @media (max-width: 599px) {
                .image-wrapper {
                    border-radius: 20px !important;
                }
            }

            .image-border-accent {
                border: unset;
            }
        }
    }
}

/* ================================================================== */
/*  END Schools Programs */
/* ================================================================== */



/* ================================================================== */
/*  START Video Message */
/* ================================================================== */

.clark-video-message {}

/* ================================================================== */
/*  END Video Message */
/* ================================================================== */


/* ================================================================== */
/*  START Video */
/* ================================================================== */

#home #video-component {
    padding: 0;
    --video-info-width: 650px;

    @media (max-width: 1499px) {
        --video-info-width: 450px;
    }

    .see-all-container {
        display: none;
    }

    .wrapper {
        .main-video {
            margin-right: unset;
            flex: unset;
            width: 100%;
            max-width: 100%;
            display: flex;
            align-items: center;

            @media (max-width: 1199px) {
                flex-wrap: wrap;
            }

            .video-info {
                order: 1;
                width: var(--video-info-width);

                @media (max-width: 1199px) {
                    width: 100%;
                    order: 3;
                    padding-bottom: 40px;
                }

                .title,
                .description {
                    width: 500px;
                    max-width: calc(100% - 30px);
                    margin-left: auto;
                    margin-right: auto;

                    @media (max-width: 1199px) {
                        width: 100%;
                        max-width: 100%;
                        padding-left: 20px;
                        padding-right: 20px;
                    }
                }

                .title {
                    font-size: var(--monterrey-big-title-font-size);
                    line-height: 1.1;
                    font-weight: 700;
                }

                .description {
                    @media (max-width: 1499px) {
                        font-size: 14px;
                    }
                }
            }

            .video {
                order: 2;
                width: calc(100% - var(--video-info-width));

                @media (max-width: 1199px) {
                    width: 100%;
                }
            }
        }

        .sidebar {
            display: none;

            @media (max-width: 959px) {
                display: flex;

                .info {
                    padding-left: 20px;
                    padding-right: 20px;

                    .description {
                        font-size: 14px;
                    }
                }

                .sidebar-item:nth-child(n + 2) {
                    display: none;
                }
            }
        }
    }
}



/* ================================================================== */
/*  END Video */
/* ================================================================== */


/* ================================================================== */
/*  START By The Numbers */
/* ================================================================== */

#home .clark-numbers-area {
    --top-card-height: 360px;
    --bottom-card-height: 180px;
    --card-text-color: #fff;
    --card-bg-color: var(--primary-color);
    --card-hover-text-color: var(--primary-color);
    --card-hover-bg-color: var(--fourth-color);
    padding: 0;

    @media (max-width: 1499px) {
        --top-card-height: 300px;
        --bottom-card-height: 150px;
    }

    @media (max-width: 1199px) {
        --top-card-height: 250px;
        --bottom-card-height: 125px;
    }

    width: var(--container-width);
    margin-left: auto;
    margin-right: auto;

    .header-slot-container {
        width: 100%;

        h2 {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;

            .header-top {
                font-size: var(--monterrey-big-title-font-size);
                display: inline;
                width: auto;
                color: var(--primary-color);
            }

            .header-bottom {
                display: inline;
                width: auto;
                margin-top: unset;
                padding-left: 15px;
                font-weight: 600;
                color: #474747;
                font-style: italic;
            }
        }
    }

    .clark-numbers {
        .clark-numbers-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            &>div {
                width: 32.33%;

                .clark-number-card {
                    width: 100%;
                    height: var(--top-card-height);
                    border-radius: 15px;
                    overflow: hidden;
                    position: relative;

                    .clark-number-card__img {
                        width: 100%;
                        height: 100%;

                        .clark-number-card-img {
                            width: 100%;
                            height: 100%;

                            img {
                                object-fit: cover;
                                width: 100%;
                                height: 100%;
                                max-width: 100%;
                                max-height: 100%;
                            }
                        }
                    }

                    .clark-number-contents {
                        display: flex;
                        flex-direction: column;
                    }
                }

                &:nth-child(-n + 3) {

                    @media (max-width: 959px) {
                        width: 100%;
                        margin-top: .5em;
                        margin-bottom: .5em;
                    }

                    .clark-number-card {

                        .clark-number-contents {

                            position: absolute;
                            width: 100%;
                            bottom: 0;
                            left: 0;
                            text-align: right;
                            padding-bottom: 20px;

                            @media (max-width: 1499px) {
                                padding-bottom: 10px;
                            }

                            .clark-number-card__title {
                                color: var(--card-text-color);
                                position: relative;
                                z-index: 2;
                                font-size: 50px;
                                font-weight: 800;
                                line-height: 1;

                                @media (max-width: 1499px) {
                                    font-size: 40px;
                                }

                                @media (max-width: 1199px) {
                                    font-size: 32px;
                                }
                            }

                            .clark-number-card__desc {
                                color: var(--card-text-color);
                                position: relative;
                                z-index: 2;
                                font-size: 40px;
                                line-height: 1;

                                @media (max-width: 1499px) {
                                    font-size: 32px;
                                }

                                @media (max-width: 1199px) {
                                    font-size: 25px;
                                }
                            }

                            &:after {
                                content: '';
                                display: block;
                                position: absolute;
                                width: 200%;
                                height: calc(var(--top-card-height) * 0.6);
                                background-color: var(--card-bg-color);
                                transform: rotate(-17deg);
                                left: -50%;
                                bottom: calc(var(--top-card-height) * -0.25);
                                opacity: 1;
                                transition: all .25s linear;

                                @media (max-width: 959px) {
                                    bottom: calc(var(--top-card-height) * -0.55);
                                }

                                @media (max-width: 767px) {
                                    bottom: calc(var(--top-card-height) * -0.35);
                                }

                                @media (max-width: 599px) {
                                    bottom: calc(var(--top-card-height) * -0.25);
                                }
                            }
                        }

                        &:before {
                            content: '';
                            display: block;
                            position: absolute;
                            inset: 0;
                            background-color: color-mix(in srgb, var(--card-hover-bg-color), transparent 10%);
                            opacity: 0;
                            transition: all .25s linear;
                        }

                        &:hover {
                            &:before {
                                opacity: 1;
                            }

                            .clark-number-contents {
                                width: 100%;
                                height: 100%;
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                                justify-content: center;

                                &:after {
                                    opacity: 0;
                                }

                                .clark-number-card__title,
                                .clark-number-card__desc {
                                    width: 100%;
                                    color: var(--card-hover-text-color);
                                    text-align: center;
                                }
                            }
                        }
                    }
                }

                &:nth-child(3) {
                    .clark-number-card__desc {
                        order: -1;
                    }
                }

                &:nth-child(n+4) {
                    width: 49%;
                    --graphic-width: 177px;

                    @media (max-width: 1499px) {
                        --graphic-width: 125px;
                    }

                    @media (max-width: 1199px) {
                        --graphic-width: 100px;
                    }

                    @media (max-width: 959px) {
                        width: 100%;
                    }

                    @media (max-width: 599px) {
                        --graphic-width: 60px;
                    }

                    .clark-number-card {
                        background-color: var(--primary-color);
                        height: var(--bottom-card-height);
                        margin-top: 2em;
                        padding-left: 2em;
                        padding-right: 1em;
                        display: flex;
                        align-items: center;

                        @media (max-width: 959px) {
                            margin-top: 1em;
                        }

                        @media (max-width: 599px) {
                            padding-left: 15px;
                        }

                        .clark-number-card__img {
                            width: var(--graphic-width);
                            height: 100px;
                            text-align: right;

                            .clark-number-card-img {
                                width: 100%;
                                height: 100%;
                                display: flex;
                                align-items: center;
                                text-align: right;

                                img {
                                    display: inline-block;
                                    width: auto;
                                    max-width: 100%;
                                    max-height: 100%;
                                    height: auto;
                                    object-fit: unset;
                                }
                            }
                        }

                        .clark-number-contents {
                            width: calc(100% - var(--graphic-width));

                            .clark-number-card__title {
                                color: var(--card-text-color);
                                font-size: 50px;
                                font-weight: 800;
                                line-height: 1;

                                @media (max-width: 1499px) {
                                    font-size: 40px;
                                }

                                @media (max-width: 1199px) {
                                    font-size: 32px;
                                }

                                @media (max-width: 599px) {
                                    font-size: 26px;
                                }
                            }

                            .clark-number-card__desc {
                                color: var(--card-text-color);
                                font-size: 35px;
                                line-height: 1;

                                @media (max-width: 1499px) {
                                    font-size: 26px;
                                }

                                @media (max-width: 1199px) {
                                    font-size: 22px;
                                }

                                @media (max-width: 599px) {
                                    font-size: 18px;
                                }
                            }
                        }
                    }
                }

                &:nth-child(4) {
                    .clark-number-card {
                        .clark-number-contents {
                            display: flex;
                            flex-direction: row;
                            align-items: center;

                            .clark-number-card__title {
                                position: relative;
                                font-size: 36px;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                isolation: isolate;

                                @media (max-width: 1499px) {
                                    font-size: 32px;
                                }

                                @media (max-width: 1199px) {
                                    font-size: 26px;
                                }

                                @media (max-width: 599px) {
                                    font-size: 22px;
                                }

                                span {
                                    width: 100%;
                                }

                                &:after {
                                    content: '';
                                    display: block;
                                    width: 2em;
                                    height: 2em;
                                    background: var(--card-hover-bg-color);
                                    border-radius: 10px;
                                    position: absolute;
                                    top: 50%;
                                    left: 50%;
                                    transform: translate(-50%, -50%) rotate(45deg);
                                    z-index: -1;
                                }
                            }

                            .clark-number-card__desc {
                                padding-left: .75em;
                                line-height: 1.2;
                            }
                        }
                    }
                }

                &:nth-child(5) {
                    .clark-number-card {
                        .clark-number-contents {
                            padding-left: 30px;
                        }
                    }
                }
            }
        }
    }
}

/* ================================================================== */
/*  END By The Numbers */
/* ================================================================== */



/* ================================================================== */
/*  START Footer */
/* ================================================================== */

#view-footer #cms-footer {

    h2 {
        font-weight: 700;
    }

    .footer-social-links {
        --gap: 3px !important;
        --icon-size: 40px !important;

        li {
            a {
                background-color: color-mix(in srgb, color-mix(in srgb, var(--bg-color), #fff 80%), #000 10%);
            }
        }
    }

    .apptegy-copyright {
        margin-top: 40px;
    }

    .footer-columns {
        ul {
            li {
                a {
                    &:after {
                        content: '';
                        display: block;
                        width: 100%;
                        height: 1px;
                        background-color: var(--fourth-color, currentColor);
                        margin-top: .75em;
                        margin-bottom: .25em;
                        min-width: 150px;
                    }
                }
            }
        }
    }
}

/* ================================================================== */
/*  END Footer */
/* ================================================================== */



/* ================================================================== */
/*  START CMS Pages */
/* ================================================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#app {
    .clark-card-v1 {
        background-color: color-mix(in srgb, var(--primary-color), transparent 90%);
        border: 1px solid #ddd;
        border-radius: 5px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

        &,
        &>.column.single-column,
        & .draggable-node-list-container,
        & .draggable-node-list {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        & .draggable-node-list>.content-active-wrapper:has(.pb-button):last-child {
            margin-top: auto;
        }

        &.dark-primary-card {
            background-color: color-mix(in srgb, var(--primary-color), #797979 40%);
            color: #ffffff;
            --color-main: #fff;

            .pb-heading {

                h1,
                h2,
                h3,
                h4 {
                    color: #fff;
                }
            }

            .pb-button {
                .title-text {
                    color: var(--primary-color);
                }
            }
        }

        &.light-gray-card {
            background-color: #e0dfdf;
        }

        .column.single-column {
            color: currentColor;
            border-radius: 5px;
            padding-top: 30px;
            padding-bottom: 40px;

            .pb-heading {
                text-align: center;
                padding-left: 10px;
                padding-right: 10px;

                h1,
                h2,
                h3 {
                    text-align: center !important;
                }
            }

            .pb-text {
                padding-left: 15px;
                padding-right: 15px;

                ul {
                    padding-left: 0;
                }
            }

            .pb-button {
                .button {
                    transition: all .25s linear;

                    &:hover {
                        background-image: unset;
                        opacity: .9;
                    }
                }
            }

            .buttons-container:has(.button-type-square.button-style-1) {
                margin-left: auto;
                margin-right: auto;

                .button-type-square.button-style-1 {
                    background: transparent;
                    min-width: 50px;
                    min-height: 50px;

                    .title-text {
                        display: none;
                    }

                    .custom-icon-wrapper {
                        min-width: 50px;
                        min-height: 50px;
                        margin-top: 0;
                        margin-bottom: 0;

                        .custom-icon {
                            width: 100%;
                            height: 100%;
                        }

                        svg {
                            width: 100%;
                            height: 100%;
                        }
                    }
                }
            }
        }
    }

    .clark-card-v2 {
        border-top: 5px solid var(--secondary-color);
        box-shadow: 0 4px 8px #d3d3d3;
    }

    .column.triple-column:has(:is(.clark-card-v1, .clark-card-v2)) {
        display: flex;
        flex-direction: column;

        &>.draggable-node-list-container,
        &>.draggable-node-list-container>.draggable-node-list,
        &>.draggable-node-list-container>.draggable-node-list>.layout-active-wrapper,
        &>.draggable-node-list-container>.draggable-node-list>.layout-active-wrapper>.node-manager-container,
        &>.draggable-node-list-container>.draggable-node-list>.layout-active-wrapper>.node-manager-container>.pb-layout-container {
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
            height: auto;
            min-height: 0;
        }
    }

    .pb-button {
        &.large-button {
            .title-text {
                margin: 1.5em 3em;
                letter-spacing: .5px;
            }
        }

        &.primary-color-button,
        &.secondary-color-button {
            font-weight: 700;
            letter-spacing: 2px;

            &:not(.large-button) {
                .button .title-text {
                    font-size: 12px;
                }
            }

            .button {
                transition: .3s all;

                .title-text {
                    margin: 12px 24px;
                }
            }
        }

        &.primary-color-button {
            .button {
                border: 1px solid var(--primary-color);

                &:hover {
                    background-color: var(--primary-color-contrast);
                    background-image: none;

                    .title-text {
                        color: var(--primary-color);
                    }
                }
            }
        }

        &.secondary-color-button {
            .button {
                background-color: var(--secondary-color);
                border: 1px solid var(--secondary-color);

                .title-text {
                    color: var(--secondary-color-contrast);
                }

                &:hover {
                    background-color: var(--primary-color-contrast);
                    background-image: none;

                    .title-text {
                        color: var(--primary-color);
                    }
                }
            }
        }
    }

    .image-with-shadow {
        box-shadow: 5px 5px 21px 4px rgba(0, 0, 0, 0.3);
    }

    .image-small-radius {
        border-radius: 1em;
        overflow: hidden;
    }

    .image-medium-radius {
        border-radius: 2.5em;
        overflow: hidden;
    }

    .image-rounded {
        border-radius: 50%;
        overflow: hidden;
    }

    .pb-accordion {
        .accordion-panel-active-wrapper {
            .panel-heading-button {
                padding-top: 0.5em;
                padding-bottom: 0.5em;

                .panel-title {
                    order: 2;

                    @media (min-width: 1200px) {
                        font-size: 1.2em;
                    }
                }

                @media (min-width: 1200px) {
                    .panel-toggle-icon {
                        svg {
                            width: 20px;
                            height: 20px;
                        }
                    }
                }

            }

            .panel-content {
                .html-wrapper {
                    padding-top: 1em;

                    @media (min-width: 1200px) {
                        font-size: 18px;
                    }
                }
            }

        }
    }

    .bg-cream {
        .card-container {
            background-color: #fdfbd5;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
    }

    .multi-color-table {
        --th-color-bg: var(--primary-color);
        --th-color-text: var(--primary-color-contrast);
        --table-color-bg-main: #e9eadd;
        --table-color-text-main: #000;
        --table-color-bg-2: #5bee64;
        --table-color-text-2: #000;
        --table-color-bg-3: #9ee4e0;
        --table-color-text-3: #000;
        --table-color-bg-4: #ffc731;
        --table-color-text-4: #000;

        td,
        th {
            padding: 13px 20px;
        }

        th {
            background-color: var(--th-color-bg);
            color: var(--th-color-text);
        }

        td {
            background-color: var(--table-color-bg-main);
            color: var(--table-color-text-main);
        }

        tr:nth-child(3n + 1 of :has(td[colspan="3"])) {
            td {
                background-color: var(--table-color-bg-2);
                color: var(--table-color-text-2);
            }
        }

        tr:nth-child(3n + 2 of :has(td[colspan="3"])) {
            td {
                background-color: var(--table-color-bg-3);
                color: var(--table-color-text-3);
            }
        }

        tr:nth-child(3n of :has(td[colspan="3"])) {
            td {
                background-color: var(--table-color-bg-4);
                color: var(--table-color-text-4);
            }
        }
    }

    #page .single-column-row.staff-card {
        box-shadow: 0 2px 2px rgba(211, 211, 211, 0.5);

        .content-active-wrapper:has(.pb-heading) {
            margin-bottom: 0;
        }

        .pb-heading h4 {
            font-size: clamp(16px, 7cqi, 20px);
            white-space: nowrap;
            display: flex;
            justify-content: center;
        }

        .pb-separator .separator-container {
            border-bottom: 1px dotted #d3d3d3;
        }

        &.district-variant {
            --color-heading: #012c4b;

            p {
                color: #525252;
            }

            .pb-button {
                --dark-button: #2D5B96 !important;

                .button {
                    border-color: var(--dark-button);

                    &:hover {
                        background-color: #ffffff;

                        .title-text {
                            color: var(--dark-button);
                        }
                    }
                }
            }
        }
    }

    #page .clark-banner-v1 {
        &.layout-node-container {
            --gap-size: 0px !important;
            --root-level-width: 100% !important;
            --root-level-max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            gap: 0 !important;
            border-radius: 0 !important;
            background: var(--primary-color);
        }

        >.column {

            &:first-child {
                min-height: 600px;
                overflow: hidden;

                div,
                figure,
                img {
                    height: 100% !important;
                }

                .layout-node-container,
                .pb-layout-container {
                    margin: 0 !important;
                    padding: 0 !important;
                    --gap-size: 0px;
                }

                figure {
                    position: relative;
                    width: 100% !important;
                    max-width: 100%;
                    margin: 0;

                    &::after {
                        content: "";
                        position: absolute;
                        inset: 0;
                        background: color-mix(in srgb, var(--primary-color) 62%, transparent);
                        pointer-events: none;
                    }
                }

                img {
                    width: 100% !important;
                    max-width: 100%;
                    object-fit: cover;
                    object-position: center;
                    display: block;
                }
            }

            &:last-child {
                display: flex;
                align-items: center;
                background: var(--primary-color);
                padding: 48px clamp(24px, 8%, 140px);
                box-sizing: border-box;

                .draggable-node-list-container,
                .draggable-node-list {
                    height: auto;
                }
            }
        }

        .pb-heading {
            h2 {
                letter-spacing: 0.06em;
                color: var(--primary-color-contrast) !important;
                margin-bottom: 28px !important;
                text-align: left !important;
            }
        }

        .pb-text {
            .html-wrapper {

                &,
                p {
                    line-height: 1.9 !important;
                    color: var(--primary-color-contrast) !important;
                }
            }
        }

        .pb-button {
            .button {
                background: transparent !important;
                border: 1px solid var(--secondary-color) !important;
                min-height: 48px;
                margin: 12px 0 0 0;
                transition: background-color .25s ease, color .25s ease;

                .title-text {
                    font-weight: 700;
                    letter-spacing: 0.18em;
                    color: var(--primary-color-contrast) !important;
                    margin: 6px 36px !important;
                    z-index: 1;
                }

                &:hover {
                    .title-text {
                        color: var(--primary-color) !important;
                    }
                }

                &:hover::after {
                    width: 100%;
                }

                &::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 0%;
                    height: 100%;
                    border-radius: 100px;
                    background: -webkit-gradient(linear, left top, right top, from(#F65868), to(#F1AF1C));
                    background: linear-gradient(90deg, #F65868 0%, #F1AF1C 100%);
                    -webkit-transition: all .3s ease;
                    transition: all .3s ease;
                    z-index: 0;
                }
            }
        }

        .pb-heading h2,
        .pb-text .html-wrapper,
        .pb-text .html-wrapper p,
        .pb-button .button {
            opacity: 0;
        }

        &.is-visible {
            .pb-heading h2 {
                animation: fadeInUp 0.8s ease forwards;
            }

            .pb-text .html-wrapper,
            .pb-text .html-wrapper p {
                animation: fadeInUp 0.8s ease 0.2s forwards;
            }

            .pb-button .button {
                animation: fadeInUp 0.8s ease 0.4s forwards;
            }
        }
    }

    @container layout-node-container (max-width: 959px) {
        .clark-banner-v1 {
            >.column {
                &:first-child {
                    min-height: 320px;
                }

                &:last-child {
                    padding: 40px 24px;
                }
            }
        }
    }

    #page .pb-navigation .navigation-section.style-1 {
        .navigation-header {
            border-top-right-radius: 6px;
            border-top-left-radius: 6px;
        }

        .navigation-list .page-child {
            border-left: 6px solid var(--nav-main-color);
            margin-bottom: 0;

            &:last-child {
                border-bottom-left-radius: 6px;
                border-bottom-right-radius: 6px;
            }

            &:not(:last-child) {
                position: relative;

                &::after {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 1px;
                    background: #9FADBE;
                }
            }
        }
    }

    #page .pb-slider.slider-images-are-contained {
        .slider-image-container {
            height: 220px !important;

            .slider-image {
                height: 100%;
                padding: 16px;
                box-sizing: border-box;
            }

            @media (width <=575px) {
                height: 160px !important;
            }
        }
    }
}

/* Breadcrumbs */
:root:has(.triple-column-row > .column:first-child .pb-navigation) #page-wrapper .breadcrumb ul,
:root:has(.left-sidebar-row > .column:first-child .pb-navigation) #page-wrapper .breadcrumb ul {
    width: calc(90% - 20px);
    max-width: calc(1920px - 20px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;

    li:first-child {
        margin-left: 0;
    }

    @media only screen and (max-width: 1200px) {
        text-align: left;
    }
}

:root:has(.single-column-row) #page-wrapper .breadcrumb ul,
#app:has(.page-container) .breadcrumb ul,
#app:has(.event-cal) .breadcrumb ul {
    width: calc(85% - 20px);
    max-width: calc(1920px - 20px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;

    li:first-child {
        margin-left: 0;
    }

    @media only screen and (max-width: 1200px) {
        text-align: left;
    }
}

/* Breadcrumbs */

/* ================================================================== */
/*  END CMS Pages */
/* ================================================================== */

/* ================================================================== */
/*  START Staff Directory */
/* ================================================================== */
#app #staff .filters .search {
    align-self: flex-start;
    
    .form-input input {
        height: auto;
    }

    .search-icon {
        top: 50%;
        translate: 0 -50%;
    }
}
/* ================================================================== */
/*  END Staff Directory */
/* ================================================================== */
