/* =================
    THE BADIL
    CUSTOM STYLES
    AUTHOR: AZRAPH
    JAZILAN.COM
==================== */

/* Custom Selection Color */
::selection {
    color: var(--wp--preset--color--black);
    background: var(--wp--preset--color--surface); /* WebKit/Blink Browsers */
}

::-moz-selection {
    color: var(--wp--preset--color--black);
    background: var(--wp--preset--color--surface); /* Gecko Browsers */
}

/* VIEW TRANSITION */
@view-transition {
  navigation: auto;
}

/* SMOOTH SCROLL */
:root {
    scroll-behavior: smooth;
}

/* LAZY LOAD PLACEHOLDER */

img[loading="lazy"]:not([src$=".svg"]),
.wp-block-post-featured-image img,
.entry-thumbnail img,
.home-carousel__media-container img {
    background-color: var(--wp--preset--color--surface);
}

/* Responsive Classes 
======================= */

@media screen and (max-width: 782px){
    body:not(.block-editor-iframe__body) .not-mobile {display: none;}
}

@media screen and (min-width: 782px){
    body:not(.block-editor-iframe__body) .mobile-only {display: none;}
}

/* =============
    TYPOGRAPHY
================ */

/*.pll-dir-rtl .editor-styles-wrapper,
.rtl {
    direction: rtl;
}

.pll-dir-ltr .editor-styles-wrapper,
.ltr {
    direction: ltr;
}

.pll-dir-rtl .editor-styles-wrapper,
.rtl {
    font-kerning: none;
    --wp--custom--body--typography--line-height: 1.6;
    --wp--custom--heading--typography--line-height: 1.2;
}*/

.admin-color-pll-dir-rtl.editor-styles-wrapper,
.admin-color-pll-dir-rtl .editor-styles-wrapper,
.rtl {
    direction: rtl;
    font-kerning: none;
    --wp--custom--body--typography--line-height: 1.7;
    --wp--custom--heading--typography--line-height: 1.5;
}

.admin-color-pll-dir-ltr.editor-styles-wrapper,
.admin-color-pll-dir-ltr .editor-styles-wrapper,
body:not(.wp-admin, .rtl),
.ltr {
    direction: ltr;
}

body.rtl .label-en,
body:not(.wp-admin, .block-editor-iframe__body, .rtl) .label-ar {
    display: none;
}

/* ==============
    BLOCKS
================= */

/* Balanced Paragraphs */

.balance,
.wp-block-post-title,
.wp-block-heading {
    text-wrap: balance;
}

.wp-block-paragraph:not(.balance) {
    text-wrap: pretty;
}

/* BUTTONS */

.wp-element-button, .wp-block-button__link {
    transition-duration: 0.3s;
}

/*.has-teal-background-color.wp-block-button__link:is(:hover, :active, :focus) {
    background-color: var(--wp--preset--color--dark-teal) !important;
    border-color: var(--wp--preset--color--dark-teal) !important;
}*/

/* EXTERNAL LINKS */

p > a[target="_blank"],
li:not(.wp-social-link) > a[target="_blank"] {
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEyIDEyIj4KICA8cGF0aCBmaWxsPSJ2YXIoLS13cC0tcHJlc2V0LS1jb2xvci0tZ3JleSwgI2IwYjRiYSkiIGQ9Ik02LDFoNXY1bC0yLjEtMi4yLTQuMiw0LjItLjctLjcsNC4xLTQuMi0yLjEtMi4xWk0yLDNoMnYxaC0ydjZoNnYtMmgxdjJjMCwuNi0uNCwxLTEsMUgyYy0uNiwwLTEtLjQtMS0xdi02YzAtLjYuNC0xLDEtMVoiLz4KPC9zdmc+");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 0.857em;
    padding-right: 1em;
    will-change: background-position;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.rtl p > a[target="_blank"],
.rtl li:not(.wp-social-link) > a[target="_blank"] {
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEyIDEyIj4KICA8cGF0aCBmaWxsPSJ2YXIoLS13cC0tcHJlc2V0LS1jb2xvci0tZ3JleSwgI2IwYjRiYSkiIGQ9Ik0zLjksMy4xbDQuMSw0LjItLjcuN0wzLjEsMy44bC0yLjEsMi4yVjFoNXMtMi4xLDIuMS0yLjEsMi4xWk0xMSw0djZjMCwuNi0uNCwxLTEsMUg0Yy0uNiwwLTEtLjQtMS0xdi0yaDF2MnM2LDAsNiwwdi02cy0yLDAtMiwwdi0xaDJjLjYsMCwxLC40LDEsMVoiLz4KPC9zdmc+");
    background-position: center left;
    padding-left: 1em;
    padding-right: 0;
}

p > a[target="_blank"]:hover,
li:not(.wp-social-link) > a[target="_blank"]:hover {
    background-position: top right;
}

.rtl p > a[target="_blank"]:hover,
.rtl li:not(.wp-social-link) > a[target="_blank"]:hover {
    background-position: top left;
}

/* LISTS */

.wp-block-list li {
    margin-bottom: 0.5em;
    text-wrap: balance;
}

.wp-block-list li::marker {
    color: var(--wp--preset--color--primary);
}

/* BREADCRUMBS */

/*nav.breadcrumb a,
.breadcrumb-row a {
    text-decoration: none;
}

nav.breadcrumb a:hover,
.breadcrumb-row a:hover {
    text-decoration: underline;
}

.rtl .wp-block-boldblocks-breadcrumb-block ol li .sep {
    margin-left: 0;
    margin-right: var(--bb--crumb-gap, .4em);
}*/

/* POST NAVIGATION */

/*
.post-navigation-container .wp-block-post-navigation-link {
    font-family: var(--wp--preset--font-family--readex-pro);
    font-size: 1.25rem;
    font-weight: 700;
}

.post-navigation-container .wp-block-post-navigation-link a {
    text-decoration: none;
}

.post-navigation-container .wp-block-post-navigation-link a:is(:hover, :active, :focus) {
    text-decoration: underline;
}

.post-navigation-container .post-navigation-link-next {
    text-align: end;
}
*/

/* BLOCKQUOTE */

/*.pll-dir-rtl .wp-block-quote,
.rtl .wp-block-quote {
    padding-left: 0;
    padding-right: var(--wp--custom--gap--horizontal);
    border-width: 0 1px 0 0;
}*/

/* PULL QUOTES */

:root :where(.wp-block-pullquote) {
    position: relative;
    line-height: var(--wp--custom--heading--typography--line-height);
    text-wrap: pretty;
    padding-left: calc(1.5 * var(--wp--custom--gap--horizontal));
    padding-right: calc(3 * var(--wp--custom--gap--horizontal));
    box-sizing: border-box;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 36px 0 0 0;
    corner-shape: bevel;
}

.wp-block-pullquote blockquote {
    color: var(--wp--preset--color--primary);
}

/* SAFARI ONLY */
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
    .wp-block-pullquote:before {
        content: "";
        width: 50px;
        height: 50px;
        background-image: url(/wp-content/uploads/2023/03/notched-corner-2a.svg);
        position: absolute;
        left: -1px;
        top: -1px;
    }
}

.wp-block-pullquote:after {
    content: "";
    width: 85px;
    height: 85px;
    background-image: url(/wp-content/uploads/2023/03/badil-ico-boxbg-2a.svg);
    position:absolute;
    right: -1px;
    bottom: -1px;
}

/* DETAILS */

/*.wp-block-details summary {
    color: #000a;
    background-color: var(--wp--preset--color--beige);
    padding: 10px 20px;
    border-radius: 12px;
}

.wp-block-details summary::marker {
    color: #0003;
}*/

/* EMBEDS */

/*.wp-block-embed.is-type-video {
    margin-bottom: 40px;
}*/

.wp-block-embed__wrapper > .plyr {
    border-radius: 24px;
}

/*.wp-block-embed.is-type-video iframe {
    border-radius: 24px;
}*/

/* GRAVITY FORMS */

/*.gform_required_legend {
    display: none;
}*/

/* FOOTNOTES */
.modern-footnotes-footnote a:before {
    content: "[";
}

.modern-footnotes-footnote a:after {
    content: "]";
}

/*.rtl .modern-footnotes-footnote a:before {
    content: "]";
}

.rtl .modern-footnotes-footnote a:after {
    content: "[";
}*/

