/*
Theme Name: Blu Child
Theme URI: https://blu.qodeinteractive.com/
Description: A child theme of Blu Theme
Author: Elated Themes
Author URI: http://themeforest.net/user/elated-themes
Version: 1.0.0
Text Domain: blu
Template: blu
*/

@media (min-width: 1200px) {
    .eltdf-position-center-inner {
        margin-left: 150px !important;
    }
}

.eltdf-shopping-cart-inner{
    display: none !important;
}
.eltdf-menu-area {
    height: 100px !important;
}
.eltdf-logo-wrapper {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}
.eltdf-logo-wrapper a {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}
.eltdf-logo-wrapper img {
    max-height: 80px !important;
    width: auto !important;
}
.eltdf-fixed-wrapper{
    background-color: white !important;
}


/*Logos footer*/
.footer-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
    margin-bottom: 12px;
}
.footer-logos-row img {
    max-height: 45px;
    width: auto;
}

.footer-logos-row img:first-child {
    max-height: 60px;
}

@media (max-width: 768px) {
    .footer-logos-row {
        flex-direction: column;
        gap: 0px
    }

    .footer-logos-row img {
        max-height: 50px;
    }

    .footer-logos-row img:first-child {
        max-height: 65px;
    }
}

/*Colores footer*/
.eltdf-footer-top,
.eltdf-footer-top p,
.eltdf-footer-top span,
.eltdf-footer-top li {
    color: #ffffff !important;
}

.eltdf-footer-top h4 {
    color: #ffffff !important;
}

.eltdf-footer-top a {
    color: #ffffff !important;
}

.eltdf-footer-top a:hover {
    opacity: 0.8;
}

.eltdf-footer-top .eltdf-icon-widget-holder {
    color: #ffffff !important;
}

.eltdf-footer-top .eltdf-icon-widget {
    color: #ffffff !important;
}

.eltdf-footer-top .eltdf-social-icon-widget-holder {
    color: #ffffff !important;
}

.eltdf-footer-top .eltdf-social-icon-widget-holder:hover {
    opacity: 0.8;
}

.eltdf-footer-top .eltdf-separator {
    border-color: rgba(255,255,255,0.3) !important;
}
.eltdf-footer-top {
    padding-top: 60px;
    padding-bottom: 60px;
}
.eltdf-footer-top {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

@media (min-width: 1024px) {
    .eltdf-footer-top .eltdf-column {
        padding-right: 80px;
    }
}
.eltdf-blog-list-holder img {
    width: 415px;
    height: 312px;
    object-fit: cover;
    display: block;
}
.eltdf-btn.eltdf-btn-outline .eltdf-btn-text {
    color: #244e9a !important;
}
.cf7-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cf7-col {
    width: 50%;
}

.cf7-col-full {
    width: 100%;
}

@media (max-width: 768px) {
    .cf7-row {
        flex-direction: column;
    }

    .cf7-col {
        width: 100%;
    }
}

/*Bloque izquierda contacto*/
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 500px;
}

.contact-box {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 28px;
    border: 1px solid #e3e3e3;
    background: #ffffff;
    align-items: start;
    transition: all 0.25s ease;
}

.contact-box .icon {
    font-size: 32px;
    color: #244e9a;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.contact-box > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-box strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    color: #1f1f1f;
}

.contact-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #666666;
}

.contact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.1);
    border-color: #244e9a;
}

.contact-box:hover .icon {
    transform: scale(1.15);
}
@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
}
@media (min-width: 1025px) {
    .contact-info-grid > div {
        align-items: center;          
        justify-content: center;
    }

    .contact-info-grid .icon {
        margin-top: 0;
    }
}


