:root {
	--hd-ink: #384040;
	--hd-sand: #b8a080;
	--hd-sand-light: #f2ede5;
	--hd-green: #52685b;
	--hd-white: #fff;
	--hd-surface-radius: 0.5rem;
	--hd-radius: var(--hd-surface-radius, 0.5rem);
	--hd-shadow: 0 8px 30px rgb(31 38 36 / 10%);
}

.hd-wrap {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 1180px;
	padding-inline: clamp(1rem, 4vw, 2rem);
	width: 100%;
}

.hd-tour-grid {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.hd-tour-card {
	background: var(--hd-white);
	border: 1px solid rgb(56 64 64 / 12%);
	border-radius: var(--hd-surface-radius, 0.5rem);
	box-shadow: var(--hd-shadow);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.hd-tour-card__image {
	background: var(--hd-sand-light);
	display: block;
	overflow: hidden;
}

.hd-tour-card__image img,
.hd-tour-card__placeholder {
	aspect-ratio: 4 / 3;
	display: flex;
	height: auto;
	object-fit: cover;
	transition: transform 250ms ease;
	width: 100%;
}

.hd-tour-card__placeholder {
	align-items: center;
	background: linear-gradient(145deg, var(--hd-sand-light), #ded5c7);
	color: var(--hd-ink);
	font-weight: 600;
	justify-content: center;
	padding: 1rem;
	text-align: center;
}

.hd-tour-card:hover .hd-tour-card__image img {
	transform: scale(1.025);
}

.hd-tour-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem;
}

.hd-tour-card__body h3 {
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	margin: 0.45rem 0 0.75rem;
}

.hd-tour-card__body h3 a {
	color: var(--hd-ink);
	text-decoration: none;
}

.hd-tour-card__body h3 a:focus-visible,
.hd-text-link:focus-visible,
.hd-button:focus-visible,
.hd-gallery__link:focus-visible {
	outline: 3px solid var(--hd-sand);
	outline-offset: 3px;
}

.hd-tour-card__date,
.hd-tour-card__photo-status {
	color: #596262;
	font-size: 0.925rem;
	margin: 0.7rem 0 0;
}

.hd-tour-card__photo-status {
	border-top: 1px solid rgb(56 64 64 / 12%);
	margin-top: auto;
	padding-top: 1rem;
}

.hd-text-link {
	color: var(--hd-green);
	display: inline-block;
	font-weight: 700;
	margin-top: 0.7rem;
	text-underline-offset: 0.2em;
}

.hd-status {
	align-self: flex-start;
	background: var(--hd-sand-light);
	border: 1px solid rgb(56 64 64 / 20%);
	border-color: color-mix(in srgb, currentcolor 28%, transparent);
	border-radius: 999px;
	color: var(--hd-ink);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.035em;
	line-height: 1;
	padding: 0.5rem 0.72rem;
	text-transform: uppercase;
}

.hd-status--available,
.hd-status--ongoing,
.hd-status--completed {
	background: #e4ece7;
	color: #294435;
}

.hd-status--few {
	background: #fff0c9;
	color: #664d00;
}

.hd-status--closed {
	background: var(--hd-sand-light, #f2ede5);
	color: #5f4829;
}

.hd-status--full,
.hd-status--registration-closed,
.hd-status--cancelled {
	background: #f2e3e1;
	color: #6d302a;
}

.hd-tour__header {
	background: var(--hd-sand-light);
	padding-block: 0;
}

.hd-tour__heading {
	--hd-tour-title-line-box: clamp(2.24rem, 1.9264rem + 1.232vw, 3.192rem);
	--hd-tour-title-offset: max(2.625rem, calc((var(--hd-header-height, 8.55rem) - var(--hd-tour-title-line-box)) / 2));
	padding-block-start: var(--hd-tour-title-offset);
	position: relative;
}

.hd-tour__heading > .hd-status {
	inset-block-start: max(0.75rem, calc(var(--hd-tour-title-offset) - 2.125rem));
	inset-inline-start: 0;
	position: absolute;
}

.hd-tour__heading > h1 {
	color: var(--hd-ink);
	font-size: clamp(2rem, 1.72rem + 1.1vw, 2.85rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 0.75rem;
	max-width: none;
	text-wrap: wrap;
	width: 100%;
}

.hd-tour__date {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	margin: 0 0 2rem;
}

.hd-tour__hero {
	border-radius: var(--hd-surface-radius, 0.5rem);
	margin: 0;
	overflow: hidden;
	position: relative;
}

.hd-tour__hero img {
	aspect-ratio: 16 / 8;
	border-radius: var(--hd-surface-radius, 0.5rem);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.hd-tour__layout {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
	padding-block: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}

.hd-tour__section + .hd-tour__section {
	border-top: 1px solid rgb(56 64 64 / 15%);
	margin-top: clamp(1.5rem, 1.125rem + 1.875vw, 3rem);
	padding-top: clamp(1.5rem, 1.125rem + 1.875vw, 3rem);
}

.hd-tour__section > h2,
.hd-prose h2,
.hd-inquiry h2 {
	color: var(--hd-ink);
	font-size: clamp(1.5rem, 1.32rem + 0.72vw, 2.05rem);
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.13;
	margin-block: clamp(2.25rem, 3.25vw, 3.25rem) 0.75rem;
}

.hd-tour__section > h3,
.hd-prose h3 {
	color: #9b8a6d;
	font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.55rem);
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.13;
	margin-block: clamp(1.75rem, 2.75vw, 2.75rem) 0.65rem;
}

.hd-prose h4 {
	color: var(--hd-ink);
	font-size: clamp(1.05rem, 1rem + 0.22vw, 1.2rem);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.13;
	margin-block: clamp(1.35rem, 2vw, 2rem) 0.4rem;
}

.hd-tour__section > h2:first-child,
.hd-inquiry > .hd-wrap > h2:first-child {
	margin-block-start: 0;
}

@media (min-width: 783px) {
	.hd-tour__main > .hd-tour__section:first-child > h2:first-child {
		margin-block-start: calc(1.4rem + 1px);
	}
}

.hd-prose {
	font-size: 1.05rem;
	line-height: 1.75;
}

.hd-tour__sidebar {
	align-self: start;
	position: sticky;
	top: 2rem;
}

.hd-facts {
	background: var(--hd-sand-light);
	border-radius: var(--hd-surface-radius, 0.5rem);
	container-name: hd-facts;
	container-type: inline-size;
	padding: 1.4rem;
}

.hd-facts dl,
.hd-facts dd {
	margin: 0;
}

.hd-facts dl > div {
	border-top: 1px solid rgb(56 64 64 / 14%);
	display: grid;
	gap: 0.2rem;
	grid-template-columns: minmax(0, 1fr);
	padding-block: 0.7rem;
}

.hd-facts dl > div:first-child {
	border-top: 0;
	padding-block-start: 0;
}

.hd-facts dt {
	font-size: 0.82rem;
	font-weight: 700;
	hyphens: auto;
	letter-spacing: 0.025em;
	min-width: 0;
	overflow-wrap: break-word;
	text-transform: uppercase;
}

.hd-facts dd {
	line-height: 1.45;
	min-width: 0;
	overflow-wrap: anywhere;
}

@container hd-facts (min-width: 18rem) {
	.hd-facts dl > div {
		column-gap: 0.75rem;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		row-gap: 0.25rem;
	}
}

.hd-guaranteed {
	color: #294435;
	font-weight: 700;
}

.hd-button {
	background: var(--hd-green);
	border-radius: 4px;
	box-sizing: border-box;
	color: #fff;
	display: block;
	font-weight: 700;
	margin-top: 1rem;
	padding: 0.9rem 1.1rem;
	text-align: center;
	text-decoration: none;
}

.hd-button:hover {
	background: var(--hd-ink);
	color: #fff;
}

.hd-program-more {
	display: flex;
	justify-content: flex-start;
	margin-block-start: clamp(1.5rem, 2.5vw, 2.25rem);
}

.hd-program-more .hd-button {
	display: inline-flex;
	margin-top: 0;
	width: auto;
}

.hd-tour-pagination {
	margin-block-start: clamp(1.75rem, 3vw, 2.75rem);
}

.hd-tour-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hd-tour-pagination ul.page-numbers > li {
	margin: 0;
}

.hd-tour-pagination a.page-numbers,
.hd-tour-pagination span.page-numbers {
	align-items: center;
	background: var(--hd-white);
	border: 1px solid rgb(56 64 64 / 24%);
	border-radius: 4px;
	box-sizing: border-box;
	color: var(--hd-ink);
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-block-size: 2.75rem;
	min-inline-size: 2.75rem;
	padding: 0.55rem 0.8rem;
	text-decoration: none;
}

.hd-tour-pagination a.page-numbers:hover {
	background: var(--hd-sand-light);
	color: var(--hd-ink);
}

.hd-tour-pagination a.page-numbers:focus-visible {
	outline: 3px solid var(--hd-sand);
	outline-offset: 3px;
}

.hd-tour-pagination span.page-numbers.current {
	background: var(--hd-green);
	border-color: var(--hd-green);
	color: var(--hd-white);
}

.hd-gallery {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 1.5rem;
}

.hd-gallery__item {
	margin: 0;
}

.hd-gallery__link {
	background: var(--hd-sand-light);
	border-radius: var(--hd-surface-radius, 0.5rem);
	display: block;
	overflow: hidden;
}

.hd-gallery__link img {
	aspect-ratio: 4 / 3;
	border-radius: var(--hd-surface-radius, 0.5rem);
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 200ms ease;
	width: 100%;
}

.hd-gallery__link:hover img {
	transform: scale(1.025);
}

.hd-gallery__item figcaption {
	color: #596262;
	font-size: 0.85rem;
	line-height: 1.4;
	padding-top: 0.4rem;
}

.hd-inquiry {
	background: var(--hd-sand-light);
	padding-block: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}

.hd-notice,
.hd-empty {
	background: var(--hd-sand-light);
	border-left: 4px solid var(--hd-sand);
	border-radius: var(--hd-surface-radius, 0.5rem);
	padding: 1rem;
}

.hd-lightbox {
	background: #151818;
	border: 0;
	box-sizing: border-box;
	color: #fff;
	height: 100%;
	margin: 0;
	max-height: 100%;
	max-width: 100%;
	padding: 3.5rem clamp(1rem, 5vw, 5rem) 2rem;
	width: 100%;
}

.hd-lightbox::backdrop {
	background: rgb(0 0 0 / 90%);
}

.hd-lightbox__figure {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	margin: 0;
}

.hd-lightbox__image {
	border-radius: var(--hd-surface-radius, 0.5rem);
	display: block;
	margin: auto;
	max-height: calc(100vh - 9rem);
	max-width: 100%;
	object-fit: contain;
}

.hd-lightbox__caption {
	min-height: 1.5em;
	padding-top: 0.7rem;
	text-align: center;
}

.hd-lightbox__close,
.hd-lightbox__prev,
.hd-lightbox__next {
	background: rgb(255 255 255 / 90%);
	border: 0;
	border-radius: 3px;
	color: #151818;
	cursor: pointer;
	font-size: 1.6rem;
	line-height: 1;
	padding: 0.65rem;
	position: fixed;
	z-index: 1;
}

.hd-lightbox__close {
	right: 1rem;
	top: 1rem;
}

.hd-lightbox__prev,
.hd-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.hd-lightbox__prev {
	left: 1rem;
}

.hd-lightbox__next {
	right: 1rem;
}

@media (max-width: 782px) {
	.hd-tour__layout {
		grid-template-columns: 1fr;
	}

	.hd-tour__sidebar {
		position: static;
	}

	.hd-tour__hero img {
		aspect-ratio: 4 / 3;
	}

	.hd-gallery {
		-webkit-overflow-scrolling: touch;
		grid-auto-columns: min(82vw, 22rem);
		grid-auto-flow: column;
		grid-auto-rows: auto;
		grid-template-columns: none;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-inline: contain;
		padding-block-end: 0.75rem;
		scroll-snap-type: inline proximity;
		scrollbar-color: var(--hd-sand) rgb(56 64 64 / 14%);
		scrollbar-width: thin;
	}

	.hd-gallery__item {
		scroll-snap-align: start;
	}

	.hd-gallery::-webkit-scrollbar {
		height: 0.5rem;
	}

	.hd-gallery::-webkit-scrollbar-track {
		background: rgb(56 64 64 / 14%);
		border-radius: 999px;
	}

	.hd-gallery::-webkit-scrollbar-thumb {
		background: var(--hd-sand);
		border-radius: 999px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-tour-card__image img,
	.hd-gallery__link img {
		transition: none;
	}
}
