/*
    Theme Name: hotel-iriguibel-2026
    Theme URI: hotel-iriguibel-2026
    Description: hotel-iriguibel-2026
    Author:       Mirai Dev Team
    Author URI:   http://mirai.com
    Template: mirai-ma
    Version:      1.0.0
    License:      GNU General Public License v2 or later
    License URI:  http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain:  mirai-maai
*/

/*********************************************************/
/*********************************************************/
/* GENERAL STYLES */
/*********************************************************/

:root {
    /***** SPACES *****/
    --mft-space-5xs: 4px;
    --mft-space-4xs: 8px;
    --mft-space-3xs: 12px;
    --mft-space-2xs: 16px;
    --mft-space-xs: clamp(16px, calc(16px + (24 - 16) * ((100vw - 767px) / (1920 - 767))), 24px);
    /*dk-24 --- mb-16*/
    --mft-space-s: clamp(24px, calc(24px + (32 - 24) * ((100vw - 767px) / (1920 - 767))), 32px);
    /*32 --- 24*/
    --mft-space-m: clamp(32px, calc(32px + (40 - 32) * ((100vw - 767px) / (1920 - 767))), 40px);
    /*40 --- 32*/
    --mft-space-l: clamp(32px, calc(32px + (48 - 32) * ((100vw - 767px) / (1920 - 767))), 48px);
    /*48 --- 32*/
    --mft-space-xl: clamp(32px, calc(32px + (56 - 32) * ((100vw - 767px) / (1920 - 767))), 56px);
    /*56 --- 32*/
    --mft-space-2xl: clamp(48px, calc(48px + (64 - 48) * ((100vw - 767px) / (1920 - 767))), 64px);
    /*64 --- 48*/
    --mft-space-3xl: clamp(48px, calc(48px + (80 - 48) * ((100vw - 767px) / (1920 - 767))), 80px);
    /*80 --- 48*/
    --mft-space-4xl: clamp(48px, calc(48px + (96 - 48) * ((100vw - 767px) / (1920 - 767))), 96px);
    /*96 --- 48*/
    --mft-space-5xl: clamp(48px, calc(48px + (160 - 48) * ((100vw - 767px) / (1920 - 767))), 160px);
    /*160 --- 48*/

    /***** CONTAINERS *****/
    --width-s: 700px;
    --width-m: 1280px;
    --width-l: 1600px;
    --width-xl: 1920px;
    --container-legal: 1080px;

    /***** MIN-HEIGHT FOR IMG *****/
    --min-height-xs: 40vh;
    --min-height-s: 50vh;
    --min-height-m: 55vh;
    --min-height-l: 70vh;

    @media (min-width: 2000px) {
        :root {
            --min-height-xs: 20vh;
            --min-height-s: 30vh;
            --min-height-m: 40vh;
            --min-height-l: 50vh;
        }
    }

    @media (max-width: 1025px) {
        :root {
            --min-height-xs: 250px;
            --min-height-s: 320px;
            --min-height-m: 320px;
            --min-height-l: 320px;
        }
    }

    /***** CALCULATE THE HEADER HEIGHT BY JQ *****/
    --mft-min-height-header: 0px;

    /***** BORDER RADIUS *****/
    --mft-border-radius: 0px;
    --mft-btn-border-radius: 0px;
}

html {
    overflow-x: hidden;
}

body,
a,
a:hover {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    text-transform: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    word-spacing: inherit;
    text-rendering: optimizelegibility;
}

/*strong {
    font-weight: 700;
}*/

/* FIXED WIDGET ICON BOX - TITLE AS PARAGRAPH TAG */
p.elementor-icon-box-title {
    margin-top: 0;
}

/***** SPACE BETWEEN SECTIONS *****/
.mft-space-section-t {
    padding-top: var(--mft-space-3xl);
}

.mft-space-section-b {
    padding-bottom: var(--mft-space-3xl);
}

/***** CONTAINERS ******/
.elementor-element:where(.mft-container-s, .mft-container-m, .mft-container-l) {
    margin: 0 auto;
    box-sizing: border-box;
}

.mft-container-s.elementor-element {
    max-width: var(--width-s);
}

.mft-container-m.elementor-element {
    max-width: var(--width-m);
}

.mft-container-l.elementor-element {
    max-width: var(--width-l);
}

.mft-container-xl.elementor-element {
    max-width: var(--width-xl);
}

/***** MEDIA FIT UTILITIES *****/

/* COVER */

.mft-media-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* CONTAIN */

.mft-media-contain img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/***** WIDGET IMG RESPONSIVE - makes the image cover and adapt to the container *****/
.mft-bg-img .elementor-element:not(.mft-wrapper-content),
.mft-bg-img .elementor-element :where(.elementor-widget-image, .e-n-carousel.swiper, .elementor-widget-container) {
    height: 100%;
    /*padding-bottom: 0 !important;*/
}

.mft-bg-img .elementor-element .elementor-widget-image img,
.mft-bg-img .elementor-element .elementor-widget-container img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.mft-minh-s {
    min-height: var(--min-height-s);
}

.mft-minh-m {
    min-height: var(--min-height-m);
}

.mft-minh-l {
    min-height: var(--min-height-l);
}

@media(max-width:1024px) {
    .mft-minh-l {
        min-height: var(--min-height-m);
    }

    .mft-minh-m {
        min-height: var(--min-height-s);
    }
}

/***** CENTER ICON RRSS - centre social media widget icon *****/
.elementor-social-icon.elementor-icon {
    display: flex;
}

/***** FIX MOBILE ICON BOX *****/
@media (max-width: 767px) {

    .elementor-widget-icon-box.elementor-vertical-align-middle:where(.elementor-position-left, .elementor-position-right):not(.elementor-mobile-position-top) .elementor-icon-box-wrapper,
    .elementor-widget-icon-box.elementor-vertical-align-middle:where(.elementor-position-left, .elementor-position-right) .elementor-icon-box-icon {
        display: flex;
        align-items: center;
    }
}

