/*!
 * Site Specific Frontend Styles for Echelon
 *
 * Frontend-only styles for the Echelon site. Block style variations
 * and shared CSS variables are in blocks.css instead.
 *
 * @see blocks.css for block styles + spacing variables (loads in both contexts)
 */


/**
 * ==========================================================================
 * Accessibility Fixes
 * ==========================================================================
 */

/* Allow for esc key to close Kadence submenu */
.nav--toggle-sub li:hover > ul,
.nav--toggle-sub li.menu-item--toggled-on > ul,
.nav--toggle-sub li:not(.menu-item--has-toggle):focus > ul {
    display: none;
}

.main-navigation .menu-item .sub-menu {
    display: none;
}
.main-navigation .menu-item .sub-menu.submenu-open,
.main-navigation .menu-item .sub-menu.toggle-show {
    display: block;
}

/* Kadence Modal Link A11Y Fixes */
body .kt-blocks-modal-link:not(.kb-btn-global-inherit):focus-within {
    outline: inherit;
}

/** Menu A11Y Fixes */
body:not(.hide-focus-outline)
    .header-navigation
    li.menu-item--has-toggle
    > a:focus
    .dropdown-nav-toggle {
    opacity: 1 !important;
}
body #search-drawer .drawer-inner form ::-webkit-input-placeholder {
    opacity: 1;
}
#search-drawer input:-webkit-autofill,
#search-drawer input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}


/**
 * ==========================================================================
 * Admin Bar Styles
 * ==========================================================================
 */

body.admin-bar .kt-modal-container {
    top: calc(var(--kb-admin-bar-visible) * 2) !important;
}


/**
 * ==========================================================================
 * Kadence Header Styles
 * ==========================================================================
 */

/* Base transitions (on non-sticky state so reverse animation works) */
.kb-header-sticky-wrapper {
    transition: box-shadow 0.3s ease-in-out;
}

