/* tour-single.css — new mobile-first tour page layout (tour-single-v2.php).
   Reuses existing brand vars/classes from main.css (--accent, --green, .btn-plan,
   .tour-badge, .tour-meta, .tour-from/.tour-amount/.tour-pp, .blog-tag, .tlang)
   so it stays visually consistent with the rest of the site. */

.tsv {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 40px 72px;
}

/* Hero */
.tsv-hero {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin-bottom: 28px;
}

.tsv-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tsv-hero-badge {
	font-size: 13px;
	padding: 5px 14px;
}

/* Head */
.tsv-tags {
	margin-bottom: 10px;
}

.tsv-tags .blog-tag {
	display: inline-block;
	margin-right: 6px;
}

.tsv-title {
	font-family: 'Lora', serif;
	font-size: clamp(24px, 5vw, 38px);
	margin-bottom: 14px;
	line-height: 1.2;
}

.tsv-quickfacts {
	margin-bottom: 24px;
}

/* Layout: mobile-first single column, booking card first, sticky sidebar on wide screens */
.tsv-layout {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas: "aside" "main";
	gap: 28px;
}

.tsv-booking {
	grid-area: aside;
}

.tsv-main {
	grid-area: main;
	min-width: 0; /* let the PDF frame shrink instead of overflowing */
}

@media (min-width: 960px) {
	.tsv-layout {
		grid-template-columns: 1fr 340px;
		grid-template-areas: "main aside";
		gap: 48px;
		align-items: start;
	}
	.tsv-booking {
		position: sticky;
		top: 84px;
	}
}

/* Booking card */
.tsv-booking-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

.tsv-price {
	margin-bottom: 18px;
}

.tsv-book-btn,
.tsv-ask-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 13px;
	border-radius: 5px;
}

.tsv-book-btn {
	margin-bottom: 10px;
}

.tsv-ask-btn.btn-outline-w {
	border-color: var(--border);
	color: var(--text);
	background: transparent;
	font-family: 'DM Sans', sans-serif;
}

.tsv-ask-btn.btn-outline-w:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--off);
}

.tsv-booking-facts {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 13px;
	color: var(--muted);
}

/* Trip summary highlight box */
.tsv-summary {
	background: var(--off);
	border-radius: 10px;
	padding: 8px 10px;
	margin-bottom: 14px;
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.6;
}

/* PDF / itinerary section */
.tsv-section-title {
	font-family: 'Lora', serif;
	font-size: 21px;
	margin-bottom: 16px;
}

.tsv-pdf-section {
	margin-bottom: 32px;
}

.tsv-pdf-cta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	background: var(--off);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 9px 10px;
	margin-bottom: 8px;
}

.tsv-pdf-cta-icon {
	font-size: 28px;
	line-height: 1;
}

.tsv-pdf-cta-text {
	flex: 1;
	min-width: 160px;
}

.tsv-pdf-cta-title {
	font-weight: 700;
	font-size: 14.5px;
	color: var(--text);
}

.tsv-pdf-cta-sub {
	font-size: 12.5px;
	color: var(--light);
	margin-top: 1px;
}

.tsv-pdf-open {
	padding: 11px 20px;
}

.tsv-pdf-download {
	font-size: 13px;
	font-weight: 600;
	color: var(--green);
	padding: 11px 6px;
	white-space: nowrap;
}

.tsv-pdf-download:hover {
	text-decoration: underline;
}

.tsv-pdf-frame-wrap {
	border-radius: 10px;
	overflow: hidden;
}

.tsv-pdf-frame {
	width: 100%;
	height: 82vh;
	min-height: 480px;
	border: 1px solid var(--border);
	border-radius: 10px;
	display: block;
}

.tsv-pdf-fallback {
	padding: 20px;
	font-size: 13.5px;
	color: var(--muted);
}

.tsv-pdf-missing {
	background: var(--off);
	border-radius: 10px;
	padding: 20px;
	font-size: 13.5px;
	color: var(--muted);
}

/* Guide languages */
.tsv-langs {
	margin-top: 8px;
	padding: 20px;
	border: 1px solid var(--border);
	border-radius: 10px;
}

.tsv-langs-title {
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 10px;
}

.tsv-langs-list {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.tsv-langs-list .tlang {
	background: var(--green);
	color: #fff;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	backdrop-filter: none;
}

/* Tablet / phone spacing */
@media (max-width: 767px) {
	.tsv {
		padding: 24px 20px 56px;
	}
	.tsv-hero {
		aspect-ratio: 4 / 3;
		margin-bottom: 20px;
	}
	.tsv-booking-card {
		padding: 20px;
	}
	.tsv-pdf-frame {
		height: 65vh;
		min-height: 360px;
	}
}
