/*
Theme Name: Informe Digital
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
*/

/* CAJA ROJA ULTOMO MOMENTO */
/* ——————————————————————————————————————————————
   CAJA ROJA ÚLTIMO MOMENTO (100% del viewport)
   —————————————————————————————————————————————— */
  
/* FIN CAJA ROJA DE ULTIMO MOMENTO */


/* 1) Drop-cap: sólo al primer párrafo DE TEXTO (primer <div> tras la <p> de la imagen) */
.capitalizar-parrafo .elementor-widget-container > div:first-of-type p::first-letter {
  float: left;
  font-size: 4em;
  line-height: 0.8;
  margin-right: 0.1em;
  font-family: Georgia, serif;
  /* text-transform: uppercase;  <-- úsalo sólo si quieres forzar mayúscula */
}

/* 2) Anula cualquier capitalización en el resto de párrafos de texto */
.capitalizar-parrafo .elementor-widget-container > div:not(:first-of-type) p::first-letter {
  text-transform: none !important;
  float: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
}

/* estilos de tags */
.post-tags {
    margin-top: 20px;
    font-size: 16px;
}

.post-tags a {
    color: #d46803;
    text-decoration: none;
}

.post-tags a:hover {
    text-decoration: underline;
}

/* destacado para noticias nacionales */
#medioheader-personalizado {
    text-align: center;
    margin-bottom: 00px;
    padding: 10px 0;
}

/* Logo con ajax por que no sale dese ajax con shortcode desde la plantilla y lo colocamos de un sopapo */
.logo-nacional-wrapper {
    width: 100%;
    height: 50px; /* o 40px según tu diseño */
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px; /* separa del contenido inferior */
}
.logo-nacional-subcat {
    max-height: 20px;
    width: auto;
}
.imagen-nota {
    width: 100%;
    height: auto;
    display: block;
}
/* Logo con ajax por que no sale dese ajax con shortcode desde la plantilla y lo colocamos de un sopapo */

.image_medio_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    gap: 50px;
}

.image_medio_logo .imagelog img {
    max-width: 200px;
    height: auto;
    display: block;
}

.image_medio_logo .linea-logo {
    flex-grow: 1;
    height: 2px;
    background-color: #e6e5e5;
}

.medios_nacionales_nombre {
    font-size: 18px;
    font-weight: bold;
}

.medios_nacionales_linea {
    padding: 0 12px;
    color: #999;
}

.medios_nacionales_er {
    color: #000;
    font-weight: bold;
    margin-right: 5px;
}

.medios_nacionales_mn {
    color: #f7692f;
    font-weight: bold;
    margin-left: 5px;
}

@media (max-width: 480px) {
  .image_medio_logo {
    flex-direction: column;    /* Apila verticalmente */
    gap: 10px;                 /* Menos separación entre elementos */
    margin-bottom: 8px;        /* Ajuste de margen inferior */
  }

  .image_medio_logo .imagelog img {
    max-width: 100px;          /* Limita ancho de logo en móvil */
    width: auto;
    height: auto;
  }

  .image_medio_logo .linea-logo {
    flex-grow: 0;
    width: 60%;                /* Línea más corta y centrada */
    margin: 0 auto;
    height: 1.5px;
  }

  .medios_nacionales_nombre {
    font-size: 12px;           /* Texto un poco más pequeño */
    text-align: center;
  }

  .medios_nacionales_linea {
    padding: 0 8px;            /* Menos padding lateral */
  }

  .medios_nacionales_er,
  .medios_nacionales_mn {
    font-size: 12px;           /* Ajustar a mismo tamaño que el nombre */
    margin: 0 3px;             /* Márgenes más pequeños */
  }
}


#foto-destacada .imagen-vieja {
    width: 100%;
}

#foto-destacada .imagen-vieja img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content img,
.post-content img,
.single-post .elementor-widget-theme-post-content img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 20px 0;
    object-fit: contain;
}