/* Box shadow for sticky header */
.kb-header-sticky-wrapper.item-is-fixed,
.kb-header-sticky-wrapper.item-is-stuck {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.kb-header-sticky-wrapper.item-is-fixed .custom-logo,
.kb-header-sticky-wrapper.item-is-stuck .custom-logo {
    transition: max-width 0.3s ease-in-out;
}

/* Header Row Center */
.wp-block-kadence-header-row-center {
    position: relative;
    z-index: 1;
}

/* Brand Navigation - Active menu item */
.wp-block-kadence-navigation.navigation-desktop-orientation-horizontal .navigation[class*="navigation-desktop-style-underline"] > .menu-container > .menu > .menu-item.active-site__menu-item > .kb-link-wrap > .kb-nav-link-content {
    font-weight: 700;
    color: var(--global-palette2);
}

/* Brand Navigation - Active menu item underline */
.wp-block-kadence-navigation.navigation-desktop-orientation-horizontal .navigation[class*="navigation-desktop-style-underline"] > .menu-container > .menu > .menu-item.active-site__menu-item > .kb-link-wrap > .kb-nav-link-content::after {
    transform: scale(1) translate(0);
    right: 0;
}

/* Accordion Panel Overrides in Header */
header .kt-accordion-panel {
    position: absolute !important;
}

header .kt-accodion-icon-style-arrow .kt-blocks-accordion-title-wrap {
    padding-right: 0;
}

header .kt-accodion-icon-style-arrow .kt-blocks-accordion-icon-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .kt-accodion-icon-style-arrow .kt-blocks-accordion-icon-trigger::before {
    display: none;
}

header .kt-accodion-icon-style-arrow .kt-blocks-accordion-icon-trigger::after {
    content: "" !important;
    display: block;
    width: 11px;
    height: 6px;
    background: url('data:image/svg+xml,<svg width="11" height="6" viewBox="0 0 11 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.125 0L5.0625 5.4375L0 0H10.125Z" fill="%23fff"/></svg>')
        transparent no-repeat center / contain !important;
    transition: transform 0.2s ease-in-out !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: 50% 50%;
    pointer-events: none;
}

header
    .kt-accodion-icon-style-arrow
    .kt-blocks-accordion-header.kt-accordion-panel-active
    .kt-blocks-accordion-icon-trigger::after {
    transform: translate(-50%, -50%) rotate(180deg) !important;
}

header
    .kt-accodion-icon-style-arrow
    .kt-blocks-accordion-header[aria-expanded="true"]
    .kt-blocks-accordion-icon-trigger::after {
    transform: translate(-50%, -50%) rotate(180deg) !important;
}

header
    .kt-accodion-icon-style-arrow
    .kt-blocks-accordion-header[aria-expanded="false"]
    .kt-blocks-accordion-icon-trigger::after {
    transform: translate(-50%, -50%) rotate(0deg) !important;
}

/* Header Responsive Customizations */
@media (max-width: 1024px) {

    /* Ensure top header row (with logo) is above accordion panels on mobile. */
    .wp-block-kadence-header-row-top {
        position: relative;
        z-index: 51;
    }

    /* Set accordion panels to full width on mobile. */
    header .kt-accordion-panel {
        left: 0;
        right: 0;
    }

    .wp-block-kadence-header-row-bottom .wp-block-kadence-header-column-tablet-center {
        width: 100%;
    }
}

header .wp-block-kadence-header-row-center .kadence-header-row-inner {
    padding: clamp(15px, calc(9.286px + 0.558vw), 20px) clamp(10px, calc(-35.714px + 4.464vw), 50px) clamp(10px, calc(4.286px + 0.558vw), 15px);
}

/* Replace Default Navigation Dropdown Arrow with Custom Arrow */
.wp-block-kadence-navigation .kb-nav-dropdown-toggle-btn svg {
    display: none !important;
}

.wp-block-kadence-navigation .kb-nav-dropdown-toggle-btn::after {
    content: "" !important;
    display: inline-block;
    width: 10px;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='12' height='16' viewBox='0 0 12 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.28125 11.7188L1.28125 7.71875C1 7.4375 0.90625 7 1.0625 6.625C1.21875 6.25 1.59375 6 2 6H10C10.4062 6 10.75 6.25 10.9062 6.625C11.0625 7 10.9688 7.4375 10.6875 7.71875L6.6875 11.7188C6.3125 12.125 5.65625 12.125 5.28125 11.7188Z' fill='%23212422'/%3E%3C/svg%3E")
        no-repeat center / contain;
    transition: all 0.2s ease-in-out !important;
    transform: rotate(0);
    transform-origin: center;
}

.wp-block-kadence-navigation .menu-item:hover > .kb-link-wrap >  .kb-nav-dropdown-toggle-btn::after {
    background: url("data:image/svg+xml,%3Csvg width='12' height='16' viewBox='0 0 12 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.28125 11.7188L1.28125 7.71875C1 7.4375 0.90625 7 1.0625 6.625C1.21875 6.25 1.59375 6 2 6H10C10.4062 6 10.75 6.25 10.9062 6.625C11.0625 7 10.9688 7.4375 10.6875 7.71875L6.6875 11.7188C6.3125 12.125 5.65625 12.125 5.28125 11.7188Z' fill='%23fff'/%3E%3C/svg%3E")
        no-repeat center / contain;
}

/* Rotate custom arrow when submenu is open */
.wp-block-kadence-navigation li.menu-item--toggled-on > .kb-link-wrap > .kb-nav-dropdown-toggle-btn::after,
.wp-block-kadence-navigation .kb-nav-dropdown-toggle-btn[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.wp-block-kadence-navigation .kb-nav-dropdown-toggle-btn[aria-expanded="false"]::after {
    transform: rotate(0deg);
}

/* Navigation items underline */

.wp-block-kadence-navigation .menu-container>.menu .sub-menu .kb-nav-link-content:hover,
.nav-hover-underline .kb-nav-link-content:hover {
	text-decoration: underline !important;
}


/**
 * ==========================================================================
 * General Site Block Styles
 * ==========================================================================
 */

/* Full Width Images */
figure.alignfull {
    margin: 0 !important;
    width: 100% !important;
}

/* Utility Footer */
.utility-footer a {
    text-decoration: none;
}
.utility-footer a:hover,
.utility-footer a:focus {
    text-decoration: underline;
}


/**
 * ==========================================================================
 * Kadence Search
 * ==========================================================================
 */

.kb-search {
    width: 100%;
}
.kb-search .kb-search-icon-submit {
    right: 0;
}

header .kb-search {
	justify-content: center;
}

header .kb-search .kb-search-input {
    min-height: clamp(2.9375rem, 1.9884rem + 1.4815vw, 3.5625rem);
}


/**
 * ==========================================================================
 * Kadence Slider / Carousel (Splide)
 * ==========================================================================
 */

/* Kadence Slider Accessibility */
.kb-splide .splide__pagination__page:focus-visible {
    outline: 2px solid #000;
}

.kb-splide.kb-slider-group-arrows .splide__arrows .splide__arrow:focus:focus-visible {
    outline: revert !important;
    outline-offset: 1px !important;
}

/* Kadence Slider Arrows – Default */
body .kb-splide .splide__arrow {
    border-radius: 0;
}

/* Kadence Slider Arrows – Group Style */
.kb-splide.kb-slider-group-arrows .splide__arrows .splide__arrow {
    width: 50px;
    height: 50px;
    opacity: 1 !important;
}

/* Kadence fixed slide height - ensure they expand to full height */
.kb-advanced-slide,
.kb-advanced-slide-inner-wrap {
    height: 100%;
}

/**
 * ==========================================================================
 * Kadence Buttons
 * ==========================================================================
 */

.kb-button.kt-btn-size-standard {
    padding: 0.75rem 1.125rem;
    font-size: clamp(1rem, 0.7rem + 0.8vw, 1.5rem);
    line-height: 1.2;
}

body .wp-block-kadence-advancedbtn .kb-button.kt-btn-size-small {
    font-size: 1rem;
    line-height: 1.25;
    padding: .375rem .5rem;
}

body .wp-block-kadence-advancedbtn .kb-button.kt-btn-size-large {
    font-size: clamp(1.25rem, 0.95rem + 0.8vw, 1.75rem);
    line-height: 1.2;
    padding: 1.5625rem 1.75rem;
}

/* Button FILL */
.kb-button,
.kb-button.kb-btn-global-fill {
    border-radius: 0;
    border-width: 2px;
}

.kb-button.kb-btn-global-fill {
    background-color: var(--global-palette2);
    border-color: var(--global-palette2);
    color: var(--global-palette3);
}

.kb-button.kb-btn-global-fill:hover,
.kb-button.kb-btn-global-fill:focus {
    background-color: var(--global-palette1);
    border-color: var(--global-palette1);
    color: var(--global-palette9);
}



/* Button OUTLINE (default black) */

.wp-block-kadence-advancedbtn .button.kb-btn-global-outline:hover,
.wp-block-kadence-advancedbtn .button.kb-btn-global-outline:focus {
    background-color: var(--global-palette3);
}


/**
 * ==========================================================================
 * Kadence Accordion
 * ==========================================================================
 */

/* Kadence Accordion Icon Trigger */
.kt-blocks-accordion-icon-trigger {
    height: 20px;
    width: 20px;
    min-width: 20px;
}

.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger::after,
.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger::before {
    height: 2px;
}


/**
 * ==========================================================================
 * Scrollbar Styles
 * ==========================================================================
 */

body ::-webkit-scrollbar {
    background-color: #fff;
    width: 16px;
}

body ::-webkit-scrollbar-track {
    background-color: #fff;
}

body ::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 16px;
    border: 4px solid #fff;
}

body ::-webkit-scrollbar-button {
    display: none;
}


/**
 * ==========================================================================
 * Third Party Styles
 * ==========================================================================
 */

/* CookieYes Cookies */
.cky-preference-header .cky-btn-close img {
    filter: brightness(0);
}

@media (max-width: 1024px) {
    body .cky-btn-revisit-wrapper {
        left: auto;
        right: 15px;
    }
}

/**
 * ==========================================================================
 * Kadence Slider
 * ==========================================================================
 */

 /* Kadence Slider Arrows – Default */

 body .kb-splide .splide__arrow {
    border-radius: 0;
}

/* Kadence Slider Arrows – Group Style */
.kb-splide.kb-slider-group-arrows .splide__arrows .splide__arrow {
    width: clamp(2.8125rem, 2.4rem + 1.1vw, 3.5rem);
    height: clamp(2.8125rem, 2.4rem + 1.1vw, 3.5rem);
    opacity: 1 !important;
}

/* Kadence Slider Arrows – Custom Center-Positioned */
.kt-carousel-arrowstyle-custom.kb-slider-arrow-position-center.kb-splide .splide__arrow {
    opacity: 1;
    width: 35px;
    height: 35px;
    line-height: 35px;
}

 /* Kadence Slider Arrows – Bottom Right position */
body .kb-splide.kb-slider-arrow-position-bottom-right .splide__arrows {
    bottom: 0;
    right: 0;
}
/* Kadence Slider Arrows – Top Right position */
body .kb-splide.kb-slider-arrow-position-top-right .splide__arrows {
    top: 0;
    right: 0;
}

/* Kadence Slider Arrows – Center position */
.kt-carousel-arrowstyle-custom.kb-slider-arrow-position-center.kb-splide .splide__arrow--prev {
    left: -15px;
}

.kt-carousel-arrowstyle-custom.kb-slider-arrow-position-center.kb-splide .splide__arrow--next {
    right: -15px;
}

@media screen and (min-width: 768px) {
    .kt-carousel-arrowstyle-custom.kb-slider-arrow-position-center.kb-splide .splide__arrow {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

    .kt-carousel-arrowstyle-custom.kb-slider-arrow-position-center.kb-splide .splide__arrow--prev {
        left: -100px;
    }

    .kt-carousel-arrowstyle-custom.kb-slider-arrow-position-center.kb-splide .splide__arrow--next {
        right: -100px;
    }
}

/* Kadence Slider Dots – Default */
body .kt-carousel-dotstyle-custom.kb-splide .splide__pagination,
.kb-splide ul.splide__pagination.splide__pagination {
    bottom: -60px;
}

.kt-carousel-dotstyle-custom.kb-splide .splide__pagination__page {
    width: 24px;
    height: 24px;
    opacity: 1 !important;
    margin: 0 12px;
}

/* Kadence Slider Dots – Custom (.slider--custom-dots) */
.slider--custom-dots .kt-carousel-dotstyle-custom.kb-splide .splide__pagination__page {
    width: 15px;
    height: 15px;
    margin: 0 15px;
}

.slider--custom-dots .kb-splide .splide__pagination,
.slider--custom-dots .kb-splide ul.splide__pagination.splide__pagination {
    bottom: -40px;
}

@media screen and (min-width: 1025px) {
    .slider--custom-dots .kt-carousel-dotstyle-custom.kb-splide .splide__pagination__page {
        width: 22px;
        height: 22px;
        margin: 0 10px;
    }

    .slider--custom-dots .kb-splide .splide__pagination,
    .slider--custom-dots .kb-splide ul.splide__pagination.splide__pagination {
        bottom: -55px;
    }
}

/**
 * ==========================================================================
 * Kadence Accordion
 * ==========================================================================
 */

/* Kadence Accordion Layout */
.accordion-wrapper.kb-row-layout-wrap > .kt-row-column-wrap {
    position: relative;
}

/* Kadence Accordion Header & Active State */
.accordion-wrapper.kb-row-layout-wrap
    .kt-blocks-accordion-header.kt-accordion-panel-active {
    padding-top: var(--wp--preset--spacing--sm) !important;
    padding-bottom: var(--wp--preset--spacing--sm) !important;
}

/* Kadence Accordion Image-Outside Variant (.accordion--image-outside) */
.accordion--image-outside .kt-blocks-accordion-header {
    transition: font-size 0.5s ease, padding 0.5s ease, border none;
    line-height: 1.2;
    font-size: var(--wp--preset--font-size--large) !important;
}

/* Hide inline accordion images on desktop; shown only on mobile. */
@media screen and (min-width: 1025px) {
    .accordion-wrapper .kt-accordion-pane .accordion__image {
        display: none;
    }
}

/**
 * ==========================================================================
 * Kadence Table
 * ==========================================================================
 */

.kb-table tr:last-child th,
.kb-table tr:last-child td {
    border-bottom: 0;
}

/**
 * ==========================================================================
 * Global Resets
 * ==========================================================================
 */

/* Global button shadow reset */
body .button {
    box-shadow: none;
}

/* Global font weight for bold text */
b, strong {
    font-weight: 600;
}

/* Off-canvas nav */
.kb-off-canvas-inner .wp-block-kadence-navigation {
    height: auto;
}

body .wp-block-kadence-off-canvas-trigger:hover,
body .wp-block-kadence-off-canvas-trigger:focus {
    color: var(--global-palette9);
}

/**
 * ==========================================================================
 * Utility Classes
 * ==========================================================================
 */

body .z-index-2 {
    z-index: 2;
}

/**
 * ==========================================================================
 * Events Listing
 * ==========================================================================
 */

/* Filter bar */
body .entry-content .events-filter-bar,
body .events-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 54px;
}

/* Core's constrained layout centers children with !important auto margins. */
.events-filter-bar > .facetwp-facet {
    margin: 0 !important;
}

body .facetwp-facet-events_all .facetwp-reset,
body .horizontal-filters .facetwp-reset {
    display: inline-block;
    background: var(--global-palette2);
    border: 2px solid var(--global-palette2);
    color: var(--global-palette3);
    font-family: var(--global-heading-font-family);
    font-weight: 600;
    font-size: clamp(1rem, 0.7rem + 0.8vw, 1.5rem);
    text-transform: uppercase;
    line-height: 1.2;
    padding: 14px;
    text-decoration: none;
}

.facetwp-facet-event_type select.facetwp-dropdown,
.facetwp-facet-event_topic select.facetwp-dropdown {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23212422' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 2px solid var(--global-palette3);
    border-radius: 0;
    color: var(--global-palette3);
    font-family: var(--global-heading-font-family);
    font-weight: 600;
    font-size: clamp(1rem, 0.7rem + 0.8vw, 1.5rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 14px 30px 14px 14px;
    height: 100%;
    background-position: right 12px center;
}

@media screen and (max-width: 767px) {
    body .facetwp-facet-events_all .facetwp-reset,
    body .horizontal-filters .facetwp-reset,
    .facetwp-facet-event_type select.facetwp-dropdown,
    .facetwp-facet-event_topic select.facetwp-dropdown {
        width: 100%;
    }
}

.facetwp-facet-events_all .facetwp-reset:hover,
.facetwp-facet-events_all .facetwp-reset:focus,
.horizontal-filters .facetwp-reset:hover,
.horizontal-filters .facetwp-reset:focus {
    background: var(--global-palette3);
    border-color: var(--global-palette3);
    color: var(--global-palette9);
}

/* Toggle (show more / less) */
.facetwp-toggle {
    display: block;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 700;
    margin-bottom: var(--wp--preset--spacing--xs);
}

.facetwp-toggle::before {
    margin-right: 4px;
}

.facetwp-overflow + .facetwp-toggle::before {
    content: '+';
}

.facetwp-toggle + .facetwp-toggle::before {
    content: '-';
}

/* Card grid */
.listing--events {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media screen and (min-width: 600px) {
    .listing--events {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1025px) {
    .listing--events {
        grid-template-columns: repeat(3, 1fr);
    }
}

.listing--events .event-card {
    display: flex;
    flex-direction: column;
    background: var(--global-palette9);
    padding: 30px;
    border-radius: 0 0 4px 4px;
}

/* Label chips */
.event-card__labels,
.listing-card__categories,
.listing-card__tags .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.listing-card__tags .product-tags {
    gap: 6px;
    margin-bottom: 0;
}

.event-card__label,
.listing-card__category,
.listing-card__tags .product-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--global-palette7);
    color: var(--global-palette3);
    font-family: var(--global-heading-font-family);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1;
    padding: 12px 14px;
}

.listing-card__tags .product-tag  {
    padding: 6px;
}

.event-card__label-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.event-card__label--apg {
    background: var(--global-palette11);
    color: var(--global-palette9);
}

.event-card__label--apg::before {
    content: "";
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 1 8l11 5 9-4.09V15h2V8L12 3zm-7 9.18V16c0 1.85 3.13 4 7 4s7-2.15 7-4v-3.82l-7 3.18-7-3.18z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 1 8l11 5 9-4.09V15h2V8L12 3zm-7 9.18V16c0 1.85 3.13 4 7 4s7-2.15 7-4v-3.82l-7 3.18-7-3.18z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Title and description */
.listing--events .listing-card__title {
    margin: 0 0 15px !important;
    font-weight: 600;
    text-transform: uppercase;
}

.event-card__desc {
    margin-bottom: 18px;
}

.event-card__desc-inner {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.event-card__desc.is-expanded .event-card__desc-inner,
.event-card__desc.is-unclamped .event-card__desc-inner {
    -webkit-line-clamp: unset;
}

.event-card__desc-inner p,
.event-card__desc-inner ul,
.event-card__desc-inner ol {
    margin: 0 0 1rem;
}

.event-card__desc-inner > :last-child {
    margin-bottom: 0;
}

.event-card__more {
    background: none;
    border: 0;
    padding: 0;
    margin-top: 6px;
    color: var(--global-palette3);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: underline;
    transition: all 0.15s ease-in-out;
}

.event-card__more:hover {
    text-underline-offset: 2px;
}

/* Meta rows with icons */
.listing--events .event-address,
.listing--events .event-date,
.listing--events .event-time {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--global-palette3);
    line-height: 1.4;
    margin-bottom: 12px;
}

.listing--events .event-address::before,
.listing--events .event-date::before,
.listing--events .event-time::before {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.listing--events .event-address::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='17' viewBox='0 0 12 17' fill='none'%3E%3Cpath d='M1.5 5.90625C1.5 6.78125 1.78125 7.8125 2.3125 8.90625C2.8125 10 3.5 11.0938 4.21875 12.0938C4.84375 12.9688 5.5 13.7188 6 14.3125C6.53125 13.7188 7.15625 12.9688 7.78125 12.0938C8.5 11.0938 9.1875 10 9.71875 8.90625C10.2188 7.8125 10.5 6.78125 10.5 5.90625C10.5 3.5 8.53125 1.5 6 1.5C3.5 1.5 1.5 3.5 1.5 5.90625ZM12 5.90625C12 9.375 8.75 13.4688 7.03125 15.4062C6.71875 15.7812 6.4375 16.0625 6.25 16.25C6.09375 16.4062 6 16.5 6 16.5C6 16.5 5.90625 16.4062 5.75 16.25C5.5625 16.0625 5.28125 15.75 4.96875 15.4062C3.25 13.4688 0 9.375 0 5.90625C0 2.625 2.6875 0 6 0C9.3125 0 12 2.625 12 5.90625ZM7 6C7 5.4375 6.5625 5 6 5C5.4375 5 5 5.4375 5 6C5 6.5625 5.4375 7 6 7C6.5625 7 7 6.5625 7 6ZM3.5 6C3.5 4.625 4.625 3.5 6 3.5C7.375 3.5 8.5 4.625 8.5 6C8.5 7.375 7.375 8.5 6 8.5C4.625 8.5 3.5 7.375 3.5 6Z' fill='%23212422'/%3E%3C/svg%3E");
}

.listing--events .event-date::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 14 16' fill='none'%3E%3Cpath d='M4.5 0V2H9.5V0H11V2H14V15H0V2H3V0H4.5ZM4.5 3.5H1.5V5.5H12.5V3.5H4.5ZM1.5 7V13.5H12.5V7H1.5Z' fill='%23212422'/%3E%3C/svg%3E");
}

.listing--events .event-time::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M14.5 8C14.5 4.40625 11.5938 1.5 8 1.5C4.40625 1.5 1.5 4.40625 1.5 8C1.5 11.5938 4.40625 14.5 8 14.5C11.5938 14.5 14.5 11.5938 14.5 8ZM0 8C0 3.59375 3.59375 0 8 0C12.4062 0 16 3.59375 16 8C16 12.4062 12.4062 16 8 16C3.59375 16 0 12.4062 0 8ZM7.25 3.75V3H8.75V7.59375C10.875 9 11.9688 9.75 12.0312 9.78125L11.2188 11.0312L10.5938 10.625L7.59375 8.625L7.25 8.40625V3.75Z' fill='%23212422'/%3E%3C/svg%3E");
}

.listing--events .event__address-link {
    color: var(--global-palette3);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Registration deadline notice */
.event-card__note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--global-palette8);
    font-size: 1rem;
    padding: 12px 14px;
    margin-top: auto;
}

