/**
 * ============================================================================
 *  MILTONCAT MANAGED FILE - DO NOT EDIT ON THE SERVER
 * ----------------------------------------------------------------------------
 *  Owner : Getfused (git repo: miltoncat)
 *  Deploy: SFTP overwrites this file wholesale. Server-side edits WILL BE
 *          LOST without warning, with no backup and no notification.
 *
 *  Site code belongs in one of these instead. Neither is ever written by a
 *  Getfused deploy, so anything you put there is safe:
 *      themes/miltoncat-gp/functions.php   (below the SITE CUSTOMIZATIONS marker)
 *      themes/miltoncat-gp/style.css       (below the SITE CUSTOMIZATIONS marker)
 *
 *  Full ownership map: _OWNERSHIP.md in the theme root.
 * ============================================================================
 *
 * Location detail page (single-location.php, inc/location-detail.php), to the
 * comp: a dark band (alert bar, breadcrumb, title, address + hours | phones |
 * map), the Elementor content on white, the promos, and the Inquire Now panel
 * running into the footer. Rules carry two classes to outrank the Elementor
 * kit's ".elementor-kit-N h2 / p / a" (0,1,1).
 */

.mc-location {
	box-sizing: border-box;
	padding: 0;
	background: var(--mc-bg);
	color: var(--mc-ink);
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-body);
	line-height: var(--mc-lh-body);
}

.mc-location .mc-listing-inner {
	box-sizing: content-box;
	max-width: var(--mc-container);
	margin: 0 auto;
	padding: 0 var(--mc-page-padding);
}

.mc-location .mc-location__label {
	margin: 0 0 6px;
	font-size: var(--mc-fs-body);
	font-weight: 700;
}

/* ---- 1. Dark band -------------------------------------------------------- */
.mc-location__band {
	padding: 0 0 80px;
	background: var(--mc-ink);
	color: var(--mc-white);
}

/* Alert: white bar under the header, yellow warning icon. */
.mc-location__alert {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 24px;
	background: var(--mc-white);
	color: var(--mc-ink);
}

.mc-location__alert-icon {
	flex: none;
	width: 18px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M9 0L18 16H0Z' fill='%23FFCC00'/%3E%3Cpath d='M8 5h2v5H8zM8 11.5h2v2H8z' fill='%231A1E22'/%3E%3C/svg%3E") no-repeat center / contain;
}

.mc-location__alert-text > * {
	display: inline;
	margin: 0;
}

.mc-location__alert-text a.icon-link {
	margin-left: 0.5em;
}

.mc-location__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 436px);
	gap: 32px 64px;
	align-items: start;
	padding-top: 40px;
}

.mc-location__alert + .mc-location__hero {
	padding-top: 48px;
}

.mc-location__hero--no-map {
	grid-template-columns: minmax(0, 1fr);
}

.mc-location__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
}

.mc-location__crumbs li {
	margin: 0;
}

.mc-location__crumbs li + li::before {
	content: "\203A";
	margin: 0 8px;
	color: var(--mc-cat-gray);
}

.mc-location .mc-location__crumbs a {
	color: #c3cace; /* 9.9:1 on Ink */
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mc-location .mc-location__crumbs a:is(:hover, :focus-visible) {
	color: var(--mc-white);
	text-decoration-color: var(--mc-cat-yellow);
}

.mc-location .mc-location__crumbs [aria-current] {
	color: var(--mc-white);
}

.mc-location .mc-location__title {
	margin: 0 0 32px;
	color: var(--mc-white);
}

.mc-location .mc-location__subtitle {
	margin: -16px 0 32px;
	color: var(--mc-white);
	font-size: var(--mc-fs-lead);
}

/* Address + hours (300px) | phones + Inquire Online */
.mc-location__facts {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: 32px 72px;
}

.mc-location__address + .mc-location__address,
.mc-location__hours {
	margin-top: 32px;
}

.mc-location .mc-location__address address {
	margin: 0 0 16px;
	color: var(--mc-white);
	font-size: var(--mc-fs-lead);
	font-style: normal;
	line-height: 1.4;
}

.mc-location .mc-location__address .mc-location__label {
	color: #c3cace;
	font-size: 0.8125rem;
}

.mc-location .mc-location__directions.mc-btn {
	padding: 8px 18px;
}

/* Hours: the Location's Hours field as written; a table gets the comp's
   gray rows. */
.mc-location__hours > :last-child {
	margin-bottom: 0;
}

.mc-location .mc-location__hours .mc-location__label {
	color: var(--mc-white);
}

.mc-location .mc-location__hours table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 4px;
	color: var(--mc-white);
}