/****** 404 PAGE ******/
.not-found-page {
    display: table;
    margin-bottom: 0;
    width: 100%;
    min-height: 570px;
    text-align: center;
    background: url(https://static-resources-elementor.mirai.com/common/bg-404.png) no-repeat center center transparent;
}

.not-found-page span {
    display: table-cell;
    font-size: 18px;
    vertical-align: middle;
}

/***** Hide engine on detail pages *****/
body:where(.cat-room-detail, .cat-offer-detail) [data-mirai-component="finder"] {
    display: none;
}

/***** Colour for the selected menu link *****/
.mft-wrapper-menu-current-link {
    color: var(--e-global-color-accent) !important;
}

/***** Hiding Recaptcha badge *****/
.grecaptcha-badge {
    visibility: hidden;
}

/***** So that loading does not appear in bookingstep1 *****/
body.elementor-editor-active .mi-rs.loading {
    display: none;
}

/***** To make the language selector visible in modal *****/
.wpml-ls-legacy-dropdown-click:hover .wpml-ls-sub-menu {
    visibility: visible;
}

/***** Hide Quicktext chatbot when opening a finder modal in mobile and when opening an Elementor popup *****/
body:has(ui-modal-overflow[class*="_visible"]) #qt-button-frame,
body:has(.dialog-widget [data-mirai-component]) #qt-button-frame {
    visibility: hidden;
}

/* Press the default focus of the WordPress submenu */
.mft-popup-menu .menu-item a:focus {
    color: inherit;
    background: transparent;
}

/*********************************************************/
/*********************************************************/
/* STYLES THROUGH CLASSES */
/*********************************************************/

/***** FROM ABSOLUTE TO RELATIVE - change an absolute element to a relative element from 1024px and above *****/
@media (max-width: 1024px) {
    .mft-relative-tb {
        position: relative;
    }
}

/***** HIDE TEXT CLOSE POP UP CLOSE BUTTON ****/
.btn-close-popup .elementor-icon-box-title {
    display: none;
}

/***** UNDERLINE - add a low line to a button *****/
.mft-underline.elementor-element::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--e-global-color-text);
    transition: all .3s ease-out;
}

.mft-underline.elementor-element:hover::after {
    background-color: var(--e-global-color-primary);
}

/***** SEPARATOR LINE BETWEEN TITLE AND TEXT *****/
.mft-divider.elementor-element {
    width: 70px !important;
    border-top: 3px solid var(--e-global-color-primary);
}

.mft-divider-white.elementor-element {
    border-top: 3px solid var(--e-global-color-47eea86e);
}

/***** MOVE THE MOTOR ON Y-AXIS - to put the engine half on the hero image and half off the hero image ******/
.mft-booking-translateY .elementor-widget-Mirai-Finder {
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.10);
    translate: 0 -50%;
}

/***** CHANGE THE COLOUR OF TEXT AND BUTTONS ON A COLOURED BACKGROUND *****/

/* on a dark background - variable white colour */
.mft-light-text,
.mft-light-text .elementor-button[class^='mft-btn'] {
    color: var(--e-global-color-47eea86e) !important;
    fill: var(--e-global-color-47eea86e);
}

/* on a light background - variable black colour */
.mft-dark-text,
.mft-dark-text .elementor-button[class^='mft-btn'] {
    color: var(--e-global-color-21f8c9b7);
    fill: var(--e-global-color-21f8c9b7);
}

/* DYNAMIC CHANGE OF TEXT AND IMAGE BOXED ALTERNATELY */
.mft-alternative-box:nth-of-type(even) {
    flex-direction: row-reverse;
}

/*********************************************************/
/* ARROWS CAROUSEL STYLES */
/*********************************************************/

.mft-arrows-carousel-styles .elementor-swiper-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--e-global-color-47eea86e);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.16);
    transition:
        background .3s ease-out,
        box-shadow .3s ease-out;
}

.mft-arrows-carousel-styles .elementor-swiper-button.elementor-swiper-button-prev svg,
.mft-arrows-carousel-styles .elementor-swiper-button.elementor-swiper-button-next svg {
    width: 20px;
    height: 20px;
    color: var(--e-global-color-21f8c9b7) !important;
    fill: currentColor !important;
    transition: color .3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
    .mft-arrows-carousel-styles .elementor-swiper-button:hover {
        background: var(--e-global-color-primary);
    }

    .mft-arrows-carousel-styles .elementor-swiper-button.elementor-swiper-button-prev:hover svg,
    .mft-arrows-carousel-styles .elementor-swiper-button.elementor-swiper-button-next:hover svg {
        color: var(--e-global-color-47eea86e) !important;
    }
}

/* Hide arrows on mobile */
@media (max-width: 767px) {
    .mft-arrows-carousel-styles.mft-arrows-hide-mb .elementor-swiper-button {
        display: none !important;
    }
}

/***** ARROWS - TOP RIGHT *****/

.mft-arrows-top-right {
    --mft-arrows-inline-offset: var(--mft-space-s);
}

.mft-arrows-top-right .elementor-swiper-button {
    top: -60px !important;
    bottom: auto !important;
    inset-block-end: auto !important;
    inset-inline-start: auto !important;
    margin: 0 !important;
}

.mft-arrows-top-right .elementor-swiper-button-prev {
    inset-inline-end: calc(var(--mft-arrows-inline-offset) + 72px) !important;
}

.mft-arrows-top-right .elementor-swiper-button-next {
    inset-inline-end: var(--mft-arrows-inline-offset) !important;
}

/*********************************************************/
/* DOTS */
/*********************************************************/

.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 5px;
    opacity: 1;
    background: var(--e-global-color-secondary);
    transition:
        opacity .3s ease-out,
        background .3s ease-out;
}

.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet:hover,
.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--e-global-color-accent);
}

/***** DOTS - BOTTOM LEFT *****/

.mft-dots-bottom-left .swiper-pagination {
    position: relative;
    inset: auto;
    display: flex;
    width: auto;
    /*margin-top: var(--mft-space-s);*/
    text-align: left;
    transform: none;
}

.mft-dots-bottom-left .swiper-pagination .swiper-pagination-bullet:first-child {
    margin-left: 0;
}

/* DOTS AS LINES */
/*.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet {
    width: var(--mft-space-xs);
    height: 2px;
    overflow-y: auto !important;
    max-height: calc(100dvh - 120px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    }

.mft-dots-carousel-styles .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active  {
	width: calc(var(--mft-space-xs) * 2);
    }*/

