/* Heritage Tours — front-end. Large type and high contrast for older travellers. */

.hdt-booking-form,
.hdt-waitlist-form {
	--hdt-navy: #14243f;
	--hdt-gold: #b8925a;
	--hdt-line: #d8dde5;
	font-size: 1.0625rem;
	line-height: 1.6;
	max-width: 44rem;
}

.hdt-booking-form .hdt-field,
.hdt-waitlist-form .hdt-field {
	margin: 0 0 1.25rem;
}

.hdt-booking-form label,
.hdt-waitlist-form label {
	display: block;
	font-weight: 600;
	color: var(--hdt-navy);
	margin-bottom: 0.35rem;
}

.hdt-booking-form input[type="text"],
.hdt-booking-form input[type="email"],
.hdt-booking-form input[type="tel"],
.hdt-booking-form input[type="number"],
.hdt-booking-form select,
.hdt-booking-form textarea,
.hdt-waitlist-form input,
.hdt-waitlist-form select {
	width: 100%;
	padding: 0.85rem 0.9rem;
	font-size: 1.0625rem;
	border: 2px solid var(--hdt-line);
	border-radius: 6px;
	background: #fff;
	color: #16202e;
}

.hdt-booking-form select:focus,
.hdt-booking-form input:focus,
.hdt-booking-form textarea:focus {
	outline: 3px solid var(--hdt-gold);
	outline-offset: 2px;
	border-color: var(--hdt-navy);
}

