@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    /* --primary-font: Inter, Helvetica, Arial, sans-serif */
    --secondary-font: "PT Sans", sans-serif;
    --cursive-font: "Caveat", cursive;
    /* --font-family: var(--primary-font) !important; */
    container-type: inline-size;
    color: var(--primary-dark);
}

#app {
    --side-padding: 32px;
    --section-header-font-size: 30px;
    --section-header-font-weight: 700;
    --section-header-accent-color: var(--secondary-color);

    @media (max-width: 599px) {
        --side-padding: 20px;
    }
}

#app h1,
#app .see-all-container h2,
#cms-footer h2 {
    font-family: PT Sans, sans-serif;
}

#app #home .see-all-container h2 {
    font-weight: 700;
    text-transform: capitalize;
}

#home .see-all-button,
#home .see-all-container a,
#home .see-all-events::before,
#home .see-all-button.sydney::before {
    --custom-border-radius: 4px;
}


/* ------------------------------------------ */
/* --------- HEADER CHANGES - START --------- */
/* ------------------------------------------ */

@media (min-width: 1024px) {
    #cms-header {
        --header-position: relative !important;
        --left-header-width: 450px;
        --sign-in-button-width: 100px;
        --header-menu-font-size: 15px;
        --header-option-button-width: 44px;
        --header-options-section-gap: 15px;
        --header-side-padding: var(--side-padding, 40px);
        --menu-items-side-padding: 24px;

        @media (max-width: 1699px) {
            --menu-items-side-padding: 20px;
        }

        @media (max-width: 1499px) {
            --left-header-width: 375px;
            --header-option-button-width: 36px;
            --header-options-section-gap: 10px;
            --menu-items-side-padding: 16px;
        }

        .header-bar-wrapper {
            display: flex;
            align-items: center;
            flex-direction: row;
            padding-left: var(--header-side-padding);
            padding-right: var(--header-side-padding);
            position: relative;

            #h3 {
                width: var(--left-header-width);

                .school-info {
                    .name {
                        .org-name {
                            font-size: 20px;
                            text-transform: uppercase;
                            font-weight: 700;
                            line-height: 1.1;
                        }

                        .slogan {
                            font-size: 15px;
                            font-style: italic;
                            font-weight: 400;
                        }
                    }
                }

                .utility-menu {
                    padding-left: unset;
                    padding-right: 10px;

                    .utility-bar {
                        display: none;
                    }

                    .translate-button {
                        display: block;
                        position: absolute;
                        right: calc(var(--sign-in-button-width) + var(--header-side-padding) + var(--header-options-section-gap));
                        margin-right: unset;
                        margin-left: unset;
                        width: var(--header-option-button-width);
                        height: var(--header-option-button-width);
                        border: 1px solid #D1D5DB;
                        border-radius: 50%;

                        span.translate-text {
                            display: none;
                        }

                        svg {
                            display: none;
                        }

                        &:after {
                            content: '';
                            display: block;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            width: calc(var(--header-option-button-width) * .5);
                            height: calc(var(--header-option-button-width) * .5);
                            background-color: var(--utility-link-color);
                            mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd'%3E%3Cpath d='M12 0c6.623 0 12 5.377 12 12s-5.377 12-12 12-12-5.377-12-12 5.377-12 12-12m2.557 16h-5.115c.546 2.46 1.441 4.114 2.558 5.744 1.194-1.741 2.041-3.41 2.557-5.744m-7.157 0h-4.567c1.236 2.825 3.704 4.972 6.755 5.716-1.048-1.733-1.783-3.658-2.188-5.716m13.767 0h-4.567c-.391 1.988-1.095 3.887-2.175 5.694 3.012-.763 5.517-2.895 6.742-5.694m-14.005-6h-4.962c-.267 1.313-.267 2.685 0 4h4.915c-.119-1.329-.101-2.672.047-4m7.661 0h-5.647c-.165 1.326-.185 2.672-.053 4h5.753c.133-1.328.111-2.673-.053-4m6.977 0h-4.963c.148 1.328.166 2.671.048 4h4.915c.26-1.285.273-2.648 0-4m-12.156-7.729c-3.077.732-5.567 2.886-6.811 5.729h4.653c.435-2.042 1.178-3.985 2.158-5.729m2.355-.048c-1.089 1.77-1.91 3.453-2.463 5.777h4.927c-.534-2.246-1.337-3.948-2.464-5.777m2.368.069c1.013 1.812 1.733 3.76 2.146 5.708h4.654c-1.232-2.816-3.762-4.958-6.8-5.708'/%3E%3C/svg%3E");
                            mask-size: contain;
                        }
                    }
                }
            }

            #m5 {
                width: calc(100% - var(--left-header-width));
                margin-left: 0;
                margin-right: 0;

                .bar-nav-menu-bar {
                    padding-right: unset;
                    padding-left: 10px;
                    justify-content: flex-end;
                }

                .options-wrapper {
                    &:has(#explore-button) {
                        display: none;
                    }

                    .bar-nav-menu--drawer {
                        top: calc(4px + var(--header-height));

                        .bar-nav--drawer-element-title-text {
                            font-size: var(--header-menu-font-size);
                        }
                    }

                    #drawer-schoolsbutton {
                        .bar-nav-menu--drawer-content-wrapper {
                            &::-webkit-scrollbar {
                                width: 4px;
                            }

                            &::-webkit-scrollbar-track {
                                background: #f1f1f1;
                            }

                            &::-webkit-scrollbar-thumb {
                                background: #888;
                            }

                            &::-webkit-scrollbar-thumb:hover {
                                background: #555;
                            }
                        }

                    }
                }

                .bar-nav-menu--align-right {
                    .bar-menu-item {
                        padding: 10px var(--menu-items-side-padding);

                        .menu-item-text {
                            text-transform: unset;
                        }

                        .menu-item-icon {
                            width: 1.25em;
                            height: 1.25em;

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

                        .item-type-header {
                            font-size: var(--header-menu-font-size);
                            text-transform: unset;
                        }
                    }
                }

                .bar-end-options {
                    /* works for 3 buttons: Search, Translate, Sign In */
                    width: calc(var(--header-options-section-gap) * 2 + var(--sign-in-button-width) + var(--header-option-button-width) * 2);
                    justify-content: space-between;
                    flex-shrink: 0;

                    .sign-in-button {
                        width: var(--sign-in-button-width);
                        font-size: var(--header-menu-font-size);
                        padding: 4px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        text-align: center;
                        border-radius: 8px;
                        text-transform: capitalize;
                    }

                    #searchbutton {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: var(--header-option-button-width);
                        height: var(--header-option-button-width);
                        margin-right: unset;
                        border: 1px solid #D1D5DB;
                        border-radius: 50%;

                        .button-action-content {
                            width: calc(var(--header-option-button-width) * .4);
                            height: calc(var(--header-option-button-width) * .4);
                            background-color: var(--utility-link-color);
                            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M23.809 21.646l-6.205-6.205c1.167-1.605 1.857-3.579 1.857-5.711 0-5.365-4.365-9.73-9.731-9.73-5.365 0-9.73 4.365-9.73 9.73 0 5.366 4.365 9.73 9.73 9.73 2.034 0 3.923-.627 5.487-1.698l6.238 6.238 2.354-2.354zm-20.955-11.916c0-3.792 3.085-6.877 6.877-6.877s6.877 3.085 6.877 6.877-3.085 6.877-6.877 6.877c-3.793 0-6.877-3.085-6.877-6.877z'/%3E%3C/svg%3E");
                            mask-size: contain;

                            svg {
                                display: none;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1199px) {
    #cms-header {
        --header-position: relative !important;
    }
}


#cms-header {
    #h3 {
        .mobile-header {
            padding-top: 10px;
            padding-bottom: 10px;

            .logo {
                padding-right: unset;
                margin-bottom: 0;
            }

            .school-info {
                padding-bottom: unset;
                padding-left: 10px;
                padding-right: 10px;
                line-height: 1;
            }
        }
    }
}


