.ro-trip-page {
	--ro-dark: #173b2d;
	--ro-green: #285943;
	--ro-green-light: #dcebd0;
	--ro-cream: #f4f9ec;
	--ro-orange: #cb8451;
	--ro-line: rgba(23, 59, 45, .16);
	--ro-muted: #617168;
	color: var(--ro-dark);
	font-family: inherit;
}

.ro-trip-page *,
.ro-trip-page *::before,
.ro-trip-page *::after {
	box-sizing: border-box;
}

.ro-trip-shell {
	width: min(1280px, calc(100% - 40px));
	margin-inline: auto;
}

.ro-trip-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(78vh, 760px);
	padding: clamp(150px, 18vh, 250px) 0 clamp(58px, 8vw, 105px);
	background: linear-gradient(135deg, #315f49, #102b20);
	background-image: var(--ro-trip-hero);
	background-position: center;
	background-size: cover;
	isolation: isolate;
}

.ro-trip-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(8, 27, 19, .88) 0%, rgba(8, 27, 19, .58) 48%, rgba(8, 27, 19, .22) 100%), linear-gradient(0deg, rgba(8, 27, 19, .72), transparent 55%);
}

.ro-trip-hero__content {
	color: #fff;
}

.ro-trip-kicker {
	margin: 0 0 10px;
	color: var(--ro-orange);
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.ro-trip-hero h1 {
	max-width: 900px;
	margin: 0;
	color: #fff;
	font-size: clamp(2.8rem, 7vw, 6.5rem);
	font-weight: 760;
	letter-spacing: -.055em;
	line-height: .95;
}

.ro-trip-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.ro-trip-hero__badges span {
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(8px);
	font-size: .83rem;
	font-weight: 700;
}

.ro-trip-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 26px;
	margin-top: 28px;
	font-size: clamp(1rem, 2vw, 1.2rem);
}

.ro-trip-hero__meta > *:not(:last-child)::after {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-left: 26px;
	border-radius: 50%;
	background: var(--ro-orange);
	vertical-align: middle;
}

.ro-trip-price {
	font-size: 1.18em;
}

.ro-trip-primary-button,
.ro-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 34px;
	padding: 16px 18px 16px 24px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--ro-dark);
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

.ro-trip-primary-button:hover,
.ro-submit-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.ro-trip-primary-button span,
.ro-submit-button span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ro-green-light);
}

.ro-trip-overview {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
	gap: clamp(45px, 8vw, 110px);
	padding-block: clamp(70px, 10vw, 140px);
}

.ro-trip-description {
	font-size: clamp(1.03rem, 1.4vw, 1.18rem);
	line-height: 1.75;
}

.ro-trip-description > :first-child {
	margin-top: 0;
}

.ro-trip-description h2,
.ro-trip-description h3 {
	color: var(--ro-dark);
	letter-spacing: -.025em;
}

.ro-trip-description img {
	max-width: 100%;
	height: auto;
	border-radius: 18px;
}

.ro-trip-facts {
	align-self: start;
	padding: 28px;
	border: 1px solid var(--ro-line);
	border-radius: 24px;
	background: var(--ro-cream);
	box-shadow: 0 24px 60px rgba(23, 59, 45, .09);
}

.ro-trip-facts h2 {
	margin: 0 0 18px;
	font-size: 1.35rem;
}

.ro-trip-facts > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 15px 0;
	border-top: 1px solid var(--ro-line);
}

.ro-trip-facts > div > span {
	color: var(--ro-muted);
	font-size: .83rem;
}

.ro-trip-facts__fitness {
	align-items: flex-start !important;
	flex-direction: column;
}

.ro-bike-rating {
	display: flex;
	gap: 5px;
}

.ro-bike-rating span {
	display: block;
	width: 31px;
	color: var(--ro-green);
}

.ro-bike-rating .is-inactive {
	color: #c9d1cc;
}

.ro-bike-rating svg {
	display: block;
	width: 100%;
	height: auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.5;
}

.ro-trip-gallery-section {
	padding-bottom: clamp(70px, 10vw, 140px);
}

.ro-trip-gallery-section h2 {
	max-width: 720px;
	margin: 0 0 32px;
	font-size: clamp(2rem, 4vw, 4rem);
	letter-spacing: -.045em;
	line-height: 1.05;
}

.ro-trip-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 260px));
	gap: 16px;
	justify-content: start;
}

.ro-trip-gallery a {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	overflow: hidden;
}

.ro-trip-gallery a:first-child {
	grid-column: auto;
	grid-row: auto;
	aspect-ratio: 4 / 3;
}

.ro-trip-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.ro-trip-gallery a:hover img {
	transform: scale(1.045);
}

