﻿.sa-hero{
	--sh-red:#EE1D23;
	--sh-wrap-pad:60px;
	--sh-breadcrumb-top:48px;
	--sh-breadcrumb-max:22rem;
	--sh-breadcrumb-safe:96px;
	--sa-title-size:clamp(28px,2.8vw,38px);
	--sa-title-lh:1.2;
	--sa-media-radius:36px;
	/* Misma distancia arriba/abajo para centrar imagen y título */
	--sa-pad-y:max(72px,calc(var(--sh-breadcrumb-top) + 40px));
	position:relative;
	min-height:480px;
	height:auto;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:stretch;
	width:100%;
	box-sizing:border-box;
	padding-top:var(--sa-pad-y);
	padding-bottom:var(--sa-pad-y);
	overflow:hidden;
	isolation:isolate;
	background-color:#7a1028;
	font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;
	-webkit-font-smoothing:antialiased;
}

.sa-hero-bg{
	position:absolute;
	inset:0;
	z-index:0;
	background-color:#7a1028;
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	transform:translateZ(0);
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
}

/* El fondo ya trae el patrón; overlay muy suave para legibilidad del título */
.sa-hero::before{
	content:'';
	position:absolute;
	inset:0;
	z-index:1;
	background:linear-gradient(90deg,rgba(70,8,24,.35) 0,rgba(70,8,24,.12) 55%,rgba(70,8,24,0) 100%);
	pointer-events:none;
}

.sa-hero::after{
	content:'';
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	z-index:1;
	height:4px;
	background:var(--sh-red);
	pointer-events:none;
}

.sa-hero .sh-breadcrumb{
	position:absolute;
	top:var(--sh-breadcrumb-top);
	left:0;
	z-index:3;
	pointer-events:none;
}

.sa-hero .sh-breadcrumb-pill{
	pointer-events:auto;
}

.sa-hero-inner{
	position:relative;
	z-index:2;
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:space-between;
	gap:clamp(24px,4vw,48px);
	flex:1 1 auto;
	padding:0 var(--sh-wrap-pad);
	color:#fff;
	width:100%;
	max-width:1400px;
	margin:0 auto;
	box-sizing:border-box;
	background:0 0!important;
	box-shadow:none!important;
	min-width:0;
}

.sa-hero-left{
	flex:1 1 0;
	min-width:0;
	max-width:min(580px,100%);
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	gap:0;
	overflow-wrap:anywhere;
}

.sa-hero-copy{
	min-width:0;
	width:100%;
	max-width:100%;
}

.sa-hero-copy h1{
	font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;
	font-size:var(--sa-title-size);
	font-weight:700;
	font-style:normal;
	line-height:var(--sa-title-lh);
	margin:0;
	color:#fff;
	max-width:100%;
	overflow-wrap:break-word;
	word-wrap:break-word;
	word-break:break-word;
	hyphens:auto;
	background:0 0!important;
}

.sa-hero-line{
	display:block;
	width:120px;
	max-width:40%;
	height:3px;
	margin:22px 0 0;
	padding:0;
	border:0;
	background:var(--sh-red)!important;
	box-shadow:none;
}

/* Pastilla — delgada; no desborda con textos largos */
.sa-hero-pill{
	display:inline-flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
	width:fit-content;
	max-width:100%;
	min-height:34px;
	height:auto;
	margin:20px 0 0;
	padding:3px 4px 3px 22px;
	box-sizing:border-box;
	background:var(--sh-red)!important;
	color:#fff!important;
	font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;
	font-size:14px;
	font-weight:600;
	font-style:normal;
	line-height:1.2;
	letter-spacing:.01em;
	text-decoration:none!important;
	border-radius:999px;
	box-shadow:0 6px 18px rgba(0,0,0,.28);
	transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease;
}

a.sa-hero-pill:hover,
a.sa-hero-pill:focus-visible{
	color:#fff!important;
	opacity:.96;
	text-decoration:none!important;
	transform:translateY(-1px);
	box-shadow:0 8px 22px rgba(0,0,0,.32);
}

.sa-hero-pill-label{
	flex:1 1 auto;
	min-width:0;
	max-width:100%;
	overflow-wrap:break-word;
	word-break:break-word;
	white-space:normal;
	line-height:1.25;
	padding:4px 0;
}

.sa-hero-pill-icon{
	flex:0 0 auto;
	align-self:center;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:26px;
	height:26px;
	border-radius:50%;
	background:#fff;
	color:var(--sh-red);
	box-shadow:0 1px 4px rgba(0,0,0,.12);
}

.sa-hero-pill-icon svg{
	display:block;
	width:12px;
	height:12px;
}

.sa-hero-date{
	display:block;
	margin:12px 0 0;
	padding:0;
	color:#fff;
	font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;
	font-size:14px;
	font-weight:400;
	font-style:normal;
	line-height:1.35;
	letter-spacing:.01em;
	opacity:.92;
}

