/* 2. Regla para las filas internas de Astra SIN el margen que rompía el footer */
.ast-builder-grid-row-container-inner {
    display: flex !important;
    align-items: center !important;
    margin-top: 0px !important;
    /* Limpia el margen para que el footer colapse por fin */
}


.miseparador {
    width: 100%;
    height: 6px;
    /* Aumentado a 6px para darle más cuerpo */
    background: linear-gradient(to right, transparent, #b91c1c 25%, #d4af37 50%, #b91c1c 75%, transparent);
}

.miseparador2 {
    height: 6px;
    /* Aumentado a 6px para darle más cuerpo */
    background: linear-gradient(to right, transparent, #b91c1c 25%, #d4af37 50%, #b91c1c 75%, transparent);
}

.miseparador3 {
    height: 6px;
    /* Aumentado a 6px para darle más cuerpo */
    background: linear-gradient(to right, transparent, #b91c1c 25%, #d4af37 50%, #b91c1c 75%, transparent);
}

.sepModoSolo {
    position: relative;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg,
            #123b68 0%,
            #1d5f9b 35%,
            #8b2d3b 65%,
            #c6283d 100%);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.20),
        0 0 5px rgba(40, 90, 150, 0.25);
    overflow: hidden;
}


/******************************/
#SeparadorCD {}

#SeparadorCD::after {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    border-radius: 50%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    opacity: 0.7;
}

/* =======================================================
   1. INYECTAR EL LOGO DE LA FAK (TAMAÑO AGRANDADO)
   ======================================================= */
h1.tribe-events-header__title-text::after {
    content: "" !important;
    display: inline-block !important;
    background-image: url('http://ackmisiones.local/wp-content/uploads/2026/08/Logo_de_la_Federacion_Argentina_de_Karate.png') !important;
    /* Recordá pegar la URL real de tu imagen */
    background-size: contain !important;
    background-repeat: no-repeat !important;
    width: 75px !important;
    /* Tamaño grande para que se lea el escudo */
    height: 75px !important;
    /* Tamaño grande para que se lea el escudo */
    margin-left: 18px !important;
    /* Espaciado prolijo respecto a la palabra FAK */
    vertical-align: middle !important;
    /* Lo centra perfectamente con el texto */
}

/* =======================================================
   2. DISEÑO NATIVO DE LAS CAJAS (FONDOS POR ALCANCE)
   ======================================================= */

/* Tarjetas para Eventos Nacionales (Fondo Celeste) */
.tribe-common .tribe-events-calendar-list__event.tribe_events_cat-nacionales,
.tribe-common .tribe_events_cat-nacionales {
    background-color: #e3f2fd !important;
    border-left: 6px solid #2196f3 !important;
    padding: 22px !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
}

/* Tarjetas para Eventos Internacionales (Fondo Naranja) */
.tribe-common .tribe-events-calendar-list__event.tribe_events_cat-internacionales,
.tribe-common .tribe_events_cat-internacionales {
    background-color: #fff3e0 !important;
    border-left: 6px solid #ff9800 !important;
    padding: 22px !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
}


/* ---- CONFIGURACIÓN PARA CELULAR ---- */
@media (max-width: 767px) {}


/* ==========================================================================
  CAJAS TRAYECTORIAS
   ========================================================================== */
/* Contenedor para centrar o alinear el botón */
.contenedor-boton-trayectoria {
    text-align: left;
    /* Cambialo a 'center' si preferís que el botón quede en el medio */
    margin-top: 25px;
    margin-bottom: 10px;
    margin-left: 20px;
}

/* Estilo del botón principal */
.btn-trayectoria-completa {
    display: inline-block;
    background-color: #a50808;
    /* Color de fondo negro (cambialo por tu rojo institucional si querés) */
    color: #ffffff !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    /* Pone las letras en mayúscula de forma prolija */
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 4px;
    /* Bordes sutilmente redondeados */
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Efecto al pasar el mouse por encima (Hover) */
.btn-trayectoria-completa:hover {
    background-color: #060222;
    /* Se vuelve rojo al pasar el mouse (ajustá a tu tono exacto) */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    /* Hace un micro-salto muy fino hacia arriba */
}

/* Animación sutil de la flecha */
.flecha-btn {
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-trayectoria-completa:hover .flecha-btn {
    transform: translateX(4px);
    /* Mueve la flecha levemente a la derecha al hacer hover */
}

/*****************************************************************************************/
/* --- CONFIGURACIÓN GENERAL PARA TODOS LOS TÍTULOS --- */
.acordeon-con-imagen .e-n-accordion-item>summary {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 20px 20px !important;
    /* Ajusta el primer número para darle más altura al título */
}

/* Color de texto e iconos en blanco para todo el acordeón */
.acordeon-con-imagen .e-n-accordion-item>summary * {
    color: #000000 !important;
    fill: #000000 !important;
}


/* --- IMÁGENES INDIVIDUALES POR PESTAÑA --- */

/* Imagen para el TÍTULO 1 */
.acordeon-con-imagen .e-n-accordion-item:nth-child(1)>summary {
    background-image: url('http://ackmisiones.local/wp-content/uploads/2026/09/shoto2_2.png') !important;
}

/******************************** Imagen para el TÍTULO 2 */
.acordeon-con-imagen .e-n-accordion-item:nth-child(2)>summary {
    background-image: url('http://ackmisiones.local/wp-content/uploads/2026/09/shito2_2.png') !important;
}


/********************************************* Imagen para el TÍTULO 3 */
.acordeon-con-imagen .e-n-accordion-item:nth-child(3)>summary {
    background-image: url('http://ackmisiones.local/wp-content/uploads/2026/09/shorin2_2.png') !important;
}

/* Imagen para el TÍTULO 4 */
.acordeon-con-imagen .e-n-accordion-item:nth-child(4)>summary {
    background-image: url('http://ackmisiones.local/wp-content/uploads/2026/09/goyo2_2.png') !important;
}

/* Imagen para el TÍTULO 5 */
.acordeon-con-imagen .e-n-accordion-item:nth-child(5)>summary {
    background-image: url('http://ackmisiones.local/wp-content/uploads/2026/09/uechi2_2.png') !important;
}

/* Imagen para el TÍTULO 6 */
.acordeon-con-imagen .e-n-accordion-item:nth-child(6)>summary {
    background-image: url('http://ackmisiones.local/wp-content/uploads/2026/09/wado2_2.png') !important;
}

/********PAGINA DE FORMULARIOS DE INSCRIPCION********************************/
/* Ocultar la clase en pantallas menores o iguales a 767px (celulares) */
@media screen and (max-width: 767px) {
    .miImagFrom {
        display: none !important;
    }

    .formTex1 {
        text-align: center !important;
    }
}

/***ACA ESTA TODO EL BLOQUE DEL CSS DEL WORPRESS**/
/* Apaga el preloader de LoftLoader en todo el sitio web por defecto */
#loftloader-wrapper {
    display: none !important;
}

/* 2. Activa el preloader exclusivamente en la página de Comisión Directiva (ID 529) */
.page-id-529 #loftloader-wrapper {
    display: block !important;
}

/* 1. Oculta el preloader de LoftLoader en todo el sitio web por defecto */
#loftloader-wrapper {
    display: none !important;
}

/* 2. Activa el preloader exclusivamente en la página de Comisión Directiva (ID 529) */
.page-id-529 #loftloader-wrapper {
    display: block !important;
}

