/* Native Elementor service links and shared header in the audited public pages. */
.forpo-service-link {
    color: inherit;
    text-decoration: none;
}

/* Use the existing compact footer assistant on tablet layouts reached at 200% zoom. */
@media (max-width: 1024px) {
    #forpitoContainer {
        position: relative;
        bottom: auto;
        right: auto;
        width: fit-content;
        max-width: calc(100% - 32px);
        margin: 24px 80px 24px auto;
    }

    #forpitoContainer .personaje-img,
    #forpitoContainer .speech-bubble {
        display: none;
    }

    #forpitoContainer .personaje-wrapper {
        background: #024B6D;
        color: #fff;
        padding: 12px 16px;
        border-radius: 8px;
        min-height: 44px;
    }

    #forpitoContainer .personaje-wrapper .forpito-mobile-label {
        display: inline;
    }

    #forpitoContainer .asistente-opciones {
        top: auto;
        left: auto;
        right: 0;
        bottom: calc(100% + 12px);
        width: min(270px, calc(100vw - 40px));
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    #forpitoContainer .asistente-opciones:not(.active) {
        visibility: hidden;
    }

    #forpitoContainer .asistente-opciones .opcion-item {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        opacity: 1;
        width: 100%;
        background: #024B6D;
        color: #fff;
        border-radius: 8px;
        padding: 8px;
        justify-content: space-between;
    }

    #forpitoContainer .label-wrapper {
        display: block;
        padding-right: 8px;
    }

    #forpitoContainer .label {
        opacity: 1;
        background: transparent;
        white-space: normal;
        box-shadow: none;
        padding: 4px;
    }
}

.forpo-service-link:hover .elementor-heading-title {
    text-decoration: underline;
}

/* Reserve room for the accessibility launcher beside the compact assistant. */
@media (max-width: 1024px) {
    #forpitoContainer.asistente-container {
        margin-right: 112px;
        max-width: calc(100% - 128px);
    }

    .elementor.elementor-36 .elementor-element.elementor-element-86edbc8::after {
        /* The existing Elementor tooltip declares these properties as important. */
        left: auto !important;
        right: 0;
        transform: none !important;
        width: max-content;
        max-width: calc(100vw - 32px);
        white-space: normal !important;
    }
}

/* Keep the decorative rule and the credit rates title in separate grid columns. */
@media (max-width: 1200px) {
    .elementor.elementor-170 .elementor-element.elementor-element-b14a468 > .e-con-inner {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 12px;
    }

    .elementor.elementor-170 .elementor-element.elementor-element-f7f0faa {
        margin-left: 0;
        width: 100%;
    }

    .elementor.elementor-170 .elementor-element.elementor-element-1235739 .elementor-divider-separator {
        width: 40px;
        max-width: 100%;
    }
}

.forpo-service-link:focus-visible,
.elementor-location-header a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #122140;
}

.forpo-service-link:focus-visible .elementor-heading-title {
    text-decoration: underline;
}

/* Keep header actions at their content width when browser zoom activates the tablet layout. */
@media (min-width: 768px) and (max-width: 1200px) {
    .elementor-location-header .elementor-element-8f1cf59 > .e-con-inner {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .elementor-location-header .elementor-element-6c38109 {
        flex: 1 1 220px;
        width: auto;
        min-width: 0;
    }

    .elementor-location-header .elementor-element-bfaef55,
    .elementor-location-header .elementor-element-b25f441 {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }

    .elementor-location-header .elementor-element-bfaef55 > .elementor-widget-button,
    .elementor-location-header .elementor-element-b25f441 > .elementor-widget-button {
        width: auto;
        max-width: 100%;
    }

    .elementor-location-header .elementor-element-bfaef55 .elementor-button,
    .elementor-location-header .elementor-element-b25f441 .elementor-button {
        max-width: 100%;
        white-space: normal;
    }
}

#forpitoContainer .forpito-mobile-label { display:none; }
@media(max-width:1024px){#forpitoContainer .personaje-wrapper .forpito-mobile-label {display:inline;} }
#forpitoContainer button:focus-visible,#forpitoContainer a:focus-visible{outline:3px solid #ffd200;outline-offset:3px;}

/* Fit the production footer menu within the space reserved beside its trigger. */
@media (max-width: 1024px) {
    #forpitoContainer.asistente-container {
        position: relative;
        right: auto;
        bottom: auto;
        width: fit-content;
        margin: 24px 112px 24px auto;
        max-width: calc(100% - 128px);
    }
    #forpitoContainer.asistente-container .personaje-wrapper {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        min-height: 44px;
        max-width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        background: #024B6D;
        color: #fff;
        line-height: 1.35;
    }
    #forpitoContainer.asistente-container .personaje-img,
    #forpitoContainer.asistente-container .speech-bubble {
        display: none;
    }
    #forpitoContainer.asistente-container .asistente-opciones {
        right: 0;
        width: min(270px, calc(100vw - 144px));
    }
    #forpitoContainer #menuOpciones .opcion-item {
        position: static;
        inset: auto;
        transform: none;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 8px;
        border-radius: 8px;
        background: #024B6D;
        color: #fff;
    }
    #forpitoContainer #menuOpciones .label-wrapper {
        position: static;
        display: block;
        transform: none;
        opacity: 1;
        flex: 1;
        min-width: 0;
        padding-right: 8px;
    }
    #forpitoContainer #menuOpciones .label {
        position: static;
        opacity: 1;
        transform: none;
        background: transparent;
        white-space: normal;
        box-shadow: none;
        padding: 4px;
    }
    #forpitoContainer #menuOpciones .icon-circle {
        flex: 0 0 45px;
    }
}
@media (max-width: 767px) {
    body.single-post .elementor .elementor-element.elementor-element-0c68f46 .elementor-heading-title {
        font-size: 48px;
    }
}