@media (min-width: 1025px) {
    .bloque-contacto-1 {
        margin-top: 5rem !important;
        margin-bottom: 0 !important;
    }

    .bloque-contacto-2 {
        margin-top: 5rem !important;
        margin-bottom: 0 !important;
    }

    .bloque-contacto-3 {
        margin-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* =========================
   BLOQUES CONTACTO (MÓVIL)
   ========================= */
@media (max-width: 1024px) {
    .bloque-contacto-2 iframe,
    .bloque-contacto-2 .wpb_gmaps_widget {
        margin-top: 30px !important;
    }

    .bloque-contacto-3 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}
#nav-menu-item-5649 > a {
    background: none !important;
}
#nav-menu-item-5649 > a .item_outer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 32px;
    background-color: #244e9a;
    border-radius: 6px;
    position: relative;
    transition: all 0.25s ease;
}
#nav-menu-item-5649 > a .item_text {
    color: #ffffff !important;
    font-weight: 600;
}
#nav-menu-item-5649 > a .item_outer::before {
    content: "\e023"; 
    font-family: 'ElegantIcons';
    font-size: 14px;
    color: #ffffff;
    position: absolute;
    left: 12px;
}

#nav-menu-item-5649 > a:hover .item_outer {
    background-color: #1e3f7e;
}
#mobile-menu-item-5649 > a {
    background: none !important;
    text-align: left;
}
#mobile-menu-item-5649 > a span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 9px 1px 40px;
    background-color: #244e9a;
    border-radius: 6px;
    position: relative;
    color: #ffffff !important;
    font-weight: 600;
}
#mobile-menu-item-5649 > a span::before {
    content: "\e023";
    font-family: 'ElegantIcons';
    font-size: 14px;
    color: #ffffff;
    position: absolute;
    left: 12px;
}
.tribe-events-c-search__button,
.tribe-common-c-btn.tribe-events-c-search__button {
    background-color: #244e9a !important;
    border-color: #244e9a !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.25s ease;
}
.tribe-events-c-search__button:hover {
    background-color: #1e3f7e !important;
    border-color: #1e3f7e !important;
}
.tribe-events-c-subscribe-dropdown__button {
    border: 1px solid #244e9a !important;
    background: transparent !important;
    transition: all 0.25s ease;
}
.tribe-events-c-subscribe-dropdown__button-text {
    color: #244e9a !important;
    font-weight: 600;
}
.tribe-events-c-subscribe-dropdown__button-icon svg path {
    fill: #244e9a !important;
}
.tribe-events-c-subscribe-dropdown__button:hover {
    background-color: rgba(36, 78, 154, 0.08) !important;
}
.tribe-events-c-subscribe-dropdown__button {
    border: 2px solid #244e9a !important;
    background: transparent !important;
    color: #244e9a !important;
    border-radius: 6px !important;
    padding: 10px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
}
.tribe-events-c-subscribe-dropdown__button-text {
    color: #244e9a !important;
    font-weight: 500;
}

.tribe-events-c-subscribe-dropdown__button svg {
    fill: #244e9a !important;
}

.tribe-events-c-subscribe-dropdown__button svg path {
    fill: #244e9a !important;
    stroke: #244e9a !important;
}

.tribe-events-c-subscribe-dropdown__button:hover {
    background: #244e9a !important;
    color: #ffffff !important;
}

.tribe-events-c-subscribe-dropdown__button:hover 
.tribe-events-c-subscribe-dropdown__button-text {
    color: #ffffff !important;
}

.tribe-events-c-subscribe-dropdown__button:hover svg,
.tribe-events-c-subscribe-dropdown__button:hover svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}
.tribe-events-c-subscribe-dropdown__container {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}
.tribe-events-c-subscribe-dropdown__button:focus,
.tribe-events-c-subscribe-dropdown__button:active,
.tribe-events-c-subscribe-dropdown__button:focus-visible,
.tribe-events-c-subscribe-dropdown__button-text:focus,
.tribe-events-c-subscribe-dropdown__button-text:active,
.tribe-events-c-subscribe-dropdown__button-text:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
/*MODAL EVENTOS*/
/* Estilos del modal de inscripción */
.modal-inscripcion {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-inscripcion-content {
    background-color: #fefefe;
    margin: 80px auto 40px;
    padding: 40px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-sizing: border-box;
    font-size: 16px;
}

.modal-inscripcion-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.modal-inscripcion-close:hover,
.modal-inscripcion-close:focus {
    color: #000;
}

.modal-inscripcion h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #244e9a;
    padding-right: 30px;
    font-size: 1.5em;
}

.modal-inscripcion h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: normal;
    font-size: 1.1em;
}

