#main-header .header-html-inner,
#main-header .mdg-header-tools {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

#mondragon-idiomas {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 120px !important;
    height: 38px !important;
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}
/* OCULTAR FLEXBOX EN CELULARES Y TABLETAS */
@media screen and (max-width: 1024px) {

  .mdg-ocultar-tablet-movil {
    display: none !important;
  }
}

/* BOTÓN ORIGINAL */
.mdg-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 155px !important;
    height: 38px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    background: #D9A316 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 1 !important;
}

#main-header .header-button-wrap a,
#main-header .kadence-header-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 155px !important;
    height: 38px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    border-radius: 5px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* TRADUCTOR */
#mondragon-idiomas #conveythis-wrapper,
#mondragon-idiomas .conveythis-widget,
#mondragon-idiomas .ctwrapper {
    position: static !important;
    margin: 0 !important;
    transform: none !important;
}

#main-header .site-header-section-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}


/* ==========================================
   2. TEXTOS Y RESPONSIVE GENERAL
========================================== */

.elementor-heading-title,
.wp-block-heading,
h1, h2, h3, h4, h5, h6 {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

p, li, a, span, div {
    overflow-wrap: break-word;
}

@media (min-width: 1025px) {

    .elementor-button,
    .wp-block-button__link,
    button,
    a.elementor-button-link {
        white-space: nowrap !important;
    }

    .elementor-widget-container,
    .elementor-icon-box-wrapper,
    .elementor-image-box-wrapper,
    .elementor-counter,
    .elementor-post__text,
    .elementor-tab-content,
    .elementor-accordion-content {
        height: auto !important;
        min-height: 0 !important;
    }

    .elementor-column,
    .elementor-container,
    .e-con,
    .e-con-inner,
    .elementor-element {
        min-height: unset !important;
    }
}

@media (max-width: 1024px) {

    .elementor-button,
    .wp-block-button__link,
    button,
    a.elementor-button-link {
        white-space: normal !important;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .elementor-widget-text-editor > .elementor-widget-container,
    .elementor-widget-heading > .elementor-widget-container,
    .elementor-widget-text-editor .elementor-widget-container {
        height: auto !important;
    }

    .elementor .e-con,
    .elementor .e-con-inner {
        min-width: 0;
    }

    #main-header .header-html-inner,
    #main-header .mdg-header-tools {
        gap: 6px !important;
    }

    #mondragon-idiomas {
        min-width: 95px !important;
    }

    .mdg-login-btn,
    #main-header .header-button-wrap a,
    #main-header .kadence-header-button {
        width: auto !important;
        min-width: 130px !important;
        padding: 0 10px !important;
    }
}

.elementor-widget-heading,
.elementor-widget-text-editor {
    overflow: visible !important;
}

.slick-slide,
.swiper-slide,
.owl-item {
    height: auto !important;
}

.elementor-price-table,
.elementor-price-table__features-list,
.elementor-widget-price-table,
.elementor-widget-icon-box,
.elementor-widget-text-editor {
    height: auto !important;
}

.notranslate {
    translate: no;
}

@media (max-width: 767px) {

    #main-header .header-html-inner,
    #main-header .mdg-header-tools,
    #main-header .site-header-section-right {
        flex-wrap: wrap !important;
        white-space: normal !important;
        gap: 6px !important;
        min-width: 0;
        max-width: 100%;
    }

    #main-header .site-header-section-right {
        justify-content: flex-end !important;
    }

    #mondragon-idiomas {
        min-width: 0 !important;
        max-width: 100%;
    }

    .mdg-login-btn,
    #main-header .header-button-wrap a,
    #main-header .kadence-header-button {
        width: auto !important;
        min-width: 0 !important;
        max-width: 100%;
        padding: 0 9px !important;
        font-size: 12px !important;
    }
}


/* ==========================================
   3. POPUPS ELEMENTOR
========================================== */

.elementor-popup-modal {
    z-index: 999999 !important;
}

.elementor-popup-modal .dialog-widget-content {
    height: 400px !important;
    max-height: 400px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.elementor-popup-modal .dialog-message {
    display: block !important;
    height: 400px !important;
    max-height: 400px !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    pointer-events: auto !important;
}

.elementor-popup-modal .dialog-message * {
    touch-action: pan-y;
}

.elementor-popup-modal .dialog-message > * {
    flex-shrink: 0;
}

/* BOTONES EN POPUPS */
.elementor-popup-modal .elementor-button,
.elementor-popup-modal button {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
}

.elementor-popup-modal .elementor-widget-button {
    width: auto !important;
    max-width: max-content !important;
}

.elementor-popup-modal .elementor-button {
    max-width: 150px !important;
    justify-content: center !important;
    padding: 6px 14px !important;
}

.elementor-popup-modal .dialog-widget-content button,
.elementor-popup-modal .dialog-widget-content a,
.elementor-popup-modal .dialog-message button,
.elementor-popup-modal .dialog-message a {
    flex: 0 0 auto !important;
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 150px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
}

.elementor-popup-modal .dialog-widget-content .dialog-close-button,
.elementor-popup-modal .dialog-widget-content .elementor-button,
.elementor-popup-modal .dialog-widget-content button,
.elementor-popup-modal .dialog-widget-content a {
    width: auto !important;
    min-width: 0 !important;
    max-width: 130px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
}


/* ==========================================
   4. POPUPS PREMIUM Y BLOG
========================================== */

.premium-modal-box-modal-lower-close {
    display: block !important;
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 130px !important;
    height: auto !important;
    padding: 5px 14px !important;
    margin: 2px auto !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
}

.premium-modal-box-modal-lower {
    padding: 2px 8px !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.premium-modal-box,
.premium-modal-box-modal,
.premium-modal-box-overlay {
    z-index: 2147483647 !important;
}

.blog-Mondragon .premium-modal-box-modal-dialog {
    height: 520px !important;
    max-height: 90vh !important;
    margin-top: 0 !important;
    top: 0 !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
}

.blog-Mondragon .premium-modal-box-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
}

.blog-Mondragon .premium-modal-box-modal-body h2,
.blog-Mondragon .premium-modal-box-modal-body h3 {
    min-height: 7.5em;
}

.popup-blog-exterior {
    max-height: 85vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

.popup-blog-interior,
.popup-blog-interior > .elementor-widget-container {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

@media (max-width: 767px) {

    .elementor-popup-modal .dialog-widget-content,
    .elementor-popup-modal .dialog-message {
        height: min(400px, 80dvh) !important;
        max-height: 80dvh !important;
    }

    .blog-Mondragon .premium-modal-box-modal-dialog {
        height: auto !important;
        max-height: 85dvh !important;
    }
}


/* ==========================================
   5. EFECTOS DE BOTONES
========================================== */

.boton-plus-hover:is(a, button),
.boton-plus-hover a,
.boton-plus-hover button {
    position: relative;
    overflow: hidden;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background-color .3s ease;
}

.boton-plus-hover:is(a, button)::before,
.boton-plus-hover a::before,
.boton-plus-hover button::before {
    content: "";
    position: absolute;
    top: -65%;
    left: -85%;
    width: 45%;
    height: 230%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,235,165,.45),
        transparent
    );
    transform: rotate(18deg);
    transition: left .65s ease;
    pointer-events: none;
}

.boton-plus-hover:is(a, button):hover,
.boton-plus-hover a:hover,
.boton-plus-hover button:hover {
    transform: translateY(-5px) scale(1.035);
    box-shadow:
        0 12px 25px rgba(28,36,75,.35),
        0 0 16px rgba(213,166,42,.25);
}

.boton-plus-hover:is(a, button):hover::before,
.boton-plus-hover a:hover::before,
.boton-plus-hover button:hover::before {
    left: 140%;
}

@media (prefers-reduced-motion: reduce) {
    .boton-plus-hover:is(a, button),
    .boton-plus-hover a,
    .boton-plus-hover button,
    .boton-plus-hover a::before,
    .boton-plus-hover button::before {
        transition: none;
    }
}


/* ==========================================
   6. INSTAGRAM EN PIE DE PÁGINA
========================================== */

.site-footer .social-link-instagram:hover,
.site-footer .social-link-instagram:focus-visible {
    background: linear-gradient(
        45deg,
        #FEDA75,
        #FA7E1E,
        #D62976,
        #962FBF,
        #4F5BD5
    ) !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
}

.site-footer .social-link-instagram:hover svg,
.site-footer .social-link-instagram:focus-visible svg {
    fill: currentColor !important;
}


/* ==========================================
   7. BIBLIOTECA DE DOCUMENTOS
========================================== */

#mdg-biblioteca {
    --mdg-azul: #1C244B;
    --mdg-azul-hover: #293861;
    --mdg-azul-abierto: #344673;
    --mdg-dorado: #C59B27;
    --mdg-blanco: #FFFFFF;
    background-color: #FFFFFF;
    color: #1C244B;
}

/* TÍTULO PRINCIPAL */
#mdg-biblioteca .mdg-doc-titulo {
    position: relative;
    width: 100%;
    padding: 26px 12px 22px;
    margin-bottom: 22px;
    text-align: center !important;
    background: transparent !important;
}

#mdg-biblioteca .mdg-doc-titulo::before {
    content: "CENTRO DE SOPORTE";
    display: block;
    width: 100%;
    margin: 0 0 12px;
    color: #A47D26 !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-align: center;
}

#mdg-biblioteca .mdg-doc-titulo,
#mdg-biblioteca .mdg-doc-titulo :is(
    h1, h2, h3, h4,
    .elementor-heading-title,
    .e-heading-base,
    .e-heading-title
) {
    color: #1C244B !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -.5px;
    text-align: center !important;
}

#mdg-biblioteca .mdg-doc-titulo::after {
    content: "";
    display: block;
    width: 68px;
    height: 3px;
    margin: 17px auto 0;
    border-radius: 20px;
    background: linear-gradient(
        90deg,
        #A57D20,
        #E9C875,
        #C59B27
    );
}

/* ACORDEÓN PRINCIPAL */
#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
) {
    margin-bottom: 12px;
    background: #FFFFFF;
    border: 1px solid #DDE3ED;
    border-radius: 12px;
    overflow: hidden;
    transition:
        border-color .4s ease,
        box-shadow .4s ease;
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
) > .e-accordion-item-header-base {
    position: relative;
    background: #1C244B !important;
    background-color: #1C244B !important;
    background-image: none !important;
    color: #FFFFFF !important;
    padding: 17px 20px;
    border-radius: 0;
    cursor: pointer;
    transition:
        background-color .45s ease,
        box-shadow .4s ease;
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
) > summary .e-accordion-item-title-base {
    color: #FFFFFF !important;
    font-size: 16px;
    font-weight: 700;
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
) > summary .e-accordion-item-title-base
:is(span, .e-heading-base, h2, h3) {
    color: #FFFFFF !important;
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
) > summary :is(
    .e-accordion-item-icon-base,
    .e-accordion-item-icon-open-base
) {
    color: #E8C570 !important;
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
) > summary:hover {
    background: #293861 !important;
    background-color: #293861 !important;
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
)[open] > summary {
    background: #344673 !important;
    background-color: #344673 !important;
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
)[open] {
    border-color: #C59B27;
    box-shadow: 0 8px 22px rgba(28,36,75,.11);
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
) > summary::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #95711C,
        #E8C875,
        #C59B27
    );
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s ease;
    pointer-events: none;
}

