/* Source: homepage-refinements.css */
/* Dynamic homepage hero. */
.home-hero-slider {
	padding: 24px 0 0;
}

.home-hero-slider__viewport {
	position: relative;
	display: grid;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	background: #f3f3f1;
	box-shadow: 0 12px 35px rgba(21, 33, 50, .08);
	overflow: hidden;
}

.home-hero-slider__slide {
	display: block;
	min-width: 0;
	height: 100%;
	grid-area: 1 / 1;
}

.home-hero-slider__viewport.is-draggable {
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.home-hero-slider__viewport.is-dragging {
	cursor: grabbing;
}

.home-hero-slider__slide {
	transition: transform .2s ease;
	will-change: transform;
}

.home-hero-slider__viewport.is-dragging .home-hero-slider__slide {
	transition: none;
}

.home-hero-slider__slide picture {
	display: block;
	width: 100%;
	height: 100%;
}

.home-hero-slider__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero-slider__arrows {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.home-hero-slider__arrow {
	position: absolute;
	top: 50%;
	display: grid;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .62);
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .68));
	box-shadow: 0 10px 30px rgba(23, 32, 42, .2), inset 0 1px 0 rgba(255, 255, 255, .82);
	color: rgba(23, 32, 42, .88);
	transform: translateY(-50%);
	transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
	place-items: center;
	cursor: pointer;
	pointer-events: auto;
	backdrop-filter: blur(12px) saturate(140%);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
}

.home-hero-slider__arrow--previous {
	left: 18px;
}

.home-hero-slider__arrow--next {
	right: 18px;
}

.home-hero-slider__arrow svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.home-hero-slider__arrow:hover,
.home-hero-slider__arrow:focus-visible {
	border-color: rgba(255, 255, 255, .92);
	background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(242, 248, 245, .82));
	box-shadow: 0 13px 34px rgba(23, 32, 42, .25), 0 0 0 4px rgba(255, 255, 255, .2);
	color: var(--rt-green);
	transform: translateY(-50%) scale(1.06);
	outline: 0;
}

.home-hero-slider__dots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	display: flex;
	z-index: 2;
	gap: 7px;
	transform: translateX(-50%);
}

.home-hero-slider__dots button {
	display: grid;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	place-items: center;
	cursor: pointer;
}

.home-hero-slider__dots button::after {
	content: '';
	width: 9px;
	height: 9px;
	border: 1px solid rgba(23, 32, 42, .34);
	border-radius: 50%;
	background: rgba(255, 255, 255, .78);
	box-shadow: 0 1px 4px rgba(23, 32, 42, .18);
	transition: width .2s, border-radius .2s, background-color .2s;
}

.home-hero-slider__dots button[aria-current="true"]::after {
	width: 25px;
	border-radius: 999px;
	background: var(--rt-green);
	border-color: transparent;
}

.homepage-intro {
	padding: 58px 0 24px;
	text-align: center;
}

.homepage-intro__inner {
	max-width: 850px;
}

