/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* =========================================================
   NAVEGACIÓN DE NOTICIAS
   Entrada individual - Escritorio
   ========================================================= */

.single-post .post-navigation {
	margin-top: 48px;
	padding-top: 22px;
	border-top: 1px solid #D8E0E7;

	/* Blocksy usa GRID */
	grid-template-columns: 1fr 1fr !important;
	width: 100% !important;
}

/* =========================================================
   ESTRUCTURA DE LOS ENLACES
   ========================================================= */

.single-post .post-navigation > .nav-item-prev,
.single-post .post-navigation > .nav-item-next {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
}

/* ANTERIOR */
.single-post .post-navigation > .nav-item-prev {
	justify-self: stretch !important;
	justify-content: flex-start !important;
	text-align: left !important;
}

/* SIGUIENTE */
.single-post .post-navigation > .nav-item-next {
	justify-self: stretch !important;
	justify-content: flex-end !important;
	text-align: right !important;
}

/* =========================================================
   CONTENIDO INTERNO
   ========================================================= */

.single-post .post-navigation > .nav-item-prev .item-content {
	width: auto !important;
	text-align: left !important;
}

.single-post .post-navigation > .nav-item-next .item-content {
	width: auto !important;
	text-align: right !important;
}

/* Ocultar texto original generado por Blocksy */
.single-post .post-navigation .item-label {
	font-size: 0 !important;
}

/* =========================================================
   TEXTOS PERSONALIZADOS
   ========================================================= */

/* NOTICIA ANTERIOR */
.single-post .post-navigation .nav-item-prev .item-label::after {
	content: "NOTICIA ANTERIOR";
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: #0D3151;
	text-transform: uppercase;
	line-height: 1.4;
}

/* NOTICIA SIGUIENTE */
.single-post .post-navigation .nav-item-next .item-label::after {
	content: "NOTICIA SIGUIENTE";
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: #0D3151;
	text-transform: uppercase;
	line-height: 1.4;
}

/* =========================================================
   FLECHAS GRANDES Y DORADAS
   ========================================================= */

/* Flecha izquierda */
.single-post .post-navigation > .nav-item-prev::before {
	content: "←";
	font-size: 31px;
	font-weight: 700;
	line-height: 1;
	color: #CBA25B;
	margin-right: 14px;
	flex-shrink: 0;
}

/* Flecha derecha */
.single-post .post-navigation > .nav-item-next::after {
	content: "→";
	font-size: 31px;
	font-weight: 700;
	line-height: 1;
	color: #CBA25B;
	margin-left: 14px;
	flex-shrink: 0;
}

/* =========================================================
   HOVER
   ========================================================= */

.single-post .post-navigation a {
	text-decoration: none;
}

.single-post .post-navigation a:hover .item-label::after {
	color: #CBA25B;
}

/* =========================================================
   NOTICIAS RELACIONADAS
   Entrada individual - Escritorio
   ========================================================= */

/* Contenedor de tarjetas */
.single-post .ct-related-posts-items {
	gap: 28px !important;
}

/* Tarjeta */
.single-post .ct-related-posts-items article {
	background: #FFFFFF;
	border: 1px solid #D8E0E7;
	border-radius: 8px;
	overflow: hidden;
	padding-bottom: 18px;
}

/* Imagen */
.single-post .ct-related-posts-items .ct-media-container {
	margin-bottom: 0 !important;
	border-radius: 0 !important;
}

/* Título */
.single-post .ct-related-posts-items .related-entry-title {
	margin: 18px 18px 8px 18px !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #0D3151;
}

/* Enlace del título */
.single-post .ct-related-posts-items .related-entry-title a {
	color: #0D3151;
	text-decoration: none;
}

/* Metadatos */
.single-post .ct-related-posts-items .entry-meta {
	margin: 0 18px !important;
	font-size: 13px;
	line-height: 1.5;
	color: #607080;
}

/* Enlaces de categoría */
.single-post .ct-related-posts-items .entry-meta a {
	color: #0E4885;
	text-decoration: none;
	font-weight: 600;
}

/* Hover del título */
.single-post .ct-related-posts-items .related-entry-title a:hover {
	color: #CBA25B;
}

/* Título de sección */
.single-post .ct-related-posts .ct-module-title {
	text-align: center;
	color: #0D3151;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-bottom: 28px;
}

/* =========================================================
   AJUSTES VISUALES - NOTICIAS RELACIONADAS
   ========================================================= */

/* Metadatos: categoría + fecha */
.single-post .ct-related-posts-items .entry-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 18px 10px 18px !important;
}

/* Categoría como etiqueta */
.single-post .ct-related-posts-items .entry-meta a {
	display: inline-block;
	background: #CBA25B;
	color: #FFFFFF !important;
	padding: 1px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

/* Separador "/" más discreto */
.single-post .ct-related-posts-items .entry-meta .meta-divider {
	color: #B6C0C9;
}

/* Título */
.single-post .ct-related-posts-items .related-entry-title {
	margin: 8px 18px 14px 18px !important;
}

/* Tarjetas con altura visual más pareja */
.single-post .ct-related-posts-items article {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* =========================================================
   AJUSTE FINAL METADATOS - NOTICIAS RELACIONADAS
   ========================================================= */

/* Ocultar separador entre categoría y fecha */
.single-post .ct-related-posts-items .entry-meta .meta-divider {
	display: none !important;
}

/* Separación entre categoría y fecha */
.single-post .ct-related-posts-items .entry-meta {
	column-gap: 12px !important;
}

/* Título de noticia relacionada */
.single-post .ct-related-posts-items .related-entry-title {
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.45;
	margin: 8px 18px 14px 18px !important;
}
