/* ==========================================================================
   Editorial section styles (homepage redesign, 2026-10).
   Used by section variants: hero "modern", facts, trip_types "cards",
   trips "cards", text "split", cta "band", posts.
   ========================================================================== */

.hx-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--hd-gutter); }
.hx-section { padding: clamp(64px, 9vw, 112px) 0; }
.hx-section--white { background: #fff; }
.hx-section--cream { background: var(--hd-bg); }
.hx-section--gold-pale { background: var(--hd-gold-pale); }
.hx-section--tight-top { padding-top: clamp(40px, 5vw, 64px); }

.hx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hd-gold-dark);
	margin: 0 0 14px;
}
.hx-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.hx-title {
	font-family: var(--hd-font-heading);
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--hd-text-primary);
	margin: 0;
}
.hx-sub { margin: 14px 0 0; max-width: 560px; font-size: 1.0625rem; line-height: 1.7; color: var(--hd-text-secondary); }

/* Section heading row: text left, "view all" link right */
.hx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.hx-head--center { flex-direction: column; align-items: center; text-align: center; }
.hx-head--center .hx-eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.hx-head--center .hx-sub { margin-left: auto; margin-right: auto; }
.hx-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--hd-text-primary);
	white-space: nowrap;
	padding-bottom: 4px;
	border-bottom: 1.5px solid var(--hd-gold-light);
}
.hx-link svg { transition: transform 0.25s ease; }
.hx-link:hover { color: var(--hd-gold-dark); }
.hx-link:hover svg { transform: translateX(4px); }

