/*** Basic style v1 ***/

/*** ---------- Global ---------- ***/
:root {
    --ts-100: 1000ms; --ts-95: 950ms; --ts-90: 900ms; --ts-85: 850ms; --ts-80: 800ms; --ts-75: 750ms; --ts-70: 700ms; --ts-65: 650ms; --ts-60: 600ms; --ts-55: 550ms; --ts-50: 500ms; --ts-45: 450ms; --ts-40: 400ms; --ts-35: 350ms; --ts-30: 300ms; --ts-25: 250ms; --ts-20: 200ms; --ts-15: 150ms; 
}

/*** Disable animations & transitions ***/
@media (prefers-reduced-motion) {
    *, *::before, *::after { transition: 0s; animation: none; }
    :root {
        --ts-100: 0; --ts-95: 0; --ts-90: 0; --ts-85: 0; --ts-80: 0; --ts-75: 0; --ts-70: 0; --ts-65: 0; --ts-60: 0; --ts-55: 0; --ts-50: 0; --ts-45: 0; --ts-40: 0; --ts-35: 0; --ts-30: 0; --ts-25: 0; --ts-20: 0; --ts-15: 0;
    }
}

*, *::before, *::after { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; box-sizing: border-box; margin: 0; padding: 0; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); word-wrap: normal!important; border: 0; -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute!important; width: 1px }
html { font-family: var(--font-primary, Arial, sans-serif); font-size: 10px; height: -webkit-fill-available; scroll-behavior: smooth; }
body { font-size: var(--body-fs); line-height: var(--body-lh); color: var(--clr-text); min-height: 100dvh; min-height: -webkit-fill-available; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; 
    &.--no-scroll { overflow: hidden; }
}
.wpb-pagewrapper { background-color: var(--clr-background); -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
.skip-link { position: absolute; top: -999rem; left: 0; background: #000; color: #fff; padding: 8px 16px; text-decoration: none; z-index: 9999; 
    &:focus { top: 20px; left: 20px; }
}

a { color: var(--clr-text); }

/*** ---------- Whitespace ---------- ***/
[class*="wpb-wst"] { --pt: 0px; padding-top: var(--pt); }
[class*="wpb-wsb"] { --pb: 0px; padding-bottom: var(--pb); }

*:is([class*="wpb-wst"],[class*="wpb-wsb"]){ --p-y-xsmall: .8rem; --p-y-small: 1.6rem; --p-y-medium: 3.2rem; --p-y-large: 4.8rem;
    /* -- Top -- */
    &.wpb-wst--xsmall { --pt: var(--p-y-xsmall); }
    &.wpb-wst--small { --pt: var(--p-y-small); }
    &.wpb-wst--medium { --pt: var(--p-y-medium); }
    &.wpb-wst--large { --pt: var(--p-y-large); }

    /* -- Bottom -- */
    &.wpb-wsb--xsmall { --pb: var(--p-y-xsmall); }
    &.wpb-wsb--small { --pb: var(--p-y-small); }
    &.wpb-wsb--medium { --pb: var(--p-y-medium); }
    &.wpb-wsb--large { --pb: var(--p-y-large); }

    @media (min-width: 992px) {
        --p-y-xsmall: 3.2rem; --p-y-small: 6.4rem; --p-y-medium: 8rem; --p-y-large: 12.8rem;
    }
}

/*** ---------- Background colors ---------- ***/
[class*="wpb-bg-clr--"] { --block-bg: transparent; background-color: var(--block-bg); 
    &.wpb-bg-clr--transparent { --block-bg: transparent; }
    &.wpb-bg-clr--white { --block-bg: #fff; --clr-heading: #0f0707; --clr-text: #333333; }
    &.wpb-bg-clr--light { --block-bg: var(--clr-light); --clr-heading: var(--clr-heading-light); --clr-text: var(--clr-text-light); }
    &.wpb-bg-clr--dark { --block-bg: var(--clr-dark); --clr-heading: var(--clr-heading-dark); --clr-text: var(--clr-text-dark); }
    &.wpb-bg-clr--primary { --block-bg: var(--clr-primary); --clr-heading: var(--clr-heading-primary); --clr-text: var(--clr-text-primary); }
    &.wpb-bg-clr--secondary { --block-bg: var(--clr-secondary); --clr-heading: var(--clr-heading-secondary); --clr-text: var(--clr-text-secondary); }
}

/*** ---------- Accordion ---------- ***/
.wpb-accordion {
    --br: 0; 
    --p: 2.4rem;
    --bg: transparent; 
    --gap: 1.2rem;
    --border: 1px solid var(--clr-border);
    --title-fs: var(--text-xl);
    --button-p: var(--p) 0;
    --body-p: 0 0 0 calc(var(--icon-size) + var(--gap)); 
    --icon-clr: var(--clr-primary);
    --icon-size: 2.4rem;
    --icon-fs: 1.8rem;
    --tsd: var(--ts-duration);
    --tsf: var(--ts-function);
    --tsp: color, background-color, border-color, box-shadow, height, border-radius, padding-bottom; 

    .collapse:not(.show) { display: none; }

    .wpb-accordion__item { color: var(--clr); border-radius: var(--br); overflow: hidden; border-bottom: var(--border);
        .wpb-accordion__header { margin: 0;         
            .wpb-accordion__button { font: inherit; color: inherit; padding: var(--button-p); cursor: pointer; display: grid; grid-template-columns: var(--icon-size) 1fr; column-gap: var(--gap); align-items: center; width: 100%; text-align: left; background-color: var(--bg); border: 0; overflow-anchor: none; border-radius: 0; transition-duration: var(--tsd); transition-timing-function: var(--tsf); transition-property: var(--tsp);
                h3 { color: var(--clr-heading); font-family: var(--font-primary); font-size: var(--title-fs); font-weight: 600; line-height: 1.2; }
                .wpb-accordion__icon { position: relative; display: inline-grid; place-items: center; width: var(--icon-size); height: var(--icon-size); min-width: var(--icon-size);
                    i { position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: fit-content; margin: auto; color: var(--icon-clr); font-size: var(--icon-fs); transition: opacity var(--tsd) var(--tsf); }
                    .fa-minus { opacity: 0; }
                }
            }
        }
        .wpb-accordion__collapse {
            .wpb-accordion__body { padding: var(--body-p); background-color: var(--bg); transition: padding-bottom var(--tsd) var(--tsf); }    
            &.collapsing { height: 0; overflow: hidden; transition: height var(--tsd) var(--tsf); }
        }
        
        &.is-active {
            .wpb-accordion__header .wpb-accordion__button { padding-bottom: 1.4rem;
                .wpb-accordion__icon {
                    .fa-plus { opacity: 0; }
                    .fa-minus { opacity: 1; }
                }
            }
            .wpb-accordion__collapse .wpb-accordion__body { padding-bottom: 2.4rem; }
        }
    }

    .wpb-bg-clr--dark &, .wpb-bg-clr--primary & { --border: 1px solid rgb(255, 255, 255, .2); --icon-clr: var(--clr-heading); }
}

/*** ---------- Images ---------- ***/
.wpb-image {
    img { border-radius: var(--radius); }
    figcaption { display: block; padding-top: .8rem; font-size: var(--fs-small); }
}

img { display: block; width: 100%; height: auto; }

/*** ----- Sections ----- ***/
section { position: relative; }
.has-background-image { position: relative;
    .container { z-index: 1; }
    :is(h1, h2, h3, h4, h5, h6, p, ul, ul li, ol, ol li, label, input, textarea, select, button, .wpb-breadcrumbs, .wpb-breadcrumbs *, em) { color: #fff!important; }
    &::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,.5); }
}

img.is-background-image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%!important; object-fit: cover; }
figure.is-background-image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; 
    img { width: 100%; height: 100%!important; object-fit: cover; }
}

