/* Sostenibilidad Humana · estilos de las plantillas dinámicas del blog.
   Replica las clases atómicas del diseño original (sh-etiqueta, sh-fecha, sh-autor…). */

.elementor .sh-card,
.elementor .sh-post-inner,
.elementor .sh-leido,
.elementor .sh-lista-grid,
.elementor .sh-recientes { --kit-widget-spacing: 0px; }
.elementor .sh-card .elementor-widget,
.elementor .sh-post-inner .elementor-widget,
.elementor .sh-leido .elementor-widget { margin: 0; }

/* ── Etiqueta de tema (pastilla) ── */
.elementor .sh-etiqueta .elementor-heading-title { font: inherit; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.elementor .sh-etiqueta a {
	font-family: "Source Sans 3", sans-serif; font-weight: 400;
	font-size: clamp(12px, 0.94vw, 18px); color: #17323A !important; text-decoration: none;
	padding: 6px 18px; border-radius: 999px; background-color: #BEE8F5; display: inline-block;
	transition: background-color .2s ease;
}
.elementor .sh-etiqueta a:hover, .elementor .sh-etiqueta a:focus-visible { background-color: #A9DCEC; }

/* ── Fecha y autora ── */
.elementor .sh-fecha .elementor-heading-title,
.elementor .sh-autor .elementor-heading-title {
	font-family: "Source Sans 3", sans-serif; font-weight: 400; line-height: normal;
	font-size: clamp(13px, 1.04vw, 20px); color: #6E6153;
}
.elementor .sh-fecha { margin-block-start: clamp(10px, 0.9vw, 17px) !important; }
.elementor .sh-autor { margin-block-start: 6px !important; }

/* ── Tarjeta del listado ── */
.elementor .sh-card {
	padding-block-end: clamp(28px, 3.1vw, 60px);
	margin-block-end: clamp(28px, 3.1vw, 60px);
	border-bottom: 1px solid #C9BFA4;
}
.elementor .sh-c-titulo { margin-block-start: 4px !important; }
.elementor .sh-c-titulo .elementor-heading-title,
.elementor .sh-c-titulo .elementor-heading-title a {
	font-family: "Source Sans 3", sans-serif; font-weight: 500; font-size: 2rem; line-height: 1.2;
	color: #19343B; text-decoration: none;
}
.elementor .sh-c-titulo a:hover { text-decoration: underline; text-underline-offset: 4px; }
.elementor .sh-resumen { margin-block-start: clamp(10px, 0.9vw, 17px) !important; }
.elementor .sh-resumen .elementor-heading-title,
.elementor .sh-resumen .elementor-heading-title a {
	font-family: "Source Sans 3", sans-serif; font-weight: 400;
	font-size: clamp(14px, 1.15vw, 22px); line-height: 1.5; color: #3A362E; text-decoration: none;
}

/* ── Paginación ── */
.elementor .sh-lista-grid .elementor-pagination {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start;
	font-family: "Source Sans 3", sans-serif; font-size: clamp(14px, 1.04vw, 18px); color: #19343B;
}
.elementor .sh-lista-grid .elementor-pagination .page-numbers {
	padding: 6px 14px; border-radius: 999px; color: #17323A; text-decoration: none;
}
.elementor .sh-lista-grid .elementor-pagination a.page-numbers:hover { background-color: #A9DCEC; }
.elementor .sh-lista-grid .elementor-pagination .page-numbers.current { background-color: #BEE8F5; }
.elementor .sh-lista-grid .e-loop-nothing-found-message,
.elementor .sh-lista-grid .e-loop-nothing-found-message__text {
	font-family: "Source Sans 3", sans-serif; font-size: clamp(15px, 1.25vw, 22px); color: #6E6153;
}

/* ── Título del archivo por tema ── */
.elementor .sh-archivo-titulo { margin-block-end: clamp(24px, 2.6vw, 50px) !important; }
.elementor .sh-archivo-titulo .elementor-heading-title {
	font-family: Tinos, serif; font-weight: 700; font-size: clamp(26px, 2.9vw, 56px); line-height: 1.15; color: #19343B;
}

/* ── Barra lateral: artículos recientes numerados ── */
.elementor .sh-recientes .elementor-loop-container { counter-reset: sh-leido; }
.elementor .sh-leido { margin-block-end: clamp(18px, 1.7vw, 32px); }
.elementor .sh-leido-titulo .elementor-heading-title { display: flex; align-items: flex-start; gap: 14px; }
.elementor .sh-leido-titulo .elementor-heading-title::before {
	counter-increment: sh-leido; content: counter(sh-leido, decimal-leading-zero);
	font-family: Tinos, serif; font-weight: 700; font-style: italic; line-height: 1;
	font-size: clamp(22px, 2.1vw, 40px); color: #19343B; flex: 0 0 auto;
}
.elementor .sh-leido-titulo .elementor-heading-title,
.elementor .sh-leido-titulo .elementor-heading-title a {
	font-family: "Source Sans 3", sans-serif; font-weight: 400; font-size: 1rem; line-height: 1.4;
	color: #19343B; text-decoration: none;
}
.elementor .sh-leido-titulo a:hover { text-decoration: underline; }

/* ── Artículo individual ── */
.elementor .sh-post-body {
	position: relative; z-index: 1;
	padding-block-start: calc(clamp(50px, 5.7vw, 110px) + clamp(36px, 6.2vw, 119px)) !important;
	padding-block-end: clamp(60px, 6.8vw, 130px) !important;
	margin-block-start: calc(-1 * clamp(36px, 6.2vw, 119px));
	background-color: #FFFFFF;
	clip-path: polygon(0 0, 100% clamp(36px, 6.2vw, 119px), 100% 100%, 0 100%);
}
.elementor .sh-post-inner {
	width: 100%; max-width: 980px; margin-inline: auto;
	padding-inline: 24px !important;
}
.elementor .sh-post-titulo { margin-block-start: 6px !important; }
.elementor .sh-post-titulo .elementor-heading-title {
	font-family: Tinos, serif; font-weight: 700; font-size: clamp(26px, 2.9vw, 56px); line-height: 1.15; color: #19343B;
}
.elementor .sh-post-inner .sh-autor { margin-block-start: clamp(6px, 0.6vw, 12px) !important; }
.elementor .sh-post-inner .sh-autor .elementor-heading-title { font-size: clamp(14px, 1.15vw, 22px); }
.elementor .sh-cuerpo { margin-block-start: clamp(24px, 2.6vw, 50px) !important; }
.elementor .sh-cuerpo p {
	font-family: "Source Sans 3", sans-serif; font-weight: 400;
	font-size: clamp(15px, 1.25vw, 24px); line-height: 1.6; color: #2E2A22;
	margin: 0 0 clamp(18px, 1.7vw, 32px);
}
.elementor .sh-cuerpo h2, .elementor .sh-cuerpo h3 {
	font-family: Tinos, serif; font-weight: 700; color: #19343B; line-height: 1.2;
	margin: clamp(28px, 2.6vw, 50px) 0 clamp(12px, 1vw, 20px);
}
.elementor .sh-cuerpo img { height: auto; border-radius: 4px; }
.elementor .sh-cuerpo a { color: #17323A; text-decoration: underline; }
.elementor .sh-volver { margin-block-start: clamp(20px, 2vw, 40px) !important; }
.elementor .sh-volver .elementor-heading-title,
.elementor .sh-volver .elementor-heading-title a {
	font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: clamp(14px, 1.04vw, 18px); color: #17323A; text-decoration: none;
}
.elementor .sh-volver a:hover { text-decoration: underline; }