/* Citas generales */
blockquote {
    font-size: 1.5em;
    font-weight: 700;
    color: #4e4e4e;
    border-left: 4px solid #ccc;
    padding-left: 70px;
    margin: 40px 0;
    line-height: 1.6;
    text-align: left;
    background: none;
    font-style: normal;
    text-transform: none;
}

blockquote p {
    margin: 0;
    text-transform: none;
    font-weight: inherit;
}

/* Adaptación para móviles */
@media (max-width: 767px) {
    blockquote {
        font-size: 1.1em;         /* fuente más chica */
        font-weight: bold;
        padding-left: 15px;       /* menos espacio desde la línea */
        margin: 15px 0;           /* menor separación vertical */
    }
}

/* Eliminar letra capital forzada */
blockquote p::first-letter {
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: none !important;
    float: none !important;
    margin: 0 !important;
    line-height: inherit !important;
}

/* Noticia complementaria */
.sidebar-complementario {
    background-color: #e6e3dd;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.sidebar-complementario-titulo {
    margin-bottom: 20px;
    font-size: 24px;
    color: #000;
}

.sidebar-complementario-imagen img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.sidebar-complementario-texto {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* CSS PARA IMAGENES OCUPEN TODO EL BLOQUE */
/* IMAGEN DESTACADA UNIVERSAL (CON ASPECTO FIJO Y EFECTO ZOOM) */
.imagen-carrusel-fija {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0f0f0;
    display: block;
    width: 100%;
    position: relative;
}

.imagen-carrusel-fija img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.4s ease, transform 0.4s ease;
}



/* Logo para nacionales */
.logo-medio-nacional {
    background: #fff;
    width: 100%;
    padding-bottom: 10px ;
    padding-top: 13px ;
	text-align: center;
    display: block;
    box-sizing: border-box;
}
.logo-medio-nacional img {
    max-height: 40px;
    height: auto;
    max-width: 80%;
    display: inline-block;
}
/* CSS PARA IMAGENES OCUPEN TODO EL BLOQUE */

/* === FACETAG PORTADA FINAL === */
.facetags-wrapper {
  border-top: 3px solid #dfdfdf;
  border-bottom: 3px solid #dfdfdf;
  padding: 15px 0;
  margin: 15px 0;
}

.facetags-swiper .swiper-slide {
  width: 115px !important;
  text-align: center;
  padding-right: 18px;  
  margin-right: 0px;
  border-right: 1px solid #dfdfdf;
  box-sizing: border-box;
}

/* Primero y último: solo una línea */
.facetags-swiper .swiper-slide:first-child {
  border-left: none;
}
.facetags-swiper .swiper-slide:last-child {
  border-right: none;
}

.facetags-swiper .swiper-slide:last-child {
  border-right: none;
}

/* Contenido centrado con padding igual */
.facetag-inner {
  padding: 0px;               /* ahora el padding va aquí */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.facetag-foto {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}
/* Zoom mayor en hover */
.facetag-link:hover .facetag-foto {
  transform: scale(1.3);
}

.facetag-nombre {
  font-size: 11px;
  color: #000;
  margin-bottom: 4px;
  transition: color 0.2s ease;
  font-weight: none;
  height: 40px;
}
/* Nombre naranja en hover */
.facetag-link:hover .facetag-nombre {
  color: orange;
  font-weight: none;
}

.facetag-linea-interna {
  width: 100%;
  border-top: 1px solid #dfdfdf;
  margin: 0px;            /* auto left/right */
}

.facetag-ocupacion {
  font-size: 10px;
  color: #666;
  margin-top: 4px;
  height: 45px;
}
/* Conteo en gris claro */
.facetag-count {
  color: #999;
  font-size: 11px;
}
/* FACETAG PORTADA */

/* CONTENEDOR PRINCIPAL  bloque politica ******************************************* */

/* CONTENEDOR PRINCIPAL  bloque politica ******************************************* */

/* PUCLICIDES */
.anuncios-bloque {
    width: 100%;
    max-width: 100%;
}

.anuncio-item {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px auto;
    text-align: center;
}

.anuncio-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}
/* PUCLICIDES */