/*********************************************************/
/*********************************************************/
/* AUTOSCROLL POPUPS */
/*********************************************************/

/***** AUTOSCROLL *****/
.elementor-popup-modal:has(.mft-scrolly-auto) .dialog-message {
    overflow: hidden;
}

.mft-scrolly-auto {
    overflow: hidden !important;
    overflow-y: auto !important;
    max-height: calc(100dvh - 120px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/***** SCROLL BAR STYLES *****/
.mft-modal-scroll::-webkit-scrollbar {
    width: 5px;
}

.mft-modal-scroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--e-global-color-primary);
    border-radius: 2px;
}

.mft-modal-scroll::-webkit-scrollbar-thumb {
    background-color: var(--e-global-color-primary);
    border-radius: 2px;
    transition: background .3s;
}

.mft-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--e-global-color-primary);
}

/*********************************************************/
/*********************************************************/
/* BUTTONS */
/*********************************************************/

/***** GENERIC BUTTON STYLES *****/
.elementor-button[class^='mft-btn'] {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: var(--mft-space-4xs);
    padding: var(--mft-space-2xs) var(--mft-space-xs);
    font-family: var(--e-global-typography-6d2edf1-font-family);
    font-size: var(--e-global-typography-6d2edf1-font-size);
    font-weight: var(--e-global-typography-6d2edf1-font-weight);
    text-transform: var(--e-global-typography-6d2edf1-text-transform);
    line-height: var(--e-global-typography-6d2edf1-line-height);
    letter-spacing: var(--e-global-typography-6d2edf1-letter-spacing);
    fill: inherit;
    background-color: transparent;
    border-radius: var(--mft-btn-border-radius);
    min-width: 120px;
    min-height: 56px;
    transition: all .3s ease;
}

.mft-btn-width-100 .mft-btn {
    width: 100%;
}

@media(max-width: 767px) {

    .mft-btn-width-100-mb,
    .elementor-element.mft-btn-width-100-mb a {
        width: 100%;
    }
}

/* fixed extra heigth span icon */
.elementor-button .elementor-button-icon {
    display: flex;
    align-items: center;
}

/* when hovering */
@media (hover: hover) and (pointer: fine) {
    .mft-btn .elementor-button-text::after {
        content: "\f054";
        opacity: 0;
        padding-left: 10px;
        font-family: 'fap-regular';
        font-size: 12px;
        transition: all .3s ease;
    }

    .mft-btn:not(.mft-btn-4) .elementor-button-content-wrapper {
        align-items: center;
        translate: 11px 0;
        transition: all .3s ease;
    }

    .elementor-button.mft-btn:hover .elementor-button-text::after {
        opacity: 1;
    }

    .elementor-button.mft-btn:hover .elementor-button-content-wrapper {
        translate: 0 0;
    }
}

/***** BTN - 1 - As the Finder Button *****/
.elementor-button.mft-btn-1 {
    color: var(--e-global-color-47eea86e);
    fill: var(--e-global-color-47eea86e);
    background-color: var(--e-global-color-primary);
    border: 2px solid var(--e-global-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-1:hover {
        color: var(--e-global-color-47eea86e);
        fill: var(--e-global-color-47eea86e);
        background-color: var(--e-global-color-13f4851a);
        border: 2px solid var(--e-global-color-13f4851a);
    }
}

/***** BTN - 2 *****/
.elementor-button.mft-btn-2 {
    color: var(--e-global-color-13f4851a);
    fill: var(--e-global-color-13f4851a);
    background-color: var(--e-global-color-9c3eef3);
    border: 2px solid var(--e-global-color-9c3eef3);
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-2:hover {
        color: var(--e-global-color-13f4851a);
        fill: var(--e-global-color-13f4851a);
        background-color: var(--e-global-color-ca1687a);
        border: 2px solid var(--e-global-color-ca1687a);
    }
}

/***** BTN - 3 - Outline *****/
.elementor-button.mft-btn-3 {
    color: var(--e-global-color-primary);
    fill: var(--e-global-color-primary);
    background-color: transparent;
    border: 2px solid var(--e-global-color-primary);
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-3:hover {
        color: var(--e-global-color-47eea86e);
        fill: var(--e-global-color-47eea86e);
        background-color: var(--e-global-color-primary);
        border: 2px solid var(--e-global-color-primary);
    }
}

/***** BTN - 4 - Link Button *****/
.elementor-button.mft-btn-4 {
    position: relative;
    padding: 0;
    color: var(--e-global-color-primary);
    fill: var(--e-global-color-primary);
    background-color: transparent;
    min-width: unset;
    min-height: unset;
}

.mft-btn.mft-btn-4 .elementor-button-text {
    position: relative;
    padding-bottom: 5px;
}

.mft-btn.mft-btn-4 .elementor-button-text::after {
    padding-left: 0;
    font-size: 0;
}

@media (hover: hover) and (pointer: fine) {
    .elementor-button.mft-btn-4:hover {
        color: var(--e-global-color-primary);
        fill: var(--e-global-color-primary);
    }

    .elementor-button.mft-btn.mft-btn-4:hover .elementor-button-text::after {
        opacity: 1;
        padding-left: 10px;
        font-size: 12px;
    }
}

/* underline */
a.elementor-button.mft-btn-4::before {
    content: "";
    position: absolute;
    inset: 100% 0 0 0;
    width: 100%;
    height: 2px;
    background: var(--e-global-color-primary);
}

.mft-light-text a.elementor-button.mft-btn-4::before,
.mft-light-text a.elementor-button.mft-btn-4:hover::before {
    background: var(--e-global-color-47eea86e);
}

.mft-light-text .elementor-button.mft-btn-4:hover {
    color: var(--e-global-color-47eea86e);
}

.mft-dark-text a.elementor-button.mft-btn-4::before,
.mft-dark-text a.elementor-button.mft-btn-4:hover::before {
    background: var(--e-global-color-21f8c9b7);
}

.mft-dark-text .elementor-button.mft-btn-4:hover {
    color: var(--e-global-color-21f8c9b7);
}

@media (hover: hover) and (pointer: fine) {

    /* color hover underline */
    a.elementor-button.mft-btn-4:hover::before {
        background: var(--e-global-color-primary);
    }
}

/***** BUTTON SIZE BUTTONS ADAPTED TO THE CONTAINER AND RESPONSIVE *****/
.mft-wrapper-btn .mft-btn-width.elementor-element a {
    display: block;
    width: 100%;
    text-align: center;
}

/*********************************************************/
/*********************************************************/
/* STYLE FORM */
/*********************************************************/

.mft-acceptance-form {
    font-family: "Helvetica";
    font-size: 12px;
    font-weight: 400;
    color: #333333;
}

.mft-acceptance-form a,
.mft-acceptance-form a:hover {
    text-decoration: underline;
    font-weight: bold;
}

[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

.mft-form-style .eicon-caret-down:before {
    content: "\f078";
    font-family: 'fap-regular' !important;
    font-size: 10px;
    font-weight: normal;
}

.mft-mandatory-form {
    color: #d32f2f;
}

.mft-form-style input,
.mft-form-style textarea,
.mft-form-style select {
    padding-top: 20px !important;
}

.mft-form-style input:focus,
.mft-form-style textarea:focus,
.mft-form-style select:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--corporative-color) 50%, transparent) !important;
}