.event-card__note::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 0C12.4062 0 16 3.59375 16 8C16 12.4375 12.4062 16 8 16C3.5625 16 0 12.4375 0 8C0 3.59375 3.5625 0 8 0ZM7.25 4.75V8.75C7.25 9.1875 7.5625 9.5 8 9.5C8.40625 9.5 8.75 9.1875 8.75 8.75V4.75C8.75 4.34375 8.40625 4 8 4C7.5625 4 7.25 4.34375 7.25 4.75ZM8 12.5C8.53125 12.5 8.96875 12.0625 8.96875 11.5312C8.96875 11 8.53125 10.5625 8 10.5625C7.4375 10.5625 7 11 7 11.5312C7 12.0625 7.4375 12.5 8 12.5Z' fill='%23BC955C'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Card buttons */
.listing--events .event-register {
    margin-top: auto;
}

.event-card__note + .event-register {
    margin-top: 16px;
}

.listing--events .event-register + .event-course-details {
    margin-top: 16px;
}

.listing--events .event__register,
.listing--events .event__course-details {
    display: block;
    width: 100%;
    background: var(--global-palette9);
    border: 2px solid var(--global-palette3);
    color: var(--global-palette3);
    font-family: var(--global-heading-font-family);
    font-weight: 700;
    padding: 0.75rem 1.125rem;
    font-size: clamp(1rem, 0.7rem + 0.8vw, 1.5rem);
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    box-shadow: none;
    transition: all 0.15s ease-in-out;
}