#mdg-biblioteca .mdg-doc-principal
.e-accordion-item-base:not(
    .mdg-doc-interior .e-accordion-item-base
)[open] > summary::after {
    transform: scaleX(1);
}

/* ACORDEÓN INTERIOR */
#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base {
    margin-bottom: 8px;
    background: #FFFFFF;
    border: 1px solid #E1E6EF;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: none;
    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base >
.e-accordion-item-header-base {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #1C244B !important;
    padding: 13px 15px;
    transition: background-color .3s ease;
}

#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base > summary
.e-accordion-item-title-base {
    color: #1C244B !important;
    font-size: 14px;
    font-weight: 600;
}

#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base > summary
.e-accordion-item-title-base
:is(span, .e-heading-base, h2, h3) {
    color: #1C244B !important;
}

#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base > summary
:is(
    .e-accordion-item-icon-base,
    .e-accordion-item-icon-open-base
) {
    color: #C59B27 !important;
}

#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base > summary:hover {
    background: #F3F5F9 !important;
}

#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base[open] {
    border-color: #D5B76B;
    box-shadow: 0 4px 12px rgba(28,36,75,.05);
}

#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base[open] > summary {
    background: #F6F7FA !important;
}

#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base > summary::after {
    content: none !important;
}

/* BOTONES DE DOCUMENTOS */
#mdg-biblioteca .mdg-doc-boton:is(
    a, button, .elementor-button, .e-button
),
#mdg-biblioteca .mdg-doc-boton :is(
    a, button, .elementor-button, .e-button
),
#mdg-biblioteca .mdg-doc-interior :is(
    a.elementor-button,
    a.e-button,
    button.e-button,
    .elementor-widget-button a
) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 19px !important;
    background: #1C244B !important;
    background-color: #1C244B !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid #C59B27 !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 3px 9px rgba(28,36,75,.12) !important;
    transition:
        background-color .35s ease,
        border-color .35s ease,
        color .35s ease,
        box-shadow .35s ease,
        transform .35s ease !important;
}

#mdg-biblioteca .mdg-doc-boton:is(
    a, button, .elementor-button, .e-button
) span,
#mdg-biblioteca .mdg-doc-boton :is(
    a, button, .elementor-button, .e-button
) span,
#mdg-biblioteca .mdg-doc-interior :is(
    a.elementor-button,
    a.e-button,
    button.e-button,
    .elementor-widget-button a
) span {
    color: #FFFFFF !important;
}

#mdg-biblioteca .mdg-doc-boton:is(
    a, button, .elementor-button, .e-button
) :is(i, svg),
#mdg-biblioteca .mdg-doc-boton :is(
    a, button, .elementor-button, .e-button
) :is(i, svg),
#mdg-biblioteca .mdg-doc-interior :is(
    a.elementor-button,
    a.e-button,
    button.e-button,
    .elementor-widget-button a
) :is(i, svg) {
    color: #E8C570 !important;
}

/* HOVER BOTONES BIBLIOTECA */
#mdg-biblioteca .mdg-doc-boton:is(
    a, button, .elementor-button, .e-button
):hover,
#mdg-biblioteca .mdg-doc-boton :is(
    a, button, .elementor-button, .e-button
):hover,
#mdg-biblioteca .mdg-doc-interior :is(
    a.elementor-button:hover,
    a.e-button:hover,
    button.e-button:hover,
    .elementor-widget-button a:hover
) {
    background: #344673 !important;
    background-color: #344673 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: #E7C66D !important;
    transform: translateY(-2px);
    box-shadow:
        0 6px 16px rgba(28,36,75,.20),
        0 0 0 1px rgba(197,155,39,.20) !important;
}

#mdg-biblioteca .mdg-doc-boton:hover :is(
    .elementor-button-text,
    .e-button-text,
    span
),
#mdg-biblioteca .mdg-doc-interior :is(
    a.elementor-button:hover,
    a.e-button:hover,
    button.e-button:hover,
    .elementor-widget-button a:hover
) span {
    color: #FFFFFF !important;
}

#mdg-biblioteca .mdg-doc-boton:hover :is(i, svg),
#mdg-biblioteca .mdg-doc-interior :is(
    a.elementor-button:hover,
    a.e-button:hover,
    button.e-button:hover,
    .elementor-widget-button a:hover
) :is(i, svg) {
    color: #F0D58A !important;
}

#mdg-biblioteca .mdg-doc-boton:is(
    a, button, .elementor-button, .e-button
):focus-visible,
#mdg-biblioteca .mdg-doc-boton :is(
    a, button, .elementor-button, .e-button
):focus-visible,
#mdg-biblioteca .mdg-doc-interior
a.elementor-button:focus-visible {
    outline: 2px solid #C59B27 !important;
    outline-offset: 3px;
}

/* RESPONSIVE BIBLIOTECA */
@media (max-width: 767px) {

    #mdg-biblioteca .mdg-doc-titulo {
        padding: 20px 6px 16px;
    }

    #mdg-biblioteca .mdg-doc-principal
    .e-accordion-item-base:not(
        .mdg-doc-interior .e-accordion-item-base
    ) > summary {
        padding: 14px 13px;
    }

    #mdg-biblioteca .mdg-doc-principal
    .e-accordion-item-base:not(
        .mdg-doc-interior .e-accordion-item-base
    ) > summary .e-accordion-item-title-base {
        font-size: 15px;
    }

    #mdg-biblioteca .mdg-doc-interior
    .e-accordion-item-base > summary {
        padding: 12px 10px;
    }

    #mdg-biblioteca .mdg-doc-interior
    .e-accordion-item-base > summary
    .e-accordion-item-title-base {
        font-size: 13px;
    }

    #mdg-biblioteca .mdg-doc-boton:is(
        a, button, .elementor-button, .e-button
    ),
    #mdg-biblioteca .mdg-doc-boton :is(
        a, button, .elementor-button, .e-button
    ),
    #mdg-biblioteca .mdg-doc-interior :is(
        a.elementor-button,
        a.e-button,
        button.e-button,
        .elementor-widget-button a
    ) {
        padding: 10px 14px !important;
        font-size: 12px !important;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    #mdg-biblioteca .mdg-doc-principal *,
    #mdg-biblioteca .mdg-doc-interior * {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    #mdg-biblioteca .mdg-doc-boton,
    #mdg-biblioteca .mdg-doc-boton * {
        transition: none !important;
        transform: none !important;
    }
}

/* TAMAÑO FINAL DE TÍTULOS INTERIORES */
#mdg-biblioteca .mdg-doc-interior
.e-accordion-item-base > summary
.e-accordion-item-title-base {
    font-size: 13px;
}


/* ==========================================
   8. MENÚ DESPLEGABLE INICIAR SESIÓN
   VERSIÓN FINAL CORREGIDA
========================================== */

/* CONTENEDOR DEL HEADER */
#mdg-access-header {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    position: relative !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    max-width: 100%;
}

/* CONTENEDOR DEL MENÚ */
#mdg-login-menu {
    position: relative !important;
    display: block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 99999 !important;
}

/* BOTÓN AMARILLO */
#mdg-login-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: 155px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    background: #DDA511 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    list-style: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background .25s ease;
}

/* ELIMINAR MARCADOR DE DETAILS */
#mdg-login-trigger::-webkit-details-marker {
    display: none !important;
}

#mdg-login-trigger::marker {
    content: "";
}

#mdg-login-trigger:hover,
#mdg-login-menu[open] #mdg-login-trigger {
    background: #C4930D !important;
}

/* FLECHA DEL BOTÓN */
#mdg-login-caret {
    font-size: 17px !important;
    color: #FFFFFF !important;
    line-height: 1 !important;
    transition: transform .25s ease;
}

#mdg-login-menu[open] #mdg-login-caret {
    transform: rotate(180deg);
}

/* PANEL DESPLEGABLE */
#mdg-login-popup {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: 330px !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #E4E8F0 !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 35px rgba(28,36,75,.16) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    white-space: normal !important;
    z-index: 999999 !important;
}

/* OCULTAR MENÚ CUANDO ESTÁ CERRADO */
#mdg-login-menu:not([open]) #mdg-login-popup {
    display: none !important;
}

/* MOSTRAR SOLO CUANDO ESTÁ ABIERTO */
#mdg-login-menu[open] #mdg-login-popup {
    display: block !important;
    animation: mdgMenuEntrada .2s ease;
}

@keyframes mdgMenuEntrada {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CONTROLAR CAJAS INTERNAS */
#mdg-login-popup,
#mdg-login-popup * {
    box-sizing: border-box !important;
}

/* ENCABEZADO DEL SUBMENÚ */
#mdg-login-title {
    padding: 3px 4px 12px !important;
    margin: 0 !important;
}

#mdg-login-title strong {
    display: block !important;
    color: #1C244B !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

#mdg-login-title small {
    display: block !important;
    color: #778093 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin-top: 3px !important;
}

/* TARJETAS DE ACCESO */
#mdg-fact-card,
#mdg-plan-card,
#mdg-quick-card {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 11px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 70px !important;
    padding: 9px 11px !important;
    margin: 0 0 8px 0 !important;
    background: #FAFBFE !important;
    border: 1px solid #E6EAF2 !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
    transition: all .25s ease !important;
}

/* ÚLTIMA TARJETA */
#mdg-login-popup > a:last-child {
    margin-bottom: 0 !important;
}

/* CONTENEDORES DE LOGOS */
#mdg-fact-logo,
#mdg-plan-logo,
#mdg-quick-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 5px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #EDF0F5 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* IMÁGENES DE FACTURADOR Y PLANILLA */
#mdg-fact-logo img,
#mdg-plan-logo img {
    display: block !important;
    position: static !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* LOGO TEMPORAL QUICKBOOKS */
#mdg-quick-logo {
    background: #2CA01C !important;
    color: #FFFFFF !important;
    border: none !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    letter-spacing: -2px !important;
    text-transform: lowercase !important;
    line-height: 1 !important;
}

/* INFORMACIÓN DE TARJETAS */
#mdg-fact-info,
#mdg-plan-info,
#mdg-quick-info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* NOMBRES DE PLATAFORMAS */
#mdg-login-popup > a strong {
    display: block !important;
    color: #1C244B !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* DESCRIPCIONES */
#mdg-login-popup > a small {
    display: block !important;
    color: #798396 !important;
    font-size: 10.5px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* FLECHAS DE ACCESO */
#mdg-login-popup > a > span:last-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    color: #C4A15A !important;
    font-size: 17px !important;
    font-weight: 500 !important;
}

/* EFECTOS DE LAS TARJETAS */
#mdg-fact-card:hover,
#mdg-plan-card:hover,
#mdg-quick-card:hover {
    background: #FFFFFF !important;
    border-color: #C4A15A !important;
    box-shadow: 0 4px 14px rgba(28,36,75,.09) !important;
    transform: translateX(2px) !important;
}

