.elementor-12727 .elementor-element.elementor-element-7b66c6f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12727 .elementor-element.elementor-element-7b66c6f:not(.elementor-motion-effects-element-type-background), .elementor-12727 .elementor-element.elementor-element-7b66c6f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#003C52;}.elementor-12727 .elementor-element.elementor-element-ceccd89{--spacer-size:25px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-12727 .elementor-element.elementor-element-e000f9b{text-align:left;}.elementor-12727 .elementor-element.elementor-element-e000f9b img{width:6%;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-12727 .elementor-element.elementor-element-473c621 .elementor-heading-title{font-family:"Causten", Sans-serif;font-size:45px;font-weight:700;color:#F3ECDA;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-12727 .elementor-element.elementor-element-39b7a52{font-family:"Causten", Sans-serif;font-size:22px;font-weight:600;color:#FFFFFF;}.elementor-12727 .elementor-element.elementor-element-a569162{--spacer-size:25px;}.elementor-12727 .elementor-element.elementor-element-c7e6b92{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12727 .elementor-element.elementor-element-64e77fd{--spacer-size:50px;}.elementor-12727 .elementor-element.elementor-element-8555933{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12727 .elementor-element.elementor-element-f022170 .elementor-heading-title{font-family:"Causten", Sans-serif;font-size:30px;font-weight:700;color:#003C52;}.elementor-12727 .elementor-element.elementor-element-90f48f0{--e-filter-direction:row;--e-filter-white-space:nowrap;--e-filter-justify-content:flex-start;--e-filter-item-width:initial;--e-filter-item-flex-grow:0;--e-filter-wrap:wrap;--e-filter-overflow-x:initial;--e-filter-normal-text-color:#003C52;--e-filter-item-border-radius:0px 0px 0px 0px;}.elementor-12727 .elementor-element.elementor-element-90f48f0 .e-filter-item{font-family:"Causten", Sans-serif;font-size:18px;font-weight:500;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-12727 .elementor-element.elementor-element-2f85994{--grid-columns:1;}.elementor-12727 .elementor-element.elementor-element-a31ee49{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12727 .elementor-element.elementor-element-a49e03b{--spacer-size:50px;}.elementor-12727 .elementor-element.elementor-element-1e2398eb{--display:flex;--min-height:350px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-12727 .elementor-element.elementor-element-1e2398eb:not(.elementor-motion-effects-element-type-background), .elementor-12727 .elementor-element.elementor-element-1e2398eb > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://dev.borealamgmt.com/wp-content/uploads/2025/05/Newsletter_background-scaled.webp");background-repeat:no-repeat;background-size:cover;}.elementor-12727 .elementor-element.elementor-element-41a8a4e6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12727 .elementor-element.elementor-element-161a0679{--spacer-size:40px;}.elementor-12727 .elementor-element.elementor-element-47464a5f{text-align:left;}.elementor-12727 .elementor-element.elementor-element-47464a5f img{width:15%;}.elementor-12727 .elementor-element.elementor-element-1b98c285 .elementor-heading-title{font-family:"Causten", Sans-serif;font-size:35px;font-weight:700;color:#F3ECDA;}.elementor-12727 .elementor-element.elementor-element-1858a62f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:100px;--padding-right:050px;}.elementor-12727 .elementor-element.elementor-element-7109cd55{--spacer-size:50px;}.elementor-widget-form .elementor-field-group > label, .elementor-widget-form .elementor-field-subgroup label{color:var( --e-global-color-text );}.elementor-widget-form .elementor-field-group > label{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-form .elementor-field-type-html{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-form .elementor-field-group .elementor-field{color:var( --e-global-color-text );}.elementor-widget-form .elementor-field-group .elementor-field, .elementor-widget-form .elementor-field-subgroup label{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-form .elementor-button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-form .e-form__buttons__wrapper__button-next{background-color:var( --e-global-color-accent );}.elementor-widget-form .elementor-button[type="submit"]{background-color:var( --e-global-color-accent );}.elementor-widget-form .e-form__buttons__wrapper__button-previous{background-color:var( --e-global-color-accent );}.elementor-widget-form .elementor-message{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-form .e-form__indicators__indicator, .elementor-widget-form .e-form__indicators__indicator__label{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-form{--e-form-steps-indicator-inactive-primary-color:var( --e-global-color-text );--e-form-steps-indicator-active-primary-color:var( --e-global-color-accent );--e-form-steps-indicator-completed-primary-color:var( --e-global-color-accent );--e-form-steps-indicator-progress-color:var( --e-global-color-accent );--e-form-steps-indicator-progress-background-color:var( --e-global-color-text );--e-form-steps-indicator-progress-meter-color:var( --e-global-color-text );}.elementor-widget-form .e-form__indicators__indicator__progress__meter{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-button-content-wrapper{flex-direction:row-reverse;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-group{padding-right:calc( 10px/2 );padding-left:calc( 10px/2 );margin-bottom:10px;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-form-fields-wrapper{margin-left:calc( -10px/2 );margin-right:calc( -10px/2 );margin-bottom:-10px;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-group.recaptcha_v3-bottomleft, .elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-group.recaptcha_v3-bottomright{margin-bottom:0;}body.rtl .elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-labels-inline .elementor-field-group > label{padding-left:0px;}body:not(.rtl) .elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-labels-inline .elementor-field-group > label{padding-right:0px;}body .elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-labels-above .elementor-field-group > label{padding-bottom:0px;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-group > label, .elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-subgroup label{color:#FFFFFF;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-type-html{padding-bottom:0px;color:#003C52;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-group .elementor-field{color:#003C52;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-group .elementor-field, .elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-subgroup label{font-family:"Causten", Sans-serif;font-size:18px;font-weight:600;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-group .elementor-field:not(.elementor-select-wrapper){background-color:#FFFFFF;border-radius:0px 0px 0px 0px;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-field-group .elementor-select-wrapper select{background-color:#FFFFFF;border-radius:0px 0px 0px 0px;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-button{font-family:"Causten", Sans-serif;font-size:18px;font-weight:700;text-transform:uppercase;border-radius:0px 0px 0px 0px;padding:15px 25px 15px 25px;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .e-form__buttons__wrapper__button-next{background-color:#003C52;color:#F3ECDA;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-button[type="submit"]{background-color:#003C52;color:#F3ECDA;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-button[type="submit"] svg *{fill:#F3ECDA;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .e-form__buttons__wrapper__button-previous{color:#ffffff;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .e-form__buttons__wrapper__button-next:hover{color:#ffffff;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-button[type="submit"]:hover{color:#ffffff;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .elementor-button[type="submit"]:hover svg *{fill:#ffffff;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3 .e-form__buttons__wrapper__button-previous:hover{color:#ffffff;}.elementor-12727 .elementor-element.elementor-element-9e2bdb3{--e-form-steps-indicators-spacing:20px;--e-form-steps-indicator-padding:30px;--e-form-steps-indicator-inactive-secondary-color:#ffffff;--e-form-steps-indicator-active-secondary-color:#ffffff;--e-form-steps-indicator-completed-secondary-color:#ffffff;--e-form-steps-divider-width:1px;--e-form-steps-divider-gap:10px;}@media(min-width:768px){.elementor-12727 .elementor-element.elementor-element-7b66c6f{--content-width:1300px;}.elementor-12727 .elementor-element.elementor-element-8555933{--content-width:1300px;}.elementor-12727 .elementor-element.elementor-element-1e2398eb{--content-width:1300px;}.elementor-12727 .elementor-element.elementor-element-41a8a4e6{--width:50%;}.elementor-12727 .elementor-element.elementor-element-1858a62f{--width:50%;}}@media(max-width:1024px){.elementor-12727 .elementor-element.elementor-element-2f85994{--grid-columns:2;}}@media(max-width:767px){.elementor-12727 .elementor-element.elementor-element-2f85994{--grid-columns:1;}}/* Start custom CSS for taxonomy-filter, class: .elementor-element-90f48f0 *//* Hide original filter buttons */
.e-filter button {
    display: none;
}

