/* ------------------------------------------------------------------
 * Story module — all selectors prefixed .lto-story-view-* so the module
 * can be removed wholesale without touching main theme styles.
 * Loaded only on singular `lto_story` views via module.php.
 * ------------------------------------------------------------------ */

/* Hero ------------------------------------------------------------ */
.lto-story-view-hero.wp-block-cover,
.lto-story-view-hero {
	min-height: 100vh;
	align-items: flex-end !important;
}
.lto-story-view-hero .wp-block-cover__inner-container {
	width: 100%;
	margin-top: auto;
}
.lto-story-view-hero__inner {
	max-width: 860px;
	margin: 0 auto;
	opacity: 0;
	transform: translateY(30px);
	animation: lto-story-fade-up 0.9s ease-out 0.15s forwards;
}
.lto-story-view-hero__eyebrow {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 20px;
}
.lto-story-view-hero__title {
	font-family: var(--wp--preset--font-family--alice);
	font-size: clamp(40px, 5.5vw, 64px);
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: #fff;
	margin: 0 0 24px;
}
.lto-story-view-hero__excerpt {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 300;
	font-size: clamp(16px, 1.6vw, 20px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	max-width: 680px;
	margin: 0 auto;
}

@keyframes lto-story-fade-up {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Prose column ---------------------------------------------------- */
.lto-story-view-prose {
	color: var(--wp--preset--color--navy-800);
}
.lto-story-view-prose p,
.lto-story-view-prose ul,
.lto-story-view-prose ol {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 18px;
	line-height: 1.8;
	letter-spacing: 0.02em;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
.lto-story-view-prose h2,
.lto-story-view-prose h3 {
	font-family: var(--wp--preset--font-family--alice);
	color: var(--wp--preset--color--navy-800);
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.2;
}
.lto-story-view-prose h2 {
	font-size: clamp(28px, 3vw, 42px);
	margin-top: 2em;
	margin-bottom: 0.6em;
}
.lto-story-view-prose h3 {
	font-size: clamp(22px, 2.4vw, 28px);
	margin-top: 1.8em;
	margin-bottom: 0.6em;
}
.lto-story-view-prose > :first-child { margin-top: 0; }
.lto-story-view-prose > :last-child  { margin-bottom: 0; }

.lto-story-view-prose figure,
.lto-story-view-prose .wp-block-image {
	margin-top: 48px;
	margin-bottom: 48px;
}
.lto-story-view-prose figure.alignwide,
.lto-story-view-prose .wp-block-image.alignwide {
	max-width: 1200px;
}
.lto-story-view-prose figure img,
.lto-story-view-prose .wp-block-image img {
	border-radius: 10px;
	width: 100%;
	height: auto;
}

/* Parallax-ish image break (image blocks marked .is-style-lto-story-bleed) */
.lto-story-view-prose .is-style-lto-story-bleed,
.lto-story-view-prose .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
}
.lto-story-view-prose .is-style-lto-story-bleed img,
.lto-story-view-prose .alignfull img {
	border-radius: 0;
	max-height: 70vh;
	object-fit: cover;
}

/* Dark pull-quote band ------------------------------------------- */
.lto-story-view-pullquote__quote {
	font-family: var(--wp--preset--font-family--alice);
	font-style: italic;
	font-size: clamp(24px, 3.2vw, 36px);
	line-height: 1.45;
	letter-spacing: 0.02em;
	color: #fff;
	margin: 0;
}
.lto-story-view-pullquote__attribution {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-top: 28px;
}

/* Key facts band -------------------------------------------------- */
.lto-story-view-facts__num {
	font-family: var(--wp--preset--font-family--alice);
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1;
	color: #fff;
	margin: 0;
	font-variant-numeric: tabular-nums;
}
.lto-story-view-facts__label {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 12px;
}

/* Support CTA ----------------------------------------------------- */
.lto-story-view-cta__title {
	font-family: var(--wp--preset--font-family--alice);
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.2;
	color: var(--wp--preset--color--navy-800);
	margin: 16px 0 24px;
}
.lto-story-view-cta__body {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 18px;
	line-height: 1.6;
	color: var(--wp--preset--color--navy-800);
	max-width: 560px;
	margin: 0 auto 32px;
}

/* Related stories ------------------------------------------------- */
.lto-story-view-related__title {
	font-family: var(--wp--preset--font-family--alice);
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.15;
	color: var(--wp--preset--color--navy-800);
	margin: 16px 0 0;
}