/*.modern-footnotes-list,
.modern-footnotes-list *,
.modern-footnotes-footnote__note--tooltip,
.modern-footnotes-footnote__note--tooltip * {
    font-size: 1.05em;
    line-height: 1.3;
}*/

.single .modern-footnotes-list {
    padding-top: 20px;
    padding-right: 0;
    padding-left: 0;
}

.single .modern-footnotes-list li>span {
    margin-right: 1em;
    margin-left: 0;
    min-width: 3ch;
}

.rtl.single .modern-footnotes-list li>span {
    margin-left: 1em;
    margin-right: 0;
}

.modern-footnotes-list li>span:after {
    content: ".";
}

.modern-footnotes-list li > div {
    max-width: calc(100% - 1em - 3ch);
    word-break: break-word;
}

.modern-footnotes-list-heading {
    color: var(--wp--preset--color--grey);
    margin-top: 60px !important;
    line-height: 1;
}

/*.modern-footnotes-list li a {
    word-break: break-word;
}*/

/*body:not(.wp-admin, .rtl) .modern-footnotes-list-heading {
    border-left: solid 15px var(--wp--preset--color--tertiary);
    padding-left: 15px;
}

body.rtl .modern-footnotes-list-heading {
    border-right: solid 15px var(--wp--preset--color--tertiary);
    padding-right: 15px;
}*/

/* POST DATE */

.rtl .wp-block-post-date.is-style-post-date-icon::before {
    margin-right: 0;
    margin-left: calc(0.5 * var(--wp--custom--gap--baseline));
}

.wp-block-post-date.is-style-post-date-icon::before {
    opacity: 0.3;
}

/* PAGINATION */

.wp-block-query-pagination {
    margin-block-start: calc(4 * var(--wp--custom--gap--baseline));
}

.wp-block-query-pagination,
.wp-block-query-pagination a {
    color: var(--wp--preset--color--background);
}

.wp-block-query-pagination a {
    text-decoration: none;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers {
    display: flex;
    gap: 10px;
}

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination .wp-block-query-pagination-next-arrow,
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow {
    background-color: var(--wp--preset--color--primary);
    font-family: monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition-duration: 0.3s;
}

.wp-block-query-pagination a.page-numbers:is(:hover, :active, :focus),
.wp-block-query-pagination .wp-block-query-pagination-next-arrow:is(:hover, :active, :focus),
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:is(:hover, :active, :focus) {
    background-color: var(--wp--preset--color--secondary);
}

.wp-block-query-pagination .page-numbers.current {
    color: var(--wp--preset--color--primary);
    background-color: var(--wp--preset--color--surface);
    border: solid 1px;
}

.wp-block-query-pagination .wp-block-query-pagination-next-arrow,
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow {
    font-size: 2rem;
}

/* MAILCHIMP SUBSCRIBE FORMS */

.an_mailchimp_wrapper form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    --wp--custom--form--color--background: var(--wp--preset--color--background);
}

.an_mailchimp_wrapper form p {
    margin: 0;
}

.an_mailchimp_wrapper form input,
.an_mailchimp_wrapper form p {
    font-family: var(--wp--preset--font-family--vazirmatn);
}

.an_mailchimp_wrapper form #an_sh_mailchimp_first_name,
.an_mailchimp_wrapper form #an_sh_mailchimp_last_name {
    max-width: 14ch;
}

.an_mailchimp_wrapper form .mpam-submit {
    background-color: var(--wp--custom--button--color--background);
    border-radius: var(--wp--custom--form--border--radius);
    border-color: var(--wp--custom--button--border--color);
    border-width: var(--wp--custom--button--border--width);
    border-style: var(--wp--custom--button--border--style);
    color: var(--wp--custom--button--color--text);
    font-family: var(--wp--preset--font-family--readex-pro);
    font-size: var(--wp--custom--button--typography--font-size);
    font-weight: var(--wp--custom--button--typography--font-weight);
    line-height: var(--wp--custom--button--typography--line-height);
    padding-top: var(--wp--custom--form--padding);
    padding-right: var(--wp--custom--button--spacing--padding--right);
    padding-bottom: var(--wp--custom--form--padding);
    padding-left: var(--wp--custom--button--spacing--padding--left);
    cursor: pointer;
    transition-duration: 0.3s;
}

.an_mailchimp_wrapper form .mpam-submit:is(:hover, :active, :focus) {
    color: var(--wp--custom--button--hover--color--text);
    background-color: var(--wp--custom--button--hover--color--background);
    border-color: var(--wp--custom--button--hover--border--color);
}

/* PATTERN - D3M BOX */

@media screen and (max-width: 560px){
    .wp-block-group .d3m-box .wp-block-columns {
        flex-direction: column;
    }
    
    .wp-block-group .d3m-box .wp-block-column:first-child {
        flex-basis: 90px !important;
        padding: 0 !important;
    }
    
    .wp-block-group .d3m-box .wp-block-image {
        max-width: 100px;
    }
}

/* ====================
    HEADER
======================= */

header .site-header.is-layout-grid {
    grid-template-columns: minmax(220px, 1fr) 170px minmax(420px, 1fr);
}

body.rtl header .site-header.is-layout-grid {
    grid-template-columns: minmax(220px, 1fr) 150px minmax(420px, 1fr);
}

@media screen and (max-width: 960px){
    header .site-header.is-layout-grid {
        grid-template-columns: 1fr 170px 1fr;
    }
    body.rtl header .site-header.is-layout-grid {
        grid-template-columns: 1fr 150px 1fr;
    }
}

@media screen and (max-width: 782px){
    header .site-header.is-layout-grid {
        border-bottom: 2px solid var(--wp--preset--color--primary);
    }
}

/* MOBILE OVERLAY */

header .overlay-header.is-layout-grid {
    grid-template-columns: 1fr 170px 1fr;
}

body.rtl header .overlay-header.is-layout-grid {
    grid-template-columns: 1fr 150px 1fr;
}

header .wp-block-navigation.is-responsive .mobile-overlay ul.wp-block-social-links {
    margin-block-start: var(--wp--preset--spacing--50);
}

header .wp-block-navigation.is-responsive .is-menu-open .mobile-overlay ul.wp-block-social-links {
    justify-content: center;
}

/*header .wp-block-site-tagline {
    max-width: 109px;
    text-wrap: balance;
    text-align: justify;
}*/

/* SITE BRAND */

header .site-brand a {
    transition-duration: 0.3s;
}

header .site-brand a:is(:hover, :active, :focus) {
    opacity: 0.88;
}

/*body.rtl header .site-brand .logo-text-en,
body:not(.wp-admin, .rtl) header .site-brand .logo-text-ar {
    display: none;
}*/

/* MENU ITEMS */

.wp-site-blocks header .wp-block-navigation a:not(.wp-element-button) {
    transition-duration: 0.3s;
    color: var(--wp--preset--color--foreground);
}

.wp-site-blocks header .wp-block-navigation a:is(:hover, :active, :focus):not(.wp-element-button),
.wp-site-blocks header .wp-block-navigation .current-menu-item a {
    color: var(--wp--preset--color--primary);
}

/* CATEGORY MENU ITEMS */

.wp-site-blocks header .categories-row .wp-block-navigation a:not(.wp-element-button) {
    padding: 0.25em 1em;
    white-space: nowrap;
    transition-duration: 0.3s;
    color: var(--wp--preset--color--background);
}

.wp-site-blocks header .categories-row .wp-block-navigation a:is(:hover, :active, :focus):not(.wp-element-button),
.wp-site-blocks header .categories-row .wp-block-navigation .current-menu-item a {
    background-color: var(--wp--preset--color--secondary);
}

/* SEARCH */

.wp-site-blocks header .categories-row .wp-block-navigation {
    overflow: hidden;
    transition-duration: 0s;
}

.wp-site-blocks header .categories-row .wp-block-navigation:has(+ .wp-block-search:not(.wp-block-search__searchfield-hidden)) {
    flex-basis: 0;
    flex-grow: 0;
}

.wp-site-blocks header .categories-row .wp-block-search .wp-block-search__button {
    height: 39.6px;
    width: 50px;
    align-items: center;
}

.wp-site-blocks header .categories-row .wp-block-search .wp-block-search__input {
    width: 720px;
    padding: 0.25em 1em;
    border: 0;
    outline: 0;
    color: var(--wp--preset--color--background);
    transition-duration: 0s;
}

