/**
 * ============================================================================
 *  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.
 * ============================================================================
 *
 * Related Staff ([mc_related_staff], inc/related-staff.php). No background or
 * padding: the Elementor container supplies those. Sets its own type so the
 * kit's fonts don't apply; text rules carry two classes to outrank the
 * kit's ".elementor-kit-N h2 / p / a" (0,1,1).
 */

.mc-staff {
	--mc-staff-text: var(--mc-white);
	--mc-staff-dot: #9c9c9c;
	--mc-icon-link-color: var(--mc-staff-text);
	color: var(--mc-staff-text);
	font-family: var(--mc-font-body);
	font-size: .9375rem;
	line-height: var(--mc-lh-body);
}

.mc-staff--light {
	--mc-staff-text: var(--mc-ink);
	--mc-staff-dot: var(--mc-neutral);
}

.mc-staff .mc-staff__title {
	margin: 0 0 16px;
	font-family: var(--mc-font-body);
	font-size: var(--mc-fs-h2);
	font-weight: 700;
	line-height: var(--mc-lh-tight);
	color: var(--mc-staff-text);
}

.mc-staff__person + .mc-staff__person {
	margin-top: 20px;
}

.mc-staff .mc-staff__region,
.mc-staff .mc-staff__name,
.mc-staff .mc-staff__contact {
	margin: 0 0 4px;
	color: var(--mc-staff-text);
}

.mc-staff .mc-staff__region {
	font-weight: 700;
}

.mc-staff .mc-staff__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	margin-bottom: 0;
}

/* Dot between phone and email, only when both show. */
.mc-staff .mc-staff__phone + span::before {
	content: "\2022";
	margin: 0 10px;
	color: var(--mc-staff-dot);
}

.mc-staff .mc-staff__phone {
	color: var(--mc-staff-text);
	text-decoration: none;
}

.mc-staff .mc-staff__phone:is(:hover, :focus-visible) {
	text-decoration: underline;
}

/* ---- FacetWP listing ([facetwp template="related_staff"]): one card per
   person in a grid. Still no background or padding on the cards. */
.mc-staff--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 16px;
}

.mc-staff--grid .mc-staff__person + .mc-staff__person {
	margin-top: 0;
}

/* ---- layout="title" ([mc_related_staff_grid layout="title"]): centered
   name, Job Title, phone, Send an Email, one per line. */
.mc-staff__person--title {
	text-align: center;
}

.mc-staff .mc-staff__person--title > p {
	margin: 0 0 6px;
	color: var(--mc-staff-text);
}

.mc-staff .mc-staff__person--title > p:last-child {
	margin-bottom: 0;
}

.mc-staff .mc-staff__person--title :is(.mc-staff__name, .mc-staff__role, .mc-staff__line:has(.mc-staff__phone)) {
	font-size: .9375rem;
}

.mc-staff .mc-staff__person--title .mc-staff__name {
	font-weight: 700;
}

.mc-staff .mc-staff__person--title .mc-staff__line:has(.icon-link) {
	margin-top: 8px;
}

.mc-staff .mc-staff__person--title .icon-link {
	font-size: .875rem;
}

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