/* Sticky Scroll Section widget: structural layout. Colors/typography come from Elementor's own controls. */

.hf-sticky-scroll {
	display: grid;
	grid-template-columns: minmax(280px, 480px) 1fr;
	gap: 64px;
	align-items: start;
	width: 100%;
	max-width: 1250px;
	margin: 0 auto;
	padding: 100px 32px;
	box-sizing: border-box;
	background-color: var(--color-bg, #FFFDFC);
}

/* Sticky media column */
.hf-sticky-scroll__media {
	position: sticky;
	top: 32px;
	align-self: start;
}

.hf-sticky-scroll__image {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background-color: var(--color-card-highlight, #F5E5ED);
}

.hf-sticky-scroll__image img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.hf-sticky-scroll__image-placeholder {
	width: 100%;
	height: 100%;
	border: 1px dashed var(--color-border, #E8DEE3);
	box-sizing: border-box;
}

.hf-sticky-scroll__icon {
	position: absolute;
	top: 24px;
	left: 24px;
	opacity: 0.9;
}

.hf-sticky-scroll__icon img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.hf-sticky-scroll__overlay-text {
	position: absolute;
	left: 32px;
	top: 50%;
	transform: translateY(-50%);
	font-family: 'DM Sans', sans-serif;
	font-style: italic;
	font-size: 2.4rem;
	line-height: 1;
}

.hf-sticky-scroll__button {
	position: absolute;
	left: 24px;
	bottom: 24px;
	right: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: fit-content;
	padding: 14px 8px 14px 24px;
	border-radius: 999px;
	text-decoration: none;
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	transition: opacity 0.2s ease;
}

.hf-sticky-scroll__button:hover {
	opacity: 0.9;
}

.hf-sticky-scroll__button-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.15);
	flex-shrink: 0;
}

/* Scrolling content column */
.hf-sticky-scroll__blocks {
	display: flex;
	flex-direction: column;
}

.hf-sticky-scroll__block {
	padding: 32px 0;
}

.hf-sticky-scroll__block:first-child {
	padding-top: 0;
}

.hf-sticky-scroll__eyebrow {
	margin: 0 0 16px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hf-sticky-scroll__heading {
	margin: 0 0 20px;
	font-family: 'Oswald', sans-serif;
	line-height: 1.2;
}

.hf-sticky-scroll__content {
	font-family: 'DM Sans', sans-serif;
	font-size: 1.05rem;
	line-height: 1.7;
}

.hf-sticky-scroll__content > *:first-child {
	margin-top: 0;
}

.hf-sticky-scroll__content > *:last-child {
	margin-bottom: 0;
}

.hf-sticky-scroll__content ul,
.hf-sticky-scroll__content ol {
	padding-left: 1.2em;
}

.hf-sticky-scroll__divider {
	margin: 0;
	border: none;
	border-top: 1px solid var(--color-border, #E8DEE3);
}

@media (max-width: 900px) {
	.hf-sticky-scroll {
		grid-template-columns: 1fr;
		gap: 32px;
		max-width: 560px;
	}

	.hf-sticky-scroll__media {
		position: static;
	}
}

@media (max-width: 560px) {
	.hf-sticky-scroll {
		padding: 64px 24px;
	}

	.hf-sticky-scroll__overlay-text {
		font-size: 1.8rem;
	}
}