body.rtl .wp-site-blocks header .categories-row .wp-block-search .wp-block-search__input {
    width: 580px;
}

/* MOBILE */
@media screen and (max-width: 782px){

    .wp-site-blocks header .site-header .wp-block-site-logo {
        margin: 0;
        flex-basis: 50px;
    }
    
    .wp-site-blocks header .site-header .site-brand {
        display: flex;
    }
    
    /*body .wp-site-blocks .site-header .wp-block-navigation__responsive-container-close {
        top: 20px;
    }
    
    body .wp-site-blocks .site-header .wp-block-navigation.is-responsive .is-menu-open .wp-block-navigation__responsive-container-content,
    body .wp-site-blocks .site-header .wp-block-navigation.is-responsive .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
        align-items: center;
    }*/
}

.wp-site-blocks header .wp-block-navigation .wp-block-navigation__responsive-container,
.wp-site-blocks header .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open {
    color: var(--wp--preset--color--foreground);
    background-color: var(--wp--preset--color--background);
}

/* LANGUAGE SWITCHER 
====================== */

header .language-switcher {
    margin: 0;
    padding: 0;
}

header .language-switcher li {
    list-style: none;
}

header .language-switcher li a img {
    display: none;
}

header .language-switcher li a {
    text-decoration: none;
    display: flex;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: 20px;
    background-repeat: no-repeat;
    transition-duration: .3s;
    will-change: background-color;
    background-color: var(--wp--preset--color--primary);
}

header .language-switcher li a:is(:hover, :active, :focus) {
    background-color: var(--wp--preset--color--secondary);
}

/*header .language-switcher .lang-item-en a {
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwb2x5Z29uIGZpbGw9IiNmZmYiIHBvaW50cz0iMjEwLjM5IDM2OC44IDIxMC4zOSAyOTEuMzkgMzYzLjU0IDI5MS4zOSAzNjMuNTQgMjEzLjk4IDIxMC4zOSAyMTMuOTggMjEwLjM5IDE0My4yMSAzODcuODcgMTQzLjIxIDM4Ny44NyA2Mi40OCAxMTguMDUgNjIuNDggMTE4LjA1IDQ0OS41MiAzOTMuOTUgNDQ5LjUyIDM5My45NSAzNjguOCAyMTAuMzkgMzY4LjgiLz48L3N2Zz4=")
}*/

header .language-switcher .lang-item-en a {
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwb2x5Z29uIGZpbGw9IiNmZmYiIHBvaW50cz0iNjcuOTcgMjgyLjA1IDE4MC43IDI4Mi4wNSAxODAuNyAyMjUuMDcgNjcuOTcgMjI1LjA3IDY3Ljk3IDE3Mi45NyAxOTguNjEgMTcyLjk3IDE5OC42MSAxMTMuNTUgMCAxMTMuNTUgMCAzOTguNDUgMjAzLjA5IDM5OC40NSAyMDMuMDkgMzM5LjAzIDY3Ljk3IDMzOS4wMyA2Ny45NyAyODIuMDUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNDQ0LjQ0LDExMy41NXY2Ny45N2MwLDE4LjcyLjIsMzUuMjcuNjEsNDkuNjUuNDEsMTQuMzgsMS4yOCwyOC4xNSwyLjY0LDQxLjMxLjc1LDcuMjUsMS41OSwxNC44NSwyLjUsMjIuNzFsLTEzMy45Ni0xODEuNjRoLTYyLjI3djI4NC45aDY3Ljk3di05My42MWMwLTguMTQtLjE0LTE1LjUzLS40MS0yMi4xOC0uMjctNi42NS0uNjgtMTMuODQtMS4yMi0yMS41Ny0uNTUtNy43My0xLjM2LTE3LjAyLTIuNDQtMjcuODgtLjM5LTMuOTItLjg0LTguMjMtMS4zNC0xMi45bDEzMi4zOSwxNzguMTRoNjMuMDhWMTEzLjU1aC02Ny41NloiLz48L3N2Zz4=")
}

header .language-switcher .lang-item-ar a {
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik00MTMuNTgsNDEzLjAzYy0xNS44NSw0LjA1LTMyLjk5LDcuMDktNTEuNDIsOS4xMi0xOC40NCwyLjAyLTM2LjMxLDMuMDUtNTMuNjMsMy4wNS0zMS4zMywwLTU3LjUxLTIuNC03OC41Mi03LjE5LTIxLjAxLTQuNzktMzYuNjgtMTIuMDctNDctMjEuODQtMTAuMzItOS43Ny0xNS40OC0yMi4wMy0xNS40OC0zNi43NywwLTExLjA2LDIuMTItMjEuMzgsNi4zNi0zMC45Niw0LjIzLTkuNTksMTAuNzgtMTguNDQsMTkuNjMtMjYuNTQsOC44NC04LjExLDIwLjI2LTE1LjQ4LDM0LjI4LTIyLjEyLDE0LTYuNjMsMzAuNzctMTIuNzIsNTAuMzEtMTguMjQsMTkuNTQtNS41Myw0Mi4yLTEwLjY5LDY4LjAxLTE1LjQ4bDE4LjI1LTg0LjA0Yy0zNi45MywzLjA4LTcwLjY2LDguODMtMTAxLjI5LDE3LjE3LTUuNDMtMS41NC0xMC44NC0zLjM2LTE2LjItNS41Ni05LjAzLTMuNjgtMTcuMTQtNy45My0yNC4zMy0xMi43Mi03LjE5LTQuNzgtMTIuOTEtMTAuMjMtMTcuMTQtMTYuMzEtNC4yNC02LjA5LTYuMzYtMTIuNDQtNi4zNi0xOS4wOCwwLTkuOTUsNC4xNS0xOC45OCwxMi40NC0yNy4xLDguMjktOC4xLDIyLjU4LTEyLjE3LDQyLjg1LTEyLjE3LDkuOTUsMCwxOS44MSwxLjAyLDI5LjU4LDMuMDUsOS43NiwyLjAzLDE5LjgxLDUuMjUsMzAuMTQsOS42OGwzNS4zOS03Ni44NmMtMTMuMjctNy0yOC4xMi0xMi40NC00NC41MS0xNi4zMS0xNi40LTMuODctMzMuMjctNS44LTUwLjU5LTUuOC0yOC43NSwwLTUzLjYzLDQuNy03NC42NCwxNC4xLTIxLjAxLDkuNC0zNy4zMiwyMy4wNC00OC45NCw0MC45Mi0xMS42MSwxNy44OC0xNy40MSwzOS41My0xNy40MSw2NC45NywwLDE5LjksNS4wNiwzNy42LDE1LjIxLDUzLjA4LDEwLjE0LDE1LjQ4LDIyLjg1LDI4LjY3LDM4LjE1LDM5LjU0LDIuMDUsMS40Niw0LjExLDIuNzgsNi4xNyw0LjE3LTYuMTgsMy43OC0xMi4xMyw3LjcyLTE3Ljc4LDExLjg2LTI0Ljg4LDE4LjI1LTQzLjg3LDM5LjU0LTU2Ljk1LDYzLjg3LTEzLjA5LDI0LjMzLTE5LjYzLDUxLjQyLTE5LjYzLDgxLjI3LDAsMjIuODUsNC45Nyw0Mi44NSwxNC45Miw1OS45OSw5Ljk2LDE3LjE0LDIzLjY4LDMxLjUyLDQxLjE5LDQzLjEzLDE3LjUxLDExLjYxLDM4LjE1LDIwLjM2LDYxLjkzLDI2LjI2LDIzLjc3LDUuODksNDkuNDksOC44NCw3Ny4xMyw4Ljg0LDEzLjI3LDAsMjguMDEtLjY1LDQ0LjIzLTEuOTMsMTYuMjEtMS4zLDM0LTQuMDYsNTMuMzUtOC4yOSwxOS4zNS00LjI0LDQwLjA5LTEwLjc4LDYyLjItMTkuNjNsLTE5LjktNjkuMTFaIi8+PC9zdmc+")
}

/* ====================
    FOOTER
======================= */

footer .site-brand a {
    transition-duration: 0.3s;
}

footer .site-brand a:is(:hover, :active, :focus) {
    opacity: 0.88;
}