/* Parent filter wrapper */
.taxonomy-parent-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 30px 0 0;
    vertical-align: top;
}

/* Parent filter button styling */
.taxonomy-parent {
    padding: 0 30px 8px 0;
    background: transparent;
    border: none;
    border-bottom: none !important;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    color: #003C52 !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.taxonomy-parent:hover {
    color: #002a3a !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Arrow indicator - 15px from text, same height */
.taxonomy-parent.has-children::after {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url('https://dev.borealamgmt.com/wp-content/uploads/2025/10/Purple_Dropdown_Down.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.taxonomy-parent.has-children {
    padding-right: 29px;
}

.taxonomy-parent-wrapper:hover .taxonomy-parent.has-children::after {
    background-image: url('https://dev.borealamgmt.com/wp-content/uploads/2025/10/Purple_Dropdown_Up.png');
}

/* Dropdown container */
.taxonomy-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #003C52 !important;
    border: none !important;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 280px;
    max-width: 320px;
    z-index: 9999;
    padding: 0;
    animation: fadeInDown 0.2s ease;
    overflow: hidden;
}

.taxonomy-parent-wrapper::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    z-index: 9998;
    display: none;
}

.taxonomy-parent-wrapper:hover::before {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.taxonomy-parent-wrapper:hover .taxonomy-dropdown,
.taxonomy-dropdown:hover {
    display: block;
}

/* Child items - With space for checkbox */
.taxonomy-child {
    display: block !important;
    padding: 16px 30px 16px 50px !important;
    color: #F3ECDA !important;
    text-decoration: none !important;
    transition: background 0.2s ease;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    text-align: left !important;
    background: transparent !important;
    cursor: pointer;
    font-size: 13.75px !important;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    outline: none !important;
    box-shadow: none !important;
    position: relative;
    box-sizing: border-box !important;
}

.taxonomy-child:first-child {
    padding-top: 20px !important;
}

.taxonomy-child:last-child {
    padding-bottom: 20px !important;
}

/* Checkbox - Empty by default */
.taxonomy-child::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #F3ECDA;
    border-radius: 3px;
    background: transparent;
    transition: all 0.2s ease;
}