#view-header #schools-menu-sm1 {
    position: absolute;
    width: calc(100% - 10px);
    max-width: unset;
    left: 5px;
    top: calc(100% + 5px);
    transform: unset;
    padding: 0;
    border-radius: 0 0 10px 10px;

    .wrapper {
        width: 100%;
        max-height: calc(100vh - var(--header-height) - 50px);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding-left: 2%;
        padding-right: 2%;

        .column {
            width: auto;

            .schools-menu-header {
                font-size: 20px;
            }

            .parent-item {
                width: 100%;
            }

            .child-ul {
                display: block;
                max-height: 100%;
                width: 100%;

                .child-item {
                    width: 100%;
                    margin-bottom: 5px;

                    a {
                        display: block;
                        line-height: 1.2;
                        padding-top: 5px;
                        padding-bottom: 5px;
                        font-size: 15px;
                    }
                }
            }
        }
    }
}

/* ------------------------------------------ */
/* ---------- HEADER CHANGES - END ---------- */
/* ------------------------------------------ */



/* ------------------------------------------ */
/* --------- GALLERY CHANGES - START --------- */
/* ------------------------------------------ */
@media (min-width: 1200px) {
    #cms-gallery {
        --side-padding: 64px;
        --gallery-content-width: 700px;
        --gallery-button-size: 50px;
        --gallery-header-font-size-base: 72px;
        --gallery-description-font-size: 24px;

        @media (max-width: 1499px) {
            --side-padding: 32px;
            --gallery-content-width: 600px;
            --gallery-header-font-size-base: 64px;
            --gallery-description-font-size: 18px;
        }

        .gallery-v7 {

            --gradient-color-1: color-mix(in oklab, var(--bg-color), black 50%);
            --gradient-color-2: color-mix(in srgb,
                    color-mix(in oklab, var(--bg-color), black 25%) 30%,
                    transparent);
            --gradient-color-3: color-mix(in srgb,
                    color-mix(in oklab, var(--bg-color), black 85%) 60%,
                    transparent);

            .gallery-container {
                position: relative;

                &:after {
                    content: '';
                    display: block;
                    position: absolute;
                    inset: 0;
                    background: linear-gradient(90deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 50%, var(--gradient-color-3) 100%);
                }
            }

            .image-wrapper {
                img {
                    filter: unset;
                    -webkit-filter: unset;
                }
            }

            .gallery-content {
                padding-left: var(--side-padding, 40px);
                padding-right: 20px;
                max-width: var(--gallery-content-width);
                z-index: 3;

                .title {


                    h1 {
                        font-size: var(--gallery-header-font-size-base);
                    }

                    h2 {
                        font-size: calc(var(--gallery-header-font-size-base) * .8);
                    }

                    h3 {
                        font-size: calc(var(--gallery-header-font-size-base) * .65);
                    }

                    h1,
                    h2,
                    h3,
                    h4 {
                        line-height: 1;
                        font-family: var(--secondary-font);

                        em {
                            font-size: 1.33em;
                            font-family: var(--cursive-font);
                            display: inline-block;
                            position: relative;
                            color: var(--gallery-cursive-font-color, inherit);
                            font-weight: 700;

                            &:after {
                                content: '';
                                display: block;
                                background-color: currentColor;
                                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 160' preserveAspectRatio='none' %3E%3Cpath d='M 25 82 C 420 -42  980 92  1370 66 C 1538 55  1678 29  1775 15' fill='none' stroke='%23c99422' stroke-width='21' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
                                mask-size: 100% 100%;
                                mask-repeat: no-repeat;
                                width: 100%;
                                height: 20px;
                                position: absolute;
                                bottom: -15%;
                            }
                        }
                    }
                }

                .description {
                    font-family: var(--secondary-font);
                    font-size: var(--gallery-description-font-size);
                    line-height: 1.5;

                    p {
                        font-size: inherit;
                        line-height: inherit;
                    }
                }

                .button-link {
                    button {
                        font-weight: 400;
                        line-height: 1.5;
                        text-transform: unset;
                        position: relative;
                        display: flex;
                        align-items: center;
                        column-gap: 10px;

                        &:hover {
                            transform: none;
                            background-color: color-mix(in oklab, var(--button-bg-color), black 10%);
                        }

                        &:after {
                            content: '';
                            width: 1.2em;
                            height: 1.2em;
                            display: inline-block;
                            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' width='512' height='512' x='0' y='0' viewBox='0 0 512 512' style='enable-background:new 0 0 512 512' xml:space='preserve' class=''%3E%3Cg%3E%3Cpath d='M398.5 281h-298c-13.81 0-25-11.19-25-25s11.19-25 25-25h298c13.81 0 25 11.19 25 25s-11.19 25-25 25z' fill='%23000000' opacity='1' data-original='%23000000'%3E%3C/path%3E%3Cpath d='M284.01 399.25a24.96 24.96 0 0 1-18.34-8c-9.39-10.12-8.79-25.94 1.33-35.33l107.47-99.67-110.72-99.94c-10.25-9.25-11.06-25.06-1.81-35.31s25.06-11.06 35.31-1.81l131 118.25c5.21 4.7 8.2 11.37 8.25 18.39s-2.85 13.73-8 18.5L301 392.58a24.917 24.917 0 0 1-16.99 6.67z' fill='%23000000' opacity='1' data-original='%23000000'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
                            background-color: currentColor;
                            mask-size: contain;
                        }
                    }
                }
            }

            .gallery-controls {
                justify-content: flex-start;
                padding-left: var(--side-padding);
                max-width: var(--gallery-content-width);

                .pause.button {
                    cursor: pointer;
                    width: var(--gallery-button-size);
                    height: var(--gallery-button-size);
                    order: 3;
                    margin-right: unset;

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

                .left-arrow.button {
                    cursor: pointer;
                    width: var(--gallery-button-size);
                    height: var(--gallery-button-size);
                    order: 1;

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

                .right-arrow.button {
                    cursor: pointer;
                    width: var(--gallery-button-size);
                    height: var(--gallery-button-size);
                    order: 2;

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

                .pager {
                    --bullet-size: 24px;
                    --pager-gap: 16px;
                    order: -1;
                    border: 1px solid var(--pager-border-color);
                    border-radius: 13px;
                    gap: var(--pager-gap);
                    overflow: hidden;

                    /* If it has at least 10 slides, we need a smaller spacer */
                    &:has(button.item:nth-child(10)) {
                        --pager-gap: 10px;
                    }

                    button.item {
                        width: var(--bullet-size);
                        height: var(--bullet-size);
                        position: relative;

                        &:after {
                            content: '';
                            position: absolute;
                            width: calc(var(--bullet-size) * 1.5 + var(--pager-gap));
                            height: 24px;
                            top: -1px;
                            left: 0;
                            background-color: var(--pager-border-color);
                            transition: all .25s linear;
                        }

                        &:before {
                            content: '';
                            position: absolute;
                            width: calc(var(--bullet-size) * 1.5 + var(--pager-gap));
                            height: 24px;
                            top: -1px;
                            right: calc((var(--bullet-size) * 1.5 + var(--pager-gap))/2 * -1);
                            background-color: transparent;
                            z-index: 1;
                        }

                        &[aria-current="active"] {
                            &:after {
                                opacity: 0;
                            }

                            &~button.item {
                                opacity: 0;

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


/* Fix the Gallery v7 aspect ratio issue on mobile */

@media (max-width: 959px) {
    #cms-gallery #G7 {
        --image-height: 650px !important;

        .gallery-content {
            .button-link {
                button {
                    font-size: 15px;
                    letter-spacing: 0;
                    padding: 12px 18px;
                }
            }
        }
    }
}


@media (max-width: 599px) {
    #cms-gallery #G7 {
        --image-height: 550px !important;
    }
}

/* ------------------------------------------ */
/* ---------- GALLERY CHANGES - END --------- */
/* ------------------------------------------ */


/* ------------------------------------------ */
/* ------ EVENTS OVER GALLERY - START ------- */
/* ------------------------------------------ */

.events-over-gallery-section-wrapper {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    right: 5px;

    @media (max-width: 1199px) {
        position: static;
        width: 100%;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: var(--side-padding);
        padding-right: var(--side-padding);
    }
}

.events-over-gallery-section {
    --events-over-gallery-color: #fff;
    --events-over-gallery-accent-color: #fff;
    --events-over-gallery-width: 450px;
    --date-accent-color: var(--secondary-color);
    --date-accent-color: var(--secondary-color);
    --date-accent-color-opacity: 20%;
    --view-all-button-color: #fff;
    --visible-items: 4;
    --item-height: 60px;
    --item-gap: 24px;
    display: flex;

    @media (max-width: 1199px) {
        --events-over-gallery-color: #000;
        --view-all-button-color: #000;
        display: block;
    }

    .events-over-gallery-section__left {
        .events-over-gallery-view-all {
            margin-top: .5em;
            font-size: 15px;

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

            @media (min-width: 1200px) {
                a {
                    color: var(--view-all-button-color);
                    text-decoration: none;
                }
            }
        }

        .events-over-gallery-section-header {
            color: var(--events-over-gallery-color);
            font-weight: 400;
            padding-bottom: 15px;

            h1,
            h2,
            h3 {
                font-weight: 400;

                span {
                    padding-right: 5px;

                    @media (min-width: 1200px) {
                        color: var(--events-over-gallery-accent-color);
                    }
                }
            }
        }
    }

    .events-over-gallery-slider {
        color: var(--events-over-gallery-color);
        width: 100%;

        @media (min-width: 1200px) {
            width: var(--events-over-gallery-width);
            height: calc(var(--item-height) * var(--visible-items) + (var(--visible-items) - 1) * var(--item-gap));
        }

        .events-over-gallery-item {
            color: inherit;
            display: flex;
            align-items: center;
            column-gap: 15px;
            text-decoration: none;
            position: relative;

            .events-over-gallery-item__left {
                width: var(--item-height);
                flex-shrink: 0;

                .events-over-gallery-section-header {
                    color: var(--events-over-gallery-color);
                }

                .events-over-gallery-item__date {
                    .date {
                        padding-top: 8px;
                        padding-bottom: 8px;
                        width: var(--item-height);
                        height: var(--item-height);
                        display: flex;
                        flex-wrap: wrap;
                        align-items: center;
                        justify-content: center;
                        text-align: center;
                        border-radius: 4px;
                        border: 1px solid color-mix(in srgb, var(--date-accent-color) var(--date-accent-color-opacity), transparent);
                        background: rgba(255, 255, 255, 0.05);
                        transition: background .25s linear;

                        .start-month {
                            width: 100%;
                            text-transform: uppercase;
                            font-size: 11px;
                        }

                        .start-date {
                            width: 100%;
                            font-size: 20px;
                        }

                        .start-weekday,
                        .date-separator,
                        .end-month,
                        .end-date,
                        .end-weekday {
                            display: none;
                        }
                    }
                }
            }

            .events-over-gallery-item__title {
                font-size: 15px;
                font-weight: 400;
                --lines: 2;

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

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

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

            .events-over-gallery-item__time {
                font-size: 12px;
                font-weight: 400;
                margin-top: 0.5em;
                color: color-mix(in srgb, var(--events-over-gallery-color) 75%, transparent);

                .time-separator {
                    padding-left: 3px;
                    padding-right: 3px;
                }
            }

            .events-over-gallery-item__right {
                width: calc(100% - var(--item-height) - 20px);
                padding-right: 15px;
            }

            &:has(.events-over-gallery-item__title a:hover) {
                .date {
                    background: rgba(255, 255, 255, 0.15);
                }
            }
        }
    }

    .events-over-gallery-section__right {
        width: 35px;
        display: flex;
        justify-content: space-between;

        @media (max-width: 1199px) {
            align-items: center;
            padding-top: 25px;
            width: 100%;
        }

        .events-over-gallery-view-all {
            display: none;

            @media (max-width: 1199px) {
                display: block;
                margin-top: .5em;
                font-size: 15px;

                a {
                    color: var(--view-all-button-color);
                    text-decoration: none;
                }
            }
        }

        .events-over-gallery-slider-progress-bar {
            width: 3px;
            height: 100%;
            background-color: color-mix(in srgb, var(--events-over-gallery-color) 25%, transparent);

            .swiper-scrollbar-drag {
                background-color: var(--events-over-gallery-color);
            }
        }

        .events-over-gallery-section__controls {
            width: 27px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            @media (max-width: 1199px) {
                width: auto;
                flex-direction: row;
                column-gap: 20px;
            }

            .events-over-gallery-slider-button-prev,
            .events-over-gallery-slider-button-next {
                width: 25px;
                height: 25px;
                background-color: var(--events-over-gallery-color);
                mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 21"><path d="M4.96289 0.0820312L0.246094 4.59375C0.0820312 4.67578 0 4.8125 0 5.00391C0 5.19531 0.0820312 5.37305 0.246094 5.53711C0.410156 5.64648 0.581055 5.70117 0.758789 5.70117C0.936523 5.70117 1.08008 5.64648 1.18945 5.53711L4.55273 2.25586V41.3438C4.55273 41.4805 4.62109 41.6172 4.75781 41.7539C4.89453 41.8906 5.07227 41.959 5.29102 41.959C5.50977 41.959 5.66699 41.8906 5.7627 41.7539C5.8584 41.6172 5.90625 41.4805 5.90625 41.3438V2.37891L9.26953 5.61914C9.43359 5.72852 9.60449 5.7832 9.78223 5.7832C9.95996 5.7832 10.1035 5.72852 10.2129 5.61914C10.377 5.50977 10.459 5.36621 10.459 5.18848C10.459 5.01074 10.377 4.83984 10.2129 4.67578L5.49609 0.164062C5.44141 0.0546875 5.36621 0 5.27051 0C5.1748 0 5.07227 0.0273438 4.96289 0.0820312Z" fill="white" fill-opacity="0.8"/></svg>');
                mask-size: contain;
                mask-repeat: no-repeat;
                mask-position: center;
                cursor: pointer;

                @media (max-width: 1199px) {
                    transform: rotate(-90deg);
                }
            }

            .events-over-gallery-slider-button-next {
                transform: rotate(180deg);

                @media (max-width: 1199px) {
                    transform: rotate(90deg);
                }
            }
        }
    }
}

/* ------------------------------------------ */
/* ------- EVENTS OVER GALLERY - END -------- */
/* ------------------------------------------ */

/* ------------------------------------------ */
/* -------------- NEWS - START -------------- */
/* ------------------------------------------ */

#app .is-not-in-cms.news-section-title-area {
    display: none;
}

#custom-news-u-46 {
    --thumb-title-color: var(--primary-color);
    --thumb-date-color: #6B7280;
    --main-article-color: #fff;
    --main-article-readmore-color: #fff;
    --buttonBgColor: var(--secondary-color);
    --buttonTextColor: var(--primary-color);
    --header-accent-color: var(--secondary-color);
    container-name: customNewsU46;
    container-type: inline-size;

    .see-all-container {
        &.see-all-top {
            @media (max-width: 600px) {
                .see-all-button {
                    display: none;
                }
            }
        }
    }

    .news-article-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 25px 30px;

        @media (max-width: 1699px) {
            gap: 10px 20px;
        }

        @container customNewsU46 (width < 850px) {
            gap: 10px 15px;
        }

        .news-article {
            &:nth-child(1) {
                position: relative;
                grid-column: span 2 / span 2;
                grid-row: span 3 / span 3;
                border-radius: 20px;
                overflow: hidden;

                @container customNewsU46 (width < 950px) {
                    border-radius: 15px;
                }

                .news-article__image {
                    display: block;
                }

                .news-article__content {
                    position: absolute;
                    width: 100%;
                    left: 0;
                    bottom: 0;
                    z-index: 2;
                    background: linear-gradient(0deg, #000 0%, rgba(11, 30, 64, 0.50) 50%, rgba(0, 0, 0, 0) 100%);
                    padding: 50px 24px 24px 24px;
                    color: var(--main-article-color);

                    @container customNewsU46 (width < 850px) {
                        padding: 50px 15px 15px 15px;
                    }
                }

                .news-article__date {
                    .date {
                        display: flex;
                        column-gap: 5px;
                        font-size: 15px;
                        margin-bottom: .25em;
                    }

                    .start-weekday {
                        display: none;
                    }
                }

                .news-article__title {
                    font-size: 28px;
                    margin-top: .1em;
                    margin-bottom: .5em;

                    a {
                        text-decoration: none;
                        color: inherit;
                        font-weight: 400;
                    }

                    @container customNewsU46 (width < 850px) {
                        font-size: 22px;
                    }
                }

                .news-article__snippet {
                    line-height: 1.5;
                    --lines: 3;

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

                    @container customNewsU46 (width < 850px) {
                        --lines: 2;
                        font-size: 15px;
                    }
                }

                .news-article__readmore {
                    display: block;
                    color: var(--main-article-readmore-color);
                    text-decoration: none;
                    margin-top: 1em;

                    @container customNewsU46 (width < 850px) {
                        font-size: 15px;
                    }
                }
            }

            &:nth-child(2) {
                grid-column-start: 3;
            }

            &:nth-child(3) {
                grid-column-start: 3;
                grid-row-start: 2;
            }

            &:nth-child(4) {
                grid-column-start: 3;
                grid-row-start: 3;
            }

            .news-article__image {
                aspect-ratio: 9/5;

                .cover-image {
                    aspect-ratio: inherit;
                }

                img {
                    aspect-ratio: inherit;
                    max-width: 100%;
                    object-fit: cover;
                }
            }

            &:not(:nth-child(1)) {
                display: flex;
                align-items: center;
                column-gap: 10px;

                .news-article__image {
                    width: 110px;
                    height: 110px;
                    flex-shrink: 0;
                    aspect-ratio: 1/1;
                    border-radius: 5px;
                    overflow: hidden;
                    border: 1px solid #F3F4F6;
                    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
                    padding: 5px;

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

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

                    .cover-image {
                        width: 100%;
                        height: 100%;

                        img {
                            border-radius: 5px;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }
                }

                .news-article__snippet {
                    display: none;
                }

                .news-article__readmore {
                    display: none;
                }

                .news-article__title {
                    font-size: 16px;

                    @container customNewsU46 (width < 1100px) {
                        font-size: 15px;
                    }

                    @container customNewsU46 (width < 950px) {
                        font-size: 15px;
                    }

                    @container customNewsU46 (width < 850px) {
                        font-size: 13px;
                    }

                    h3 {
                        font-weight: 400;
                        --lines: 2;

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

                    a {
                        text-decoration: none;
                        color: var(--thumb-title-color);
                    }
                }

                .news-article__date {
                    .date {
                        display: flex;
                        column-gap: 5px;
                        font-size: 14px;
                        margin-bottom: .25em;
                    }

                    .start-weekday {
                        display: none;
                    }
                }
            }
        }

        @container customNewsU46 (width < 750px) {
            gap: 10px 15px;
            display: flex;
            flex-wrap: wrap;
        }

        @container customNewsU46 (width < 500px) {
            --main-article-color: #000;

            .news-article {
                &:nth-child(1) {
                    border-radius: 0;

                    .news-article__image {
                        border-radius: 8px;
                        overflow: hidden;
                    }

                    .news-article__content {
                        padding: 25px 0 15px;
                        position: static;
                        background: none;
                    }
                }
            }

        }
    }


}

@media (max-width: 1199px) {
    #app #home .main:has(.custom-news-u-46) {
        .view-container {
            flex-wrap: wrap;
        }

        .first.right-sidebar {
            flex: unset;
            width: 100%;
        }

        .last.right-sidebar {
            flex: unset;
            width: 100%;
        }
    }
}

/* ------------------------------------------ */
/* -------------- NEWS - END ---------------- */
/* ------------------------------------------ */


/* ------------------------------------------ */
/* ------------- ABOUT - START -------------- */
/* ------------------------------------------ */

#about-u-46 {
    .header-slot-container:after {
        display: none;
    }
}

.about-u-46 {
    --section-bg: #F9F9F9;
    --search-height: 44px;
    --search-magnify-button-bg-color: var(--secondary-color);
    --search-magnify-button-text-color: var(--secondary-color-contrast);
    --search-input-like-bg-color: #fff;
    --search-input-like-text-color: #9CA3AF;
    --search-input-like-border-color: #E5E7EB;
    --section-max-width: 550px;
    --button-bg-color: #fff;
    --button-text-color: var(--primary-color);
    --button-icon-size: 36px;
    --gap-between-buttons: 12px;
    --button-bg-color-hover-opacity: 5%;
    --button-title-font-size: 13px;

    margin-left: auto;
    margin-right: auto;
    background-color: var(--section-bg);

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

    &:after {
        content: '';
        display: block;
        position: absolute;
        background-color: var(--section-bg);
        inset: 0;
        z-index: -1;
    }

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

    .about-u-46-main {
        max-width: var(--section-max-width);
        margin-left: auto;
        margin-right: auto;
    }

    .about-u-46-search {
        display: flex;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        cursor: pointer;

        .about-u-46-search__l {
            width: calc(100% - var(--search-height) - 5px);
            height: var(--search-height);
            background-color: var(--search-input-like-bg-color);
            border: 1px solid var(--search-input-like-border-color);
            border-right: 0;
            border-radius: 4px 0 0 4px;
            display: flex;
            align-items: center;
            padding-left: 12px;
            color: var(--search-input-like-text-color);
            font-size: 15px;
        }

        .about-u-46-search__r {
            width: calc(var(--search-height) + 5px);
            height: var(--search-height);
            border: 1px solid var(--search-magnify-button-bg-color);
            background-color: var(--search-magnify-button-bg-color);
            color: var(--search-magnify-button-text-color);
            border-radius: 0 4px 4px 0;
            position: relative;

            &:after {
                content: '';
                display: block;
                position: absolute;
                inset: 0;
                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M23.809 21.646l-6.205-6.205c1.167-1.605 1.857-3.579 1.857-5.711 0-5.365-4.365-9.73-9.731-9.73-5.365 0-9.73 4.365-9.73 9.73 0 5.366 4.365 9.73 9.73 9.73 2.034 0 3.923-.627 5.487-1.698l6.238 6.238 2.354-2.354zm-20.955-11.916c0-3.792 3.085-6.877 6.877-6.877s6.877 3.085 6.877 6.877-3.085 6.877-6.877 6.877c-3.793 0-6.877-3.085-6.877-6.877z'/%3E%3C/svg%3E");
                background-color: currentColor;
                mask-position: center;
                mask-size: 40%;
                mask-repeat: no-repeat;
            }
        }
    }

    .about-u-46-buttons {
        margin-top: 2.5em;
    }

    .about-u-46-button-list {
        display: grid;
        column-gap: var(--gap-between-buttons);
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));

        &>div:has(.about-u-46-button-item) {
            margin-bottom: var(--gap-between-buttons);
        }

        .about-u-46-button-item {
            border-radius: 5px;
            box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.10);
            background-color: var(--button-bg-color);
            color: var(--button-text-color);
            height: 100%;
            text-align: center;
            padding-top: 15px;
            padding-bottom: 5px;
            position: relative;
            transition: all .25s linear;

            .about-u-46-button-icon {
                display: block;
                padding-top: 10px;
                padding-bottom: 15px;
                min-height: var(--button-icon-size);

                span {
                    display: block;
                    margin-left: auto;
                    margin-right: auto;
                    width: var(--button-icon-size);
                    height: var(--button-icon-size);
                }

                svg {
                    max-width: var(--button-icon-size);
                    max-height: var(--button-icon-size);
                    fill: currentColor;
                }
            }

            .about-u-46-button-title {
                font-size: var(--button-title-font-size);

                a {
                    color: inherit;
                    text-decoration: none;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    text-align: center;
                    min-height: 40px;

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

            &:has(.about-u-46-button-title a:hover) {
                box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.15);
                background-color: 1px solid color-mix(in srgb, var(--button-bg-color) var(--button-bg-color-hover-opacity), transparent);
            }
        }
    }
}

#app #home .main .right-sidebar:has(.about-u-46),
#app #home .main .left-sidebar:has(.about-u-46) {
    position: relative;
}

/* ------------------------------------------ */
/* -------------- ABOUT - END --------------- */
/* ------------------------------------------ */



/* ------------------------------------------ */
/* ----------- LF CHANGES - START ----------- */
/* ------------------------------------------ */

/* Custom Live Feed V8 (District) */




body.school-district-u-46,
body.district-u-46-sandbox {
    #home #cms-live-feed .live-feed-lf8 {
        --image-height-aspect-ratio: 80%;
        --live-feed-custom-border-radius: 10px;

        & .wrapper {
            background: linear-gradient(90deg,
                    var(--bg-color) 0%,
                    color-mix(in srgb, var(--bg-color), #000000 40%) 50%,
                    color-mix(in srgb, var(--bg-color), #000000 70%) 100%);
        }

        & .card-gallery {


            & .image-gallery:has(.gallery-controls) {
                &::before {
                    content: close-quote;
                    position: absolute;
                    inset: 0;
                    width: 100%;
                    height: 70px;
                    background: linear-gradient(to bottom, var(--image-gradient-color) 0%, transparent 100%);
                    opacity: var(--image-gradient-opacity);
                    z-index: 5;
                }

                .gallery-controls {
                    top: 5px;
                    align-items: flex-start;
                    z-index: 5;
                }
            }
        }

        & .card-content {
            border-top: 2px solid var(--secondary-color);

            &:has(+ .card-gallery) {
                position: relative;
                overflow: visible;

                .card-header {
                    position: absolute;
                    bottom: 100%;
                    left: 0;
                    width: 100%;
                    padding: 40px 20px 15px 20px;
                    box-sizing: border-box;
                    z-index: 5;
                    --author-color: #FFF;
                    --time-color: #FFF;
                }
            }
        }

        & .see-all-button {
            margin-left: 0;
        }

        & .live-feed-social-icons {
            margin-left: auto;
            margin-right: 20px;

            ul {
                --icon-size: 32px;

                list-style: none;
                padding: 0;
                display: flex;

                a {
                    margin-bottom: unset;
                }
            }
        }
    }

    #home #cms-live-feed .buttons-container,
    #home #cms-live-feed .slider-button svg {
        display: none;
    }

    #home #cms-live-feed .cards-slider>.slider-button {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 40%;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        transform: none;
        -webkit-transform: none;
        z-index: 9;

        &::after {
            content: close-quote;
            display: inline-block;
            border: solid var(--arrow-icon-color, #64748B);
            border-width: 0 3px 3px 0;
            padding: 0.5em;
        }

        &.left {
            left: 15px;

            &::after {
                margin-left: 5px;
                transform: rotate(135deg);
                -webkit-transform: rotate(135deg);
            }
        }

        &.right {
            right: 15px;

            &::after {
                margin-right: 5px;
                transform: rotate(-45deg);
                -webkit-transform: rotate(-45deg);
            }
        }
    }
}

/* Custom Live Feed V2 (Schools) */

body:not(.school-district-u-46, .district-u-46-sandbox) {

    #home .live-feed-lf8 {
        .cards-slider {
            padding-top: 5px;
            padding-bottom: 5px;
        }

        .cards-slider::after {
            display: none;
        }

        & .wrapper {
            background: linear-gradient(90deg,
                    var(--bg-color) 0%,
                    color-mix(in srgb, var(--bg-color), #fff 5%) 50%,
                    color-mix(in srgb, var(--bg-color), #fff 20%) 100%);

            .card {
                background-color: var(--post-bg-color);
                border-radius: var(--live-feed-custom-border-radius, var(--custom-border-radius));

                .time-ago {
                    margin-top: 5px;
                }

                .card-gallery {
                    padding: 5px;
                }

                .card-content {
                    box-shadow: none;
                    display: flex;
                    justify-content: space-between;
                    padding-bottom: 5%;

                    .card-description {
                        line-height: 1.5;
                    }
                }
            }

            .see-all-top {
                .see-all-button {
                    margin-left: 15px;
                }
            }
        }

        & .live-feed-social-icons {
            margin-left: auto;
            margin-right: 20px;

            ul {
                --icon-size: 32px;

                list-style: none;
                padding: 0;
                display: flex;

                a {
                    margin-bottom: unset;
                }
            }
        }
    }
}

/* ------------------------------------------ */
/* ------------ LF CHANGES - END ------------ */
/* ------------------------------------------ */

/* ------------------------------------------ */
/* ------------ PROGRAMS - START ------------ */
/* ------------------------------------------ */

#app {
    --programs-custom-border-radius: 10px;
}

/* ------------------------------------------ */
/* ------------- PROGRAMS - END ------------- */
/* ------------------------------------------ */


/* ------------------------------------------ */
/* -------------- STATS - START ------------- */
/* ------------------------------------------ */

#app #by-the-numbers-v5 {
    --section-title-color: #000000;
    --header-accent-color: var(--secondary-color);

    & .header-slot-container {
        margin-inline: unset;
    }

    & .flip-cards-container {
        max-width: 100%;
    }
}

/* ------------------------------------------ */
/* -------------- STATS - END --------------- */
/* ------------------------------------------ */

/* ------------------------------------------ */
/* --------- VIDEO SPOTLIGHT - START -------- */
/* ------------------------------------------ */

#app #section-story-slider {
    --side-padding: 32px;
    --section-bg-color: var(--primary-color);
    --font-size-heading-h3: 26px;
    --accent-color: var(--secondary-color);
    --buttonBgColor: var(--secondary-color);
    --buttonTextColor: var(--primary-color);
    --left-side-width: 350px;

    opacity: 0;
    transition: opacity .25s linear;
    display: flex;
    color: #fff;
    padding-top: 65px;
    padding-bottom: 65px;
    padding-left: var(--side-padding);
    padding-right: 10px;


    @media (max-width: 1499px) {
        --left-side-width: 300px;
    }

    @media (max-width: 1199px) {
        padding-top: 50px;
        padding-bottom: 50px;
        padding-right: var(--side-padding);
    }

    @media (max-width: 599px) {
        --side-padding: 20px;
    }

    .see-all-left {
        text-align: left;

        @media (max-width: 1280px) {
            text-align: center;

            .header-slot-container {
                padding-bottom: 30px;
            }
        }

        h2 {
            width: 100%;
            font-size: 40px;

            @media (max-width: 1280px) {
                text-align: center;
            }
        }

        .header-top {
            font-size: 1em;
            font-weight: 400;
            margin-bottom: unset;
        }

        .header-bottom {
            margin-top: unset;
            font-size: 1.33em;
            font-family: var(--cursive-font);
            display: inline-block;
            position: relative;
            text-transform: unset;
            color: var(--accent-color);
            font-weight: 700;
        }

        .intro {
            font-size: 18px;
            text-align: left;
            font-weight: 400;
            max-width: 1000px;

            @media (max-width: 1280px) {
                text-align: center;
            }

            p {
                line-height: 1.5;
                font-size: 1em;
            }
        }
    }

    .videos-section-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .video-stories-section-v1-container {
        display: flex;
        align-items: center;

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

        .see-all-left {
            width: var(--left-side-width);

            @media (max-width: 1280px) {
                width: 100%;
                text-align: center;
            }
        }

        .videos-section-wrapper {
            width: calc(100% - var(--left-side-width));
            overflow: hidden;

            @media (max-width: 1280px) {
                width: 100%;
                margin-top: 40px;
                overflow: unset;
            }

            #slider-story {
                margin-top: 0;
            }
        }

        .video-stories-slides {
            .video-title {}
        }
    }

    .arrows-buttons {
        svg {
            display: none;
        }
    }
}

#app.app-is-loaded #section-story-slider {
    opacity: 1;
}

/* ------------------------------------------ */
/* --------- VIDEO SPOTLIGHT - END ---------- */
/* ------------------------------------------ */


/* ------------------------------------------ */
/* -- ONLY SCHOOLS - VIDEO + STATS - START -- */
/* ------------------------------------------ */


body:not(.school-district-u-46, .district-u-46-sandbox) {
    .main .main:has(#video-component) {


        @media (min-width: 1200px) {
            width: 50%;
            display: inline-block;

            #video-component {
                padding-right: 18px;

                .main-video {
                    margin-right: unset;
                }

                .sidebar {
                    display: none;
                }
            }
        }

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

            @media (min-width: 960px) {
                .sidebar {
                    display: none;
                }
            }

            #video-component {
                padding-bottom: 10px;

                .sidebar-item {
                    &:nth-child(1)~.sidebar-item {
                        display: none;
                    }
                }
            }
        }


    }
}