footer .wp-block-navigation a:is(:hover, :active, :focus),
footer .wp-block-navigation .current-menu-item a {
    text-decoration: underline;
}

footer .wp-block-navigation .wp-block-navigation-item {
    white-space: nowrap;
}

/* SEARCH */

footer .wp-block-search input {
    border: none !important;
}

footer .wp-block-search .wp-block-search__button {
    background: transparent;
    color: var(--wp--preset--color--dark-grey);
}

/* MOBILE */
@media screen and (max-width: 625px){
    
    .wp-site-blocks footer .is-layout-flex {
        justify-content: center;
        align-items: center;
    }
    
    .wp-site-blocks footer .wp-block-column,
    .wp-site-blocks footer .wp-block-heading,
    footer .wp-block-navigation .wp-block-navigation-item {
        text-align: center;
    }
    
    .wp-site-blocks footer .wp-block-navigation ul {
        align-items: center;
    }
    
    footer .footer-row {
        flex-wrap: wrap;
    }
    
    /*.wp-site-blocks footer .wp-block-social-links {
        margin-bottom: 20px;
    }*/
}

/* ====================
    RELEVANSSI
======================= */

div[id^="rlvlive"] {
    position: relative;
}

.relevanssi-live-search-results {
    font-size: var(--wp--preset--font-size--small);
    left: 0 !important;
    top: 0 !important;
    box-shadow: none  !important;
}

/* RESULTS - FOOTER */

footer .relevanssi-live-search-results {
    left: 0 !important;
    top: auto !important;
    bottom: calc(100% + 56px);
    width: 100% !important;
    max-height: 230px;
    border-radius: 0;
    background-color: var(--wp--preset--color--surface);
}

/* RESULTS */

.relevanssi-live-search-result a {
    text-decoration: none;
    color: var(--wp--preset--color--foreground);
}

.relevanssi-live-search-result a:is(:hover, :active, :focus) {
    text-decoration: underline;
    color: var(--wp--preset--color--black);
}

.relevanssi-live-search-result-status {
    display: none;
}

/* Custom Scrollbar - Width */
.relevanssi-live-search-results::-webkit-scrollbar {
  width: 3px;
}

/* Track */
.relevanssi-live-search-results::-webkit-scrollbar-track {
  background: transparent; 
}
 
/* Handle */
.relevanssi-live-search-results::-webkit-scrollbar-thumb {
  background: var(--wp--preset--color--grey); 
}

/* SPINNER */

.relevanssi-live-search-results .rlv-has-spinner {
	border-color: var(--wp--preset--color--primary);
	border-right-color: transparent;
}

.relevanssi-live-search-results .rlv-has-spinner::after {
	background-color: var(--wp--preset--color--primary);
}

/* ====================
    SINGLE POSTS
======================= */

.single .entry-content.wp-block-post-content {
    --wp--custom--font-sizes--normal: 1.25rem;
    font-size: var(--wp--custom--font-sizes--normal);
}

/* FEATURED IMAGE */

/*.single-post.category-infographics .wp-block-post-featured-image,*/
.single-post.category-video .wp-block-post-featured-image {
    display: none;
}

/* POST BREADCRUMBS */

.post-crumbs a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--surface);
    color: var(--wp--preset--color--dark-grey);
    text-decoration: none;
    line-height: 1;
    font-size: var(--wp--preset--font-size--medium);
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
    transition-duration: 0.3s;
}

.post-crumbs .wp-block-breadcrumbs a,
.post-crumbs .contributor-crumbs {
    padding: 0 10px;
}

.post-crumbs a svg {
    width: 24px;
    fill: var(--wp--preset--color--dark-grey);
    transition-duration: 0.3s;
}

.post-crumbs a:is(:hover, :active, :focus) {
    background-color: var(--wp--preset--color--light-grey);
    color: var(--wp--preset--color--foreground);
}

.post-crumbs a:is(:hover, :active, :focus) svg {
    fill: var(--wp--preset--color--foreground);
}

.post-crumbs .wp-block-breadcrumbs li:not(:last-child):after {
    margin: 0 .25em;
}

/* POST SUBTITLE */

.post-subtitle {
    font-family: var(--wp--preset--font-family--readex-pro);
    font-size: var(--wp--preset--font-size--xxx-large);
    line-height: var(--wp--custom--heading--typography--line-height);
    font-weight: 200;
    text-wrap: balance;
}

/* WRAPPING */

.single-post div:not(.entry-content) .wp-block-post-title,
.single-post div:not(.entry-content) .post-subtitle {
    text-wrap: unset;
}

/* POST BYLINE CONTAINER */

.single .post-byline {
    row-gap: var(--wp--preset--spacing--20);
}

/* POST CONTRIBUTORS */

.post-contributors {
    display: flex;
    align-items: center;
    column-gap: 20px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.post-contributor {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition-duration: 0.3s;
}

.post-contributor .contributor-image {
    height: 36px;
}

.post-contributor .contributor-image > * {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--wp--preset--color--surface);
    transition-duration: 0.3s;
}

.post-contributor .contributor-name {
    line-height: 1;
    font-weight: 700;
    font-size: var(--wp--preset--font-size--small);
    white-space: nowrap;
}

.post-contributor:is(:hover, :active, :focus) {
    color: var(--wp--preset--color--foreground);
}

.post-contributor:is(:hover, :active, :focus) .contributor-image > * {
    border-color: var(--wp--preset--color--foreground);
}

/* POST SHARE */

.post-byline .superwebshare_prompt.superwebshare-button-small {
    --width: 36px;
    width: var(--width);
    height: var(--width);
    box-shadow: none;
    color: var(--wp--preset--color--dark-grey);
    transition-duration: 0.3s;
}

.post-byline .superwebshare_prompt.superwebshare-button-small:hover {
    animation-name: none;
    opacity: 1 !important;
    background-color: var(--wp--preset--color--light-grey) !important;
    color: var(--wp--preset--color--foreground);
}

.sws-modal-bg .modal-title {
    color: var(--wp--preset--color--grey);
    text-align: center;
}

.sws-copy .sws-copy-link {
    background: var(--wp--preset--color--background);
    color: var(--wp--preset--color--foreground);
    border: 1px solid var(--wp--preset--color--grey);
}

/*body.rtl .sws-modal-bg .modal-title {
    display: none;
}*/

/* DOWNLOAD BUTTON */

.entry-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.entry-actions .download-button {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--background);
    height: 36px;
    width: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 0.3s;
}

.entry-actions .download-button:is(:hover, :active, :focus) {
    background: var(--wp--preset--color--secondary);
}

.entry-actions .download-button svg,
.entry-actions .download-button img {
    width: 20px;
    position: relative;
    top: -1px;
}

/* PRINT BUTTON */

.post-byline .print-button {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--wp--preset--color--dark-grey);
    background-color: var(--wp--preset--color--surface);
    cursor: pointer;
    border: none;
    outline: 0;
    transition-duration: 0.3s;
}

.post-byline .print-button:hover {
    background-color: var(--wp--preset--color--light-grey);
    color: var(--wp--preset--color--foreground);
}

.post-byline .print-button svg {
    width: 16px;
    fill: currentColor;
}

.single-post.category-video .post-byline .print-button {
    display: none;
}

/* POST FOOTER */

.post-footer-heading {
    flex-wrap: nowrap;
    gap: var(--wp--preset--spacing--30);
    justify-content: flex-start;
    align-items: center;
}

.post-footer-heading .wp-block-heading {
    color: var(--wp--preset--color--grey);
    font-size: var(--wp--preset--font-size--xx-large);
    line-height: 1;
    white-space: nowrap;
}

body:not(.single) .post-footer-heading .wp-block-heading {
    color: var(--wp--preset--color--primary);
}

.post-footer-heading .wp-block-separator {
    width: 100%;
    color: var(--wp--preset--color--grey);
    position: relative;
    top: 2px;
    overflow: visible;
}

.post-footer-heading .wp-block-separator::after {
    content: "";
    display: block;
    background-color: var(--wp--preset--color--grey);
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    position: absolute;
    right: 0;
    top: -4px;
}

.rtl .post-footer-heading .wp-block-separator::after {
    left: 0;
    right: auto;
}

.post-footer .entry-taxonomy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-footer .entry-taxonomy .wp-block-icon {
    fill: var(--wp--preset--color--grey);
    width: 24px;
    height: 24px;
}