.hdt-req { color: #b3261e; }
.hdt-hint { font-size: 0.95rem; color: #55617a; margin: 0.4rem 0 0; }

.hdt-availability { font-weight: 600; color: var(--hdt-navy); margin: 0.5rem 0 0; }

.hdt-declaration {
	background: #f6f8fb;
	border: 2px solid var(--hdt-navy);
	border-radius: 8px;
	padding: 1rem 1.1rem;
}

.hdt-declaration label {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-weight: 500;
}

.hdt-declaration input[type="checkbox"] {
	width: 1.5rem;
	height: 1.5rem;
	margin-top: 0.15rem;
	flex: 0 0 auto;
}

.hdt-submit { margin-top: 1.25rem; font-size: 1.125rem; padding: 0.9rem 1.6rem; }
.hdt-submit[disabled] { opacity: 0.55; cursor: not-allowed; }
.hdt-submit-hint { color: #8a5a00; font-size: 0.95rem; margin-top: 0.5rem; }

.hdt-passenger-names { border-top: 1px solid var(--hdt-line); padding-top: 1rem; }

.hdt-departure-list { list-style: none; margin: 0; padding: 0; }

.hdt-departure {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid var(--hdt-line);
}

.hdt-departure-date { font-weight: 700; color: var(--hdt-navy); flex: 1 1 16rem; }
.hdt-departure-return,
.hdt-departure-pickups { color: #55617a; font-size: 0.95rem; flex: 1 1 100%; }
.hdt-departure-price { font-weight: 700; }

.hdt-badge {
	display: inline-block;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
}

.hdt-badge-open { background: #e6f4ea; color: #1e6b32; }
.hdt-badge-low { background: #fff4e0; color: #8a5a00; }
.hdt-badge-soldout { background: #fdeaea; color: #a3231d; }

.hdt-soldout-notice {
	background: #fdeaea;
	border-left: 4px solid #a3231d;
	padding: 0.9rem 1rem;
	font-weight: 600;
}

.hdt-elementor-placeholder {
	border: 2px dashed #b8bfcc;
	padding: 1.25rem;
	text-align: center;
	color: #55617a;
	border-radius: 8px;
}

.hdt-content-block { margin-bottom: 1.75rem; }
.hdt-content-heading { color: var(--hdt-navy); margin-bottom: 0.5rem; }

@media (max-width: 600px) {
	.hdt-booking-form, .hdt-waitlist-form { font-size: 1.125rem; }
}

/* ---------------------------------------------------------- date pickers */

.hdt-visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.hdt-datepicker { margin-bottom: 0.5rem; }

/* Date cards */
.hdt-datepicker-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 0.75rem;
}

.hdt-date-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	text-align: left;
	padding: 1rem 1.1rem;
	border: 2px solid var(--hdt-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font: inherit;
	color: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.hdt-date-card:hover:not([disabled]) { border-color: var(--hdt-gold); }

.hdt-date-card.is-selected {
	border-color: var(--hdt-navy);
	box-shadow: inset 0 0 0 2px var(--hdt-navy);
	background: #f6f8fb;
}

.hdt-date-card.is-soldout { opacity: 0.55; cursor: not-allowed; }

.hdt-date-card-when { display: flex; align-items: baseline; gap: 0.5rem; }
.hdt-date-card-weekday { text-transform: uppercase; letter-spacing: .06em; font-size: 0.8rem; color: #55617a; }
.hdt-date-card-date { font-size: 1.15rem; font-weight: 700; color: var(--hdt-navy); }
.hdt-date-card-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: 0.95rem; color: #55617a; }
.hdt-date-card-price { font-weight: 600; color: #16202e; }

/* Month calendar */
.hdt-datepicker-calendar {
	border: 2px solid var(--hdt-line);
	border-radius: 10px;
	padding: 0.75rem;
	background: #fff;
	max-width: 30rem;
}

.hdt-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}

.hdt-cal-title { font-weight: 700; font-size: 1.05rem; color: var(--hdt-navy); }

.hdt-cal-nav {
	background: #f6f8fb;
	border: 2px solid var(--hdt-line);
	border-radius: 8px;
	width: 2.75rem;
	height: 2.75rem;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	color: var(--hdt-navy);
}

.hdt-cal-nav:hover { border-color: var(--hdt-gold); }

.hdt-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.hdt-cal-weekday {
	text-align: center;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #55617a;
	padding-bottom: 0.35rem;
}

.hdt-cal-pad { min-height: 3rem; }

.hdt-cal-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 3rem;
	border: 2px solid transparent;
	border-radius: 8px;
	background: transparent;
	font: inherit;
	color: #98a1b2;
	padding: 0.25rem;
}

.hdt-cal-day.is-empty { cursor: default; }

.hdt-cal-day.is-available,
.hdt-cal-day.is-low,
.hdt-cal-day.is-soldout {
	border-color: var(--hdt-line);
	color: var(--hdt-navy);
	background: #fff;
}

.hdt-cal-day.is-available,
.hdt-cal-day.is-low { cursor: pointer; }
.hdt-cal-day.is-available:hover,
.hdt-cal-day.is-low:hover { border-color: var(--hdt-gold); }

.hdt-cal-day.is-low { background: #fff8ec; }

.hdt-cal-day.is-soldout {
	background: #fdeaea;
	color: #a3231d;
	text-decoration: line-through;
	cursor: not-allowed;
}

.hdt-cal-day.is-selected {
	border-color: var(--hdt-navy);
	background: var(--hdt-navy);
	color: #fff;
}

.hdt-cal-day.is-selected .hdt-cal-day-price { color: #e8d7bb; }

.hdt-cal-day-number { font-weight: 700; font-size: 1rem; line-height: 1.1; }
.hdt-cal-day-price { font-size: 0.7rem; line-height: 1.1; color: #55617a; }
.hdt-cal-empty-note { text-align: center; color: #55617a; margin: 0.75rem 0 0; }

@media (max-width: 600px) {
	.hdt-datepicker-cards { grid-template-columns: 1fr; }
	.hdt-cal-day { min-height: 3.25rem; }
	.hdt-cal-day-price { display: none; }
}

/* ------------------------------------------------- default tour page output */

.hdt-facts {
	list-style: none;
	margin: 1rem 0 1.25rem;
	padding: 0.9rem 1.1rem;
	background: #f6f8fb;
	border-left: 4px solid #b8925a;
	border-radius: 0 8px 8px 0;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.hdt-facts li { margin: 0; }
.hdt-facts strong { color: #14243f; display: inline-block; min-width: 8.5rem; }

.hdt-tour-details { max-width: 46rem; margin: 2rem 0; }
.hdt-tour-details .hdt-content-block + .hdt-content-block { margin-top: 2rem; }
.hdt-tour-details .hdt-content-heading {
	color: #14243f;
	font-size: 1.4rem;
	margin: 0 0 0.6rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid #d8dde5;
}

.hdt-content-list { margin: 0; padding-left: 1.3rem; line-height: 1.7; font-size: 1.0625rem; }
.hdt-content-list li { margin-bottom: 0.4rem; }

.hdt-content-included .hdt-content-list { list-style: none; padding-left: 0; }
.hdt-content-included .hdt-content-list li::before {
	content: '\2713';
	color: #1e6b32;
	font-weight: 700;
	margin-right: 0.6rem;
}

.hdt-content-excluded .hdt-content-list { list-style: none; padding-left: 0; }
.hdt-content-excluded .hdt-content-list li::before {
	content: '\00D7';
	color: #a3231d;
	font-weight: 700;
	margin-right: 0.7rem;
}

.hdt-content-important {
	background: #fff8ec;
	border-left: 4px solid #8a5a00;
	padding: 1rem 1.2rem;
	border-radius: 0 8px 8px 0;
}

.hdt-content-important .hdt-content-heading { border-bottom: none; margin-bottom: 0.35rem; }

.hdt-elementor-placeholder strong { display: block; color: #14243f; margin-bottom: 0.4rem; }
.hdt-elementor-placeholder span { display: block; font-size: 0.9rem; line-height: 1.5; }