.mft-form-style label {
    position: absolute;
    top: 12px;
    left: 35px;
    z-index: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mft-form-style label,
.mft-form-style .elementor-field-group .elementor-field-textual {
    font-family: "Helvetica";
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.mft-form-style .elementor-field-group .elementor-field-textual {
    padding-left: 19px;
    color: #333;
}

.mft-form-style .elementor-field-group:has(input:focus) label,
.mft-form-style .elementor-field-group:has(textarea:focus) label,
.mft-form-style .elementor-field-group:has(select:focus) label,
.mft-form-style .elementor-field-group:has(input:not(:placeholder-shown)) label,
.mft-form-style .elementor-field-group:has(textarea:not(:placeholder-shown)) label,
.mft-form-style .elementor-field-group:has(select:valid) label {
    top: 5px;
    font-size: 12px !important;
}

.mft-form-style .elementor-field-type-submit .elementor-button {
    background-color: var(--mirai-ui-button-background);
}

.mft-form-style .elementor-field::placeholder,
.mft-form-style .elementor-field-group label:after {
    color: transparent !important;
}

.mft-form-style .elementor-field-group .elementor-field-textual {
    border: 1px solid #DDDDDD;
}

/*********************************************************/
/*********************************************************/
/* WPML */
/*********************************************************/

.wpml-elementor-ls {
    display: flex;
    align-items: center;
}

/* Default WPML values */
.wpml-ls-legacy-dropdown-click {
    --mft-wpml-trigger-hover-color: var(--e-global-color-fc842eb);
    transition: .3s ease-in-out;
}

/*********************************************************/
/* CURRENT LANGUAGE */
/*********************************************************/

.wpml-ls-legacy-dropdown-click a {
    padding: 1px 10px 1px 25px;
    color: var(--e-global-color-bd9d5b8);
    border: none;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
    min-height: 21px;
    padding-right: 0;
    background-color: transparent;
}

/* Hide WPML native arrow */
.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
    display: none;
}

/* Globe icon */
.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::before {
    content: "\1f310";
    position: absolute;
    left: 0;
    font-family: "fap-regular";
}

/*********************************************************/
/* DROPDOWN */
/*********************************************************/

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
    margin-top: 10px;
    min-width: 52px;
    padding: var(--mft-space-5xs);

    background-color: var(--e-global-color-f79e654);
    border-top: none;
    box-shadow: 0 8px 24px rgba(32, 32, 32, 0.14);

    transition: .3s ease-in-out;
}

/* Language links inside dropdown */
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a.wpml-ls-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 36px;
    padding: var(--mft-space-4xs) var(--mft-space-3xs);

    color: var(--e-global-color-21f8c9b7);
    background-color: transparent;
    border-width: 0;

    text-align: center;

    transition:
        color .3s ease-in-out,
        background-color .3s ease-in-out;
}

/* Remove old underline from dropdown links */
.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a.wpml-ls-link::after {
    display: none;
}

/*********************************************************/
/* FOCUS */
/*********************************************************/

.wpml-ls-legacy-dropdown-click a:focus {
    background-color: var(--e-global-color-ca1687a);
}

/*********************************************************/
/* HOVER */
/*********************************************************/

@media (hover: hover) and (pointer: fine) {

    /* Current language trigger */
    .wpml-ls-legacy-dropdown-click .wpml-ls-current-language:hover>a.wpml-ls-item-toggle {
        color: var(--mft-wpml-trigger-hover-color);
        background-color: transparent;
    }

    /* Dropdown links */
    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a.wpml-ls-link:hover {
        color: var(--e-global-color-13f4851a);
        background-color: var(--e-global-color-c192f6c);
    }
}

/*********************************************************/
/* TABLET AND MOBILE */
/*********************************************************/

@media (max-width: 1024px) {

    /* Hide native language and arrow */
    .wpml-ls-legacy-dropdown-click .wpml-ls-current-language a.wpml-ls-item-toggle .wpml-ls-native,

    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
        display: none;
    }

    /* Remove space reserved for hidden arrow */
    .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
        padding-right: 0;
    }

    .wpml-ls-legacy-dropdown-click a {
        padding: 0;
    }

    .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a.wpml-ls-link {
        min-height: 36px;
        padding: var(--mft-space-4xs);
        font-size: 13px;
    }
}

/*********************************************************/
/*********************************************************/
/* START LEGAL PAGE TEXT WIDGET */
/*********************************************************/

/***** COOKIES POLICY ******/
.cookies-section,
.mft-legal-text {
    max-width: var(--container-legal) !important;
    margin: 0 auto;
    box-sizing: border-box;
}

.cookies-section {
    padding: var(--mft-space-4xl) 0;
}

.cookies-section a {
    font-weight: bold;
    transition: color .3s ease-in-out;
}

.cookies-section a:hover {
    color: var(--e-global-color-primary);
}

.cookies-section .elementor-widget-wrap .elementor-widget-heading:first-child .mi-title3 {
    display: none;
}

/***** LEGAL NOTICE ******/