/* POST STICKY HEADER 
========================= */

.single-post .wp-block-post-content {
    margin-block-start: 0;
}

.single-post main {
    view-timeline: --tracked-main;
}

body:not(.block-editor-iframe__body) .post-sticky-header {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: header-appear linear;
    animation-timeline: --tracked-main;
    animation-range: contain exit;
}

.post-sticky-header .progress-bar {
    background-color: #0002;
    height: 4px;
    position: relative;
}

.post-sticky-header .progress-bar::after {
    content: "";
    position: absolute;
    height: 4px;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--wp--preset--color--primary);
    transform-origin: left center;
    animation: progressbar-expand linear;
    animation-timeline: --tracked-main;
    animation-range: contain;
}

.rtl .post-sticky-header .progress-bar::after {
    transform-origin: right center;
}

@keyframes progressbar-expand {
    from {
        transform: scaleX(0);
    }
}

@keyframes header-appear {
    0.1% {
        opacity: 1;
        max-height: none;
    }
    100% {
        opacity: 1;
        max-height: none;
    }
}

.post-sticky-header .wp-block-post-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc( 100vw - 140px);
}

.post-sticky-header .superwebshare_prompt.superwebshare-button-small {
    --width: 36px;
    width: var(--width);
    height: var(--width);
    background-color: transparent !important;
    box-shadow: none;
    color: var(--wp--preset--color--grey);
    transition-duration: 0.3s;
}

.post-sticky-header .superwebshare_prompt.superwebshare-button-small:hover {
    animation-name: none;
    opacity: 1 !important;
    color: var(--wp--preset--color--foreground);
}

.post-sticky-header .back-to-top {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--grey);
    transition-duration: 0.3s;
}

.post-sticky-header .back-to-top:is(:hover, :active, :focus) {
    color: var(--wp--preset--color--foreground);
}

.single-post.category-video .post-sticky-header {
    display: none;
}

/*  RELEVANSSI RELATED 
============================ */

#relevanssi_related {
    margin-bottom: 1em;
    margin-top: 1em;
}

#relevanssi_related .relevanssi_related_grid_header {
    display: none;
}

#relevanssi_related #relevanssi_related_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

#relevanssi_related #relevanssi_related_grid .relevanssi_related_post.wide {
    grid-column: auto;
}

#relevanssi_related .relevanssi_related_post img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--wp--preset--color--surface);
    border-radius: 4px;
    display: block;
    transition: filter 0.3s ease;
}

#relevanssi_related .relevanssi_related_post a {
    text-decoration: none;
}

#relevanssi_related .relevanssi_related_post h4 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    color: var(--wp--preset--color--foreground);
    font-size: var(--wp--preset--font-size--medium);
    line-height: var(--wp--custom--heading--typography--line-height);
    text-wrap: balance;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    height: 39.2px;
}

body.rtl #relevanssi_related .relevanssi_related_post h4 {
    height: 50px;
}

#relevanssi_related .relevanssi_related_post p {
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--custom--body--typography--line-height);
    color: var(--wp--preset--color--dark-grey);
    margin-top: 0;
    padding: 0;
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

#relevanssi_related .relevanssi_related_post a:hover img {
    filter: brightness(0.9);
}

#relevanssi_related .relevanssi_related_post a:hover h4 {
    color: var(--wp--preset--color--primary);
}

@media screen and (max-width: 510px) {
    #relevanssi_related .relevanssi_related_post h4 {
        height: auto;
        max-height: 39.2px;
    }
    body.rtl #relevanssi_related .relevanssi_related_post h4 {
        max-height: 42.2px;
    }
}

/* BANK PROFILES - THEY HAVE NAMES POST 
========================================= */

.bank-profiles-grid .entry-card .entry-taxonomy,
.bank-profiles-grid .entry-card .entry-excerpt,
.bank-profiles-grid .entry-card .entry-byline {
    display: none;
}


/* PRINT STYLES 
========================================= */

@page {
    size: A4;
    margin: 2cm;
}

@media print {
    header,
    footer,
    .post-footer,
    .post-sticky-header,
    .post-crumbs .wp-block-icon,
    .wp-block-create-block-super-web-share-block,
    .post-byline .print-button,
    .post-byline .post-contributor .contributor-image {
        display: none;
    }
    
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    img, 
    svg, 
    figure {
        max-width: 100% !important;
        max-height: 25.7cm !important;
        page-break-inside: avoid;
        object-fit: contain;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    p, blockquote, table, tr, .contributor-card {
        page-break-inside: avoid;
    }    

    .single .entry-content.wp-block-post-content {
        font-size: 10pt;
        page-break-before: always;
    }
    
    .wp-block-pullquote {
        border: none;
    }
}

/* ====================
    SINGLE CONTRIBUTOR
======================= */

@media screen and (max-width: 499px){
    .single-contributor .wp-block-columns {
        flex-direction: column;
    }
    .single-contributor .wp-block-post-featured-image {
        max-width: 256px;
    }
}

.single-contributor .job-title {
    font-family: var(--wp--preset--font-family--readex-pro);
    font-size: var(--wp--preset--font-size--xx-large);
    line-height: var(--wp--custom--heading--typography--line-height);
    font-weight: 200;
    text-wrap: balance;
}

.contributor-posts .wp-block-pods-pods-block-related-list .entry-card-wrapper {
    margin-block-start: var(--wp--preset--spacing--70);
    margin-block-end: 0;
}

.contributor-posts .wp-block-pods-pods-block-related-list .entry-card-wrapper:first-child {
    margin-block-start: 0;
}

/* =================== 
    ARCHIVES
====================== */

/*  ANIMATION 
================= */
/*@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  20%, 80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.entry-card-wrapper,
.contributor-card-wrapper {
    animation-name: fadeInOut;
    animation-timeline: view();
    animation-timing-function: linear;
    animation-fill-mode: both;
}*/

/* ENTRY CARD 
================= */

/* LAYOUT */

.entry-card {
    position: relative;
    display: flex;
    column-gap: 2rem;
    row-gap: 0.5rem;
}

.entry-card a {
    text-decoration: none;
}

.entry-card .entry-content {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.entry-card .entry-content h2,
.entry-card .entry-content p {
    margin: 0;
}

.entry-card .entry-thumbnail {
    flex-basis: 40%;
    border-radius: 6px;
    overflow: hidden;
}

.entry-card .entry-thumbnail img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.entry-card:hover .entry-thumbnail img {
    transform: scale(1.03);
}

.entry-card .entry-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
}

.entry-card-wrapper {
    container: entry-cards / inline-size;
}

@container entry-cards (max-width: 35rem) {
    .entry-card {
        flex-direction: column;
    }
}

/* FALLBACK THUMBNAIL */

.entry-card .entry-thumbnail.fallback-thumbnail {
    background: var(--wp--preset--color--surface);
    position: relative;
}

.entry-card .entry-thumbnail.fallback-thumbnail::after {
    content: "";
    width: 85px;
    height: 85px;
    background-image: url(/wp-content/uploads/2023/03/badil-ico-boxbg-2a.svg);
    position:absolute;
    right: -1px;
    bottom: -1px;
}

/* ENTRY TAXONOMY */

.entry-card .entry-taxonomy {
    display: flex;
    gap: 0.25rem;
}

.entry-taxonomy .taxonomy-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--surface);
    color: var(--wp--preset--color--dark-grey);
    text-decoration: none;
    line-height: 1;
    font-size: var(--wp--preset--font-size--small);
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
    padding: 0 10px;
    transition-duration: 0.3s;
    position: relative;
    z-index: 2;
}

.entry-taxonomy .taxonomy-pill:is(:hover, :active, :focus) {
    background-color: var(--wp--preset--color--light-grey);
    color: var(--wp--preset--color--foreground);
}

/* ENTRY TITLE */

.entry-card .entry-title {
    font-size: var(--wp--preset--font-size--xx-large);
    text-wrap: balance;
}

.entry-card .entry-title a {
    color: var(--wp--preset--color--foreground);
    transition-duration: 0.3s;
}

.entry-card .entry-title a:is(:hover, :active, :focus) {
    color: var(--wp--preset--color--primary);
}

/* ENTRY SUBTITLE */

.entry-card .entry-subtitle p {
    font-family: var(--wp--preset--font-family--readex-pro);
    font-size: var(--wp--preset--font-size--x-large);
    line-height: var(--wp--custom--heading--typography--line-height);
    font-weight: 200;
    text-wrap: balance;
}