.ro-trip-signup-section {
	padding-block: clamp(70px, 10vw, 130px);
	background: var(--ro-cream);
}

.ro-trip-signup-heading {
	max-width: 740px;
	margin-bottom: 42px;
}

.ro-trip-signup-heading h2 {
	margin: 0;
	font-size: clamp(2.1rem, 5vw, 4.8rem);
	letter-spacing: -.05em;
	line-height: 1;
}

.ro-trip-signup-heading > p:last-child {
	color: var(--ro-muted);
	font-size: 1.05rem;
}

.ro-signup-form {
	padding: clamp(22px, 4vw, 48px);
	border: 1px solid var(--ro-line);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 25px 70px rgba(23, 59, 45, .1);
}

.ro-people-control {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	padding: 20px;
	border-radius: 18px;
	background: var(--ro-green-light);
}

.ro-people-control strong,
.ro-people-control span {
	display: block;
}

.ro-people-control span {
	margin-top: 3px;
	color: var(--ro-muted);
	font-size: .84rem;
}

.ro-stepper {
	display: grid;
	grid-template-columns: 42px 50px 42px;
	align-items: center;
	border: 1px solid var(--ro-line);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.ro-stepper button,
.ro-stepper input {
	width: 100%;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ro-dark);
	font: inherit;
	font-weight: 800;
	text-align: center;
}

.ro-stepper button {
	cursor: pointer;
}

.ro-stepper button:disabled {
	opacity: .3;
	cursor: default;
}

.ro-stepper input::-webkit-outer-spin-button,
.ro-stepper input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.ro-participants {
	display: grid;
	gap: 24px;
}

.ro-participant {
	min-width: 0;
	margin: 0;
	padding: clamp(18px, 3vw, 32px);
	border: 1px solid var(--ro-line);
	border-radius: 22px;
}

.ro-participant legend {
	padding: 0 10px;
	color: var(--ro-dark);
	font-size: 1.25rem;
	font-weight: 800;
}

.ro-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.ro-form-grid label > span:first-child {
	display: block;
	margin-bottom: 7px;
	font-size: .85rem;
	font-weight: 700;
}

.ro-form-grid input,
.ro-form-grid select,
.ro-form-grid textarea {
	width: 100%;
	min-height: 50px;
	padding: 11px 13px;
	border: 1px solid rgba(23, 59, 45, .24);
	border-radius: 11px;
	background: #fff;
	color: var(--ro-dark);
	font: inherit;
}

.ro-form-grid input:focus,
.ro-form-grid select:focus,
.ro-form-grid textarea:focus {
	border-color: var(--ro-green);
	box-shadow: 0 0 0 3px rgba(40, 89, 67, .13);
	outline: 0;
}

.ro-phone-input {
	display: grid !important;
	grid-template-columns: minmax(135px, .75fr) minmax(130px, 1.25fr);
	gap: 8px;
	margin: 0 !important;
}

.ro-field-wide {
	grid-column: 1 / -1;
}

.ro-custom-checkbox {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 50px;
	padding-top: 24px;
}

.ro-custom-checkbox input {
	width: 18px;
	min-height: 18px;
}

.ro-booking-extra {
	margin-top: 24px;
}

.ro-consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-top: 26px;
	color: var(--ro-muted);
	font-size: .88rem;
	line-height: 1.5;
}

.ro-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.ro-submit-button {
	background: var(--ro-green);
	color: #fff;
	font: inherit;
}

.ro-submit-button span {
	background: rgba(255, 255, 255, .16);
}

.ro-form-security {
	margin: 14px 0 0;
	color: var(--ro-muted);
	font-size: .78rem;
}

.ro-form-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ro-form-message {
	margin-bottom: 24px;
	padding: 16px 18px;
	border-radius: 14px;
}

.ro-form-message.is-success {
	background: #dff1df;
	color: #174d2c;
}

.ro-form-message.is-error {
	background: #fbe6e4;
	color: #81251e;
}

@media (max-width: 820px) {
	.ro-trip-overview {
		grid-template-columns: 1fr;
	}

	.ro-trip-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.ro-trip-shell {
		width: min(100% - 24px, 1280px);
	}

	.ro-trip-hero {
		min-height: 680px;
		padding-bottom: 48px;
	}

	.ro-trip-hero__meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.ro-trip-hero__meta > *::after {
		display: none !important;
	}

	.ro-people-control {
		align-items: flex-start;
		flex-direction: column;
	}

	.ro-form-grid {
		grid-template-columns: 1fr;
	}

	.ro-field-wide {
		grid-column: auto;
	}
}

@media (max-width: 390px) {
	.ro-trip-gallery {
		grid-template-columns: 1fr;
	}
}