/* Heading H1 */
.mft-legal-text h1,
.cookies-section .elementor-widget-wrap .elementor-widget-heading:first-child .mi-title3,
.blog-single-post .elementor-widget-theme-post-title h1,
.elementor-widget-single-job-title h1 {
    padding-bottom: 20px;
    font-family: var(--e-global-typography-primary-font-family) !important;
    font-size: var(--e-global-typography-primary-font-size) !important;
    font-weight: var(--e-global-typography-primary-font-weight) !important;
    line-height: var(--e-global-typography-primary-line-height) !important;
    color: var(--e-global-color-text) !important;
}

/* Heading H2 */
.mft-legal-text h2,
.cookies-section .mi-title3,
.blog-single-post h2,
.single_job_listing h2 {
    padding-bottom: 20px;
    font-family: sans-serif;
    font-size: clamp(28px, calc(28px + (36 - 28) * ((100vw - 360px) / (1920 - 360))), 36px);
    font-weight: 700;
    line-height: var(--e-global-typography-secondary-line-height);
}

/* Heading H3*/
.mft-legal-text h3,
.blog-single-post h3,
.single_job_listing h3 {
    padding-bottom: 20px;
    font-family: sans-serif;
    font-size: clamp(21px, calc(21px + (24 - 21) * ((100vw - 360px) / (1920 - 360))), 24px);
    font-weight: 700;
    line-height: var(--e-global-typography-accent-line-height);
}

/* Heading H4*/
.mft-legal-text h4 {
    padding-bottom: 20px;
    font-family: Sans-serif;
    font-size: clamp(19px, calc(19px + (20 - 19) * ((100vw - 360px) / (1920 - 360))), 20px);
    font-weight: 700;
    line-height: var(--e-global-typography-962030d-line-height);
}

.mft-legal-text h1 {
    margin: 0 0 30px;
}

.mft-legal-text h2 {
    margin: 45px 0 0;
}

.mft-legal-text h3,
.mft-legal-text h4,
.cookies-section .mi-title3 {
    margin: 30px 0 0;
}

/* LINKS */
.mft-legal-text a {
    overflow-wrap: break-word;
    text-wrap: wrap;
    text-decoration: none;
    color: var(--e-global-color-primary);
    transition: .3s ease-in-out;
}

.mft-legal-text a:hover {
    color: var(--e-global-color-13f4851a);
}

.mft-legal-text a span {
    color: inherit !important;
}

/* SPACE AFTER ELEMENTS */
.mft-legal-text :where(p, ul, ol, span) {
    margin-bottom: 15px;
}

/* LISTS */
.mft-legal-text ol {
    padding-left: 18px;
}

.mft-legal-text ol li {
    margin-bottom: 5px;
    overflow-wrap: break-word;
    list-style: circle outside none;
}

.mft-legal-text ul {
    padding-left: 35px;
}

.mft-legal-text ul li {
    margin-bottom: 5px;
    overflow-wrap: break-word;
    list-style: disc outside none;
}

/* TABLE STYLE */
.mft-legal-text table tr:first-child {
    color: var(--e-global-color-47eea86e);
    background-color: var(--e-global-color-d9f1a36);
}

/* Table general styles */
.mft-legal-text table {
    margin: 30px 0;
    width: 100%;
    font-size: 1em;
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
}

@media (max-width:1023px) {
    .mft-legal-text table {
        display: block;
        overflow-x: auto;
        max-width: 100%;
    }
}

/* Table cell padding and styles */
.mft-legal-text table :where(td, th) {
    padding: 15px;
    min-width: 200px;
    line-height: 1.5em;
    border: 1px solid var(--e-global-color-15b9b07);
    vertical-align: top;
}

/* Background of odd table rows */
.mft-legal-text table tbody>tr:nth-child(odd)> :where(td, th) {
    background-color: #09090912;
}

.mft-legal-text table a:hover {
    text-decoration: none;
}

/*********************************************************/
/*********************************************************/
/* DYNAMIC PAGES */
/*********************************************************/

/***** GENERAL STYLE *****/

/* ICONS -- these icons are painted on the room detail and offer pages */
a.back-link::before,
a:where(.fwd-link, .down-link)::after {
    content: "\f060";
    display: inline-block;
    margin: 0 .5em;
    font-family: 'fap-regular' !important;
    font-size: .85em;
    font-weight: normal;
    text-decoration: none;
    line-height: .85em;
    transition: all .2s ease-out;
    vertical-align: middle;
}

a.fwd-link::after {
    content: "\f060";
}

a.down-link::after {
    content: "\f078";
}

a.fwd-link:hover,
.back a:hover,
a.down-link:hover {
    text-decoration: none;
}

a.fwd-link:hover::after {
    margin-left: 1em;
    margin-right: 0;
}

.back a:hover::before {
    margin-right: 1em;
    margin-left: 0;
}

a.down-link:hover::after {
    transform: translateY(0.3em);
}

/* container */
.rooms-listing-wrapper,
.rooms-detail-wrapper,
.offers-listing-wrapper,
.offers-detail-wrapper {
    max-width: var(--width-l);
    margin: 0 auto;
    box-sizing: border-box;
}

/* titles rooms & detail room */
.rooms-listing-wrapper h2,
.rooms-listing-wrapper .room-box h3 a,
.rooms-detail-wrapper :where(h2, h3) {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
    text-decoration: none;
    text-transform: none;
    transition: .3s ease-in-out;
}

/* hover title room */
.rooms-listing-wrapper .room-box h3 a:hover {
    color: var(--e-global-color-primary) !important;
}

.offers-listing-wrapper h2,
/* title intro offer */
.offers-listing .offer .offer-title,
/* title offer */
.offers-detail-wrapper .offer-wrapper .offer-title,
/* title offer detail */
.offers-listing-4 .offer-text h3

/* title card offer tpl 4*/
    {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
}

.offers-listing .offer .offer-title {
    /*width: 100%;*/
    font-size: 27px;
}

/* decoration title underlined */
/*.offers-listing .offer .offer-title::after,
.offers-detail-wrapper .offer-header-content-wrapper .offer-title::after {
    content: "";
    display: block;
    margin: var(--mft-space-2xs) 0;
    width: 70px;
    height: 3px;
    font-family: var(--e-global-typography-6d2edf1-font-family), Sans-serif;
    font-size: var(--e-global-typography-6d2edf1-font-size);
    font-weight: var(--e-global-typography-6d2edf1-font-weight);
    color: var(--e-global-color-47eea86e);
    background: var(--e-global-color-primary);
    background-color: var(--e-global-color-primary);
    border: 2px solid var(--e-global-color-primary);
    transition: all .3s ease;

    }*/