/* ENTRY EXCERPT */

.entry-card .entry-excerpt p {
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--custom--body--typography--line-height);
    text-wrap: balance;
}

/* ENTRY BYLINE CONTAINER */

.entry-card .entry-byline,
.hero-carousel__entry-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--wp--preset--spacing--40);
}

/* ENTRY CONTRIBUTORS */

.entry-contributors {
    display: flex;
    align-items: center;
    column-gap: 20px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.entry-contributor {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition-duration: 0.3s;
    position: relative;
    z-index: 2;
}

.entry-contributor .contributor-image {
    height: 30px;
    display: flex;
}

.entry-contributor .contributor-image > * {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--wp--preset--color--surface);
    transition-duration: 0.3s;
}

.entry-contributor .contributor-name {
    line-height: 1;
    font-weight: 700;
    font-size: var(--wp--preset--font-size--small);
    white-space: nowrap;
}

.entry-contributor:is(:hover, :active, :focus) {
    color: var(--wp--preset--color--foreground);
}

.entry-contributor:is(:hover, :active, :focus) .contributor-image > * {
    border-color: var(--wp--preset--color--foreground);
}

/* CONTRIBUTOR CARD 
================= */

/* LAYOUT */

.contributor-card {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 2rem;
    row-gap: 1rem;
}

.contributor-card a {
    text-decoration: none;
}

.contributor-card .contributor-content {
    flex-basis: 70%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contributor-card .contributor-content h2,
.contributor-card .contributor-content p {
    margin: 0;
}

.contributor-card .contributor-image {
    flex-basis: 30%;
    display: flex;
    width: -moz-available;
}

.contributor-card .contributor-image > * {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--wp--preset--color--surface);
    transition-duration: 0.3s;
    aspect-ratio: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.contributor-card:hover .contributor-image > * {
    transform: scale(1.03);
}

.contributor-card .contributor-name a::after {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
}

.contributor-card-wrapper {
    container: contributor-cards / inline-size;
}

@container contributor-cards (max-width: 25rem) {
    .contributor-card {
        flex-direction: column;
    }
    
    .contributor-card .contributor-content {
        align-items: center;
    }
    
    .contributor-card .contributor-content h2,
    .contributor-card .contributor-content p {
        text-align: center;
    }
}

/* CONTRIBUTOR NAME */

.contributor-card .contributor-name {
    font-size: var(--wp--preset--font-size--x-large);
    text-wrap: balance;
}

.contributor-card .contributor-name a {
    color: var(--wp--preset--color--foreground);
    transition-duration: 0.3s;
}

.contributor-card .contributor-name a:is(:hover, :active, :focus) {
    color: var(--wp--preset--color--primary);
}

/* CONTRIBUTOR JOB TITLE */

.contributor-card .job-title p {
    font-family: var(--wp--preset--font-family--readex-pro);
    font-size: var(--wp--preset--font-size--large);
    line-height: var(--wp--custom--heading--typography--line-height);
    font-weight: 200;
    text-wrap: balance;
}

/* CONTRIBUTOR EXCERPT */

.contributor-card .contributor-excerpt p {
    font-size: var(--wp--preset--font-size--x-small);
    line-height: var(--wp--custom--body--typography--line-height);
    text-wrap: balance;
}

/* ARCHIVES */

.team-grid .contributor-card .contributor-excerpt {
    display: none;
}

.contributors-grid .contributor-card .contributor-name {
    font-size: var(--wp--preset--font-size--large);
}

.contributors-grid .contributor-card .job-title p {
    font-size: var(--wp--preset--font-size--medium);
}

/* ARCHIVE HEADING 
===================== */

.archive .wp-block-query-title,
.search .wp-block-query-title {
    color: var(--wp--preset--color--grey);
    font-weight: 200;
}

.archive .wp-block-query-title span,
.search .wp-block-query-title span {
    color: var(--wp--preset--color--foreground);
    font-weight: 700;
}

.archive.category:not(.category-policy) .facetwp-facet-categories,
.archive.category:not(.category-policy) .entry-card .entry-taxonomy {
    display: none;
}

/* SEARCH RESULTS */

.search-results .wp-block-post.type-page {
    display: none;
}

.search-results .wp-block-post.type-contributor {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
}

/* ================================
    FACETWP - Custom Dropdowns 
=================================== */

:root {
  --select-border:var(--wp--preset--color--surface);
  --select-focus: var(--wp--preset--color--grey);
  --select-arrow: var(--wp--preset--color--primary);
}

.facets-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* FSelect 
============= */

/*.rtl .facetwp-type-fselect,
.rtl .facetwp-type-fselect *,
.rtl .facetwp-type-yearly,
.rtl .facetwp-type-yearly *{
    font-size: 16px;
}*/

/*body:not(.rtl ) .facetwp-type-fselect,
body:not(.rtl ) .facetwp-type-fselect *,
body:not(.rtl ) .facetwp-type-yearly,
body:not(.rtl ) .facetwp-type-yearly *{
    font-size: 17px;
}*/

.facetwp-type-fselect,
.facetwp-type-fselect *,
.facetwp-type-yearly,
.facetwp-type-yearly * {
    font-size: var(--wp--preset--font-size--small);
}

.facetwp-facet.facetwp-type-fselect,
.facetwp-facet.facetwp-type-yearly,
.facetwp-facet.facetwp-type-pager,
.facetwp-facet.facetwp-type-sort {
    margin: 0;
}

div:not(.flyout-item) > .facetwp-type-fselect .fs-wrap,
div:not(.flyout-item) > .facetwp-type-yearly .fs-wrap {
    width: 140px;
    transition: 0.5s;
    will-change: width;
}

div:not(.flyout-item) > .facetwp-type-fselect .fs-wrap.fs-open {
    width: 260px;
}

.facetwp-type-fselect .fs-label-wrap,
.facetwp-type-yearly .fs-label-wrap {
    border: 1px solid var(--select-border);
    cursor: pointer;
    line-height: 1.1;
    background-color: var(--wp--preset--color--background);
}

.facetwp-type-fselect .fs-label-wrap {
    border-radius: 4px;
}

.facetwp-type-fselect .fs-open .fs-label-wrap,
.facetwp-type-yearly .fs-open .fs-label-wrap {
    border-radius: 4px 4px 0 0;
    border-bottom-width: 0;
}

.facetwp-type-fselect .fs-arrow,
.facetwp-type-yearly .fs-arrow {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--select-arrow);
    right: 10px;
}

html[lang="ar"] .facetwp-type-fselect .fs-arrow,
html[lang="ar"] .facetwp-type-yearly .fs-arrow {
    right: auto;
    left: 10px;
}

.facetwp-type-fselect .fs-label-wrap .fs-label,
.facetwp-type-yearly .fs-label-wrap .fs-label {
    padding: 0.5em;
}

/* DROPDOWN
 * ========== */

.facetwp-type-fselect .fs-dropdown,
.facetwp-type-yearly .fs-dropdown {
    border: 1px solid var(--select-border);
    border-top: 0;
    border-radius: 0 0 4px 4px;
}

.facetwp-type-fselect .fs-search {
    background-color: var(--wp--preset--color--background);
    display: none;
}

/*.facetwp-facet-sections .fs-search,
.facetwp-facet-themes .fs-search,
.facetwp-type-yearly .fs-search {
    display: none;
}*/

.rtl .facetwp-type-fselect .fs-option {
    direction: rtl;
    padding-left: 8px !important;
    padding-right: 30px;
}

.rtl .facetwp-type-yearly .fs-option {
    direction: rtl;
}

.facetwp-type-fselect .fs-option:last-child,
.facetwp-type-yearly .fs-option:last-child {
    margin-bottom: 5px;
}

.rtl .fs-wrap.multiple .fs-checkbox {
    right: 0;
    left: auto;
}

.facetwp-type-fselect .fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: var(--select-focus);
}

.fs-wrap.multiple .fs-option .fs-checkbox i  {
  bottom: auto !important;
  top: 0.5em !important; /* sets the checkbox to the top instead of the middle */
}

.facetwp-type-fselect .fs-option .fs-option-label {
  white-space: normal !important; /* wraps labels */
  word-break: normal; /* prevents words from breaking */
  line-height: 1.3em; /* add line-height to wrapped labels */
}