/* Checkmark - Hidden by default */
.taxonomy-child::after {
    content: '✓';
    position: absolute;
    left: 23px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: auto;
    height: auto;
    background: none;
    color: #003C52;
    font-weight: bold;
    font-size: 12px;
    transition: transform 0.2s ease;
    opacity: 0;
}

/* When checked - Show checkmark */
.taxonomy-child.taxonomy-checked::before,
.taxonomy-child.e-active::before,
.taxonomy-child.active::before,
.taxonomy-child[aria-pressed="true"]::before {
    background: #F3ECDA !important;
    border-color: #F3ECDA !important;
}

.taxonomy-child.taxonomy-checked::after,
.taxonomy-child.e-active::after,
.taxonomy-child.active::after,
.taxonomy-child[aria-pressed="true"]::after {
    transform: translateY(-50%) scale(1) !important;
    opacity: 1 !important;
}

/* Hover state */
.taxonomy-child:hover {
    background: rgba(243, 236, 218, 0.15) !important;
    color: #F3ECDA !important;
    text-decoration: none !important;
}

.taxonomy-child:hover::before {
    border-color: #F3ECDA;
    background: rgba(243, 236, 218, 0.1);
}

.taxonomy-child:focus,
.taxonomy-child:active,
.taxonomy-child:visited,
.taxonomy-child:link {
    text-decoration: none !important;
    outline: none !important;
}

/* Active state styling */
.taxonomy-child.taxonomy-checked,
.taxonomy-child.e-active,
.taxonomy-child.active {
    background: rgba(243, 236, 218, 0.2) !important;
    color: #F3ECDA !important;
    font-weight: 600;
}

.taxonomy-child.taxonomy-checked:hover,
.taxonomy-child.e-active:hover,
.taxonomy-child.active:hover {
    background: rgba(243, 236, 218, 0.25) !important;
}

/* Separator */
.taxonomy-child:not(:last-child) {
    border-bottom: 1px solid rgba(243, 236, 218, 0.1) !important;
}

/* All button */
.taxonomy-parent.all-filter {
    background: transparent;
    color: #003C52 !important;
    border-bottom: none !important;
    font-weight: 600;
    text-decoration: none !important;
    padding-right: 0 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.taxonomy-parent.all-filter::after {
    display: none !important;
}

.taxonomy-parent.all-filter:hover {
    color: #002a3a !important;
    border-bottom: none !important;
}

/* Container */
.e-filter {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    flex-wrap: nowrap;
}

/* Search Bar Wrapper */
.custom-search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
}

/* Search Input */
.custom-search-bar {
    padding: 0 35px 13px 0;
    border: none !important;
    border-bottom: 1px solid #003C52 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #003C52 !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 300px;
    transition: all 0.3s ease;
    outline: none !important;
    box-shadow: none !important;
}

.custom-search-bar::placeholder {
    color: #003C52;
    opacity: 0.7;
    text-transform: uppercase;
    font-weight: 600;
}

.custom-search-bar:focus,
.custom-search-bar:hover,
.custom-search-bar:focus-visible {
    border: none !important;
    border-bottom: 1px solid #002a3a !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Search Icon */
.search-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-70%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    z-index: 1;
}

.search-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #003C52;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Remove all underlines */
.taxonomy-parent-wrapper *,
.taxonomy-dropdown * {
    text-decoration: none !important;
    text-decoration-line: none !important;
    -webkit-text-decoration: none !important;
}

.taxonomy-dropdown a,
.taxonomy-dropdown button {
    text-underline-offset: 0 !important;
    border-bottom: none !important;
}

