/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Template: hello-elementor
Author: Riselabs + Kersley
Author URI: https://kersley.co.uk
Description: A child theme for Hello Elementor Theme
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/


@import url("../hello-elementor/style.css");
@import url("./assets/css/utiliities.css");


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

blockquote {
    border-left: 4px solid var(--e-global-color-566ac33);
    padding-left: 1rem;
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2.25rem;
    font-family: var(--e-global-typography-primary-font-family);
    margin-left: 0;
}

#content {
    flex: 1;
}

/**
 * Modals
 */
[data-modal] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -9999999px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    &.active {
        left:0;
    }
}
body.modal-open {
    overflow: hidden;
}
[data-modal] .close {
    position:absolute;
    top:2rem;
    right:2rem;
    transform:rotate(45deg);
    cursor:pointer;
    z-index: 1001;

    svg {
        width: 2rem
    }
    svg path {
        stroke: #fff;
    }
}

/**
 * Floating Header
 */
[data-module="floating-header"] {
    position: fixed;
    top: 1rem;
    left: 20px;
    width: calc(100% - 40px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    background: #fff;
    border-radius: 1.5rem;
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0px 16px 32px 0px rgba(177, 97, 77, 0.06);
    
    .branch-navigation-nav-item {
        white-space: nowrap;
    }
}
@media (min-width: 768px) {
    [data-module="floating-header"] {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
    }
}
body:has(#wpadminbar) [data-module="floating-header"] {
    top: calc(1rem + 32px);
}
[data-module="floating-header"].active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/**
 * Swiper
 */
.swiper-wrapper {
    align-items: center;
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-slide > * {
    max-width: calc(90% - 2rem);
    max-height: calc(100vh - 140px);
}
.swiper-thumbs .swiper-slide > * {
    max-width: 100%;
}
.swiper-button-next, .swiper-button-prev {
    color: #fff;
}
.swiper-button-prev {
    left: 2rem;
}
.swiper-button-next {
    right: 2rem;
}
.swiper-thumbs {
    margin-top: 20px;
    height: 100px;
    padding: 0 2rem;
}
.swiper-thumbs .swiper-wrapper {
    width: 100%;
}
.swiper-thumbs .swiper-slide,
.swiper-thumbs .swiper-slide > * {
    max-height: 100px;
    width: auto !important;
}
.swiper-thumbs .swiper-slide {
    position: relative;
}
.swiper-thumbs .swiper-slide::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}
.swiper-thumbs .swiper-slide-thumb-active::after {
    opacity: 0;
}

/**
 * Expandable Card Widget
 */

.expandable-card-title {
    font-size: 1.5rem;
    line-height: 2.25rem; 
    margin:0;
    font-family: var(--e-global-font-primary);
    font-weight: 700;
}
.expandable-card-icon img {
    border-radius: 0 !important;
}

.page-id-31 {
    .expandable-card.active {
        border-color: var(--e-global-color-624142d);
    }

    .expandable-card.active .expandable-card-toggle {
        background-color: var(--e-global-color-97b144b);
    }

}


/**
 * Expandable (used on nursery team section)
 */
.expandable {
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.expandable.closed {
    max-height: 0;
}
 .expandable-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
 }
 .expandable-trigger::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(./assets/img/icons/link-chevron-down.svg) no-repeat center center;
    background-size: contain;
 }
 .expandable-trigger.expanded::after {
    transform: rotate(180deg);
 }
 .expandable-card-toggle {
    padding: 1rem;
    border-radius: .5rem;
 }

/**
 * Elementor Parent Overrides
 * ===================================
 */
.elementor-button-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.elementor-button-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1240px) {
    .page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main {
        max-width:1200px
    }

    .site-footer.footer-full-width,.site-header.header-full-width {
        max-width: 100%
    }
}

.elementor-post__thumbnail {
    border-radius: 1.5rem;
}

.elementor-element.highlighted-post .elementor-post {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;

    @media (min-width: 768px) {
        grid-template-columns: repeat(12, 1fr);
    }
}
@media (min-width: 768px) {
    .elementor-element.highlighted-post .elementor-post .elementor-post__thumbnail__link {
        grid-column: 1 / span 5;
    }

    .elementor-element.highlighted-post .elementor-post .elementor-post__text {
        grid-column: 6 / span 7;
    }
}

.elementor-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}
.elementor-pagination > * {
    padding: 0.5rem 1rem;
}

