/*
 * Ara Child — Hero estilo capibaratraductor.com.
 * Markup: shortcode [ara_hero] (inc/ara-hero.php). Acento cyan-500 (#06b6d4).
 */
.ara-hero {
	position: relative;
	width: 100%;
	height: 600px;
	background: #000;
	overflow: hidden;
}
@media (max-width: 768px) { .ara-hero { height: 520px; } }

.ara-hero__slides { position: absolute; inset: 0; }

.ara-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
}
.ara-hero__slide.is-active { opacity: 1; visibility: visible; }

.ara-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(4px);
	transform: scale(1.05);
	opacity: .3;
}
.ara-hero__grad {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, #09090b 0%, rgba(9,9,11,.6) 45%, transparent 100%),
		linear-gradient(to right, #09090b 0%, transparent 60%);
}

.ara-hero__inner {
	position: relative;
	z-index: 10;
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	gap: 2rem;
}

/* ----- Texto ----- */
.ara-hero__text { flex: 1 1 58%; max-width: 620px; }
.ara-hero__meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.ara-hero__tag {
	background: #06b6d4; color: #000;
	font: 900 10px/1 'Plus Jakarta Sans', system-ui, sans-serif;
	letter-spacing: .12em; text-transform: uppercase;
	padding: .25rem .5rem; border-radius: .25rem;
}
.ara-hero__scan {
	color: #06b6d4;
	font: 700 10px/1 'Plus Jakarta Sans', system-ui, sans-serif;
	letter-spacing: .3em; text-transform: uppercase;
}
.ara-hero__type {
	font: 800 10px/1 'Plus Jakarta Sans', system-ui, sans-serif;
	letter-spacing: .12em; text-transform: uppercase;
	padding: .25rem .55rem; border-radius: .3rem;
}
.ara-hero__type--manga { background: rgba(6,182,212,.15); color: #22d3ee; }
.ara-hero__type--news  { background: rgba(245,158,11,.15); color: #fbbf24; }
.ara-hero__title {
	margin: 0 0 1rem;
	color: #fff;
	font: 900 clamp(2rem, 5vw, 3.75rem)/1.05 'Plus Jakarta Sans', system-ui, sans-serif;
	font-style: italic;
	letter-spacing: -.02em;
	text-transform: uppercase;
	text-shadow: 0 10px 30px rgba(0,0,0,.8);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ara-hero__desc {
	margin: 0 0 1.4rem;
	color: #a1a1aa;
	font: 400 clamp(.9rem, 1.4vw, 1rem)/1.5 'Plus Jakarta Sans', system-ui, sans-serif;
	max-width: 36rem;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ara-hero__actions { display: flex; align-items: center; gap: .75rem; }
.ara-hero__btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .85rem 1.6rem; border-radius: .75rem;
	font: 900 13px/1 'Plus Jakarta Sans', system-ui, sans-serif;
	letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
	transition: transform .15s ease, background .2s ease, color .2s ease;
}
.ara-hero__btn:hover { transform: scale(1.05); }
/* color forzado con !important: Madara pinta los <a> con su gris de link y dejaba
   el texto de los botones apagado (mismo caso que las cards). */
.ara-hero__btn--primary { background: #fff; color: #09090b !important; }
.ara-hero__btn--primary:hover { background: #d4d4d8; color: #09090b !important; }
.ara-hero__btn--ghost {
	background: rgba(24,24,27,.8); color: #fff !important;
	border: 1px solid rgba(63,63,70,.5); backdrop-filter: blur(8px);
}
.ara-hero__btn--ghost:hover { background: #27272a; color: #fff !important; }

/* ----- Poster rotado (derecha) ----- */
.ara-hero__poster { flex: 0 0 auto; margin-left: auto; }
.ara-hero__poster a {
	position: relative; display: block;
	width: 300px; height: 440px;
	border-radius: 1rem; overflow: hidden;
	border: 1px solid rgba(255,255,255,.06);
	box-shadow: 0 30px 60px rgba(0,0,0,.8);
	transform: rotate(2deg);
	transition: transform .5s ease;
}
.ara-hero__poster a:hover { transform: rotate(0deg); }
.ara-hero__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ara-hero__poster-grad {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.6), transparent 50%);
}
.ara-hero__poster-title {
	position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
	color: #fff; font: 900 1.1rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif;
	font-style: italic; text-shadow: 0 2px 8px rgba(0,0,0,.8);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Mobile/tablet: layout en columna con la PORTADA arriba, centrada (estilo del
   hero del amigo) en vez de ocultarla. */
@media (max-width: 1023px) {
	.ara-hero { height: auto; min-height: 600px; }
	.ara-hero__grad {
		background: linear-gradient(to top, #09090b 8%, rgba(9,9,11,.55) 55%, rgba(9,9,11,.25) 100%);
	}
	.ara-hero__inner {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 1.25rem;
		padding: 2.25rem 1.25rem 4.75rem;
	}
	.ara-hero__text { order: 2; flex: none; max-width: 100%; }
	.ara-hero__meta,
	.ara-hero__actions { justify-content: center; }
	.ara-hero__desc { margin-left: auto; margin-right: auto; }
	/* Poster: visible, arriba, centrado y más chico */
	.ara-hero__poster { order: 1; display: block; flex: none; margin: 0 auto; }
	.ara-hero__poster a {
		width: min(158px, 40vw);
		height: auto;
		aspect-ratio: 3 / 4;
		transform: rotate(2deg);
	}
	/* Nav (dots + flechas) centrada y al fondo, sin chocar con los botones */
	.ara-hero__nav {
		left: 50%; right: auto;
		transform: translateX(-50%);
		bottom: .85rem;
		gap: 1.25rem;
	}
}
@media (max-width: 480px) {
	.ara-hero { min-height: 520px; }
	.ara-hero__poster a { width: min(138px, 44vw); }
}

/* ----- Navegación (dots + flechas) ----- */
.ara-hero__nav {
	position: absolute; z-index: 20;
	right: 2rem; bottom: 1.5rem;
	display: flex; align-items: center; gap: 1rem;
}
.ara-hero__dots { display: flex; gap: .5rem; }
.ara-hero__dot {
	height: 4px; width: 8px; border-radius: 999px;
	background: #27272a; border: 0; cursor: pointer;
	transition: all .4s ease; padding: 0;
}
.ara-hero__dot:hover { background: #52525b; }
.ara-hero__dot.is-active { width: 32px; background: #fff; }
.ara-hero__arrows { display: flex; gap: .5rem; }
.ara-hero__arrow {
	width: 40px; height: 40px; border-radius: 999px;
	background: transparent; border: 1px solid #27272a;
	color: #a1a1aa; font-size: 20px; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: all .2s ease;
}
.ara-hero__arrow:hover { color: #fff; background: #27272a; }
@media (max-width: 768px) { .ara-hero__nav { left: 50%; right: auto; transform: translateX(-50%); bottom: .85rem; } }

/* ---------- H1 de la home ----------
   Mismo full-bleed centrado a 1280 que .ara-sec, para que alinee con
   "TENDENCIAS GLOBALES" y con las cards sin márgenes a mano. */
.ara-home-intro {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 2.6rem;
	margin-bottom: 0;   /* NADA de margen negativo: la sección siguiente es
	                       full-bleed y se montaba encima, cortando el subtítulo
	                       por la mitad. Su propio margin-top ya da el aire. */
	padding-left: max(1rem, calc(50vw - 640px));
	padding-right: max(1rem, calc(50vw - 640px));
	box-sizing: border-box;
}
.ara-home-intro__h1 {
	color: #fff;
	font: 900 1.6rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: -.02em;
	margin: 0 0 .35rem;
}
.ara-home-intro__sub {
	color: #a1a1aa;
	font-size: .92rem;
	line-height: 1.6;
	max-width: 62ch;
	margin: 0;
}
@media (max-width: 768px) {
	.ara-home-intro { margin-top: 1.8rem; }
	/* En móvil TODO el hero de arriba se centra (portada, título, sinopsis y
	   botones). Con el H1 a la izquierda justo debajo, el corte se notaba.
	   Se centra SOLO el título: el subtexto sigue a la izquierda, que es como
	   se lee mejor un párrafo. */
	.ara-home-intro__h1 { font-size: 1.25rem; text-align: center; }
	.ara-home-intro__sub { font-size: .85rem; }
}

/* A11y: zona clicable ampliada (44px) sin cambiar lo visual */
.ara-hero__dot { position: relative; }
.ara-hero__dot::after { content: ""; position: absolute; inset: -10px; border-radius: 999px; }