.wpb-section__header { margin-bottom: 3.2rem;
    .container { display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; gap: 1.6rem; }
    .wpb-text { margin: 0; }
}

/*** ---------- Icons ---------- ***/
.wpb-icon { --src: ; --clr: var(--clr-dark); --w: 2rem; --h: 2rem; display: inline-flex; background: transparent; 
    &::after { content:''; -webkit-mask-image: var(--src); mask-image: var(--src); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; display: inline-block; width: var(--w); height: var(--h); min-width: var(--w); min-height: var(--h); background-color: var(--clr); transition: background-color var(--ts-duration) var(--ts-function); }
}

i[class*="fa-"] { --clr-icon: inherit; 
    &::before { color: var(--clr-icon); }
}

.wpb-icon-wrapper { --size: 4rem; width: var(--size); height: var(--size); min-width: var(--size); border-radius: 50%; display: inline-grid; place-items: center; text-decoration: none!important;
    i { text-decoration: none!important; }

    &.wpb-icon-wrapper--square { border-radius: var(--radius--small); }
    &.wpb-icon-wrapper--primary { background-color: var(--clr-primary); 
        i[class*="fa-"] { --clr-icon: #fff; }
    }
    &.wpb-icon-wrapper--secondary { background-color: var(--clr-secondary); 
        i[class*="fa-"] { --clr-icon: #fff; }
    }

    &.wpb-icon-wrapper--20 { --size: 2rem; }
    &.wpb-icon-wrapper--small { --size: 2.4rem; }
    &.wpb-icon-wrapper--medium { --size: 2.8rem; }
    &.wpb-icon-wrapper--large { --size: 3.2rem; }
}

/*** ---------- Typography ---------- ***/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { font-family: var(--font-secondary, var(--font-primary)); font-size: var(--heading-fs); line-height: var(--heading-lh); font-weight: var(--heading-fw, 500); color: var(--clr-heading); text-wrap: balance; }
h1, .h1 { --heading-fs: var(--fs-h1); --heading-lh: 1.2; --heading-fw: 600; }
h2, .h2 { --heading-fs: var(--fs-h2); --heading-lh: 1.2; --heading-fw: 600; }
h3, .h3 { --heading-fs: var(--fs-h3); --heading-lh: 1.2; --heading-fw: 600; }
h4, .h4 { --heading-fs: var(--fs-h4); --heading-lh: 1.2; }
h5, .h5 { --heading-fs: var(--fs-h5); --heading-lh: 1.2; }
h6, .h6 { --heading-fs: var(--fs-h6); --heading-lh: 1.2; }
small, .small { --fs: var(--fs-small); }
.x-small, .xsmall { --fs: var(--fs-x-small); }

p, ul, ul li, ol, ol li, label, input, textarea, select, .wpb-breadcrumbs, .wpb-breadcrumbs *, em { font-size: var(--fs); line-height: var(--lh); color: var(--clr-text); }

ul, ol { padding-left: 1.6rem; }

blockquote { border-left: 4px solid var(--clr-primary); background-color: var(--clr-light); padding: .8rem 1.6rem; margin-inline: 0; border-radius: var(--radius); --clr-text: var(--clr-text-light)!important; }

/*** ---------- Text ---------- ***/
.wpb-text { --mt: 1em; 
    > * + *:not(.btn .blockquote) { margin-top: var(--mt); } 
    > * + :not(.btn .blockquote, .modal) { margin-top: .8rem; 
        &:is(h1, h2) { margin-top: 6.4rem; }
        &:is(h3, h4, h5, h6) { margin-top: 3.2rem; }
    }
    ul, ol { padding-left: 1.6rem;
        li { font: inherit; }
    }
    a:not(.btn) { font: inherit; text-underline-offset: .2rem; }
    iframe { width: 100%; height: 100%; aspect-ratio: 16/9; border-radius: var(--radius); }

    &[class*="wpb-text--"] { width: 100%; }

    @media (min-width: 768px) { 
        &.wpb-text--90 { width: 90%; }
        &.wpb-text--80 { width: 80%; }
        &.wpb-text--70 { width: 70%; }
        &.wpb-text--60 { width: 60%; }
        &.wpb-text--50 { width: 50%; }
        &.wpb-text--40 { width: 40%; }
        &.wpb-text--30 { width: 30%; }
        &.wpb-text--20 { width: 20%; }
        &.wpb-text--10 { width: 10%; }
    }

    .wpb-header & > * + :is(h1, h2, h3, h4, h5, h6) { margin-top: 1.6rem!important; }
}

:is(.wpb-text, .wpb-blog-content) {
    li:hover a { color: var(--clr-primary-hover); }
    a:not(.btn) { transition: color var(--ts-duration) var(--ts-function); 
        &:hover { color: var(--clr-primary-hover); }
    }
}

/*** ---------- USP's ---------- ***/
.wpb-usps-wrapper { --gap: .8rem; list-style: none; padding: 0!important; display: flex; flex-direction: column; gap: var(--gap); }

.wpb-usp { --clr-icon: var(--clr-primary); --icon-size: 1.2rem; display: flex; gap: .8rem; 
    .wpb-usp__icon { display: block; color: var(--clr-icon); width: var(--icon-size); font-size: var(--icon-size); height: fit-content; margin-top: .8rem; }
    .wpb-usp__text {
        strong { font-weight: 600; }
    }
}

/*** ---------- Tabs ---------- ***/
.wpb-tabs { 
    --p: 0 2rem; 
    --clr: var(--clr-text); 
    --bg-clr: transparent; 
    --br: var(--radius);
    --border: .1rem solid transparent; 
    --active-clr: var(--clr-primary); 
    --active-bg-clr: #fff; 
    --active-border: .1rem solid var(--clr-border);
    --tsd: var(--ts-duration);
    --tsf: var(--ts-function);
    --tsp: color, background-color, border-color;

    display: grid;

    .wpb-tabs__header { display: flex; flex-wrap: wrap; position: relative; z-index: 1; margin-bottom: -0.1rem; }
    .tab-button { font: inherit; display: inline-block; padding: var(--p); color: var(--clr); min-height: 4.3rem; background-color: var(--bg-clr); border-radius: var(--br) var(--br) 0 0; border: var(--border); text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; user-select: none; transition-duration: var(--tsd); transition-timing-function: var(--tsf); transition-property: var(--tsp);
        &.is-active { color: var(--active-clr); border-color: var(--active-clr); background-color: var(--active-bg-clr); border: var(--active-border); border-bottom: 1px solid transparent; }
    }
    .wpb-tabs__content { background-color: #fff; display: grid; border: .1rem solid var(--clr-border); border-radius: 0 0 var(--br) var(--br);
        .tab-pane { grid-column: 1/-1; grid-row: 1/-1; pointer-events: none; opacity: 0; padding: 2rem; transition: opacity var(--tsd) var(--tsf);
            &.is-active { pointer-events: all; opacity: 1; }
            > * + * { margin-top: 1em; }
        }
    }
}

/*** ---------- Alignment ---------- ***/
.wpb-align--y-top .inner { -webkit-box-align: start; -ms-flex-align: start; align-items: start; }
.wpb-align--y-center .inner { -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.wpb-align--y-bottom .inner { -webkit-box-align: end; -ms-flex-align: end; align-items: end; }

@media (min-width: 992px) {
    .wpb-align-left { order: -1; }
    .wpb-align-right { order: 999; }
}

/*** ---------- Badge ---------- ***/
.badge-group { display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: .5rem; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.badge { 
    --fs: 1.3rem; 
    --lh: 1; 
    --p: .5rem 1rem; 
    --br: 2rem; 
    
    --clr: #fff; --bg-clr: var(--clr-dark); --border: none; --box-shadow: none; 
    --hover-clr: var(--clr); --hover-bg-clr: var(--bg-clr); --hover-border: var(--border); --hover-box-shadow: var(--box-shadow);
    
    display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs); line-height: var(--lh); padding: var(--p); color: var(--clr)!important; background-color: var(--bg-clr); border-radius: var(--br); border: var(--border); box-shadow: var(--box-shadow); text-align: center; text-decoration: none; vertical-align: middle; user-select: none; transition-duration: var(--ts-duration); transition-timing-function: var(--ts-function); transition-property: color, background-color, border-color, box-shadow; 
    
    &:hover { color: var(--hover-clr)!important; background-color: var(--hover-bg-clr); border: var(--hover-border); box-shadow: var(--hover-box-shadow); }

    .wpb-icon { --clr: currentColor; --w: 1.4rem; --h: 1.4rem; }

    /* Badge variations */
    &.badge--primary { --clr: var(--clr-heading-primary); --bg-clr: var(--clr-primary); --hover-bg-clr: var(--clr-primary-hover); }
    &.badge--small { --fs: 1.2rem; --p: .4rem .8rem; }
}

/*** ---------- Meta tags (Blog header) ---------- ***/
.wpb-meta-group { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; justify-content: end; 
    .wpb-header--blog .container > & { position: absolute; right: var(--header-padding, 6.4rem); top: var(--header-padding, 6.4rem); z-index: 1; }
}

.wpb-meta-tag { --bg: #fff; --br: var(--radius--small); --p: .4rem .8rem; display: flex; align-items: center; gap: .8rem; border-radius: var(--br); padding: var(--p); background-color: var(--bg); width: fit-content; font-weight: 500; 
    * { --clr: var(--clr-dark); color: var(--clr); }
    a { text-decoration: none!important; }
}

/*** ---------- Backdrop ---------- ***/
.wpb-backdrop { background-color: rgba(0,0,0,.35); position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1010; opacity: 0; pointer-events: none; transition: opacity var(--ts-25) ease; 
    &.active { opacity: 1; pointer-events: all; }
}  


/*** ---------- Breadcrumb ---------- ***/
.wpb-breadcrumbs { --clr: var(--clr-text); --clr-icon: var(--clr-primary); --fs: var(--fs-small); display: inline-flex; min-width: 0; width: 100%; max-width: min(70rem, 100%); padding: .4rem 0; margin-bottom: .8rem;
    & + :is(h1, h2, h3) { --mt: clamp(1.5rem, 1.75vw, 2rem); }

    :is(span, a) { display: flex; align-items: center; color: var(--clr); text-decoration: none!important; font-size: var(--fs); font-weight: 400; line-height: 1.6; }
    .breadcrumb_last { display: block; white-space: nowrap; min-width: 0; text-overflow: ellipsis; overflow: hidden; color: var(--clr); font-weight: 500; opacity: 1; }
    a { opacity: .6; transition: opacity var(--ts-duration) ease;
        &:not(.btn) { color: var(--clr); }
        &:hover { text-decoration: underline!important; opacity: 1; }
    }
    i.fa-chevron-right { font-size: 1rem; line-height: 0; color: var(--clr-icon); width: fit-content; }
    > span { display: flex; column-gap: .8rem; overflow: hidden; white-space: nowrap; min-width: 0; }
    > span > span { text-wrap: nowrap; }
}

/*** ---------- Modal ---------- ***/
.modal { 
    --br: var(--radius); 
    --p: 1.6rem; 
    --backdrop-clr: rgba(0,0,0,.45); 
    --bg-clr: #fff;
    --border: 1px solid var(--clr-border);
    --max-height: 80vh;
    --max-width: 74rem;
    
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; pointer-events: none; padding: 2rem; background-color: var(--backdrop-clr); display: none; justify-content: center; align-items: center; transition: opacity var(--ts-duration) ease-in-out; z-index: 1090; 

    .modal-dialog { display: flex; flex-direction: column; border-radius: var(--br); width: 100%; max-width: var(--max-width); height: auto; max-height: var(--max-height); transform: translateY(5rem); transition: transform var(--ts-25) ease; overflow: hidden; 
        .modal-dialog__header { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--p) / 2) var(--p); margin-bottom: 0; border-bottom: var(--border); background-color: var(--bg-clr); font-family: inherit; 
            .modal-title { font-size: var(--fs-h4); margin: 0; } 
        }    
        .modal-dialog__body { background-color: var(--bg-clr); padding: calc(var(--p) / 2) var(--p) var(--p); overflow-y: auto; overflow-x: hidden; 
            input { background-color: var(--clr-light)!important; }
        }
        .modal-dialog__footer { display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; border-top: var(--border); background-color: var(--bg-clr); padding: var(--p); z-index: 2; margin-top: auto; }
    }
    
    &.show { display: flex; opacity: 1; pointer-events: all; 
        .modal-dialog { transform: translateY(0); }
    }

    /* Modal variations */
    &.modal--small { --max-width: 64rem; --max-height: 64rem; }
    &.modal--large { --max-width: 96rem; --max-height: 64rem; }
    &.modal--fullscreen { --br: 0; --max-width: 100%; --max-height: 100%; padding: 0;
        .modal-dialog { height: 100%; }
    }
    
    @media (min-width: 576px) {
        &.modal--fullscreen { --p: 3.2rem; }
    }
    @media (min-width: 768px) {
        &.modal--fullscreen { --br: var(--radius); --max-height: 80vh; --max-width: 80rem; padding: 2rem;
            .modal-dialog { height: auto; }
        }
    }
    @media (min-width: 992px) { --p: 3.2rem; 
        &.modal--fullscreen { --p: 6.4rem; }
    }
}

/*** ---------- Tooltips ---------- ***/
.wpb-tooltip { --bg: rgb(255,255,255); position: absolute; pointer-events: none; opacity: 0; background-color: var(--bg); color: inherit; font-size: var(--fs-small); line-height: 2rem; padding: .8rem 1.2rem; border-radius: var(--radius--small); z-index: 9999; box-shadow: 0 0 .8rem .4rem rgba(0,0,0,.1);
    &::after { content: ''; position: absolute; width: 0; height: 0; border-style: solid; border-width: 0 .8rem .8rem .8rem; border-color: transparent transparent var(--bg) transparent; bottom: 100%; transform: translateX(-50%); left: 50%; }

    /* Tooltip variations */
    &.wpb-tooltip--left::after { border-width: .8rem 0 .8rem .8rem; border-color: transparent transparent transparent var(--bg); top: 50%; transform: translateY(-50%); left: calc(100% - 1px); }
    &.wpb-tooltip--right::after { border-width: .8rem .8rem .8rem 0; border-color: transparent var(--bg) transparent transparent; top: 50%; transform: translateY(-50%); right: calc(100% - 1px); left: auto; }
    &.wpb-tooltip--top::after { border-width: .8rem .8rem 0 .8rem; border-color: var(--bg) transparent transparent transparent; top: 100%; transform: translateX(-50%); left: 50%; }

    &.show { opacity: 1; }
}

/*** ---------- Dropdowns ---------- ***/
.wpb-dropdown { position: relative; 

    .wpb-dropdown__toggle { border: none; background: transparent;
        i.fa-chevron-down { color: var(--clr-primary); }
    }

    .wpb-dropdown__menu { display: block; z-index: 850; opacity: 0; pointer-events: none; min-width: 12rem; border-radius: var(--radius); position: absolute; top: calc(100% + .8rem); left: 0; background-color: #fff; box-shadow: 0 .8rem .8rem rgb(21, 47, 51, .1); border: 1px solid var(--clr-border); padding: 1.6rem; transition: opacity var(--ts-duration) ease-in-out; 
        ul { list-style: none; 
            .dropdown-item { white-space: nowrap; display: flex; gap: .8rem; text-decoration: none; }
        }
    }
    .wpb-dropdown__menu-right { left: auto; right: 0; }
    .wpb-dropdown__toggle[aria-expanded="true"] + .wpb-dropdown__menu { opacity: 1; pointer-events: all; }  

    &:has(.wpb-dropdown__menu) {
      .wpb-dropdown__toggle { cursor: pointer; }
    }

    /* Dropdown variations */
    &.wpb-dropdown__left {
        .wpb-dropdown__menu { top: 0; right: calc(100% + .8rem); left: auto; } 
        .wpb-dropdown__toggle i { order: -1; transform: rotate(90deg); }
    } 
    &.wpb-dropdown__right {
        .wpb-dropdown__menu { top: 0; left: calc(100% + .8rem); right: auto; } 
        .wpb-dropdown__toggle i { order: 9999; transform: rotate(-90deg); }
    }
}

/*** ---------- Tables ---------- ***/
.wpb-table { overflow-x: auto; }
table { 
    --clr: var(--clr-text); 
    --border-clr: var(--clr-border); 
    --border-width: .1rem; 
    
    border-collapse: collapse; width: 100%; color: var(--clr); vertical-align: top; border-color: var(--border-clr); border-spacing: 0; margin: 0 0 1.41575em; 

    td, th { padding: 1em 1.41575em; text-align: left; vertical-align: top; border-color: inherit; border-style: solid; border-width: 0; border-bottom-width: var(--border-width); }
    thead { vertical-align: bottom; }
}

/*** ---------- Pagination ---------- ***/
.wb-pagination { display: flex; align-items: center; justify-content: center; column-gap: 1.6rem; margin-top: 3.2rem; 
    :is(button.wb-prev, button.wb-next) { --bg-clr: var(--clr-primary); --hover-bg-clr: var(--clr-primary-hover); --size: 4rem; width: var(--size); height: var(--size); border: none; border-radius: var(--radius--small); background: var(--bg-clr); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--ts-duration) ease, transform var(--ts-duration) ease, width var(--ts-duration) ease, opacity var(--ts-duration) ease; 
        i::before { color: var(--clr-heading-primary); }
        &:hover { background: var(--hover-bg-clr); }
        &.disabled { opacity: 0; transform: scale(0); width: 0; }
    }

    &:has(button.disabled) { column-gap: 0; }
}