body:not(.school-district-u-46, .district-u-46-sandbox) {
    &:has(#video-component) {
        .main .main:has(#video-component)+.main:has(#by-the-numbers-v5) {
            width: 50%;
            display: inline-block;

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

            #by-the-numbers-v5 {

                @media (min-width: 1200px) {
                    padding-left: 18px;
                }

                @media (max-width: 1199px) {
                    padding-top: 15px;
                }

                .flip-cards {
                    display: block;

                    .flip-card {
                        height: auto;
                        margin-bottom: 10px;
                        height: 130px;

                        @media (max-width: 767px) {
                            height: 175px;
                        }

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

                        .flip-card-front {
                            .flip-card-number {
                                margin-bottom: .25em;
                            }

                            .flip-card-image:after {
                                background: #00000098;
                            }
                        }

                        .flip-card-back {
                            padding-top: 5px;
                            padding-bottom: 5px;

                            .flip-card-title h3 {
                                font-size: 20px;

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

                            .flip-card-text {
                                font-size: 15px;
                                line-height: 1.4;

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


/* ------------------------------------------ */
/* -=- ONLY SCHOOLS - VIDEO + STATS - END --- */
/* ------------------------------------------ */

/* ------------------------------------------ */
/* --------- PODCASTS - END ---------- */
/* ------------------------------------------ */

.podcasts-area {
    --header-accent-color: var(--secondary-color);

    .podcasts-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        column-gap: 2%;

        .podcasts-item {
            iframe {
                container-name: podcastIframe;
                container-type: inline-size;
                display: block;
                width: 100%;
                border: none;
                height: 235px;

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

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

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

                @media (max-width: 767px) {
                    height: 125px;
                }

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

    }
}

/* ------------------------------------------ */
/* --------- PODCASTS - END ---------- */
/* ------------------------------------------ */


/* START Footer */

.above-footer-section {
    --section-bg-color: linear-gradient(180deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 75%, #000) 100%);

    background: var(--section-bg-color, var(--primary-color));
    color: var(--section-text-color, var(--primary-color-contrast));
    padding-left: var(--side-padding, 32px);
    padding-right: var(--side-padding, 32px);
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 25px;
    padding-top: 40px;
    padding-bottom: 40px;

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

    .above-footer-section__logo {
        display: block;

        .above-footer-section__logo-img {
            display: block;

            a {
                display: block;
            }

            img {
                max-width: 120px;
                height: auto;

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


    }

    .above-footer-section__name {

        @media (max-width: 767px) {
            width: 100%;
            text-align: center;
            margin-top: 1em;
        }

        .above-footer-section__org-name {
            font-size: 32px;

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

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

        .above-footer-section__slogan {
            font-weight: 400;
            font-size: 18px;
            font-style: italic;
        }
    }
}

#app .footer-social-links {
    --icon-color: var(--primary-color-contrast);
}

#view-footer #cms-footer {
    --section-bg-color: linear-gradient(180deg, color-mix(in srgb, var(--primary-color) 75%, #000) 0%, color-mix(in srgb, var(--primary-color) 50%, #000) 100%);

    background: var(--section-bg-color, var(--primary-color));
}

#cms-footer #footer-f1 {
    border-top: 1px solid color-mix(in srgb, var(--bg-color) 75%, #fff);
    padding-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 30px;

    .row {
        padding-bottom: 25px;
        width: 100%;

        a {
            &:hover {
                text-decoration: underline !important;
            }
        }
    }

    .apptegy-copyright {
        order: 1;
        width: 49%;
        margin-left: unset;
        margin-right: unset;
        border-top: none;
        text-align: left;
        padding-top: unset;
        padding-bottom: unset;

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

        span:nth-child(2) {
            display: none;
        }
    }

    .additional-text-bottom,
    .additional-text {
        width: 49%;
        order: 2;
        text-align: right;
        padding-top: unset;

        @media (max-width: 959px) {
            width: 100%;
            text-align: center;
            margin-top: 20px;
        }

        p {
            font-size: 14px;
            text-align: right !important;
            display: flex;
            justify-content: flex-end;
            column-gap: 15px;
            padding-bottom: unset;
            flex-wrap: wrap;

            @media (max-width: 959px) {
                width: 100%;
                text-align: center !important;
                justify-content: center;
            }

            a {
                text-decoration: none;
            }
        }
    }
}

/* END Footer */

/* ========= START CMS Pages ========= */
#page .pb-main .pb-quote.design-1,
#page .pb-main .pb-quote.design-3 {
    border-left-width: 5px;
    color: #636363;
    padding-left: 30px;
}

#page .pb-main .u-46-custom-card {
    background: #f8f8f8;
    border: solid 1px #cfcfcf;
    color: #636363;

    &.yellow-variant {
        border-bottom: 12px solid var(--secondary-color);
    }

    &.blue-variant {
        border-bottom: 12px solid var(--primary-color);
    }

    & a {
        color: inherit;
    }
}

#page .pb-main .blue-background {
    background: var(--primary-color);
}

#page .pb-main .heading-with-gray-bg {
    background: #f4f4f5;
}

#page .pb-main .pb-button.custom-icon-btns {
    place-content: center;

    & .buttons-container {
        place-content: center;

        .button.button-type-square {
            max-width: unset;
            min-height: unset;
            min-width: unset;
            width: 56px;
            height: 56px;
            transition: background-color 0.3s, transform 0.3s;

            .custom-icon-wrapper,
            .custom-icon-wrapper .custom-icon,
            .custom-icon-wrapper .custom-icon>svg {
                width: 28px;
                height: 28px;
            }

            .title-text {
                display: none;
            }

            &:hover {
                background: rgb(0, 64, 128);
                transform: scale(1.1);
            }
        }
    }
}

#page .pb-main .card-with-outline-btn {

    & .pb-button,
    & .pb-button .buttons-container {
        place-content: center;
        width: 100%;

        .button.button-theme-outline {
            width: 100%;
            border-radius: 0;
            transition: border 0.3s;

            &:hover {
                border: 3px solid var(--white-text);
            }
        }
    }
}

#page .pb-main .pb-button.custom-btn.v1 {
    --dark-button: var(--secondary-color) !important;

    .button {
        transition: background-color 0.5s ease;

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

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

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

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