/* ACCESIBILIDAD */
#mdg-login-trigger:focus-visible,
#mdg-login-popup > a:focus-visible {
    outline: 2px solid #C59B27 !important;
    outline-offset: 3px;
}

/* EVITAR RECORTES DEL MENÚ */
#main-header,
#main-header .site-header-row-container,
#main-header .site-header-row-container-inner,
#main-header .site-header-section,
#main-header .header-html-inner {
    overflow: visible !important;
}

#main-header {
    position: relative;
    z-index: 9999;
}


/* ==========================================
   9. RESPONSIVE DEL MENÚ
========================================== */

@media (max-width: 1024px) {

    #mdg-login-trigger {
        width: auto !important;
        min-width: 130px !important;
        padding: 0 10px !important;
    }
}

@media (max-width: 767px) {

    #mdg-access-header {
        gap: 7px !important;
        flex-wrap: wrap !important;
    }

    #mdg-login-trigger {
        width: auto !important;
        min-width: 125px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
    }

    #mdg-login-popup {
        width: 300px !important;
        max-width: calc(100vw - 24px) !important;
        padding: 11px !important;
    }

    #mdg-fact-card,
    #mdg-plan-card,
    #mdg-quick-card {
        min-height: 64px !important;
        padding: 8px !important;
        gap: 9px !important;
    }

    #mdg-fact-logo,
    #mdg-plan-logo,
    #mdg-quick-logo {
        flex-basis: 46px !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
    }

    #mdg-fact-logo img,
    #mdg-plan-logo img {
        width: 36px !important;
        height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
    }

    #mdg-login-popup > a strong {
        font-size: 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    #mdg-login-popup {
        animation: none !important;
    }

    #mdg-login-popup > a,
    #mdg-login-caret {
        transition: none !important;
    }
}

/* ============================================
   MONDRAGÓN & ASOCIADOS
   CORRECCIÓN SOPORTE Y ENCUESTA
   TABLETAS Y CELULARES
   NO MODIFICA COMPUTADORA
============================================ */

@media screen and (max-width: 1024px) {

  /* CONTENEDOR QUE AGRUPA LAS DOS COLUMNAS */
  .mdg-seccion-encuesta,
  .mdg-seccion-encuesta > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 24px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }

  /* COLUMNAS A ANCHO COMPLETO */
  .mdg-seccion-encuesta .mdg-soporte-columna,
  .mdg-seccion-encuesta .mdg-encuesta-columna {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    flex: 0 0 auto !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
  }

  /* PRIMERO SOPORTE Y AYUDA */
  .mdg-seccion-encuesta .mdg-soporte-columna {
    order: 1 !important;
  }

  /* DESPUÉS ENCUESTA INFORMATIVA */
  .mdg-seccion-encuesta .mdg-encuesta-columna {
    order: 2 !important;
  }

  /* EVITAR COMPRESIÓN DE WIDGETS */
  .mdg-seccion-encuesta
  .mdg-encuesta-columna
  .elementor-widget-heading,
  .mdg-seccion-encuesta
  .mdg-encuesta-columna
  .elementor-widget-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
  }

  /* TÍTULOS BIEN DISTRIBUIDOS */
  .mdg-seccion-encuesta
  .mdg-soporte-columna
  .elementor-heading-title,
  .mdg-seccion-encuesta
  .mdg-encuesta-columna
  .elementor-heading-title,
  .mdg-seccion-encuesta
  .mdg-encuesta-columna
  .e-heading-base {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;

    line-height: 1.25 !important;
    text-align: center !important;
  }

  /* TÍTULO DE ENCUESTA */
  .mdg-seccion-encuesta
  .mdg-encuesta-columna
  .elementor-heading-title {
    font-size: clamp(24px, 4vw, 34px) !important;
  }

  /* FORMULARIO AL ANCHO CORRECTO */
  .mdg-seccion-encuesta .mdg-encuesta-columna form,
  .mdg-seccion-encuesta .mdg-encuesta-columna .elementor-form,
  .mdg-seccion-encuesta .mdg-encuesta-columna .elementor-field-group {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .mdg-seccion-encuesta .mdg-encuesta-columna input,
  .mdg-seccion-encuesta .mdg-encuesta-columna select,
  .mdg-seccion-encuesta .mdg-encuesta-columna textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

}

/* ============================================
   AJUSTES EXCLUSIVOS DE CELULARES
============================================ */

@media screen and (max-width: 767px) {

  .mdg-seccion-encuesta {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .mdg-seccion-encuesta
  .mdg-encuesta-columna
  .elementor-heading-title {
    font-size: clamp(24px, 7vw, 30px) !important;
  }

}

/* ==========================================
   MONDRAGÓN - TRES TÍTULOS DEL BANNER
   SOLO TABLETAS
========================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  /* Ajustar los tres bloques */
  .mdg-titulo-banner-tablet {
    width: 100% !important;
    max-width: 350px !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;

    align-self: flex-start !important;
    box-sizing: border-box !important;
  }

  /* Ajustar el texto de cada bloque */
  .mdg-titulo-banner-tablet .elementor-heading-title,
  .mdg-titulo-banner-tablet .e-heading-base,
  .mdg-titulo-banner-tablet.elementor-heading-title {

    font-size: clamp(28px, 3.7vw, 36px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.5px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    text-align: left !important;
  }

  /* Mantener tamaños iguales en textos internos */
  .mdg-titulo-banner-tablet .elementor-heading-title span,
  .mdg-titulo-banner-tablet .e-heading-base span {
    font-size: inherit !important;
    line-height: inherit !important;
  }

}

/* ==========================================
   MONDRAGÓN - ALINEAR TARJETAS Y BOTONES
   EXCLUSIVO PARA TABLETAS
========================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  /* Contenedor que agrupa las tres tarjetas */
  .mdg-planes-fila,
  .mdg-planes-fila > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  /* Las tres tarjetas se estiran a la misma altura */
  .mdg-planes-fila .mdg-tarjeta-plan {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    flex: 1 1 0 !important;
    align-self: stretch !important;

    min-width: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Empujar separador y botón al fondo */
  .mdg-tarjeta-plan > .mdg-plan-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;

    margin-top: auto !important;
    padding-top: 24px !important;

    width: 100% !important;
    flex-shrink: 0 !important;
    gap: 20px !important;
  }

  /* Separador al mismo nivel */
  .mdg-plan-footer .elementor-widget-divider {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Botones sin separación variable */
  .mdg-plan-footer .elementor-widget-button {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

}

/* ==========================================
   FACTURADOR PLUS
   FORMATO MÓVIL CORREGIDO
========================================== */

@media screen and (max-width: 767px) {

  /* TARJETA GENERAL */
  .mdg-fact-tarjeta {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 20px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 18px 16px 22px 16px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* BLOQUES INTERNOS */
  .mdg-fact-cabecera,
  .mdg-fact-detalles {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* TODOS LOS WIDGETS INTERNOS */
  .mdg-fact-cabecera > .elementor-element,
  .mdg-fact-detalles > .elementor-element,
  .mdg-fact-tarjeta > .elementor-element {
    position: static !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* CONTENEDOR INTERNO DE CADA WIDGET */
  .mdg-fact-cabecera .elementor-widget-container,
  .mdg-fact-detalles .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* IMAGEN / LOGO */
  .mdg-fact-cabecera .elementor-widget-image img {
    display: block !important;
    max-width: 78px !important;
    height: auto !important;
    margin: 0 0 8px 0 !important;
  }

  /* ETIQUETA SUPERIOR */
  .mdg-fact-cabecera .elementor-widget-text-editor:first-of-type,
  .mdg-fact-cabecera .elementor-widget-text-editor:first-of-type .elementor-widget-container,
  .mdg-fact-cabecera .elementor-widget-text-editor:first-of-type p {
    margin: 0 !important;
  }

  /* TÍTULOS */
  .mdg-fact-cabecera .elementor-heading-title,
  .mdg-fact-cabecera .e-heading-base,
  .mdg-fact-detalles .elementor-heading-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;

    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  /* TÍTULO PRINCIPAL */
  .mdg-fact-cabecera h1,
  .mdg-fact-cabecera h2,
  .mdg-fact-cabecera h3,
  .mdg-fact-cabecera .elementor-heading-title {
    font-size: 22px !important;
    line-height: 1.12 !important;
    margin-bottom: 2px !important;
  }

  /* PRECIO */
  .mdg-fact-cabecera .mdg-fact-precio,
  .mdg-fact-cabecera .elementor-widget-heading:nth-of-type(2),
  .mdg-fact-cabecera .elementor-widget-heading:nth-of-type(2) .elementor-heading-title {
    font-size: 19px !important;
    line-height: 1.15 !important;
    margin-top: 0 !important;
    margin-bottom: 2px !important;
  }

  /* PÁRRAFOS */
  .mdg-fact-cabecera p,
  .mdg-fact-detalles p,
  .mdg-fact-cabecera .elementor-text-editor,
  .mdg-fact-detalles .elementor-text-editor {
    margin: 0 !important;
    line-height: 1.5 !important;
    font-size: 15px !important;
    overflow-wrap: break-word !important;
  }

  /* SEPARAR MEJOR EL BLOQUE AZUL CLARITO / DESCRIPCIÓN */
  .mdg-fact-cabecera .elementor-widget-text-editor {
    margin-bottom: 2px !important;
  }

  /* LISTADO DE ICONOS */
  .mdg-fact-detalles .elementor-icon-list-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mdg-fact-detalles .elementor-icon-list-item {
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mdg-fact-detalles .elementor-icon-list-icon {
    margin-top: 2px !important;
    margin-right: 10px !important;
    flex: 0 0 auto !important;
  }

  .mdg-fact-detalles .elementor-icon-list-text {
    white-space: normal !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word !important;
  }

  /* ENCABEZADOS DEL DETALLE */
  .mdg-fact-detalles h2,
  .mdg-fact-detalles h3,
  .mdg-fact-detalles h4,
  .mdg-fact-detalles .elementor-heading-title {
    margin-top: 10px !important;
    margin-bottom: 4px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
  }

  /* BOTÓN */
  .mdg-fact-tarjeta .elementor-widget-button {
    margin-top: 10px !important;
  }

  .mdg-fact-tarjeta .elementor-button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 14px 18px !important;
    box-sizing: border-box !important;
  }

  /* OCULTAR ESPACIADORES VACÍOS SI EXISTEN */
  .mdg-fact-tarjeta .elementor-widget-spacer {
    display: none !important;
  }

  /* SI ALGÚN CONTENEDOR VACÍO SIGUE DEJANDO ESPACIO */
  .mdg-fact-tarjeta .e-con:empty,
  .mdg-fact-tarjeta .elementor-element:empty {
    display: none !important;
  }
}

/* ==========================================
   FACTURADOR PLUS - ESPACIADO MÓVIL
   AJUSTE FINO SIN CAMBIAR EL DISEÑO
========================================== */

@media screen and (max-width: 767px) {

  /* Más separación entre los bloques principales */
  .mdg-fact-tarjeta {
    gap: 26px !important;
  }

  /* Mayor separación entre las características */
  .mdg-fact-tarjeta .elementor-icon-list-items {
    display: flex !important;
    flex-direction: column !important;
    row-gap: 12px !important;
  }

  /* Mejor lectura de las características */
  .mdg-fact-tarjeta .elementor-icon-list-text {
    line-height: 1.6 !important;
  }

  /* Más espacio entre líneas de los párrafos */
  .mdg-fact-tarjeta p {
    line-height: 1.6 !important;
  }

}


/* ============================================
   MONDRAGÓN - CONTACTO RESPONSIVE TABLET
   SOLO 768px A 1024px
============================================ */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  /* SECCIÓN PRINCIPAL */
  .mdg-contacto-tablet,
  .mdg-contacto-tablet > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    gap: 24px !important;
    box-sizing: border-box !important;
  }

  /* TÍTULO DE CONTACTO */
  .mdg-contacto-tablet .elementor-widget-heading {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .mdg-contacto-tablet .elementor-heading-title {
    font-size: clamp(28px, 4vw, 38px) !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
  }

  /* CONTENEDOR DEL FORMULARIO */
  .mdg-contacto-tablet .mdg-contacto-formulario {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    flex: 0 1 auto !important;
    align-self: stretch !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 24px !important;

    box-sizing: border-box !important;
  }

  /* ANCHO DEL CONTENIDO DEL FORMULARIO */
  .mdg-contacto-formulario .elementor-widget,
  .mdg-contacto-formulario .elementor-widget-container,
  .mdg-contacto-formulario form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* CAMPOS DEL FORMULARIO */
  .mdg-contacto-formulario input,
  .mdg-contacto-formulario select,
  .mdg-contacto-formulario textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

}

/* =======================================================
   MONDRAGÓN & ASOCIADOS | VIDEOTECA DE SOPORTE
   Estilos aislados: no modifican biblioteca de PDF ni header
   Requiere el shortcode [mdg_videos_soporte]
   ======================================================= */

#mdg-videoteca {
    width: min(100%, 1100px) !important;
    margin: 18px auto 35px !important;
    padding: 0 12px !important;
    color: #1C244B !important;
    box-sizing: border-box !important;
}

#mdg-videoteca,
#mdg-videoteca * { box-sizing: border-box !important; }

#mdg-videoteca summary { list-style: none !important; cursor: pointer !important; }
#mdg-videoteca summary::-webkit-details-marker { display: none !important; }
#mdg-videoteca summary::marker { content: ""; }

/* Los seis grupos */
#mdg-videoteca details.mdg-videos-seccion {
    display: block !important;
    margin: 0 0 11px !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid #C59B27 !important;
    border-radius: 11px !important;
    box-shadow: 0 2px 10px rgba(28,36,75,.05);
    overflow: hidden !important;
}
#mdg-videoteca details.mdg-videos-seccion > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    background: #1C244B !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    border: 0 !important;
    text-align: left !important;
}
#mdg-videoteca details.mdg-videos-seccion > summary:hover { background: #293861 !important; }
#mdg-videoteca details.mdg-videos-seccion[open] > summary {
    background: #344673 !important;
    border-bottom: 2px solid #C59B27 !important;
}
#mdg-videoteca details.mdg-videos-seccion > summary::after,
#mdg-videoteca details.mdg-video-tutorial > summary::after {
    content: "" !important;
    display: block !important;
    flex: 0 0 8px !important;
    width: 8px !important;
    height: 8px !important;
    margin-left: auto !important;
    border-right: 2px solid #C59B27 !important;
    border-bottom: 2px solid #C59B27 !important;
    transform: rotate(45deg);
    transition: transform .2s ease;
}
#mdg-videoteca details.mdg-videos-seccion > summary::after {
    border-color: #E8C570 !important;
}
#mdg-videoteca details[open] > summary::after { transform: rotate(225deg) !important; }