/***** btn - more information & offer-button *****/
.rooms-listing-wrapper .room-box a.more-info,
.rooms-listing-wrapper .room-box .room-intro a,
.offers-listing .offer .offer-button {
    padding: var(--mft-space-2xs) var(--mft-space-xs);
}

/* hover btn - more information & button */
.rooms-listing-wrapper .room-box a.more-info:hover,
.rooms-listing-wrapper .room-box .room-intro a:hover,
.offers-listing .offer .offer-button:hover {
    background-color: var(--e-global-color-13f4851a);
    border: 2px solid var(--e-global-color-13f4851a);
}

/* btn - more information */
.rooms-listing-wrapper .room-box a.more-info,
.rooms-listing-wrapper .room-box .room-intro a {
    display: block !important;
    margin-top: var(--mft-space-m);
    width: max-content;
    text-decoration: none !important;
}

/* btn -  offer-button */
.offers-listing .offer .offer-button {
    position: relative !important;
    bottom: 0;
    right: 0;
    display: inline-block;
    margin: 10px 35px;
}

.room-box .room-content ul.exclusive-services {
    margin: 15px 0;
    padding-left: 0;
}

/* btn - more information full width & center mobile */
@media (max-width:767px) {

    .rooms-listing-wrapper .room-box a.more-info,
    .rooms-listing-wrapper .room-box .room-intro a {
        width: auto;
        text-align: center;
    }

    .offers-listing .offer .offer-button {
        display: block;
    }
}

/***** icons and room description text *****/
.rooms-listing-1 .room-box .room-detail ul li {
    font-weight: 500;
}

.rooms-listing-wrapper .room-box .room-detail ul li span:where(.occupancies-ico, .size-ico, .distibution-ico) {
    width: auto;
    height: auto;
    background-image: none !important;
}

.rooms-listing-wrapper .room-box .room-detail ul li span:where(.occupancies-ico, .size-ico, .distibution-ico)::before {
    padding-right: 5px;
    font-family: 'fap-regular' !important;
    font-weight: normal;
    font-size: 25px;
    color: var(--e-global-color-primary);
}

.rooms-listing-wrapper .room-box .room-detail ul li span.occupancies-ico::before {
    content: "\1f464";
}

.rooms-listing-wrapper .room-box .room-detail ul li span.size-ico::before {
    content: "\f05a";
}

.rooms-listing-wrapper .room-box .room-detail ul li span.distibution-ico::before {
    content: "\1f6cf";
}

.offers-listing-wrapper.no-offers {
    padding: 50px 24px;
    text-align: center;
}

/********** TEMPLATES ROOMS **********/

/* ROOM TEMPLATE 5 */
.rooms-listing-5 li.item-service::marker {
    font-size: 0;
}

@media (min-width:768px) {
    .rooms-listing-5 .room-box {
        padding: var(--mft-space-l);
        background-color: transparent !important;
    }

    .rooms-listing-5 .room-name,
    .rooms-listing-5 .room-intro {
        padding-right: var(--mft-space-l);
        padding-left: 0;
    }

    .rooms-listing-5 .room-box:nth-child(odd) .room-name,
    .rooms-listing-5 .room-box:nth-child(odd) .room-intro {
        padding-left: var(--mft-space-l);
        padding-right: 0;
    }
}

@media (max-width:767px) {
    .rooms-listing-wrapper .room-box .room-content {
        padding-top: var(--mft-space-m) !important;
    }

    .rooms-listing-4 .room-box .room-image-link {
        min-height: 200px;
    }

    .rooms-listing-4 .room-box .room-content {
        background-color: transparent !important;
    }
}

/*********************************************************/
/* IRIGUIBEL - ROOMS TEMPLATE 5 - LISTING */
/*********************************************************/

/* ROOM BOX */

@media (min-width: 768px) {
    .rooms-listing-5 .room-box {
        padding: var(--mft-space-s) 0;
        background-color: transparent !important;
    }
}

.room-box {
    background: transparent;
}

@media (max-width: 767px) {
    .room-box {
        padding: 30px 0;
    }
}

/* VERTICALLY CENTRED ROOM CONTENT */

@media (min-width: 979px) {
    .rooms-listing-5 .room-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 1fr auto auto 1fr;
    }

    .rooms-listing-5 .room-name,
    .rooms-listing-5 .room-image,
    .rooms-listing-5 .room-intro {
        float: none;
        width: auto;
    }

    /* Image on the right */
    .rooms-listing-5 .room-box:nth-child(even) .room-name,
    .rooms-listing-5 .room-box:nth-child(even) .room-intro {
        grid-column: 1;
    }

    .rooms-listing-5 .room-box:nth-child(even) .room-image {
        grid-column: 2;
    }

    /* Image on the left */
    .rooms-listing-5 .room-box:nth-child(odd) .room-name,
    .rooms-listing-5 .room-box:nth-child(odd) .room-intro {
        grid-column: 2;
    }

    .rooms-listing-5 .room-box:nth-child(odd) .room-image {
        grid-column: 1;
    }

    /* Vertical positioning */
    .rooms-listing-5 .room-name {
        grid-row: 2;
    }

    .rooms-listing-5 .room-intro {
        grid-row: 3;
    }

    .rooms-listing-5 .room-image {
        grid-row: 1 / -1;
    }
}

/* PRICE BOX */

.room-image .price-box {
    background-color: var(--e-global-color-52235058);
    color: var(--e-global-color-f79e654);
}

.room-image .price-box span {
    line-height: 1;
}