/* youtube tamaño en notas */
.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    margin-top: 40px;         /* <-- aquí el espacio superior e inferior */
    margin-bottom: 40px;
  }
  
  .embed-responsive iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
/* youtube tamaño en notas */

/* PAGINADOR */
.page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border-radius: 4px;
  }
  
  .page-numbers.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
    font-weight: bold;
  }
  
  .page-numbers:hover {
    background-color: #f0f0f0;
    text-decoration: none;
    border-color: #bbb;
  }
  
  .page-numbers.prev, .page-numbers.next {
    font-weight: bold;
  }
  
  /* Centrado del contenedor */
  ul.page-numbers {
    display: flex;
    justify-content: center;
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
  }

  .barra-separadora-transmision {
    width: 100%;
    height: 4px;
    background-color: #e7e7e7;
    margin: 15px 0;
}

/*INSTAGRAM NOTAS TAMAÑO*/
iframe.instagram-media {
  max-width: 540px !important;
  margin: 40px auto !important; /* 20px superior e inferior, centrado horizontalmente */
  display: block !important;
}

/* FACEBOOK NOTAS TAMAÑO (Insertadas desde CKEditor) */
._li,
._li iframe {
    max-width: 540px !important;
    width: 100% !important;
    margin: 60px auto !important;
    display: block !important;
}

._li {
    text-align: center !important; /* Esto centra el embed horizontalmente */
}s

/* ETIQUETAS EN NOTICIA */
/* 1) Pon el tamaño de letra de todo el contenedor a 0 para ocultar los nodos de texto (las comas) */
.noticia-tags {
  font-size: 0;
}

/* 2) Vuelve a definir un tamaño de letra normal para el <strong> y para cada .tag */
.noticia-tags strong,
.noticia-tags .tag {
  font-size: 0.875rem;  /* o el tamaño que tú uses */
}

/* 3) Asegúrate de mantener el estilo de “pill” que ya tenías */
.noticia-tags .tag {
  display: inline-block;
  background-color: #dfdfdf;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0 6px 6px 0;
  color: #272727;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.noticia-tags .tag:hover {
  background-color: #e0e0e0;
  color: #f85b1b;
}

/* 4) (Opcional) Ajusta el <strong> “Etiquetas:” */
.noticia-tags strong {
  font-weight: bold;
  color: #333;
  margin-right: 6px;
  display: inline-block;  /* para que respete el margin */
}

/* VIDEOS DE YOUTUBE EN NOTA DESTACADOS */
  /* reutiliza tu embed-responsive para mantener 16:9 */
.embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.embed-responsive iframe,
.embed-responsive video {
  position: absolute;
  top:   0;
  left:  0;
  width: 100%;
  height:100%;
  border: 0;
}

/* contenedor que añade margen arriba y abajo */
.special-video-container {
  margin-top: 60px;
}

/* texto bajo el video con barra negra */
.special-video-text {
  background-color: #000;
  color:            #fff;
  font-weight:      bold;
  padding:          8px 12px;
  margin-top:       -40px;
  margin-bottom:    15px;
  font-size:        0.95rem;
  line-height:      1.4;
}

/*embed archivos pdf word doc xls*/
/* — Estilos para archivos embebidos — */
.pdf-viewer,
.doc-viewer {
  margin: 20px 0;
}
.pdf-viewer iframe,
.doc-viewer iframe {
  width: 100%;
  height: 600px;
  border: none;
}
.pdf-viewer p,
.doc-viewer p {
  text-align: center;
  margin-top: 8px;
}
.file-link a {
  display: inline-block;
  margin: 10px 0;
  padding: 6px 10px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}
.file-link a i.fa-file {
  margin-right: 6px;
}
/*embed archivos pdf word doc xls*/

