/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

h2 { font-size: 1.5rem }
h3 { font-size: 1.375rem }
h4 { font-size: 1.25rem }
h5 { font-size: 1.125rem }
h6 { font-size: 1rem }



/*AUDITORIA*/

.enlace_sticky p a{
	color:#333333;
}
.enlace_sticky p a:hover{
	color:#F0B429;
}

/* PLYBOOK */

.ficha_fases{
	display:flex;
	flex-direction:column;
}
.ficha_fases .enlace_fases{
	margin-top:auto;
}

/* BLOG */

.hero_blog .hero_blog_col .hero_blog_migas .elementor-sitemap-section h2{
	display:none;
}
.hero_blog .hero_blog_col .hero_blog_migas .elementor-sitemap-wrap .elementor-sitemap-list{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	padding-left:0px;
}
.hero_blog .hero_blog_col .hero_blog_migas .elementor-sitemap-wrap .elementor-sitemap-list li{
	padding: 8px 15px;
    background-color: #259faf99;
    margin: 5px;
    list-style-type: none;
    border-radius: 8px;
}
.hero_blog .hero_blog_col .hero_blog_migas .elementor-sitemap-wrap .elementor-sitemap-list li a{
	color:#FFFFFF;
}
.hero_blog .hero_blog_col .hero_blog_migas .elementor-sitemap-wrap .elementor-sitemap-list li.cat-item-16{
	display:none;
}
.hero_blog .hero_blog_col .hero_blog_migas .elementor-sitemap-wrap .elementor-sitemap-list li:hover{
	background-color:#259faf;
	color:#FFFFFF;
}
.hero_blog .hero_blog_col .hero_blog_migas .elementor-sitemap-wrap .elementor-sitemap-section .elementor-sitemap-list li.current-cat{
	background-color:#259faf;
	color:#FFFFFF;
}

/* SINGLE BLOG */

.hero_single_blog .hero_single_blog_tit_col .elementor-widget-post-info .elementor-icon-list-items .elementor-icon-list-item:last-child .elementor-post-info__terms-list a.elementor-post-info__terms-list-item{
	background-color: #259faf99;
    border-radius: 8px;
    padding: 8px 12px;
    margin-right: 5px;
}
.hero_single_blog .hero_single_blog_tit_col .elementor-widget-post-info .elementor-icon-list-items .elementor-icon-list-item:last-child .elementor-post-info__terms-list a.elementor-post-info__terms-list-item:hover{
	background-color: #259faf;	
}

/* BANNER COOKIES */
.elementor-kit-6 #cmplz-cookiebanner-container button:hover{
	box-shadow:none;
}
.elementor-kit-6 #cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show:hover{
	box-shadow:rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

/* MEDIA QUERYS */
@media(max-width:1024px){
	#header_fijo .col_menu .menu > .elementor-nav-menu--dropdown{
		position:absolute;
		top:30px;
		right:0px;
	}
}
@media(max-width:820px){
	.secc_plazos_aceleradoras .titulo_plazos_aceleradoras strong, .secc_plazos_aceleradoras .titulo_plazos_aceleradoras b{
		font-size:15px;
	}
}
@media(max-width:430px){
	.elementor-element-6d3f02d.hero_aceleradoras .col_titu_aceleradoras .titu_aceleradoras h1, .hero_blog .elementor-element-473f37e.hero_blog_col .titu_blog h1{
		font-size:56px;
	}
}
@media(max-width:375px){
	.elementor-element-6d3f02d.hero_aceleradoras .col_titu_aceleradoras .titu_aceleradoras h1, .hero_blog .elementor-element-473f37e.hero_blog_col .titu_blog h1{
		font-size:52px;
	}
}
@media(max-width:344px){
	.hero_blog .elementor-element-473f37e.hero_blog_col .titu_blog h1{
		font-size:48px;
	}
}












/* =========================================
   0) UTILIDADES EXISTENTES (sin cambios)
========================================= */

/* Tooltips por atributo */
.tooltip-js { position: relative; cursor: help; }
.tooltip-js::after{
  content: attr(data-tooltip);
  position: absolute; bottom: 100%; left: 50%;
  transform: translateX(-50%);
  background-color: var(--e-global-color-primary);
  color:#fff; padding:10px 14px; border-radius:6px;
  font-size:13px; white-space:pre-line;
  opacity:0; transition:opacity .3s ease; z-index:1000;
  pointer-events:none; min-width:160px; text-align:center;
}
.tooltip-js::before{
  content:""; position:absolute; bottom:calc(100% - 12px); left:50%;
  transform:translateX(-50%); border-width:6px; border-style:solid;
  border-color:var(--e-global-color-primary) transparent transparent transparent;
  opacity:0; transition:opacity .3s ease; z-index:1000; pointer-events:none;
}
.tooltip-js:hover::after,.tooltip-js:hover::before{ opacity:1; }

/* Menú sticky activo */
.menu-anclas .elementor-item.elementor-item-active{ font-weight:bold !important; }

/* =========================================
   1) TIPOGRAFÍA Y ESPACIADO SOLO EN POSTS
   (Gutenberg + Elementor)
========================================= */

/* Gutenberg: párrafos y listas */
.single-post .wp-block-post-content p,
.single .entry-content p { margin:0 0 1rem; }

.single-post .wp-block-list,
.single .wp-block-list { margin:0 0 1rem 1.25rem; }

