/* Product footer and editable story cards, based on Group 74.pdf (1440px). */
.product-stories {
	padding: 80px;
	color: var(--main-navy);
	background: var(--background-gray);
}
.product-stories--cases {
	color: var(--background-white);
	background: var(--main-navy);
}
.product-stories__inner {
	max-width: 1280px;
	margin-inline: auto;
}
.product-stories__heading {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 44px;
	margin-bottom: 46px;
}
.product-stories__heading::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 120px;
	height: 2px;
	background: linear-gradient(to right, var(--main-red) 50%, var(--border-gray) 50%);
	content: "";
}
.product-stories--cases .product-stories__heading::after {
	background: linear-gradient(to right, var(--main-red) 50%, var(--background-white) 50%);
}
.product-stories__heading h2 {
	margin: 0;
	font-size: 34px;
	font-weight: 500;
	line-height: 58px;
	letter-spacing: 0.05em;
}
.product-stories__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 278px;
	min-height: 58px;
	padding: 16px 18px;
	border-radius: 4px;
	color: var(--background-white);
	background: var(--main-red);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	transition: opacity var(--duration-fast);
}
.product-stories__more span { flex-shrink: 0; font-size: 20px; line-height: 1; }
.product-stories__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.product-story-card {
	min-width: 0;
	overflow: hidden;
	border-radius: 8px;
	color: #4b5059;
	background: var(--background-white);
}
.product-story-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.product-story-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px 28px;
	overflow-wrap: anywhere;
}
.product-story-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	margin: 0 0 6px;
	list-style: none;
}
.product-story-card__tags li {
	padding: 1px 6px;
	border: 1px solid var(--main-red);
	border-radius: 3px;
	color: var(--main-red);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}
.product-story-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}
.product-story-card__summary {
	padding-top: 14px;
	margin: 14px 0 0;
	border-top: 1px solid var(--border-gray);
	color: #222;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}
.product-story-card--project .product-story-card__tags { margin-bottom: 12px; }
.product-story-card--project .product-story-card__tags li {
	padding: 3px 12px;
	font-size: 14px;
}
.product-story-card--project .product-story-card__summary {
	padding-top: 0;
	margin-top: 12px;
	border: 0;
	font-size: 12px;
}
.product-story-card__products {
	padding-top: 12px;
	margin: auto 0 0;
	color: #929292;
	font-family: var(--font-condensed), var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}
.product-stories__empty {
	padding: 40px 24px;
	margin: 0;
	border: 1px solid var(--border-gray);
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.8;
	text-align: center;
}
.product-stories--cases .product-stories__empty { border-color: rgb(255 255 255 / 30%); }
.product-stories .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 48px;
}
.product-stories .page-numbers { padding: 8px; }
.product-stories .page-numbers.current { text-decoration: underline; text-underline-offset: 6px; }
.product-story-detail {
	max-width: 1060px;
	padding: 40px 40px 80px;
	margin-inline: auto;
}
.product-story-detail > h2 { margin: 0 0 32px; font-size: 32px; line-height: 1.6; }
.product-story-detail__lead,
.product-story-detail__content { font-size: 16px; line-height: 2; overflow-wrap: anywhere; }
.product-story-detail img { max-width: 100%; height: auto; }
.product-story-detail__image { margin-block: 32px; }
.product-story-detail__products { padding: 24px; margin-top: 48px; background: var(--background-gray); }
.product-story-detail__products h3 { margin-top: 0; }
.product-story-detail__products ul { padding-left: 20px; margin-bottom: 0; }
.product-story-detail__products li { margin-top: 12px; }
.product-story-detail__content a,
.product-story-detail__products a,
.product-story-detail__back { text-decoration: underline; text-underline-offset: 4px; }
.product-story-detail__back { display: inline-block; margin-top: 40px; }
.product-story-card__link:focus-visible,
.product-stories__more:focus-visible { outline: 3px solid var(--main-red); outline-offset: -4px; }
@media (hover: hover) {
	.product-stories__more:hover { opacity: 0.8; }
	.product-story-card__link { transition: opacity var(--duration-fast); }
	.product-story-card__link:hover { opacity: 0.8; }
}
@media (min-width: 821px) and (max-width: 1200px) {
	.product-stories { padding: 64px 40px; }
	.product-stories__grid { gap: 24px; }
	.product-stories__heading h2 { font-size: 30px; }
	.product-story-card__body { padding: 20px; }
}
@media (max-width: 820px) {
	.product-stories { padding: 48px 20px; }
	.product-stories__heading { flex-direction: column; gap: 20px; padding-bottom: 28px; margin-bottom: 28px; }
	.product-stories__heading h2 { font-size: 26px; line-height: 1.5; }
	.product-stories__more { align-self: flex-end; width: min(278px, 100%); min-height: 52px; font-size: 13px; }
	.product-stories__grid { grid-template-columns: 1fr; gap: 24px; }
	.product-story-card__body { padding: 24px; }
	.product-story-card__title { font-size: 18px; }
	.product-story-detail { padding: 24px 20px 48px; }
	.product-story-detail > h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.product-story-card__link,
	.product-stories__more { transition: none; }
}
