.eml-article-page {
	padding-bottom: 56px;
}

.eml-article-page__article {
	margin: 0 auto;
}

.eml-article-page__header {
	max-width: 980px;
	margin: 0 auto 34px;
	padding: 8px 0 0;
}

.eml-article-page__labels {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.eml-article-page__source,
.eml-article-page__category {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid #d6ddd7;
	background: #f5f8f5;
	color: #163427;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.eml-article-page__source {
	background: #163427;
	border-color: #163427;
	color: #fff;
}

.eml-article-page__title {
	margin: 0 0 18px;
	color: var(--eml-art-title-color, #101714);
	font-size: var(--eml-art-title-size, 52px);
	font-weight: var(--eml-art-title-weight, 700);
	font-style: var(--eml-art-title-style, normal);
	line-height: var(--eml-art-title-lh, 1.02);
	letter-spacing: var(--eml-art-title-ls, -0.04em);
}

.eml-article-page__dek {
	max-width: 820px;
	margin: 0 0 20px;
	color: #42514a;
	font-size: 21px;
	line-height: 1.5;
}

.eml-article-page__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 26px;
	color: #55635c;
	font-size: 14px;
	font-weight: 600;
}

.eml-article-page__firma {
	color: #1a2e25;
}

a.eml-article-page__firma {
	text-decoration: none;
}

a.eml-article-page__firma:hover,
a.eml-article-page__firma:focus {
	color: #9f1d1d;
	text-decoration: underline;
}

.eml-article-page__hero {
	margin: 0;
}

.eml-article-page__hero img {
	display: block;
	width: 100%;
	height: auto;
}

.eml-article-page__caption {
	margin-top: 10px;
	color: #5e6b65;
	font-size: 13px;
	line-height: 1.5;
}

.eml-article-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: start;
}