/* 3. Inyecta el texto personalizado dentro del contenedor de la animación */
.page-id-529 #loftloader-wrapper .loader-inner {
    position: relative !important;
}

.page-id-529 #loftloader-wrapper .loader-inner::after {
    content: "Cargando datos. Por favor, espere." !important;
    position: absolute !important;

    /* Lo posiciona abajo del dibujo */
    top: 120px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    /* Estilos visuales del texto */
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    text-align: center !important;
    z-index: 999999 !important;
    /* Fuerza al texto a ponerse al frente de todo */
}

/**************arregla el POPUP en INSCRIPCIONES***/
/* Evita el salto visual en el popup de menores (ID 2510) */
#pum-2510 {
    min-height: 1200px !important;
    /* Ajusta este número según el alto real de tu formulario */
}

/* Fuerza a que el contenido interno tenga transiciones suaves si cambia de tamaño */
#pum-2510 .pum-container {
    transition: all 0.3s ease-out-in !important;
}

/* Opcional: Si el formulario es muy largo en celulares, asegura que tenga scroll interno propio en vez de romper la pantalla */
#pum-2510 .pum-content {
    max-height: 80vh !important;
    overflow-y: auto !important;
}

/* Ajusta la ventana del formulario de menores al ancho real de su contenido */
#pum-2510 .pum-container {
    width: max-content !important;
    max-width: 90% !important;
    /* Evita que en pantallas chicas o celulares se salga de los bordes */
    min-width: 320px !important;
    /* Evita que se comprima de más si hay poco texto */
}

