/**
 * 220 Listings — Staff Profiles Stylesheet
 *
 * Owns every Staff Profile shortcode and template:
 *   • Vertical card grid + horizontal card list
 *   • Card Profile single (default layout)
 *   • Prestige Profile, Private Bank Profile, Hero Profile singles
 *
 * Lazy-loaded by AssetLoader::has_staff_content() — only enqueued when
 * the page surfaces Staff content (singular, archive, or shortcode).
 *
 * Colors reference --220-color-* custom properties set by the plugin
 * Settings page (see ColorSettings.php).
 *
 * Companion stylesheets:
 *   • 220-listings-shared.css — Buttons, contact links, social, pagination, a11y
 *
 * @package TwoTwenty\Listings
 */

/* ==========================================================================
   Staff List · Vertical Card Grid
   --------------------------------------------------------------------------
   Default [220_staff_list] layout. Responsive 1–4 column CSS grid of
   .twotwenty-vcard tiles (photo + identity + contact rows + CTA).
   ========================================================================== */

/* Cap each card's width via minmax(0, …) so rows with fewer cards
 * than columns center cleanly instead of stretching to fill the
 * row. justify-content:center pulls partial rows toward the middle
 * of the grid container. (T2 / round 1 — handles the 1–2 staff case
 * gracefully.) */
.twotwenty-layout-vertical-card {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 280px));
	justify-content: center;
	gap: 22px;
	padding: 0;
	margin: 0 20px 32px;
}

.twotwenty-layout-vertical-card.twotwenty-columns-1 { grid-template-columns: minmax(0, 320px); }
.twotwenty-layout-vertical-card.twotwenty-columns-2 { grid-template-columns: repeat(2, minmax(0, 320px)); }
.twotwenty-layout-vertical-card.twotwenty-columns-3 { grid-template-columns: repeat(3, minmax(0, 280px)); }
.twotwenty-layout-vertical-card.twotwenty-columns-4 { grid-template-columns: repeat(4, minmax(0, 280px)); }