/* Tutoriales dentro de cada grupo */
#mdg-videoteca .mdg-videos-contenido {
    display: block !important;
    padding: 10px !important;
    background: #FFFFFF !important;
}
#mdg-videoteca details.mdg-video-tutorial {
    display: block !important;
    margin: 0 0 7px !important;
    background: #FFFFFF !important;
    border: 1px solid #E1E6EF !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
#mdg-videoteca details.mdg-video-tutorial:last-child { margin-bottom: 0 !important; }
#mdg-videoteca details.mdg-video-tutorial > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    background: #FFFFFF !important;
    color: #1C244B !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    border: 0 !important;
}
#mdg-videoteca details.mdg-video-tutorial > summary:hover { background: #F3F5F9 !important; }
#mdg-videoteca details.mdg-video-tutorial[open] { border-color: #D5B76B !important; }
#mdg-videoteca details.mdg-video-tutorial[open] > summary {
    background: #F6F7FA !important;
    border-bottom: 1px solid #E1E6EF !important;
}

/* Video: solo presentación, no cambia URL ni inicialización */
#mdg-videoteca .mdg-video-player {
    width: 100% !important;
    padding: 14px !important;
    margin: 0 !important;
    background: #F8F9FC !important;
    overflow: hidden !important;
    color: #667085 !important;
    font-size: 13px !important;
}
#mdg-videoteca .mdg-video-player > * {
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
#mdg-videoteca .mdg-video-player :is(video, iframe) {
    display: block !important;
    width: 100% !important;
    max-width: 860px !important;
    margin: 0 auto !important;
    border: none !important;
    border-radius: 6px !important;
}
#mdg-videoteca .mdg-video-player iframe { aspect-ratio: 16 / 9; height: auto; }
#mdg-videoteca .mdg-video-player video { height: auto; max-height: 70vh; }
#mdg-videoteca .mdg-video-player :is(.wp-video, .wp-block-video, .wp-block-embed, .mejs-container) {
    max-width: 860px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
#mdg-videoteca .mdg-video-player img { max-width: 100% !important; height: auto !important; }
#mdg-videoteca summary:focus-visible { outline: 2px solid #C59B27 !important; outline-offset: -3px; }

/* Título opcional de Elementor: ID CSS mdg-video-titulo */
#mdg-video-titulo { width: 100%; margin: 25px auto 15px !important; text-align: center !important; }
#mdg-video-titulo .elementor-heading-title { color: #1C244B !important; font-size: clamp(24px, 3vw, 32px) !important; text-align: center !important; font-weight: 800 !important; }
#mdg-video-titulo::after { content: ""; display: block; width: 68px; height: 3px; margin: 14px auto 0; background: #C59B27; border-radius: 10px; }

@media (max-width: 767px) {
    #mdg-videoteca { width: 100% !important; padding: 0 8px !important; margin: 12px auto 25px !important; }
    #mdg-videoteca details.mdg-videos-seccion > summary { padding: 12px 13px !important; min-height: 44px !important; font-size: 14px !important; }
    #mdg-videoteca .mdg-videos-contenido { padding: 7px !important; }
    #mdg-videoteca details.mdg-video-tutorial > summary { padding: 10px !important; min-height: 42px !important; font-size: 12px !important; }
    #mdg-videoteca .mdg-video-player { padding: 7px !important; }
}

@media (prefers-reduced-motion: reduce) {
    #mdg-videoteca summary::after { transition: none !important; }
}


/* ==========================================
   MONDRAGÓN - OCULTAR EN MÓVIL Y TABLET
   VISIBLE ÚNICAMENTE EN COMPUTADORA
========================================== */

@media screen and (max-width: 1024px) {

  .mdg-ocultar-movil-tablet {
    display: none !important;
  }

}

/* ==========================================
   MONDRAGÓN - ACORDEÓN DE PREGUNTAS
   CORRECCIÓN PARA MÓVIL Y TABLETA
   SIN AFECTAR OTROS ELEMENTOS
========================================== */

