/* The saved contact forms use visible labels and a full-width submit button. */
@media (max-width: 767px) {
    :is(.page-id-2028, .page-id-2069) main .elementor-widget-text-editor a {
        overflow-wrap: anywhere;
    }
    .ti-widget.ti-goog .ti-reviews-container-wrapper {
        margin-inline: 0 !important;
    }
}

.elementor-element-f5dd970 .adeje-contacto {
    gap: 10px;
}

.elementor-element-f5dd970 .adeje-contacto label > .screen-reader-text {
    position: static !important;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    clip: auto;
    clip-path: none;
    overflow: visible;
    white-space: normal;
    color: #fff;
    font: 400 16px/1 Roboto, sans-serif;
}

.elementor-element-f5dd970 .adeje-contacto .elementor-field-textual {
    box-sizing: border-box;
    min-height: 40px;
    font: 400 16px/1.4 Roboto, sans-serif;
    border: 1px solid #69727d;
    border-radius: 3px;
    padding: 5px 14px;
}

.elementor-element-f5dd970 .adeje-contacto button[type="submit"] {
    justify-self: stretch;
    width: 100%;
    min-height: 40px;
    background-color: var(--e-global-color-secondary, #bf930d);
    font: 400 16px/1 Roboto, sans-serif;
}

@media (max-width: 767px) {
    .elementor-element-f5dd970 .adeje-contacto button[type="submit"] {
        min-height: 44px;
    }
}

/* All 24 saved cards use the classic layout with a title and description. */
.elementor-widget-call-to-action .elementor-cta__content {
    padding: 35px;
    width: 100%;
    align-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.elementor-widget-call-to-action .elementor-cta__content > * {
    width: 100%;
}

.elementor-widget-call-to-action .elementor-cta__title {
    margin: 0 0 15px;
    font-size: 23px;
    font-family: var(--e-global-typography-primary-font-family, Roboto), sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight, 600);
}

@media (prefers-reduced-motion: no-preference) {
    .elementor-widget-call-to-action .elementor-cta__content {
        transition: background-color .4s;
    }
}

/* Sizing saved in the Spanish and English footer templates. */
footer .elementor-element-445f6ea {
    text-align: start;
}

footer .elementor-element-445f6ea .custom-logo {
    width: 50%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

/* Keep the dedicated mobile header and its disclosure controls intact. */
@media (min-width: 1025px) {
    header .adeje-nav .sub-menu .sub-menu {
        inset-inline-start: 100%;
        top: 0;
    }
    header .elementor-element-760b608 {
        z-index: 999;
        transition: background-color 1.3s ease, min-height 1s ease;
    }
    header .elementor-element-760b608.adeje-desplazada {
        background-color: rgba(0,0,0,.9) !important;
    }
    header .elementor-element-382b71d {
        text-align: center;
    }
    header .adeje-nav .adeje-menu > .current-menu-item > a {
        box-shadow: inset 0 -3px var(--e-global-color-secondary, #ac8b5b);
    }
    header .elementor-element-382b71d .custom-logo {
        display: inline-block;
        vertical-align: middle;
        max-width: 80%;
        height: auto;
    }

    header .elementor-element-8203505 .adeje-menu a:is(:hover, :focus-visible),
    header .elementor-element-8203505 .current-lang > a {
        color: #bf930d;
    }
}

/* At smaller widths the four links share the header with the phone and booking buttons. */
@media (min-width: 1440px) {
    header .adeje-nav .adeje-menu {
        gap: 0;
    }

    header .adeje-nav .adeje-menu > li > a {
        display: block;
        padding: 13px 20px;
        line-height: 20px;
    }
}