.modal-inscripcion-content .wpcf7-form {
    margin-top: 0;
}

.modal-inscripcion-content .wpcf7-form p {
    margin-bottom: 20px;
}

.modal-inscripcion-content .wpcf7-form input[type="text"],
.modal-inscripcion-content .wpcf7-form input[type="email"] {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    font-size: 15px;
}

.modal-inscripcion-content .wpcf7-form label {
    font-size: 15px;
}

.modal-inscripcion-content .wpcf7-submit {
    margin-top: 25px;
    padding: 12px 30px;
    font-size: 16px;
}

/* Responsive - Botones en vertical para móvil */
@media (max-width: 768px) {
    .tribe-events-c-subscribe-dropdown__container {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    
    .tribe-events-c-subscribe-dropdown {
        width: 100% !important;
    }
    
    .tribe-events-c-subscribe-dropdown__button {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .modal-inscripcion {
        padding: 10px;
    }
    
    .modal-inscripcion-content {
        margin: 60px auto 30px;
        padding: 30px 20px;
        width: 95%;
        font-size: 15px;
    }
    
    .modal-inscripcion h2 {
        font-size: 1.4em;
    }
    
    .modal-inscripcion h3 {
        font-size: 1.05em;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .tribe-events-c-subscribe-dropdown__container {
        gap: 6px !important;
    }
    
    .modal-inscripcion-content {
        margin: 40px auto 20px;
        padding: 25px 15px;
        width: 98%;
    }
    
    .modal-inscripcion-close {
        font-size: 24px;
        top: 10px;
        right: 15px;
    }
    
    .modal-inscripcion h2 {
        font-size: 1.3em;
    }
    
    .modal-inscripcion h3 {
        font-size: 1em;
    }
    
    .modal-inscripcion-content .wpcf7-submit {
        width: 100%;
    }
}

/*Mapa antenas*/
/* Mapa de antenas */
.mapa-antenas-container {
    width: 100%;
    height: 500px;
}

/* Estilos del InfoWindow de Google Maps */
.gm-infowindow-content {
    padding: 15px 20px;
    min-width: 250px;
}

.gm-infowindow-content h3 {
    margin: 0 0 12px 0;
    color: #244e9a;
    font-size: 18px;
    font-weight: 600;
}

.gm-infowindow-content p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .mapa-antenas-container {
        height: 400px;
    }
    
    .gm-infowindow-content {
        min-width: 200px;
        padding: 12px 15px;
    }
    
    .gm-infowindow-content h3 {
        font-size: 16px;
    }
    
    .gm-infowindow-content p {
        font-size: 14px;
    }
}






.sector-page {
    width: 100%;
}

/* CTA contacto superior */
.sector-cta-contacto {
    padding: 60px 0;
    background-color: #244e9a;
    text-align: center;
    margin: 0;
}

.btn-sector-cta-grande {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-sector-cta-grande:hover {
    background-color: white;
    color: #244e9a;
    transform: translateY(-2px);
}

/* Descripción del sector */
.sector-descripcion {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.sector-descripcion-titulo {
    font-size: 2.5em;
    color: #244e9a;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.sector-descripcion-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sector-descripcion p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* Bloque de CTAs */
.sector-ctas {
    padding: 80px 0;
    background-color: white;
}

.ctas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cta-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-card:hover {
    border-color: #244e9a;
    box-shadow: 0 10px 30px rgba(36, 78, 154, 0.1);
    transform: translateY(-5px);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background-color: #244e9a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.cta-icon svg {
    width: 35px;
    height: 35px;
}

.cta-card h3 {
    font-size: 24px;
    color: #244e9a;
    margin-bottom: 15px;
    font-weight: 600;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.btn-cta {
    display: inline-block;
    background-color: #244e9a;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-cta:hover {
    background-color: #1a3a75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 78, 154, 0.3);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .ctas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .sector-descripcion-titulo {
        font-size: 2em;
    }
    
    .container-full {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .sector-descripcion-titulo {
        font-size: 1.8em;
    }
    
    .btn-sector-cta-grande {
        padding: 15px 35px;
        font-size: 18px;
    }
    
    .ctas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .sector-descripcion,
    .sector-ctas {
        padding: 50px 0;
    }
    
    .sector-cta-contacto {
        padding: 45px 0;
    }
    
    .cta-card {
        min-height: auto;
    }
    
    .container-full {
        padding: 0 20px;
    }
}
body.page-template-template-sector .eltdf-page-header {
    padding-bottom: 0 !important;
}
.eltdf-page-header{
    padding-bottom: 0px !important;
}
/* ========== BLOG EN SECTORES ========== */

.sector-blog {
    background-color: #ffffff;
    padding: 80px 0;
}

.sector-blog-titulo {
    text-align: center;
    font-size: 2.5em;
    color: #244e9a;
    margin-bottom: 50px;
    font-weight: 700;
}

.sector-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.sector-blog-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sector-blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #244e9a;
}

.sector-blog-imagen {
    overflow: hidden;
    height: 300px;
}

.sector-blog-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sector-blog-item:hover .sector-blog-imagen img {
    transform: scale(1.05);
}

.sector-blog-content {
    padding: 25px;
}

.sector-blog-fecha {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.sector-blog-item-titulo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.sector-blog-item-titulo a {
    color: #1f1f1f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sector-blog-item-titulo a:hover {
    color: #244e9a;
}

.sector-blog-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.sector-blog-leer-mas {
    color: #244e9a;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.sector-blog-leer-mas:hover {
    color: #1a3a75;
    padding-left: 5px;
}

.sector-blog-ver-mas {
    text-align: center;
}

.btn-ver-todas {
    display: inline-block;
    background-color: #244e9a;
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ver-todas:hover {
    background-color: #1a3a75;
    transform: translateY(-2px);
}

.sector-blog-vacio {
    text-align: center;
    color: #666;
    font-size: 16px;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .sector-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sector-blog {
        padding: 60px 0;
    }
    
    .sector-blog-titulo {
        font-size: 2em;
    }
    
    .sector-blog-grid {
        grid-template-columns: 1fr;
    }
}

/*ACORDEON*/
/* ========== FAQ - ACORDEÓN ========== */

/* Título de cada pregunta (header) */
.eltdf-accordion-holder .eltdf-title-holder {
    background-color: #ffffff;
    border-bottom: 1px solid #e3e8f0;
    padding: 22px 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.eltdf-accordion-holder .eltdf-title-holder:hover {
    background-color: #fafbfc;
}

/* Pregunta activa (abierta) */
.eltdf-accordion-holder .eltdf-title-holder.ui-state-active {
    background-color: #f8f9fb;
    border-bottom-color: #244e9a;
}

.eltdf-accordion-holder .eltdf-title-holder.ui-state-active .eltdf-tab-title {
    color: #244e9a;
}

/* Texto de la pregunta */
.eltdf-accordion-holder .eltdf-tab-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f1f1f;
    transition: color 0.25s ease;
}

/* Iconos +/- */
.eltdf-accordion-mark {
    color: #244e9a;
    font-size: 18px;
    margin-right: 15px;
    transition: color 0.25s ease;
}

/* Contenido de la respuesta */
.eltdf-accordion-content {
    background-color: #fafbfc;
    border-bottom: 1px solid #e3e8f0;
}

.eltdf-accordion-content-inner {
    padding: 25px 0 30px 40px;
}

.eltdf-accordion-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.eltdf-accordion-content a {
    color: #244e9a;
    text-decoration: none;
    border-bottom: 1px solid #244e9a;
}

.eltdf-accordion-content a:hover {
    color: #1a3a75;
    border-bottom-color: #1a3a75;
}

/* Responsive */
@media (max-width: 768px) {
    .eltdf-accordion-holder .eltdf-title-holder {
        padding: 18px 0;
    }
    
    .eltdf-accordion-holder .eltdf-tab-title {
        font-size: 16px;
    }
    
    .eltdf-accordion-content-inner {
        padding: 20px 0 25px 0;
    }
    
    .eltdf-accordion-content p {
        font-size: 15px;
    }
}/* Intro de eventos */
.eventos-intro {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.eventos-intro h1 {
    font-size: 2.5em;
    color: #244e9a;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.eventos-intro p {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 768px) {
    .eventos-intro {
        margin-top: 40px;
    }
    
    .eventos-intro h1 {
        font-size: 2em;
        line-height: 1.3;
    }
    
    .eventos-intro p {
        font-size: 15px;
    }
}


/*ESTILO SINGLE POST*/
/* ========== SINGLE BLOG POST ========== */

/* Fecha de la entrada */
.eltdf-post-date-single {
    margin-bottom: 30px;
    color: #999;
    font-size: 14px;
}

/* Contenido de la entrada */
.eltdf-post-content-text {
    margin-bottom: 50px;
    font-size: 16px;
    line-height: 1.8;
}

/* Formulario de suscripción */
.eltdf-blog-subscription {
    background-color: #f5f8fb;
    border-radius: 8px;
    padding: 40px;
    margin: 50px 0;
}

.eltdf-blog-subscription-inner h3 {
    font-size: 24px;
    color: #244e9a;
    margin-bottom: 10px;
    font-weight: 600;
}

.eltdf-blog-subscription-inner p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.eltdf-subscription-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
}

.eltdf-subscription-fields input[type="text"],
.eltdf-subscription-fields input[type="email"] {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
}

.eltdf-subscription-fields button {
    padding: 12px 30px;
    background-color: #244e9a;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eltdf-subscription-fields button:hover {
    background-color: #1a3a75;
}
/* Centrar imagen destacada del post */
.eltdf-single-blog-post .eltdf-post-image {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 30px;
}

.eltdf-single-blog-post .eltdf-post-image img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}
/* Responsive */
@media (max-width: 768px) {
    .eltdf-blog-subscription {
        padding: 30px 20px;
    }
    
    .eltdf-subscription-fields {
        grid-template-columns: 1fr;
    }
}
.eltdf-comment-holder-inner{
    display: none;
}
/*Autor/
/* Información del autor */
.eltdf-author-info-box {
    background-color: #f9f9f9;
    padding: 30px;
    margin: 40px 0;
    border-left: 4px solid #244e9a;
}

.eltdf-author-info-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.eltdf-author-image img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.eltdf-author-content {
    flex: 1;
}

.eltdf-author-name {
    font-size: 20px;
    font-weight: 600;
    color: #244e9a;
    margin-bottom: 10px;
}

.eltdf-author-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .eltdf-author-info-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .eltdf-author-image img {
        margin: 0 auto;
    }
}
/*NEWSLETTER*/
/* Formulario CF7 en línea - FORZADO */
.eltdf-blog-subscription .wpcf7-form {
    display: flex !important;
    gap: 15px !important;
    align-items: flex-start !important;
}

.eltdf-blog-subscription .wpcf7-form p,
.eltdf-blog-subscription .wpcf7-form br {
    display: contents !important;
}

.eltdf-blog-subscription .wpcf7-form .wpcf7-form-control-wrap {
    flex: 1;
}

.eltdf-blog-subscription .wpcf7-form input[type="text"],
.eltdf-blog-subscription .wpcf7-form input[type="email"] {
    width: 100% !important;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
}

.eltdf-blog-subscription .wpcf7-form input[type="submit"] {
    padding: 12px 30px !important;
    background-color: #244e9a !important;
    color: white !important;
    border: none !important;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.eltdf-blog-subscription .wpcf7-form input[type="submit"]:hover {
    background-color: #1a3a75 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .eltdf-blog-subscription .wpcf7-form {
        flex-direction: column !important;
    }
    
    .eltdf-blog-subscription .wpcf7-form .wpcf7-form-control-wrap {
        width: 100%;
    }
}
body.single-post .eltdf-title-text {
    color: white !important;
    font-size: 70px !important;
}

body.single-post .eltdf-title-text span {
    color: white !important;
}
.eltdf-breadcrumbs{
    display: none !important;
}


/* ========== APLICACIONES PARA TU EMPRESA ========== */

.aplicaciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Centrar la última caja si está sola */
.aplicaciones-grid > .categoria-box:last-child:nth-child(3n - 1) {
    grid-column: 2 / 3;
}

.aplicaciones-grid > .categoria-box:last-child:nth-child(3n - 2) {
    grid-column: 2 / 3;
}

.categoria-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    border: 1px solid rgba(36, 78, 154, 0.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0px 8px 24px -6px rgba(36, 78, 154, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.categoria-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #244e9a 0%, #47a5dc 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.categoria-box:hover::before {
    transform: scaleX(1);
}

.categoria-box:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 48px -8px rgba(36, 78, 154, 0.2);
    border-color: rgba(36, 78, 154, 0.3);
}

.categoria-titulo {
    font-size: 24px;
    font-weight: 700;
    color: #244e9a;
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.aplicaciones-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aplicacion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.aplicacion-item:hover {
    background: rgba(71, 165, 220, 0.05);
    transform: translateX(4px);
}

.aplicacion-item:last-child {
    margin-bottom: 0;
}

.aplicacion-item i {
    color: #47a5dc;
    font-size: 18px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.aplicacion-item:hover i {
    color: #244e9a;
    transform: scale(1.15);
}

.aplicacion-content {
    flex: 1;
}

.aplicacion-content a {
    color: #1f1f1f;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.aplicacion-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #244e9a, #47a5dc);
    transition: width 0.3s ease;
}

.aplicacion-content a:hover {
    color: #244e9a;
}

.aplicacion-content a:hover::after {
    width: 100%;
}

.app-descripcion {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 4px;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .aplicaciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Centrar última caja en 2 columnas */
    .aplicaciones-grid > .categoria-box:last-child:nth-child(odd) {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .aplicaciones-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .aplicaciones-grid > .categoria-box:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: 100%;
    }
    
    .categoria-box {
        padding: 30px 20px;
    }
    
    .categoria-titulo {
        font-size: 22px;
    }
}

/*Plan de implementacion*/
.boton-plan {
    display: block !important;
    text-align: center  !important;
    margin: 2rem auto 0 auto !important;
    width: fit-content !important;
}

/* ========== PLAN DE PASOS HORIZONTAL ========== */

.plan-pasos-horizontal {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 5rem;
}
@media (max-width: 767px) {
  .vc_single_image-wrapper {
    margin-top: 2rem;
  }
}

.paso-card {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 16px rgba(36, 78, 154, 0.1);
    border-top: 4px solid #244e9a;
    transition: all 0.3s ease;
}

.paso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(36, 78, 154, 0.2);
}

.paso-card-1 { border-top-color: #1e3a5f; }
.paso-card-2 { border-top-color: #244e9a; }
.paso-card-3 { border-top-color: #3d7ac7; }
.paso-card-4 { border-top-color: #47a5dc; }

.paso-numero {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 15px;
}

.paso-card-1 .paso-numero { color: rgba(30, 58, 95, 0.15); }
.paso-card-2 .paso-numero { color: rgba(36, 78, 154, 0.15); }
.paso-card-3 .paso-numero { color: rgba(61, 122, 199, 0.15); }
.paso-card-4 .paso-numero { color: rgba(71, 165, 220, 0.15); }

.paso-titulo {
    font-size: 18px;
    font-weight: 700;
    color: #244e9a;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.paso-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}

.paso-lista li {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.paso-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #47a5dc;
    font-weight: bold;
}

.paso-arrow {
    display: flex;
    align-items: center;
    font-size: 32px;
    color: #244e9a;
    font-weight: bold;
}

@media (max-width: 1200px) {
    .plan-pasos-horizontal {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .paso-card {
        flex: 1 1 calc(50% - 10px);
    }
    
    .paso-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .plan-pasos-horizontal {
        flex-direction: column;
        gap: 20px;
    }
}

/*SUBVENCIONES*/

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.archive-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #244e9a;
}

.archive-imagen {
    overflow: hidden;
    height: 300px;
}

.archive-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-item:hover .archive-imagen img {
    transform: scale(1.05);
}

.archive-content {
    padding: 25px;
}

.archive-fecha {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.archive-titulo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.archive-titulo a {
    color: #1f1f1f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.archive-titulo a:hover {
    color: #244e9a;
}

.archive-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.archive-leer-mas {
    color: #244e9a;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.archive-leer-mas:hover {
    color: #1a3a75;
    padding-left: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== SINGLES (Subvenciones, Guías, Blog) ========== */

/* Single - Imagen destacada más pequeña */
.eltdf-single-subvencion .eltdf-post-image,
.eltdf-single-blog-post .eltdf-post-image {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.eltdf-single-subvencion .eltdf-post-image img,
.eltdf-single-blog-post .eltdf-post-image img {
    max-width: 600px;
    height: auto;
}

.eltdf-single-subvencion .eltdf-post-title,
.eltdf-single-blog-post .eltdf-post-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 15px;
}

/* ========== PAGE TITLES PERSONALIZADOS ========== */

/* Page title de Subvenciones - Archive y Singles */
body.post-type-archive-subvenciones .eltdf-title,
body.single-subvenciones .eltdf-title {
    background-image: url('/wp-content/uploads/2025/12/2148783033-e1766056819884-1.jpg') !important;
}

body.post-type-archive-subvenciones .eltdf-title-image img,
body.single-subvenciones .eltdf-title-image img {
    content: url('/wp-content/uploads/2025/12/2148783033-e1766056819884-1.jpg') !important;
}

/* Cambiar texto Archive por Subvenciones */
body.post-type-archive-subvenciones .eltdf-title-text {
    font-size: 70px !important;
    color: white !important;
}

body.post-type-archive-subvenciones .eltdf-title-text span {
    display: none !important;
}

body.post-type-archive-subvenciones .eltdf-title-text::after {
    content: 'Subvenciones' !important;
    color: white !important;
}
/*WEBINARS*/
/* ========== WEBINARS ========== */
.archive-imagen {
    position: relative;
}

/* Page title de Webinars */
body.post-type-archive-webinars .eltdf-title {
    background-image: url('/wp-content/uploads/2025/12/9190.jpg') !important;
}

body.post-type-archive-webinars .eltdf-title-image img {
    content: url('/wp-content/uploads/2025/12/9190.jpg') !important;
}

body.post-type-archive-webinars .eltdf-title-text {
    font-size: 70px !important;
    color: white !important;
}

body.post-type-archive-webinars .eltdf-title-text span {
    display: none !important;
}

body.post-type-archive-webinars .eltdf-title-text::after {
    content: 'Webinars' !important;
    color: white !important;
}

/* ========== RED DE PROVEEDORES ========== */

/* CTA "Te ayudamos" */
.proveedores-cta {
    background: linear-gradient(135deg, #244e9a 0%, #47a5dc 100%);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 8px 24px rgba(36, 78, 154, 0.2);
}

.proveedores-cta-content h2 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.proveedores-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-proveedores-cta {
    display: inline-block;
    background-color: white;
    color: #244e9a;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-proveedores-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #244e9a;
}

/* Grid de proveedores */
.proveedores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.proveedor-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.proveedor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(36, 78, 154, 0.15);
    border-color: #244e9a;
}

.proveedor-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.proveedor-logo-container {
    background: #f8f9fb;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: background 0.3s ease;
}

.proveedor-card:hover .proveedor-logo-container {
    background: #ffffff;
}

.proveedor-logo-container img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.proveedor-card:hover .proveedor-logo-container img {
    transform: scale(1.05);
}

.proveedor-info {
    padding: 25px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.proveedor-nombre {
    font-size: 18px;
    font-weight: 600;
    color: #1f1f1f;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.proveedor-card:hover .proveedor-nombre {
    color: #244e9a;
}

.proveedor-enlace-externo {
    font-size: 14px;
    color: #47a5dc;
    font-weight: 600;
    transition: all 0.3s ease;
}

.proveedor-card:hover .proveedor-enlace-externo {
    color: #244e9a;
    padding-left: 5px;
}

/* Page title de Proveedores */
body.post-type-archive-proveedores .eltdf-title {
    background-image: url('http://pymessoria.com/wp-content/uploads/2025/12/2149035698.jpg') !important;
}

body.post-type-archive-proveedores .eltdf-title-image img {
    content: url('http://pymessoria.com/wp-content/uploads/2025/12/2149035698.jpg') !important;
}

body.post-type-archive-proveedores .eltdf-title-text {
    font-size: 70px !important;
    color: white !important;
}

body.post-type-archive-proveedores .eltdf-title-text span {
    display: none !important;
}

body.post-type-archive-proveedores .eltdf-title-text::after {
    content: 'Red de Proveedores' !important;
    color: white !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .proveedores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .proveedores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .proveedores-cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .proveedores-grid {
        grid-template-columns: 1fr;
    }
    
    .proveedores-cta {
        padding: 40px 20px;
    }
    
    .proveedores-cta-content h2 {
        font-size: 24px;
    }
    
    .proveedores-cta-content p {
        font-size: 16px;
    }
}
/* ========== GUÍAS PRÁCTICAS ========== */

/* Single guía - imagen más pequeña */
.eltdf-single-guia .eltdf-post-image {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.eltdf-single-guia .eltdf-post-image img {
    max-width: 600px;
    height: auto;
}

.eltdf-single-guia .eltdf-post-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 15px;
}

body.post-type-archive-guias .eltdf-title,
body.single-guias .eltdf-title {
    background-image: url('/wp-content/uploads/2025/12/21685-1.jpg') !important;
}

body.post-type-archive-guias .eltdf-title-image img,
body.single-guias .eltdf-title-image img {
    content: url('/wp-content/uploads/2025/12/21685-1.jpg') !important;
}
body.post-type-archive-guias .eltdf-title-text {
    font-size: 70px !important;
    color: white !important;
}

body.post-type-archive-guias .eltdf-title-text span {
    display: none !important;
}

body.post-type-archive-guias .eltdf-title-text::after {
    content: 'Guías Prácticas' !important;
    color: white !important;
}
@media (max-width: 768px) {
    .bloque-inicio .eltdf-st-text {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media (max-width: 768px) {
    .eltdf-cta-button-holder .eltdf-btn-text {
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
    }

    .eltdf-cta-button-holder .eltdf-btn {
        padding: 12px 20px !important;
        height: auto !important;
        min-height: 48px !important;
    }
}
@media (max-width: 768px) {
    .eltdf-single-subvencion .eltdf-post-image img,
    .eltdf-single-guia .eltdf-post-image img {
        max-width: 100%;
    }
        .eltdf-single-subvencion .eltdf-post-title,
    .eltdf-single-guia .eltdf-post-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
}
body.post-type-archive-proveedores .eltdf-title-text {
    font-size: 70px !important;
    color: white !important;
}

/* Móvil - reducir a 40px */
@media (max-width: 768px) {
    body.post-type-archive-proveedores .eltdf-title-text,
    body.post-type-archive-webinars .eltdf-title-text,
    body.post-type-archive-guias .eltdf-title-text,
    body.post-type-archive-subvenciones .eltdf-title-text,
    body.single-post .eltdf-title-text,
    body.single-subvenciones .eltdf-title-text,
    body.single-guias .eltdf-title-text {
        font-size: 24px !important;
    }
}
@media (max-width: 768px) {
    .eltdf-post-title.entry-title {
        font-size: 24px !important;
    }
}



/* ===============================
   MANUAL – ESTILOS GENERALES
=============================== */

.manual-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.manual-title {
    margin-bottom: 30px;
}

/* ===============================
   BLOQUE DEL MANUAL
=============================== */

.manual-item {
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #ffffff;
}

/* ===============================
   CABECERA (CLICK)
=============================== */

.manual-toggle {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: #f5f7f9;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

/* Hover */
.manual-toggle:hover {
    background: #e9ecef;
}

/* Icono + / − */
.manual-toggle::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
}

/* ===============================
   CONTENIDO DESPLEGABLE
=============================== */

.manual-content {
    display: none;
    padding: 20px;
    border-top: 1px solid #e1e1e1;
    background: #ffffff;
}

/* Texto dentro del manual */
.manual-content p {
    margin-bottom: 15px;
}

.manual-content ul,
.manual-content ol {
    margin: 15px 0 15px 20px;
}

.manual-content li {
    margin-bottom: 8px;
}

/* Imágenes dentro del manual */
.manual-content img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* ===============================
   BLOQUE ACTIVO
=============================== */

.manual-item.active .manual-toggle {
    background: #e9ecef;
}

.manual-item.active .manual-toggle::after {
    content: "−";
}