@media screen and (max-width: 1024px) {

  /* ANCHO GENERAL DEL ACORDEÓN */
  .mdg-acordeon-preguntas,
  .mdg-acordeon-preguntas .e-accordion,
  .mdg-acordeon-preguntas .e-accordion-item-base,
  .mdg-acordeon-preguntas .e-n-accordion-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* ENCABEZADO DE CADA PREGUNTA */
  .mdg-acordeon-preguntas .e-accordion-item-header-base,
  .mdg-acordeon-preguntas .e-n-accordion-item-title {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;

    gap: 12px !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
  }

  /* EL TEXTO UTILIZA TODO EL ESPACIO DISPONIBLE */
  .mdg-acordeon-preguntas .e-accordion-item-title-base,
  .mdg-acordeon-preguntas .e-n-accordion-item-title-header,
  .mdg-acordeon-preguntas .e-n-accordion-item-title-text {
    display: block !important;

    flex: 1 1 0% !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    writing-mode: horizontal-tb !important;

    text-align: left !important;
    line-height: 1.5 !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* CORREGIR ANCHOS INTERNOS DEL TEXTO */
  .mdg-acordeon-preguntas
  .e-accordion-item-title-base > span,
  .mdg-acordeon-preguntas
  .e-n-accordion-item-title-header
  .e-n-accordion-item-title-text {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* EVITAR QUE OTROS HIJOS DEL ENCABEZADO
     COMPRIMAN EL TEXTO */
  .mdg-acordeon-preguntas
  .e-accordion-item-header-base
  > :not(.e-accordion-item-icon-base):not(.e-accordion-item-icon-open-base) {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* FLECHAS ALINEADAS A LA DERECHA */
  .mdg-acordeon-preguntas .e-accordion-item-icon-base,
  .mdg-acordeon-preguntas .e-accordion-item-icon-open-base,
  .mdg-acordeon-preguntas .e-n-accordion-item-title-icon {
    flex: 0 0 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;

    margin-left: auto !important;
    align-self: center !important;
  }

}

/* TAMAÑO DE LETRA SOLO EN CELULARES */
@media screen and (max-width: 767px) {

  .mdg-acordeon-preguntas .e-accordion-item-title-base,
  .mdg-acordeon-preguntas .e-n-accordion-item-title-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

}

/* ==========================================
   MONDRAGÓN - RESEÑAS RESPONSIVE
   TÍTULO ARRIBA Y OPINIONES DEBAJO
   SOLO TABLET Y CELULAR
========================================== */

@media screen and (max-width: 1024px) {

  /* FLEXBOX PRINCIPAL */
  .mdg-seccion-resenas,
  .mdg-seccion-resenas > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    gap: 24px !important;
    box-sizing: border-box !important;
  }

  /* AMBAS COLUMNAS OCUPAN TODO EL ANCHO */
  .mdg-seccion-resenas .mdg-resenas-titulo,
  .mdg-seccion-resenas .mdg-resenas-contenido {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    flex-grow: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
  }

  /* PRIMERO EL TÍTULO */
  .mdg-seccion-resenas .mdg-resenas-titulo {
    order: 1 !important;
  }

  /* DESPUÉS LAS RESEÑAS */
  .mdg-seccion-resenas .mdg-resenas-contenido {
    order: 2 !important;
  }

  /* TÍTULO CENTRADO */
  .mdg-resenas-titulo .elementor-widget-heading,
  .mdg-resenas-titulo .elementor-heading-title,
  .mdg-resenas-titulo .e-heading-base {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    white-space: normal !important;
    word-break: normal !important;

    text-align: center !important;
  }

  /* WIDGET DE RESEÑAS */
  .mdg-resenas-contenido > .elementor-element,
  .mdg-resenas-contenido > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

}

/* AJUSTE DE SEPARACIÓN EN CELULAR */
@media screen and (max-width: 767px) {

  .mdg-seccion-resenas,
  .mdg-seccion-resenas > .e-con-inner {
    gap: 18px !important;
  }

  .mdg-resenas-titulo .elementor-heading-title,
  .mdg-resenas-titulo .e-heading-base {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

}
/* ==========================================
   MONDRAGÓN - BENEFICIOS DE LA PORTADA
   REDUCIR ESPACIOS SOLO EN CELULAR
========================================== */

@media screen and (max-width: 767px) {

  /* Contenedor de los cuatro beneficios */
  .mdg-beneficios-hero,
  .mdg-beneficios-hero > .e-con-inner {
    gap: 8px !important;
    row-gap: 8px !important;
    column-gap: 10px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    box-sizing: border-box !important;
  }

  /* Flexbox internas de cada beneficio */
  .mdg-beneficios-hero .e-con {
    gap: 5px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding-top: 3px !important;
    padding-bottom: 3px !important;

    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Widgets de iconos y textos */
  .mdg-beneficios-hero .elementor-widget-icon,
  .mdg-beneficios-hero .elementor-widget-heading,
  .mdg-beneficios-hero .elementor-widget-text-editor {
    height: auto !important;
    min-height: 0 !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Eliminar espacios internos adicionales */
  .mdg-beneficios-hero .elementor-widget-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Textos compactos y centrados */
  .mdg-beneficios-hero .elementor-heading-title,
  .mdg-beneficios-hero .e-heading-base,
  .mdg-beneficios-hero p {
    line-height: 1.3 !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: normal !important;
  }

}


/* =====================================================
   MONDRAGÓN & ASOCIADOS
   FACTURADOR PLUS Y PLANILLA PLUS

   CSS COMPLETO UNIFICADO

   MÓVIL:
   - Tarjetas blancas más anchas y centradas
   - Logos de 45px
   - Espaciado compacto
   - Textos alineados a la izquierda
   - Recuadros grises ajustados
   - Botones altos y centrados
   - Solo "Soporte local" en Adicionales

   TABLETA:
   - Tarjetas centradas
   - Logos de 55px
   - Contenido completo

   ESCRITORIO:
   - Sin modificaciones
===================================================== */


/* =====================================================
   1. TABLETA Y CELULAR
   HASTA 1024px
===================================================== */

@media screen and (max-width: 1024px) {

  /* CONTENEDOR DE LAS TARJETAS */

  html body .m26-pricing-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 700px !important;
    min-width: 0 !important;

    height: auto !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;

    gap: 12px !important;
    --gap: 12px !important;

    box-sizing: border-box !important;
  }

  /* CONTENEDOR INTERNO DEL GRID */

  html body .m26-pricing-grid > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 0 !important;

    gap: 12px !important;

    box-sizing: border-box !important;
  }


  /* ==========================================
     2. TARJETAS BLANCAS
  ========================================== */

  html body .m26-pricing-grid .m26-pricing-card {
    --width: 100% !important;
    --flex-direction: column !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: stretch !important;
    justify-content: flex-start !important;

    position: relative !important;

    left: auto !important;
    right: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    align-self: center !important;
    justify-self: center !important;

    margin: 0 auto !important;

    padding: 18px 20px !important;

    gap: 5px !important;
    --gap: 5px !important;

    box-sizing: border-box !important;
  }


  /* ==========================================
     3. CONTENEDORES INTERNOS
  ========================================== */

  html body .m26-pricing-card
  :is(.e-con, .e-con-inner) {
    min-width: 0 !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    gap: 5px !important;
    --gap: 5px !important;

    box-sizing: border-box !important;
  }

  /* EVITAR SUPERPOSICIONES */

  html body .m26-pricing-card
  :is(.elementor-widget, .e-con) {
    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    transform: none !important;
    translate: none !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    min-width: 0 !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    box-sizing: border-box !important;
  }

  html body .m26-pricing-card
  .elementor-widget-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    box-sizing: border-box !important;
  }

  /* ELIMINAR ESPACIADORES VACÍOS */

  html body .m26-pricing-card
  .elementor-widget-spacer {
    display: none !important;
  }


  /* ==========================================
     4. ALINEACIÓN DE TEXTOS
  ========================================== */

  html body .m26-pricing-card
  :is(
    .elementor-heading-title,
    .e-heading-base,
    .e-heading-title,
    .elementor-widget-text-editor,
    .elementor-icon-list-text,
    h1,
    h2,
    h3,
    h4,
    p
  ) {
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }


  /* ==========================================
     5. LOGOS PEQUEÑOS
  ========================================== */

  html body .m26-pricing-card
  :is(.m26-pricing-logo, .elementor-widget-image) {
    display: flex !important;
    flex-direction: row !important;

    align-items: flex-start !important;
    justify-content: flex-start !important;

    align-self: flex-start !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 0 4px !important;
    padding: 0 !important;

    text-align: left !important;
  }

  html body .m26-pricing-card
  .m26-pricing-logo .elementor-widget-container,

  html body .m26-pricing-card
  .elementor-widget-image .elementor-widget-container {
    width: 55px !important;
    max-width: 55px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  html body .m26-pricing-card
  .m26-pricing-logo img,

  html body .m26-pricing-card
  .elementor-widget-image img,

  html body .m26-pricing-card
  img.m26-pricing-logo {
    display: block !important;

    width: 55px !important;
    max-width: 55px !important;

    height: 55px !important;
    max-height: 55px !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* ==========================================
     6. ETIQUETA DORADA
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-label {
    align-self: flex-start !important;

    width: fit-content !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 0 4px !important;
    padding: 0 !important;

    text-align: left !important;
  }

  html body .m26-pricing-card
  .m26-pricing-label p {
    margin: 0 !important;
    line-height: 1.3 !important;
  }


  /* ==========================================
     7. NOMBRE DEL PRODUCTO
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-title {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 2px 0 3px !important;
    padding: 0 !important;

    text-align: left !important;
  }

  html body .m26-pricing-card
  .m26-pricing-title
  :is(
    .elementor-heading-title,
    .e-heading-base,
    .e-heading-title,
    h1,
    h2,
    h3
  ) {
    display: block !important;
    width: 100% !important;

    font-size: 27px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
    text-align-last: left !important;
  }


  /* ==========================================
     8. PRECIO
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-price {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    text-align: left !important;
  }

  html body .m26-pricing-card
  .m26-pricing-price
  :is(
    .elementor-heading-title,
    .e-heading-base,
    .e-heading-title,
    h1,
    h2,
    h3
  ) {
    display: block !important;

    font-size: 28px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
  }

  /* IVA / MES */

  html body .m26-pricing-card sup {
    position: static !important;

    display: inline-block !important;
    vertical-align: baseline !important;

    font-size: 0.44em !important;
    line-height: 1 !important;

    white-space: nowrap !important;
    margin-left: 3px !important;
  }


  /* ==========================================
     9. RECUADROS GRISES
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-summary {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 0 7px !important;

    box-sizing: border-box !important;
  }

  html body .m26-pricing-card
  .m26-pricing-summary .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    max-height: none !important;

    box-sizing: border-box !important;
  }

  html body .m26-pricing-card
  .m26-pricing-summary :is(p, .e-text) {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;

    margin: 0 !important;

    line-height: 1.35 !important;
    white-space: normal !important;

    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }


  /* ==========================================
     10. PÁRRAFOS
  ========================================== */

  html body .m26-pricing-card
  .elementor-widget-text-editor {
    margin-top: 0 !important;
    margin-bottom: 3px !important;
  }

  html body .m26-pricing-card p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    line-height: 1.38 !important;
  }


  /* ==========================================
     11. LISTAS DE CARACTERÍSTICAS
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-list {
    width: 100% !important;
    height: auto !important;

    margin: 0 0 3px !important;
    padding: 0 !important;
  }

  html body .m26-pricing-card
  :is(
    .elementor-icon-list-items,
    .e-icon-list-items
  ) {
    display: flex !important;
    flex-direction: column !important;

    gap: 5px !important;
    row-gap: 5px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
  }

  html body .m26-pricing-card
  :is(
    .elementor-icon-list-item,
    .e-icon-list-item
  ) {
    display: flex !important;

    align-items: flex-start !important;
    justify-content: flex-start !important;

    gap: 7px !important;

    margin: 0 !important;
    padding: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    line-height: 1.35 !important;
  }

  html body .m26-pricing-card
  .elementor-icon-list-icon {
    display: inline-flex !important;

    flex: 0 0 17px !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 2px 0 0 !important;
    padding: 0 !important;
  }

  html body .m26-pricing-card
  .elementor-icon-list-text {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 14px !important;
    line-height: 1.35 !important;

    text-align: left !important;
  }


  /* ==========================================
     12. BOTÓN COMPRAR AHORA
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-buy {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 9px 0 0 !important;
    padding: 0 !important;

    text-align: center !important;
  }

  html body .m26-pricing-card
  .m26-pricing-buy
  :is(
    .elementor-widget-container,
    .elementor-button-wrapper,
    .e-button-wrapper
  ) {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  html body .m26-pricing-card
  :is(
    .m26-pricing-buy.elementor-button,
    .m26-pricing-buy.e-button,
    a.m26-pricing-buy,
    button.m26-pricing-buy,
    .m26-pricing-buy .elementor-button,
    .m26-pricing-buy .e-button,
    .m26-pricing-buy a,
    .m26-pricing-buy button
  ) {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    width: 100% !important;
    max-width: 280px !important;
    min-width: 0 !important;

    height: 64px !important;
    min-height: 64px !important;

    margin: 0 auto !important;
    padding: 20px 24px !important;

    line-height: 1.3 !important;
    text-align: center !important;

    box-sizing: border-box !important;
  }

}


/* =====================================================
   13. CELULARES
   HASTA 767px

   TARJETAS MÁS ANCHAS Y CENTRADAS
===================================================== */

@media screen and (max-width: 767px) {

  /* CONTENEDOR PRINCIPAL */

  html body .m26-pricing-grid {
    --width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    position: relative !important;

    left: auto !important;
    right: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 12px auto 0 !important;
    padding: 0 !important;

    gap: 12px !important;
    --gap: 12px !important;

    box-sizing: border-box !important;
  }

  /* CONTENEDOR INTERNO */

  html body .m26-pricing-grid > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 0 !important;

    gap: 12px !important;

    box-sizing: border-box !important;
  }


  /* ==========================================
     14. TARJETAS BLANCAS

     ANTES:
     width: calc(100% - 28px)

     AHORA:
     width: calc(100% - 12px)

     DEJA 6px POR LADO
  ========================================== */

  html body .m26-pricing-grid
  .m26-pricing-card {
    --width: calc(100% - 12px) !important;

    width: calc(100% - 12px) !important;
    max-width: calc(100% - 12px) !important;
    min-width: 0 !important;

    flex: 0 0 auto !important;

    align-self: center !important;
    justify-self: center !important;

    position: relative !important;

    left: auto !important;
    right: auto !important;
    transform: none !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 auto !important;

    padding: 16px 18px !important;

    gap: 4px !important;
    --gap: 4px !important;

    box-sizing: border-box !important;
  }


  /* CONTENEDORES INTERNOS COMPACTOS */

  html body .m26-pricing-card
  :is(.e-con, .e-con-inner) {
    gap: 4px !important;
    --gap: 4px !important;
  }


  /* ==========================================
     15. LOGOS DE 45px
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-logo img,

  html body .m26-pricing-card
  .elementor-widget-image img,

  html body .m26-pricing-card
  img.m26-pricing-logo {
    width: 45px !important;
    max-width: 45px !important;

    height: 45px !important;
    max-height: 45px !important;

    object-fit: contain !important;
  }

  html body .m26-pricing-card
  .m26-pricing-logo .elementor-widget-container,

  html body .m26-pricing-card
  .elementor-widget-image .elementor-widget-container {
    width: 45px !important;
    max-width: 45px !important;
  }


  /* ==========================================
     16. TÍTULOS ALINEADOS A LA IZQUIERDA
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-title,

  html body .m26-pricing-card
  .m26-pricing-title
  :is(
    .elementor-heading-title,
    .e-heading-base,
    .e-heading-title,
    h1,
    h2,
    h3
  ) {
    width: 100% !important;

    text-align: left !important;
    text-align-last: left !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }


  /* ==========================================
     17. PLANILLA PLUS

     SEPARAR HASTA 25 COLABORADORES
     DEL PRECIO

     CLASE:
     m26-planilla-capacidad
  ========================================== */

  html body .m26-pricing-card
  .m26-planilla-capacidad {
    position: relative !important;

    margin-top: 12px !important;
    margin-bottom: 7px !important;

    height: auto !important;
    min-height: 0 !important;

    align-self: flex-start !important;
  }

  html body .m26-pricing-card
  .m26-planilla-capacidad
  :is(
    .elementor-widget-container,
    .e-heading-base,
    .elementor-heading-title
  ) {
    line-height: 1.35 !important;
  }


  /* ==========================================
     18. RECUADRO GRIS

     CONTENIDO DENTRO DE SUS LÍMITES
  ========================================== */

  html body .m26-pricing-card
  .m26-pricing-summary,

  html body .m26-pricing-card
  .m26-pricing-summary .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    box-sizing: border-box !important;
  }

  html body .m26-pricing-card
  .m26-pricing-summary :is(p, .e-text) {
    max-width: 100% !important;

    height: auto !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;

    line-height: 1.35 !important;
  }


  /* ==========================================
     19. LISTAS COMPACTAS
  ========================================== */

  html body .m26-pricing-card
  :is(
    .elementor-icon-list-items,
    .e-icon-list-items
  ) {
    gap: 4px !important;
    row-gap: 4px !important;
  }


  /* ==========================================
     20. ADICIONALES SOLO EN CELULAR

     PENÚLTIMO:
     GUÍAS DE USO - OCULTAR

     ÚLTIMO:
     SOPORTE LOCAL

     REQUIERE CLASE:
     m26-pricing-addons
  ========================================== */

  /* OCULTAR PENÚLTIMO ELEMENTO */

  html body .m26-pricing-card
  .m26-pricing-addons
  :is(
    .elementor-icon-list-items,
    .e-icon-list-items
  )
  > :is(
    .elementor-icon-list-item,
    .e-icon-list-item
  ):nth-last-child(2) {
    display: none !important;
  }

  /* OCULTAR VISUALMENTE TEXTO ORIGINAL */

  html body .m26-pricing-card
  .m26-pricing-addons
  :is(
    .elementor-icon-list-items,
    .e-icon-list-items
  )
  > :is(
    .elementor-icon-list-item,
    .e-icon-list-item
  ):last-child
  :is(
    .elementor-icon-list-text,
    .e-icon-list-text
  ) {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  /* MOSTRAR SOPORTE LOCAL */

  html body .m26-pricing-card
  .m26-pricing-addons
  :is(
    .elementor-icon-list-items,
    .e-icon-list-items
  )
  > :is(
    .elementor-icon-list-item,
    .e-icon-list-item
  ):last-child
  :is(
    .elementor-icon-list-text,
    .e-icon-list-text
  )::before {
    content: "Soporte local" !important;

    display: inline-block !important;

    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;

    color: inherit !important;
  }

}


/* =====================================================
   21. TABLETAS
   768px A 1024px
===================================================== */

@media screen
and (min-width: 768px)
and (max-width: 1024px) {

  html body .m26-pricing-grid {
    width: calc(100% - 40px) !important;
    max-width: 700px !important;

    left: auto !important;
    right: auto !important;
    transform: none !important;

    margin: 24px auto 0 !important;

    align-items: center !important;
  }

  html body .m26-pricing-grid
  .m26-pricing-card {
    --width: 100% !important;

    width: 100% !important;
    max-width: 100% !important;

    align-self: center !important;

    left: auto !important;
    right: auto !important;
    transform: none !important;

    margin: 0 auto !important;

    padding: 20px !important;

    gap: 6px !important;
    --gap: 6px !important;

    box-sizing: border-box !important;
  }

}

/* =====================================================
   FIN DEL CSS
===================================================== */
/* ==========================================
   MONDRAGÓN & ASOCIADOS
   FLECHAS DE DOCUMENTOS Y MANUALES
   ========================================== */

/* Flechas de acordeones clásicos */
.mdg-flechas-manuales .elementor-accordion-icon,
.mdg-flechas-manuales .elementor-toggle-icon,
.mdg-flechas-manuales .elementor-accordion-icon i,
.mdg-flechas-manuales .elementor-toggle-icon i {
    font-size: 18px !important;
    line-height: 1 !important;
}

/* Flechas SVG */
.mdg-flechas-manuales .elementor-accordion-icon svg,
.mdg-flechas-manuales .elementor-toggle-icon svg,
.mdg-flechas-manuales .e-n-accordion-item-title-icon svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
}

/* Acordeones anidados */
.mdg-flechas-manuales .e-n-accordion-item-title-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

/* =====================================================
   MONDRAGÓN & ASOCIADOS
   BLOG MONDRAGÓN — DISEÑO EDITORIAL

   Diseño limpio y corporativo
   Imagen de fondo personalizada
   Tarjetas tipo revista
   Conserva la estructura actual del blog
   Solo categoría blog-mondragon
===================================================== */


/* ==============================================
   1. VARIABLES GENERALES
============================================== */

body.category-blog-mondragon {

    --blog-navy: #18264d;
    --blog-navy-dark: #101c3d;
    --blog-gold: #d5a129;
    --blog-text: #445270;
    --blog-border: #e4e9f1;

    background-color: #f7f9fc !important;
}


/* ==============================================
   2. FONDO DE LA PÁGINA

   Utiliza la imagen que proporcionaste
============================================== */

body.category-blog-mondragon .site-content {

    background-image:
        linear-gradient(
            rgba(247, 249, 253, .78),
            rgba(247, 249, 253, .88)
        ),
        url("https://mondragonplus.com/wp-content/uploads/2026/11/Mondragon_Fondo_04_Blog_y_Transicion_2048x2400.webp") !important;

    background-position: center top !important;

    background-size: cover !important;

    background-repeat: no-repeat !important;
}


/* ==============================================
   3. ENCABEZADO EDITORIAL
============================================== */

body.category-blog-mondragon
:is(
    .ast-archive-description,
    .ast-archive-entry-banner,
    .archive-header,
    .page-header
) {

    background: var(--blog-navy) !important;

    border: none !important;
    border-radius: 0 !important;

    border-left: 7px solid var(--blog-gold) !important;

    padding: 48px 54px !important;

    margin-bottom: 42px !important;

    text-align: left !important;

    box-shadow: 0 14px 35px
        rgba(16, 28, 61, .12) !important;
}


/* TÍTULO DEL BLOG */

body.category-blog-mondragon
:is(
    .ast-archive-description,
    .ast-archive-entry-banner,
    .archive-header,
    .page-header
)
:is(
    h1,
    .ast-archive-title,
    .page-title
) {

    color: #ffffff !important;

    font-size: clamp(32px, 4vw, 50px) !important;

    font-weight: 800 !important;

    letter-spacing: -1px !important;

    line-height: 1.15 !important;

    text-align: left !important;

    margin: 0 0 15px !important;
}


/* DESCRIPCIÓN */

body.category-blog-mondragon
:is(
    .ast-archive-description,
    .ast-archive-entry-banner,
    .archive-header,
    .page-header
)
p {

    color: #dbe3f4 !important;

    font-size: 16px !important;

    line-height: 1.65 !important;

    text-align: left !important;

    max-width: 750px !important;

    margin: 0 !important;
}


/* ==============================================
   4. ZONA DE PUBLICACIONES
============================================== */

body.category-blog-mondragon .site-main {

    padding-top: 25px !important;

    padding-bottom: 70px !important;
}


/* ==============================================
   5. TARJETAS EDITORIALES

   Conserva la cuadrícula del tema
============================================== */

body.category-blog-mondragon .site-main
:is(
    article.post,
    article.type-post,
    .ast-article-post,
    .wp-block-post
) {

    background: #ffffff !important;

    border: 1px solid var(--blog-border) !important;

    border-top: 4px solid var(--blog-gold) !important;

    border-radius: 5px !important;

    padding: 30px 27px !important;

    box-shadow:
        0 5px 22px rgba(20, 36, 76, .07) !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

    transition:
        box-shadow .25s ease,
        transform .25s ease !important;
}


/* EFECTO SOBRE LAS TARJETAS */

@media (hover: hover) {

    body.category-blog-mondragon .site-main
    :is(
        article.post,
        article.type-post,
        .ast-article-post,
        .wp-block-post
    ):hover {

        transform: translateY(-4px) !important;

        box-shadow:
            0 14px 30px rgba(20, 36, 76, .13) !important;
    }

}


/* ==============================================
   6. CATEGORÍA
============================================== */

body.category-blog-mondragon .site-main
:is(
    .cat-links,
    .cat-links a,
    .post-category,
    .post-category a
) {

    color: #b58312 !important;

    font-size: 11px !important;

    font-weight: 800 !important;

    letter-spacing: 1.1px !important;

    text-transform: uppercase !important;

    text-decoration: none !important;
}


/* ==============================================
   7. TÍTULOS DE ARTÍCULOS
============================================== */

body.category-blog-mondragon .site-main
:is(
    .entry-title,
    .entry-title a,
    .wp-block-post-title,
    .wp-block-post-title a
) {

    color: var(--blog-navy-dark) !important;

    font-size: clamp(21px, 2vw, 25px) !important;

    font-weight: 800 !important;

    line-height: 1.3 !important;

    letter-spacing: -.35px !important;

    text-decoration: none !important;

    overflow-wrap: break-word !important;
}


/* HOVER DE TÍTULOS */

body.category-blog-mondragon .site-main
:is(
    .entry-title a,
    .wp-block-post-title a
):hover {

    color: #bd8d1b !important;
}


/* ==============================================
   8. FECHA Y AUTOR
============================================== */

body.category-blog-mondragon .site-main
:is(
    .entry-meta,
    .entry-meta a,
    .posted-on,
    .byline,
    time
) {

    color: #758098 !important;

    font-size: 12px !important;

    font-weight: 400 !important;

    line-height: 1.5 !important;
}


/* ==============================================
   9. CONTENIDO Y RESUMEN
============================================== */

body.category-blog-mondragon .site-main
:is(
    .entry-summary,
    .entry-content,
    .wp-block-post-excerpt
) {

    color: var(--blog-text) !important;

    font-size: 14px !important;

    line-height: 1.75 !important;
}


/* ==============================================
   10. IMÁGENES DESTACADAS
============================================== */

body.category-blog-mondragon .site-main
:is(
    .post-thumb,
    .post-thumbnail,
    .wp-block-post-featured-image
) {

    overflow: hidden !important;

    border-radius: 4px !important;

    margin-bottom: 20px !important;
}


body.category-blog-mondragon .site-main
:is(
    .post-thumb,
    .post-thumbnail,
    .wp-block-post-featured-image
) img {

    display: block !important;

    width: 100% !important;

    max-width: 100% !important;

    height: auto !important;

    object-fit: cover !important;

    border-radius: 4px !important;
}


/* ==============================================
   11. LEER MÁS

   Estilo de enlace editorial
============================================== */

body.category-blog-mondragon .site-main
:is(
    a.read-more,
    .read-more a,
    .ast-read-more-container a,
    .wp-block-post-excerpt__more-link
) {

    display: inline-flex !important;

    align-items: center !important;

    gap: 8px !important;

    background: transparent !important;

    color: var(--blog-navy) !important;

    border: none !important;

    border-bottom: 2px solid var(--blog-gold) !important;

    border-radius: 0 !important;

    padding: 0 0 7px !important;

    margin-top: 17px !important;

    font-size: 12px !important;

    font-weight: 800 !important;

    letter-spacing: .5px !important;

    text-transform: uppercase !important;

    text-decoration: none !important;

    box-shadow: none !important;

    transition:
        color .2s ease,
        border-color .2s ease !important;
}


body.category-blog-mondragon .site-main
:is(
    a.read-more,
    .read-more a,
    .ast-read-more-container a,
    .wp-block-post-excerpt__more-link
):hover {

    color: #b5820b !important;

    border-bottom-color: var(--blog-navy) !important;

    transform: none !important;
}


/* ==============================================
   12. PAGINACIÓN
============================================== */

body.category-blog-mondragon
:is(
    .ast-pagination,
    .navigation.pagination,
    .wp-block-query-pagination
) {

    margin-top: 40px !important;

    text-align: center !important;
}


body.category-blog-mondragon
:is(
    .ast-pagination,
    .navigation.pagination,
    .wp-block-query-pagination
) a {

    background: #ffffff !important;

    color: var(--blog-navy) !important;

    border: 1px solid #dce2ed !important;

    border-radius: 4px !important;
}


/* ==============================================
   13. TABLETAS
============================================== */

@media screen and (max-width: 1024px) {

    body.category-blog-mondragon
    :is(
        .ast-archive-description,
        .ast-archive-entry-banner,
        .archive-header,
        .page-header
    ) {

        padding: 38px 30px !important;
    }

    body.category-blog-mondragon .site-main
    :is(
        article.post,
        article.type-post,
        .ast-article-post,
        .wp-block-post
    ) {

        padding: 24px !important;
    }

}


/* ==============================================
   14. CELULARES
============================================== */

@media screen and (max-width: 767px) {

    body.category-blog-mondragon
    :is(
        .ast-archive-description,
        .ast-archive-entry-banner,
        .archive-header,
        .page-header
    ) {

        padding: 30px 22px !important;

        border-left-width: 5px !important;

        margin-bottom: 24px !important;
    }


    body.category-blog-mondragon
    :is(
        .ast-archive-description,
        .ast-archive-entry-banner,
        .archive-header,
        .page-header
    )
    :is(
        h1,
        .ast-archive-title,
        .page-title
    ) {
        font-size: 31px !important;
    }
    body.category-blog-mondragon .site-main {

        padding-top: 15px !important;

        padding-bottom: 35px !important;
    }
    body.category-blog-mondragon .site-main
    :is(
        article.post,
        article.type-post,
        .ast-article-post,
        .wp-block-post
    ) {

        padding: 23px 20px !important;
    }
    body.category-blog-mondragon .site-main
    :is(
        .entry-title,
        .entry-title a,
        .wp-block-post-title,
        .wp-block-post-title a
    ) {

        font-size: 21px !important;
    }

}
/*MONDRAGÓN — CORRECCIÓN FONDO DEL BLOG*/
/* Imagen de fondo visible */
body.category-blog-mondragon .site-content {
    background-color: #eef3fc !important;

    background-image:
        linear-gradient(
            rgba(245, 248, 255, 0.12),
            rgba(245, 248, 255, 0.20)
        ),
        url("https://mondragonplus.com/wp-content/uploads/2026/11/Mondragon_Fondo_04_Blog_y_Transicion_2048x2400.webp") !important;

    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Evitar que contenedores tapen la imagen */
body.category-blog-mondragon .site-content > .ast-container,
body.category-blog-mondragon .site-content #primary,
body.category-blog-mondragon .site-content .site-main {
    background-color: transparent !important;
    background-image: none !important;
}

/* Conservar las tarjetas blancas */
body.category-blog-mondragon .site-main article.post,
body.category-blog-mondragon .site-main article.type-post {
    background: #ffffff !important;
}

/* FIN DEL DISEÑO EDITORIAL */
/* ==========================================
   MONDRAGÓN — FONDO DEFINITIVO DEL BLOG
   Imagen adaptada a toda la página
========================================== */
body.category-blog-mondragon,
body.category-blog-mondragon #content,
body.category-blog-mondragon .site-content {
    background-color: #f5f8ff !important;

    background-image:
        url("https://mondragonplus.com/wp-content/uploads/2026/11/Mondragon_Fondo_04_Blog_y_Transicion_2048x2400.webp") !important;

    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
/* Evitar fondos blancos que tapen la imagen */
body.category-blog-mondragon .site-content > .ast-container,
body.category-blog-mondragon .site-content #primary,
body.category-blog-mondragon .site-main {
    background: transparent !important;
}
/* Mantener las tarjetas blancas */
body.category-blog-mondragon .site-main article.post,
body.category-blog-mondragon .site-main article.type-post {
    background: #ffffff !important;
}


/*MONDRAGÓN — ENCABEZADO REAL DEL BLOG
   Solo categoría blog-mondragon*/
/* Contenedor exacto del encabezado */
body.category-blog-mondragon
header.entry-header.post-archive-title {

    background: #192a57 !important;

    border-left: 5px solid #d9a629 !important;
    border-radius: 12px !important;

    padding: 30px 35px !important;

    margin: 20px auto 30px !important;

    min-height: 0 !important;
    height: auto !important;

    text-align: center !important;

    box-shadow:
        0 8px 24px rgba(20, 35, 75, .12) !important;
}
/* Título Blog Mondragón */
body.category-blog-mondragon
header.entry-header.post-archive-title
h1.page-title.archive-title {

    color: #ffffff !important;

    font-size: clamp(28px, 3vw, 40px) !important;
    font-weight: 800 !important;

    line-height: 1.2 !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    text-align: center !important;
}
/* Descripción */
body.category-blog-mondragon
header.entry-header.post-archive-title
.archive-description,
body.category-blog-mondragon
header.entry-header.post-archive-title
.archive-description p {

    color: #e3eafb !important;

    font-size: 15px !important;
    line-height: 1.6 !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
}
/* Versión móvil */
@media (max-width: 767px) {

    body.category-blog-mondragon
    header.entry-header.post-archive-title {

        padding: 24px 18px !important;
        margin: 12px auto 22px !important;

        border-radius: 10px !important;
    }

    body.category-blog-mondragon
    header.entry-header.post-archive-title
    h1.page-title.archive-title {

        font-size: 28px !important;
    }

-radius: 10px !important;
    }
}
/* MONDRAGÓN & ASOCIADOS
   FONDO EXTERIOR - ENTRADAS INDIVIDUALES*/
/* 1. CONTENEDOR PRINCIPAL CONFIRMADO */
body.single-post main#inner-wrap.wrap.kt-clear {
    position: relative !important;
    isolation: isolate !important;

    background: transparent !important;

    padding-top: 40px !important;
    padding-bottom: 45px !important;
}
/* 2.CAPA INDEPENDIENTE DE FONDO*/
body.single-post main#inner-wrap.wrap.kt-clear::before {
    content: "" !important;

    display: block !important;

    position: absolute !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    z-index: 0 !important;

    pointer-events: none !important;

    background-color: #e9f0fb !important;
    background-image:
        url("https://mondragonplus.com/wp-content/uploads/2026/11/Mondragon_Fondo_04_Blog_y_Transicion_2048x2400.webp") !important;

    background-repeat: no-repeat !important;
    background-size: cover !important;
    /* Muestra más de la parte azul de la imagen */
    background-position: center 85% !important;
}
/* 3. MANTENER EL CONTENIDO POR ENCIMA */
body.single-post main#inner-wrap.wrap.kt-clear
> * {
    position: relative;
    z-index: 1;
}

/* 4. ELIMINAR FONDOS INTERMEDIOS DE KADENCE */
body.single-post main#inner-wrap
#primary,

body.single-post main#inner-wrap
.content-container,

body.single-post main#inner-wrap
.site-container {
    background-color: transparent !important;
    background-image: none !important;
}

/* 5. CONSERVAR LA CAJA BLANCA DEL ARTÍCULO */
body.single-post main#inner-wrap
article.single-entry {
    background: #ffffff !important;

    border-radius: 16px !important;

    box-shadow:
        0 12px 36px rgba(22, 37, 79, .12) !important;
}

/* 6. NO MODIFICAR EL CONTENIDO INTERIOR */
/* 7. VERSIÓN MÓVIL */
@media (max-width: 767px) {

    body.single-post main#inner-wrap.wrap.kt-clear {
        padding-top: 18px !important;
        padding-bottom: 25px !important;
    }

    body.single-post main#inner-wrap.wrap.kt-clear::before {
        background-size: auto 100% !important;
        background-position: center bottom !important;
    }

    body.single-post main#inner-wrap
    article.single-entry {
        border-radius: 12px !important;
    }
}