.homepage-intro h1 {
	margin: 6px 0 16px;
	font-size: clamp(38px, 4vw, 56px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.homepage-intro__inner > p:last-child {
	max-width: 680px;
	margin: 0 auto;
	color: var(--rt-muted);
	font-size: 17px;
	line-height: 1.65;
}

.category-carousel__controls {
	display: none;
}

.category-section .category-card__image {
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

.category-section .category-card:nth-child(n) .category-card__image {
	background: transparent;
}

.category-section .category-card:hover .category-card__image {
	box-shadow: none;
}

@media (max-width: 700px) {
	.category-section .section-heading {
		margin-bottom: 22px;
	}

	.category-carousel {
		position: relative;
	}

	.category-section .category-grid {
		display: flex;
		gap: 8px;
		margin-inline: -14px;
		padding: 2px 14px 10px;
		overflow-x: auto;
		scroll-behavior: smooth;
		scroll-padding-inline: 14px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}

	.category-section .category-grid::-webkit-scrollbar {
		display: none;
	}

	.category-section .category-card {
		flex: 0 0 calc((100% - 16px) / 3);
		min-width: 0;
		scroll-snap-align: start;
	}

	.category-carousel__controls {
		display: flex;
		justify-content: flex-end;
		gap: 8px;
		margin-top: 10px;
	}

	.category-carousel__controls button {
		display: grid;
		width: 38px;
		height: 38px;
		padding: 0;
		place-items: center;
		border: 1px solid #dce4df;
		border-radius: 50%;
		background: #fff;
		color: var(--rt-green, #19734a);
		cursor: pointer;
	}

	.category-carousel__controls button:hover,
	.category-carousel__controls button:focus-visible {
		border-color: var(--rt-green, #19734a);
		background: #f2f8f4;
	}

	.category-carousel__controls svg {
		width: 20px;
		height: 20px;
		fill: none;
		stroke: currentColor;
		stroke-width: 2;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.home-hero-slider {
		padding-top: 14px;
	}

	.home-hero-slider .container {
		width: 100%;
	}

	.home-hero-slider__viewport {
		aspect-ratio: 16 / 9;
		border-radius: 0;
	}

	.home-hero-slider__arrow {
		width: 40px;
		height: 40px;
	}

	.home-hero-slider__arrow--previous {
		left: 10px;
	}

	.home-hero-slider__arrow--next {
		right: 10px;
	}

	.home-hero-slider__dots {
		bottom: 18px;
		left: 14px;
		transform: none;
	}

	.homepage-intro {
		padding: 44px 0 12px;
	}

	.homepage-intro h1 {
		margin-top: 4px;
		font-size: 36px;
		line-height: 1.1;
	}

	.homepage-intro__inner > p:last-child {
		font-size: 15px;
		line-height: 1.6;
	}
}

@media (max-width: 350px) {
	.hero__actions {
		flex-wrap: wrap;
	}
}

/* WCAG AA contrast fix: --rt-coral (2.4-2.8:1 on light backgrounds) fails
   4.5:1 for 12px bold text. Darker shade keeps the coral hue, passes on
   white, warm and blue section backgrounds used behind .eyebrow. */
.eyebrow {
	color: #b8402f;
}

/* Source: story-refinements.css */
.story__media {
	position: relative;
	min-height: 430px;
	padding: 34px;
	border-radius: 28px;
	background: linear-gradient(145deg, #fff9ed, #fff 58%, #edf8f0);
	box-shadow: 0 16px 42px rgba(23, 32, 42, .09);
	overflow: hidden;
}

.story__media::before,
.story__media::after {
	position: absolute;
	border-radius: 50%;
	content: "";
}

.story__media::before {
	top: -70px;
	right: -65px;
	width: 210px;
	height: 210px;
	background: rgba(248, 213, 72, .55);
}

.story__media::after {
	bottom: -85px;
	left: -70px;
	width: 230px;
	height: 230px;
	background: rgba(25, 115, 74, .12);
}

.story-stats {
	position: relative;
	z-index: 1;
	display: grid;
	height: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.story-stat {
	display: flex;
	min-height: 172px;
	padding: 24px;
	border: 1px solid rgba(23, 32, 42, .08);
	border-radius: 18px;
	background: rgba(255, 255, 255, .9);
	flex-direction: column;
	justify-content: flex-end;
}

.story-stat--primary {
	border-color: #19734a;
	background: #19734a;
	color: #fff;
}

.story-stat strong {
	display: block;
	font-size: clamp(28px, 3.4vw, 44px);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
}

.story-stat span {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.story__content > p:not(.eyebrow) {
	font-size: 16px;
	line-height: 1.65;
}

@media (max-width: 700px) {
	.story__media {
		min-height: 0;
		padding: 20px;
	}

	.story-stats {
		gap: 10px;
	}

	.story-stat {
		min-height: 128px;
		padding: 17px;
		border-radius: 14px;
	}

	.story-stat strong {
		font-size: 29px;
	}

	.story-stat span {
		font-size: 13px;
	}
}

/* Source: journal-refinements.css */
.journal-grid--1 {
	max-width: 560px;
	grid-template-columns: 1fr;
}

.journal-grid--2 {
	max-width: 930px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.journal-card {
	border-color: #e4e7e5;
	border-radius: 14px;
	background: #fff;
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.journal-card:hover,
.journal-card:focus-within {
	border-color: #cfded2;
	box-shadow: 0 12px 30px rgba(23, 32, 42, .08);
	transform: translateY(-3px);
}

.journal-card img {
	transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}

.journal-card:hover img,
.journal-card:focus-within img {
	transform: scale(1.025);
}

.journal-card__body {
	padding: 20px 22px 22px;
}

.journal-card h3 {
	margin: 7px 0 17px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.journal-card span {
	color: #19734a;
	font-size: 13px;
}

@media (max-width: 700px) {
	.journal-grid--1,
	.journal-grid--2 {
		max-width: none;
		grid-template-columns: 1fr;
	}

	.journal-card h3 {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.journal-card,
	.journal-card img {
		transition: none;
	}
}