.listing--events .event__register:hover,
.listing--events .event__register:focus,
.listing--events .event__course-details:hover,
.listing--events .event__course-details:focus {
    background: var(--global-palette3);
    border-color: var(--global-palette3);
    color: var(--global-palette9);
}

/* Global FacetWP Listings Styles */
.fwpl-layout,
.fwpl-row {
    display: grid;
}

.fwpl-layout {
    gap: var(--global-row-gutter-md) !important;
}

.fwpl-listing {
    grid-template-columns: 1fr;
}

@media screen and (min-width: 600px) {
    .fwpl-listing:not(.site-search, .horizontal) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1440px) {
    .fwpl-listing:not(.site-search, .horizontal) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.listing-card__image {
    margin-bottom: 16px;
}

.listing-card__image img {
    aspect-ratio: 420 / 385;
    object-fit: cover;
    width: 100%;
}

.fwpl-listing.videos .listing-card__image img {
    aspect-ratio: 16 / 9;
}

.listing-card__title {
    clear: both;
    font-size: clamp(1.5rem, 1.4235rem + 0.3265vw, 1.75rem);
    line-height: 1;
    text-wrap: balance;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: var(--wp--preset--spacing--xxs) !important;
    margin-bottom: 8px;
}

.listing-card__title a {
    text-decoration: none;
    color: var(--global-palette3);
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--global-heading-font-family);
}