/*MONDRAGÓN & ASOCIADOS
   BLOG PREMIUM 2026 - KADENCE*/
/*01. COLORES DEL DISEÑO*/
body.single-post {
    --md-azul: #102a57;
    --md-azul-oscuro: #081b38;
    --md-azul-medio: #23549c;
    --md-celeste: #eaf3ff;
    --md-dorado: #c49a49;
    --md-blanco: #ffffff;
    --md-texto: #243754;
    --md-borde: #dce6f3;

    background: #f1f5fc !important;
}
/*02. FONDO EXTERIOR PREMIUM*/
body.single-post main#inner-wrap {

    position: relative !important;
    isolation: isolate !important;

    background-color: #edf3fc !important;

    background-image:
        radial-gradient(
            ellipse at 12% 12%,
            rgba(82, 145, 226, 0.20),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 90% 68%,
            rgba(65, 125, 210, 0.13),
            transparent 43%
        ),
        linear-gradient(
            155deg,
            #eaf2fd 0%,
            #f8fbff 42%,
            #e7effb 100%
        ) !important;

    background-attachment: scroll !important;
    background-size: cover !important;

    padding: 55px 20px 75px !important;

    overflow: hidden !important;
}
/*04. CONTENIDO SOBRE EL FONDO*/
body.single-post main#inner-wrap > * {
    position: relative !important;

    z-index: 1 !important;
}
/*05. TRANSPARENCIA DE CONTENEDORES KADENCE*/
body.single-post main#inner-wrap #primary,
body.single-post main#inner-wrap #secondary,
body.single-post main#inner-wrap .content-container,
body.single-post main#inner-wrap .site-container,
body.single-post main#inner-wrap .site-main {
    background-color: transparent !important;

    background-image: none !important;
}