/* Si querés aplicarlo también al formulario de mayores (Popup 2290), usá este bloque: */
#pum-2290 .pum-container {
    width: max-content !important;
    max-width: 90% !important;
    min-width: 320px !important;
}

/************************/
/* Estilo para el botón inhabilitado del menú */
.menu-inhabilitado a {
    pointer-events: none;
    /* Desactiva por completo el clic */
    cursor: default;
    /* Cambia el cursor para que no muestre la "manito" */
    opacity: 0.5;
    /* Lo pone semi-transparente (grisado) */
    color: #888888 !important;
    /* Fuerza un color gris (cambialo si querés) */
}

/******MENU HABURGESAS ARREGLO DE LINKS **/
/* 1. Forzar fondo oscuro en absolutamente todo el bloque del menú */
ul#mobile-menu-2-4a5f545,
ul#mobile-menu-2-4a5f545 li,
ul#mobile-menu-2-4a5f545 li.menu-item,
ul.tahefobu-mobile-nav-menu,
ul.tahefobu-mobile-nav-menu li {
    background-color: #fffbfb !important;
    /* Forzar fondo oscuro */
    background: #1a1a1a !important;
    border: none !important;
}

/* 2. Estilo de los textos de los enlaces */
ul#mobile-menu-2-4a5f545 li a,
ul.tahefobu-mobile-nav-menu li a {
    color: #ffffff !important;
    /* Texto blanco para contrastar con el fondo oscuro */
    font-family: 'Montserrat', 'Helvetica', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 16px 24px !important;
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* 3. Separadores horizontales limpios entre botones */
ul#mobile-menu-2-4a5f545 li.menu-item {
    border-bottom: 1px solid rgb(255, 255, 255) !important;
}

/* 4. Efecto de hover (cuando se toca el botón) */
ul#mobile-menu-2-4a5f545 li a:hover,
ul#mobile-menu-2-4a5f545 li a:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #f7f5aa !important;
    /* Texto cambia a dorado al tocarlo */
}

/* 5. Forzar color a las flechitas de submenú para que no se pierdan */
ul#mobile-menu-2-4a5f545 .sub-arrow,
ul.tahefobu-mobile-nav-menu .sub-arrow {
    color: #ffffff !important;
}

/* 6. Redondear solo la base del menú */
ul#mobile-menu-2-4a5f545 {
    border-radius: 0 0 15px 15px !important;
    overflow: hidden !important;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Modificá este bloque para cambiar el diseño de los menús internos */