/* ---------- Hero (modern) ---------- */
.hx-hero {
	position: relative;
	min-height: min(92vh, 820px);
	display: flex;
	align-items: flex-end;
	color: #fff;
	overflow: hidden;
	background: #2D2A26;
}
.hx-hero__media { position: absolute; inset: 0; }
.hx-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: hxZoom 22s ease-out both; }
@keyframes hxZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hx-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 18, 15, 0.55) 0%, rgba(20, 18, 15, 0) 22%),
		linear-gradient(90deg, rgba(20, 18, 15, 0.78) 0%, rgba(20, 18, 15, 0.45) 45%, rgba(20, 18, 15, 0.05) 80%),
		linear-gradient(0deg, rgba(20, 18, 15, 0.55) 0%, rgba(20, 18, 15, 0) 40%);
}
.hx-hero__inner { position: relative; z-index: 1; padding-top: 160px; padding-bottom: clamp(96px, 12vh, 140px); }
.hx-hero .hx-eyebrow { color: var(--hd-gold-lighter); }
.hx-hero__title {
	font-family: var(--hd-font-heading);
	font-size: clamp(2.6rem, 6.2vw, 5rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.02em;
	max-width: 13ch;
	margin: 0;
	color: #fff;
	text-wrap: balance;
}
.hx-hero__accent { display: block; font-style: italic; font-weight: 600; color: var(--hd-gold-lighter); }
.hx-hero__lead { max-width: 520px; margin: 22px 0 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; color: rgba(255, 255, 255, 0.86); }
.hx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hx-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.hx-btn--gold { background: var(--hd-gold); color: #fff; box-shadow: 0 10px 30px rgba(184, 134, 11, 0.35); }
.hx-btn--gold:hover { background: var(--hd-gold-dark); color: #fff; transform: translateY(-2px); }
.hx-btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.hx-btn--ghost:hover { background: #fff; color: var(--hd-text-primary); border-color: #fff; }
.hx-btn--dark { background: var(--hd-text-primary); color: #fff; }
.hx-btn--dark:hover { background: #000; color: #fff; }

/* ---------- Facts bar ---------- */
.hx-facts { position: relative; z-index: 2; background: linear-gradient(transparent 64px, var(--hd-white, #fff) 64px); }
.hx-facts--overlap { margin-top: -64px; }
.hx-facts__card {
	display: grid;
	grid-template-columns: repeat(var(--hx-cols, 4), minmax(0, 1fr));
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(45, 42, 38, 0.12), 0 2px 6px rgba(45, 42, 38, 0.05);
	overflow: hidden;
}
.hx-fact { display: flex; gap: 14px; align-items: center; padding: 26px 28px; }
.hx-fact + .hx-fact { border-left: 1px solid var(--hd-border); }
.hx-fact__icon {
	width: 44px; height: 44px;
	border-radius: 12px;
	background: var(--hd-gold-pale);
	color: var(--hd-gold-dark);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.hx-fact__value { font-family: var(--hd-font-heading); font-size: 1.4rem; font-weight: 700; line-height: 1.1; color: var(--hd-text-primary); }
.hx-fact__label { font-size: 0.875rem; color: var(--hd-text-muted); line-height: 1.4; margin-top: 2px; }

/* ---------- Intro lead ---------- */
.hx-section--lead { padding-top: 88px; padding-bottom: 8px; display: flow-root; }
.hx-lead > :last-child { margin-bottom: 0; }
.hx-section--lead + .hx-section--white { padding-top: 72px; }
.hx-lead { max-width: 820px; margin: 0 auto; text-align: center; }
.hx-lead p { font-family: var(--hd-font-heading); font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 500; line-height: 1.55; color: var(--hd-text-primary); text-align: center !important; }

/* ---------- Trip type cards ---------- */
.hx-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hx-type { display: flex; flex-direction: column; color: inherit; }
.hx-type__media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--hd-gold-pale); }
.hx-type__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--hd-ease-out-expo); }
.hx-type__count {
	position: absolute;
	top: 14px; left: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--hd-text-primary);
}
.hx-type__body { padding: 20px 4px 0; }
.hx-type__title { font-family: var(--hd-font-heading); font-size: 1.5rem; font-weight: 700; margin: 0 0 8px; color: var(--hd-text-primary); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hx-type__title svg { color: var(--hd-gold); flex-shrink: 0; transition: transform 0.25s ease; }
.hx-type__desc { margin: 0; color: var(--hd-text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-type:hover .hx-type__media img { transform: scale(1.05); }
.hx-type:hover .hx-type__title svg { transform: translateX(5px); }
.hx-type:hover { color: inherit; }

/* ---------- Trip cards ---------- */
.hx-trips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.hx-trip {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	color: inherit;
	box-shadow: 0 1px 2px rgba(45, 42, 38, 0.05), 0 0 0 1px rgba(45, 42, 38, 0.06);
	transition: transform 0.35s var(--hd-ease-out-quart), box-shadow 0.35s ease;
}
.hx-trip:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(45, 42, 38, 0.14), 0 0 0 1px rgba(45, 42, 38, 0.04); color: inherit; }
.hx-trip__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--hd-gold-pale); }
.hx-trip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--hd-ease-out-expo); }
.hx-trip:hover .hx-trip__media img { transform: scale(1.05); }
.hx-trip__badge {
	position: absolute;
	top: 14px; left: 14px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--hd-text-primary);
}
.hx-trip__date {
	position: absolute;
	top: 12px; right: 12px;
	width: 52px;
	padding: 6px 0;
	border-radius: 12px;
	background: var(--hd-gold);
	color: #fff;
	text-align: center;
	line-height: 1.1;
}
.hx-trip__date b { display: block; font-family: var(--hd-font-heading); font-size: 1.35rem; }
.hx-trip__date small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hx-trip__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.hx-trip__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8125rem; color: var(--hd-text-muted); margin-bottom: 10px; }
.hx-trip__meta span { display: inline-flex; align-items: center; gap: 5px; }
.hx-trip__meta svg { color: var(--hd-gold); }
.hx-trip__title { font-family: var(--hd-font-heading); font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin: 0 0 8px; color: var(--hd-text-primary); }
.hx-trip__excerpt { margin: 0; color: var(--hd-text-secondary); font-size: 0.95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-trip__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.hx-trip__price { font-size: 0.875rem; color: var(--hd-text-muted); }
.hx-trip__price strong { font-family: var(--hd-font-body); font-variant-numeric: lining-nums tabular-nums; font-size: 1.2rem; font-weight: 700; color: var(--hd-text-primary); margin-left: 4px; }
.hx-trip__price--ask { font-weight: 600; color: var(--hd-gold-dark); }
.hx-trip__go {
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1px solid var(--hd-border-dark);
	display: flex; align-items: center; justify-content: center;
	color: var(--hd-text-primary);
	transition: all 0.25s ease;
}
.hx-trip:hover .hx-trip__go { background: var(--hd-gold); border-color: var(--hd-gold); color: #fff; }
.hx-more { text-align: center; margin-top: 48px; }

/* ---------- Split text ---------- */
.hx-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hx-split__aside { position: sticky; top: 120px; }
.hx-split__aside .hx-title { font-size: clamp(2rem, 3.8vw, 3rem); }
.hx-split__rule { width: 56px; height: 3px; border-radius: 3px; background: var(--hd-gold-light); margin-top: 24px; }
.hx-split .prose { font-size: 1.0625rem; }
.hx-split .prose p { text-align: left !important; }
.hx-split .prose p:first-child { font-size: 1.15rem; color: var(--hd-text-primary); }

/* ---------- CTA band ---------- */
.hx-cta {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 85% 20%, rgba(212, 168, 67, 0.22), transparent 55%),
		radial-gradient(ellipse at 10% 100%, rgba(184, 134, 11, 0.16), transparent 50%),
		#2D2A26;
	color: #fff;
	padding: clamp(64px, 8vw, 104px) 0;
}
.hx-cta__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hx-cta .hx-eyebrow { color: var(--hd-gold-lighter); }
.hx-cta__title { font-family: var(--hd-font-heading); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; line-height: 1.12; margin: 0; color: #fff; }
.hx-cta__title em { font-style: italic; color: var(--hd-gold-lighter); }
.hx-cta__text { margin: 18px 0 0; max-width: 540px; color: rgba(255, 255, 255, 0.78); font-size: 1.0625rem; line-height: 1.7; }
.hx-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-self: end; }
.hx-cta__contact { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.hx-cta__contact a { color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 10px; }
.hx-cta__contact a:hover { color: var(--hd-gold-lighter); }
.hx-cta__contact svg { color: var(--hd-gold-light); }

/* ---------- Responsive ---------- */
/* ---------- Profile (About) ---------- */
body.no-hero main.about-modern { padding-top: 0; }
.hx-btn--outline { color: var(--hd-text-primary); border: 1.5px solid var(--hd-border-dark); background: transparent; }
.hx-btn--outline:hover { border-color: var(--hd-gold); color: var(--hd-gold-dark); transform: translateY(-2px); }
.hx-profile {
	position: relative;
	padding: calc(var(--hd-header-h, 84px) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
	background:
		radial-gradient(ellipse 60% 70% at 85% 30%, rgba(212, 168, 67, 0.16), transparent 70%),
		linear-gradient(180deg, var(--hd-cream) 0%, var(--hd-bg) 100%);
	overflow: hidden;
}
.hx-profile__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hx-profile__title { font-family: var(--hd-font-heading); font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; color: var(--hd-text-primary); margin: 0 0 24px; }
.hx-profile__title em { color: var(--hd-gold); font-style: italic; }
.hx-profile__text { font-size: 1.125rem; line-height: 1.8; color: var(--hd-text-secondary); margin: 0 0 16px; max-width: 560px; }
.hx-profile__quote { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--hd-gold); max-width: 520px; }
.hx-profile__quote p { font-family: var(--hd-font-heading); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--hd-text-primary); margin: 0; }
.hx-profile__quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.875rem; color: var(--hd-text-muted); }
.hx-profile__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hx-profile__photo { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }
.hx-profile__photo::before {
	content: '';
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 2px solid var(--hd-gold-light, #D4A843);
	border-radius: 28px;
	opacity: 0.6;
}
.hx-profile__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 70px rgba(45, 42, 38, 0.22); }

/* ---------- Text cards ---------- */
.hx-cols { display: grid; grid-template-columns: repeat(var(--hx-cols, 3), minmax(0, 1fr)); gap: 24px; }
.hx-col {
	background: #fff;
	border: 1px solid var(--hd-border);
	border-radius: 20px;
	padding: 32px 30px 28px;
	box-shadow: 0 10px 30px rgba(45, 42, 38, 0.05);
}
.hx-section--white .hx-col { background: var(--hd-bg); box-shadow: none; }
.hx-col__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--hd-gold-pale); color: var(--hd-gold-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.hx-col__overline { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hd-gold-dark); margin: 0 0 6px; }
.hx-col__title { font-family: var(--hd-font-heading); font-size: 1.5rem; line-height: 1.25; color: var(--hd-text-primary); margin: 0 0 14px; }
.hx-col__text p { font-size: 1rem; line-height: 1.75; color: var(--hd-text-secondary); margin: 0 0 12px; }
.hx-col__text p:last-child { margin-bottom: 0; }
.hx-col__text a { color: var(--hd-gold-dark); font-weight: 600; text-decoration: underline; text-decoration-color: var(--hd-gold-light, #D4A843); text-underline-offset: 3px; }

/* ---------- Chips grid ---------- */
.hx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hx-chips > .hx-chip { flex: 0 1 calc((100% - 36px) / 4); }
.hx-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--hd-border);
	border-radius: 14px;
	font-weight: 600;
	color: var(--hd-text-primary);
	transition: border-color 0.2s, transform 0.2s;
}
.hx-chip:hover { border-color: var(--hd-gold-light, #D4A843); transform: translateY(-2px); }
.hx-chip__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--hd-gold-pale); color: var(--hd-gold-dark); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hx-section--white .hx-chip { background: var(--hd-bg); }

@media (max-width: 900px) {
	.hx-profile__grid { grid-template-columns: minmax(0, 1fr); }
	.hx-profile__photo { order: -1; width: min(78%, 360px); }
	.hx-cols { grid-template-columns: minmax(0, 1fr); }
	.hx-chips > .hx-chip { flex-basis: calc((100% - 24px) / 3); }
}
@media (max-width: 640px) {
	.hx-profile { padding-top: calc(var(--hd-header-h, 72px) + 32px); }
	.hx-profile__text { font-size: 1.0625rem; }
	.hx-profile__photo::before { inset: 14px -14px -14px 14px; }
	.hx-col { padding: 26px 22px 22px; }
	.hx-chips { gap: 8px; }
	.hx-chips > .hx-chip { flex-basis: calc((100% - 8px) / 2); }
	.hx-chip { padding: 12px; font-size: 0.875rem; gap: 8px; }
	.hx-chip__icon { width: 24px; height: 24px; }
}

@media (max-width: 1024px) {
	.hx-types, .hx-trips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hx-facts__card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hx-fact:nth-child(3) { border-left: 0; }
	.hx-fact:nth-child(n+3) { border-top: 1px solid var(--hd-border); }
	.hx-split { grid-template-columns: 1fr; }
	.hx-split__aside { position: static; }
	.hx-cta__grid { grid-template-columns: 1fr; }
	.hx-cta__actions { justify-self: start; }
}
@media (max-width: 640px) {
	.hx-hero { min-height: 86vh; }
	.hx-hero__inner { padding-bottom: 96px; }
	.hx-hero__actions .hx-btn { flex: 1 1 100%; justify-content: center; }
	.hx-types, .hx-trips { grid-template-columns: 1fr; }
	.hx-facts--overlap { margin-top: -48px; }
	.hx-fact { padding: 18px 16px; gap: 10px; }
	.hx-fact__icon { width: 36px; height: 36px; }
	.hx-facts__card { --hx-cols: 2 !important; }
	.hx-fact { flex-direction: column; align-items: flex-start; }
	.hx-fact:nth-child(odd) { border-left: 0; }
	.hx-fact:nth-child(n+3) { border-top: 1px solid var(--hd-border); }
	.hx-fact__value { font-size: 1.05rem; }
	.hx-fact__label { font-size: 0.8125rem; }
	.hx-section--lead { padding-top: 56px; }
	.hx-section--lead + .hx-section--white { padding-top: 48px; }
	.hx-head { flex-direction: column; align-items: flex-start; }
	.hx-head--center { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
	.hx-hero__media img { animation: none; }
}
