/* Disber News: listado (home, categorías, archivos, búsqueda) y noticia.
   El marcado lleva los estilos inline del diseño (html-original/noticias.html y noticia-*.html);
   aquí van la paginación, el contenido de la entrada y los estados que no caben inline. */

/* ---------- Tarjetas ---------- */
.dc-news-card[hidden] { display: none !important; }
.dc-news-noimg { display: block; background: repeating-linear-gradient(135deg, #F2F5F2 0 12px, #FBFCFB 12px 24px); }
.dc-news-search:focus-within { border-color: #2E7D5B !important; }
.dc-news-search input::placeholder,
.dc-news-boletin input::placeholder { color: #9AA29B; }
.dc-news-search input::-webkit-search-cancel-button { cursor: pointer; }
.dc-news-boletin input[type="email"]:focus { border-color: #2E7D5B !important; }
.dc-news-boletin__acepta input { width: 16px; height: 16px; margin: 0; accent-color: #2E7D5B; flex: none; }
.dc-news-boletin .dc-alert { font-size: 13.5px; padding: 10px 14px; }

/* ---------- Paginación del diseño ---------- */
.dc-np { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; }
.dc-np__num, .dc-np__nav {
	display: inline-flex; align-items: center; justify-content: center; height: 42px; border-radius: 8px;
	background: #fff; border: 1px solid #D6DAD6; color: #2B302D; cursor: pointer; text-decoration: none;
	font-family: 'Archivo', sans-serif; font-weight: 700;
}
.dc-np__num { min-width: 42px; padding: 0 14px; font-size: 13px; }
.dc-np__nav { padding: 0 18px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
a.dc-np__num:hover, button.dc-np__num:not(.current):hover, a.dc-np__nav:hover, button.dc-np__nav:not(.is-disabled):hover { border-color: #2E7D5B; color: #2E7D5B; }
.dc-np__num.current { border: 0; background: #2E7D5B; color: #fff; cursor: default; }
.dc-np__num.dots { border: 0; background: transparent; cursor: default; min-width: 20px; padding: 0 4px; }
.dc-np__nav.is-disabled { border-color: #EAECE8; color: #C4CAC5; cursor: default; }
.dc-np__info { margin-left: 10px; font: 400 11.5px 'JetBrains Mono', monospace; color: #9AA29B; }
.dc-np--js .dc-np__nav { font-size: 12px; letter-spacing: .07em; }
.dc-np--js .dc-np__nav.is-disabled { border-color: #D6DAD6; }

/* ---------- Noticia: contenido (bloques de Gutenberg) ---------- */
.dc-noticia__body > * { margin: 20px 0 0; }
.dc-noticia__body > *:first-child { margin-top: 0; }
.dc-noticia__body p { text-wrap: pretty; }
.dc-noticia__body strong, .dc-noticia__body b { font-weight: 600; color: #1A1F1C; }
.dc-noticia__body a { color: #2E7D5B; text-decoration: underline; text-underline-offset: 2px; }
.dc-noticia__body a:hover { color: #17362A; }
.dc-noticia__body h2, .dc-noticia__body h3, .dc-noticia__body h4 { font-family: 'Archivo', sans-serif; font-weight: 800; color: #1A1F1C; letter-spacing: .01em; line-height: 1.2; text-wrap: pretty; }
.dc-noticia__body h2 { margin-top: 36px; font-size: 25px; }
.dc-noticia__body h3 { margin-top: 30px; font-size: 20px; }
.dc-noticia__body h4 { margin-top: 26px; font-size: 17px; }
.dc-noticia__body ul, .dc-noticia__body ol { padding-left: 24px; }
.dc-noticia__body li + li { margin-top: 6px; }
.dc-noticia__body li::marker { color: #2E7D5B; }
.dc-noticia__body figure { margin-left: 0; margin-right: 0; }
.dc-noticia__body img { height: auto; border-radius: 12px; }
.dc-noticia__body figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: #9AA29B; text-align: left; }
.dc-noticia__body .wp-block-image, .dc-noticia__body .wp-block-gallery { margin-top: 28px; }
.dc-noticia__body hr { border: 0; border-top: 1px solid #E6E8E5; margin-top: 30px; }
.dc-noticia__body .wp-block-embed iframe { max-width: 100%; border-radius: 12px; }

/* Lista «Etiquetas de marca» (chips de EXPOBOIS) */
.dc-noticia__body ul.is-style-marcas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding: 0; list-style: none; }
.dc-noticia__body ul.is-style-marcas li { display: inline-flex; align-items: center; height: 34px; margin: 0; padding: 0 16px; border-radius: 999px; background: #F2F5F2; border: 1px solid #E6E8E5; font: 700 12px 'Archivo', sans-serif; letter-spacing: .08em; color: #1E4A38; }

/* Cita: recuadro oscuro del diseño (una línea por párrafo; la última en verde) */
.dc-noticia__body blockquote, .dc-noticia__body .wp-block-quote {
	margin: 28px 0 0; padding: 26px 30px; border: 0; border-radius: 12px; background: #0F241B;
	display: flex; flex-direction: column; gap: 10px;
}
.dc-noticia__body blockquote > * { margin: 0; font: italic 600 17px/1.5 'Source Sans 3', sans-serif; color: #fff; }
.dc-noticia__body blockquote > p:last-of-type:not(:only-of-type) { color: #7FC0A2; }
.dc-noticia__body blockquote cite { font: 400 13px 'JetBrains Mono', monospace; font-style: normal; color: #8FA79A; }
.dc-noticia__body blockquote strong { color: inherit; }
.dc-noticia__body blockquote a { color: #7FC0A2; }

.dc-noticia__pages { margin-top: 24px; font: 600 13px 'Archivo', sans-serif; }

/* Últimas entradas del lateral: el título toma el verde al pasar el ratón */
.dc-noticia__ultima:hover .dc-noticia__ultima-t { color: #2E7D5B !important; }
.admin-bar .dc-noticia__aside { top: 142px !important; }