ul#mobile-menu-2-4a5f545 .sub-menu,
ul#mobile-menu-2-4a5f545 .sub-menu li {
    background-color: #000000 !important;
    /* <--- CAMBIA EL COLOR DE FONDO ACÁ (Ej: Negro más oscuro) */
    background: #ffe7e7 !important;
}

ul#mobile-menu-2-4a5f545 .sub-menu li a {
    color: #000000 !important;
    /* <--- CAMBIA EL COLOR DEL TEXTO ACÁ (Ej: Gris claro) */
    font-size: 14px !important;
    /* Un poco más chico que el menú principal */
    padding: 12px 24px !important;
}

/******el link seleccionado hamburguesa***/
/* 1. Fondo rojo y texto blanco para el elemento del submenú seleccionado */
ul#mobile-menu-2-4a5f545 .sub-menu li.current-menu-item a,
ul#mobile-menu-2-4a5f545 .sub-menu li.current_page_item a,
ul#mobile-menu-2-4a5f545 .sub-menu li a:active {
    background-color: #d92323 !important;
    /* Rojo deportivo/institucional */
    background: #d92323 !important;
    color: #ffffff !important;
    /* Letras blancas de alta legibilidad */
    font-weight: 700 !important;
    /* Le da un toque más firme al texto activo */
}

/* 2. Mantener el efecto al pasar el dedo (Hover) sobre el elemento seleccionado */
ul#mobile-menu-2-4a5f545 .sub-menu li.current-menu-item a:hover {
    background-color: #b81d1d !important;
    /* Un rojo un poco más oscuro al presionar */
    color: #ffffff !important;
}

/************CABECERAS FLUENT FORM *****************/
/* REORDENAR CABECERA EXCLUSIVAMENTE EN CELULARES */
@media (max-width: 767px) {

    /* Forzamos a que el contenedor principal sea una columna invertida */
    .cabecera-formulario-flex {
        flex-direction: column-reverse !important;
        align-items: center !important;
        text-align: center !important;
        padding-bottom: 20px !important;
    }

    /* Centramos el bloque del logo arriba y le damos espacio inferior */
    .cabecera-formulario-flex .logo-cabecera {
        text-align: center !important;
        margin-bottom: 20px !important;
        /* Espacio entre el logo y el título */
        width: 100% !important;
    }

    /* Forzamos a que la imagen del logo quede centrada */
    .cabecera-formulario-flex .logo-cabecera img {
        margin: 0 auto !important;
        max-height: 65px !important;
        /* Lo agrandamos un pelín para que luzca en celular */
    }

    /* Centramos los textos que ahora quedaron abajo del logo */
    .cabecera-formulario-flex .texto-cabecera {
        padding-right: 0 !important;
        /* Quitamos el aire de la derecha de PC */
        width: 100% !important;
    }
}