.single-post .wp-block-list + p,
.single .wp-block-list + p { margin-top:1.2em; }

/* Headings en posts */
.single-post h2{ margin:3rem 0 1rem; }
.single-post h3{ margin:1.6rem 0 .75rem; }

/* Elementor: ritmo en el widget de texto */
.post-type-post .elementor-widget-text-editor > * + * { margin-top:1rem; }
.post-type-post .elementor-widget-text-editor p { margin:0 0 1rem; }
.post-type-post .elementor-widget-text-editor ul { margin:0 0 1rem 1.25rem; }
.post-type-post .elementor-widget-text-editor ul + p { margin-top:1.2em; }

/* =========================================
   2) CTAs EN POSTS (primario + secundario)
========================================= */

.post-type-post .elementor-button-wrapper{ display:inline-block; margin:.5rem .75rem .5rem 0; }

.post-type-post .elementor-button{
  border-radius:999px; padding:12px 28px; font-weight:600; letter-spacing:.2px;
}

/* Primario */
.post-type-post .elementor-button--primary{ background:#3E82F4; color:#fff; }
.post-type-post .elementor-button--primary:hover{ background:#2c63c0; }

/* Secundario */
.post-type-post .elementor-button--secondary{
  background:#F7FAFC; color:#152636; border:2px solid #27282E;
}
.post-type-post .elementor-button--secondary:hover{ background:#27282E; color:#fff; }

/* =========================================
   3) TABLAS EN POSTS (versión final consolidada)
   - Aplica solo a entradas individuales
   - Sin líneas fantasma ni marcos dobles
   - Header oscuro, filas alternas, separadores finos
========================================= */

/* Borde exterior en el contenedor de Gutenberg */
.single-post .wp-block-table,
.entry-content .wp-block-table{
  border:1px solid #B4D2D3;
  border-radius:6px;
  overflow:hidden;
  margin:1.5em 0;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
}

/* Estructura interna de la tabla */
.single-post .wp-block-table table,
.entry-content .wp-block-table table{
  width:100%;
  border-collapse:collapse;
  border-spacing:0;
}

/* Encabezado */
.single-post .wp-block-table thead th,
.entry-content .wp-block-table thead th{
  background:#152636;          /* Midnight */
  color:#fff;
  font-weight:600;
  text-align:left;
  padding:12px 16px;
  border-bottom:1px solid #B4D2D3;
}

/* Celdas del cuerpo */
.single-post .wp-block-table tbody td,
.entry-content .wp-block-table tbody td{
  color:#27282E;               /* Charcoal */
  padding:12px 16px;
  border-top:1px solid #E3EDF2;/* separador horizontal */
}

/* Evita doble línea justo bajo el header */
.single-post .wp-block-table tbody tr:first-child td,
.entry-content .wp-block-table tbody tr:first-child td{
  border-top:0;
}

/* Separadores verticales entre columnas */
.single-post .wp-block-table td + td,
.single-post .wp-block-table th + th,
.entry-content .wp-block-table td + td,
.entry-content .wp-block-table th + th{
  border-left:1px solid #E3EDF2;
}

/* Alternancia azul muy suave */
.single-post .wp-block-table tbody tr:nth-child(even) td,
.entry-content .wp-block-table tbody tr:nth-child(even) td{
  background:#F9FBFD;          /* azul claro */
}
.single-post .wp-block-table tbody tr:nth-child(odd) td,
.entry-content .wp-block-table tbody tr:nth-child(odd) td{
  background:#FFFFFF;          /* blanco */
}

/* Oculta filas totalmente vacías si se cuelan */
@supports(selector(:has(*))){
  .single-post .wp-block-table tbody tr:not(:has(td:not(:empty))),
  .entry-content .wp-block-table tbody tr:not(:has(td:not(:empty))){
    display:none;
  }
}

/* Responsive */
@media (max-width:768px){
  .single-post .wp-block-table th,
  .single-post .wp-block-table td,
  .entry-content .wp-block-table th,
  .entry-content .wp-block-table td{
    padding:10px 12px; font-size:15px;
  }
}

/* === Corrección final de bordes en tablas del blog === */
.single-post .wp-block-table table,
.single-post .wp-block-table th,
.single-post .wp-block-table td {
  border-color: #B4D2D3 !important;   /* reemplaza el borde negro por gris claro */
  border-width: 1px !important;
  border-style: solid !important;
}

.single-post .wp-block-table th {
  border-bottom: 1px solid #B4D2D3 !important; /* separador fino del header */
}

/* Quita los bordes*

/* === Alinear encabezados con el contenido de las filas === */
.single-post .wp-block-table th {
  text-align: left !important;       /* asegúrate de que esté alineado a la izquierda */
  vertical-align: middle !important; /* centra verticalmente */
  padding: 12px 16px !important;     /* iguala padding con las celdas */
  font-weight: 600;                  /* mantiene el peso del título */
}

.single-post .wp-block-table td {
  vertical-align: middle !important;
  padding: 12px 16px !important;     /* coherente con el header */
}

/* Reforzar contraste del color de fondo alterno en tablas */
.single-post .wp-block-table tbody tr:nth-child(even) td {
  background: #F7FAFC !important; /* un poco más azul */
}

/* Eliminacin bordes dobles tablas */
.single-post .wp-block-table {
	border: none;
	box-shadow: none;
}