.listing-card__title span.product-subtitle {
    display: block;
    text-transform: none;
    font-weight: 400;
    color: #000;
    font-size: var(--wp--preset--font-size--medium);
}

.listing-card__title a:hover,
.listing-card__title a:focus {
    text-decoration: underline;
}

.listing-card__excerpt {
    margin-top: var(--wp--preset--spacing--xxs);
    margin-bottom: 0;
}

.listing-card__excerpt p {
    margin: 0;
}

.listing-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 15px;
    background-color: var(--global-palette9);
    border-radius: 0;
    font-family: var(--global-body-font-family);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    z-index: 10;
}

/* Show / hide filters functionality only for desktop */
@media screen and (min-width: 1025px) {
    .listing-filters-hidden.kb-row-layout-wrap > .kt-row-column-wrap {
        grid-template-columns: 1fr;
    }

    .listing-filters-hidden
        > .kt-row-column-wrap
        > .wp-block-kadence-column:first-child {
        display: none;
    }

    .listing-filters-hidden .listing.fwpl-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 600px) {
    .fwpl-layout.listing--blog,
    .fwpl-layout.galleries {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (min-width: 1200px) {
    .fwpl-layout.listing--blog,
    .fwpl-layout.galleries {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.fwpl-layout.listing--product > .fwpl-result {
    min-width: 0;
    border: none;
    background-color: var(--global-palette9);
    padding: 0 var(--wp--preset--spacing--xs);
}

.fwpl-layout.listing--product .fwpl-item {
    margin-bottom: var(--wp--preset--spacing--xxs);
}

.fwpl-layout.listing--product .fwpl-item:last-child {
    margin-bottom: var(--wp--preset--spacing--xs);
}

.fwpl-layout.listing--product .listing-card__gallery {
    margin-inline: calc(-1 *var(--wp--preset--spacing--xs));
    margin-bottom: var(--wp--preset--spacing--xs);
}

.fwpl-layout.galleries > .gallery-empty-results {
    grid-column: 1 / -1;
    padding: var(--global-row-gutter-md, 24px);
}

.fwpl-layout.projects .fwpl-row,
.fwpl-layout.projects .fwpl-col {
    height: 100%;
}

.fwpl-layout.projects .fwpl-col {
    display: flex;
    flex-direction: column;
}

.fwpl-layout.projects .fwpl-result {
    background-color: var(--global-palette9);
}

.fwpl-layout.projects .listing-card__title,
.fwpl-layout.projects .project-location  {
    margin: 16px;
}


.fwpl-layout.projects .project-location {
    margin-top: auto;
}

/* Base facet reset */
.facetwp-facet {
    margin-bottom: 0 !important;
}

.facetwp-input-wrap {
    display: inline-block;
    width: 100%;
    margin-bottom: var(--wp--preset--spacing--sm);
}

/* Search */
.facetwp-facet input.facetwp-search {
    width: 100%;
    min-width: auto !important;
    height: 50px;
}

/* Location facets fill their column so the locate icon sits inside the input, as on Belgard */
.facetwp-type-proximity .facetwp-input-wrap {
    width: 100%;
    margin-bottom: 0;
}

body .facetwp-type-proximity input.facetwp-location {
    min-width: 100%;
}

body .facetwp-icon::before {
    background-size: 20px 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='search-icon' viewBox='0 0 24 24' width='24' height='24' fill='%23092947'%3E%3Cpath d='M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z'%3E%3C/path%3E%3C/svg%3E");
}

/* Site search (facet: site_search) */
.facetwp-facet-site_search .facetwp-input-wrap {
    margin-bottom: 0;
}

body .facetwp-facet-site_search_result_count {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--global-palette3);
}

/* Sort */
.facetwp-type-sort select {
    width: 100%;
    min-width: 110px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6' fill='none'%3E%3Cpath d='M10.6875 1.71875L6.71875 5.71875C6.5 5.90625 6.25 6 6 6C5.71875 6 5.46875 5.90625 5.28125 5.71875L1.3125 1.71875C1 1.4375 0.90625 1 1.0625 0.625C1.21875 0.25 1.59375 0 2 0H9.96875C10.375 0 10.7188 0.25 10.875 0.625C11.0312 1 10.9688 1.4375 10.6875 1.71875Z' fill='%23092947'/%3E%3C/svg%3E");
    background-position: center right 15px;
}

@media screen and (min-width: 1025px) {
    .facetwp-type-sort select {
        min-width: 155px;
    }
}

/* Reset */
.facetwp-type-reset .facetwp-reset {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--global-body-font-family);
    font-size: 1rem;
    font-weight: 600;
    color: var(--global-palette3);
    text-transform: none;
    text-decoration: underline;
}

body .facetwp-type-reset .facetwp-reset:hover,
body .facetwp-type-reset .facetwp-reset:focus {
    text-underline-offset: 2px;
}

/* Active selections */
.facetwp-selections ul {
    margin: 0 !important;
    padding-left: 0 !important;
}

body .facetwp-selections .facetwp-selection-value {
    border: 2px solid var(--global-palette3);
    border-radius: 0;
    margin-block: 4px;
    margin-right: clamp(0.5rem, -1.375rem + 2.5vw, 1.25rem);
    margin-left: 0;
    background-position: right 10px center;
    padding-block: clamp(0.5rem, -0.125rem + 0.8333vw, 0.75rem) !important;
    padding-left: clamp(0.5rem, -0.75rem + 1.6667vw, 1rem) !important;
    padding-right: clamp(1.75rem, 1.125rem + 0.8333vw, 2rem) !important;
    font-weight: 600;
    font-size: clamp(1rem, -0.25rem + 1.6667vw, 1.5rem);
    font-family: var(--global-heading-font-family);
    line-height: 1.2;
    text-transform: uppercase;
    background-size: 10px 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M15.1406 2.39062L9.51562 7.96875L15.0938 13.5469L15.8906 14.3438L14.3438 15.9375L13.5469 15.1406L7.96875 9.5625L2.39062 15.1406L1.59375 15.9375L0 14.3438L0.796875 13.5469L6.375 7.96875L0.796875 2.39062L0 1.59375L1.59375 0L2.39062 0.796875L7.96875 6.42188L13.5469 0.84375L14.3438 0.046875L15.9375 1.59375L15.1406 2.39062Z' fill='%23242529'/%3E%3C/svg%3E");
}

body .facetwp-selections .facetwp-selection-value:hover,
body .facetwp-selections .facetwp-selection-value:focus {
    background-color: var(--global-palette3);
    color: var(--global-palette9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M15.1406 2.39062L9.51562 7.96875L15.0938 13.5469L15.8906 14.3438L14.3438 15.9375L13.5469 15.1406L7.96875 9.5625L2.39062 15.1406L1.59375 15.9375L0 14.3438L0.796875 13.5469L6.375 7.96875L0.796875 2.39062L0 1.59375L1.59375 0L2.39062 0.796875L7.96875 6.42188L13.5469 0.84375L14.3438 0.046875L15.9375 1.59375L15.1406 2.39062Z' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 10px 10px;
}

.facetwp-selection-label {
    display: none;
}


/* Checkboxes */
.facetwp-checkbox {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='23' height='23' rx='3.5' fill='white'/%3E%3Crect x='0.5' y='0.5' width='23' height='23' rx='3.5' stroke='%23949494'/%3E%3C/svg%3E") !important;
    background-size: 20px 20px !important;
    font-size: 1rem;
    font-weight: 500;
    padding-left: 35px !important;
    margin-bottom: var(--wp--preset--spacing--xxs) !important;
}

.facetwp-checkbox.checked {
    background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="24" height="24" rx="4" fill="%23212422"/><path d="M18.6875 7.3125C19.0938 7.6875 19.0938 8.34375 18.6875 8.71875L10.6875 16.7188C10.3125 17.125 9.65625 17.125 9.28125 16.7188L5.28125 12.7188C4.875 12.3438 4.875 11.6875 5.28125 11.3125C5.65625 10.9062 6.3125 10.9062 6.6875 11.3125L10 14.5938L17.2812 7.3125C17.6562 6.90625 18.3125 6.90625 18.6875 7.3125Z" fill="white"/></svg>') !important;
}

/* Pager */
.facetwp-pager {
    text-align: center;
    margin-top: var(--wp--preset--spacing--sm);
    font-weight: 500;
}

.facetwp-page {
    margin-right: 16px !important;
}

a.facetwp-page {
    text-decoration: none;
    font-weight: 600;
}

.facetwp-pager .facetwp-page:not(.dots):not(.next):not(.prev) {
    display: inline-block;
    width: 50px;
    text-align: center;
    line-height: 50px;
    border: 1px solid var(--global-palette5);
    background-color: var(--global-palette9);
    border-radius: 0;
}

.facetwp-pager .facetwp-page:not(.dots):not(.next):not(.prev):hover,
.facetwp-pager .facetwp-page:not(.dots):not(.next):not(.prev):focus,
.facetwp-pager .facetwp-page.active:not(.dots):not(.next):not(.prev) {
    background: var(--global-palette2);
    border-color: var(--global-palette2);
    color: var(--global-palette3);
}

body ::placeholder {
    color: var(--global-palette4);
}

/* Hide facet wraps when facet has no choices (server-side marker via facetwp_facet_html) */
.is-style-facet-wrap:has(.facetwp-empty) {
    display: none !important;
}

.is-style-facet-wrap:last-child .kt-blocks-accordion-header,
.is-style-facet-wrap:last-child  .kt-accordion-panel-inner{
    border-bottom: none !important;
}

.modal--filters .kt-blocks-modal-link {
    text-transform: uppercase;
    width: 100%;
}

body .horizontal-filters .facetwp-type-fselect {
    margin-bottom: 0 !important;
}

body .horizontal-filters .facetwp-type-fselect .fs-arrow {
    border: none;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 13.4062L7.3125 12.7188L1.3125 6.71875L0.59375 6L2 4.59375L2.71875 5.28125L8 10.5938L13.3125 5.28125L14 4.59375L15.4375 6L14.7188 6.71875L8 13.4062Z' fill='%23254749'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    right: 14px;
    transition: none;
}

body .horizontal-filters .facetwp-type-fselect .fs-label-wrap:hover .fs-arrow,
body .horizontal-filters .facetwp-type-fselect .fs-label-wrap:focus .fs-arrow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 13.4062L7.3125 12.7188L1.3125 6.71875L0.59375 6L2 4.59375L2.71875 5.28125L8 10.5938L13.3125 5.28125L14 4.59375L15.4375 6L14.7188 6.71875L8 13.4062Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

body .horizontal-filters .facetwp-type-fselect .fs-label-wrap {
    display: flex;
    align-items: center;
    padding: 14px 40px 14px 12px;
    border: 2px solid var(--global-palette3) !important;
    background-color: transparent;
    color: var(--global-palette3);
    font-size: var(--global-kb-font-size-md) !important;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--global-heading-font-family);
    font-size: clamp(1rem, 0.7rem + 0.8vw, 1.5rem) !important;
}

body .horizontal-filters .facetwp-type-fselect .fs-label-wrap:hover,
body .horizontal-filters .facetwp-type-fselect .fs-label-wrap:focus {
    background-color: var(--global-palette3);
    color: var(--global-palette9);
}

body .horizontal-filters .facetwp-type-fselect .fs-label-wrap .fs-label {
    padding: 0 !important;
}

body .fs-wrap {
    width: 100%;
}

@media screen and (max-width: 767px) {

     .facetwp-selections ul {
        display: block;
    }

    .facetwp-selections li,
    .facetwp-selections .facetwp-selection-value {
        width: 100%;
    }
}

.facet-selections-wrapper:has(.facetwp-selections:empty) {
    display: none;
}

body .fs-label-wrap .fs-label {
    padding: 15px;
}

body .facetwp-type-fselect .fs-wrap.multiple .fs-checkbox {
    position: relative;
    inset: unset;
    display: inline-block;
    height: 14px;
    width: 14px;
    margin-right: 5px;
}

body .facetwp-type-fselect  .fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: var(--global-palette1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='14' viewBox='0 0 15 14' fill='none'%3E%3Cpath d='M14.8125 1.1875L14.2188 2L6.21875 13L5.53125 13.9375C5.53125 13.9062 3.90625 12.3125 0.71875 9.125L0 8.40625L1.40625 7C1.46875 7.0625 2.78125 8.34375 5.28125 10.875L12.5938 0.8125L13.1875 0L14.8125 1.1875Z' fill='white'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10px 10px;
}

body .facetwp-type-fselect .fs-option .fs-option-label {
    display: inline;
    word-break: auto-phrase;
    white-space: unset;
    line-height: 1.5;
}

body .facetwp-type-fselect .fs-wrap.multiple .fs-option {
    padding: 8px 15px;
}

body .facetwp-type-fselect .fs-wrap.multiple .fs-option .fs-checkbox i {
    border-radius: 0;
    border-color: var(--global-palette5);
}

body .facetwp-type-fselect .fs-dropdown {
    min-width: 230px;
}

body .fs-option,
body .fs-search,
body .fs-optgroup-label {
    padding: 8px 15px;
}


body .fs-label-wrap {
    border-color: var(--global-palette4) ;
}

body .facetwp-type-fselect {
    margin-bottom: var(--wp--preset--spacing--xs) !important;
}


/* Swatch Block */
.swatch__chip {
    display: inline-block; /* make it boxy */
    width: 30px; /* fixed size */
    height: 30px;
    border-radius: 0;
    background-size: cover; /* make the texture fill */
    background-position: center; /* center the image */
}

.swatch,
.swatch-more {
    position: static !important;
    display: inline-flex;
    border: 1px solid var(--global-palette10);
    border-radius: 0;
    padding: 2px;
    background: var(--global-palette9);
    cursor: pointer;
    transition: none;
}

.swatch:hover,
.swatch:focus,
.swatch.is-active {
    border-color: var(--global-palette3);
    border-width: 3px;
    padding: 0;
    background-color: transparent;
}

.swatches .swatch.is-hidden {
    display: none !important;
}

/* Swatch label as screen reader text */
.swatch:not(.is-active) .swatch__label {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.swatches {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 30px;
}

.swatch.is-active .swatch__label {
    position: absolute;
    top: calc(100% - 20px);
    left: 0;
    width: 300px;
    height: auto;
    text-align: left;
    color: var(--global-palette3);
    font-family: var(--global-body-font-family);
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
}

.swatch-more {
    font-family: var(--global-body-font-family);
    font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
    color: var(--global-palette3);
    padding-inline: 4px !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 36px;
    box-shadow: none;
}

.swatch-more[aria-expanded="false"]:hover,
.swatch-more[aria-expanded="false"]:focus {
    background-color: var(--global-palette3);
    color: var(--global-palette9);
}

.swatch-more[aria-expanded="true"] {
    border-color: transparent;
}

.swatch-more[aria-expanded="true"]:hover,
.swatch-more[aria-expanded="true"]:focus {
    text-decoration: underline;
    box-shadow: none;
}

.swatch-selector__color {
    font-size: 1rem;
}

.swatch-selector__color-label {
    font-weight: 700;
}


body .splide .splide__arrow {
	border-radius: 0;
}

body button,
body .button {
    box-shadow: none !important;
}

.listing-card__location {
    margin-bottom: var(--wp--preset--spacing--xxs);
    font-weight: 700;
}


/* Weglot */

body .country-selector.weglot-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 0;
}

body .country-selector.weglot-dropdown,
body .wgcurrent {
    background-color: transparent;
}

body .country-selector.weglot-dropdown .wgcurrent {
    border: none;
}

body .country-selector.weglot-dropdown .wgcurrent a, 
body .country-selector.weglot-dropdown .wgcurrent span {
    padding-right: 24px;
}

body .country-selector.weglot-dropdown ul a:focus:focus-visible {
    outline: revert;
}

body .country-selector.weglot-dropdown .wgcurrent::after {
    background: url("data:image/svg+xml,%3Csvg width='12' height='16' viewBox='0 0 12 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.28125 11.7188L1.28125 7.71875C1 7.4375 0.90625 7 1.0625 6.625C1.21875 6.25 1.59375 6 2 6H10C10.4062 6 10.75 6.25 10.9062 6.625C11.0625 7 10.9688 7.4375 10.6875 7.71875L6.6875 11.7188C6.3125 12.125 5.65625 12.125 5.28125 11.7188Z' fill='%23fff'/%3E%3C/svg%3E")
    no-repeat center / contain;
    transform: rotate(-90deg);
    width: 16px;
    height: 16px;
    top: 14px;
    left: 44px;
    right: auto;
}

body .country-selector.weglot-dropdown[aria-expanded="true"] .wgcurrent::after {
    transform: rotate(90deg);
}

body .country-selector.weglot-dropdown ul {
    position: absolute;
	left: 100%;
    min-width: unset;
    background-color: var(--global-palette3);
    border-color: rgba(255, 255, 255, 0.1);
}

body .country-selector.weglot-dropdown input:checked~ul {
    display: flex !important;
}

/* Hero slider LCP: first slide uses <img>; see echelon-core Performance. */
.kb-advanced-slide-inner-wrap.kb-hero-slide-lcp {
    position: relative;
}

.kb-hero-slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

main .echelon-picture,
.fwpl-layout.galleries .echelon-picture,
.kb-row-layout-wrap .echelon-picture {
    display: block;
    max-width: 100%;
}

main .echelon-picture img,
.fwpl-layout.galleries .echelon-picture img,
.kb-row-layout-wrap .echelon-picture img {
    display: block;
    height: auto;
    max-width: 100%;
}

.kb-hero-slide-media picture,
.kb-hero-slide-image {
    display: block;
    width: 100%;
    height: 100%;
}

.kb-hero-slide-image {
    object-fit: cover;
}

.kb-hero-slide-lcp .kb-advanced-slide-overlay,
.kb-hero-slide-lcp .kb-advanced-slide-inner {
    position: relative;
    z-index: 1;
}
