/* AVAV Core · Premios de Honor */
.avav-ph {
	/* Tema AVAV (por defecto) */
	--ph-bg: transparent;
	--ph-ink: #1B1F4B;
	--ph-head: #2A3EB1;
	--ph-accent: #2A3EB1;
	--ph-panel: #161A45;
	--ph-panel-ink: #F4F5FB;
	--ph-kicker: #A9B3F7;
	--ph-radius: 12px;
	--ph-display: inherit;      /* Pon aquí la fuente de titulares de la web si no la hereda. */
	--ph-case: none;
	--ph-track: 0;
	--ph-body-weight: inherit;
	--avav-ph-cols: 5;

	color: var(--ph-ink);
	background: var(--ph-bg);
	line-height: 1.4;
}
.avav-ph--lolagaos {
	--ph-ink: #161616;
	--ph-head: #161616;
	--ph-accent: #7A6A38;
	--ph-panel: #0E0E0E;
	--ph-panel-ink: #F2EEE4;
	--ph-kicker: #C9B97F;
	--ph-radius: 0px;
	--ph-display: 'Oswald', 'Arial Narrow', sans-serif;
	--ph-case: uppercase;
	--ph-track: .01em;
	--ph-body-weight: 300;
}

/* Cabecera */
.avav-ph__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 0 48px; }
.avav-ph .avav-ph__title { margin: 0; padding: 0; font-family: var(--ph-display); font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: var(--ph-track); text-transform: var(--ph-case); color: var(--ph-head); }
.avav-ph .avav-ph__intro { margin: 0; font-size: 18px; line-height: 1.5; }

/* Rejilla */
.avav-ph .avav-ph__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--avav-ph-cols), minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 40px;
}
.avav-ph .avav-ph__item { margin: 0; padding: 0; list-style: none; min-width: 0; }

.avav-ph .avav-ph__card {
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: center;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.avav-ph .avav-ph__card:hover,
.avav-ph .avav-ph__card:focus { background: none; color: inherit; }
.avav-ph .avav-ph__card:focus-visible { outline: 2px solid var(--ph-accent); outline-offset: 6px; }
.avav-ph__ph { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--ph-radius); background: rgba(0, 0, 0, .06); }
.avav-ph .avav-ph__ph img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	border-radius: 0;
	transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s ease, opacity .4s ease;
}
.avav-ph__card:hover .avav-ph__ph img { transform: scale(1.04); }
.avav-ph__name { font-family: var(--ph-display); font-weight: 500; font-size: 18px; line-height: 1.2; letter-spacing: var(--ph-track); }
.avav-ph__label { font-size: 15px; line-height: 1.2; letter-spacing: .04em; color: var(--ph-accent); }

.avav-ph.has-open .avav-ph__item:not(.is-open) .avav-ph__ph img { filter: grayscale(1); opacity: .45; }
.avav-ph.has-open .avav-ph__item:not(.is-open) .avav-ph__card:hover .avav-ph__ph img { filter: grayscale(.3); opacity: .8; }
.avav-ph__item.is-open .avav-ph__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Panel */
.avav-ph .avav-ph__panel { grid-column: 1 / -1; margin: -12px 0 0; padding: 0; list-style: none; }
.avav-ph .avav-ph__panel[hidden] { display: none; }
.avav-ph__sheet {
	position: relative;
	display: grid;
	grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	padding: 48px 48px 52px;
	background: var(--ph-panel);
	color: var(--ph-panel-ink);
	border-radius: var(--ph-radius);
}
.avav-ph__caret { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; background: var(--ph-panel); transform: rotate(45deg); transition: left .35s cubic-bezier(.2, .8, .2, 1); }
.avav-ph__photo { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--ph-radius); }
.avav-ph .avav-ph__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; border-radius: 0; }

.avav-ph__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.avav-ph__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.avav-ph__kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ph-kicker); }
.avav-ph__nav { display: flex; gap: 8px; }
.avav-ph .avav-ph__btn {
	appearance: none;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: var(--ph-radius);
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-size: 14px;
	line-height: 1;
	min-height: 44px;
	min-width: 44px;
	padding: 0 14px;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	transition: background-color .2s ease;
}
.avav-ph .avav-ph__btn:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.avav-ph .avav-ph__btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.avav-ph .avav-ph__btn svg { width: 16px; height: 16px; flex: none; }

.avav-ph .avav-ph__pname { margin: 0; padding: 0; font-family: var(--ph-display); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: .98; letter-spacing: var(--ph-track); text-transform: var(--ph-case); color: inherit; }
.avav-ph .avav-ph__pname:focus { outline: none; }
.avav-ph__plabel { font-family: var(--ph-display); font-size: 30px; line-height: 1; color: var(--ph-kicker); }
.avav-ph__pdisc { font-size: 15px; opacity: .8; }
.avav-ph__pdisc:empty { display: none; }
.avav-ph__bio { columns: 2; column-gap: 40px; font-size: 16px; line-height: 1.65; font-weight: var(--ph-body-weight); margin-top: 6px; }
.avav-ph .avav-ph__bio p { margin: 0 0 14px; color: inherit; break-inside: avoid-column; }
.avav-ph .avav-ph__bio a { color: inherit; text-decoration: underline; }

/* Animación de apertura */
.avav-ph__panel.is-anim .avav-ph__sheet { animation: avavPhOpen .55s cubic-bezier(.2, .8, .2, 1) both; transform-origin: top center; }
.avav-ph__panel.is-anim .avav-ph__photo img { animation: avavPhZoom 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.avav-ph__panel.is-anim .avav-ph__text > * { animation: avavPhUp .6s cubic-bezier(.2, .8, .2, 1) both; }
.avav-ph__panel.is-anim .avav-ph__text > *:nth-child(2) { animation-delay: .06s; }
.avav-ph__panel.is-anim .avav-ph__text > *:nth-child(3) { animation-delay: .1s; }
.avav-ph__panel.is-anim .avav-ph__text > *:nth-child(n+4) { animation-delay: .14s; }
@keyframes avavPhOpen { from { opacity: 0; transform: translateY(-14px) scaleY(.97); } to { opacity: 1; transform: none; } }
@keyframes avavPhUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes avavPhZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Responsive */
@media (max-width: 1100px) {
	.avav-ph__bio { columns: 1; }
}
@media (max-width: 1024px) {
	.avav-ph .avav-ph__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.avav-ph__sheet { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 22px 32px; }
}
@media (max-width: 640px) {
	.avav-ph .avav-ph__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 28px; }
	.avav-ph__name { font-size: 16px; }
	.avav-ph__plabel { font-size: 24px; }
	.avav-ph__bar { flex-direction: column-reverse; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.avav-ph__panel.is-anim .avav-ph__sheet,
	.avav-ph__panel.is-anim .avav-ph__photo img,
	.avav-ph__panel.is-anim .avav-ph__text > * { animation: none; }
	.avav-ph .avav-ph__ph img, .avav-ph__caret { transition: none; }
}
