/* Separate file on purpose: mirage.min.css / mirage.min.js are Jennifer's build and stay verbatim.
   Registered by Header_2 / Footer_2 with the other Mirage assets. */
/* Mirage Locations & Partners page: Locations Heading (.mirage-locations-heading) + Location Groups
   (.mirage-locations-group, cards .mirage-locations-card). Content types: Home 2.0/Mirage Locations Heading,
   Home 2.0/Mirage Location Group. Figma: HHC Interim Redesign, frames 4656:2419 (desktop), 4664:5092 (mobile).
   Fluid sizes reuse the max(MIN, min(Xvw + Yrem, MAX)) values from the Mirage Services block. */

.mirage-locations-heading,
.mirage-locations-group {
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 1520px;
	margin-left: auto;
	margin-right: auto;
	color: #171b1c;
	font-family: Overused Grotesk, sans-serif;
}
.mirage-locations-heading *,
.mirage-locations-group * { box-sizing: border-box; }

/* The heading card carries the page H1, so the T77 template's own title is hidden on this page only. */
.template--full-width:has(.mirage-locations-heading) > h1 { display: none; }

/* Heading card */
.mirage-locations-heading {
	margin-top: max(1.5rem, min(2vw + 1.1rem, 3rem));
	margin-bottom: max(4rem, min(5.333vw + 2.933rem, 8rem));
}
.mirage-locations-heading__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #f7f7f4;
	border: 1px solid #c6c6c3;
	border-radius: 24px;
	padding: max(2.25rem, min(1vw + 2.05rem, 3rem));
	box-shadow: 0 44px 52px rgba(0, 0, 0, .25);
}
.mirage-locations-heading .mirage-locations-heading__title {
	margin: 0;
	padding: 0;
	font-family: Overused Grotesk, sans-serif;
	font-weight: 500;
	font-size: max(2.5rem, min(2.667vw + 1.967rem, 4.5rem));
	line-height: 1.111;
	letter-spacing: -.03em;
	text-transform: none;
	color: #171b1c;
}
.mirage-locations-heading__nav[hidden] { display: none !important; }

/* Jump pills (tablet and desktop) */
.mirage-locations-heading .mirage-locations-heading__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mirage-locations-heading .mirage-locations-heading__pills > li { margin: 0; padding: 0; }
.mirage-locations-heading .mirage-locations-heading__pills > li::before { content: none; }
.mirage-locations-heading .mirage-locations-heading__pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 0;
	border-radius: 360px;
	background: #cce2e5;
	color: #005963;
	font-family: Overused Grotesk, sans-serif;
	font-weight: 400;
	font-size: max(1.125rem, min(.167vw + 1.092rem, 1.25rem));
	line-height: 1.5rem;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
/* Jennifer's review (2026-10-06): #005963 text. Hover and keyboard focus fill the pill with #006f7c and
   turn the text #f7f7f4, keeping the .2s fade (the text colour fades with it). */