/*** ---------- Offcanvas ---------- ***/
.wpb-offcanvas { --p: 1.8rem; width: 100%; position: fixed; top: 0; right: 0; bottom: 0; left: auto; flex-direction: column; z-index: 9999; background-color: #fff; transform: translate3d(100%, 0, 0); transition: transform var(--ts-35) ease; 
    &.wpb-offcanvas--left { transform: translate3d(-100%, 0, 0); top: 0; right: auto; bottom: 0; left: 0; }
    &.is-active { pointer-events: all; transform: translate3d(0%, 0, 0); }
    
    .wpb-offcanvas__header { display: flex; justify-content: space-between; align-items: center; padding: var(--p); }
    .wpb-offcanvas__body { padding: var(--p); flex-grow: 1; overflow-y: auto; }
    .wpb-offcanvas__footer { display: grid; padding: var(--p); }

    @media (min-width: 576px) {
        max-width: 48rem; 
    }
}

/*** ---------- Contact links ---------- ***/
.contact-link { display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; text-decoration: none; 
    strong { display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 1.6rem; width: 100%; }
}

/*** ---------- Archive ---------- ***/
.wpb-archive { --gc: 1; --gap: 3.2rem; 
    .container.container--results { display: grid; grid-template-columns: repeat(var(--gc), minmax(0, 1fr)); gap: var(--gap); }

    @media (min-width: 768px) { --gc: 2; }
    @media (min-width: 992px) { --gc: 3; }
}