.eml-article-page__content {
	min-width: 0;
	color: var(--eml-art-body-color, var(--eml-text, #131a17));
	font-size: var(--eml-art-body-size, 20px);
	font-weight: var(--eml-art-body-weight, 400);
	line-height: var(--eml-art-body-lh, 1.8);
}

.eml-article-page__content > *:first-child {
	margin-top: 0;
}

.eml-article-page__content p,
.eml-article-page__content ul,
.eml-article-page__content ol,
.eml-article-page__content blockquote {
	max-width: 760px;
}

.eml-article-page__content blockquote {
	margin: 34px 0;
	padding: 22px 26px;
	border-left: 4px solid #163427;
	background: #f4f7f4;
	color: #163427;
	font-size: 28px;
	line-height: 1.35;
}

.eml-article-page__content h2,
.eml-article-page__content h3,
.eml-article-page__content h4 {
	color: #0d1612;
	letter-spacing: -0.03em;
}

.eml-article-page__sidebar {
	position: sticky;
	top: 24px;
}

.eml-article-page__sidebar-block {
	margin-bottom: 24px;
	padding: 24px;
	border: 1px solid #d8dfda;
	background: linear-gradient(180deg, #f7faf8 0%, #eef4ef 100%);
}

.eml-article-page__sidebar-eyebrow {
	margin: 0 0 8px;
	color: #617069;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eml-article-page__sidebar-title {
	margin: 0 0 12px;
	color: #11231a;
	font-size: 26px;
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.eml-article-page__sidebar-link {
	color: #163427;
	font-size: 14px;
	font-weight: 700;
}

.eml-article-page__related-list {
	display: grid;
	gap: 18px;
}

.eml-article-page__related-list--opinion {
	gap: 24px;
}

.eml-article-related-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.eml-article-related-card--portrait {
	grid-template-columns: 72px minmax(0, 1fr);
}

.eml-article-related-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.eml-article-related-card__media--portrait {
	display: block;
	width: 72px;
	max-width: 100%;
}

.eml-article-related-card__media--portrait img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 3px solid #e6ddd2;
	background: #eee4db;
}

.eml-article-related-card__media--portrait .eml-opinion-card__portrait-image--placeholder {
	object-fit: contain;
}

.eml-article-related-card__date {
	display: block;
	margin-bottom: 6px;
	color: #66756f;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.eml-article-related-card__contributor {
	display: block;
	margin: -2px 0 7px;
	color: #111314;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.eml-article-related-card__title {
	margin: 0;
	font-size: var(--eml-related-title-size, 18px);
	font-weight: var(--eml-related-title-weight, 700);
	line-height: var(--eml-related-title-lh, 1.25);
	letter-spacing: var(--eml-related-title-ls, -0.03em);
}

.eml-article-related-card__title a {
	color: var(--eml-related-title-color, inherit);
}

.eml-article-page__tags {
	margin: 38px 0 30px;
	padding-top: 24px;
	border-top: 1px solid #d9dfdb;
}

.eml-article-page__tags-label {
	display: block;
	margin-bottom: 12px;
	color: #5e6d66;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eml-article-page__tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.eml-article-page__tag {
	padding: 8px 12px;
	background: #f4f7f4;
	border: 1px solid #d8dfda;
	color: #163427;
	font-size: 13px;
	font-weight: 700;
}

.eml-article-page__author-box {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 18px;
	margin-top: 36px;
	padding: 24px;
	background: #f5f8f5;
	border: 1px solid #d8dfda;
}

.eml-article-page__author-avatar img {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50%;
}

.eml-article-page__author-name {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.1;
}

.eml-article-page__author-bio {
	margin: 0;
	color: #4f5d57;
	font-size: 15px;
	line-height: 1.65;
}

/* ==========================================================================
   Opinion article page — modifier & new components
   Uses the warm brown palette established on the Opinión landing page.
   ========================================================================== */

/* Typography variables — defaults match the base article styles.
   Overridden at runtime via inline <style id="eml-opinion-styles"> injected
   by admin-opinion-styles.php when admin settings differ from the defaults. */
.eml-article-page--opinion {
	--eml-op-title-size: 52px;
	--eml-op-title-color: #101714;
	--eml-op-title-weight: 700;
	--eml-op-title-style: normal;
	--eml-op-title-ls: -0.04em;
	--eml-op-title-lh: 1.02;
	--eml-op-body-size: 20px;
	--eml-op-body-color: var(--eml-text, #131a17);
	--eml-op-body-lh: 1.8;
	--eml-op-body-weight: 400;
}

.eml-article-page--opinion .eml-article-page__title {
	font-size: var(--eml-op-title-size);
	color: var(--eml-op-title-color);
	font-weight: var(--eml-op-title-weight);
	font-style: var(--eml-op-title-style);
	letter-spacing: var(--eml-op-title-ls);
	line-height: var(--eml-op-title-lh);
}

.eml-article-page--opinion .eml-article-page__content {
	font-size: var(--eml-op-body-size);
	color: var(--eml-op-body-color);
	line-height: var(--eml-op-body-lh);
	font-weight: var(--eml-op-body-weight);
}

/* Source label — override the default dark-green with opinion's warm tone */
.eml-article-page--opinion .eml-article-page__source--opinion {
	background: #5f3822;
	border-color: #5f3822;
}

.eml-article-page--opinion .eml-article-page__source--opinion:hover {
	background: #7a4a2c;
	border-color: #7a4a2c;
}

/* Sidebar blocks — warm cream tint instead of green */
.eml-article-page--opinion .eml-article-page__sidebar-block {
	background: linear-gradient( 180deg, #faf5f0 0%, #f4ede6 100% );
	border-color: #e6ddd2;
}

/* Blockquote — warm brown accent instead of dark green */
.eml-article-page--opinion .eml-article-page__content blockquote {
	border-left-color: #7a4a2c;
	background: #faf5f0;
	color: #4a2e1a;
}

/* --------------------------------------------------------------------------
   Columnist byline (header)
   -------------------------------------------------------------------------- */

.eml-opinion-article-byline {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 24px 0 4px;
	padding: 18px 20px;
	background: linear-gradient( 135deg, #faf5f0 0%, #f4ede6 100% );
	border: 1px solid #e6ddd2;
	border-radius: 6px;
	max-width: 640px;
}

.eml-opinion-article-byline__portrait-wrap {
	flex-shrink: 0;
}

.eml-opinion-article-byline__portrait {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #e6ddd2;
	background: #eee4db;
	transition: border-color 0.15s ease;
}

.eml-opinion-article-byline__portrait-wrap a:hover .eml-opinion-article-byline__portrait {
	border-color: #5f3822;
}

.eml-opinion-article-byline__portrait--default {
	object-fit: contain;
}

.eml-opinion-article-byline__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.eml-opinion-article-byline__name {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #3d1f0d;
	text-decoration: none;
}

a.eml-opinion-article-byline__name:hover {
	color: #5f3822;
	text-decoration: underline;
}

.eml-opinion-article-byline__archive-link {
	font-size: 13px;
	font-weight: 600;
	color: #7a4a2c;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.eml-opinion-article-byline__archive-link:hover {
	color: #5f3822;
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   "Sobre el autor" sidebar profile block
   -------------------------------------------------------------------------- */

.eml-opinion-sidebar-profile {
	text-align: center;
}

.eml-opinion-sidebar-profile .eml-article-page__sidebar-eyebrow {
	margin-bottom: 16px;
}

.eml-opinion-sidebar-profile__portrait-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
}

.eml-opinion-sidebar-profile__portrait {
	display: block;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #e6ddd2;
	background: #eee4db;
	transition: border-color 0.15s ease;
}

.eml-opinion-sidebar-profile__portrait-wrap a:hover .eml-opinion-sidebar-profile__portrait {
	border-color: #5f3822;
}

.eml-opinion-sidebar-profile__name {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #3d1f0d;
}

.eml-opinion-sidebar-profile__name a {
	color: inherit;
	text-decoration: none;
}

.eml-opinion-sidebar-profile__name a:hover {
	color: #5f3822;
	text-decoration: underline;
}

.eml-opinion-sidebar-profile__link {
	margin: 0;
}

.eml-opinion-sidebar-profile__link a {
	font-size: 14px;
	font-weight: 700;
	color: #5f3822;
	text-decoration: none;
}

.eml-opinion-sidebar-profile__link a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Responsive overrides — opinion components
   ========================================================================== */

@media (max-width: 767px) {
	.eml-opinion-article-byline {
		padding: 14px 16px;
		gap: 12px;
	}

	.eml-opinion-article-byline__portrait {
		width: 60px;
		height: 60px;
	}

	.eml-opinion-article-byline__name {
		font-size: 16px;
	}
}

@media (max-width: 1140px) {
	.eml-article-page__title {
		font-size: calc(var(--eml-art-title-size, 52px) * 0.885);
	}

	.eml-article-page--opinion .eml-article-page__title {
		font-size: calc(var(--eml-op-title-size, 52px) * 0.885);
	}

	.eml-article-page__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 28px;
	}
}

@media (max-width: 1018px) {
	.eml-article-page__layout {
		grid-template-columns: 1fr;
	}

	.eml-article-page__sidebar {
		position: static;
	}
}

/* ==========================================================================
   Escapadas Comarcales — series context on single-article pages
   Green palette: #1a4a10 (dark), #2a6e1a (mid), #92ba80 (light border)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Series kicker — appears above the article headline
   -------------------------------------------------------------------------- */

.eml-article-page__series-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 6px 14px 6px 10px;
	background: #2a6e1a;
	color: #d8f0d0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background 0.15s ease;
}

.eml-article-page__series-kicker:hover,
body .eml-article-page__series-kicker:hover {
	background: #1f5213;
	color: #e8f7e2;
}

body .eml-article-page__series-kicker {
	color: #d8f0d0;
}

.eml-article-page__series-kicker__label {
	display: inline-block;
	padding: 2px 6px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   "Parte de la serie" sidebar block
   -------------------------------------------------------------------------- */

.eml-escapadas-series-block {
	background: linear-gradient(180deg, #ecf7e8 0%, #ddeec4 100%);
	border-color: #92ba80;
}

.eml-escapadas-series-block__title {
	margin: 0 0 10px;
	color: #1a4a10;
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.eml-escapadas-series-block__title a {
	color: inherit;
	text-decoration: none;
}

.eml-escapadas-series-block__title a:hover {
	color: #2a6e1a;
	text-decoration: underline;
}

.eml-escapadas-series-block__desc {
	margin: 0 0 4px;
	color: #355a2a;
	font-size: 14px;
	line-height: 1.55;
}

.eml-escapadas-series-block__archive-link,
body .eml-escapadas-series-block__archive-link {
	display: inline-block;
	margin-top: 14px;
	color: #2a6e1a;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.eml-escapadas-series-block__archive-link:hover,
body .eml-escapadas-series-block__archive-link:hover {
	color: #1a4a10;
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Prev/next series navigator (inside the sidebar block)
   -------------------------------------------------------------------------- */

.eml-escapadas-series-nav {
	display: grid;
	gap: 8px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #afd49e;
}

.eml-escapadas-series-nav__item {
	display: block;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid #b5d8a5;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.eml-escapadas-series-nav__item:hover {
	background: rgba(255, 255, 255, 0.85);
	border-color: #92ba80;
}

.eml-escapadas-series-nav__direction {
	display: block;
	margin-bottom: 4px;
	color: #466e38;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.eml-escapadas-series-nav__title {
	display: block;
	color: #1a4a10;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

@media (max-width: 767px) {
	.eml-article-page__header {
		margin-bottom: 24px;
	}

	.eml-article-page__title {
		font-size: calc(var(--eml-art-title-size, 52px) * 0.654);
	}

	.eml-article-page--opinion .eml-article-page__title {
		font-size: calc(var(--eml-op-title-size, 52px) * 0.654);
	}

	.eml-article-page__dek {
		font-size: 18px;
	}

	.eml-article-page__content {
		font-size: calc(var(--eml-art-body-size, 20px) * 0.9);
	}

	.eml-article-page--opinion .eml-article-page__content {
		font-size: calc(var(--eml-op-body-size, 20px) * 0.9);
	}

	.eml-article-page__content blockquote {
		padding: 18px;
		font-size: 24px;
	}

	.eml-article-related-card {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.eml-article-related-card--portrait {
		grid-template-columns: 60px minmax(0, 1fr);
	}

	.eml-article-related-card__media--portrait {
		width: 60px;
	}

	.eml-article-related-card__media--portrait img {
		width: 60px;
		height: 60px;
	}

	.eml-article-page__author-box {
		grid-template-columns: 1fr;
	}

	/* Escapadas series — compact kicker on small screens */
	.eml-article-page__series-kicker {
		font-size: 12px;
		padding: 5px 12px 5px 8px;
	}
}

/* ---------------------------------------------------------------------------
   Share bar
   --------------------------------------------------------------------------- */

.eml-share-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.eml-share-bar__label {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #55635c;
	align-self: center;
	margin-right: 4px;
}

.eml-share-bar__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	border-radius: 3px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
	line-height: 1;
}

.eml-share-bar__btn svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	flex-shrink: 0;
}

/* WhatsApp */
.eml-share-bar__btn--whatsapp {
	background-color: #e8f5e3;
	border-color: #c1ddb8;
	color: #1f5c1a;
}
.eml-share-bar__btn--whatsapp:hover {
	background-color: #d3edcb;
	color: #1f5c1a;
	text-decoration: none;
}

/* Facebook */
.eml-share-bar__btn--facebook {
	background-color: #f0f3f9;
	border-color: #c5d0e6;
	color: #1a3a6e;
}
.eml-share-bar__btn--facebook:hover {
	background-color: #e3eaf7;
	color: #1a3a6e;
	text-decoration: none;
}

/* X / Twitter */
.eml-share-bar__btn--twitter {
	background-color: #f2f4f7;
	border-color: #cdd2db;
	color: #1a2030;
}
.eml-share-bar__btn--twitter:hover {
	background-color: #e7eaf1;
	color: #1a2030;
	text-decoration: none;
}

/* Copy link */
.eml-share-bar__btn--copy {
	background-color: #f5f8f5;
	border-color: #d6ddd7;
	color: #374a3e;
}
.eml-share-bar__btn--copy:hover {
	background-color: #edf2ed;
	color: #374a3e;
}
.eml-share-bar__btn--copy.is-copied {
	border-color: #163427;
	color: #163427;
}

@media (max-width: 600px) {
	.eml-share-bar {
		gap: 6px;
	}
	.eml-share-bar__btn {
		height: 38px;
		padding: 0 10px;
		font-size: 12px;
	}
}

/* ---------------------------------------------------------------
   Native comment section
--------------------------------------------------------------- */

/* Wrapper spacing — sits below the article body */
.eml-article-page-wrap .comments {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 2px solid #e8e8e8;
}

/* Comment count heading */
.eml-article-page-wrap .td-comments-title {
	margin-bottom: 24px;
}

/* Individual comment items */
.eml-article-page-wrap .comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
}
.eml-article-page-wrap .comment-list li {
	border-bottom: 1px solid #f0f0f0;
	padding: 16px 0;
}
.eml-article-page-wrap .comment-list li:last-child {
	border-bottom: none;
}

/* Avatar + author line */
.eml-article-page-wrap .comment-list footer {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.eml-article-page-wrap .comment-list footer img {
	border-radius: 50%;
	flex-shrink: 0;
}
.eml-article-page-wrap .comment-list footer cite {
	font-weight: 600;
	font-style: normal;
}
.eml-article-page-wrap .comment-list .comment-link time {
	font-size: 13px;
	color: #888;
}

/* Comment body */
.eml-article-page-wrap .comment-content {
	font-size: 15px;
	line-height: 1.65;
	color: #333;
}
.eml-article-page-wrap .comment-content em {
	display: block;
	margin-bottom: 6px;
	color: #888;
	font-size: 13px;
}

/* Reply link */
.eml-article-page-wrap .comment-meta {
	margin-top: 8px;
}
.eml-article-page-wrap .comment-reply-link {
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

/* Reply form title */
.eml-article-page-wrap #respond .comment-reply-title {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}

/* Input and textarea sizing */
.eml-article-page-wrap .comment-form-input-wrap {
	margin-bottom: 12px;
}
.eml-article-page-wrap .comment-form-input-wrap input,
.eml-article-page-wrap .comment-form-input-wrap textarea {
	width: 100%;
	box-sizing: border-box;
}
.eml-article-page-wrap .td-form-comment textarea {
	min-height: 130px;
	resize: vertical;
}

/* Submit button */
.eml-article-page-wrap #respond .submit {
	margin-top: 4px;
}