/* FLECHAS FLECHITAS PARA FACETAG PORTADA */
/* ========== OVERRIDES SWIPER NAV ICONS ========== */
.facetags-wrapper {
  position: relative;
  overflow: visible;
}

/* Botones base */
.facetags-prev,
.facetags-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;  
  cursor: pointer;
  z-index: 50;
}

.facetags-prev svg,
.facetags-next svg {
  width: 57px;
  height: 57px;
  fill: #f85b1b;
  transition: fill .1s;
}

.facetags-prev:hover svg,
.facetags-next:hover svg {
  fill: #eeeeee;
}

/* Posicionamiento */
.facetags-prev { left: -85px; }
.facetags-next { right: -75px; }

/* Iconos Font Awesome */
.facetags-prev .fa,
.facetags-next .fa {
  font-size: 52px;
  color: #f85b1b;
  transition: color .1s;
}

/* Hover */
.facetags-prev:hover .fa,
.facetags-next:hover .fa {
  color: #eeeeee;
}

/* Ocultar en móviles (si lo deseas) */
@media (max-width: 767px) {
  .facetags-prev, .facetags-next {
    display: none;
  }
}

/*autor*/
.sb-autor-destacado {
  text-align: left          /* centrar */
  font-size: 1.1em;              /* un poco más grande */
  font-weight: 600;              /* seminegrita */
  font-style: italic;            /* cursiva para énfasis */
  color: #333;                   /* color legible */
  margin: 0.5em 0;               /* espacio arriba y abajo */
  padding: 0.5em 1em;            /* relleno interior */
  background: #f7f7f7;           /* fondo suave */
  border-left: 4px solid #ee3a2c;/* barra rojita a la izquierda */
  border-radius: 4px;            /* esquinas redondeadas */
}


/*  mobilemenu tendencias */
/* por defecto, oculta la barra */
.mobile-tendencias {
  display: none;
}

/* en móvil, dentro del padre TENDENCIAS */
@media (max-width: 768px) {
  .static-tendencia .mobile-tendencias {
    padding-left: 16px !important;  /* ajusta 16px al valor que necesites */
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 8px 0 0 !important;
    
  }
  .static-tendencia .mobile-tendencias .mobile-tendencia-item {
    color: #f85b1b !important;
    font-weight: bold !important;
    text-decoration: none !important;
    font-size: 14px !important;
    padding: 4px 8px !important;
    margin: 0 !important;
  }
}

/* fecha y clima */
/* Mismo archivo CSS o wp_add_inline_style */
.barra-home-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* etiquetas haidar */
.etiquetas-limitadas {
  font-size: 11px;
  font-weight: bold;
  margin-top: 10px;
  color: white;
  display: inline-block;
}

.etiquetas-titulo {
  font-weight: normal;
  color: white;
  margin-right: 4px;
}

.etiquetas-titulo_2 {
  font-weight: normal;
  color: rgb(0, 0, 0);
  margin-right: 4px;
}

/* Texto "Mención a:" negro solo en single */
.etiquetas-single .etiquetas-titulo {
  color: black !important;
}

.etiqueta {
  background: #F85B1B;
  color: white !important;
  padding: 2px 6px;
  margin-right: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  line-height: 1.6;
  margin-top: 2px;
  margin-bottom: 2px;
}

.etiqueta:hover {
  opacity: 0.9;
}

.toggle-etiquetas {
  color: white;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 5px;
  font-weight: normal;
  font-size: 11px;
}

.toggle-etiquetas::after {
  content: " ▼";
  font-size: 9px;
}

.etiquetas-ocultas {
  display: none;
  margin-top: 4px;
}

.etiquetas-ocultas.mostrar {
  display: block;
}

.etiquetas-ocultas .etiqueta {
  background: #F85B1B;
  color: white !important;
}

/* Highlight dinámico */
.highlight-activo {
  background-color: yellow;
  padding: 1px 3px;
  border-radius: 3px;
  transition: background-color 0.3s;
}