.mirage-locations-heading .mirage-locations-heading__pill:hover,
.mirage-locations-heading .mirage-locations-heading__pill:focus { background: #006f7c; color: #f7f7f4; text-decoration: none; }
.mirage-locations-heading .mirage-locations-heading__pill:focus-visible { outline: 2px solid #006f7c; outline-offset: 2px; }

/* Jump dropdown (phones) */
.mirage-locations-heading__select { display: none; position: relative; }
.mirage-locations-heading .mirage-locations-heading__select-input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: auto;
	min-height: 44px;
	margin: 0;
	padding: 12px 48px 12px 16px;
	border: 0;
	border-radius: 8px;
	background: #cce2e5;
	background-image: none;
	box-shadow: none;
	color: #006f7c;
	font-family: inherit;
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.25rem;
	cursor: pointer;
}
.mirage-locations-heading .mirage-locations-heading__select-input:focus-visible { outline: 2px solid #006f7c; outline-offset: 2px; }
.mirage-locations-heading__select-icon {
	position: absolute;
	top: 50%;
	right: 16px;
	display: flex;
	color: #006f7c;
	transform: translateY(-50%);
	pointer-events: none;
}
.mirage-locations-heading__select-icon svg { display: block; }
@media (max-width: 767px) {
	.mirage-locations-heading .mirage-locations-heading__pills { display: none; }
	.mirage-locations-heading__select { display: block; }
}

/* Location group (collapsible section) */
.mirage-locations-group {
	margin-top: 0;
	margin-bottom: 24px;
	padding-top: 24px;
	border-top: 1px solid #adadab;
	scroll-margin-top: 24px;
}
.mirage-locations-group.is-last { margin-bottom: max(4rem, min(5.333vw + 2.933rem, 8rem)); }
.mirage-locations-group .mirage-locations-group__title {
	margin: 0;
	padding: 0;
	font-family: Overused Grotesk, sans-serif;
	font-size: inherit;
	line-height: inherit;
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
	color: inherit;
}
.mirage-locations-group .mirage-locations-group__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #171b1c;
	font: inherit;
	font-family: Overused Grotesk, sans-serif;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.mirage-locations-group .mirage-locations-group__toggle:focus-visible { outline: 2px solid #006f7c; outline-offset: 4px; }
.mirage-locations-group__title-text {
	font-family: Overused Grotesk, sans-serif;
	font-weight: 400;
	font-size: max(1.5rem, min(1.667vw + 1.167rem, 2.25rem));
	line-height: 1.333;
	color: #171b1c;
}
/* "Collapse / Expand" only shows once the script has wired the toggle (no-JS: sections just stay open). */
.mirage-locations-group__action {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	gap: 4px;
	color: #006f7c;
	font-family: Overused Grotesk, sans-serif;
	font-size: max(1.125rem, min(.167vw + 1.092rem, 1.25rem));
	line-height: 1.5rem;
}
.mirage-locations-group[data-mirage-locations-ready] .mirage-locations-group__action { display: inline-flex; }
.mirage-locations-group .mirage-locations-group__toggle:hover .mirage-locations-group__action-text { text-decoration: underline; }
.mirage-locations-group__chevron { display: block; transition: transform .2s; }
.mirage-locations-group__toggle[aria-expanded="false"] .mirage-locations-group__chevron { transform: rotate(180deg); }

/* Card grid: 4 / 3 / 2 / 1 columns */
.mirage-locations-group .mirage-locations-group__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}
.mirage-locations-group .mirage-locations-group__cards[hidden] { display: none !important; }
.mirage-locations-group .mirage-locations-group__cards > li { margin: 0; padding: 0; }
.mirage-locations-group .mirage-locations-group__cards > li::before { content: none; }
@media (max-width: 1279px) { .mirage-locations-group .mirage-locations-group__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .mirage-locations-group .mirage-locations-group__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .mirage-locations-group .mirage-locations-group__cards { grid-template-columns: minmax(0, 1fr); } }

/* Card */
.mirage-locations-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	transition: background-color .2s linear;
}
.mirage-locations-card:focus-within { outline: 2px solid #006f7c; outline-offset: 2px; }
/* Jennifer's review (2026-10-06): a hovered card fades from white to #f4ddd7. Keyboard focus gets the
   same tint. The body sets its own white, so it changes too. */
.mirage-locations-card:hover,
.mirage-locations-card:focus-within,
.mirage-locations-card:hover .mirage-locations-card__body,
.mirage-locations-card:focus-within .mirage-locations-card__body { background-color: #f4ddd7; }
.mirage-locations-card__media { aspect-ratio: 4 / 3; background: #dededc; }
.mirage-locations-card .mirage-locations-card__image {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.mirage-locations-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	background: #fff;
	transition: background-color .2s linear;
}
.mirage-locations-card .mirage-locations-card__name {
	margin: 0;
	padding: 0;
	font-family: Overused Grotesk, sans-serif;
	font-weight: 500;
	font-size: max(1.125rem, min(.167vw + 1.092rem, 1.25rem));
	line-height: 1.5rem;
	text-transform: none;
	letter-spacing: normal;
	color: #c65335;
}
/* Two classes deep so it beats the global a:not(.button,.link-with-arrow) rule.
   Inline (not flex) so a wrapped name keeps the chevron right after its last word. */
.mirage-locations-card .mirage-locations-card__link {
	display: inline;
	color: #c65335;
	font-weight: 500;
	text-decoration: none;
	border: 0;
	outline: 0;
}
/* Whole card is the click target; the name stays the only link for assistive tech. */
.mirage-locations-card .mirage-locations-card__link::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: auto;
	height: auto;
	margin: 0;
	background: none;
	border: 0;
}
.mirage-locations-card .mirage-locations-card__link:hover,
.mirage-locations-card .mirage-locations-card__link:focus { color: #c65335; text-decoration: none; }
.mirage-locations-card:hover .mirage-locations-card__link-text { text-decoration: underline; }
.mirage-locations-card__last-word { white-space: nowrap; }
.mirage-locations-card__icon { display: inline-block; margin-left: 4px; vertical-align: -3px; }
.mirage-locations-card .mirage-locations-card__description {
	margin: 0;
	padding: 0;
	font-family: Overused Grotesk, sans-serif;
	font-weight: 400;
	font-size: max(1.125rem, min(.167vw + 1.092rem, 1.25rem));
	line-height: max(1.5rem, min(.333vw + 1.433rem, 1.75rem));
	color: #171b1c;
}

@media (prefers-reduced-motion: reduce) {
	.mirage-locations-heading .mirage-locations-heading__pill,
	.mirage-locations-group__chevron,
	.mirage-locations-card,
	.mirage-locations-card__body { transition: none; }
}
@media print {
	.mirage-locations-group .mirage-locations-group__cards[hidden] { display: grid !important; }
	.mirage-locations-heading__nav,
	.mirage-locations-group__action { display: none !important; }
}
