/* Homepage stories. Typography and spacing inherit the approved shared tokens. */
.stories-section {
	color: var(--navy);
	background: var(--canvas);
}

.stories-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-md);
	margin-bottom: var(--heading-gap);
}

.stories-heading h2 {
	margin-bottom: 0;
}

.stories-heading h2 span {
	color: #747b88;
}

.stories-section .stories-eyebrow {
	margin: 0 0 var(--space-sm);
	color: #606875;
	font-size: var(--type-label);
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	line-height: var(--leading-body);
	overflow-wrap: anywhere;
}

.stories-section .stories-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	max-width: 100%;
	min-height: 44px;
	padding: 10px 0;
	border-bottom: 1px solid #b9bec8;
	color: inherit;
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;
}

.stories-section .stories-link:hover {
	color: #8b6900;
}

.stories-section .stories-link svg {
	width: 18px;
	height: 18px;
}

.stories-heading > .stories-link {
	flex-shrink: 0;
}

.stories-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	gap: var(--space-md);
}

.stories-grid h3 {
	margin-bottom: 0;
	overflow-wrap: anywhere;
}

.story-feature,
.story-card {
	min-width: 0;
	border: 1px solid var(--border);
}

.story-image {
	position: relative;
	height: 310px;
	overflow: hidden;
}

.story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
}

.story-image-label {
	position: absolute;
	top: 22px;
	left: 22px;
	max-width: calc(100% - 44px);
	padding: 7px 12px;
	color: var(--canvas);
	background: #191c27d9;
	font-size: var(--type-label);
	font-weight: 800;
	letter-spacing: 0.1em;
	overflow-wrap: anywhere;
}

.story-play {
	position: absolute;
	bottom: 24px;
	left: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	color: var(--navy);
	background: var(--yellow);
	text-decoration: none;
}

.story-play:hover {
	background: var(--canvas);
}

.story-play svg {
	width: 24px;
	height: 24px;
}

.story-content,
.story-card {
	padding: var(--card-padding);
}

.stories-section .story-description {
	margin: var(--space-sm) 0 0;
	color: var(--muted);
	font-size: var(--type-body);
	line-height: var(--leading-body);
	overflow-wrap: anywhere;
}

.story-content .stories-link,
.story-card .stories-link {
	margin-top: var(--space-sm);
}

.story-content .story-video-link {
	display: flex;
}

.story-side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: var(--space-md);
	min-width: 0;
}

.story-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.story-card--anniversary {
	background: #f4f5f7;
}

.story-card > :not(.story-number) {
	position: relative;
	z-index: 1;
}

.story-card .story-description {
	max-width: 335px;
}

.story-number {
	position: absolute;
	right: 16px;
	bottom: -40px;
	z-index: 0;
	color: #e7e9ee;
	font-size: 13rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.08em;
	pointer-events: none;
}

@media (max-width: 900px) {
	.stories-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: var(--space-sm);
	}

	.stories-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.story-side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
	}
}

@media (max-width: 640px) {
	.story-image {
		height: 235px;
	}

	.story-side {
		grid-template-columns: minmax(0, 1fr);
	}
}