@media (max-width: 979px) {
    .room-image .price-box span {
        display: block;
        padding: 0;
    }

    .room-image .price-box {
        background: rgba(76, 34, 10, 0.92);
        color: var(--e-global-color-f79e654);
        bottom: auto;
        top: 0;
        right: 0;
        padding: var(--mft-space-4xs);
        padding-bottom: 0;
    }

    .rooms-listing-5 .room-box:nth-child(odd) .room-name,
    .rooms-listing-5 .room-box:nth-child(odd) .room-intro {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .room-image .price-box {
        position: absolute;
        font-size: 0.8em;
    }
}

/* BTN - MORE INFORMATION */

.rooms-listing-wrapper .room-box a.more-info,
.rooms-listing-wrapper .room-box .room-intro a {
    margin-top: var(--mft-space-2xs) !important;
    padding: var(--mft-space-2xs) var(--mft-space-xs);

    font-family: var(--e-global-typography-6d2edf1-font-family);
    font-size: var(--e-global-typography-6d2edf1-font-size);
    font-weight: var(--e-global-typography-6d2edf1-font-weight);
    line-height: var(--e-global-typography-6d2edf1-line-height);
    letter-spacing: var(--e-global-typography-6d2edf1-letter-spacing);
    text-transform: var(--e-global-typography-6d2edf1-text-transform);

    color: var(--e-global-color-13f4851a);
    background-color: var(--e-global-color-9c3eef3);
    border: 2px solid var(--e-global-color-9c3eef3);
    border-radius: var(--mft-btn-border-radius);

    box-sizing: border-box;
    transition:
        color .3s ease,
        background-color .3s ease,
        border-color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .rooms-listing-wrapper .room-box a.more-info:hover,
    .rooms-listing-wrapper .room-box .room-intro a:hover {
        color: var(--e-global-color-13f4851a);
        background-color: var(--e-global-color-ca1687a);
        border-color: var(--e-global-color-ca1687a);
    }
}

/* decomment when requesting centred content - for all templates*/
/*.rooms-listing-wrapper .room-detail,
.rooms-listing-wrapper .room-box .room-detail ul,
.rooms-listing-wrapper .room-box .room-content,
.rooms-listing-5 .room-name,
.rooms-listing-5 .room-description {
    flex-wrap: wrap;
    gap: var(--mft-space-l);
    padding-top: var(--mft-space-l);
    text-align: center !important;

    }*/

/* centring for template 2 and 4 */
/*.rooms-listing-wrapper .room-box .room-content,
.rooms-listing-2 .room-box .room-detail .room-description,
.rooms-listing-4 .room-box .room-description,
.rooms-listing-5 .room-intro .row:last-child {
display: flex;
flex-direction: column;
align-items: center;
}*/

/* centred check-list template 5 */
/*.rooms-listing-5 .room-services-list {
padding-left: var(--mft-space-l);
}*/

/********** TEMPLATE OFFERS **********/

/* OFFER TEMPLATE 4 */
.offers-listing-4 .offer-text {
    text-align: center;
}

.offers-listing-4 .offer .offer-box {
    min-height: 400px;
    transition: .3s ease-in-out;
}

.offers-listing-4 .offer .offer-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offers-listing-4 .offer .offer-box:hover {
    box-shadow: 0px 0px 9px #00000047;
}

/***** ROOM DETAILS *****/
.calendar-wrapper.calendar-type1 {
    border-top: 0;
}

.rooms-detail-wrapper .room-box-services h3,
.rooms-detail-wrapper h3 {
    margin-bottom: 40px;
}

.rooms-detail-wrapper h4 {
    font-family: var(--e-global-typography-962030d-font-family), Sans-serif;
    font-size: var(--e-global-typography-962030d-font-size);
    font-weight: var(--e-global-typography-962030d-font-weight);
    line-height: var(--e-global-typography-962030d-line-height);
}

.rooms-detail-wrapper h2 {
    padding-bottom: var(--mft-space-s);
}

.rooms-detail-wrapper .room-box-detail,
.rooms-detail-wrapper .room-box-price {
    background-color: var(--e-global-color-15b9b07) !important;
}

.rooms-detail-wrapper .room-box-services,
.rooms-detail-wrapper .room-box-common-services {
    padding: 15px 0px;
}

.rooms-detail-5 .offers-listing-1 {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.rooms-detail-5 .offers-listing-1 .offer {
    width: 48%;
}

.rooms-detail-5 .room-box-offers .elementor-container .offer-list-wrapper {
    background: transparent;
}

/*.rooms-detail-5 .room-box-offers {
    font-size: 20px !important;
    font-weight: var(--e-global-typography-fcce242-font-weight);
    line-height: var(--e-global-typography-fcce242-line-height);
    background: var(--e-global-color-f79e654);

    }*/

/***** OFFER DETAILS *****/
.offers-detail-wrapper.offer-detail-1 .offer-features-wrapper .offer-boxes-wrapper .offer-box span,
.offers-detail-wrapper.offer-detail-1 .offer-features-wrapper .offer-boxes-wrapper .offer-box meta {
    font-family: var(--e-global-typography-fcce242-font-family);
}

.offers-detail-wrapper.offer-detail-1 .offer-photo {
    width: 230px;
}

.offers-detail-wrapper .offer-photo {
    width: auto;
}

.offers-detail-wrapper.offer-detail-2 .offer-wrapper {
    float: none;
}

.offers-detail-wrapper.offer-detail-2 .offer {
    margin: 55px auto;
}

.offer-detail-5 .offer-wrapper .offer-title i.eci {
    display: inline;
    margin: 0 15px 0 0;
    font-size: 25px;
}

/*********************************************************/
/* IRIGUIBEL - OFFERS TEMPLATE 4 - listing + room detail offers */
/*********************************************************/

.offers-listing-wrapper h2 {
    display: none;
}

/* CONTENT */

.offers-listing-wrapper {
    padding-bottom: var(--mft-space-3xl);
}

/*.offers-listing-wrapper .offer-text {
    padding: var(--mft-space-xs) 0 !important;
}*/

.offers-listing-wrapper .offer-text h3 {
    text-transform: none !important;
}

/* CARD */

.offers-listing-4 .offer .offer-box {
    background-color: var(--e-global-color-f79e654);
}

.offers-listing-4 .offer .offer-box:hover {
    box-shadow: none;
}

/* IMAGE */

.offers-listing-4 .offer .offer-box>img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center center;
}

/* CONTENT */

.offers-listing-4 .offer .offer-box>.offer-text {
    position: relative !important;
    inset: auto !important;
    bottom: auto !important;
    display: block !important;
    width: 100% !important;
    padding: var(--mft-space-xs);
    color: var(--e-global-color-text);
    text-align: left;
    background-color: var(--e-global-color-f79e654);
}

.offers-listing-4 .offer-name {
    padding: 0;
    margin: 0;
}

.offers-listing-4 .offer-discount {
    margin-top: var(--mft-space-3xs);
    margin-bottom: 0;
    font-family: var(--e-global-typography-text-font-family);
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
}

/* BUTTON */

.go-to-offers-page {
    margin-top: var(--mft-space-xs);
}

.go-to-offers-page a {
    text-transform: uppercase;
    text-decoration: underline;
}

/************************************************************************************************/
/************************************************************************************************/
/************************************************************************************************/

/** new room & offer details **/
.mft-icon-list .elementor-widget-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media only screen and (max-width: 768px) {
    .mft-icon-list .elementor-widget-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*******************************/

/* DYNAMIC ADJUSTMENT OF IMAGE HEIGHT */
.mft-wrapper-alternative-img .swiper-slide:nth-of-type(odd) .mft-alternative-img {
    min-height: var(--min-height-xs) !important;
}

/* END */

/*********************************************************/
/*********************************************************/
/* CUSTOM CSS - HOTEL IRIGUIBEL */
/*********************************************************/

/*********************************************************/
/* CMP MEDIA TEXT -- 01 */
/*********************************************************/

.cmp-media-text--01 .cmp-media-text__image--primary img {
    aspect-ratio: 11 / 10;
}

/*********************************************************/
/* CMP MEDIA TEXT -- 02 */
/*********************************************************/

.cmp-media-text--02 .cmp-media-text__media {
    aspect-ratio: 48 / 35;
    overflow: hidden;
}

.cmp-media-text--02 .cmp-media-text__image,
.cmp-media-text--02 .cmp-media-text__image .elementor-widget-container {
    height: 100%;
}

/* Reversed layout */
.cmp-media-text--02.cmp-media-text--reversed {
    flex-direction: row-reverse;
}

/*********************************************************/
/* CMP HERO DETAILS */
/*********************************************************/

.cmp-hero-details {
    aspect-ratio: 16 / 6;
    max-height: 600px;
    overflow: hidden;
}

.cmp-hero-details__image,
.cmp-hero-details__image .elementor-widget-container {
    height: 100%;
}

.cmp-hero-details__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 767px) {
    .cmp-hero-details {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
}

/*********************************************************/
/* CMP MEDIA TEXT -- 03 */
/*********************************************************/

/* Primary image: narrow and vertical */
.cmp-media-text--03 .cmp-media-text__image--primary {
    flex: 3 1 0;
}

.cmp-media-text--03 .cmp-media-text__image--primary img {
    aspect-ratio: 3 / 4;
}

/* Secondary image: wide and square */
.cmp-media-text--03 .cmp-media-text__image--secondary {
    flex: 7 1 0;
}

.cmp-media-text--03 .cmp-media-text__image--secondary img {
    aspect-ratio: 1 / 1;
}

/*********************************************************/
/* CMP MEDIA TEXT -- 04 */
/*********************************************************/

/* Primary image: wide landscape */
.cmp-media-text--04 .cmp-media-text__image--primary img {
    aspect-ratio: 11 / 10;
}

/* Secondary image: smaller square aligned to the right */
.cmp-media-text--04 .cmp-media-text__image--secondary {
    width: 52%;
    align-self: flex-end;
}

.cmp-media-text--04 .cmp-media-text__image--secondary img {
    aspect-ratio: 1 / 1;
}

/* Tertiary image: square */
.cmp-media-text--04 .cmp-media-text__image--tertiary img {
    aspect-ratio: 1 / 1;
}

/*********************************************************/
/* CMP ICON LIST */
/*********************************************************/

@media (min-width: 1025px) {
    .cmp-icon-list.elementor-widget-icon-list .elementor-icon-list-items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: var(--mft-space-m);
    }
}

.cmp-icon-list .elementor-icon-list-item {
    gap: var(--mft-space-3xs);
}

.cmp-icon-list .elementor-icon-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--e-global-color-c192f6c);
}

