/* NarratiaVerse formats: poem pages and video pages (Phase 4, 4 Dec 2026). */

.nv-format-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fg-500, #5b5862);
}

:root[data-mode="dark"] .nv-format-label {
	color: #f4b52a;
}

.nv-format-label__by {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
}

.nv-format-label__by a {
	color: inherit;
}

/* Poem page: one title, no chapter index. */
.nv-poem-page .chapter__story-link,
.nv-poem-page [data-click-target="#fictioneer-chapter-index-dialog"] {
	display: none !important;
}

.nv-format-extras {
	display: grid;
	gap: 2rem;
	margin: 2rem 0 1rem;
}

.nv-format-section__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
}

.nv-format-extras .nv-watch,
.nv-format-extras .nv-reviews {
	padding-top: 0;
}

/* Video page */
.nv-video-page__title {
	margin-bottom: 0.25rem;
}

.nv-video-page {
	margin: 0 0 1.25rem;
}

.nv-video-page .nv-video {
	max-width: 880px;
	margin: 0 auto;
}

/* On its own page a video shows in its real shape. */
.nv-video-page .nv-video._vertical .nv-video__frame {
	aspect-ratio: 0.5625;
	width: min(100%, calc(78vh * 0.5625));
	margin: 0 auto;
}

.nv-video-page .nv-video__caption,
.nv-video-page .nv-video__tools {
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.nv-video-page .nv-video [data-nv-size="actual"] {
	display: none;
}

.nv-video-page__about {
	margin: 1.25rem 0 0;
}

.nv-video__title a,
a.nv-video__title {
	color: inherit;
	text-decoration: none;
}

a.nv-video__title:hover,
a.nv-video__title:focus-visible {
	text-decoration: underline;
}

.single-nv_video .nv-format-extras,
.single-nv_video .nv-reviews {
	margin-top: 2rem;
}