/*** ---------- Social share icons ---------- ***/
.wpb-social-share { display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding-top: 1.6rem; gap: .8rem; 
    > *:first-child { margin-right: auto; }
}

/*** ---------- Aspect ratio ---------- ***/
.wpb-ratio { --aspect-ratio: 100%; position: relative; width: 100%;
    > * { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    > img, > video { object-fit: cover; } 

    &::before { display: block; padding-top: var(--aspect-ratio); content: ""; }

    &.wpb-ratio--21x9 { --aspect-ratio: 42.8571428571%; }
    &.wpb-ratio--16x9 { --aspect-ratio: 56.25%; }
    &.wpb-ratio--1x1 { --aspect-ratio: 100%; }
    &.wpb-ratio--4x3 { --aspect-ratio: 75%; }
}

/*** ---------- Alerts ---------- ***/
.wpb-alert { --clr: #fff; --bg: var(--clr-primary); --br: var(--radius); display: block; padding: 1.6rem; color: var(--clr); background-color: var(--bg); border-radius: var(--br); 
    *:not(.btn) { color: inherit; }

    &.wpb-alert--info { --border: 1px solid rgb(0, 143, 214); --bg: rgb(0, 143, 214); }
    &.wpb-alert--warning { --border: 1px solid rgb(194, 100, 47); --bg: rgb(194, 100, 47); }
    &.wpb-alert--danger { --border: 1px solid rgb(216, 19, 19); --bg: rgb(216, 19, 19); }
    &.wpb-alert--success { --border: 1px solid rgb(78, 168, 69); --bg: rgb(78, 168, 69); }
}

/*** ---------- Search form ---------- ***/
.wpb-search-form { position: relative; border-radius: var(--radius--small); overflow: hidden; 
    input { border-radius: 0; border: none; padding: 0 1.6rem; min-height: 6.4rem; font-size: 1.6rem; font-weight: 600; 
        &:focus { border: none; }
    }
    [type="submit"] { display: inline-flex; align-items: center; cursor: pointer; user-select: none; padding: .4rem 1.6rem; border: none; background: none; height: 100%; position: absolute; right: 0; top: 50%; transform: translateY(-50%); 
        i[class*="fa-"] { --clr-icon: var(--clr-dark); transition: transform var(--ts-duration) ease; }
        &:hover i[class*="fa-"] { --clr-icon: var(--clr-primary); transform: scale(1.1); }
    }

    .wpb-header & [type="submit"] { background: linear-gradient(to left, #fff 75%, #fff0); }
}

/*** ---------- Template: Contact ---------- ***/
.wpb-contact .wpb-card { --p: 2.4rem; 
    @media (min-width: 768px) { --p: 3.2rem; }
    @media (min-width: 992px) { --p: 4.8rem; }
}

/*** ---------- Keyframes ---------- ***/
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