/*********arreglo del footer***********/
/* ARREGLAR COLUMNAS DEL FOOTER EN TABLETS */
@media (max-width: 1024px) and (min-width: 768px) {

    /* 1. Apagar por completo la columna de los logos (evita que deje el hueco) */
    .elementor-footer .elementor-column:nth-child(2),
    .site-footer .elementor-column:nth-child(2) {
        display: none !important;
    }

    /* 2. Forzar a las columnas de texto restantes a estirarse al 50% cada una */
    .elementor-footer .elementor-column:nth-child(1),
    .elementor-footer .elementor-column:nth-child(3),
    .elementor-footer .elementor-column:nth-child(4),
    .site-footer .elementor-column:nth-child(1),
    .site-footer .elementor-column:nth-child(3),
    .site-footer .elementor-column:nth-child(4) {
        width: 50% !important;
        /* Se dividen el footer mitad y mitad */
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

/*****quitar linea de enlace ***/
/* 1. Forzar eliminación de subrayado en la clase real de tus botones */
.e-button-base.e-default-a,
.e-button-base.e-default-a * {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* 2. Anular de forma masiva el subrayado heredado de Astra sobre el enlace del botón */
div[data-element_type="container"] a.e-button-base,
div[data-element_type="container"] a.e-button-base:hover {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* 3. Por si las dudas se inyectó la etiqueta HTML de subrayado fijo (u) */
.e-button-base u,
.e-button-base.e-default-a u {
    text-decoration: none !important;
    border-bottom: none !important;
}


/*TARJETAS NOTICIAS*/

/* =====================================
   ACKIPM - CUADRICULA DE NOTICIAS
===================================== */

.ackipm-noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* TARJETA */

.ackipm-noticia-card {
    background: #f8f5ed;
    border: 1px solid #e6dfd0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(35, 25, 20, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ackipm-noticia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(35, 25, 20, 0.12);
}

/* IMAGEN */

.ackipm-noticia-imagen {
    position: relative;
    height: 215px;
    overflow: hidden;
}

.ackipm-noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.ackipm-noticia-card:hover .ackipm-noticia-imagen img {
    transform: scale(1.035);
}

/* FECHA */

.ackipm-noticia-fecha {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 52px;
    height: 58px;
    background: #8b1015;
    color: #fffaf0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

.ackipm-fecha-mes {
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: bold;
    line-height: 1;
}

.ackipm-fecha-anio {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: .5px;
}

/* CATEGORIA */

.ackipm-noticia-categoria {
    position: absolute;
    bottom: -6px;
    left: -7px;
    background: #8b1015;
    color: #fffaf0;
    padding: 7px 13px;
    font-family: Arial, sans-serif;
    border-color: #ffffff;
    border-style: solid;
    border-width: 7px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
}

/* CONTENIDO */

.ackipm-noticia-contenido {
    padding: 20px 21px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ackipm-noticia-titulo {
    margin: 0 0 12px;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #292724;
}

.ackipm-noticia-titulo a {
    color: inherit;
    text-decoration: none;
}

.ackipm-noticia-titulo a:hover {
    color: #8b1015;
}

.ackipm-noticia-resumen {
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: #68645e;
    margin-bottom: 20px;
}

/* BOTON */

.ackipm-noticia-boton {
    align-self: flex-start;
    margin-top: auto;
    padding: 9px 17px;
    border: 1px solid #8b1015;
    border-radius: 3px;
    color: #8b1015;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .4px;
    text-decoration: none;
    transition: all .2s ease;
}

.ackipm-noticia-boton:hover {
    background: #8b1015;
    color: #fffaf0;
}

/* TABLET */

@media (max-width: 1024px) {
    .ackipm-noticias-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* CELULAR */

@media (max-width: 600px) {
    .ackipm-noticias-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ackipm-noticia-imagen {
        height: 210px;
    }

    .ackipm-noticia-contenido {
        padding: 17px;
    }

    .ackipm-noticia-titulo {
        font-size: 19px;
    }
}

/***********PARA ENTRADAS *****/
/* 1. Quita el aspect-ratio forzado y ajusta la foto sin bordes grises */
.ast-single-entry-banner[data-post-type="post"] .post-thumb-img-content img {
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
    max-height: 340px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}

/* 2. Elimina la altura mínima y el espacio vacío inferior del banner de Astra */
.ast-single-entry-banner[data-post-type="post"] {
    min-height: auto !important;
    padding-top: 30px !important;
    padding-bottom: 15px !important;
}

/* 3. Alinea el ancho del contenedor de la foto con el recuadro blanco de abajo */
.ast-single-entry-banner[data-post-type="post"] .ast-container {
    max-width: 1040px !important;
}

.ast-single-entry-banner[data-post-type="post"] .post-thumb-img-content {
    margin-bottom: 0 !important;
}

/* 4. Pega el recuadro blanco del artículo justo debajo de la imagen */
.single-post .site-content .ast-container {
    padding-top: 0 !important;
}

.single-post .entry-content {
    margin-top: 0 !important;
}