/*06. ANCHO Y DISTRIBUCIÓN*/

body.single-post main#inner-wrap > .site-container {

    width: 100% !important;

    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

/* 07. TARJETA PRINCIPAL DEL ARTÍCULO*/
body.single-post main#inner-wrap article.single-entry {

    position: relative !important;
    background: #ffffff !important;
    border: 1px solid
        rgba(194, 210, 231, 0.75) !important;
    border-radius: 24px !important;
    box-shadow:
        0 5px 14px rgba(16, 42, 87, 0.035),
        0 25px 65px rgba(16, 42, 87, 0.09) !important;
    overflow: hidden !important;
    transition:
        box-shadow 0.3s ease,
        border-color 0.3s ease !important;
}
/* Línea superior elegante */
body.single-post main#inner-wrap article.single-entry::before {

    content: "" !important;
    position: absolute !important;
    display: block !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    height: 5px !important;
    background:
        linear-gradient(
            90deg,
            #102a57 0%,
            #3978c1 55%,
            #c49a49 100%
        ) !important;

    z-index: 5 !important;
    pointer-events: none !important;
}

/*08. ENCABEZADO NATIVO DE KADENCE*/
body.single-post main#inner-wrap
article.single-entry > .entry-header {

    position: relative !important;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4f8fe 100%
        ) !important;

    padding: 40px 42px 32px !important;
    border-bottom:
        1px solid #e3ebf6 !important;

    margin-bottom: 0 !important;
}