.cmp-icon-list .elementor-icon-list-icon i {
    text-align: center;
}

/*********************************************************/
/* CAROUSEL OFFSET RIGHT */
/*********************************************************/

@media (min-width: 1441px) {
    .mft-offset-right .swiper {
        width: 100vw;
        margin-left: calc((100% - var(--width-l)) / 2);
    }

    /* Arrows */
    .mft-offset-right .mft-arrows-top-right {
        --mft-arrows-inline-offset: max(var(--mft-space-s),
                calc((100vw - var(--width-l)) / 2));
    }

    /* dots */
    .mft-offset-right .mft-dots-bottom-left .swiper-pagination {
        margin-inline-start: calc(var(--mft-space-5xl) - var(--mft-space-xs));
    }
}

/*********************************************************/
/* CMP CAROUSEL -- 01 */
/*********************************************************/

/* Odd cards: vertical image */
.cmp-carousel--01 .swiper-slide:nth-child(odd) .cmp-card img {
    aspect-ratio: 9 / 11;
}

/* Even cards: square image */
.cmp-carousel--01 .swiper-slide:nth-child(even) .cmp-card img {
    aspect-ratio: 1 / 1;
}

/*********************************************************/
/* CMP CAROUSEL -- 02 */
/*********************************************************/

.cmp-carousel--02 .elementor-cta__content {
    min-height: 60dvh;
    aspect-ratio: 13 / 15;
}

@media (max-width: 767px) {
    .cmp-carousel--02 .elementor-cta__content {
        min-height: 50dvh;
    }
}

/*********************************************************/
/* CMP VIDEO BANNER */
/*********************************************************/

.cmp-video-banner {
    aspect-ratio: 12 / 5;
}

@media (max-width: 767px) {
    .cmp-video-banner {
        aspect-ratio: 9 / 7;
    }
}

/*********************************************************/
/* HELPER CLASSES */
/*********************************************************/

/* NO WRAP ON BUTTON TEXT */
.nowrap-btn {
    white-space: nowrap;
}

.no-margin p:last-of-type,
.elementor-icon-box-content p:last-of-type {
    margin-bottom: 0 !important;
}

/* WORD BREAK */
.text-hyphens-auto {
    hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}