.mc-location .mc-location__hours :is(td, th) {
	padding: 4px 10px;
	border: 0;
	background: #33393f;
	font-size: var(--mc-fs-body);
	font-weight: 400;
	text-align: left;
}

.mc-location .mc-location__hours p {
	color: var(--mc-white);
}

/* Phones: two columns, gray labels, white numbers. */
.mc-location__phones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 40px;
	margin: 0 0 32px;
}

.mc-location__phones dt {
	color: #a9b1b6; /* 7.3:1 on Ink */
	font-size: 0.8125rem;
	font-weight: 700;
}

.mc-location__phones dd {
	margin: 2px 0 0;
	color: var(--mc-white);
	font-size: var(--mc-fs-body);
}

.mc-location .mc-location__phones a {
	color: var(--mc-white);
	text-decoration: none;
}

.mc-location .mc-location__phones a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-decoration-color: var(--mc-cat-yellow);
}

.mc-location__map {
	height: 340px;
	background: #2b3035;
}

.mc-location__map-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.mc-location__band :focus-visible {
	outline-color: var(--mc-white);
}

/* ---- 2. Elementor content ----------------------------------------------- */
.mc-location__content {
	padding-top: 88px;
}

/* [mc_location_capabilities]: "Services & Capabilities:" checklist. */
.mc-capabilities {
	margin: 0;
}

.mc-capabilities .mc-capabilities__title {
	margin: 0 0 10px;
	font-weight: 700;
}

.mc-capabilities__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-capabilities__list li {
	position: relative;
	margin: 0 0 6px;
	padding-left: 28px;
}

.mc-capabilities__list li::before {
	content: "";
	position: absolute;
	top: 0.35em;
	left: 2px;
	width: 13px;
	height: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 10'%3E%3Cpath d='M1 5l4 4 7-8' fill='none' stroke='%23909CA4' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---- 3. Promos (cards: promotions.css) ----------------------------------- */
.mc-location__promos {
	margin-top: 88px;
}

/* Fill the row: two promos side by side, as the comp, at its shorter height. */
.mc-location .mc-location__promos .mc-promo-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 16px;
}

.mc-location .mc-location__promos .mc-promo.mc-promo--related {
	min-height: 280px;
}

/* Promos last (no Inquire panel): keep them off the footer. */
.mc-location .mc-location__promos:last-child {
	padding-bottom: 88px;
}

/* ---- 4. Inquire Now: gray panel running into the footer ------------------ */
.mc-location__inquire-panel {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 48px;
	align-items: start;
	margin-top: 88px;
	padding: 64px 80px;
	overflow: hidden;
	background: var(--mc-panel);
	scroll-margin-top: 24px;
}

.mc-location__inquire-panel:focus {
	outline: none;
}

/* No Service Info and no Related Locations: the form on the left, the
   track tread down the right edge (comp). */
.mc-location__inquire-panel--solo {
	grid-template-columns: minmax(0, 560px);
	min-height: 420px;
	padding-right: 300px;
}

.mc-location__tread {
	position: absolute;
	top: 0;
	right: 56px;
	bottom: 0;
	width: 178px;
	background: url("../img/track-tread.svg") repeat-y center top / 178px 88px;
}

.mc-location .mc-location__form-title {
	margin: 0 0 20px;
	color: var(--mc-ink);
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-h2);
	font-weight: 700;
}