/*09. TÍTULO NATIVO DE LA ENTRADA*/
body.single-post main#inner-wrap
article.single-entry > .entry-header .entry-title,

body.single-post main#inner-wrap
.entry-hero .entry-title {

    color: #102a57 !important;

    font-size:
        clamp(27px, 3.2vw, 43px) !important;

    font-weight: 800 !important;

    line-height: 1.2 !important;

    letter-spacing: -0.8px !important;

    text-wrap: balance !important;

    overflow-wrap: anywhere !important;

    text-shadow: none !important;
}
/* 10. ENCABEZADO EXTERIOR / HERO KADENCE*/
body.single-post main#inner-wrap
.entry-hero-container-inner {

    background:
        linear-gradient(
            120deg,
            #102a57 0%,
            #183e78 55%,
            #285b9b 100%
        ) !important;

    border-radius: 22px !important;

    border: 1px solid
        rgba(255,255,255,0.12) !important;

    box-shadow:
        0 16px 45px rgba(16,42,87,0.15) !important;

    overflow: hidden !important;
}
body.single-post main#inner-wrap
.entry-hero-container-inner .entry-title {

    color: #ffffff !important;

    text-shadow: none !important;
}
body.single-post main#inner-wrap
.entry-hero-container-inner .entry-meta,
body.single-post main#inner-wrap
.entry-hero-container-inner .entry-meta * {

    color: #e3edfc !important;
}
/* 11. METADATOS NATIVOS*/
body.single-post main#inner-wrap
article.single-entry > .entry-header .entry-meta {
    color: #64758f !important;

    font-size: 13px !important;

    font-weight: 500 !important;

    line-height: 1.8 !important;

    margin-top: 15px !important;
}
body.single-post main#inner-wrap
article.single-entry > .entry-header .entry-meta a {

    color: #23549c !important;

    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
body.single-post main#inner-wrap
article.single-entry > .entry-header .entry-meta a:hover {
    color: #c49a49 !important;
}
/*12. CATEGORÍAS NATIVAS DE KADENCE*/
body.single-post main#inner-wrap
article.single-entry > .entry-header
.entry-taxonomies a {

    display: inline-block !important;

    background: #eaf2ff !important;

    color: #194780 !important;

    border: 1px solid #d3e3f7 !important;

    border-radius: 30px !important;

    padding: 5px 12px !important;

    font-size: 12px !important;

    font-weight: 700 !important;

    text-decoration: none !important;

    transition: background 0.2s ease !important;
}
body.single-post main#inner-wrap
article.single-entry > .entry-header
.entry-taxonomies a:hover {

    background: #d9e9ff !important;
}
/*13. MIGAS DE PAN / BREADCRUMBS*/
body.single-post main#inner-wrap
.kadence-breadcrumbs {
    color: #64758f !important;

    font-size: 13px !important;

    line-height: 1.7 !important;
}

body.single-post main#inner-wrap
.kadence-breadcrumbs a {

    color: #23549c !important;

    text-decoration: none !important;

    font-weight: 600 !important;
}

body.single-post main#inner-wrap
.kadence-breadcrumbs a:hover {

    color: #b18436 !important;
}
/*14. ÁREA DE LA PLANTILLA*/
body.single-post main#inner-wrap
article.single-entry > .entry-content {

    background: transparent !important;

    position: relative !important;

    z-index: 1 !important;
}
/*No modificar:
15. SIDEBAR NATIVO DE KADENCE*/
body.single-post main#inner-wrap
#secondary .widget {

    background: #ffffff !important;

    border: 1px solid #dce6f3 !important;

    border-radius: 18px !important;

    padding: 24px !important;

    margin-bottom: 22px !important;

    box-shadow:
        0 12px 30px rgba(16,42,87,0.055) !important;
}
body.single-post main#inner-wrap
#secondary .widget-title {

    color: #102a57 !important;

    font-size: 18px !important;

    font-weight: 800 !important;

    padding-bottom: 12px !important;

    border-bottom:
        2px solid #dce9fa !important;
}
body.single-post main#inner-wrap
#secondary .widget a {

    color: #23549c !important;

    text-decoration: none !important;
}
body.single-post main#inner-wrap
#secondary .widget a:hover {

    color: #b18436 !important;
}
/* 16. NAVEGACIÓN ENTRE ARTÍCULOS*/
body.single-post main#inner-wrap
.post-navigation {

    margin-top: 32px !important;

    background: #ffffff !important;

    border: 1px solid #dce6f3 !important;

    border-radius: 18px !important;

    padding: 20px 24px !important;

    box-shadow:
        0 12px 30px rgba(16,42,87,0.055) !important;
}


body.single-post main#inner-wrap
.post-navigation a {

    color: #102a57 !important;

    text-decoration: none !important;

    font-weight: 700 !important;
}


body.single-post main#inner-wrap
.post-navigation a:hover {

    color: #23549c !important;
}
/*17. ARTÍCULOS RELACIONADOS*/
body.single-post main#inner-wrap
.entry-related {

    margin-top: 35px !important;

    background: transparent !important;
}


body.single-post main#inner-wrap
.entry-related .entry-related-title {

    color: #102a57 !important;

    font-weight: 800 !important;

    font-size: clamp(21px, 2vw, 29px) !important;
}


body.single-post main#inner-wrap
.entry-related article {

    background: #ffffff !important;

    border: 1px solid #dce6f3 !important;

    border-radius: 18px !important;

    overflow: hidden !important;

    box-shadow:
        0 12px 30px rgba(16,42,87,0.065) !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

body.single-post main#inner-wrap
.entry-related article:hover {

    transform: translateY(-4px) !important;

    box-shadow:
        0 20px 44px rgba(16,42,87,0.12) !important;
}

/*18. FORMULARIO NATIVO DE COMENTARIOS*/
body.single-post main#inner-wrap
#comments {

    background: #ffffff !important;

    border: 1px solid #dce6f3 !important;

    border-radius: 20px !important;

    padding: 30px !important;

    margin-top: 32px !important;

    box-shadow:
        0 12px 35px rgba(16,42,87,0.06) !important;
}


body.single-post main#inner-wrap
#comments .comments-title,
body.single-post main#inner-wrap
#comments .comment-reply-title {

    color: #102a57 !important;

    font-weight: 800 !important;
}
/*19. PIE DEL ARTÍCULO NATIVO*/
body.single-post main#inner-wrap
article.single-entry > .entry-footer {

    border-top:
        1px solid #e5edf7 !important;

    background: #f8fbff !important;

    padding: 20px 32px !important;
}


/*20. TABLETAS*/
@media (max-width: 1024px) {

    body.single-post main#inner-wrap {

        padding: 35px 20px 55px !important;
    }

    body.single-post main#inner-wrap
    article.single-entry {

        border-radius: 20px !important;
    }

    body.single-post main#inner-wrap
    article.single-entry > .entry-header {

        padding: 30px 28px 26px !important;
    }

    body.single-post main#inner-wrap
    #secondary .widget {

        padding: 20px !important;
    }

}
/* 21. CELULARES*/
@media (max-width: 767px) {

    body.single-post main#inner-wrap {

        padding:
            22px 12px 40px !important;

        background-attachment: scroll !important;
    }

    body.single-post main#inner-wrap::before {

        width: 290px !important;
        height: 290px !important;

        top: -150px !important;
        right: -150px !important;
    }

    body.single-post main#inner-wrap::after {

        width: 250px !important;
        height: 250px !important;

        bottom: -120px !important;
        left: -130px !important;
    }

    body.single-post main#inner-wrap
    article.single-entry {

        border-radius: 15px !important;

        box-shadow:
            0 12px 32px rgba(16,42,87,0.08) !important;
    }

    body.single-post main#inner-wrap
    article.single-entry > .entry-header {

        padding: 26px 20px 22px !important;
    }

    body.single-post main#inner-wrap
    article.single-entry > .entry-header
    .entry-title {

        font-size: 27px !important;

        line-height: 1.25 !important;

        letter-spacing: -0.4px !important;
    }

    body.single-post main#inner-wrap
    .entry-hero-container-inner {

        border-radius: 15px !important;
    }

    body.single-post main#inner-wrap
    #secondary .widget {

        border-radius: 14px !important;
    }

    body.single-post main#inner-wrap
    .post-navigation {

        padding: 17px !important;

        border-radius: 14px !important;
    }

    body.single-post main#inner-wrap
    #comments {
        padding: 20px !important;
        border-radius: 15px !important;
    }
}
/*22. ACCESIBILIDAD*/
@media (prefers-reduced-motion: reduce) {
    body.single-post main#inner-wrap
    .entry-related article {
        transition: none !important;
    }
}

/* BLOG MONDRAGÓN - PORTADAS */

body.category-blog-mondragon
article.entry
.post-thumbnail {
    display: block !important;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 18px;
}

body.category-blog-mondragon
article.entry
.post-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .3s ease;
}

@media (hover: hover) {
    body.category-blog-mondragon
    article.entry:hover
    .post-thumbnail img {
        transform: scale(1.035);
    }
}
