/* ==========================================================================
   FLAMTEES — Homepage Stories
   ========================================================================== */

.flamtees-stories {
	width: 100%;
	background: #ffffff;
}

/* ==========================================================================
   Story Row
   ========================================================================== */

.flamtees-story {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
	min-height: 620px;
	background: #ffffff;
}

.flamtees-story--reverse .flamtees-story__media {
	order: 2;
}

.flamtees-story--reverse .flamtees-story__content {
	order: 1;
}

/* ==========================================================================
   Image
   ========================================================================== */

.flamtees-story__media {
	position: relative;
	min-width: 0;
	min-height: 620px;
	overflow: hidden;
	border-radius: 8px;
	background: #f2f2f2;
}

.flamtees-story__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 900ms ease;
}

.flamtees-story:hover .flamtees-story__image {
	transform: scale(1.025);
}

/* Placeholder while no image is selected */

.flamtees-story__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(
			135deg,
			#eeeeee 0%,
			#f8f8f8 100%
		);
}

.flamtees-story__placeholder span {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #999999;
}

/* ==========================================================================
   Content
   ========================================================================== */

.flamtees-story__content {
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 80px clamp(40px, 6vw, 110px);
	border-radius: 8px;
	background: #f7f7f5;
}

.flamtees-story:nth-child(2) .flamtees-story__content {
	background: #ffffff;
}

.flamtees-story__content-inner {
	width: 100%;
	max-width: 560px;
}

.flamtees-story--reverse .flamtees-story__content-inner {
	margin-left: auto;
}

/* ==========================================================================
   Eyebrow
   ========================================================================== */

.flamtees-story__eyebrow {
	margin: 0 0 18px;
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--flamtees-color-primary);
}

.flamtees-story:nth-child(2) .flamtees-story__eyebrow {
	color: var(--flamtees-color-primary);
}

/* ==========================================================================
   Heading
   ========================================================================== */

.flamtees-story__title {
	max-width: 520px;
	margin: 0;
	font-size: clamp(2.4rem, 4.3vw, 4.8rem);
	font-weight: 800;
	line-height: 0.96;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	color: var(--flamtees-color-primary);
}

.flamtees-story:nth-child(2) .flamtees-story__title {
	color: var(--flamtees-color-primary);
}

/* ==========================================================================
   Description
   ========================================================================== */

.flamtees-story__description {
	max-width: 500px;
	margin-top: 28px;
	font-size: clamp(0.94rem, 1.1vw, 1.05rem);
	font-weight: 400;
	line-height: 1.75;
	color: #4d4d4d;
}

.flamtees-story__description p {
	margin: 0;
}

.flamtees-story__description p + p {
	margin-top: 14px;
}

.flamtees-story:nth-child(2) .flamtees-story__description {
	color: #4d4d4d;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.flamtees-story__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 190px;
	min-height: 52px;
	margin-top: 34px;
	padding: 14px 28px;
	border: 2px solid var(--flamtees-color-primary);
	background: var(--flamtees-color-primary);
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
	color: #ffffff;
	transition:
		background-color var(--flamtees-transition-fast),
		color var(--flamtees-transition-fast),
		transform var(--flamtees-transition-fast);
}

.flamtees-story__button:hover {
	background: transparent;
	color: var(--flamtees-color-primary);
	transform: translateY(-2px);
}

.flamtees-story:nth-child(2) .flamtees-story__button {
	border-color: var(--flamtees-color-primary);
	background: var(--flamtees-color-primary);
	color: #ffffff;
}

.flamtees-story:nth-child(2) .flamtees-story__button:hover {
	background: transparent;
	color: var(--flamtees-color-primary);
}

/* ==========================================================================
   Large Screens
   ========================================================================== */

@media (min-width: 1500px) {

	.flamtees-story {
		min-height: 680px;
	}

	.flamtees-story__media {
		min-height: 680px;
	}

}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1024px) {

	.flamtees-story {
		min-height: 540px;
	}

	.flamtees-story__media {
		min-height: 540px;
	}

	.flamtees-story__content {
		padding: 60px 44px;
	}

	.flamtees-story__title {
		font-size: clamp(2.2rem, 5vw, 3.8rem);
	}

}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {

	.flamtees-story,
	.flamtees-story--reverse {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.flamtees-story .flamtees-story__media,
	.flamtees-story--reverse .flamtees-story__media {
		order: 1;
		width: 100%;
		min-height: 0;
		aspect-ratio: 4 / 5;
	}

	.flamtees-story .flamtees-story__content,
	.flamtees-story--reverse .flamtees-story__content {
		order: 2;
		width: 100%;
		padding: 48px 22px 54px;
	}

	.flamtees-story__content-inner,
	.flamtees-story--reverse .flamtees-story__content-inner {
		max-width: 100%;
		margin: 0;
	}

	.flamtees-story__eyebrow {
		margin-bottom: 14px;
		font-size: 0.68rem;
	}

	.flamtees-story__title {
		max-width: 440px;
		font-size: clamp(2rem, 10vw, 3rem);
		line-height: 0.98;
	}

	.flamtees-story__description {
		margin-top: 22px;
		font-size: 0.92rem;
		line-height: 1.7;
	}

	.flamtees-story__button {
		width: 100%;
		min-height: 50px;
		margin-top: 28px;
	}

}

/* ==========================================================================
   Small Mobile
   ========================================================================== */

@media (max-width: 390px) {

	.flamtees-story .flamtees-story__content,
	.flamtees-story--reverse .flamtees-story__content {
		padding-right: 18px;
		padding-left: 18px;
	}

	.flamtees-story__title {
		font-size: 2rem;
	}

}
