/**
 * LHR redesign — homepage (contract §3.1, homepage.png).
 *
 * Scope: hero + overlapping search card, featured hotels carousel, about +
 * finder split, latest reviews cards, category/destination tile duo. Shared
 * primitives (tokens, .lhr-btn, .lhr-eyebrow, .lhr-container, .lhr-section*)
 * live in base.css; every var() below carries a literal fallback and layout-
 * critical primitives are re-declared page-scoped under .lhr-home so the
 * homepage composes correctly regardless of cascade timing.
 */

/* ---------------------------------------------------------------------------
 * Page-scoped primitive fallbacks (base.css owns the canonical versions).
 * ------------------------------------------------------------------------ */

.lhr-home .lhr-container {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 40px);
}

.lhr-home .lhr-eyebrow {
	margin: 0;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lhr-gold, #a9885a);
}

.lhr-eyebrow--head {
	color: var(--lhr-ink, #22201c);
}

.lhr-home .lhr-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.lhr-home .lhr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.lhr-home .lhr-btn--gold {
	background: var(--lhr-gold, #a9885a);
	color: #fff;
	padding: 16px 28px;
}

.lhr-home .lhr-btn--gold:hover {
	background: var(--lhr-gold-deep, #8d6f44);
	color: #fff;
}

.lhr-home .lhr-btn--dark {
	background: var(--lhr-dark, #191713);
	color: #fff;
	padding: 16px 28px;
}

.lhr-home .lhr-btn--dark:hover {
	background: #000;
	color: #fff;
}

.lhr-home a:focus-visible,
.lhr-home button:focus-visible,
.lhr-home input:focus-visible,
.lhr-home select:focus-visible {
	outline: 2px solid var(--lhr-gold-soft, #cbb48d);
	outline-offset: 2px;
}

/* Swallow stray wpautop paragraphs between shortcode sections. */
.lhr-home__content p:empty {
	display: none;
}

/* ---------------------------------------------------------------------------
 * Section rhythm.
 * ------------------------------------------------------------------------ */

.lhr-home__content > .lhr-section,
.lhr-home__content > .lhr-home-duo {
	margin: clamp(56px, 7vw, 88px) 0;
	padding: 0;
}

.lhr-home__content > :last-child {
	margin-bottom: clamp(72px, 8vw, 104px);
}

/* ---------------------------------------------------------------------------
 * 1. Hero.
 * ------------------------------------------------------------------------ */

.lhr-home-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(480px, 44vw, 620px);
	background: var(--lhr-dark, #191713);
	overflow: hidden;
}

.lhr-home-hero .lhr-home-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lhr-home-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(16, 13, 9, 0.68) 0%,
		rgba(16, 13, 9, 0.42) 40%,
		rgba(16, 13, 9, 0.12) 70%,
		rgba(16, 13, 9, 0.02) 100%
	);
}

.lhr-home-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: 20px;
	padding-bottom: 96px;
}

.lhr-home-hero__title {
	margin: 0 0 22px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(44px, 5vw, 68px);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: #fff;
}

.lhr-home-hero__sub {
	margin: 0;
	max-width: 520px;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
}

/* --- Overlapping search card --------------------------------------------- */

.lhr-home-hero__searchwrap {
	position: relative;
	z-index: 6;
}

.lhr-hero-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: stretch;
	max-width: 640px;
	margin-top: -44px;
	padding: 8px;
	background: var(--lhr-card, #fff);
	box-shadow: var(--lhr-shadow, 0 18px 50px rgba(34, 32, 28, 0.1));
}

.lhr-hero-search__query {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
}

/* Icon + input selectors carry the extra .lhr-hero-search class on purpose:
   legacy input[type='search'] / input[type='text'] rules (0,1,1) otherwise
   beat a lone class (0,1,0) and reapply padding-inline:2px + display font
   sizes, shoving the placeholder under the icon. */
.lhr-hero-search .lhr-hero-search__icon {
	position: absolute;
	left: 12px; /* + 8px card padding = ~20px from the card edge, per mockup */
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--lhr-ink-faint, #98917f);
	pointer-events: none;
}

.lhr-hero-search .lhr-hero-search__input {
	width: 100%;
	height: 52px;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0 14px 0 44px; /* clears the 18px icon at left 12px */
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	color: var(--lhr-ink, #22201c);
	appearance: none;
	-webkit-appearance: none;
}

.lhr-hero-search__input::placeholder,
.lhr-hero-search__date-input::placeholder {
	color: var(--lhr-ink-faint, #98917f);
	opacity: 1;
}

.lhr-hero-search__input::-webkit-search-decoration,
.lhr-hero-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/* Our gold calendar button replaces the native indicator. */
.lhr-hero-search .lhr-hero-search__date-input::-webkit-calendar-picker-indicator {
	display: none;
}

.lhr-hero-search__date {
	position: relative;
	display: flex;
	align-items: center;
	border-left: 1px solid var(--lhr-hairline, #e5dfd2);
	padding-right: 44px; /* clears the 34px calendar button at right 6px */
	cursor: pointer; /* whole zone opens the picker (JS in front-page.php) */
}

.lhr-hero-search .lhr-hero-search__date-input {
	width: 104px;
	height: 52px;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0 0 0 16px;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	color: var(--lhr-ink, #22201c);
	appearance: none;
	-webkit-appearance: none;
}

/* Calendar glyph is a real button: opens the native date picker. */
.lhr-hero-search__cal {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--lhr-gold, #a9885a);
	cursor: pointer;
	transition: color 0.3s ease;
}

.lhr-hero-search__cal:hover {
	color: var(--lhr-gold-deep, #8d6f44);
}

.lhr-hero-search__cal-icon {
	pointer-events: none;
}

.lhr-hero-search__submit {
	margin-left: 8px;
	padding: 0 28px;
}

/* ---------------------------------------------------------------------------
 * 2. Featured hotels & partners.
 * ------------------------------------------------------------------------ */

.lhr-featured__nav {
	display: flex;
	gap: 10px;
}

/* JS hides the arrows entirely when the track has nothing to scroll;
   the class's display:flex would otherwise beat the UA [hidden] rule. */
.lhr-featured__nav[hidden] {
	display: none;
}

.lhr-carousel-btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--lhr-hairline, #e5dfd2);
	border-radius: 50%;
	background: var(--lhr-card, #fff);
	color: var(--lhr-ink, #22201c);
	cursor: pointer;
	transition: border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.lhr-carousel-btn:hover {
	border-color: var(--lhr-gold, #a9885a);
	color: var(--lhr-gold, #a9885a);
}

/* One standard gold ring on keyboard focus — the hairline circle used to
   read as a second ring, so it drops out while the outline shows. */
.lhr-carousel-btn:focus-visible,
.lhr-home .lhr-carousel-btn:focus-visible {
	outline: 2px solid var(--lhr-gold-soft, #cbb48d);
	outline-offset: 2px;
	border-color: transparent;
	box-shadow: none;
}

/* End of track: fade the arrow out and ignore the pointer (no loop). */
.lhr-carousel-btn.is-disabled {
	opacity: 0.4;
	pointer-events: none;
}

.lhr-featured__track {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
}

.lhr-featured--carousel .lhr-featured__track {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 96px) / 5);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.lhr-featured--carousel .lhr-featured__track::-webkit-scrollbar {
	display: none;
}

.lhr-featured--carousel .lhr-featured__track > * {
	scroll-snap-align: start;
}

/* --- Partner hotel card --------------------------------------------------- */

/* Cards are flex columns so grid stretch equalises heights: fixed-ratio
   media, 2-line clamped serif name with the location tight beneath it (per
   mockup), and only the PARTNER HOTEL flag pinned to the bottom — so all
   five card bottoms align even when names wrap, without opening a hole
   between short names and their location line. */
.lhr-hotel-card {
	display: flex;
	flex-direction: column;
	background: var(--lhr-card, #fff);
	border: 1px solid var(--lhr-hairline, #e5dfd2);
	padding: 10px 10px 16px;
	transition: border-color 0.3s ease;
}

.lhr-hotel-card:hover {
	border-color: var(--lhr-gold-soft, #cbb48d);
}

.lhr-hotel-card__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	color: inherit;
	text-decoration: none;
}

.lhr-hotel-card__media {
	display: block;
	flex: none;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--lhr-panel, #f1ede4);
}

.lhr-hotel-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.lhr-hotel-card:hover .lhr-hotel-card__media img {
	transform: scale(1.04);
}

.lhr-hotel-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	padding: 14px 6px 0;
}

.lhr-hotel-card__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin-bottom: 5px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--lhr-ink, #22201c);
}

.lhr-hotel-card__loc {
	display: block;
	margin-top: 2px; /* tight under the name, per mockup */
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: var(--lhr-ink-faint, #98917f);
}

/* Bottom pin lives on the flag (works with or without a location line);
   padding-top keeps a minimum gap on the tallest card in the row, where
   margin-top:auto resolves to 0. */
.lhr-hotel-card__flag {
	display: block;
	margin-top: auto;
	padding-top: 13px;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lhr-gold, #a9885a);
}

/* ---------------------------------------------------------------------------
 * 3. About + finder split.
 * ------------------------------------------------------------------------ */

.lhr-about-split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 5vw, 72px);
	align-items: center;
}

.lhr-about-split__intro .lhr-eyebrow {
	display: block;
	margin-bottom: 18px;
}

.lhr-about-split__title {
	margin: 0 0 20px;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(28px, 2.7vw, 38px);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--lhr-ink, #22201c);
}

.lhr-about-split__copy {
	margin: 0 0 26px;
	max-width: 46ch;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--lhr-ink-soft, #6e675c);
}

.lhr-about-split__cta {
	margin: 0;
}

.lhr-about-split__link {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--lhr-ink, #22201c);
	transition: color 0.3s ease;
}

.lhr-about-split__link span {
	color: var(--lhr-gold, #a9885a);
	letter-spacing: 0;
}

.lhr-about-split__link:hover {
	color: var(--lhr-gold, #a9885a);
}

/* --- Finder panel ---------------------------------------------------------- */

.lhr-finder-panel {
	background: var(--lhr-panel, #f1ede4);
	padding: clamp(24px, 3vw, 34px);
}

.lhr-finder-panel__title {
	display: block;
	margin: 0 0 28px; /* mockup breathing room before the first label row */
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lhr-ink, #22201c);
}

/* The title carries .lhr-eyebrow in markup, so on the homepage the
   `.lhr-home .lhr-eyebrow` reset (margin:0 + gold) out-specifies the single
   class above — which collapsed the heading onto the DESTINATION label and
   tinted it gold. Equal specificity, later in file: ink + 28px gap win. */
.lhr-home .lhr-finder-panel__title {
	margin: 0 0 28px;
	color: var(--lhr-ink, #22201c);
}

.lhr-finder-panel__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px 14px;
}

.lhr-finder-panel .lhr-label {
	display: block;
	margin: 0 0 7px;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lhr-ink-faint, #98917f);
}

.lhr-finder-panel .lhr-input,
.lhr-finder-panel .lhr-select {
	width: 100%;
	height: 44px;
	border: 1px solid var(--lhr-hairline, #e5dfd2);
	border-radius: 0;
	background: var(--lhr-card, #fff);
	padding: 0 12px;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 13.5px;
	color: var(--lhr-ink, #22201c);
	appearance: none;
	-webkit-appearance: none;
}

/* Selects draw exactly ONE chevron (appearance:none + this background-image;
   the old .lhr-select-wrap::after caret is gone) and pad right so long
   option text ("Select amenities") never runs underneath it. */
.lhr-finder-panel .lhr-select {
	padding: 0 34px 0 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23a9885a' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.lhr-finder-panel .lhr-input::placeholder {
	color: var(--lhr-ink-faint, #98917f);
	opacity: 1;
}

.lhr-finder-panel .lhr-select:invalid,
.lhr-finder-panel .lhr-select option[value=""] {
	color: var(--lhr-ink-faint, #98917f);
}

.lhr-select-wrap {
	position: relative;
	display: block;
}

.lhr-field--date .lhr-field__control {
	position: relative;
	display: block;
}

.lhr-field--date .lhr-field__icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--lhr-ink-faint, #98917f);
	pointer-events: none;
}

.lhr-finder-panel__submit {
	align-self: end;
}

.lhr-finder-panel__button {
	width: 100%;
	height: 44px;
	padding: 0 16px;
	white-space: nowrap;
}

/* ---------------------------------------------------------------------------
 * 4. Latest reviews (editorial variant).
 * ------------------------------------------------------------------------ */

.lhr-featured--editorial .lhr-featured__track {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lhr-review-card {
	display: flex;
	flex-direction: column;
	background: var(--lhr-card, #fff);
	border: 1px solid var(--lhr-hairline, #e5dfd2);
	transition: border-color 0.3s ease;
}

.lhr-review-card:hover {
	border-color: var(--lhr-gold-soft, #cbb48d);
}

.lhr-review-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--lhr-panel, #f1ede4);
}

.lhr-review-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.lhr-review-card:hover .lhr-review-card__media img {
	transform: scale(1.04);
}

.lhr-review-card__body {
	flex: 1;
	padding: 18px 18px 16px;
}

.lhr-review-card__eyebrow {
	margin: 0 0 10px;
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lhr-gold, #a9885a);
}

.lhr-review-card__title {
	margin: 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
}

.lhr-review-card__title a {
	color: var(--lhr-ink, #22201c);
	text-decoration: none;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lhr-review-card__title a:hover {
	color: var(--lhr-gold, #a9885a);
}

.lhr-review-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 18px;
	padding: 13px 0 15px;
	border-top: 1px solid var(--lhr-hairline, #e5dfd2);
}

.lhr-review-card__date {
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lhr-ink-faint, #98917f);
}

.lhr-review-card__more {
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--lhr-ink, #22201c);
	white-space: nowrap;
	transition: color 0.3s ease;
}

.lhr-review-card__more:hover {
	color: var(--lhr-gold, #a9885a);
}

.lhr-review-card__arrow {
	margin-left: 6px;
	color: var(--lhr-gold, #a9885a);
	letter-spacing: 0;
}

/* ---------------------------------------------------------------------------
 * 5. Explore by category + top destinations duo.
 * ------------------------------------------------------------------------ */

.lhr-home-duo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}

.lhr-home-duo > p:empty {
	display: none;
}

.lhr-home-duo .lhr-section {
	margin: 0;
	padding: 0;
}

.lhr-cats__grid,
.lhr-dests__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

/* Tiles are uniform whether the label wraps to 1 or 2 lines: square tile,
   fixed icon block at a fixed offset, then a top-aligned label area with two
   lines always reserved — so icons and labels line up across all five. */
.lhr-cat-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	aspect-ratio: 1 / 1;
	padding: clamp(16px, 17%, 26px) 8px 12px; /* %-padding tracks tile width (square) */
	background: var(--lhr-card, #fff);
	border: 1px solid var(--lhr-hairline, #e5dfd2);
	text-align: center;
	text-decoration: none;
	transition: border-color 0.3s ease;
}

.lhr-cat-tile:hover {
	border-color: var(--lhr-gold-soft, #cbb48d);
}

.lhr-cat-tile__icon {
	width: 30px;
	height: 30px;
	margin-bottom: 12px;
	color: var(--lhr-gold, #a9885a);
	flex: none;
}

.lhr-cat-tile__label {
	display: block;
	min-height: calc(2em * 1.55); /* always reserve two label lines */
	font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.55;
	text-transform: uppercase;
	color: var(--lhr-ink, #22201c);
}

.lhr-dest-tile {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--lhr-dark, #191713);
	container-type: inline-size; /* lets the name scale to the tile, not the viewport */
}

.lhr-dest-tile .lhr-dest-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.lhr-dest-tile:hover .lhr-dest-tile__img {
	transform: scale(1.04);
}

.lhr-dest-tile__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 10, 8, 0) 45%, rgba(12, 10, 8, 0.66) 100%);
}

/* Multi-word names ("New York City") may take two lines: balanced break,
   roomier line-height and bottom padding so it reads as intentional; the
   serif steps down slightly when the tile itself is narrow. */
.lhr-dest-tile__name {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 12px;
	text-align: center;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	text-wrap: balance;
	color: #fff;
}

@container (max-width: 150px) {
	.lhr-dest-tile__name {
		font-size: 15px;
		bottom: 11px;
	}
}

/* ---------------------------------------------------------------------------
 * Responsive.
 * ------------------------------------------------------------------------ */

@media (max-width: 1200px) {
	.lhr-featured--carousel .lhr-featured__track {
		grid-auto-columns: calc((100% - 72px) / 4);
	}
}

@media (max-width: 1024px) {
	.lhr-featured__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lhr-featured--editorial .lhr-featured__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lhr-featured--carousel .lhr-featured__track {
		grid-template-columns: none;
		grid-auto-columns: 38%;
	}

	.lhr-about-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
		align-items: stretch;
	}

	.lhr-about-split__copy {
		max-width: 60ch;
	}

	.lhr-home-duo {
		grid-template-columns: minmax(0, 1fr);
		gap: 64px;
	}
}

@media (max-width: 720px) {
	.lhr-home-hero {
		min-height: 520px;
		align-items: flex-end;
	}

	.lhr-home-hero__inner {
		padding-top: 72px;
		padding-bottom: 56px;
	}

	.lhr-home-hero__title {
		font-size: clamp(32px, 9vw, 40px);
	}

	.lhr-home-hero__title br {
		display: none;
	}

	.lhr-home-hero__sub {
		font-size: 15px;
	}

	.lhr-hero-search {
		grid-template-columns: minmax(0, 1fr);
		margin-top: -28px;
		max-width: none;
	}

	.lhr-hero-search__date {
		border-left: 0;
		border-top: 1px solid var(--lhr-hairline, #e5dfd2);
	}

	.lhr-hero-search .lhr-hero-search__date-input {
		width: 100%;
		padding-left: 14px;
	}

	.lhr-hero-search__submit {
		margin-left: 0;
		margin-top: 8px;
		height: 50px;
	}

	.lhr-featured--carousel .lhr-featured__track {
		grid-auto-columns: 74%;
	}

	.lhr-featured--editorial .lhr-featured__track {
		grid-template-columns: minmax(0, 1fr);
	}

	.lhr-finder-panel__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lhr-finder-panel__submit {
		grid-column: 1 / -1;
	}

	/* Category + destination rows become edge-bleed swipe scrollers: the
	   track runs to the viewport edge so the next tile always shows a
	   deliberate partial (~32px peek) instead of clipping mid-tile at the
	   container edge with no affordance. The .lhr-tile-scroller wrapper
	   (sym-lhr-core tile templates) is pulled to the viewport edge and hosts
	   the non-scrolling cream fade; the track inside scrolls, padded so the
	   first/last tiles still align with the 20px container gutter. */
	.lhr-cats .lhr-tile-scroller,
	.lhr-dests .lhr-tile-scroller {
		position: relative;
		margin-inline: calc(-1 * clamp(20px, 4vw, 40px));
	}

	.lhr-cats .lhr-tile-scroller::after,
	.lhr-dests .lhr-tile-scroller::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: 4px; /* mirrors the track's padding-bottom */
		width: 56px;
		background: linear-gradient(90deg, rgba(247, 244, 238, 0) 0%, var(--lhr-cream, #f7f4ee) 88%);
		pointer-events: none;
	}

	.lhr-cats__grid,
	.lhr-dests__grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - 48px) / 3); /* 3 full tiles + peek of the 4th */
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-inline: clamp(20px, 4vw, 40px);
		scroll-padding-inline: clamp(20px, 4vw, 40px);
		padding-bottom: 4px;
	}

	.lhr-cats__grid::-webkit-scrollbar,
	.lhr-dests__grid::-webkit-scrollbar {
		display: none;
	}

	.lhr-cats__grid > *,
	.lhr-dests__grid > * {
		scroll-snap-align: start;
	}
}

/* Phones: 2 full tiles + peek. Three-up would shrink the squares to ~100px,
   where the 9.5px letterspaced labels ("CITY SOPHISTICATION") no longer fit —
   two-up keeps the small-caps type at spec and the peek unmistakable, which
   reads closer to the mockup's tile language than a stacked 2-up grid. */
@media (max-width: 480px) {
	.lhr-cats__grid,
	.lhr-dests__grid {
		grid-auto-columns: calc((100% - 36px) / 2);
	}
}

/* Where scroll-driven animations exist, the edge fade dissolves as the row
   reaches its end (opacity tracks scroll position — not motion, so it is
   fine under prefers-reduced-motion). Elsewhere it simply stays, sitting
   mostly over the cream end-gutter. */
@supports (animation-timeline: scroll()) {
	@media (max-width: 720px) {
		.lhr-cats .lhr-tile-scroller,
		.lhr-dests .lhr-tile-scroller {
			timeline-scope: --lhr-tile-x;
		}

		.lhr-cats__grid,
		.lhr-dests__grid {
			scroll-timeline: --lhr-tile-x inline;
		}

		.lhr-cats .lhr-tile-scroller::after,
		.lhr-dests .lhr-tile-scroller::after {
			animation: lhr-tile-edgefade linear both;
			animation-timeline: --lhr-tile-x;
		}
	}
}

@keyframes lhr-tile-edgefade {
	0%,
	82% {
		opacity: 1;
	}

	98%,
	100% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lhr-hotel-card__media img,
	.lhr-review-card__media img,
	.lhr-dest-tile .lhr-dest-tile__img,
	.lhr-carousel-btn,
	.lhr-hero-search__cal {
		transition: none;
	}

	.lhr-hotel-card:hover .lhr-hotel-card__media img,
	.lhr-review-card:hover .lhr-review-card__media img,
	.lhr-dest-tile:hover .lhr-dest-tile__img {
		transform: none;
	}
}