/* Imagen centrada: misma distancia arriba y abajo dentro del hero */
.sa-hero-media{
	flex:0 0 auto;
	align-self:center;
	margin:0;
	padding:0;
	width:min(46%,720px);
	max-width:720px;
	min-width:0;
	aspect-ratio:16 / 9;
	border-radius:var(--sa-media-radius);
	overflow:hidden;
	box-shadow:0 18px 48px rgba(0,0,0,.28);
	background:rgba(255,255,255,.08);
}

.sa-hero-media img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:center;
	border-radius:inherit;
}

@media (min-width:1200px){
	.sa-hero{
		--sh-breadcrumb-top:64px;
		--sh-breadcrumb-max:26rem;
		--sh-breadcrumb-safe:104px;
	}
	.sa-hero-inner{
		gap:56px;
	}
	.sa-hero-media{
		max-width:720px;
		width:min(46%,720px);
	}
}

@media (max-width:1100px){
	.sa-hero{
		--sa-title-size:clamp(28px,3.4vw,36px);
	}
	.sa-hero-inner{
		gap:36px;
	}
	.sa-hero-media{
		width:min(48%,520px);
		max-width:520px;
		min-width:0;
		margin-top:0;
		align-self:center;
		--sa-media-radius:28px;
	}
}

@media (max-width:960px){
	.sa-hero{
		--sh-wrap-pad:28px;
		--sh-breadcrumb-top:28px;
		--sh-breadcrumb-max:18rem;
		--sh-breadcrumb-safe:52px;
		--sa-pad-y:max(40px,calc(var(--sh-breadcrumb-top) + var(--sh-breadcrumb-safe)));
		--sa-title-size:clamp(30px,4.8vw,36px);
		min-height:auto;
		justify-content:flex-start;
	}
	.sa-hero-bg{
		background-position:center top;
	}
	.sa-hero-inner{
		flex:0 1 auto;
		flex-direction:column;
		align-items:stretch;
		gap:24px;
		padding-top:16px;
		padding-bottom:28px;
	}
	.sa-hero-left{
		display:flex;
		flex-direction:column;
		align-items:flex-start;
		order:2;
		width:100%;
		max-width:none;
	}
	.sa-hero-copy{
		max-width:none;
		width:100%;
	}
	.sa-hero-line{
		width:88px;
		margin:16px 0 0;
	}
	.sa-hero-media{
		order:1;
		width:100%;
		max-width:100%;
		min-width:0;
		flex:0 0 auto;
		align-self:stretch;
		margin:0;
		aspect-ratio:16 / 9;
		--sa-media-radius:24px;
	}
	.sa-hero-pill{
		order:unset;
		max-width:100%;
		min-height:32px;
		height:auto;
		margin-top:16px;
		padding:4px 4px 4px 18px;
		font-size:13px;
		gap:10px;
	}
	.sa-hero-pill-label{
		white-space:normal;
		line-height:1.25;
	}
	.sa-hero-pill-icon{
		width:24px;
		height:24px;
	}
	.sa-hero-date{
		margin-top:10px;
		font-size:13px;
	}
}

@media (max-width:768px){
	.sa-hero{
		--sh-wrap-pad:20px;
		--sh-breadcrumb-top:24px;
		--sh-breadcrumb-max:16rem;
		--sh-breadcrumb-safe:56px;
		--sa-title-size:clamp(28px,7vw,34px);
		justify-content:flex-start;
	}
	.sa-hero-inner{
		gap:20px;
		padding-top:12px;
		padding-bottom:20px;
	}
	.sa-hero-line{
		width:72px;
		margin:14px 0 16px;
	}
	.sa-hero-media{
		aspect-ratio:16 / 10;
		--sa-media-radius:20px;
	}
}

@media (max-width:480px){
	.sa-hero{
		--sh-wrap-pad:16px;
		--sh-breadcrumb-top:18px;
		--sh-breadcrumb-max:14rem;
		--sh-breadcrumb-safe:52px;
		--sa-title-size:clamp(26px,7.5vw,32px);
		--sa-media-radius:18px;
	}
	.sa-hero-inner{
		gap:18px;
		padding-bottom:16px;
	}
	.sa-hero-line{
		width:64px;
		margin:12px 0 14px;
	}
	.sa-hero-pill{
		min-height:30px;
		padding:3px 3px 3px 14px;
		font-size:12px;
		gap:8px;
	}
	.sa-hero-pill-icon{
		width:22px;
		height:22px;
	}
	.sa-hero-date{
		margin-top:8px;
		font-size:12px;
	}
}

@media (max-width:360px){
	.sa-hero{
		--sh-breadcrumb-safe:46px;
		--sa-title-size:clamp(24px,8vw,28px);
	}
}

/* Contenido del artículo (#detail-content): Arial siempre (también HTML antiguo con estilos inline) */
body.single-post .main-detail-container > #detail-content,
body.page-template-page-single-article-php .main-detail-container > #detail-content,
.main-detail-container > #detail-content,
.main-detail-container > #detail-content *:not(i):not(.icon):not([class*="icon-"]),
.main-detail-container > #detail-content [style],
.main-detail-container > #detail-content font{
	font-family:Arial,'Helvetica Neue',Helvetica,sans-serif!important;
}
