/*
Theme Name:         CSC
Theme URI:          https://www.cambridgesciencecentre.org/
Description:        A custom theme developed by Rubber Cheese
Version:            1.0.0
Author:             RC
Author URI:         https://rubbercheese.com/
Text Domain:        RC
Requires PHP:       8.0
*/

.wp_pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    align-items: center;
    padding-top: 2.5rem;

    .page-numbers {
        padding: 0.2125rem 0.625rem;
        border-radius: 0.3125rem;
        color: black;
        text-decoration: none;
    }

    .page-numbers:not(.current):hover {
        background: linear-gradient(0deg,
                rgba(105, 105, 105, 0.2) 0%,
                rgba(105, 105, 105, 0.2) 100%),
            var(--Light-Grey, #f4f4f4);
    }

    .current {
        border-radius: 0.3125rem;
        background: var(--Dark-Blue, #1062a0);
        color: white;
    }
}

.small-hero-section--bg-purple {
    color: white;

    &::before {
        background-color: #6f3270;
    }

    & .outline path {
        stroke: #e97f02;
    }
}

.banner-section--purple {
    background-color: #6f3270;

    & .outline path {
        stroke: #e97f02;
    }
}

.featured-card .image-holder img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 584 / 497;
}

.featured-card .image-holder,
.card-section .card {
    width: 100%;
}

.card-section .card img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 284 / 217;
}

.school-alternate-section,
.feature-alternate-section {
    margin-top: 1rem;
    margin-bottom: 1.5rem;

    .small-image .outline svg {
        width: 99%;
    }
}

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

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

.testimonial-slider {
    .slide-holder--bg-pink .quote:before {
        margin-right: 62px;
    }

    .slide-holder--bg-blue .quote:before {
        margin-bottom: 36px;
    }

    @media (min-width: 1024px) {
        cite {
            position: absolute;
            bottom: 130px;
        }
    }
}

.glance-section {
    .holder .text a {
        color: white;
    }

    .holder .text a:hover {
        text-decoration: none;
    }
}

.media-holder iframe {
    width: 100%;
    height: 100%;
}

.nav-drop .subnav .title-holder {
    display: block;
}

.ticket-fancy-section .pass-holder .flight {
    display: none;
    position: absolute;
    left: 51%;
    top: 30%;

    @media (min-width: 1200px) {
        display: block;
        transform: translate(-50%, -50%) rotate(-1deg);
        width: 1400px;
    }

    @media (min-width: 1024px) {
        display: block;
        transform: translate(-50%, -50%) rotate(-4deg);
        width: 1000px;
        z-index: -1;
    }
}

.banner-section:not(.banner-section__inner) .image-holder .outline {
    @media (min-width: 768px) {
        bottom: -60px;
        left: -39px;
        right: 0px;
    }

    @media (max-width: 768px) {
        left: -61px;
    }
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.btn-tag {
    pointer-events: none;
}

.filter-bar {
    & .filter-toggle.modal-opener::after {
        display: none;
    }

    & .dropdown-menu ul li {
        display: flex;
        padding-left: 1.5rem;
        gap: 1rem;
        padding-block: 0.75rem;

        & input[type="checkbox"] {
            scale: 1.4;
        }
    }

    @media (min-width: 1024px) {
        .filter-toggle {
            height: 3.43rem;
        }
    }

}

.filter-bar.trustees {
    & .dropdown-item.modal-opener {
        padding-right: 40px;
    }

    & .active {
        background: var(--Dark-Blue, #1062a0);
        color: white;
        border: solid 3px white;
        border-style: solid;
    }
}

.card-section {
    & .no-results {
        margin-left: 5rem;
        font-size: larger;
        margin-bottom: 1.5rem;
        display: none;
    }
}

.navbar .subnav {
    & .subnav-inner {
        padding-block: 20px;
    }

    & .subnav-inner .title-holder {
        padding-left: 22px;
    }
}