/* ============================================================
   PQA Relive the Spectacular (pqa/relive-spectacular)
   Navy homepage section: copy left, photos or videos right.
   Prototype: prototype/index.html → #relive
   ============================================================ */
.pqa-relive {
	position: relative;
	overflow: hidden;
	background: var(--pqa-navy);
	color: var(--pqa-white);
	padding: var(--space-lg, 4rem) 0;
}
.pqa-relive::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--pqa-rainbow);
	opacity: 0.06;
	pointer-events: none;
}
.pqa-relive > .pqa-container { position: relative; }

.pqa-relive-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--space-lg, 3rem);
	align-items: center;
}

/* ── Copy ── */
.pqa-relive-year {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	background: var(--pqa-rainbow);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.75rem;
}
.pqa-relive-title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: var(--pqa-white);
	margin: 0 0 1.25rem;
}
.pqa-relive-body {
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.7;
	max-width: 44ch;
	margin: 0 0 1.5rem;
}
.pqa-relive-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0 0 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.pqa-relive-meta dt {
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pqa-accent-blue);
	margin-bottom: 0.2rem;
}
.pqa-relive-meta dd {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--pqa-white);
}
.pqa-relive-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

/* ── Media column ── */
.pqa-relive-media { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

.pqa-relive .pqa-gallery {
	max-width: none;
	margin: 0;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.pqa-relive-foot {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
}
.pqa-relive-link {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pqa-accent-blue);
	text-decoration: none;
	white-space: nowrap;
}
.pqa-relive-link:hover,
.pqa-relive-link:focus-visible { color: var(--pqa-white); }

/* Featured-image fallback when the year has no gallery yet */
.pqa-relive-still {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.pqa-relive-still img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Video ── */
.pqa-relive-feature {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(135deg, #8860E2, #2B2E5F 70%);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
	color: var(--pqa-white);
	text-decoration: none;
}
.pqa-relive-feature > img,
.pqa-relive-clip-thumb > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pqa-relive-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(to top, rgba(26, 28, 58, 0.92), transparent);
}
.pqa-relive-caption-label {
	display: block;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pqa-accent-blue);
	margin-bottom: 0.2rem;
}
.pqa-relive-caption strong { font-size: clamp(1rem, 2vw, 1.25rem); }

.pqa-relive-play {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--pqa-white);
	color: var(--pqa-navy);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	transition: transform var(--transition, 0.2s ease);
}
.pqa-relive-play svg { width: 24px; height: 24px; margin-left: 3px; }
.pqa-relive-feature:hover .pqa-relive-play,
.pqa-relive-clip:hover .pqa-relive-play { transform: scale(1.07); }

.pqa-relive-clips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pqa-relive-clips li { margin: 0; }
.pqa-relive-clips li::before { content: none; }
.pqa-relive-clip { display: block; color: var(--pqa-white); text-decoration: none; }
.pqa-relive-clip-thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, #3ABAF9, #2B2E5F);
	margin-bottom: 0.5rem;
}
.pqa-relive-clips li:nth-child(2) .pqa-relive-clip-thumb { background: linear-gradient(135deg, #F447E4, #8860E2); }
.pqa-relive-clips li:nth-child(3) .pqa-relive-clip-thumb { background: linear-gradient(135deg, #FFD541, #F78A2F); }
.pqa-relive-clip-thumb .pqa-relive-play { width: 34px; height: 34px; }
.pqa-relive-clip-thumb .pqa-relive-play svg { width: 12px; height: 12px; margin-left: 2px; }
.pqa-relive-clip-thumb em {
	position: absolute;
	right: 0.4rem;
	bottom: 0.4rem;
	font-style: normal;
	font-size: 0.65rem;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 4px;
	padding: 0.1rem 0.35rem;
}
.pqa-relive-clip-title { display: block; font-size: 0.8rem; font-weight: 700; line-height: 1.35; }

.pqa-relive-feature:focus-visible,
.pqa-relive-clip:focus-visible {
	outline: 3px solid var(--pqa-accent-blue);
	outline-offset: 3px;
	border-radius: 12px;
}

.pqa-relive .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Editor: links inert, and the notice banner sits above the grid */
.editor-styles-wrapper .pqa-relive .notice-banner { margin-bottom: 1.5rem; color: var(--pqa-navy); }

@media (max-width: 900px) {
	.pqa-relive-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-md, 2rem); }
}

@media (max-width: 560px) {
	.pqa-relive-clips { gap: 0.5rem; }
	.pqa-relive-clip-title { font-size: 0.7rem; }
	.pqa-relive-feature .pqa-relive-play { width: 52px; height: 52px; transform: translateY(-1.25rem); }
	.pqa-relive-feature:hover .pqa-relive-play { transform: translateY(-1.25rem) scale(1.07); }
	.pqa-relive-caption { padding: 0.9rem 1rem; }
	.pqa-relive-clip-thumb .pqa-relive-play { display: none; }
	.pqa-relive-foot { flex-direction: column; gap: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
	.pqa-relive-play { transition: none; }
}