/* Triangle pointer */
.taxonomy-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #003C52;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .custom-search-bar {
        width: 350px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .custom-search-bar {
        width: 280px;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .taxonomy-parent-wrapper {
        margin: 0 20px 0 0;
    }
    
    .e-filter {
        gap: 15px;
    }
    
    .custom-search-bar {
        width: 250px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .e-filter {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .taxonomy-parent-wrapper {
        margin: 0 15px 15px 0;
    }
    
    .custom-search-wrapper {
        margin-left: 0;
        width: 100%;
        order: 10; /* Move search to bottom */
    }
    
    .custom-search-bar {
        width: 100%;
    }
    
    .taxonomy-dropdown {
        min-width: 250px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .taxonomy-parent {
        font-size: 13px;
        padding: 0 25px 8px 0;
    }
    
    .taxonomy-parent.has-children {
        padding-right: 27px;
    }
    
    .taxonomy-parent.has-children::after {
        width: 12px;
        height: 12px;
    }
    
    .taxonomy-dropdown {
        min-width: 220px;
        max-width: 90vw;
        left: 0;
        right: auto;
    }
    
    .taxonomy-child {
        padding: 14px 25px 14px 45px !important;
        font-size: 12.65px !important;
    }
    
    .taxonomy-child::before {
        left: 15px;
        width: 14px;
        height: 14px;
    }
    
    .taxonomy-child::after {
        left: 19px;
    }
    
    .custom-search-bar {
        font-size: 13px;
        padding: 0 30px 11px 0;
    }
    
    .search-icon {
        width: 14px;
        height: 14px;
    }
    
    .search-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .e-filter {
        padding: 15px 0;
        gap: 12px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .taxonomy-parent-wrapper {
        margin: 0 10px 12px 0;
    }
    
    .taxonomy-parent {
        font-size: 12px;
        padding: 0 22px 6px 0;
    }
    
    .taxonomy-parent.has-children {
        padding-right: 24px;
    }
    
    .taxonomy-parent.has-children::after {
        width: 11px;
        height: 11px;
    }
    
    .taxonomy-dropdown {
        min-width: 200px;
        max-width: 95vw;
    }
    
    .taxonomy-child {
        padding: 12px 20px 12px 40px !important;
        font-size: 12px !important;
    }
    
    .taxonomy-child::before {
        left: 12px;
        width: 13px;
        height: 13px;
        border-width: 1.5px;
    }
    
    .taxonomy-child::after {
        left: 16px;
        font-size: 11px;
    }
    
    .custom-search-bar {
        font-size: 12px;
        padding: 0 28px 10px 0;
    }
    
    .search-icon {
        width: 13px;
        height: 13px;
    }
    
    .search-icon svg {
        width: 13px;
        height: 13px;
    }
    
    .e-filter {
        gap: 10px;
        padding: 12px 0;
    }
}

/* Extra Small Mobile (up to 400px) */
@media (max-width: 400px) {
    .taxonomy-parent {
        font-size: 11px;
        letter-spacing: 0.3px;
    }
    
    .taxonomy-parent-wrapper {
        margin: 0 8px 10px 0;
    }
    
    .taxonomy-dropdown {
        min-width: 180px;
    }
    
    .taxonomy-child {
        font-size: 11px !important;
        padding: 10px 15px 10px 35px !important;
    }
    
    .custom-search-bar {
        font-size: 11px;
    }
}

/* Mobile dropdown styles */
.taxonomy-dropdown.mobile-open {
    display: block !important;
}

.taxonomy-parent-wrapper.active .taxonomy-parent {
    color: #002a3a !important;
    border-bottom: none !important;
}

.taxonomy-parent-wrapper.active .taxonomy-parent.has-children::after {
    background-image: url('https://dev.borealamgmt.com/wp-content/uploads/2025/10/Purple_Dropdown_Up.png') !important;
}

/* Make parent clickable on mobile */
@media (max-width: 991px) {
    .taxonomy-parent {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    /* Keep dropdown in normal flow, not fixed */
    .taxonomy-dropdown {
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        top: calc(100% + 8px) !important;
        max-width: 90vw;
        min-width: 250px;
        width: auto;
    }
    
    /* Adjust parent wrapper for mobile */
    .taxonomy-parent-wrapper {
        position: relative;
    }
}

@media (max-width: 767px) {
    .taxonomy-dropdown {
        min-width: 220px;
        max-width: 95vw;
    }
}

@media (max-width: 575px) {
    .taxonomy-dropdown {
        min-width: 200px;
        left: 0 !important;
    }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: 200;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-Thin.ttf') format('truetype');
}
@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: 300;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-Light.ttf') format('truetype');
}
@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: 100;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-ExtraLight.ttf') format('truetype');
}
@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-Bold.ttf') format('truetype');
}
@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-Bold.ttf') format('truetype');
}
@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: 800;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-ExtraBold.ttf') format('truetype');
}
@font-face {
	font-family: 'Causten';
	font-style: normal;
	font-weight: 900;
	font-display: auto;
	src: url('https://dev.borealamgmt.com/wp-content/uploads/2025/05/Causten-Black.ttf') format('truetype');
}
/* End Custom Fonts CSS */