@media (max-width: 768px) {
  .hashtag {
    background-color: #F85B1B;
    color: #fff;
    font-size: 13px;
    font-weight: normal;
    padding: 5px;
    border-radius: 0;
  }
}



body.ocultar-superdestacada .bloque-superdestacada {
  display: none !important;
}

[id^="tag-"] {
  scroll-margin-top: 150px;
}

.filtros-busqueda-avanzados {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 30px;
  font-family: inherit;
  font-size: 16px;
  border-radius: 8px;
}

.filtros-busqueda-avanzados input[type="search"],
.filtros-busqueda-avanzados input[type="text"] {
  width: 100%;
  max-width: 300px;
  padding: 8px 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.filtros-busqueda-avanzados label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.filtros-busqueda-avanzados button {
  background-color: #F85B1B;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
}

.filtros-busqueda-avanzados button:hover {
  background-color: #e04f14;
}

.filtros-busqueda-avanzados .filtros-fechas,
.filtros-busqueda-avanzados .filtros-categorias {
  margin-top: 20px;
}

.filtros-busqueda-avanzados ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.filtros-busqueda-avanzados ul li a {
  background: #eee;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

.filtros-busqueda-avanzados ul li a:hover,
.filtros-busqueda-avanzados ul li a.active {
  background: #F85B1B;
  color: white;
}

.filtros-busqueda-avanzados h4 {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 600;
}
.form-busqueda-home .busqueda-wrapper {
  display: flex;
  align-items: center;
  background-color: #f0ece6;
  border: 1px solid #ccc;
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
}

.form-busqueda-home input[type="search"] {
  border: none;
  padding: 8px 10px;
  flex-grow: 1;
  font-size: 14px;
  background-color: transparent;
}

.form-busqueda-home input[type="search"]::placeholder {
  color: #666;
}

.form-busqueda-home button {
  background: none;
  border: none;
  padding: 8px 10px;
  border-left: 1px solid #ccc;
  cursor: pointer;
}

.form-busqueda-home button svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: #888;
}



.tendencia-badge {
  display: inline-block;
  background-color: #f85b1b;
  color: #fff;
  padding: 5px;
  font-size: 0.875em;
  line-height: 1;
  text-decoration: none;
}

.tendencia-badge:hover {
  opacity: 0.9;
}

.tendencia-badge .elementor-post-term__link::before {
  content: "#";
  margin-right: 0.25em; /* separa la almohadilla del texto */
}

/* Contenedor de las etiquetas */
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 20px;
}

/* Prefijo en negrita */
.post-tags-prefix {
  font-weight: bold;
  margin-right: 0.5em;
  font-size: 12px; /* Igual que el resto del texto base */
}

/* Cada tag como píldora gris, con texto más pequeño */
.post-tags a {
  display: inline-block;
  background-color: #E0E0E0;
  color: #333333;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;    /* tamaño un poco más chico */
  line-height: 1;
}

/* Hover opcional */
.post-tags a:hover {
  background-color: #e0e0e0;
}

/* 1) Wrapper de la featured image */
.elementor-post .elementor-post__thumbnail {
  position: relative !important;
  overflow: visible !important;
}

/* 2) Círculo en top-right */
.bloque-noticia-chica .video-floating-icon {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 60px !important;
  height: 60px !important;
  pointer-events: none;
  z-index: 1000;
}

/* 3) Pseudo-elemento con tu SVG centrado */
.bloque-noticia-chica .video-floating-icon::after {
  content: "";
  position: absolute;
  width: 60%;    /* escala el icono al 60% del contenedor */
  height: 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('/wp-content/uploads/2025/05/play-icon.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* 4) Oculta el <i> de FontAwesome si lo dejaste allí */
.bloque-noticia-chica .video-floating-icon i {
  display: none !important;
}

body.ocultar-bloque-envivo .bloque-envivo {
  display: none !important;
}




