/**
 * ============================================================================
 *  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.
 * ============================================================================
 *
 * Nearest location card ([mc_nearest_location], inc/nearest-location.php).
 * Black panel (comp). Sets its own type so it looks the same on Elementor
 * pages, where the kit's fonts apply; title and text rules carry two
 * classes to outrank the kit's ".elementor-kit-N h2 / p" (0,1,1).
 */

.mc-nearest {
	--mc-icon-link-color: var(--mc-white);
	padding: 24px;
	background: #000;
	color: #bdbdbd; /* 11:1 on black */
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-body);
	line-height: var(--mc-lh-body);
}

.mc-nearest .mc-nearest__title {
	margin: 0 0 8px;
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-h2);
	font-weight: 700;
	line-height: var(--mc-lh-tight);
	color: var(--mc-white);
}

.mc-nearest .mc-nearest__place {
	margin: 0 0 6px;
	font-weight: 700;
	color: var(--mc-white);
}

.mc-nearest .mc-nearest__line {
	margin: 0 0 4px;
	color: inherit;
	color: var(--mc-cat-gray);
}

.mc-nearest .mc-nearest__line a {
	color: var(--mc-cat-gray);
	text-decoration: none;
}

.mc-nearest .mc-nearest__line a:is(:hover, :focus-visible) {
	color: var(--mc-white);
	text-decoration: underline;
}

/* ---- Hours: the Location's Hours field as written. A table gets the comp's
   dark rows; plain lines just stack. */
.mc-nearest__hours {
	margin: 16px 0 0;
	color: var(--mc-white);
}

.mc-nearest__hours p {
	margin: 0 0 4px;
}

.mc-nearest .mc-nearest__hours table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 6px;
}

.mc-nearest .mc-nearest__hours td,
.mc-nearest .mc-nearest__hours th {
	padding: 4px 10px;
	border: 0;
	background: #1f1f1f;
	color: var(--mc-white);
	font-weight: 400;
	text-align: left;
}

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

.mc-nearest .mc-nearest__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 40px;
	margin: 20px 0 0;
}

/* Each link sits in a <span> so it stays inline (a flex item would be
   blockified, stretching the icon-link underline past the text). */

/* Placeholder state: only the See All link until the card loads. */
.mc-nearest:not(.is-loaded) .mc-nearest__links {
	margin-top: 12px;
}

.mc-nearest.is-loading .mc-nearest__body {
	opacity: 0.6;
}

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