/*
 * Destination pieces shared by the front page, the tours and transfers pages and the single destination page:
 * sections, arch-topped cards, the transfers list, the inner-page hero, the destination's facts and lists.
 * Loaded before home.css (inc/assets.php).
 */

/* ---------- Sections ---------- */
.pt-section { padding-top: 120px; }
.pt-section__head { margin-bottom: 48px; }
.pt-section__head .pt-lead { margin-top: 14px; }
.pt-section__more { margin-top: 40px; }
.pt-section__more a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 18px;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--marble-edge);
}
.pt-section__more a:hover { text-decoration-color: currentColor; }

/* ---------- Destination cards: arch-topped photos ---------- */
.pt-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 32px;
}

.pt-card__link { display: block; color: inherit; text-decoration: none; }
.pt-card__arch {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 200px 200px 0 0;
	background: var(--wine2);
}
.pt-card__img { width: 100%; height: 100%; object-fit: cover; }
.pt-card__title {
	margin-top: 18px;
	font-size: clamp(23px, 2.2vw, 26px);
	font-weight: 500;
}
.pt-card__link:hover .pt-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--marble-edge); }
.pt-card__line { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--mute); }
.pt-card__price {
	margin-top: 10px;
	font-family: var(--serif);
	font-weight: 500;
	font-size: 19px;
	color: var(--lamp);
}

/* ---------- Transfers: a list with prices ---------- */
.pt-transfers { max-width: 880px; border-top: 1px solid var(--line); }
.pt-transfers__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 32px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.pt-transfers__name {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--serif);
	font-weight: 500;
	font-size: 22px;
	line-height: 1.25;
	text-decoration: none;
}
.pt-transfers__name:hover { text-decoration: underline; text-decoration-color: var(--marble-edge); }
.pt-transfers__price { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--lamp); }

@media (max-width: 1099px) {
	.pt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 819px) {
	.pt-section { padding-top: 80px; }
	.pt-section__head { margin-bottom: 36px; }
}
@media (max-width: 599px) {
	.pt-cards { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.pt-transfers__name { font-size: 20px; }
}

/* ---------- Inner-page hero: low, the destination's photo under the same wine gradient, no rotation ---------- */
.pt-dhero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 45vh;
	padding-block: 72px 40px;
	overflow: hidden;
	background: var(--wine);
}
.pt-dhero__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}
.pt-dhero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(0deg, rgba(42, 26, 36, .92) 0, rgba(42, 26, 36, .5) 40%, rgba(42, 26, 36, .2) 100%),
		linear-gradient(90deg, rgba(42, 26, 36, .9) 0%, rgba(42, 26, 36, .6) 55%, rgba(42, 26, 36, .15) 100%);
}
.pt-dhero__body { position: relative; z-index: 2; width: 100%; }
.pt-dhero__title { max-width: 22ch; }
.pt-dhero__facts { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 14px; font-size: 19px; }
.pt-dhero__price { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--lamp); }

/* ---------- Destination page body ---------- */
.pt-dest { padding-block: 64px 24px; }
.pt-dest__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; max-width: 880px; margin-bottom: 48px; }
.pt-dest__lists h2 { font-size: clamp(24px, 2.4vw, 28px); }
.pt-dest__lists ul { margin-top: 14px; border-top: 1px solid var(--line); }
.pt-dest__lists li { padding: 11px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.pt-dest__credit { margin-top: 36px; font-size: 15px; color: var(--mute); }
.pt-dest__book { margin-top: 72px; }
.pt-dest__book > h2 { margin-bottom: 24px; }

/* ---------- Tours and transfers pages ---------- */
.pt-listpage { padding-block: 72px 24px; }
.pt-listpage__head { margin-bottom: 48px; }
.pt-listpage__title { max-width: 18ch; }
.pt-listpage__head .pt-prose { margin-top: 18px; color: var(--mute); }
.pt-empty { max-width: 56ch; font-size: 20px; line-height: 1.55; }
.pt-empty a { font-weight: 500; }
.pt-listpage .pt-section { padding-top: 0; }

@media (max-width: 819px) {
	.pt-dest__lists { grid-template-columns: minmax(0, 1fr); }
	.pt-dhero { min-height: 40vh; padding-block: 48px 28px; }
}
@media (max-width: 599px) {
	.pt-listpage { padding-top: 48px; }
	.pt-dest { padding-top: 40px; }
}
