body {
    /*--font-size-big: 50px;
    --font-size-big-mid: 36px;
    --font-size-mid: 24px;
    --font-size-normal: 16px;
    --font-size-small: 12px;*/
    --font-size-big: 40px;
    --font-size-big-mid: 32px;
    --font-size-mid: 20px;
    --font-size-normal: 14px;
    --font-size-small: 12px;
    font-size: var(--font-size-normal);
}

/**/

.elementor-widget-oew-iframe .elementor-widget-container {
    display: flex;
}

/**/

.main-portrait {
    position: relative;
    background: var(--bg) center center no-repeat;
    background-size: cover;
    /*height: calc(100vh - 140px);*/
    height: calc(100vh - 200px);
    width: 100%;
}

.admin-bar .main-portrait {
    /*height: calc(100vh - 172px);*/
    height: calc(100vh - 232px);
}

.main-portrait>.title-main {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    text-align: center;
    background: #0006;
    box-shadow: 0 0 10px #0003;
    min-width: 45%;
    padding: 24px;
    transform: translate(-50%, -50%);
}

.main-portrait>.title-main h2 {
    margin-top: 0;
    font-size: var(--font-size-big);
    font-weight: bold;
}

.main-portrait>.title-main p {
    margin: 0;
}

.subtitulos-wrapper {
    position: relative;
}

.subtitulo-item {
    opacity: 0;
    transition: opacity 0.6s ease;
    font-size: var(--font-size-mid);
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.subtitulo-item.visible {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.subtitulos-dots {
    user-select: none;
    text-align: center;
    margin-top: 10px;
}

.subtitulos-dots .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.subtitulos-dots .dot.active {
    background-color: #09f;
}

/**/

.tab-url,
.tab-url .elementor-shortcode {
    user-select: none;
    display: flex;
    width: 100%;
    gap: 20px;
}

.tab-url .elementor-widget-container {
    width: 100%;
}

.tab-url a {
    width: 100%;
    display: block;
    cursor: pointer;
    padding: 8px 16px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 0 10px #0003;
    text-decoration: none !important;
    color: var(--e-global-color-primary);
    transition: background .2s linear, color .2s linear;
}

.tab-url a:hover,
.tab-url a:not([href]) {
    background: var(--e-global-color-primary);
    color: #fff !important;
}

.tab-url a:not([href]) {
    cursor: default;
}

@media screen and (max-width: 782px) {

    .tab-url,
    .tab-url .elementor-shortcode {
        flex-direction: column;
        gap: 10px;
    }
}

/**/

.partners {
    display: grid;
    grid-template-columns: repeat(2, calc(50% - 10px));
    gap: 20px;
}

.partners>div,
.partners>div>a {
    width: 100%;
}

.partners>div {
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 0 10px #0003;
}

.partners>div>a {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-height: 130px;
    font-weight: 600;
    font-size: var(--font-size-mid);
    gap: 20px;
}

.partners>div>p {
    border-top: 1px solid #3336;
    padding-top: 12px;
    margin: 12px 0 0;
}

.partners img {
    pointer-events: none;
    user-select: none;
    width: 180px;
}

@media screen and (max-width: 782px) {
    .partners {
        grid-template-columns: repeat(1, 100%);
    }

    .partners a {
        width: 50%;
    }
}

/**/

.aesthetic-menu {
    user-select: none;
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.aesthetic-menu .menu-item {
    position: relative;
    display: flex;
}

.aesthetic-menu .menu-item a span {
    margin: 0 !important;
}

.aesthetic-menu .sub-menu {
    display: none;
    position: absolute;
    list-style: none;
    top: 100%;
    right: 0;
    border-radius: 12px;
    box-shadow: 0 0 10px #0003;
    background: white;
    overflow: hidden;
    padding: 0;
    min-width: 230px;
}

.aesthetic-menu .menu-item:hover>.sub-menu {
    display: block;
    z-index: 1;
}

.aesthetic-menu a {
    text-decoration: none !important;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    color: var(--e-global-color-primary);
}

.aesthetic-menu a:hover {
    text-decoration: none;
}

.aesthetic-menu a img {
    pointer-events: none;
    border-radius: 2px;
    width: 26px;
}

.aesthetic-menu a p,
.aesthetic-menu a span {
    margin: 0;
    text-wrap: nowrap;
}

.aesthetic-menu a p.oversize,
.aesthetic-menu a span.oversize {
    display: none;
}

.aesthetic-menu a[target="_blank"]:not(.ext-icon-dis)::after {
    content: "\f35d";
    font-size: 14px;
    font-family: "Font Awesome 6 Pro";
    font-weight: bold;
    margin-left: 6px;
}

.aesthetic-menu .sub-menu a[target="_blank"]:not(.ext-icon-dis)::after {
    position: absolute;
    right: 12px;
}

.aesthetic-menu .has-children>a:not(.ext-icon-dis)::after {
    content: "\f0d7";
    font-size: 14px;
    font-family: "Font Awesome 6 Pro";
    font-weight: bold;
    margin-left: 6px;
}

.aesthetic-menu .sub-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    color: #333;
    transition: background .15s linear;
}

.aesthetic-menu .sub-menu a:not([href]) {
    cursor: pointer;
}

.aesthetic-menu .sub-menu a:hover {
    background: #0002;
    color: #333;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--e-global-color-primary, #333);
    z-index: 999;
    position: relative;
}

@media screen and (max-width: 875px) {
    .elementor-widget-oew-header-menu {
        position: unset !important;
    }

    .menu-toggle {
        display: block;
    }

    .aesthetic-menu.responsive {
        display: none;
        flex-direction: column;
        gap: 0;
        background: white;
        position: absolute;
        top: 100%;
        /* Ajusta según altura de cabecera */
        right: 0;
        width: 100%;
        max-width: 100%;
        z-index: 998;
        box-shadow: 0 0 10px #0003;
    }

    .aesthetic-menu.responsive.open {
        display: flex;
    }

    .aesthetic-menu.responsive .menu-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .aesthetic-menu.responsive .sub-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    .aesthetic-menu.responsive .menu-item.open>.sub-menu {
        display: block;
    }

    .aesthetic-menu.responsive .has-children>a::after {
        content: "\f107";
        /* caret-down */
        margin-left: auto;
        font-family: "Font Awesome 6 Pro";
        transition: transform .15s linear
    }

    .aesthetic-menu.responsive .has-children.open>a::after {
        transform: rotate(180deg);
    }

    .aesthetic-menu.responsive a p.oversize,
    .aesthetic-menu.responsive a span.oversize {
        display: unset;
    }

    .aesthetic-menu.responsive a {
        width: 100%;
        padding: 12px;
        transition: background .15s linear;
    }

    .aesthetic-menu.responsive .sub-menu a {
        border-left: 24px solid transparent;
    }

    .aesthetic-menu.responsive a:hover {
        background: #0002;
        color: #333;
    }

    .aesthetic-menu.responsive .menu-icon,
    .aesthetic-menu.responsive a[href="#pll_switcher"] img {
        width: 20px;
        display: flex;
        margin-right: 10px;
        align-items: center;
        justify-content: center;
    }
}