/*
Theme Name: Blocksy Child Noticia.do
Template: blocksy
Version: 1.0
*/
/*!
Theme Name: Blocksy
Theme URI: https://creativethemes.com/blocksy/
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Version: 2.1.40
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) 2019 CreativeThemes.
Requires at least: 6.5
Requires PHP: 7.0
Tested up to: 7.0
Text Domain: blocksy
Blocksy Minimum Companion Version: 2.1.36-dev1
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/

/* Ajustes portada Noticia.do dev */
body.home .ct-container,
body.home .site-main,
body.home main#site-main {
  max-width: 1220px !important;
}

body.home .entry-content {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .nd-home {
  max-width: 1180px !important;
}

body.home .nd-title {
  font-size: 44px !important;
}

body.home .nd-main-grid {
  gap: 38px !important;
}

body.home .nd-main-grid .wp-block-post-title {
  font-size: 36px !important;
}

body.home .nd-subcats {
  gap: 28px !important;
}

body.home .nd-subbox .wp-block-post-title {
  font-size: 17px !important;
}

/* Quitar título de página Inicio Dev y subir portada */
body.home .entry-header,
body.home .hero-section,
body.home .page-title,
body.home h1.entry-title {
  display: none !important;
}

body.home .site-main,
body.home main#site-main,
body.home .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.home .nd-home {
  padding-top: 18px !important;
}

body.home .nd-kicker {
  margin-top: 0 !important;
}

/* H1 visible de portada Noticia.do */
body.home .hero-section.is-width-constrained,
body.home .hero-section,
body.home header.entry-header,
body.home h1.page-title {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
}

body.home .hero-section {
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
}

body.home h1.page-title {
  font-size: 34px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  color: #07152f !important;
  margin-bottom: 8px !important;
}

/* H2 editorial Santiago/Cibao */
body.home .nd-title {
  font-size: 38px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  color: #07152f !important;
}

/* Centrar encabezado principal de la portada */
body.home .hero-section,
body.home .hero-section.is-width-constrained,
body.home header.entry-header {
  text-align: center !important;
}

body.home h1.page-title {
  text-align: center !important;
  max-width: 1100px !important;
  margin: 0 auto 26px !important;
}

/* Centrar bloque editorial superior */
body.home .nd-home:first-of-type {
  text-align: center !important;
}

body.home .nd-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .nd-desc {
  text-align: center !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Centrar el kicker rojo */
body.home .nd-kicker {
  display: inline-block !important;
  text-align: center !important;
  margin: 0 auto 22px !important;
}

/* Normalizar bloques secundarios: Cibao, Nacionales y siguientes */
body.home .nd-category-block {
  max-width: 1180px !important;
  margin: 28px auto 0 !important;
  padding: 0 18px !important;
}

body.home .nd-category-title {
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  margin: 28px 0 10px !important;
  border-top: 3px solid #111 !important;
  padding-top: 10px !important;
  color: #07152f !important;
}

body.home .nd-category-desc {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #555 !important;
  margin: -2px 0 16px !important;
}

body.home .nd-category-block .wp-block-post-template {
  gap: 18px !important;
}

body.home .nd-category-block .wp-block-post-featured-image img,
body.home .nd-category-block img {
  width: 100% !important;
  height: 165px !important;
  object-fit: cover !important;
}

body.home .nd-category-block .wp-block-post-title {
  font-size: 17px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  margin: 8px 0 6px !important;
}

body.home .nd-category-block .wp-block-post-title a {
  color: #07152f !important;
  text-decoration: none !important;
}

body.home .nd-category-block .wp-block-post-title a:hover {
  text-decoration: underline !important;
}

body.home .nd-category-block .wp-block-post-excerpt {
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #555 !important;
  margin-top: 4px !important;
}

body.home .nd-category-block .wp-block-post-excerpt p {
  margin-bottom: 6px !important;
}

body.home .nd-category-block .wp-block-post-excerpt__more-link,
body.home .nd-category-block .wp-block-read-more {
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

/* Que el bloque principal siga dominando */
body.home .nd-main-grid .wp-block-post-title {
  font-size: 26px !important;
  line-height: 1.08 !important;
}

body.home .nd-side .wp-block-post-title {
  font-size: 17px !important;
  line-height: 1.18 !important;
}

/* Mejor respiración entre módulos */
body.home .nd-category-block + .nd-category-block {
  margin-top: 34px !important;
}

/* Imagen destacada en entradas individuales */
.single-post .nd-single-featured-image {
  max-width: 760px;
  margin: 0 auto 26px auto;
}

.single-post .nd-single-featured-image img,
.single-post img.nd-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .single-post .nd-single-featured-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/* Ajuste fino para que Nacionales no compita con Santiago/Cibao */
body.home .nd-category-block .wp-block-post-template.is-layout-grid {
  gap: 18px !important;
}

body.home .nd-category-block .wp-block-post-title {
  font-size: 16px !important;
  line-height: 1.15 !important;
}

body.home .nd-category-block .wp-block-post-excerpt {
  font-size: 11.5px !important;
  line-height: 1.42 !important;
}

body.home .nd-category-block .wp-block-post-excerpt__more-link {
  font-size: 11px !important;
}

/* Mejor equilibrio en bloques compactos */
body.home .nd-mini-section h2,
body.home .nd-final-section h2 {
  font-size: 20px !important;
}

body.home .nd-mini-section .wp-block-post-title,
body.home .nd-final-section .wp-block-post-title {
  font-size: 15.5px !important;
  line-height: 1.2 !important;
}

/* Subir bloque editorial inicial de la portada */
body.home .hero-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.home .entry-content {
  padding-top: 0 !important;
  margin-top: -18px !important;
}

body.home .nd-home:first-of-type {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Ajustes finales de ritmo visual portada */
body.home .entry-content {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .nd-home,
body.home .nd-category-block,
body.home .nd-two-col-block,
body.home .nd-three-col-block {
  max-width: 1120px !important;
}

body.home .nd-category-block,
body.home .nd-two-col-block,
body.home .nd-three-col-block {
  margin-top: 30px !important;
}

body.home .nd-section-title,
body.home .nd-category-title,
body.home .nd-mini-section,
body.home .nd-final-section {
  border-top-width: 2px !important;
}

body.home .nd-category-desc,
body.home .nd-mini-section p,
body.home .nd-final-section p {
  line-height: 1.35 !important;
}

/* Evitar que el último bloque quede pegado al footer */
body.home .nd-three-col-block {
  padding-bottom: 50px !important;
}

/* Espacios reservados para anuncios AdSense - Noticia.do */
.nd-ad-slot {
  max-width: 1120px;
  min-height: 280px;
  margin: 34px auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  clear: both;
  overflow: hidden;
  box-sizing: border-box;
}

.nd-ad-slot .adsbygoogle {
  display: block !important;
  width: 100% !important;
  min-height: 280px !important;
}

/* Banner horizontal */
.nd-ad-slot.nd-ad-banner {
  min-height: 120px;
}

.nd-ad-slot.nd-ad-banner .adsbygoogle {
  min-height: 120px !important;
}

/* Anuncio móvil */
@media (max-width: 768px) {
  .nd-ad-slot {
    min-height: 250px;
    margin: 28px auto;
    padding: 0 14px;
  }

  .nd-ad-slot .adsbygoogle {
    min-height: 250px !important;
  }

  .nd-ad-slot.nd-ad-banner {
    min-height: 100px;
  }

  .nd-ad-slot.nd-ad-banner .adsbygoogle {
    min-height: 100px !important;
  }
}

/* Ajuste visual banner cookies */
.nd-cookie-banner {
  padding-left: 28px !important;
  padding-right: 28px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.nd-cookie-text {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

@media (max-width: 768px) {
  .nd-cookie-banner {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Hacer más compacto el aviso de cookies en desktop */
@media (min-width: 769px) {
  .nd-cookie-banner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 74px !important;
  }

  .nd-cookie-text {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  #nd-cookie-accept {
    padding: 10px 26px !important;
    min-width: 120px !important;
  }
}

/* Cookie banner más delgado */
@media (min-width: 769px) {
  .nd-cookie-banner {
    min-height: 54px !important;
    height: 54px !important;
    padding: 8px 20px !important;
  }

  .nd-cookie-text {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  #nd-cookie-accept {
    padding: 8px 22px !important;
    min-width: 110px !important;
    font-size: 14px !important;
    border-radius: 5px !important;
  }
}

/* En móvil mantenerlo legible */
@media (max-width: 768px) {
  .nd-cookie-banner {
    padding: 12px 14px !important;
  }

  .nd-cookie-text {
    font-size: 13px !important;
  }
}

/* Footer Noticia.do - ajustes visuales */
footer,
.ct-footer,
.site-footer {
  font-family: Arial, Helvetica, sans-serif;
}

.ct-footer h2,
.ct-footer h3,
.ct-footer .widget-title {
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  color: #07152f !important;
  margin-bottom: 16px !important;
}

.ct-footer p,
.ct-footer li,
.ct-footer a {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.ct-footer a {
  color: #07152f !important;
  text-decoration: none !important;
}

.ct-footer a:hover {
  text-decoration: underline !important;
}

.ct-footer ul {
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.ct-footer li {
  margin-bottom: 10px !important;
}

.ct-footer [class*="social"],
.ct-footer .ct-social-box {
  gap: 10px !important;
}

.ct-footer .ct-social-box a,
.ct-footer .ct-socials a {
  width: 38px !important;
  height: 38px !important;
  border-radius: 6px !important;
}

.ct-footer .ct-container,
.ct-footer [data-row] > div {
  max-width: 1120px !important;
}

.ct-footer [data-row] {
  padding-top: 34px !important;
  padding-bottom: 28px !important;
}

@media (max-width: 768px) {
  .ct-footer h2,
  .ct-footer h3,
  .ct-footer .widget-title {
    font-size: 20px !important;
  }

  .ct-footer p,
  .ct-footer li,
  .ct-footer a {
    font-size: 14px !important;
  }
}

/* Ajuste final del footer Noticia.do */
.ct-footer [data-row] {
  padding-top: 42px !important;
  padding-bottom: 24px !important;
}

.ct-footer h3,
.ct-footer .widget-title {
  margin-bottom: 18px !important;
}

.ct-footer p {
  margin-bottom: 14px !important;
}

.ct-footer .nd-footer-socials {
  margin-top: 10px !important;
}

.ct-footer .ct-container {
  max-width: 1180px !important;
}

.ct-footer [data-row*="bottom"] {
  padding-top: 12px !important;
  padding-bottom: 18px !important;
}

.ct-footer [data-row*="bottom"] p,
.ct-footer [data-row*="bottom"] div {
  font-size: 14px !important;
}

/* Compactar footer Noticia.do */
.ct-footer [data-row] {
  padding-top: 34px !important;
  padding-bottom: 14px !important;
}

.ct-footer [data-row] .ct-container {
  align-items: flex-start !important;
}

.ct-footer h3,
.ct-footer .widget-title {
  font-size: 28px !important;
  margin-bottom: 14px !important;
}

.ct-footer p,
.ct-footer li,
.ct-footer a {
  font-size: 15.5px !important;
  line-height: 1.45 !important;
}

.ct-footer p {
  margin-bottom: 10px !important;
}

.ct-footer .nd-footer-socials {
  margin-top: 8px !important;
}

.ct-footer [data-row*="bottom"] {
  padding-top: 6px !important;
  padding-bottom: 12px !important;
}

.ct-footer [data-row*="bottom"] .ct-container {
  min-height: auto !important;
}

.ct-footer [data-row*="bottom"] p,
.ct-footer [data-row*="bottom"] div {
  font-size: 13.5px !important;
  margin: 0 !important;
}

/* Ajustar separación entre columnas del footer y copyright */
.ct-footer [data-row*="middle"],
.ct-footer [data-row="middle"] {
  padding-bottom: 0 !important;
}

.ct-footer [data-row*="bottom"],
.ct-footer [data-row="bottom"] {
  margin-top: -22px !important;
  padding-top: 0 !important;
}

/* Legibilidad final del footer */
.ct-footer h3,
.ct-footer .widget-title {
  font-size: 20px !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

.ct-footer p,
.ct-footer li,
.ct-footer a {
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

.ct-footer [data-row*="bottom"] p,
.ct-footer [data-row*="bottom"] div {
  font-size: 12px !important;
}

/* Footer Noticia.do - tamaño equilibrado final */
.ct-footer h3,
.ct-footer .widget-title {
  font-size: 18px !important;
  line-height: 1.2 !important;
  margin-bottom: 12px !important;
  font-weight: 900 !important;
}

.ct-footer p,
.ct-footer li,
.ct-footer a {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

.ct-footer [data-row*="bottom"] p,
.ct-footer [data-row*="bottom"] div {
  font-size: 12.5px !important;
}

.ct-footer [data-row] {
  padding-top: 32px !important;
  padding-bottom: 18px !important;
}

.ct-footer [data-row*="bottom"] {
  margin-top: -10px !important;
  padding-top: 0 !important;
  padding-bottom: 14px !important;
}

/* Reducir espacio antes del footer en portada */
body.home .nd-three-col-block {
  margin-bottom: 18px !important;
  padding-bottom: 18px !important;
}

body.home .entry-content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.home main#site-main {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.home + .ct-footer,
body.home .ct-footer,
.ct-footer {
  margin-top: 0 !important;
}

/* Estilo más moderno: menos rayas en portada */

/* Quitar líneas fuertes de subtítulos internos */
body.home .nd-section-title,
body.home .nd-mini-section,
body.home .nd-final-section {
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* Mantener una línea editorial suave solo en bloques principales */
body.home .nd-category-title {
  border-top: 1px solid #d8dee6 !important;
  padding-top: 12px !important;
}

/* Santiago primero: mantener acento, pero no tan dominante */
body.home .nd-kicker {
  border-bottom: 1px solid #111 !important;
  padding-bottom: 7px !important;
  margin-bottom: 18px !important;
}

/* Separación limpia entre módulos */
body.home .nd-main-grid,
body.home .nd-subcats,
body.home .nd-category-block,
body.home .nd-two-col-block,
body.home .nd-three-col-block {
  margin-top: 30px !important;
}

/* Títulos de módulos compactos sin línea negra */
body.home .nd-mini-section h2,
body.home .nd-final-section h2 {
  border-bottom: 1px solid #d8dee6 !important;
  padding-bottom: 6px !important;
}

/* Suavizado final de líneas en módulos compactos */
body.home .nd-mini-section,
body.home .nd-final-section {
  border-top: 1px solid #d9dee6 !important;
}

body.home .nd-mini-section h2,
body.home .nd-final-section h2 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

body.home .nd-subbox {
  border-top: 1px solid #d9dee6 !important;
}

body.home .nd-category-title {
  border-top: 1px solid #cfd6df !important;
}

/* Mantener la línea del bloque Santiago como acento editorial */
body.home .nd-kicker {
  border-bottom: 2px solid #111 !important;
}

/* Ajuste móvil H1 portada */
@media (max-width: 768px) {
  body.home h1.page-title {
    font-size: 28px !important;
    line-height: 1.18 !important;
    margin-bottom: 22px !important;
  }

  body.home .hero-section {
    padding-top: 28px !important;
    padding-bottom: 10px !important;
  }

  body.home .nd-title {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  body.home .nd-kicker {
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }
}

/* Ajuste móvil más compacto para portada */
@media (max-width: 768px) {
  body.home h1.page-title {
    font-size: 24px !important;
    line-height: 1.16 !important;
    max-width: 92% !important;
    margin: 0 auto 18px !important;
  }

  body.home .hero-section {
    padding-top: 18px !important;
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
  }

  body.home .nd-home {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body.home .nd-title {
    font-size: 25px !important;
    line-height: 1.16 !important;
  }

  body.home .nd-kicker {
    font-size: 11px !important;
    letter-spacing: .06em !important;
    margin-bottom: 12px !important;
  }

  body.home .nd-desc {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}

/* Ajuste final móvil portada y artículos Noticia.do */
@media (max-width: 768px) {

  /* H1 portada */
  body.home h1.page-title {
    font-size: 22px !important;
    line-height: 1.18 !important;
    max-width: 92% !important;
    margin: 0 auto 16px !important;
  }

  body.home .hero-section {
    padding-top: 14px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* H2 principal portada */
  body.home .nd-title {
    font-size: 24px !important;
    line-height: 1.15 !important;
  }

  body.home .nd-home {
    padding-top: 18px !important;
  }

  /* Título de artículos individuales */
  body.single-post h1.entry-title,
  body.single-post h1.page-title {
    font-size: 30px !important;
    line-height: 1.18 !important;
    margin-bottom: 18px !important;
  }

  /* Meta de autor/fecha/categoría */
  body.single-post .entry-meta,
  body.single-post .post-meta {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  /* Imagen destacada en artículos */
  body.single-post .nd-single-featured-image {
    margin-top: 18px !important;
    margin-bottom: 20px !important;
  }
}

/* Ajuste fuerte de títulos móviles - Noticia.do */
@media (max-width: 768px) {

  /* Portada: H1 principal */
  body.home.page-id-169100 .hero-section h1.page-title,
  body.home .hero-section h1.page-title,
  body.home h1.page-title {
    font-size: 22px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
    max-width: 92% !important;
    margin: 0 auto 14px !important;
  }

  /* Portada: espacio del hero */
  body.home.page-id-169100 .hero-section,
  body.home .hero-section {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Portada: H2 Santiago */
  body.home .nd-title {
    font-size: 23px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
  }

  body.home .nd-kicker {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }

  /* Artículos individuales: título */
  body.single-post .hero-section h1.page-title,
  body.single-post h1.page-title,
  body.single-post h1.entry-title {
    font-size: 28px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
  }

  /* Artículos: reducir espacio superior */
  body.single-post .hero-section {
    padding-top: 20px !important;
    padding-bottom: 14px !important;
  }

  /* Meta del artículo */
  body.single-post .entry-meta,
  body.single-post .post-meta,
  body.single-post .ct-meta-element {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }

  /* Imagen destacada */
  body.single-post .nd-single-featured-image {
    margin-top: 12px !important;
    margin-bottom: 18px !important;
  }
}

/* Portada móvil: compactar H1 y hero */
@media (max-width: 768px) {
  body.home .hero-section .entry-header .page-title,
  body.home .hero-section h1.page-title {
    font-size: 20px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    max-width: 88% !important;
  }

  body.home .hero-section {
    padding-top: 6px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  body.home .hero-section .entry-header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body.home .entry-content {
    margin-top: -8px !important;
  }

  body.home .nd-home:first-of-type {
    padding-top: 8px !important;
  }

  body.home .nd-title {
    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
  }
}

/* Forzar tamaño real de títulos en móvil - Blocksy */
@media (max-width: 768px) {

  body.home [data-prefix="single_page"] .page-title,
  body.home .hero-section[data-type="type-1"] .page-title,
  body.home h1[itemprop="headline"] {
    font-size: 20px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
  }

  body.single-post [data-prefix="single_blog_post"] .page-title,
  body.single-post .hero-section[data-type="type-1"] .page-title,
  body.single-post h1[itemprop="headline"] {
    font-size: 26px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
  }

  body.single-post .hero-section,
  body.home .hero-section {
    padding-top: 12px !important;
    padding-bottom: 8px !important;
  }
}

/* Ajuste visual de archivos de categorías Noticia.do */
.archive.category .entries,
.archive.category .ct-container article,
.archive.category article {
  box-sizing: border-box !important;
}

/* Tarjetas de categorías más uniformes */
.archive.category article {
  background: #fff !important;
  border: 1px solid #edf0f4 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.025) !important;
}

/* Contenido interno con aire */
.archive.category article .entry-card,
.archive.category article .card-content,
.archive.category article .entry-content,
.archive.category article .ct-entry-content,
.archive.category article .entry-header {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Títulos de tarjetas */
.archive.category article h2,
.archive.category article .entry-title {
  font-size: 18px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  margin-bottom: 12px !important;
  min-height: 64px !important;
}

/* Enlaces de títulos */
.archive.category article h2 a,
.archive.category article .entry-title a {
  color: #07152f !important;
  text-decoration: none !important;
}

.archive.category article h2 a:hover,
.archive.category article .entry-title a:hover {
  color: #b00020 !important;
  text-decoration: underline !important;
}

/* Imagen uniforme */
.archive.category article .ct-media-container,
.archive.category article figure,
.archive.category article .post-thumbnail {
  width: 100% !important;
  margin: 0 !important;
}

.archive.category article img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Extractos más parejos */
.archive.category article .entry-excerpt,
.archive.category article .wp-block-post-excerpt,
.archive.category article .excerpt,
.archive.category article p {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #3d4654 !important;
}

/* Meta al fondo de la tarjeta */
.archive.category article .entry-meta,
.archive.category article .post-meta,
.archive.category article .ct-meta-element {
  font-size: 10.5px !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
  color: #4d5b6f !important;
  margin-top: auto !important;
  padding-top: 14px !important;
}

/* Mejor separación del grid */
.archive.category .entries {
  gap: 26px !important;
}

/* Encabezado de categoría */
.archive.category .hero-section .page-title,
.archive.category h1.page-title {
  font-size: 30px !important;
  line-height: 1.2 !important;
}

.archive.category .archive-description,
.archive.category .taxonomy-description {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #3d4654 !important;
}

/* Móvil */
@media (max-width: 768px) {
  .archive.category article h2,
  .archive.category article .entry-title {
    font-size: 18px !important;
    min-height: auto !important;
  }

  .archive.category article img {
    height: 210px !important;
  }

  .archive.category .entries {
    gap: 22px !important;
  }
}

/* Descripciones de secciones principales más discretas */
body.home .nd-category-desc {
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #5f6b7a !important;
  margin: 4px 0 18px !important;
  max-width: 760px !important;
}

body.home .nd-category-title {
  margin-bottom: 4px !important;
}

/* En móvil, todavía más compactas */
@media (max-width: 768px) {
  body.home .nd-category-desc {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
  }
}

/* Ajuste final Cibao y Nacionales en portada */
body.home .nd-category-block .wp-block-post-title,
body.home .nd-category-block .wp-block-post-title a {
  font-size: 21px !important;
  line-height: 1.12 !important;
  font-weight: 850 !important;
  letter-spacing: -0.015em !important;
  color: #07152f !important;
}

body.home .nd-category-block .wp-block-post-title {
  margin: 10px 0 8px !important;
}

/* Descripciones de Cibao/Nacionales más discretas */
body.home .nd-category-desc {
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #5f6b7a !important;
  margin: 2px 0 18px !important;
  max-width: 760px !important;
}

/* Extractos de Cibao/Nacionales */
body.home .nd-category-block .wp-block-post-excerpt,
body.home .nd-category-block .wp-block-post-excerpt p {
  font-size: 13px !important;
  line-height: 1.42 !important;
  color: #3d4654 !important;
}

/* Imágenes de Cibao/Nacionales más parejas */
body.home .nd-category-block .wp-block-post-featured-image img {
  height: 190px !important;
  object-fit: cover !important;
}

/* Títulos de sección Cibao/Nacionales */
body.home .nd-category-title {
  font-size: 22px !important;
  line-height: 1.2 !important;
  margin-bottom: 4px !important;
}

/* Móvil: mantener legible sin exagerar */
@media (max-width: 768px) {
  body.home .nd-category-block .wp-block-post-title,
  body.home .nd-category-block .wp-block-post-title a {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }

  body.home .nd-category-desc {
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }

  body.home .nd-category-block .wp-block-post-featured-image img {
    height: 185px !important;
  }
}

/* Menú Noticia.do: acento rojo editorial */
.ct-header nav a {
  color: #07152f !important;
  font-weight: 800 !important;
}

.ct-header nav a:hover,
.ct-header nav .current-menu-item > a,
.ct-header nav .current_page_item > a {
  color: #c4001a !important;
}

}
}

/* Menú Noticia.do: limpio con acento rojo */
.ct-header nav a {
  color: #07152f !important;
  font-weight: 800 !important;
  transition: color .2s ease, background .2s ease;
}

.ct-header nav a:hover,
.ct-header nav .current-menu-item > a,
.ct-header nav .current_page_item > a {
  color: #c4001a !important;
}




/* Ajuste final footer producción Noticia.do */
.ct-footer [data-row] {
  padding-top: 34px !important;
  padding-bottom: 18px !important;
}

.ct-footer .ct-container {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ct-footer h3,
.ct-footer .widget-title {
  font-size: 22px !important;
  line-height: 1.2 !important;
  margin-bottom: 14px !important;
  font-weight: 900 !important;
}

.ct-footer p,
.ct-footer li,
.ct-footer a {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.ct-footer [data-row*="bottom"] {
  padding-top: 10px !important;
  padding-bottom: 16px !important;
}

.ct-footer [data-row*="bottom"] .ct-container {
  justify-content: flex-start !important;
}

.ct-footer [data-row*="bottom"] p,
.ct-footer [data-row*="bottom"] div {
  font-size: 13.5px !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

@media (max-width: 768px) {
  .ct-footer [data-row] {
    padding-top: 26px !important;
    padding-bottom: 16px !important;
  }

  .ct-footer h3,
  .ct-footer .widget-title {
    font-size: 20px !important;
  }

  .ct-footer p,
  .ct-footer li,
  .ct-footer a {
    font-size: 14px !important;
  }
}

/* Corrección fuerte footer producción Noticia.do */
.ct-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.ct-footer [data-row],
.ct-footer [data-row*="middle"],
.ct-footer [data-row*="bottom"] {
  min-height: auto !important;
  margin-top: 0 !important;
}

.ct-footer [data-row*="middle"] {
  padding-top: 38px !important;
  padding-bottom: 28px !important;
}

.ct-footer [data-row*="bottom"] {
  padding-top: 0 !important;
  padding-bottom: 18px !important;
}

.ct-footer .ct-container {
  max-width: 1180px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.ct-footer [data-row*="bottom"] .ct-container {
  justify-content: flex-start !important;
  align-items: center !important;
}

.ct-footer [data-row*="bottom"] p,
.ct-footer [data-row*="bottom"] div {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

/* Evitar espacio gigante heredado del footer builder */
.ct-footer [data-column],
.ct-footer [data-column] > * {
  margin-top: 0 !important;
}

/* Móvil */
@media (max-width: 768px) {
  .ct-footer [data-row*="middle"] {
    padding-top: 28px !important;
    padding-bottom: 20px !important;
  }

  .ct-footer .ct-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Header Noticia.do - menú negro/azul, sin rojo */
.ct-header nav a,
.ct-header [data-id="menu"] a,
.ct-header [data-id="menu-secondary"] a {
  color: #07152f !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  padding-left: 9px !important;
  padding-right: 9px !important;
}

/* Hover y activo en azul, no rojo */
.ct-header nav a:hover,
.ct-header [data-id="menu"] a:hover,
.ct-header [data-id="menu-secondary"] a:hover,
.ct-header nav .current-menu-item > a,
.ct-header nav .current_page_item > a {
  color: #0057d9 !important;
  border-color: #0057d9 !important;
}

/* Quitar rojo heredado */


/* Santiago solo azul al pasar o si está activo */


/* Compactar header para que Santiago no caiga en More */
.ct-header .ct-container,
.ct-header [data-row] .ct-container {
  max-width: 1280px !important;
}

.ct-header [data-id="logo"] img {
  max-width: 165px !important;
  height: auto !important;
}

/* Reducir espacio entre logo y menú */
.ct-header [data-column="start"] {
  flex: 0 0 auto !important;
}

.ct-header [data-column="middle"],
.ct-header [data-column="end"] {
  gap: 8px !important;
}

/* Copyright del footer alineado */
.ct-footer [data-row*="bottom"] .ct-container {
  padding-left: 24px !important;
  padding-right: 24px !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ct-footer [data-row*="bottom"] {
  overflow: visible !important;
}

/* Corrección definitiva: evitar que títulos se monten sobre imágenes en portada */
body.home .nd-category-block .wp-block-post {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  overflow: visible !important;
}

body.home .nd-category-block .wp-block-post-featured-image,
body.home .nd-category-block .wp-block-post-featured-image a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

body.home .nd-category-block .wp-block-post-featured-image img {
  display: block !important;
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home .nd-category-block .wp-block-post-title,
body.home .nd-category-block h2.wp-block-post-title,
body.home .nd-category-block h3.wp-block-post-title {
  display: block !important;
  position: static !important;
  clear: both !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 2 !important;
  font-size: 18px !important;
  line-height: 1.16 !important;
  font-weight: 850 !important;
}

body.home .nd-category-block .wp-block-post-title a {
  display: inline !important;
  color: #07152f !important;
  text-decoration: none !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.home .nd-category-block .wp-block-post-excerpt,
body.home .nd-category-block .wp-block-post-excerpt p {
  margin-top: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.42 !important;
}

body.home .nd-category-block .wp-block-post-excerpt__more-text {
  margin-top: 6px !important;
}

/* También aplica si WordPress usa clase front-page en lugar de home */
body.front-page .nd-category-block .wp-block-post-title,
body.front-page .nd-category-block h2.wp-block-post-title,
body.front-page .nd-category-block h3.wp-block-post-title {
  position: static !important;
  margin-top: 0 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  body.home .nd-category-block .wp-block-post-featured-image img {
    height: 180px !important;
  }

  body.home .nd-category-block .wp-block-post-title,
  body.home .nd-category-block h2.wp-block-post-title,
  body.home .nd-category-block h3.wp-block-post-title {
    font-size: 18px !important;
    line-height: 1.18 !important;
  }
}