.elementor-pagination .prev {
    margin-right: auto !important;
    display:flex;
    gap: 10px;

    &::before {
        content: url(./assets/img/icons/arrow-left.svg);
        display: inline-block;
        width: 20px;
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

.elementor-pagination .next {
    margin-left: auto !important;
    display:flex;
    gap: 10px;

    &::after {
        content: url(./assets/img/icons/arrow-right.svg);
        display: inline-block;
        width: 20px;
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
}

.elementor-pagination .page-numbers {
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.elementor-pagination .current {
    background: rgba(90, 69, 149, 0.2);
    border-radius: 100%;
    text-align: center;
}



/**
 * Hero Section
 * ===================================
 */
.elementor-location-header {
    position:relative;
    z-index: 10;
}

.hero {
    background-color: #fff;
    border-bottom-right-radius: 32px;
    border-bottom-left-radius: 32px;
    padding-top: 200px;
    margin-top:-200px !important;
    z-index: 0;
    padding-bottom: 2rem;
}
@media (min-width: 768px) {
    .hero {
        border-bottom-right-radius: 64px;
        border-bottom-left-radius: 64px;
    }
}


/**
 * BRANCH FINDER OVERRIDES & ADDITIONS
 * ===================================
 */
:root {
    --branch-finder-border-color: ##CBD1D1;
}

.branch-finder-page-header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 528px;
    margin-left:auto;
    margin-right:auto;

    p {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

.branch-finder-review-rating {
    display: flex;
    flex-direction: row;
    gap: 5px;

    svg path {
        fill: var(--e-global-color-566ac33);
    }
}


/**
 * Search
 */
.branch-finder-search {
    max-width: 528px;
    margin-left:auto;
    margin-right:auto;
    gap:16px;
    flex-direction: column;

    @media (min-width: 768px) {
        flex-direction: row;
    }
}

.nursery-finder-callout .branch-finder-search {
    @media (min-width: 768px) {
        flex-direction: column;
    }
}

.branch-finder-search-inputs {
    background-color: #fff;
    border: solid 1px var(--branch-finder-border-color);
    border-radius: 8px;
    padding: 8px 16px;
}

html h4.branch_finder_results_counter {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.branch-finder-postcode-wrapper,
.branch-finder-postcode-input[type=text],
.branch-finder-radius-select {
    border: 0;
    outline: none;
    background: transparent;
    color: var(--e-a-color-txt);
}

.branch-finder-postcode-input[type=text] {
    border: 0;
    padding: 10px 36px 10px 0px;
}

#branch_finder_location.branch-finder-location-button {
    background: none;
    padding: 0;
}

.branch-finder-radius-select {
    padding-right: 1rem;
    min-width: initial;
}

.branch-finder-radius-wrapper::before {
    content: '';
    display: block;
    width: 1px;
    height: 60%;
    background-color: var(--branch-finder-border-color);
}

.branch-finder-radius-select {
    padding-left:0;
    padding-right:0;
}

.branch-finder-radius-label {
    color: #9AA2A3;
    display:none;

    @media (min-width: 768px) {
        display:block;
    }
}

/**
 * Map
 */
.branch-finder-map-wrapper {
    padding: 1rem;
    border-radius: 1.5rem;
    background-color: #fff;
}
.branch-finder-map {
    border-radius: 0.75rem;
}

.branch-finder-no-results {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
}
.branch-finder-info-window-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h3.branch-finder-info-window-title {
    font-size: 1rem;
    line-height: 1.5rem;
    font-family: var(--e-global-font-primary);
}

.branch-finder-info-window-address {
    text-align: center;
}

.branch-finder-info-window-distance,
a.branch-finder-info-window-button {
    display: none;
}

li.branch-finder-result {
    background: var(--e-global-color-33aae83);
    border-width: 0;
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    cursor: unset;

    &:hover {
        background: var(--e-global-color-33aae83);
    }
}

/**
 * Results
 */
div.branch-finder-result-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    div.branch-finder-result-content {
        gap: 2rem;
        flex-direction: row;
    }
}


.branch-finder-result-image {
    min-width: 290px;
    min-height: 275px;
    line-height: 0;

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

div.branch-finder-result-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

div.branch-finder-result-location {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0px 10px;
    cursor: pointer;
}
div.branch-finder-result-location svg {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.branch-finder-result-distance {
    grid-column: 2;
    grid-row: 1;
    color: var(--e-global-color-7ffa3c4);
    font-size: 0.75rem;
    line-height: 1;
    margin: 0;
}
.branch-finder-result-address {
    grid-column: 2;
    grid-row: 2;
    font-size: 1rem;
    margin: 0;
}
@media (min-width: 768px) {
    .branch-finder-result-address {
        padding-right: 80px;
    }
}

.branch-finder-result-accreditations {
}
@media (min-width: 768px) {
    .branch-finder-result-accreditations {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

.branch-finder-result-header h3 {
    margin:0;

    a {
        color: var(--e-global-color-d102851);

        &:hover {
            color: var(--e-global-color-d102851);
        }
    }
}

.branch-finder-result-opening-facilities {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 768px) {
    .branch-finder-result-opening-facilities {
        flex-direction: row;
    }
}

.branch-finder-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.branch-finder-result-opening-hours .opening-times {
    font-size: 0.875rem;
    background: var(--e-global-color-3223225);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    margin: 0;
}

.branch-finder-result-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 768px) {
    .branch-finder-result-contact {
        flex-direction: row;
        gap:0;
        margin-top: 1rem;
    }
}

@media (min-width: 768px) {
    .branch-finder-result-button {
        margin-right: 10px;
    }
}

.branch-finder-result-contact-phone,
.branch-finder-result-contact-email {
    display: flex;
}
.branch-finder-result-contact-phone a,
.branch-finder-result-contact-email a {
    display: flex;
    flex:1;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: var(--e-global-color-e975890);
    border-radius: 0.75rem;
    color: var(--e-global-color-d102851);

    &:hover {
        color: var(--e-global-color-d102851);
    }

    svg path {
        fill: var(--e-global-color-d102851);
    }
}
@media (min-width: 768px) {
    .branch-finder-result-visit-button {
        margin-right: 10px;
    }
    .branch-finder-result-contact-phone a {
        border-bottom-right-radius:0;
        border-top-right-radius:0;
        padding-right: 1rem;
    }
    .branch-finder-result-contact-email a {
        border-bottom-left-radius:0;
        border-top-left-radius:0;
        padding-left: 1rem;
    }
}


/**
 * Single Branch
 * ===================================
 */

[data-gallery-trigger] {
    cursor: pointer;
}

.single-branch .branch-info {
    width:100%:
}

@media (max-width: 767px) {
    .single-branch .branch-hero,
    .single-branch .branch-info-content,
    .single-branch .branch-info-facilities,
    .single-branch .branch-fees,
    .single-branch .branch-info-family-corner,
    .single-branch .branch-leadership {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.single-branch .branch-hero-image-grid {
    display: grid;
    grid-template-columns: calc(50% - 0.5rem) calc(50% - 0.5rem);
    grid-template-areas:
        "main main"
        "cta cta";
    gap: 1rem;

    @media (min-width: 768px) {
        grid-template-columns: 66% calc(17% - 1rem) calc(17% - 1rem);
        grid-template-areas:
            "main secondary secondary"
            "main tertiary1 tertiary2"
            "main cta cta";
    }

    > div {
        position: relative;
        border-radius: 1.5rem;
        overflow: hidden;
    }

    > div img,
    > div video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}
.single-branch .branch-hero-image-grid--main { 
    grid-area: main;
    position: relative;

    &::after {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
        z-index: 0;
        pointer-events: none;
    }

}
.single-branch .branch-hero-image-grid--secondary { grid-area: secondary; }
.single-branch .branch-hero-image-grid-tertiary1 { grid-area: tertiary1; }
.single-branch .branch-hero-image-grid-tertiary2 { grid-area: tertiary2; }
.single-branch .branch-hero-image-grid-cta { 
    grid-area: cta; 
    display: flex;

    button {
        width: 100%;
    }
}

html .single-branch .branch-hero-title {
    color: var(--e-global-color-33aae83);
    position: absolute;
    bottom:0rem;
    left: 2rem;
    z-index:1;
    font-size: 2rem;
    line-height: 2.5rem;

    span.welcome {
        display:flex;
        align-items: center;
        font-size: 1.125rem;
        line-height: 2rem;
        font-family: var(--e-global-typography-text-font-family);
        font-weight: 300;
    }

    svg {
        margin-right: 1rem;
    }
    svg path {
        fill: var(--e-global-color-566ac33);
    }
}
@media (min-width: 768px) {
    html .single-branch .branch-hero-title {
        bottom: 2rem;
        font-size: 3.75rem;
        line-height: 4.75rem;
    }
}

/**
 * Single Branch - Navigation
 * ===================================
 */
.single-branch {
    background-image: url(./assets/img/stars-bg.svg);
    background-position: center 100px;
    background-repeat: no-repeat;
    background-size: 100%;
}
.single-branch .branch-navigation {
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.single-branch .branch-navigation-nav {
    background: var(--e-global-color-b44238e);
    padding: 5px;
    border-radius: 1.5rem;
    position: relative;
}

.single-branch .branch-navigation-nav .indicator {
    position: absolute;
    display: inline-block;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    background: var(--e-global-color-33aae83);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    z-index: 0;
}

.single-branch .branch-navigation-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.single-branch .branch-navigation-nav-item {
    flex: 1;
    text-align: center;
}

.single-branch .branch-navigation-nav-link {
    display: block;
    padding: 0.5rem .625rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
    color: var(--e-global-color-text) !important;
}
@media (min-width: 768px) {
    .single-branch .branch-navigation-nav-link {
        padding: 1.25rem 1.5rem;
    }
}

/* First item selected by default */
.single-branch .branch-navigation-nav::before {
    width: calc(33.33% - 10px);
}

/* Active state */
.single-branch .branch-navigation-nav-link:active {
    color: var(--e-global-color-af0ca1c);
}


/**
 * Single Branch - Branch Info Section
 * ===================================
 */

 @media (min-width: 768px) {
    .single-branch .branch-info-location-meta-container {
        display: grid;
        grid-template-columns: repeat(2, calc(50% - 0.5rem));
        gap: 1rem;
        margin-bottom: 2rem;
    }
}

.single-branch .branch-info-location, 
.single-branch .branch-info-meta {
    background: var(--e-global-color-33aae83);
    padding: 2rem;
    border-radius: 1.5rem;
}
@media (max-width: 767px) {
    .single-branch .branch-info-location, 
    .single-branch .branch-info-meta {
        margin-bottom: 1rem;
    }
}

 /**
  * Location
  */
 .single-branch .branch-finder-single-map {
    width: 100%;
    aspect-ratio: 18 / 7;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.single-branch .branch-info-location-distance-text {
    display: flex;
    gap: 10px;
    align-items: center;

    rect, path {
        fill: #FF854B
    }
}

.single-branch .branch-info-location-what3words {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom:0;

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

.single-branch .branch-info-accreditations-and-reviews-content {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   align-items: center;
   margin-bottom:1rem;
   padding-bottom:1rem;
}
@media (min-width: 768px) {
    .single-branch .branch-info-accreditations-and-reviews-content {
        flex-direction: row;
    }
}

.single-branch .branch-info-accreditations {
    position: relative;
    padding-right: 1rem;
    display: flex;
    flex-direction: row;
    gap: 10px;

    @media (min-width: 768px) {
        &::after {
            content: '';
            display: block;
            width: 1px;
            height: 80%;
            background: var(--e-global-color-4c2a089);
            position: absolute;
            right: 0px;
            top: 50%;
            transform: translateY(-50%);
        }
    }

    > img {
        max-height: 60px;
    }
}

.single-branch .branch-info-rating-wrapper {
    display: flex;
    flex-direction: column;
}

.single-branch .branch-info-rating {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.single-branch .branch-ofsted-link {
    display: block;
    margin-top: 5px;
}

/* Mobile fixes for daynurseries.co.uk embedded review widget */
@media (max-width: 739px) {
    /* Pull chevron arrows outside container on mobile using position overrides */
    .single-branch .branch-info-reviews-content .chevron-container-left {
        left: -5px;
    }

    .single-branch .branch-info-reviews-content .chevron-container-right {
        right: -5px;
    }

    /* Add spacing between italic review text and reviewer name span */
    .single-branch .branch-info-reviews-content .tg_text_normal i {
        margin-bottom: 0.75rem;
    }

    /* Add bottom padding to reviews scroll container */
    .single-branch .branch-info-reviews-content .tg_reviews_node_inner {
        padding-bottom: 20px;
    }
}

.single-branch .branch-info-opening-hours-content .opening-times {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}
.single-branch .branch-info-opening-hours-content .opening-times-title {
    font-weight: 700;
}

.single-branch .branch-info-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-branch .branch-info-contact-content {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.single-branch .branch-info-contact-content button {
    width: 100%;
}

.single-branch .branch-finder-info-contact-phone a,
.single-branch .branch-finder-info-contact-email a {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;

    svg [fill] { fill: var(--e-global-color-ecedb8f); }
    svg [stroke] { stroke: var(--e-global-color-ecedb8f); }
}

.single-branch .branch-info-content {
    border-bottom: 1px solid var(--e-global-color-4c2a089);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

.single-branch .branch-contact-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.single-branch .branch-contact-link:hover {
    text-decoration: none;
}

.branch-info-facilities {
    margin-bottom: 4rem;
}

.branch-info-facilities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: center;
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}
@media (min-width: 768px) {
    .branch-info-facilities-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.branch-info-facilities-list li {
    background: var(--e-global-color-33aae83);
    padding: 1rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.branch-info-family-corner {
    margin-top: 40px;
    margin-bottom: 4rem;

    p:last-of-type {
        margin-bottom: 2rem;
    }
}

.single-branch .branch-info-family-corner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
@media (min-width: 768px) {
    .single-branch .branch-info-family-corner-content {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
    }
}

.single-branch .branch-info-reviews {
    background: var(--e-global-color-33aae83);
    padding: 1rem;
    border-radius: 1.5rem;
    margin-top: 40px;
    margin-bottom: 4rem;
}

.single-branch .branch-info-quotes {
    background: var(--e-global-color-97b144b);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--e-global-color-ef2422a);
    padding: 2rem;
}

.single-branch .branch-info-quotes blockquote {
    border:0;
    padding:0;
    margin-left: 0;
    margin-right: 0;
}

.single-branch .branch-info-quotes-content p {
    font-size: 1.5rem;
    line-height: 1.5em;
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: 700;
}

.single-branch .branch-info-quotes-content cite {
    font-style: normal;
    font-size: 1.125rem;
}

.single-branch .branch-info-quotes-content .quote-contact-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.single-branch .branch-info-quotes-content .quote-contact-link:hover {
    text-decoration: none;
}

.single-branch .branch-fees {
    padding-bottom: 4rem;
}

.single-branch .branch-fees-content {
    text-align: center;
}

.single-branch .branch-fees-inner {
    border-bottom: 1px dashed #CBD1D1;
    margin-bottom: 30px;
}

.single-branch .branch-leadership {
    margin-bottom: 40px;
}

.single-branch .branch-leadership-intro {
    margin-bottom: 2rem;
}

.single-branch .branch-leadership-team {
    display:grid;
    gap:1rem;
    text-align: center;
}
@media (min-width: 768px) {
    .single-branch .branch-leadership-team {
        grid-template-columns: repeat(2, 1fr);
    }
}

.single-branch .branch-leadership-team-item {
    background: var(--e-global-color-33aae83);
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.single-branch .branch-leadership-team-item-name {
    margin-bottom: 0;
}

.single-branch .branch-leadership-team-item-image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    overflow: hidden;
}

.single-branch .branch-leadership-team-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1.5rem;
}

.single-branch .branch-leadership-team-item-bio p:last-child {
    margin-bottom: 0;
}

/**
 * Gallery
 */
.branch-gallery .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-gallery .gallery-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000; /* Black background for video */
}

.gallery-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}


/**
 * Floating Header
 */
 .floating-header .branch-navigation-nav {
     width: 100%;
 }
@media (min-width: 768px) {
    .floating-header .branch-navigation-nav {
        width: 50vw;
    }
 }
.branch-finder-floating-header-title {
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: 700;
}


/**
 * Bullet List
 */
.block-bullet-list ul {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    font-weight: 700;
}
.block-bullet-list ul li {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;

    &::before {
        content: '';
        display: block;
        width: 24px;
        height: 24px;
        background: url(./assets/img/icons/eya-star-green.svg) no-repeat center center;
        background-size: contain;
        flex-shrink: 0;
    }
}

/**
 * POSTS
 */
.post-tag{
    display: inline-block;
    border: 1px solid var(--e-global-color-e5c5538);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}
.post-tag.latest-highlight{
    border-color: var(--e-global-color-bf707ff);
    color: var(--e-global-color-d102851);
}

/**
 * OFF CANVAS (ELEMENTOR DRAWER)
 * ===================================
 */
.e-off-canvas .e-off-canvas__overlay {
    transition: background 1s !important;
}
.e-off-canvas.animated-reverse-wrapper .e-off-canvas__overlay {
    transition-delay: 0.6s !important;
}
.e-off-canvas[aria-hidden="true"] .e-off-canvas__overlay {
    background: rgba(0,0,0,0) !important;
}
.e-off-canvas[aria-hidden="false"] .e-off-canvas__overlay {
    background: rgba(0,0,0,0.8) !important;
}


.elementor-widget-container ul {
	margin-block-end: 0.9em;
}

#content .elementor-widget-container ul,
#content .elementor-widget-container ol {
	margin-block-end: 0.9em;
}