.mc-location__form-missing {
	margin: 0;
	padding: 12px 16px;
	border: 1px dashed var(--mc-input-border);
	background: var(--mc-white);
	font-size: 0.875rem;
}

/* HubSpot embed: fields and button in the site's style. */
.mc-location__form-embed .hs-form fieldset {
	max-width: none;
}

.mc-location__form-embed .hs-form-field {
	margin-bottom: 18px;
}

.mc-location__form-embed .hs-form-field > label {
	display: block;
	margin-bottom: 6px;
	color: var(--mc-ink);
	font-size: var(--mc-fs-body);
	font-weight: 400;
}

.mc-location__form-embed .hs-input:not([type="checkbox"]):not([type="radio"]) {
	box-sizing: border-box;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--mc-input-border);
	border-radius: 0;
	background: var(--mc-white);
	color: var(--mc-ink);
	font: inherit;
}

.mc-location__form-embed textarea.hs-input {
	min-height: 110px;
}

.mc-location__form-embed .hs-button {
	padding: 10px 26px;
	border: 2px solid var(--mc-cat-yellow);
	border-radius: 0;
	background: var(--mc-cat-yellow);
	color: var(--mc-ink);
	font: 700 var(--mc-fs-body) / 1.2 var(--mc-font-body);
	cursor: pointer;
}

.mc-location__form-embed .hs-button:is(:hover, :focus-visible) {
	border-color: var(--mc-ink);
	background: var(--mc-ink);
	color: var(--mc-white);
}

.mc-location__form-embed .hs-error-msgs {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	color: var(--mc-poor);
	font-size: 0.875rem;
}

/* Service Info + Related Locations */
.mc-location__service {
	padding: 24px;
	background: var(--mc-white);
}

.mc-location__service-info > :last-child {
	margin-bottom: 0;
}

.mc-location__related {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 20px 24px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.mc-loc-mini {
	margin: 0;
}

.mc-location .mc-loc-mini__title {
	margin: 0 0 4px;
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-h4);
	font-weight: 700;
	line-height: var(--mc-lh-tight);
}

.mc-location .mc-loc-mini__title a {
	color: var(--mc-ink);
	text-decoration: none;
}

.mc-location .mc-loc-mini__title a:is(:hover, :focus-visible) {
	text-decoration: underline;
}

.mc-location :is(.mc-loc-mini__address, .mc-loc-mini__phone) {
	margin: 0 0 2px;
	font-size: 0.875rem;
}

.mc-location .mc-loc-mini__phone a {
	color: inherit;
	text-decoration: none;
}

/* Links sit in <span>s so they stay inline in the flex row. */
.mc-location .mc-loc-mini__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 6px 0 0;
}

.mc-location .mc-location__browse {
	margin-top: 24px;
}

.mc-location :focus-visible {
	outline: 2px solid var(--mc-focus);
	outline-offset: 2px;
}

.mc-location .mc-location__band :focus-visible {
	outline-color: var(--mc-white);
}

/* ---- Tablet / phone ------------------------------------------------------ */
@media (max-width: 1024px) {
	.mc-location__hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.mc-location__map {
		height: 300px;
	}

	.mc-location__content {
		padding-top: 56px;
	}

	.mc-location__promos,
	.mc-location__inquire-panel {
		margin-top: 56px;
	}

	.mc-location__inquire-panel {
		padding: 48px 40px;
	}

	.mc-location__inquire-panel--solo {
		padding-right: 240px;
	}

	.mc-location__tread {
		right: 24px;
	}
}

@media (max-width: 768px) {
	.mc-location__band {
		padding-bottom: 48px;
	}

	.mc-location__alert {
		align-items: flex-start;
		padding: 12px 16px;
	}

	.mc-location__alert-icon {
		margin-top: 3px;
	}

	.mc-location__facts,
	.mc-location__inquire-panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.mc-location__inquire-panel,
	.mc-location__inquire-panel--solo {
		min-height: 0;
		padding: 32px 16px;
	}

	/* No room beside the form on a phone. */
	.mc-location__tread {
		display: none;
	}
}