/* Card shell */
.twotwenty-vcard {
	background: #ffffff;
	border-radius: var(--220-radius, 10px);
	border: 1px solid var(--220-color-border, #e2e2e8);
	box-shadow: var(--220-shadow, 0 2px 8px rgba(0,0,0,0.07));
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.twotwenty-vcard:hover {
	box-shadow: 0 8px 28px rgba(0,0,0,0.12);
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--220-color-border, #e2e2e8) 60%, var(--220-color-primary, #2D5F8A));
}

/* Photo */
.twotwenty-vcard-photo {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--220-color-primary, #2D5F8A);
}

.twotwenty-vcard-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.twotwenty-vcard:hover .twotwenty-vcard-img {
	transform: scale(1.04);
}

.twotwenty-vcard-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		160deg,
		var(--220-color-primary, #2D5F8A),
		color-mix(in srgb, var(--220-color-primary, #2D5F8A) 75%, black)
	);
	color: rgba(255, 255, 255, 0.18);
}

/* Specialty badge */
.twotwenty-vcard-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(255, 255, 255, 0.93);
	color: color-mix(in srgb, var(--220-color-accent, #c9972b) 80%, black);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 100px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(4px);
}

/* Accent bar */
.twotwenty-vcard-bar {
	height: 3px;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black),
		var(--220-color-accent, #c9972b),
		color-mix(in srgb, var(--220-color-accent, #c9972b) 80%, white)
	);
	flex-shrink: 0;
}

/* Card body */
.twotwenty-vcard-body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.twotwenty-vcard-name {
	font-size: 1.1em;
	font-weight: 700;
	color: var(--220-color-primary, #2D5F8A);
	margin: 0 0 3px;
	line-height: 1.25;
	text-wrap: pretty;
}

.twotwenty-vcard-position {
	font-size: 0.78em;
	font-weight: 600;
	color: var(--220-color-accent, #c9972b);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin: 0 0 5px;
}

.twotwenty-vcard-license {
	font-size: 0.8em;
	color: var(--220-color-secondary, #777777);
	margin: 0 0 12px;
}

.twotwenty-vcard-license strong {
	font-weight: 600;
	color: var(--220-color-secondary, #555555);
}

.twotwenty-vcard-divider {
	height: 1px;
	background: var(--220-color-border, #e2e2e8);
	margin-bottom: 12px;
}

.twotwenty-vcard-bio {
	font-size: 0.85em;
	color: var(--220-color-secondary, #555555);
	line-height: 1.65;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-wrap: pretty;
}

/* Social icon row that replaces the mini bio on the vertical card.
 * (T1 / feedback round 1.) */
.twotwenty-vcard-socials {
	margin: 0 0 12px;
}
.twotwenty-vcard-socials .twotwenty-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
}

/* Contact rows */
.twotwenty-vcard-contacts {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 16px;
}

.twotwenty-vcard-contact-row {
	font-size: 0.85em;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Small inline glyph used by list-card phone/email rows where the
 * helper-rendered link no longer carries its own SVG (B1). Distinct
 * from .twotwenty-contact-icon (the chunky 28px contact-strip badge). */
.twotwenty-contact-glyph {
	flex-shrink: 0;
	color: var(--220-color-primary, #2D5F8A);
}

.twotwenty-card-phone,
.twotwenty-card-email {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* CTA */
.twotwenty-vcard-cta {
	margin-top: auto;
}

/* ==========================================================================
   Whole-card click target (staff cards)

   Each staff layout (vertical, horizontal, minimal grid) has a primary
   "View Profile" / "Learn More" anchor inside the card. The ::after
   pseudo-element on that anchor is sized to cover the whole card via
   inset: 0, so a click anywhere on the card surface navigates to the
   profile permalink. Phone, email, and social-icon links sit above the
   overlay via z-index so they keep their direct-action behavior
   (tel:, mailto:, external link) without being intercepted.
   ========================================================================== */

.twotwenty-vcard,
.twotwenty-card.twotwenty-staff-card,
.twotwenty-card.twotwenty-staff-card-minimal {
	position: relative;
	cursor: pointer;
}

.twotwenty-vcard .twotwenty-vcard-cta > a::after,
.twotwenty-card.twotwenty-staff-card > .twotwenty-card-content > a.twotwenty-btn-primary::after,
.twotwenty-card.twotwenty-staff-card-minimal > .twotwenty-card-link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.twotwenty-vcard-contact-row a,
.twotwenty-vcard-socials a,
.twotwenty-card-phone a,
.twotwenty-card-email a,
.twotwenty-card-email-minimal a {
	position: relative;
	z-index: 2;
}

.twotwenty-card.twotwenty-staff-card,
.twotwenty-card.twotwenty-staff-card-minimal {
	transition: box-shadow 0.2s ease;
}
.twotwenty-card.twotwenty-staff-card:hover,
.twotwenty-card.twotwenty-staff-card-minimal:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

/* ==========================================================================
   Staff Single · Card Profile (default layout)
   --------------------------------------------------------------------------
   Hero banner + two-column body (photo/contact sidebar on the left, identity
   card and bio on the right). Used by templates/staff/single-card-profile.php
   when staff_single_layout = "card-profile".
   ========================================================================== */

.twotwenty-single-profile {
	padding: 0;
}

/* Hero banner */
.twotwenty-hero-banner {
	width: 100%;
	height: 220px;
	background: var(--220-color-primary, #2D5F8A);
	background-image: linear-gradient(
		135deg,
		var(--220-color-primary, #2D5F8A) 0%,
		color-mix(in srgb, var(--220-color-primary, #2D5F8A) 75%, black) 100%
	);
	position: relative;
}

/* Gold rule at banner bottom */
.twotwenty-hero-banner::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--220-color-accent, #c9972b),
		color-mix(in srgb, var(--220-color-accent, #c9972b) 80%, white),
		transparent
	);
}

/* Container */
.twotwenty-hero-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 28px 56px;
}

/* Hero text — overlaps banner bottom */
.twotwenty-hero-header {
	padding-top: 40px;
	margin-bottom: 28px;
}

.twotwenty-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--220-color-accent, #c9972b);
	margin-bottom: 10px;
}

.twotwenty-hero-eyebrow::before {
	content: '';
	display: block;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	border-radius: 2px;
}

.twotwenty-hero-name {
	font-size: 2em;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 6px;
	line-height: 1.15;
}

.twotwenty-hero-sub {
	font-size: 0.95em;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
	font-weight: 300;
}

/* Two-column layout */
.twotwenty-profile-columns {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 0 32px;
	align-items: start;
}

/* ── Sidebar ── */
.twotwenty-profile-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Photo */
.twotwenty-profile-photo-wrap {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--220-radius, 10px);
	overflow: hidden;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	background: var(--220-color-bg-light, #f0f4ff);
}

.twotwenty-profile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.twotwenty-profile-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		160deg,
		var(--220-color-primary, #2D5F8A),
		color-mix(in srgb, var(--220-color-primary, #2D5F8A) 75%, black)
	);
	color: rgba(255, 255, 255, 0.18);
}

/* Contact card */
.twotwenty-contact-card {
	background: #ffffff;
	border: 1px solid var(--220-color-border, #e2e2e8);
	border-radius: var(--220-radius, 10px);
	padding: 16px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.twotwenty-contact-card-heading {
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--220-color-secondary, #888888);
	margin: 0 0 12px;
}

.twotwenty-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

.twotwenty-contact-item:last-child {
	margin-bottom: 0;
}

.twotwenty-contact-icon {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: var(--220-color-bg-light, #f0f4ff);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--220-color-primary, #2D5F8A);
}

.twotwenty-contact-detail {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.twotwenty-contact-label {
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--220-color-secondary, #888888);
}

.twotwenty-contact-val {
	font-size: 0.88em;
	color: var(--220-color-secondary, #333333);
	text-decoration: none;
	word-break: break-word;
}

.twotwenty-contact-val:hover {
	color: var(--220-color-primary, #2D5F8A);
}

.twotwenty-address-line {
	display: block;
}

/* CTA */
.twotwenty-profile-cta {
	/* margin handled by sidebar gap */
}

/* Social */
.twotwenty-profile-social-heading {
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--220-color-secondary, #888888);
	margin: 0 0 8px;
}

/* ── Main content ── */
.twotwenty-profile-main {
	padding-top: 16px;
}

/* Identity block — name / title / company / NMLS badge card */
.twotwenty-profile-identity {
	background: #ffffff;
	border: 1px solid var(--220-color-border, #e2e2e8);
	border-radius: var(--220-radius, 10px);
	padding: 24px 28px 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

.twotwenty-profile-identity::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black),
		var(--220-color-accent, #c9972b),
		color-mix(in srgb, var(--220-color-accent, #c9972b) 80%, white)
	);
}

.twotwenty-profile-identity .twotwenty-license-badge {
	display: inline-flex;
	margin-bottom: 12px;
}

.twotwenty-profile-name {
	font-size: 2em;
	font-weight: 700;
	color: var(--220-color-primary, #2D5F8A);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin-bottom: 5px;
	text-wrap: pretty;
}

.twotwenty-profile-position {
	font-size: 0.82em;
	font-weight: 700;
	color: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
	text-transform: uppercase;
	letter-spacing: 0.09em;
	margin-bottom: 3px;
}

.twotwenty-profile-company {
	font-size: 0.9em;
	color: var(--220-color-secondary, #555555);
	font-weight: 300;
}

/* License badge (standalone + inside identity block) */
.twotwenty-license-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #ffffff;
	border: 1px solid var(--220-color-border, #e2e2e8);
	border-radius: 100px;
	padding: 4px 14px;
	font-size: 0.85em;
	color: var(--220-color-secondary, #555555);
	margin-bottom: 20px;
}

.twotwenty-license-badge strong {
	color: var(--220-color-primary, #2D5F8A);
	font-weight: 700;
}

/* Bio section */
.twotwenty-profile-bio-heading {
	font-size: 1.4em;
	font-weight: 700;
	color: var(--220-color-primary, #2D5F8A);
	margin: 0 0 14px;
	line-height: 1.2;
}

.twotwenty-profile-bio-content {
	font-size: 1em;
	line-height: 1.75;
	color: var(--220-color-secondary, #333333);
}

.twotwenty-profile-bio-content p {
	margin: 0 0 16px;
}

.twotwenty-profile-bio-content p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Staff List + Card Profile · Responsive Overrides
   --------------------------------------------------------------------------
   Breakpoint-driven adjustments for the vertical-card grid and the default
   single Card Profile. Variant-specific responsive rules for Prestige /
   Private / Hero singles live further down in their own block.
   ========================================================================== */

@media (max-width: 1024px) {
	.twotwenty-layout-vertical-card {
		grid-template-columns: repeat(2, 1fr);
	}

	.twotwenty-layout-vertical-card.twotwenty-columns-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.twotwenty-profile-columns {
		grid-template-columns: 200px 1fr;
		gap: 0 24px;
	}

	.twotwenty-hero-container {
		padding: 0 20px 40px;
	}
}

@media (max-width: 767px) {
	.twotwenty-layout-vertical-card,
	.twotwenty-layout-vertical-card.twotwenty-columns-2,
	.twotwenty-layout-vertical-card.twotwenty-columns-3,
	.twotwenty-layout-vertical-card.twotwenty-columns-4 {
		grid-template-columns: 1fr;
	}

	/* Single profile stacks on mobile */
	.twotwenty-hero-banner {
		height: 160px;
	}

	.twotwenty-hero-name {
		font-size: 1.5em;
	}

	.twotwenty-profile-columns {
		grid-template-columns: 1fr;
	}

	.twotwenty-profile-sidebar {
		margin-top: 0;
	}

	.twotwenty-profile-photo-wrap {
		max-width: 160px;
		margin: 0 auto;
	}

	.twotwenty-contact-card,
	.twotwenty-profile-cta,
	.twotwenty-profile-social {
		text-align: left;
	}

	.twotwenty-hero-container {
		padding: 0 16px 32px;
	}

	.twotwenty-hero-header {
		padding-top: 24px;
	}

	/* Identity block shrinks on mobile */
	.twotwenty-profile-name {
		font-size: 1.5em;
	}

	.twotwenty-profile-identity {
		padding: 18px 20px 16px;
	}
}

/* ==========================================================================
   Staff Single · Shared Design Tokens (warm neutral palette)
   --------------------------------------------------------------------------
   Local CSS custom properties scoped to the Prestige, Private Bank, and Hero
   single profile layouts. Intentionally NOT in ColorSettings — these are
   fixed design tones from the Claude design handoff. Themes can override
   these on the cascade if a custom palette is required.
   ========================================================================== */

.twotwenty-prestige-profile,
.twotwenty-private-profile,
.twotwenty-hero-profile {
	--220-warm-bg: #f9f8f5;
	--220-warm-border: #e8e4dc;
	--220-warm-muted: #9a8c78;
	--220-warm-muted-soft: #b0a898;
	--220-tinted-sidebar-bg: oklch(97.5% 0.006 245);
	--220-tinted-sidebar-border: #e8e8ed;
	--220-text-body: #4a4a52;
	--220-text-heading: #1c1c1e;
}

/* ==========================================================================
   Staff Single · Prestige Profile Layout
   --------------------------------------------------------------------------
   Single-column flow:
     • Header: 110px photo + identity column with gold pill title badge.
     • Gold rule divider.
     • 4-column contact strip (CSS grid) with hairline dividers.
     • Body: 2-column grid (1fr 200px) — bio left, CTA + chip stack right.
   -------------------------------------------------------------------------- */

.twotwenty-prestige-profile {
	font-family: 'DM Sans', system-ui, sans-serif;
	color: var(--220-text-body);
}

.twotwenty-prestige-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 32px 72px;
}

.twotwenty-prestige-header {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.twotwenty-prestige-photo {
	width: 200px;
	height: 200px;
	flex-shrink: 0;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--220-color-primary, #2d5f8a);
	background: linear-gradient(
		155deg,
		var(--220-color-primary, #1a2744),
		color-mix(in srgb, var(--220-color-primary, #1a2744) 75%, white)
	);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.18);
}

.twotwenty-prestige-photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.twotwenty-prestige-identity {
	flex: 1;
	padding-top: 6px;
	min-width: 0;
}

.twotwenty-prestige-name-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.twotwenty-prestige-name {
	font-size: 36px;
	font-weight: 600;
	color: var(--220-color-primary, #1a2744);
	line-height: 1.1;
	margin: 0;
}

.twotwenty-prestige-title-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 3px;
	background: var(--220-warm-bg);
	border: 1px solid var(--220-warm-border);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--220-warm-muted);
}

.twotwenty-prestige-company {
	color: var(--220-warm-muted);
	font-weight: 400;
	margin: 0 0 10px;
}

.twotwenty-prestige-company em,
.twotwenty-prestige-locale {
	font-style: italic;
}

.twotwenty-prestige-sep {
	color: var(--220-warm-muted-soft);
}

.twotwenty-prestige-nmls {
	font-size: 14px;
	color: var(--220-warm-muted);
	margin: 0;
}

.twotwenty-prestige-nmls strong {
	color: var(--220-text-body);
	font-weight: 700;
}

.twotwenty-prestige-rule {
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--220-color-primary, #2d5f8a),
		color-mix(in srgb, var(--220-color-accent, #c9972b) 10%, transparent)
	);
	border-radius: 2px;
	margin: 20px 0 0;
}

/* Contact strip */
.twotwenty-prestige-contact-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-bottom: 1px solid #eeeef2;
}

.twotwenty-prestige-contact-cell {
	padding: 16px 20px 16px 0;
	display: flex;
	align-items: flex-start;
	gap: 9px;
	border-right: 1px solid #f0f0f4;
	min-width: 0;
}

.twotwenty-prestige-contact-cell:first-child {
	padding-left: 0;
}

.twotwenty-prestige-contact-cell:not(:first-child) {
	padding-left: 20px;
}

.twotwenty-prestige-contact-cell:last-child {
	border-right: none;
}

.twotwenty-prestige-contact-icon {
	width: 28px;
	height: 28px;
	border-radius: 5px;
	background: #f5f4f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--220-color-accent, #c9972b);
	flex-shrink: 0;
}

.twotwenty-prestige-contact-detail {
	min-width: 0;
	flex: 1;
}

.twotwenty-prestige-contact-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--220-warm-muted-soft);
	margin-bottom: 2px;
}

.twotwenty-prestige-contact-val {
	font-size: 14px;
	color: var(--220-text-heading);
	line-height: 1.4;
	overflow-wrap: break-word;
	word-break: break-word;
}

.twotwenty-prestige-contact-val a {
	color: var(--220-text-heading);
	text-decoration: none;
}

.twotwenty-prestige-contact-val a:hover {
	color: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
}

.twotwenty-prestige-website-link {
	display: block;
	word-break: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
}

.twotwenty-prestige-address {
	display: block;
	font-style: normal;
}

.twotwenty-prestige-address span {
	display: block;
}

/* Body — bio is full-width since the CTA + chips + socials moved
 * into the header beside the photo. (T3 / round 1.) */
.twotwenty-prestige-body {
	display: block;
	padding: 24px 0 0;
}
.twotwenty-prestige-body-full .twotwenty-prestige-bio {
	max-width: none;
}

/* Header actions cluster — primary CTA, optional secondary CTA,
 * category chips, and social icons. Stacks under the identity
 * block, sits to the right of the photo. (T3 / round 1.) */
.twotwenty-prestige-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 18px;
	max-width: 360px;
}
.twotwenty-prestige-cta-secondary {
	background: transparent;
	color: var(--220-color-primary, #1a2744);
	border: 1px solid currentColor;
}
.twotwenty-prestige-cta-secondary:hover,
.twotwenty-prestige-cta-secondary:focus-visible {
	background: var(--220-color-primary, #1a2744);
	color: #fff;
}
.twotwenty-prestige-actions .twotwenty-prestige-chips {
	flex-direction: row;
	flex-wrap: wrap;
}
.twotwenty-prestige-socials .twotwenty-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.twotwenty-prestige-bio-heading {
	font-size: 22px;
	font-weight: 600;
	color: var(--220-color-primary, #1a2744);
	margin: 0 0 12px;
}

.twotwenty-prestige-bio-content {
	line-height: 1.82;
	color: var(--220-text-body);
	font-weight: 300;
	text-wrap: pretty;
}

.twotwenty-prestige-bio-content p {
	margin: 0 0 13px;
}

.twotwenty-prestige-bio-content p:last-child {
	margin-bottom: 0;
}

.twotwenty-prestige-side {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.twotwenty-prestige-cta {
	display: block;
	padding: 13px 16px;
	text-align: center;
	background: var(--220-color-accent, #c9972b);
	color: var(--220-color-primary, #1a2744);
	font-family: 'DM Sans', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 5px;
	text-decoration: none;
	transition: background 0.18s, color 0.18s;
}

.twotwenty-prestige-cta:hover,
.twotwenty-prestige-cta:focus-visible {
	background: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
	color: #fff;
}

.twotwenty-prestige-chips {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.twotwenty-prestige-chip {
	padding: 6px 12px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	background: var(--220-warm-bg);
	color: #7a6a50;
	border: 1px solid var(--220-warm-border);
	text-align: center;
}

/* ==========================================================================
   Staff Single · Private Bank Profile Layout
   --------------------------------------------------------------------------
   Two-column grid (220px sidebar / 1fr main). Warm neutral sidebar
   (--220-warm-bg) houses the photo + outlined CTA; the main column leads
   with a Cormorant Garamond display name.
   ========================================================================== */

.twotwenty-private-profile {
	color: var(--220-text-body);
}

.twotwenty-private-wrap {
	display: grid;
	grid-template-columns: 220px 1fr;
	max-width: 1060px;
	margin: 0 auto;
	min-height: 480px;
	background: #ffffff;
}

.twotwenty-private-sidebar {
	background: var(--220-warm-bg);
	border-right: 1px solid var(--220-warm-border);
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
}

.twotwenty-private-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(
		160deg,
		var(--220-color-primary, #1a2744),
		color-mix(in srgb, var(--220-color-primary, #1a2744) 70%, white)
	);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.18);
	margin-bottom: 20px;
}

.twotwenty-private-photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.twotwenty-private-nmls {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--220-warm-muted);
	margin: 0 0 18px;
}

.twotwenty-private-nmls-label {
	color: var(--220-warm-muted-soft);
	margin-right: 3px;
}

.twotwenty-private-rule {
	height: 1px;
	background: var(--220-warm-border);
	margin: 0 0 16px;
}

.twotwenty-private-cta-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--220-warm-muted);
	margin: 0 0 8px;
}

.twotwenty-private-cta {
	display: block;
	padding: 11px 16px;
	text-align: center;
	border: 1.5px solid var(--220-color-primary, #1a2744);
	color: var(--220-color-primary, #1a2744);
	background: transparent;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 3px;
	text-decoration: none;
	transition: background 0.18s, color 0.18s;
}

.twotwenty-private-cta:hover,
.twotwenty-private-cta:focus-visible {
	background: var(--220-color-primary, #1a2744);
	color: #fff;
}

.twotwenty-private-contact-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.twotwenty-private-socials {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.twotwenty-private-socials .twotwenty-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.twotwenty-private-contact-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.twotwenty-private-contact-icon {
	color: var(--220-color-accent, #c9972b);
	margin-top: 1px;
	flex-shrink: 0;
	display: inline-flex;
}

.twotwenty-private-contact-detail {
	min-width: 0;
	flex: 1;
}

.twotwenty-private-contact-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--220-warm-muted-soft);
	margin-bottom: 1px;
}

.twotwenty-private-contact-val,
.twotwenty-private-contact-detail .twotwenty-phone-link,
.twotwenty-private-contact-detail .twotwenty-email-link {
	font-size: 14px;
	color: var(--220-text-body);
	line-height: 1.4;
	text-decoration: none;
}

.twotwenty-private-contact-detail .twotwenty-phone-link,
.twotwenty-private-contact-detail .twotwenty-email-link {
	display: inline-flex;
	gap: 0;
}

.twotwenty-private-contact-detail .twotwenty-phone-link svg,
.twotwenty-private-contact-detail .twotwenty-email-link svg {
	display: none; /* icon already rendered outside */
}

.twotwenty-private-contact-val a:hover {
	color: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
}

.twotwenty-private-website-link {
	display: block;
	word-break: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
}

.twotwenty-private-main {
	padding: 36px 40px;
	display: flex;
	flex-direction: column;
}

.twotwenty-private-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--220-color-accent, #c9972b);
	margin: 0 0 14px;
}

.twotwenty-private-eyebrow::before {
	content: '';
	height: 1px;
	width: 22px;
	background: currentColor;
}

.twotwenty-private-name {
	font-size: 42px;
	font-weight: 300;
	color: var(--220-color-primary, #1a2744);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 4px;
}

.twotwenty-private-title {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--220-warm-muted);
	margin: 0 0 28px;
}

.twotwenty-private-bio-rule {
	height: 1px;
	background: var(--220-warm-border);
	margin: 0 0 22px;
}

.twotwenty-private-bio-head {
	font-size: 21px;
	font-weight: 400;
	color: var(--220-color-primary, #1a2744);
	margin: 0 0 12px;
}

.twotwenty-private-bio-content {
	line-height: 1.85;
	color: var(--220-text-body);
	font-weight: 300;
	text-wrap: pretty;
}

.twotwenty-private-bio-content p {
	margin: 0 0 13px;
}

.twotwenty-private-bio-content p:last-child {
	margin-bottom: 0;
}

.twotwenty-private-chips {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	margin-top: 22px;
}

.twotwenty-private-chip {
	padding: 4px 13px;
	border-radius: 100px;
	font-size: 11px;
	font-weight: 600;
	background: #fdf3e0;
	color: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
	border: 1px solid color-mix(in srgb, var(--220-color-accent, #c9972b) 25%, transparent);
}

/* ==========================================================================
   Staff Single · Hero Profile Layout (tinted sidebar variant)
   --------------------------------------------------------------------------
   Visual override layer that sits on top of the default .twotwenty-profile-*
   markup used by single-hero-profile.php:
     • Sidebar gets a tinted cool-grey background + right border.
     • Photo wrap gains position:relative to host a specialty badge overlay.
     • Identity block gains a short gold gradient bar above the NMLS pill.
     • Contact card loses its card styling in favor of bordered rows.
     • Social icons become outlined tiles that fill navy on hover.
   ========================================================================== */

.twotwenty-hero-profile .twotwenty-hero-container {
	max-width: 1100px;
	padding-top: 0;
}

.twotwenty-hero-profile .twotwenty-profile-columns {
	grid-template-columns: 240px 1fr;
	gap: 0;
	background: #ffffff;
}

.twotwenty-hero-profile .twotwenty-profile-sidebar {
	background: var(--220-tinted-sidebar-bg);
	border-right: 1px solid var(--220-tinted-sidebar-border);
	padding: 28px 24px 36px;
	gap: 22px;
}

.twotwenty-hero-profile .twotwenty-profile-photo-wrap {
	position: relative;
	border: none;
	border-radius: 8px;
	box-shadow: none;
}

.twotwenty-profile-photo-badge {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.93);
	color: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 3px 11px;
	border-radius: 100px;
	white-space: nowrap;
	border: 1px solid color-mix(in srgb, var(--220-color-accent, #c9972b) 25%, transparent);
}

/* CTA inside tinted sidebar */
.twotwenty-hero-profile .twotwenty-profile-cta .twotwenty-btn-primary {
	background: var(--220-color-accent, #c9972b);
	color: var(--220-color-primary, #1a2744);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 8px;
	padding: 13px 16px;
}

.twotwenty-hero-profile .twotwenty-profile-cta .twotwenty-btn-primary:hover,
.twotwenty-hero-profile .twotwenty-profile-cta .twotwenty-btn-primary:focus-visible {
	background: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
	color: #ffffff;
}

/* Contact card → bordered rows, no card wrapper */
.twotwenty-hero-profile .twotwenty-contact-card {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.twotwenty-hero-profile .twotwenty-contact-card-heading {
	font-size: 9.5px;
	letter-spacing: 0.15em;
	color: var(--220-warm-muted-soft);
	margin-bottom: 12px;
}

.twotwenty-hero-profile .twotwenty-contact-item {
	padding: 10px 0;
	margin: 0;
	border-bottom: 1px solid var(--220-tinted-sidebar-border);
}

.twotwenty-hero-profile .twotwenty-contact-item:first-of-type {
	padding-top: 0;
}

.twotwenty-hero-profile .twotwenty-contact-item:last-of-type {
	border-bottom: none;
}

.twotwenty-hero-profile .twotwenty-contact-icon {
	width: 26px;
	height: 26px;
	background: transparent;
	color: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
}

.twotwenty-hero-profile .twotwenty-contact-label {
	font-size: 9px;
	letter-spacing: 0.09em;
	color: var(--220-warm-muted-soft);
}

.twotwenty-hero-profile .twotwenty-contact-val {
	font-size: 12.5px;
	color: var(--220-text-heading);
}

.twotwenty-hero-profile .twotwenty-website-link {
	display: block;
	word-break: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
}

/* Identity block gold gradient bar */
.twotwenty-profile-identity-bar {
	width: 36px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black),
		var(--220-color-accent, #c9972b)
	);
	margin-bottom: 14px;
}

/* Tinted-sidebar: identity card sheds its white card wrapper */
.twotwenty-hero-profile .twotwenty-profile-identity {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0 0 24px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--220-tinted-sidebar-border);
	overflow: visible;
}

.twotwenty-hero-profile .twotwenty-profile-identity::before {
	display: none; /* replaced by .twotwenty-profile-identity-bar */
}

.twotwenty-hero-profile .twotwenty-profile-main {
	padding: 28px 0 0 36px;
}

.twotwenty-hero-profile .twotwenty-profile-name {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin-bottom: 5px;
}

.twotwenty-hero-profile .twotwenty-profile-position {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.twotwenty-hero-profile .twotwenty-profile-company {
	font-size: 13.5px;
	color: var(--220-text-body);
}

.twotwenty-hero-profile .twotwenty-license-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	background: #f5f6f9;
	border: 1px solid var(--220-tinted-sidebar-border);
	color: var(--220-warm-muted-soft);
	margin-bottom: 12px;
	padding: 2px 10px;
	border-radius: 100px;
	font-weight: 500;
}

.twotwenty-hero-profile .twotwenty-license-badge strong {
	color: var(--220-text-body);
	font-weight: 600;
}

.twotwenty-hero-profile .twotwenty-profile-bio-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--220-color-primary, #1a2744);
	margin-bottom: 12px;
}

.twotwenty-hero-profile .twotwenty-profile-bio-content {
	font-size: 14px;
	line-height: 1.82;
	color: var(--220-text-body);
	font-weight: 300;
}

/* Shared chip styling for specialty terms (tinted-sidebar + private-bank variants) */
.twotwenty-profile-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 16px;
}

.twotwenty-profile-chip {
	padding: 4px 13px;
	border-radius: 100px;
	font-size: 11.5px;
	font-weight: 600;
	background: #fdf3e0;
	color: color-mix(in srgb, var(--220-color-accent, #c9972b) 70%, black);
	border: 1px solid color-mix(in srgb, var(--220-color-accent, #c9972b) 20%, transparent);
}

/* Social icons → outlined tiles with navy-fill hover */
.twotwenty-hero-profile .twotwenty-profile-social a,
.twotwenty-hero-profile .twotwenty-social-icon {
	background: #ffffff;
	border: 1px solid var(--220-tinted-sidebar-border);
	border-radius: 6px;
	color: var(--220-text-body);
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.twotwenty-hero-profile .twotwenty-profile-social a:hover,
.twotwenty-hero-profile .twotwenty-social-icon:hover {
	background: var(--220-color-primary, #1a2744);
	color: #ffffff;
	border-color: var(--220-color-primary, #1a2744);
}

/* ==========================================================================
   Staff Single · Prestige / Private / Hero · Responsive Overrides
   --------------------------------------------------------------------------
   Breakpoint adjustments specific to the warm-neutral single layouts above
   (everything that opts into the --220-warm-* shared tokens). Default
   Card Profile + List responsive rules live earlier in the file.
   ========================================================================== */

@media (max-width: 900px) {
	.twotwenty-prestige-body {
		grid-template-columns: 1fr;
	}

	.twotwenty-prestige-contact-strip {
		grid-template-columns: repeat(2, 1fr);
	}

	.twotwenty-prestige-contact-cell {
		border-right: 1px solid #f0f0f4;
		padding-left: 20px !important;
	}

	.twotwenty-prestige-contact-cell:nth-child(2n) {
		border-right: none;
	}

	.twotwenty-private-wrap {
		grid-template-columns: 1fr;
	}

	.twotwenty-private-sidebar {
		border-right: none;
		border-bottom: 1px solid var(--220-warm-border);
	}
}

@media (max-width: 600px) {
	.twotwenty-prestige-wrap {
		padding: 24px 20px 48px;
	}

	.twotwenty-prestige-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.twotwenty-prestige-name {
		font-size: 28px;
	}

	.twotwenty-prestige-contact-strip {
		grid-template-columns: 1fr;
	}

	.twotwenty-prestige-contact-cell,
	.twotwenty-prestige-contact-cell:nth-child(2n) {
		border-right: none;
		border-bottom: 1px solid #f0f0f4;
		padding-left: 0 !important;
		padding-right: 0;
	}

	.twotwenty-prestige-contact-cell:last-child {
		border-bottom: none;
	}

	.twotwenty-private-main {
		padding: 28px 24px;
	}

	.twotwenty-private-name {
		font-size: 34px;
	}
}
