/* Component "holidays" (holidays.php, Jules 12-05): the Haciendas still open over Christmas and New Year, read like a hotel's
   departures ledger: each house in its own façade, the dates set large in the serif, hairlines between rows. Tokens from
   rmh-landing.css (--l-*), px only (rem = 10 px here). */
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__list { margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--l-sand); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__house {
	position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center;
	margin: 0; padding: 24px 0; border-bottom: 1px solid var(--l-sand);
}
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__house:has(a:focus-visible) { outline: 2px solid var(--l-ink); outline-offset: 6px; box-shadow: 0 0 0 10px var(--l-white); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__frame { aspect-ratio: 119 / 193; overflow: hidden; background: var(--l-sand); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--l-ease); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__house:hover .rmh-l-hol__img { transform: scale(1.06); }
:is(#rmh-landing, .rmh-lc) h3.rmh-l-hol__name:not(#_) {
	margin: 0; font-family: var(--l-serif) !important; font-size: 20px; font-weight: 400; line-height: 1.15;
	letter-spacing: .08em; text-transform: uppercase;
}
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__name a { color: inherit; text-decoration: none; }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__name a::after { content: ""; position: absolute; inset: 0; } /* the whole row is the link */
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__name a:focus-visible { outline: none; } /* the row draws the ring, keyboard only (:has) */
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__facts { margin: 6px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--l-ink-soft); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__runs { margin: 12px 0 0; padding: 0; list-style: none; }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__run { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin: 0; padding: 0; }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__run + .rmh-l-hol__run { margin-top: 8px; }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__dates { font: 400 26px/1.1 var(--l-serif); color: var(--l-ink); white-space: nowrap; }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__nights { font-size: 14px; color: var(--l-ink-soft); white-space: nowrap; }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__rate { flex-basis: 100%; font-size: 15px; font-weight: 600; color: var(--l-ink); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__go {
	margin: 14px 0 0; font: 600 15px/1.4 var(--l-sans); color: var(--l-ink);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--l-taupe-deep);
}
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__go span { display: inline-block; text-decoration: none; transition: transform .2s var(--l-ease); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__house:hover .rmh-l-hol__go { color: var(--l-taupe-deep); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__house:hover .rmh-l-hol__go span { transform: translateX(4px); }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; margin-top: 24px; }
:is(#rmh-landing, .rmh-lc) .rmh-l-hol__note { margin: 0; flex: 1 1 32ch; max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--l-ink-soft); }

@media (min-width: 900px) {
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__house { grid-template-columns: 128px minmax(0, 1fr); gap: 40px; padding: 32px 0; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__body {
		display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; column-gap: 40px; align-items: center;
	}
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__body > .rmh-l-hol__name,
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__body > .rmh-l-hol__facts { grid-column: 1; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__runs { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__go { grid-column: 3; grid-row: 1 / span 2; margin: 0; white-space: nowrap; }
	:is(#rmh-landing, .rmh-lc) h3.rmh-l-hol__name:not(#_) { font-size: 24px; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__dates { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__img,
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__go span { transition: none; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__house:hover .rmh-l-hol__img,
	:is(#rmh-landing, .rmh-lc) .rmh-l-hol__house:hover .rmh-l-hol__go span { transform: none; }
}