/* FIX - RELATED POST FACETS */
/*.facetwp-type-fselect .fs-option[data-value=""] {
    display: none;
}*/

/* Dropdown Scrollbar */
.facetwp-type-fselect .fs-options,
.facetwp-type-yearly .fs-options {
    scrollbar-color: var(--select-border);
    scrollbar-width: 3px;
}

/* Scrollbar */
.facetwp-type-fselect .fs-options::-webkit-scrollbar,
.facetwp-type-yearly .fs-options::-webkit-scrollbar {
    width: 3px;
}

/* Handle */
.facetwp-type-fselect .fs-options::-webkit-scrollbar-thumb,
.facetwp-type-yearly .fs-options::-webkit-scrollbar-thumb {
  background: var(--select-focus); 
}

/* Handle on hover */
/*.facetwp-type-fselect .fs-options::-webkit-scrollbar-thumb:hover {
  background: #555;
}*/

/* Hirachal */

body .facetwp-type-fselect .fs-option.d1 .fs-option-label,
body .facetwp-type-fselect .fs-option.d2 .fs-option-label,
body .facetwp-type-fselect .fs-option.d3 .fs-option-label {
    padding-left: 0;
}

.rtl .facetwp-type-fselect .fs-option.d1 {
    margin-right: 10px;
}

.rtl .facetwp-type-fselect .fs-option.d2 {
    margin-right: 20px;
}

.rtl .facetwp-type-fselect .fs-option.d3 {
    margin-right: 30px;
}

body:not(.rtl ) .facetwp-type-fselect .fs-option.d1 {
    margin-left: 10px;
}

body:not(.rtl ) .facetwp-type-fselect .fs-option.d2 {
    margin-left: 20px;
}

body:not(.rtl ) .facetwp-type-fselect .fs-option.d3 {
    margin-left: 30px;
}

/* Load More Button 
========================= */
.facetwp-facet.facetwp-type-pager {
    text-align: center;
    text-align: -webkit-center;
}

/*.rtl .facetwp-facet .facetwp-load-more {
    font-family: var(--wp--preset--font-family--readex-pro);
}

body:not(.rtl) .facetwp-facet .facetwp-load-more {
    font-family: var(--wp--preset--font-family--atkinson-next);
}*/

.facetwp-facet .facetwp-load-more {
    display: flex;
    gap: 5px;
    align-items: center;
    text-decoration: none;
    border: solid 1px var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
    background-color: transparent;
    /*border-radius: 12px;*/
    padding: 0.667em 1.33em;
    transition-duration: 0.3s;
    cursor: pointer;
    font-size: var(--wp--custom--button--typography--font-size);
    font-weight: var(--wp--custom--button--typography--font-weight);
    line-height: var(--wp--custom--button--typography--line-height);
    font-family: var(--wp--preset--font-family--readex-pro);
}

.facetwp-facet .facetwp-load-more:is(:hover, :active, :focus) {
    background-color: var(--wp--preset--color--secondary);
    border-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--background);
}

.facetwp-facet .facetwp-load-more.facetwp-hidden {
    display: none;
}

/* FACETWP On Refresh */
.facetwp-template {
    opacity: 1;
    transition-duration: .5s;
    will-change: opacity;
}

.facetwp-template.is-loading {
    opacity: .66;
    pointer-events: none;
}

/* MOBILE FLYOUT 
 * ============== */

/*.rtl .facetwp-flyout-open {
    font-family: var(--wp--preset--font-family--greta);
}

body:not(.rtl) .facetwp-flyout-open {
    font-family: var(--wp--preset--font-family--atkinson-next);
}*/

.facetwp-flyout-open {
    display: flex;
    gap: 5px;
    align-items: center;
    text-decoration: none;
    border: solid 1px var(--wp--preset--color--surface);
    color: var(--wp--preset--color--foreground);
    background-color: transparent;
    border-radius: 4px;
    padding: 0.333em 0.667em;
    transition-duration: 0.3s;
    font-size: var(--wp--preset--font-size--small);
    font-family: var(--wp--preset--font-family--readex-pro);
    cursor: pointer;
    /*font-weight: var(--wp--custom--button--typography--font-weight);*/
}

.facetwp-flyout-open:is(:hover, :active, :focus) {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--background);
}

.flyout-row h3 {
    display: none;
}

body .facetwp-flyout {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(5px);
    border: none;
}

body .facetwp-flyout-fog {
    background-color: var(--wp--preset--color--background);
}

.facetwp-flyout-close {
    color: var(--wp--preset--color--dark-grey);
    font-family: var(--wp--preset--font-family--readex-pro);
}

.facetwp-flyout-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.facetwp-flyout .fs-dropdown {
    position: relative;
}

/* HIDE THE TAGS FACET */

.facetwp-facet-tags {
    display: none;
}

/* PAGER - RESULT COUNT */

.facetwp-facet.facetwp-facet-result_count_facet {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--wp--preset--color--surface);
    font-size: var(--wp--preset--font-size--medium);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-top: 5px;
    padding-top: 3px;
}

/* SORT FILTER */

.facetwp-type-sort select {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuOTQ0NDQgMTEuMzg4OFYwLjVMMC41IDUuOTQ0NCIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xMC4wNTU2IDAuNTAwMTA2TDEwLjA1NTYgMTEuMzg4OUwxNS41IDUuOTQ0NTEiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4=);
    background-size: 16px;
    background-position: left 3px;
    background-repeat: no-repeat;
    font-size: var(--wp--preset--font-size--small);
    padding: 0;
    color: transparent;
    border-style: none;
    cursor: pointer;
}

.rtl .facetwp-type-sort select {
    background-position: right 3px;
}

.facetwp-type-sort select,
.facetwp-type-sort ::picker(select) {
    -webkit-appearance: base-select;
    appearance: base-select;
}

.facetwp-type-sort select {
    display: flex; 
    align-items: center;
}

select.sort-filter::picker-icon,
.facetwp-facet select::picker-icon{
    display: none;
}

.facetwp-type-sort ::picker(select) {
    border-width: 0.5px;
    padding: 0.5em 0;
}

body.rtl .flyout-row.name-sort_filter,
body:not(.rtl) .flyout-row.name-sort_filter_ar {
    display: none;
}

.flyout-row .facetwp-type-sort select {
    color: inherit;
}

.rtl .flyout-row .facetwp-type-sort select {
    padding-right: 25px;
}

body:not(.rtl) .flyout-row .facetwp-type-sort select {
    padding-left: 25px;
}

.flyout-row.name-sort_filter,
.flyout-row.name-sort_filter_ar {
    align-self: flex-start;
    margin: 0 30px;
}

/* =================== 
    PAGE - ABOUT
====================== */

.funders-gallery a {
    transition-duration: 0.3s;
}

.funders-gallery a:is(:hover, :active, :focus) {
    opacity: 0.66;
}

/* ======================= 
    PAGE - HOME
========================== */

.category-features:not(.policy-features) .entry-card .entry-taxonomy {
    display: none;
}

.category-features .entry-card .entry-content {
    justify-content: center;
}

.category-features.video-features .entry-card .entry-title {
    font-size: var(--wp--preset--font-size--x-large);
}

.category-features.video-features .entry-card .entry-subtitle p {
    font-size: var(--wp--preset--font-size--large);
}

.home-cover .wp-block-cover__background::after {
    content: "";
    width: 30vmax;
    height: 30vmax;
    background-image: url(/wp-content/uploads/2022/07/badil-ico-wht.svg);
    position: absolute;
    right: -1vmax;
    bottom: 0;
}

/*.home-cover .an_mailchimp_wrapper form {
    justify-content: center;
}*/

/*  HOME CAROUSEL 
======================= */

/* DEFAULT SPLIDE CSS */
.splide__container{box-sizing:border-box;position:relative}.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide:not(.is-overflow) .splide__pagination{display:none}.splide__progress__bar{width:0}.splide{position:relative;/*visibility:hidden*/}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__arrow{-ms-flex-align:center;align-items:center;background:#ccc;border:0;border-radius:50%;cursor:pointer;display:-ms-flexbox;display:flex;height:2em;-ms-flex-pack:center;justify-content:center;opacity:.7;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:2em;z-index:1}.splide__arrow svg{fill:#000;height:1.2em;width:1.2em}.splide__arrow:hover:not(:disabled){opacity:.9}.splide__arrow:disabled{opacity:.3}.splide__arrow:focus-visible{outline:3px solid #0bf;outline-offset:3px}.splide__arrow--prev{left:1em}.splide__arrow--prev svg{transform:scaleX(-1)}.splide__arrow--next{right:1em}.splide.is-focus-in .splide__arrow:focus{outline:3px solid #0bf;outline-offset:3px}.splide__pagination{bottom:.5em;left:0;padding:0 1em;position:absolute;right:0;z-index:1}.splide__pagination__page{background:#ccc;border:0;border-radius:50%;display:inline-block;height:8px;margin:3px;opacity:.7;padding:0;position:relative;transition:transform .2s linear;width:8px}.splide__pagination__page.is-active{background:#fff;transform:scale(1.4);z-index:1}.splide__pagination__page:hover{cursor:pointer;opacity:.9}.splide__pagination__page:focus-visible{outline:3px solid #0bf;outline-offset:3px}.splide.is-focus-in .splide__pagination__page:focus{outline:3px solid #0bf;outline-offset:3px}.splide__progress__bar{background:#ccc;height:3px}.splide__slide{-webkit-tap-highlight-color:rgba(0,0,0,0)}.splide__slide:focus{outline:0}@supports(outline-offset:-3px){.splide__slide:focus-visible{outline:3px solid #0bf;outline-offset:-3px}}@media screen and (-ms-high-contrast:none){.splide__slide:focus-visible{border:3px solid #0bf}}@supports(outline-offset:-3px){.splide.is-focus-in .splide__slide:focus{outline:3px solid #0bf;outline-offset:-3px}}@media screen and (-ms-high-contrast:none){.splide.is-focus-in .splide__slide:focus{border:3px solid #0bf}.splide.is-focus-in .splide__track>.splide__list>.splide__slide:focus{border-color:#0bf}}.splide__toggle{cursor:pointer}.splide__toggle:focus-visible{outline:3px solid #0bf;outline-offset:3px}.splide.is-focus-in .splide__toggle:focus{outline:3px solid #0bf;outline-offset:3px}.splide__track--nav>.splide__list>.splide__slide{border:3px solid transparent;cursor:pointer}.splide__track--nav>.splide__list>.splide__slide.is-active{border:3px solid #000}.splide__arrows--rtl .splide__arrow--prev{left:auto;right:1em}.splide__arrows--rtl .splide__arrow--prev svg{transform:scaleX(1)}.splide__arrows--rtl .splide__arrow--next{left:1em;right:auto}.splide__arrows--rtl .splide__arrow--next svg{transform:scaleX(-1)}.splide__arrows--ttb .splide__arrow{left:50%;transform:translate(-50%)}.splide__arrows--ttb .splide__arrow--prev{top:1em}.splide__arrows--ttb .splide__arrow--prev svg{transform:rotate(-90deg)}.splide__arrows--ttb .splide__arrow--next{bottom:1em;top:auto}.splide__arrows--ttb .splide__arrow--next svg{transform:rotate(90deg)}.splide__pagination--ttb{bottom:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;left:auto;padding:1em 0;right:.5em;top:0}

/* LAYOUT */

.home-carousel__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 2vw;
    height: 100%;
    /*aspect-ratio: 16 / 9;*/
}

.splide:not(.is-initialized) .home-carousel__card {
    width: 90vw;
    margin-inline: 1vw
}

.splide:not(.is-initialized) .splide__slide:first-child .home-carousel__card {
    margin-inline-start: 5vw;
}
    
@media (min-width: 960px) {
    .home-carousel__card {
        height: calc(100svh - 260px);
        min-height: fit-content;
    }
    
    body.admin-bar .home-carousel__card {
        height: calc(100svh - var(--wpadmin-bar--height) - 260px);
    }
}

.splide__slide:not(.is-active) .home-carousel__card {
    cursor: pointer;
}

.home-carousel__media-container {
    aspect-ratio: 16 / 9;
}

@media (min-width: 960px) {
    .home-carousel__media-container {
        position: absolute;
        inset: 0;
        z-index: -1;
        aspect-ratio: unset;
        overflow: hidden;
        border-radius: 24px;
    }
}

.home-carousel__media-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition-duration: 0.2s;
}

@media (min-width: 960px) {
    .home-carousel__card:hover .home-carousel__media-container img {
        transform: scale(1.03);
    }
}

.home-carousel__content {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--background);
    border-radius: 24px;
    padding: 40px;
    transition-duration: 0.2s;
}

@media screen and (min-width: 960px) and (min-height: 800px) {
    .home-carousel__content {
        max-width: 500px;
    }
}

@media (min-width: 960px) {
    .home-carousel__content {
        margin: 2vw 5vw;
        background-color: #127391c9;
    }
    
    .home-carousel__card:hover .home-carousel__content {
        background-color: #127391eb;
    }
}

@media (max-width: 960px) {
    .home-carousel__content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
}
     
.home-carousel__entry-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--wp--preset--spacing--40);
}

/* CONTENT */
.home-carousel__article-content {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.home-carousel__article-content > * {
    margin: 0;
}
    
.home-carousel__eyebrow {
    font-size: var(--wp--preset--font-size--medium);
}

.home-carousel__title {
    font-size: var(--wp--preset--font-size--xx-large);
    text-wrap: balance;
}
    
.home-carousel__description {
    font-family: var(--wp--preset--font-family--readex-pro);
    font-size: var(--wp--preset--font-size--x-large);
    line-height: var(--wp--custom--heading--typography--line-height);
    font-weight: 200;
    text-wrap: balance;
}
    
.home-carousel__entry-byline .entry-contributor .contributor-name {
    color: var(--wp--preset--color--background);
}
    
.home-carousel__entry-byline .entry-contributor .contributor-image > * {
    background-color: var(--wp--preset--color--background);
}

/* CTA Button */
.home-carousel__cta-container {
    margin-top: 24px;
}

.home-carousel__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background-color: transparent;
    color: var(--wp--preset--color--background);
    font-family: var(--wp--preset--font-family--readex-pro);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid var(--wp--preset--color--background);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1), 0 1px 3px rgba(60, 64, 67, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-carousel__cta:hover {
    color: var(--wp--preset--color--foreground);
    background-color: var(--wp--preset--color--background);
    box-shadow: 0 2px 6px rgba(60, 64, 67, 0.15), 0 1px 2px rgba(60, 64, 67, 0.12);
    /*transform: translateY(-1px);*/
}

.home-carousel__cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.home-carousel__cta:hover svg {
    transform: translateX(3px);
}

body.rtl .home-carousel__cta svg {
    transform: scaleX(-1);
    /* CTA arrow points left */
}

body.rtl .home-carousel__cta:hover svg {
    transform: scaleX(-1) translateX(3px);
    /* slides in pointing direction */
}

.splide__slide.is-active .home-carousel__cta::after {
    background: transparent;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 3;
}

@media screen and (min-width: 960px) and (max-height: 900px) {
    .splide__slide .home-carousel__cta-container {
        position: absolute;
        inset: 0;
        opacity: 0;
    }
    .splide__slide:not(.is-active) .home-carousel__cta-container {
        display: none;
    }
}

/* CONTROLS */

.splide__controls {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-block: calc(2 * var(--wp--custom--gap--baseline));
    margin-inline: 5vw;
}

.splide__arrows {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.splide__arrows .splide__arrow {
    position: static;
    transform: none;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--surface);
    border: none;
    color: var(--wp--preset--color--foreground);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.1s ease;
    outline: none;
}

.splide__arrows .splide__arrow--prev,
body.rtl .splide__arrows .splide__arrow--next {
    border-radius: 48px 8px 8px 48px;
}

.splide__arrows .splide__arrow--next,
body.rtl .splide__arrows .splide__arrow--prev {
    border-radius: 8px 48px 48px 8px;
}

.splide__arrows .splide__arrow svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.progress-bars {
    position: relative;
    width: 100%;
}

.splide__progress .splide__progress__bar {
    background: var(--wp--preset--color--light-grey);
    height: 2px;
}

.carousel-progress {
    background: var(--wp--preset--color--surface);
}

.carousel-progress-bar {
    background: var(--wp--preset--color--primary);
    height: 2px;
    transition: width 400ms ease;
    width: 0;
}