/**
 * TopLawyer — Courtroom Experience Layer
 *
 * Loaded after the Phase 9.5 bundle. Adds the courtroom art direction
 * (walnut & marble, brass-gold, classical serif), the instant-search UI and
 * the motion system. All motion is disabled under prefers-reduced-motion and
 * every element is visible without JavaScript (animations key off html.tl-js).
 *
 * @package TopLawyer
 */

/* ==========================================================================
   0. TOKENS
   ========================================================================== */
:root {
	--court-ink: #070E1C;
	--court-navy: #0A192F;
	--court-navy-2: #10223F;
	--court-walnut: #2A1A10;
	--court-walnut-2: #3E2716;
	--court-gold: #C5A059;
	--court-gold-bright: #E9CD8C;
	--court-gold-deep: #9C7A36;
	--court-parchment: #FAF7F0;
	--court-marble: #F3EEE4;
	--court-line: rgba(197, 160, 89, 0.28);
	--court-gold-gradient: linear-gradient(135deg, #9C7A36 0%, #E9CD8C 45%, #C5A059 60%, #9C7A36 100%);
	--court-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--court-shadow: 0 24px 60px -24px rgba(7, 14, 28, 0.35), 0 8px 20px -12px rgba(7, 14, 28, 0.18);

	--tl-font-heading: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
	--tl-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--tl-font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--tl-color-background: var(--court-parchment);
	--tl-color-secondary-light: #F7F0E1;
}

/* ==========================================================================
   1. BASE TYPOGRAPHY & GLOBAL FIXES
   ========================================================================== */
body.tl-courtroom {
	background-color: var(--court-parchment);
	font-family: var(--tl-font-body);
	color: var(--tl-color-text);
	-webkit-font-smoothing: antialiased;
}

/* :where() keeps specificity at element level so section rules (e.g. white
   headings on dark panels) still win. */
:where(.tl-courtroom) :where(h1, h2, h3) {
	font-family: var(--tl-font-heading);
	font-weight: 600;
	letter-spacing: -0.01em;
}
:where(.tl-courtroom) .tl-section-header h2,
:where(.tl-courtroom) .tl-section-heading h2 { font-size: clamp(2rem, 3.6vw, 3rem) !important; line-height: 1.1; font-weight: 600 !important; }
.tl-courtroom .tl-why-lead h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 600; }

/* Serif numerals: use lining figures so "191" never reads as "I9I". */
.tl-courtroom { font-variant-numeric: lining-nums; }
.tl-counter, .tl-results-number, .tl-step-number, .tl-pagination { font-feature-settings: "lnum" 1, "tnum" 1; }

::selection { background: rgba(197, 160, 89, 0.35); color: var(--court-ink); }

/* Section heading: centred badge (was stretching full width) + gilt ornament */
.tl-section-header {
	align-items: center;
	text-align: center;
}
.tl-section-header .tl-badge,
.tl-section-heading .tl-badge {
	align-self: center;
	width: auto;
	display: inline-flex;
	background: transparent;
	border: 1px solid var(--court-line);
	color: var(--court-gold-deep);
	font-family: var(--tl-font-ui);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
}
.tl-section-header h2 { margin: 6px 0 0; }
.tl-section-header h2::after,
.tl-section-heading h2::after {
	content: "";
	display: block;
	width: 120px;
	height: 12px;
	margin: 18px auto 4px;
	background:
		linear-gradient(90deg, transparent, var(--court-gold) 40%, transparent 40%, transparent 60%, var(--court-gold) 60%, transparent) center / 100% 1px no-repeat,
		linear-gradient(45deg, transparent 42%, var(--court-gold) 42%, var(--court-gold) 58%, transparent 58%) center / 10px 10px no-repeat,
		linear-gradient(-45deg, transparent 42%, var(--court-gold) 42%, var(--court-gold) 58%, transparent 58%) center / 10px 10px no-repeat;
	transform-origin: center;
}
.tl-js .tl-section-header.tl-will-reveal h2::after { transform: scaleX(0); }
.tl-js .tl-section-header.is-revealed h2::after { transform: scaleX(1); transition: transform 1.1s var(--court-ease) 0.25s; }
.tl-section-header p { color: var(--tl-color-muted); font-size: 1.0625rem; }

.tl-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--tl-font-ui);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--court-gold-bright);
	padding: 8px 16px;
	border: 1px solid rgba(233, 205, 140, 0.3);
	border-radius: 999px;
	background: rgba(197, 160, 89, 0.08);
	backdrop-filter: blur(6px);
}
.tl-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--court-gold-bright);
	box-shadow: 0 0 0 0 rgba(233, 205, 140, 0.7);
	animation: tlPulse 2.2s infinite;
}

.tl-gold-text {
	background: linear-gradient(100deg, #B8903F 0%, #F3DDA6 30%, #C5A059 50%, #F3DDA6 70%, #B8903F 100%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	animation: tlGoldShimmer 6s linear infinite;
}

/* ==========================================================================
   2. BUTTONS — brass & navy with a light sweep
   ========================================================================== */
.tl-courtroom .tl-button {
	border-radius: var(--tl-btn-radius, 10px);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	font-family: var(--tl-font-ui);
	font-weight: 600;
	letter-spacing: 0.01em;
	white-space: nowrap;
}
.tl-courtroom .tl-button::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.7s var(--court-ease);
	z-index: -1;
	pointer-events: none;
}
.tl-courtroom .tl-button:hover::after { transform: translateX(120%); }

.tl-courtroom .tl-button-primary {
	background: linear-gradient(180deg, var(--tl-btn-primary-bg-2, var(--court-navy-2)), var(--tl-btn-primary-bg, var(--court-navy)));
	color: var(--tl-btn-primary-text, #fff);
	border: 1px solid rgba(197, 160, 89, 0.45);
}
.tl-courtroom .tl-button-primary:hover { color: var(--court-gold-bright); border-color: var(--court-gold); }

.tl-courtroom .tl-button-secondary {
	background: var(--court-gold-gradient);
	background-size: 180% 100%;
	color: var(--tl-btn-secondary-text, var(--court-ink));
	border: 1px solid var(--court-gold-deep);
	box-shadow: 0 10px 24px -10px rgba(156, 122, 54, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
	transition: background-position 0.6s var(--court-ease), transform 0.2s, box-shadow 0.2s;
}
.tl-courtroom .tl-button-secondary:hover { background-position: 100% 0; color: var(--tl-btn-secondary-text, var(--court-ink)); }

.tl-courtroom .tl-button-outline {
	background: transparent;
	color: var(--court-navy);
	border: 1px solid var(--court-line);
}
.tl-courtroom .tl-button-outline:hover { border-color: var(--court-gold); color: var(--court-gold-deep); background: rgba(197, 160, 89, 0.06); }

.tl-courtroom .tl-button-ghost { background: transparent; color: var(--tl-color-muted); border-color: transparent; }
.tl-courtroom .tl-button-ghost:hover { color: var(--court-navy); background: rgba(10, 25, 47, 0.05); }

/* ==========================================================================
   3. HEADER, PROGRESS BAR, PAGE TRANSITIONS
   ========================================================================== */
.tl-scroll-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	z-index: 10001;
	pointer-events: none;
}
.tl-scroll-progress span {
	display: block;
	height: 100%;
	background: var(--court-gold-gradient);
	transform: scaleX(0);
	transform-origin: 0 50%;
	box-shadow: 0 0 12px rgba(233, 205, 140, 0.8);
}

.tl-courtroom .tl-site-header {
	background: rgba(250, 247, 240, 0.86);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid rgba(197, 160, 89, 0.22);
}
.tl-courtroom .tl-site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 14, 28, 0.45); }
.tl-courtroom .tl-header-inner { transition: height 0.35s var(--court-ease); }
.tl-courtroom .tl-site-header.is-scrolled .tl-header-inner { height: 64px; }

.tl-courtroom .tl-brand-logo-text { font-family: var(--tl-font-heading); font-weight: 700; font-size: clamp(1.55rem, 2.4vw, 1.95rem); letter-spacing: 0; }
.tl-courtroom .tl-brand-lawyer { color: var(--court-gold-deep); font-style: italic; }

.tl-courtroom .tl-primary-navigation ul { gap: clamp(14px, 2vw, 30px); }
.tl-courtroom .tl-primary-navigation a {
	white-space: nowrap;
	font-family: var(--tl-font-ui);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--court-navy);
	position: relative;
	padding: 8px 0;
}
.tl-courtroom .tl-primary-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--court-gold-gradient);
	transform: scaleX(0);
	transition: transform 0.35s var(--court-ease);
}
.tl-courtroom .tl-primary-navigation a:hover::after,
.tl-courtroom .tl-primary-navigation a[aria-current="page"]::after { transform: scaleX(1); }
.tl-courtroom .tl-primary-navigation a[aria-current="page"],
.tl-courtroom .tl-primary-navigation a:hover { color: var(--court-gold-deep); }

.tl-courtroom .tl-header-cta-desktop { padding: 0 20px; height: 42px; font-size: 0.875rem; }
.tl-courtroom .tl-header-search-btn { border-color: var(--court-line); color: var(--court-navy); }

@media (max-width: 1180px) and (min-width: 992px) {
	.tl-courtroom .tl-primary-navigation a { font-size: 0.875rem; }
	.tl-courtroom .tl-header-cta-desktop { padding: 0 14px; }
}

/* Page enter / leave */
.tl-js #tl-primary-content { animation: tlPageIn 0.7s var(--court-ease) both; }
.tl-js:not(.tl-intro-seen) #tl-primary-content { animation-delay: 1.5s; }
#tl-primary-content { transition: opacity 0.25s ease, filter 0.25s ease; }
.tl-leaving #tl-primary-content { opacity: 0.35; filter: blur(2px); }

/* ==========================================================================
   4. COURTROOM INTRO ("All rise")
   ========================================================================== */
.tl-court-intro { display: none; }
.tl-js:not(.tl-intro-seen) .tl-court-intro {
	display: grid;
	place-items: center;
	position: fixed;
	inset: 0;
	z-index: 10000;
	cursor: pointer;
	animation: tlIntroOut 0.01s linear 2.7s forwards;
}
.tl-court-intro-curtain {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50.5%;
	background:
		repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 90px),
		linear-gradient(90deg, #1A0F08, var(--court-walnut-2) 55%, #1A0F08);
	animation: tlCurtainLeft 1.1s cubic-bezier(0.7, 0, 0.2, 1) 1.5s forwards;
}
.tl-court-intro-curtain-left { left: 0; box-shadow: inset -2px 0 0 var(--court-gold); }
.tl-court-intro-curtain-right { right: 0; box-shadow: inset 2px 0 0 var(--court-gold); animation-name: tlCurtainRight; }
.tl-court-intro-seal {
	position: relative;
	z-index: 2;
	display: grid;
	justify-items: center;
	gap: 6px;
	color: var(--court-gold-bright);
	animation: tlSealOut 0.5s ease 1.35s forwards;
}
.tl-court-intro-gavel { width: 110px; height: 110px; overflow: visible; }
.tl-gavel-head { transform-origin: 26px 82px; animation: tlGavelStrike 0.9s cubic-bezier(0.5, 0, 0.3, 1.4) 0.2s both; }
.tl-court-intro-ring {
	position: absolute;
	top: 88px;
	width: 90px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid var(--court-gold-bright);
	opacity: 0;
	animation: tlRing 0.8s ease-out 0.78s;
}
.tl-court-intro-text {
	margin: 10px 0 0;
	font-family: var(--tl-font-ui);
	font-size: 0.8rem;
	letter-spacing: 0.5em;
	text-transform: uppercase;
	color: rgba(233, 205, 140, 0.85);
	animation: tlFadeUp 0.6s var(--court-ease) 0.8s both;
}
.tl-court-intro-brand {
	margin: 0;
	font-family: var(--tl-font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	color: #fff;
	animation: tlFadeUp 0.6s var(--court-ease) 0.95s both;
}
.tl-court-intro-brand span { color: var(--court-gold-bright); font-style: italic; }
.tl-court-intro.is-skipped { opacity: 0; transition: opacity 0.4s ease; }
.tl-intro-playing { overflow: hidden; }

/* ==========================================================================
   5. HOMEPAGE HERO — THE COURTROOM
   ========================================================================== */
.tl-courtroom .tl-court-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(860px, 92vh);
	display: flex;
	align-items: center;
	padding: clamp(5rem, 10vw, 7.5rem) 0 clamp(6rem, 10vw, 8.5rem);
	background: var(--court-ink);
	text-align: left;
}
.tl-courtroom .tl-court-hero::before { display: none; }

.tl-court-scene { position: absolute; inset: -40px; z-index: -1; will-change: transform; }
.tl-court-wall {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 55% at 50% 8%, rgba(233, 205, 140, 0.16), transparent 70%),
		radial-gradient(ellipse 80% 60% at 50% 110%, rgba(62, 39, 22, 0.9), transparent 70%),
		linear-gradient(180deg, #081226 0%, #0B1933 45%, #1A1510 85%, #24170E 100%);
}
.tl-court-colonnade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12%;
	width: 100%;
	height: 72%;
	opacity: 0.85;
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.35) 45%, #000 75%);
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.35) 45%, #000 75%);
}
.tl-pediment { stroke-dasharray: 1400; stroke-dashoffset: 0; }
.tl-js .tl-pediment { animation: tlDraw 2.6s var(--court-ease) 0.3s backwards; }
.tl-js:not(.tl-intro-seen) .tl-pediment { animation-delay: 1.8s; }

.tl-court-beam {
	position: absolute;
	top: -10%;
	width: 36%;
	height: 120%;
	background: linear-gradient(180deg, rgba(233, 205, 140, 0.22), rgba(233, 205, 140, 0.04) 60%, transparent 85%);
	clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
	filter: blur(18px);
	mix-blend-mode: screen;
	transform-origin: 50% 0;
	animation: tlBeamSway 11s ease-in-out infinite alternate;
}
.tl-court-beam-left { left: 8%; transform: rotate(14deg); }
.tl-court-beam-right { right: 6%; transform: rotate(-14deg); animation-delay: -5s; animation-duration: 13s; }

.tl-court-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl-court-floor {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 22%;
	background:
		linear-gradient(180deg, rgba(197, 160, 89, 0.35), transparent 2px),
		repeating-linear-gradient(90deg, rgba(197, 160, 89, 0.07) 0 1px, transparent 1px 120px),
		linear-gradient(180deg, #2A1A10, #120B06);
	transform: perspective(500px) rotateX(38deg);
	transform-origin: 50% 0;
}

.tl-court-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
	grid-template-areas: "content scales" "search scales";
	column-gap: clamp(24px, 5vw, 72px);
	align-items: center;
	width: 100%;
}
.tl-courtroom .tl-court-hero .tl-home-hero-content { grid-area: content; max-width: 760px; margin: 0 0 32px; text-align: left; }
.tl-courtroom .tl-court-hero .tl-home-hero-search { grid-area: search; max-width: 860px; margin: 0; }

.tl-courtroom .tl-hero-title {
	font-family: var(--tl-font-heading);
	font-size: clamp(2.9rem, 6.4vw, 5.6rem);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 22px 0 22px;
}
.tl-hero-line { display: block; }
.tl-hero-line.tl-gold-text { font-style: italic; padding-bottom: 0.08em; }

.tl-courtroom .tl-court-hero .tl-hero-sub {
	color: #C9D2E0;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.65;
	max-width: 620px;
	margin: 0;
}
.tl-rotator {
	display: inline-block;
	color: var(--court-gold-bright);
	font-family: var(--tl-font-heading);
	font-style: italic;
	font-size: 1.2em;
	font-weight: 600;
	border-bottom: 1px solid rgba(233, 205, 140, 0.45);
	transition: opacity 0.4s ease, transform 0.4s var(--court-ease), filter 0.4s ease;
}
.tl-rotator.is-out { opacity: 0; transform: translateY(-8px); filter: blur(4px); }

/* Scales of Justice */
.tl-hero-scales {
	grid-area: scales;
	justify-self: center;
	width: clamp(220px, 26vw, 340px);
	color: var(--court-gold);
	filter: drop-shadow(0 0 30px rgba(233, 205, 140, 0.35));
	transform: translate(var(--tl-par, 0px, 0px));
	transition: transform 0.2s linear;
}
.tl-hero-scales svg { width: 100%; height: auto; overflow: visible; }
.tl-scales-beam { transform-origin: 120px 64px; animation: tlBalance 6s ease-in-out infinite; }
.tl-scales-pan-left { transform-origin: 40px 64px; animation: tlCounter 6s ease-in-out infinite; }
.tl-scales-pan-right { transform-origin: 200px 64px; animation: tlCounter 6s ease-in-out infinite; }
.tl-js .tl-hero-scales svg { animation: tlScalesIn 1.6s var(--court-ease) 0.6s backwards; }
.tl-js:not(.tl-intro-seen) .tl-hero-scales svg { animation-delay: 2.1s; }

/* Hero entrance choreography */
.tl-js .tl-hero-anim { animation: tlRise 1.1s var(--court-ease) backwards; animation-delay: calc(var(--d, 0) * 0.12s + 0.15s); }
.tl-js:not(.tl-intro-seen) .tl-hero-anim { animation-delay: calc(var(--d, 0) * 0.12s + 1.75s); }
.tl-js .tl-hero-line.tl-hero-anim { animation-name: tlLineUp; }
.tl-js .tl-hero-line.tl-gold-text.tl-hero-anim {
	animation: tlLineUp 1.1s var(--court-ease) backwards, tlGoldShimmer 6s linear infinite;
	animation-delay: calc(var(--d, 0) * 0.12s + 0.15s), 0s;
}
.tl-js:not(.tl-intro-seen) .tl-hero-line.tl-gold-text.tl-hero-anim { animation-delay: calc(var(--d, 0) * 0.12s + 1.75s), 0s; }

.tl-scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 26px;
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border: 1.5px solid rgba(233, 205, 140, 0.55);
	border-radius: 14px;
	z-index: 3;
}
.tl-scroll-cue span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 3px;
	height: 8px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--court-gold-bright);
	animation: tlScrollCue 1.8s ease-in-out infinite;
}

@media (max-width: 1023px) {
	.tl-court-hero-inner { grid-template-columns: 1fr; grid-template-areas: "content" "search"; }
	.tl-hero-scales {
		position: absolute;
		right: -40px;
		top: -60px;
		width: 260px;
		opacity: 0.18;
		pointer-events: none;
	}
	.tl-courtroom .tl-court-hero { min-height: 0; }
	.tl-court-beam { width: 70%; }
	.tl-court-beam-right { display: none; }
}
@media (max-width: 640px) {
	.tl-courtroom .tl-court-hero { padding: 4rem 0 5.5rem; }
	.tl-courtroom .tl-hero-title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
	.tl-scroll-cue { display: none; }
	.tl-eyebrow { font-size: 0.64rem; letter-spacing: 0.14em; }
}

/* ==========================================================================
   6. SMART SEARCH & SUGGESTIONS
   ========================================================================== */
.tl-courtroom .tl-search-bar {
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) auto;
	gap: 8px;
	padding: 10px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid rgba(233, 205, 140, 0.55);
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(197, 160, 89, 0.12);
	transition: box-shadow 0.4s var(--court-ease);
}
.tl-courtroom .tl-search-bar:focus-within { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(197, 160, 89, 0.28), 0 0 40px rgba(233, 205, 140, 0.35); }
.tl-courtroom .tl-search-bar .tl-input,
.tl-courtroom .tl-search-bar .tl-select { height: 56px; font-size: 1rem; border-radius: 12px; background-color: #F6F2EA; }
.tl-courtroom .tl-search-bar .tl-button { height: 56px; padding: 0 26px; border-radius: var(--tl-btn-radius, 12px); font-size: 1rem; gap: 10px; }

/* Icon overlap fix: icons were anchored 32px in while text started at 44px */
.tl-courtroom .tl-input-icon { left: 16px; color: var(--court-gold-deep); }
.tl-courtroom .tl-input-has-icon { padding-left: 46px; }
.tl-courtroom input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.tl-gavel-icon svg { width: 20px; height: 20px; transform-origin: 30% 70%; transition: transform 0.35s var(--court-ease); }
.tl-search-submit:hover .tl-gavel-icon svg { animation: tlGavelTap 0.55s ease; }

.tl-omni { position: relative; }
.tl-omni-spinner {
	position: absolute;
	right: 16px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid rgba(197, 160, 89, 0.25);
	border-top-color: var(--court-gold);
	opacity: 0;
	transition: opacity 0.2s;
	pointer-events: none;
}
.tl-omni.is-loading .tl-omni-spinner { opacity: 1; animation: tlSpin 0.7s linear infinite; }

.tl-omni-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	width: max(100%, min(560px, 92vw));
	max-height: min(460px, 60vh);
	overflow-y: auto;
	z-index: 50;
	text-align: left;
	background: #fff;
	border: 1px solid var(--court-line);
	border-radius: 16px;
	box-shadow: var(--court-shadow);
	padding: 8px;
	transform-origin: top left;
	animation: tlPanelIn 0.28s var(--court-ease);
	overscroll-behavior: contain;
}
.tl-omni-group + .tl-omni-group { border-top: 1px solid #EFE9DD; margin-top: 6px; padding-top: 6px; }
.tl-omni-group-title {
	padding: 8px 12px 4px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--court-gold-deep);
}
.tl-omni-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	cursor: pointer;
	color: var(--court-navy);
	animation: tlOptionIn 0.35s var(--court-ease) backwards;
	animation-delay: calc(var(--i, 0) * 25ms);
	transition: background-color 0.15s ease;
}
.tl-omni-option:hover,
.tl-omni-option[aria-selected="true"] { background: #F7F0E1; }
.tl-omni-option[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--court-gold); }
.tl-omni-thumb {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: #F3EEE4;
	color: var(--court-gold-deep);
	border: 1px solid var(--court-line);
}
.tl-omni-thumb svg { width: 18px; height: 18px; }
.tl-omni-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tl-omni-initial { font-family: var(--tl-font-heading); font-weight: 700; font-size: 1.1rem; }
.tl-omni-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tl-omni-label { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-omni-label mark { background: rgba(233, 205, 140, 0.55); color: inherit; border-radius: 3px; padding: 0 1px; }
.tl-omni-meta { font-size: 0.8rem; color: var(--tl-color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-omni-verified { color: var(--tl-color-success); display: inline-flex; }
.tl-omni-verified svg { width: 18px; height: 18px; }
.tl-omni-go { color: var(--court-gold-deep); opacity: 0; transform: translateX(-6px); transition: all 0.2s var(--court-ease); }
.tl-omni-option:hover .tl-omni-go,
.tl-omni-option[aria-selected="true"] .tl-omni-go { opacity: 1; transform: none; }
.tl-omni-all { border-top: 1px dashed #E6DDCB; margin-top: 6px; border-radius: 0 0 10px 10px; }
.tl-omni-empty { padding: 14px 12px; color: var(--tl-color-muted); font-size: 0.9rem; }

.tl-popular-matters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.tl-popular-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(233, 205, 140, 0.9); margin-right: 4px; }
.tl-popular-chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #E8ECF3;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(233, 205, 140, 0.25);
	transition: all 0.25s var(--court-ease);
}
.tl-popular-chip:hover { color: var(--court-ink); background: var(--court-gold-bright); border-color: var(--court-gold-bright); transform: translateY(-2px); }

@media (max-width: 768px) {
	.tl-courtroom .tl-search-bar { grid-template-columns: 1fr; }
	.tl-omni-panel { width: 100%; }
}

/* ==========================================================================
   7. EVIDENCE STRIP (counters)
   ========================================================================== */
.tl-courtroom .tl-evidence-strip {
	position: relative;
	z-index: 5;
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin-top: -64px;
}
.tl-courtroom .tl-evidence-strip .tl-trust-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	background: linear-gradient(180deg, #fff, var(--court-parchment));
	border: 1px solid var(--court-line);
	border-radius: 20px;
	box-shadow: var(--court-shadow);
	overflow: hidden;
}
.tl-courtroom .tl-evidence-strip .tl-trust-item {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 4px;
	padding: 28px 16px;
	position: relative;
}
.tl-courtroom .tl-evidence-strip .tl-trust-item + .tl-trust-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22%;
	bottom: 22%;
	width: 1px;
	background: linear-gradient(180deg, transparent, var(--court-gold), transparent);
}
.tl-courtroom .tl-evidence-strip .tl-counter {
	font-family: var(--tl-font-heading);
	font-size: clamp(2.2rem, 4vw, 3.1rem);
	font-weight: 700;
	line-height: 1;
	color: var(--court-navy);
	font-variant-numeric: tabular-nums;
}
.tl-courtroom .tl-evidence-strip .tl-trust-item span { font-size: 0.85rem; color: var(--tl-color-muted); letter-spacing: 0.02em; }
@media (max-width: 768px) {
	.tl-courtroom .tl-evidence-strip { margin-top: -44px; }
	.tl-courtroom .tl-evidence-strip .tl-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tl-courtroom .tl-evidence-strip .tl-trust-item:nth-child(3)::before { display: none; }
	.tl-courtroom .tl-evidence-strip .tl-trust-item:nth-child(n+3) { border-top: 1px solid #EFE7D6; }
}

/* ==========================================================================
   8. SECTIONS & CARDS
   ========================================================================== */
.tl-courtroom .tl-practice-areas-section,
.tl-courtroom .tl-locations-section { background: #fff !important; }
.tl-courtroom .tl-featured-section,
.tl-courtroom .tl-how-it-works-section { background: var(--court-parchment) !important; }

/* Practice cards — marble plaques */
.tl-courtroom .tl-practice-card {
	position: relative;
	overflow: hidden;
	border: 1px solid #EDE5D3;
	border-radius: 18px;
	background: linear-gradient(160deg, #fff 0%, #FBF8F1 100%);
	transform: perspective(900px) rotateX(var(--tl-rx, 0)) rotateY(var(--tl-ry, 0));
	transition: transform 0.35s var(--court-ease), box-shadow 0.35s var(--court-ease), border-color 0.35s;
}
.tl-courtroom .tl-practice-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--court-gold-gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--court-ease);
}
.tl-courtroom .tl-practice-card::after {
	content: "§";
	position: absolute;
	right: 18px;
	bottom: -18px;
	font-family: var(--tl-font-heading);
	font-size: 7rem;
	line-height: 1;
	color: rgba(197, 160, 89, 0.08);
	transition: transform 0.6s var(--court-ease), color 0.3s;
	pointer-events: none;
}
.tl-courtroom .tl-practice-card:hover { border-color: var(--court-line); box-shadow: var(--court-shadow); }
.tl-courtroom .tl-practice-card:hover::before { transform: scaleX(1); }
.tl-courtroom .tl-practice-card:hover::after { transform: translateY(-10px) rotate(-8deg); color: rgba(197, 160, 89, 0.18); }
.tl-courtroom .tl-practice-card-title { font-size: 1.45rem; font-weight: 600; color: var(--court-navy); }
.tl-courtroom .tl-practice-card-bottom { font-weight: 600; color: var(--court-gold-deep); }
.tl-courtroom .tl-practice-card-arrow { transition: transform 0.3s var(--court-ease); }
.tl-courtroom .tl-practice-card:hover .tl-practice-card-arrow { transform: translateX(6px); }

/* Lawyer cards — counsel portraits in gilt frames */
.tl-courtroom .tl-lawyer-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid #EDE5D3;
	border-radius: 18px;
	background: #fff;
	transform: perspective(1000px) rotateX(var(--tl-rx, 0)) rotateY(var(--tl-ry, 0));
	transition: transform 0.35s var(--court-ease), box-shadow 0.35s var(--court-ease), border-color 0.35s;
}
.tl-courtroom .tl-lawyer-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--tl-mx, 50%) var(--tl-my, 0%), rgba(233, 205, 140, 0.18), transparent 45%);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.tl-courtroom .tl-lawyer-card:hover { border-color: var(--court-line); box-shadow: var(--court-shadow); }
.tl-courtroom .tl-lawyer-card.is-tilting::after { opacity: 1; }
.tl-courtroom .tl-lawyer-card.is-tilting,
.tl-courtroom .tl-practice-card.is-tilting { transition: transform 0.12s linear, box-shadow 0.35s, border-color 0.35s; }

.tl-courtroom .tl-card-media-wrapper { position: relative; overflow: hidden; }
.tl-courtroom .tl-card-media-wrapper::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(233, 205, 140, 0);
	border-radius: 10px;
	transition: border-color 0.4s, inset 0.4s var(--court-ease);
	pointer-events: none;
}
.tl-courtroom .tl-lawyer-card:hover .tl-card-media-wrapper::after { border-color: rgba(233, 205, 140, 0.8); inset: 14px; }
.tl-courtroom .tl-card-media-img { transition: transform 0.9s var(--court-ease), filter 0.5s; filter: saturate(0.92); }
.tl-courtroom .tl-lawyer-card:hover .tl-card-media-img { transform: scale(1.06); filter: saturate(1.05); }
.tl-courtroom .tl-card-media-fallback { background: linear-gradient(135deg, var(--court-navy), #1A2A48 60%, var(--court-walnut-2)); }
.tl-courtroom .tl-card-media-fallback-initials { font-family: var(--tl-font-heading); color: var(--court-gold-bright); }

/* Card header was inheriting the dashboard's flex row — stack it */
.tl-courtroom .tl-lawyer-card .tl-card-header { display: block; padding: 0; border: 0; margin-bottom: 14px; }
.tl-courtroom .tl-lawyer-card .tl-card-content { display: flex; flex-direction: column; flex: 1; }
.tl-courtroom .tl-lawyer-card .tl-card-title { font-size: 1.4rem; font-weight: 700; line-height: 1.2; margin: 0 0 6px; }
.tl-courtroom .tl-lawyer-card .tl-card-title a { color: var(--court-navy); text-decoration: none; background: linear-gradient(var(--court-gold), var(--court-gold)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--court-ease); }
.tl-courtroom .tl-lawyer-card .tl-card-title a:hover { background-size: 100% 1px; }
.tl-courtroom .tl-card-type-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--court-gold-deep); }
.tl-courtroom .tl-lawyer-card .tl-card-actions { margin-top: auto; display: flex; gap: 8px; }
.tl-courtroom .tl-lawyer-card .tl-card-actions .tl-button-primary { flex: 1; height: 46px; }
.tl-courtroom .tl-lawyer-card .tl-card-actions .tl-button-icon { width: 46px; height: 46px; flex: 0 0 46px; }
.tl-courtroom .tl-tag { background: #F7F0E1; color: #6B5327; border: 1px solid #EFE2C4; }

/* Steps — the procedure of the court */
.tl-courtroom .tl-steps-grid { position: relative; }
.tl-courtroom .tl-steps-grid::before {
	content: "";
	position: absolute;
	left: 16%;
	right: 16%;
	top: 64px;
	height: 1px;
	background: repeating-linear-gradient(90deg, var(--court-gold) 0 8px, transparent 8px 16px);
	opacity: 0.6;
}
.tl-courtroom .tl-step-card { border-radius: 18px; border-color: #EDE5D3; text-align: center; background: #fff; transition: transform 0.35s var(--court-ease), box-shadow 0.35s; }
.tl-courtroom .tl-step-card:hover { transform: translateY(-6px); box-shadow: var(--court-shadow); }
.tl-courtroom .tl-step-number {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-family: var(--tl-font-heading);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--court-ink);
	background: var(--court-gold-gradient);
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--court-line), 0 12px 24px -10px rgba(156, 122, 54, 0.8);
	position: relative;
}
@media (max-width: 768px) { .tl-courtroom .tl-steps-grid::before { display: none; } }

.tl-courtroom .tl-location-card { border-radius: 16px; border-color: #EDE5D3; transition: transform 0.3s var(--court-ease), box-shadow 0.3s, border-color 0.3s; }
.tl-courtroom .tl-location-card:hover { transform: translateY(-4px); border-color: var(--court-line); box-shadow: var(--court-shadow); }
.tl-courtroom .tl-location-card-info strong { display: block; font-family: var(--tl-font-heading); font-size: 1.4rem; font-weight: 700; line-height: 1.15; color: var(--court-navy); margin: 0 0 4px; }
.tl-courtroom .tl-location-card-info span { display: block; font-size: 0.8rem; color: var(--tl-color-muted); }
.tl-courtroom .tl-location-card-icon { background: #F7F0E1; color: var(--court-gold-deep); border-radius: 50%; }

/* Guide cards */
.tl-courtroom .tl-editorial-card { position: relative; border-radius: 18px; border: 1px solid #EDE5D3; overflow: hidden; background: #fff; transition: transform 0.35s var(--court-ease), box-shadow 0.35s; }
.tl-courtroom .tl-editorial-card:hover { transform: translateY(-6px); box-shadow: var(--court-shadow); }
.tl-courtroom .tl-editorial-card-media img { transition: transform 0.9s var(--court-ease); }
.tl-courtroom .tl-editorial-card:hover .tl-editorial-card-media img { transform: scale(1.05); }
.tl-courtroom .tl-editorial-card-title { font-size: 1.4rem; line-height: 1.2; }
.tl-courtroom .tl-editorial-card-title a { color: var(--court-navy); }

/* Closing CTA — the verdict */
.tl-courtroom .tl-cta-box {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(233, 205, 140, 0.18), transparent 60%),
		repeating-linear-gradient(90deg, rgba(197, 160, 89, 0.05) 0 1px, transparent 1px 90px),
		linear-gradient(160deg, var(--court-ink), var(--court-navy) 60%, #1B130C) !important;
	border: 1px solid rgba(233, 205, 140, 0.35) !important;
	border-radius: 24px !important;
}
.tl-courtroom .tl-cta-title { font-family: var(--tl-font-heading); font-size: clamp(2.2rem, 4.5vw, 3.4rem) !important; }
.tl-courtroom .tl-cta-box .tl-button-primary { background: var(--court-gold-gradient); color: var(--tl-btn-secondary-text, var(--court-ink)); border-color: var(--court-gold-deep); }

/* Footer — the bench */
.tl-courtroom .tl-site-footer {
	background:
		radial-gradient(ellipse at 50% -20%, rgba(197, 160, 89, 0.14), transparent 55%),
		linear-gradient(180deg, var(--tl-footer-bg, var(--court-navy)), var(--court-ink));
	border-top: 3px solid transparent;
	border-image: var(--court-gold-gradient) 1;
}
.tl-courtroom .tl-footer-brand-title { font-family: var(--tl-font-heading); font-size: 2rem; color: #fff; }
.tl-courtroom .tl-footer-col h4 { color: var(--court-gold-bright); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; }
.tl-courtroom .tl-footer-col a { transition: color 0.2s, padding-left 0.3s var(--court-ease); }
.tl-courtroom .tl-footer-col a:hover { color: var(--court-gold-bright); padding-left: 4px; }

/* ==========================================================================
   9. DIRECTORY (/lawyers/) — LIVE RESULTS
   ========================================================================== */
.tl-courtroom .tl-archive-hero {
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(ellipse 50% 70% at 80% 0%, rgba(233, 205, 140, 0.16), transparent 70%),
		linear-gradient(180deg, #081226, #0E1D38 70%, #1A1510);
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(5rem, 8vw, 6.5rem);
}
.tl-court-pillars {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.55;
	background:
		linear-gradient(180deg, transparent 0 18%, rgba(197, 160, 89, 0.25) 18% calc(18% + 1px), transparent calc(18% + 1px)),
		repeating-linear-gradient(90deg, transparent 0 7%, rgba(233, 205, 140, 0.07) 7% 10%, transparent 10% 16.66%);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, #000);
	mask-image: linear-gradient(90deg, transparent, #000 50%, #000);
}
.tl-courtroom .tl-archive-hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4rem); margin: 18px 0 12px; }
.tl-courtroom .tl-archive-hero p { color: #C9D2E0; }
.tl-js .tl-archive-hero-content > * { animation: tlRise 0.9s var(--court-ease) backwards; }
.tl-js .tl-archive-hero-content > :nth-child(2) { animation-delay: 0.1s; }
.tl-js .tl-archive-hero-content > :nth-child(3) { animation-delay: 0.2s; }

.tl-courtroom.post-type-archive-lawyers .tl-archive-results-section { position: relative; z-index: 4; margin-top: -64px; padding-top: 0; padding-bottom: var(--tl-space-7); }

.tl-courtroom .tl-horizontal-filter-bar {
	position: sticky;
	top: 72px;
	z-index: 40;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--court-line);
	border-radius: 18px;
	box-shadow: var(--court-shadow);
	padding: 14px;
}
.admin-bar.tl-courtroom .tl-horizontal-filter-bar { top: 104px; }
.tl-courtroom .tl-horizontal-filter-form { gap: 10px; flex-wrap: nowrap; }
.tl-courtroom .tl-horizontal-filter-form .tl-filter-field { min-width: 0; }
.tl-courtroom .tl-filter-field .tl-select,
.tl-courtroom .tl-filter-field .tl-input { height: 48px; border-radius: 12px; background-color: #FBF8F1; border-color: #EDE5D3; }
.tl-courtroom .tl-filter-actions .tl-button { height: 48px; border-radius: 12px; gap: 8px; }
.tl-courtroom .tl-filter-actions .tl-button svg { width: 16px; height: 16px; }
.tl-js .tl-filter-submit { display: none; }
@media (max-width: 1180px) {
	.tl-courtroom .tl-horizontal-filter-form { flex-wrap: wrap; }
}

/* Verified toggle switch */
.tl-verified-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; flex-shrink: 0; font-weight: 600; font-size: 0.9rem; color: var(--court-navy); padding: 0 6px; }
.tl-verified-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tl-toggle-track { position: relative; width: 44px; height: 24px; border-radius: 999px; background: #E6DFD0; transition: background 0.3s; }
.tl-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: transform 0.35s var(--tl-ease-spring); }
.tl-verified-toggle input:checked + .tl-toggle-track { background: var(--court-gold-gradient); }
.tl-verified-toggle input:checked + .tl-toggle-track .tl-toggle-thumb { transform: translateX(20px); }
.tl-verified-toggle input:focus-visible + .tl-toggle-track { outline: 2px solid var(--court-gold); outline-offset: 2px; }

/* Toolbar */
.tl-courtroom .tl-filter-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 28px 0 18px; border-bottom: 1px solid #EDE5D3; }
.tl-courtroom .tl-results-count { display: flex; align-items: baseline; gap: 10px; font-size: 1rem; color: var(--tl-color-muted); }
.tl-results-number { font-family: var(--tl-font-heading); font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 700; line-height: 1; color: var(--court-navy); font-variant-numeric: tabular-nums; }
.tl-filter-controls-group { display: flex; align-items: center; gap: 10px; }
.tl-sort-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tl-color-muted); }
.tl-select-compact { height: 42px !important; width: auto !important; min-width: 190px; font-size: 0.9rem !important; border-radius: 10px !important; }

.tl-courtroom .tl-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0 0; }
.tl-active-filters-label { font-size: 0.8125rem; color: var(--tl-color-muted); font-weight: 600; }
.tl-courtroom .tl-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px 6px 14px;
	border-radius: 999px;
	background: var(--court-navy);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	animation: tlChipIn 0.35s var(--tl-ease-spring) backwards;
}
.tl-courtroom .tl-filter-chip-remove { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; transition: background 0.2s, transform 0.2s; }
.tl-courtroom .tl-filter-chip-remove:hover { background: var(--court-gold); color: var(--court-ink); transform: rotate(90deg); }
.tl-courtroom .tl-filter-chip-remove svg { width: 12px; height: 12px; }
.tl-courtroom .tl-clear-all-link { font-size: 0.85rem; font-weight: 600; color: var(--court-gold-deep); margin-left: 4px; }

.tl-directory-results-container { margin-top: 28px; }

/* Loading state: dim, gilt progress line and shimmer over cards */
.tl-directory-live { position: relative; min-height: 320px; }
.tl-directory-live::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--court-gold-gradient);
	background-size: 200% 100%;
	transform: scaleX(0);
	transform-origin: left;
	opacity: 0;
	z-index: 3;
}
.tl-directory-live.is-loading::before { opacity: 1; animation: tlLoadBar 1.2s var(--court-ease) infinite; }
.tl-directory-live.is-loading .tl-lawyers-grid,
.tl-directory-live.is-loading .tl-empty-verdict { opacity: 0.4; filter: grayscale(0.4); pointer-events: none; transition: opacity 0.25s, filter 0.25s; }
.tl-directory-live.is-loading .tl-lawyer-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 5;
	border-radius: inherit;
	background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%);
	background-size: 200% 100%;
	animation: tlShimmer 1.1s linear infinite;
}
.tl-directory-live.is-swapped .tl-stagger-grid > * { animation: tlRise 0.7s var(--court-ease) backwards; }
.tl-directory-live.is-swapped .tl-stagger-grid > :nth-child(2) { animation-delay: 0.05s; }
.tl-directory-live.is-swapped .tl-stagger-grid > :nth-child(3) { animation-delay: 0.1s; }
.tl-directory-live.is-swapped .tl-stagger-grid > :nth-child(4) { animation-delay: 0.15s; }
.tl-directory-live.is-swapped .tl-stagger-grid > :nth-child(5) { animation-delay: 0.2s; }
.tl-directory-live.is-swapped .tl-stagger-grid > :nth-child(6) { animation-delay: 0.25s; }
.tl-directory-live.is-swapped .tl-stagger-grid > :nth-child(n+7) { animation-delay: 0.3s; }

/* Pagination */
.tl-courtroom .tl-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.tl-courtroom .tl-pagination .page-numbers {
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	display: inline-grid;
	place-items: center;
	border-radius: 12px;
	border: 1px solid #EDE5D3;
	background: #fff;
	color: var(--court-navy);
	font-weight: 600;
	text-decoration: none;
	transition: all 0.25s var(--court-ease);
}
.tl-courtroom .tl-pagination a.page-numbers:hover { border-color: var(--court-gold); color: var(--court-gold-deep); transform: translateY(-2px); }
.tl-courtroom .tl-pagination .page-numbers.current { background: var(--court-navy); color: var(--court-gold-bright); border-color: var(--court-navy); }

/* Empty state */
.tl-empty-verdict { text-align: center; padding: 64px 24px; background: #fff; border: 1px dashed var(--court-line); border-radius: 20px; }
.tl-empty-verdict-icon { width: 76px; height: 76px; margin: 0 auto 16px; color: var(--court-gold); animation: tlBalance 4s ease-in-out infinite; }
.tl-empty-verdict h3 { font-size: 1.8rem; margin-bottom: 8px; }
.tl-empty-verdict p { color: var(--tl-color-muted); max-width: 460px; margin: 0 auto 22px; }

/* Toast */
.tl-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 10002;
	transform: translateX(-50%);
	padding: 14px 20px;
	border-radius: 12px;
	background: var(--court-navy);
	color: #fff;
	border: 1px solid var(--court-gold);
	box-shadow: var(--court-shadow);
	animation: tlToastIn 0.4s var(--court-ease);
}
.tl-toast.is-leaving { opacity: 0; transform: translate(-50%, 10px); transition: all 0.4s; }

/* Mobile directory */
@media (max-width: 991px) {
	.tl-courtroom.post-type-archive-lawyers .tl-archive-results-section { margin-top: -40px; }
	.tl-courtroom .tl-mobile-filter-trigger { background: #fff; box-shadow: var(--court-shadow); border-color: var(--court-line); }
	.tl-courtroom .tl-filter-toolbar { flex-wrap: wrap; align-items: center; }
}

/* ==========================================================================
   10. SCROLL REVEAL (only armed when JS runs)
   ========================================================================== */
.tl-js .tl-will-reveal { opacity: 0; }
.tl-js .tl-will-reveal.is-revealed {
	opacity: 1;
	animation: tlRise 0.95s var(--court-ease) backwards;
	animation-delay: calc(var(--tl-stagger, 0) * 90ms);
}

/* ==========================================================================
   11. KEYFRAMES
   ========================================================================== */
@keyframes tlRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes tlLineUp { from { opacity: 0; transform: translateY(0.45em) skewY(3deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tlFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes tlPageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tlPulse { 0% { box-shadow: 0 0 0 0 rgba(233, 205, 140, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(233, 205, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 205, 140, 0); } }
@keyframes tlGoldShimmer { to { background-position: -250% 0; } }
@keyframes tlBeamSway { from { transform: rotate(10deg); opacity: 0.75; } to { transform: rotate(18deg); opacity: 1; } }
@keyframes tlBalance { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes tlCounter { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
@keyframes tlScalesIn { from { opacity: 0; transform: translateY(40px) scale(0.9); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tlDraw { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
@keyframes tlScrollCue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes tlGavelStrike { 0% { transform: rotate(-50deg); opacity: 0; } 35% { transform: rotate(-58deg); opacity: 1; } 70% { transform: rotate(6deg); } 85% { transform: rotate(-3deg); } 100% { transform: rotate(0); opacity: 1; } }
@keyframes tlGavelTap { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-28deg); } 70% { transform: rotate(6deg); } }
@keyframes tlRing { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(2.2); } }
@keyframes tlCurtainLeft { to { transform: translateX(-101%); } }
@keyframes tlCurtainRight { to { transform: translateX(101%); } }
@keyframes tlSealOut { to { opacity: 0; transform: scale(1.08); } }
@keyframes tlIntroOut { to { visibility: hidden; pointer-events: none; } }
@keyframes tlPanelIn { from { opacity: 0; transform: translateY(-6px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes tlOptionIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes tlSpin { to { transform: rotate(360deg); } }
@keyframes tlChipIn { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes tlLoadBar { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes tlShimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes tlToastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translateX(-50%); } }

/* ==========================================================================
   12. REDUCED MOTION — everything static and visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.tl-court-intro { display: none !important; }
	.tl-js .tl-will-reveal { opacity: 1 !important; }
	.tl-court-beam, .tl-scales-beam, .tl-scales-pan-left, .tl-scales-pan-right, .tl-live-dot, .tl-gold-text, .tl-scroll-cue span, .tl-empty-verdict-icon { animation: none !important; }
	.tl-courtroom .tl-lawyer-card, .tl-courtroom .tl-practice-card { transform: none !important; }
	.tl-courtroom .tl-button::after { display: none; }
}

/* Footer brand + FAQ legibility */
.tl-courtroom .tl-footer-col h4.tl-footer-brand-title { font-family: var(--tl-font-heading); font-size: 2rem; letter-spacing: 0; text-transform: none; color: #fff; }
.tl-courtroom .tl-home-faq .tl-accordion-trigger,
.tl-courtroom .tl-home-faq .tl-accordion-trigger * { font-size: 1.2rem; }
.tl-courtroom .tl-accordion-item { border-radius: 14px; transition: border-color 0.3s, box-shadow 0.3s; }
.tl-courtroom .tl-accordion-item.is-open { border-color: var(--court-line); box-shadow: 0 16px 40px -24px rgba(7, 14, 28, 0.35); }

/* Card overlay badges: brass on smoked glass instead of default blue */
.tl-courtroom .tl-card-badges-overlay .tl-badge {
	background: rgba(7, 14, 28, 0.72);
	color: var(--court-gold-bright);
	border: 1px solid rgba(233, 205, 140, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-weight: 600;
	letter-spacing: 0.04em;
}
.tl-courtroom .tl-card-badges-overlay .tl-badge-verified { background: rgba(5, 150, 105, 0.88); color: #fff; border-color: rgba(255, 255, 255, 0.3); }

/* ==========================================================================
   13. LAWYER PROFILE — counsel's chambers
   ========================================================================== */
.tl-courtroom .tl-profile-hero { border-color: #EDE5D3; border-radius: 22px; overflow: hidden; box-shadow: var(--court-shadow); }
.tl-courtroom .tl-profile-hero-banner {
	position: relative;
	background:
		radial-gradient(ellipse 40% 90% at 78% 0%, rgba(233, 205, 140, 0.28), transparent 70%),
		repeating-linear-gradient(90deg, transparent 0 6%, rgba(233, 205, 140, 0.08) 6% 8.5%, transparent 8.5% 14%),
		linear-gradient(180deg, #081226, #0E1D38 70%, #24170E) !important;
	overflow: hidden;
}
.tl-courtroom .tl-profile-hero-banner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--court-gold-gradient);
}
.tl-courtroom .tl-profile-avatar,
.tl-courtroom .tl-profile-avatar-fallback {
	box-shadow: 0 0 0 3px var(--court-gold), 0 0 0 7px rgba(255, 255, 255, 0.9), 0 22px 44px -18px rgba(7, 14, 28, 0.65) !important;
}
.tl-js .tl-courtroom .tl-profile-avatar-container,
.tl-js .tl-profile-avatar-container { animation: tlScalesIn 1s var(--court-ease) 0.1s backwards; }
.tl-courtroom .tl-profile-name { font-size: clamp(2.2rem, 4vw, 3.3rem) !important; font-weight: 700 !important; line-height: 1.05; }
.tl-js .tl-profile-identity > * { animation: tlRise 0.9s var(--court-ease) backwards; }
.tl-js .tl-profile-identity > :nth-child(2) { animation-delay: 0.08s; }
.tl-js .tl-profile-identity > :nth-child(3) { animation-delay: 0.16s; }
.tl-js .tl-profile-actions-row { animation: tlRise 0.9s var(--court-ease) 0.24s backwards; }

/* Brass badges instead of default blue, site-wide */
.tl-courtroom .tl-badge-firm,
.tl-courtroom .tl-badge-advocate {
	background: #F7F0E1;
	color: #6B5327;
	border-color: #EFE2C4;
}
.tl-courtroom .tl-profile-card,
.tl-courtroom .tl-profile-section { border-color: #EDE5D3; border-radius: 18px; }

/* Mobile safety: footer legal row wraps; stray decorative overflow is clipped
   (overflow-x: clip keeps position: sticky working, unlike hidden). */
body.tl-courtroom { overflow-x: clip; }
@media (max-width: 640px) {
	.tl-courtroom .tl-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
	.tl-courtroom .tl-footer-legal-links { flex-wrap: wrap; row-gap: 8px; }
}

/* Mobile directory: keep the live keyword search (with suggestions) visible;
   the remaining filters stay in the slide-over drawer. */
@media (max-width: 991px) {
	.tl-courtroom .tl-horizontal-filter-bar {
		display: block;
		position: relative;
		top: auto;
		padding: 10px;
		margin-bottom: 14px;
	}
	.tl-courtroom .tl-horizontal-filter-form > :not(.tl-filter-keyword):not(.tl-filter-actions) { display: none; }
	.tl-courtroom .tl-horizontal-filter-form .tl-filter-actions .tl-filter-reset { display: none; }
	.tl-courtroom .tl-horizontal-filter-form .tl-filter-keyword { flex: 1 1 100%; }
	.tl-courtroom .tl-mobile-filter-trigger-wrapper { margin-bottom: 4px; }
	.tl-courtroom .tl-mobile-filter-trigger { width: 100%; justify-content: center; }
}

/* ==========================================================================
   14. SETTINGS-DRIVEN BITS (logo image, calm mode, honeypot)
   ========================================================================== */
.tl-brand-link-image { display: inline-flex; align-items: center; }
.tl-brand-logo-img { height: var(--tl-logo-height, 44px); width: auto; max-width: 240px; object-fit: contain; display: block; }
.tl-site-header.is-scrolled .tl-brand-logo-img { height: calc(var(--tl-logo-height, 44px) * 0.85); transition: height 0.3s var(--court-ease); }
.tl-footer-logo .tl-brand-logo-img { height: calc(var(--tl-logo-height, 44px) * 1.1); max-width: 260px; }
.tl-footer-logo .tl-brand-logo-text { color: #fff; font-size: 2rem; }
.tl-footer-logo .tl-brand-lawyer { color: var(--court-gold-bright); }
.tl-calm .tl-court-beam,
.tl-calm .tl-scales-beam,
.tl-calm .tl-scales-pan-left,
.tl-calm .tl-scales-pan-right,
.tl-calm .tl-gold-text { animation: none !important; }
.tl-calm .tl-court-dust { display: none; }
.tl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   15. HEADER DROPDOWNS & MOBILE GROUPS
   ========================================================================== */
.tl-courtroom .tl-primary-navigation ul#tl-primary-menu { align-items: center; }
.tl-has-dropdown { position: relative; }
.tl-nav-trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 0;
	border: 0;
	background: none;
	cursor: pointer;
	font: 500 0.9375rem/1 var(--tl-font-ui);
	color: var(--court-navy);
	white-space: nowrap;
	position: relative;
}
.tl-nav-trigger svg { width: 16px; height: 16px; transition: transform 0.3s var(--court-ease); }
.tl-nav-trigger::after {
	content: "";
	position: absolute;
	left: 0;
	right: 20px;
	bottom: 0;
	height: 2px;
	background: var(--court-gold-gradient);
	transform: scaleX(0);
	transition: transform 0.35s var(--court-ease);
}
.tl-has-dropdown.is-open .tl-nav-trigger,
.tl-nav-trigger:hover,
.tl-nav-trigger[data-current] { color: var(--court-gold-deep); }
.tl-has-dropdown.is-open .tl-nav-trigger::after,
.tl-nav-trigger[data-current]::after { transform: scaleX(1); }
.tl-has-dropdown.is-open .tl-nav-trigger svg { transform: rotate(180deg); }

.tl-dropdown {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	width: min(620px, 80vw);
	padding: 18px;
	background: #fff;
	border: 1px solid var(--court-line);
	border-radius: 16px;
	box-shadow: var(--court-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity 0.22s ease, transform 0.3s var(--court-ease), visibility 0.22s;
	z-index: 60;
}
.tl-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.tl-dropdown-narrow { width: min(400px, 80vw); }
.tl-has-dropdown.is-open .tl-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tl-dropdown-title { margin: 0 0 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--court-gold-deep); }
.tl-courtroom .tl-dropdown-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px !important; margin: 0; padding: 0; list-style: none; }
.tl-courtroom .tl-dropdown-grid a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px !important;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--court-navy);
	white-space: normal;
}
.tl-courtroom .tl-dropdown-grid a::after { display: none; }
.tl-courtroom .tl-dropdown-grid a small { font-weight: 400; font-size: 0.75rem; color: var(--tl-color-muted); }
.tl-courtroom .tl-dropdown-grid a:hover { background: #F7F0E1; color: var(--court-navy); }
.tl-courtroom a.tl-dropdown-all { display: inline-block; margin-top: 10px; padding: 8px 12px !important; font-size: 0.85rem; font-weight: 600; color: var(--court-gold-deep); }
.tl-courtroom a.tl-dropdown-all::after { display: none; }

.tl-mobile-group details { border-bottom: 1px solid #EFE7D6; }
.tl-mobile-group summary {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--tl-space-3) var(--tl-space-2);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body);
	font-weight: 600;
	color: var(--court-navy);
	cursor: pointer;
}
.tl-mobile-group summary::-webkit-details-marker { display: none; }
.tl-mobile-group summary::after { content: "+"; font-size: 1.3rem; color: var(--court-gold-deep); transition: transform 0.3s; }
.tl-mobile-group details[open] summary::after { transform: rotate(45deg); }
.tl-mobile-group ul { list-style: none; margin: 0 0 10px var(--tl-space-2); padding: 0 0 0 12px; border-left: 2px solid var(--court-line); }
.tl-courtroom .tl-mobile-group ul a { display: block; padding: 8px 0; font-size: 0.95rem; font-weight: 500; color: var(--tl-color-text-secondary); }

@media (max-width: 1240px) and (min-width: 992px) {
	.tl-courtroom .tl-primary-navigation ul#tl-primary-menu { gap: 16px; }
	.tl-courtroom .tl-primary-navigation a, .tl-nav-trigger { font-size: 0.85rem; }
	.tl-courtroom .tl-header-cta-desktop { font-size: 0.8rem; padding: 0 12px; }
}

/* ==========================================================================
   16. FOOTER ADDITIONS
   ========================================================================== */
.tl-footer-logo { margin-bottom: 14px; }
.tl-footer-contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.tl-footer-contact li { display: flex; align-items: center; gap: 10px; }
.tl-footer-contact svg { width: 16px; height: 16px; color: var(--court-gold); flex: 0 0 16px; }
.tl-footer-contact a { color: #CBD5E1; }
.tl-footer-contact a:hover { color: var(--court-gold-bright); }
.tl-footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; }
.tl-footer-social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(233, 205, 140, 0.3);
	color: #E8ECF3;
	transition: all 0.25s var(--court-ease);
}
.tl-footer-social a:hover { background: var(--court-gold-gradient); color: var(--court-ink); transform: translateY(-3px); border-color: transparent; }
.tl-footer-social svg { width: 17px; height: 17px; }
.tl-courtroom .tl-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tl-footer-credit { margin: 0; color: #94A3B8; font-size: 0.875rem; }
.tl-footer-credit a { color: var(--court-gold-bright); font-weight: 600; }
.tl-footer-credit-sub { color: #64748B; }

/* ==========================================================================
   17. LEGAL PAGES
   ========================================================================== */
.tl-legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; font-size: 0.875rem !important; color: rgba(233, 205, 140, 0.9) !important; }
.tl-legal-body {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	padding-block: 48px 80px;
}
.tl-legal-aside-inner { position: sticky; top: 96px; display: grid; gap: 18px; }
.tl-legal-nav, .tl-legal-toc {
	background: #fff;
	border: 1px solid #EDE5D3;
	border-radius: 16px;
	padding: 18px;
}
.tl-legal-aside-title { margin: 0 0 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--court-gold-deep); }
.tl-legal-nav ul, .tl-legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tl-legal-nav a, .tl-legal-toc a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 0.9rem;
	color: var(--tl-color-text-secondary);
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
.tl-legal-nav a:hover, .tl-legal-toc a:hover { background: #F7F0E1; color: var(--court-navy); }
.tl-legal-nav a[aria-current="page"] { background: var(--court-navy); color: var(--court-gold-bright); font-weight: 600; }
.tl-legal-toc a { font-size: 0.84rem; padding: 6px 10px; }
.tl-legal-toc a.is-active { color: var(--court-gold-deep); font-weight: 600; box-shadow: inset 2px 0 0 var(--court-gold); }
.tl-legal-article {
	background: #fff;
	border: 1px solid #EDE5D3;
	border-radius: 20px;
	padding: clamp(24px, 4vw, 52px);
	box-shadow: 0 20px 50px -34px rgba(7, 14, 28, 0.35);
	min-width: 0;
}
.tl-legal-prose { max-width: 760px; font-size: 1.02rem; line-height: 1.75; color: #1E293B; }
.tl-legal-prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important; margin: 2em 0 0.6em; scroll-margin-top: 110px; }
.tl-legal-prose h2:first-of-type { margin-top: 1.2em; }
.tl-legal-prose h3 { font-size: 1.25rem; margin: 1.6em 0 0.4em; }
.tl-legal-prose ul { padding-left: 1.2em; }
.tl-legal-prose li { margin: 0.35em 0; }
.tl-legal-prose li::marker { color: var(--court-gold); }
.tl-legal-prose a { color: var(--court-gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(197, 160, 89, 0.45); }
.tl-legal-lead { font-size: 1.12rem; color: var(--court-navy); }
.tl-legal-callout { padding: 18px 20px; border-radius: 14px; background: #FBF6EA; border: 1px solid #EFE2C4; border-left: 4px solid var(--court-gold); color: #3B2E12; }
.tl-legal-table-wrap { overflow-x: auto; margin: 1em 0 1.4em; border: 1px solid #EDE5D3; border-radius: 12px; }
.tl-legal-table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.tl-legal-table-wrap th { text-align: left; background: #F7F2E6; color: var(--court-navy); font-weight: 700; padding: 10px 14px; }
.tl-legal-table-wrap td { padding: 10px 14px; border-top: 1px solid #F0E9DA; vertical-align: top; }
.tl-legal-table-wrap code { font-size: 0.8rem; background: #F3EEE4; padding: 1px 5px; border-radius: 4px; }
.tl-legal-contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 40px;
	padding: 22px 24px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--court-navy), #13284A);
	color: #CBD5E1;
}
.tl-legal-contact .tl-legal-contact-title { color: #fff; font-size: 1.35rem !important; margin: 0 0 4px; border: 0; padding: 0; }
.tl-courtroom .tl-legal-contact p { margin: 0; color: #CBD5E1; }
.tl-legal-contact a:not(.tl-button) { color: var(--court-gold-bright); }
.tl-courtroom .tl-legal-contact .tl-button-primary { background: #fff; color: var(--court-navy); }
@media (max-width: 991px) {
	.tl-legal-body { grid-template-columns: 1fr; gap: 20px; padding-block: 28px 56px; }
	.tl-legal-aside-inner { position: static; }
	.tl-legal-toc { display: none; }
	.tl-legal-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
	.tl-legal-nav a { border: 1px solid #EDE5D3; padding: 6px 12px; font-size: 0.82rem; }
}

/* ==========================================================================
   18. CONTACT PAGE
   ========================================================================== */
.tl-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
	gap: 32px;
	align-items: start;
	padding-block: 0 80px;
	margin-top: -56px;
	position: relative;
	z-index: 3;
}
.tl-contact-details { display: grid; gap: 12px; }
.tl-contact-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #EDE5D3;
	border-radius: 14px;
	transition: transform 0.3s var(--court-ease), box-shadow 0.3s;
}
.tl-contact-item:hover { transform: translateX(4px); box-shadow: 0 14px 30px -22px rgba(7, 14, 28, 0.4); }
.tl-contact-item-icon { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #F7F0E1; color: var(--court-gold-deep); }
.tl-contact-item-icon svg { width: 20px; height: 20px; }
.tl-courtroom .tl-contact-item h2 { font-family: var(--tl-font-ui); font-size: 0.72rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tl-color-muted); margin: 2px 0 4px; }
.tl-contact-item a, .tl-contact-item p { margin: 0; font-weight: 600; color: var(--court-navy); word-break: break-word; }
.tl-contact-item p { font-weight: 500; }
.tl-contact-notice { padding: 20px; border-radius: 14px; background: linear-gradient(135deg, var(--court-navy), #13284A); color: #CBD5E1; }
.tl-contact-notice strong { display: block; color: #fff; font-family: var(--tl-font-heading); font-size: 1.3rem; margin-bottom: 6px; }
.tl-courtroom .tl-contact-notice p { margin: 0 0 14px; font-size: 0.9rem; color: #CBD5E1; }
.tl-contact-form-card {
	background: #fff;
	border: 1px solid var(--court-line);
	border-radius: 20px;
	padding: clamp(22px, 4vw, 40px);
	box-shadow: var(--court-shadow);
}
.tl-contact-form-card > h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 4px; }
.tl-contact-form-intro { color: var(--tl-color-muted); margin: 0 0 22px; }
.tl-contact-form .tl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tl-contact-form .tl-field { margin-bottom: 16px; }
.tl-contact-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--court-navy); margin-bottom: 6px; }
.tl-contact-form label span[aria-hidden] { color: var(--court-gold-deep); }
.tl-contact-form .tl-input, .tl-contact-form .tl-select { width: 100%; background-color: #FBF8F1; border-color: #EDE5D3; }
.tl-contact-form textarea.tl-input { height: auto; min-height: 150px; padding-top: 12px; resize: vertical; }
.tl-contact-form [aria-invalid="true"] { border-color: #DC2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important; }
.tl-field-error { margin: 6px 0 0; color: #B91C1C; font-size: 0.82rem; font-weight: 500; }
.tl-contact-form .tl-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--tl-color-text-secondary); cursor: pointer; }
.tl-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--court-gold-deep); flex: 0 0 18px; }
.tl-check a { color: var(--court-gold-deep); font-weight: 600; }
.tl-courtroom .tl-contact-submit { width: 100%; height: 54px; justify-content: center; font-size: 1rem; gap: 10px; }
.tl-contact-form.is-sending .tl-contact-submit { opacity: 0.7; cursor: progress; }
.tl-form-status { padding: 16px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.tl-form-status.is-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.tl-form-status.is-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.tl-form-status:focus { outline: 2px solid var(--court-gold); outline-offset: 2px; }
@media (max-width: 991px) {
	.tl-contact-layout { grid-template-columns: 1fr; margin-top: -40px; }
	.tl-contact-form-card { order: -1; }
}
@media (max-width: 600px) {
	.tl-contact-form .tl-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   19. ABOUT PAGE
   ========================================================================== */
.tl-courtroom .tl-about-evidence { margin-top: -56px; }
.tl-about-section { padding: clamp(56px, 8vw, 96px) 0 0; }
.tl-about-section:last-child { padding-bottom: clamp(64px, 8vw, 110px); }
.tl-kicker { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--court-gold-deep); margin-bottom: 10px; }
.tl-about-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.tl-about-split-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 0; }
.tl-about-split .tl-prose p { font-size: 1.08rem; line-height: 1.8; color: #334155; }
.tl-about-split .tl-prose p:first-child::first-letter { font-family: var(--tl-font-heading); float: left; font-size: 4.2em; line-height: 0.8; padding: 6px 10px 0 0; color: var(--court-gold-deep); }
.tl-about-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tl-about-pillar {
	padding: 30px 26px;
	background: #fff;
	border: 1px solid #EDE5D3;
	border-radius: 18px;
	transition: transform 0.35s var(--court-ease), box-shadow 0.35s;
}
.tl-about-pillar:hover { transform: translateY(-6px); box-shadow: var(--court-shadow); }
.tl-about-pillar-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--court-gold-gradient); color: var(--court-ink); margin-bottom: 18px; box-shadow: 0 0 0 6px #FBF6EA; }
.tl-about-pillar-icon svg { width: 24px; height: 24px; }
.tl-about-pillar h3 { font-size: 1.5rem; margin: 0 0 8px; }
.tl-about-pillar p { margin: 0; color: var(--tl-color-muted); line-height: 1.65; }
.tl-about-standards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl-about-standards li {
	position: relative;
	padding: 16px 18px 16px 52px;
	background: #fff;
	border: 1px solid #EDE5D3;
	border-radius: 14px;
	color: #334155;
	line-height: 1.6;
}
.tl-about-standards li::before {
	content: "\2713";
	position: absolute;
	left: 16px;
	top: 15px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.8rem;
	font-weight: 700;
	background: var(--court-navy);
	color: var(--court-gold-bright);
}
.tl-about-standards strong { color: var(--court-navy); }
.tl-about-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; }
.tl-about-links a { font-weight: 600; color: var(--court-gold-deep); }
.tl-about-maker-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	padding: clamp(28px, 5vw, 56px);
	border-radius: 24px;
	color: #CBD5E1;
	background:
		radial-gradient(ellipse at 90% 0%, rgba(233, 205, 140, 0.22), transparent 55%),
		repeating-linear-gradient(90deg, rgba(197, 160, 89, 0.05) 0 1px, transparent 1px 90px),
		linear-gradient(135deg, var(--court-ink), var(--court-navy) 60%, #1B130C);
	border: 1px solid rgba(233, 205, 140, 0.35);
}
.tl-about-maker-card > div { max-width: 720px; }
.tl-courtroom .tl-about-maker-card h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; }
.tl-courtroom .tl-about-maker-card p { font-size: 1.05rem; line-height: 1.75; color: #CBD5E1; }
.tl-about-maker-card .tl-kicker { color: var(--court-gold-bright); }
.tl-about-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tl-about-cta { padding: 34px; border-radius: 20px; background: #fff; border: 1px solid #EDE5D3; }
.tl-about-cta h2 { font-size: 2rem; margin: 0 0 8px; }
.tl-about-cta p { color: var(--tl-color-muted); margin: 0 0 20px; }
.tl-about-cta-dark { background: linear-gradient(135deg, var(--court-navy), #13284A); border-color: transparent; }
.tl-courtroom .tl-about-cta-dark h2 { color: #fff; }
.tl-courtroom .tl-about-cta-dark p { color: #CBD5E1; }
@media (max-width: 900px) {
	.tl-about-split, .tl-about-pillars, .tl-about-cta-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   20. ARTICLES: one table of contents per screen size
   (inline card on phones and tablets, sidebar list on desktop)
   ========================================================================== */
@media (min-width: 1024px) {
	#tl-mobile-toc { display: none !important; }
}
@media (max-width: 1023.98px) {
	.tl-sidebar-toc-widget { display: none !important; }
}
.tl-courtroom .tl-toc-link.active,
.tl-courtroom .tl-toc-link.is-active { color: var(--court-gold-deep); font-weight: 600; }
.tl-courtroom .tl-sidebar-toc-widget { border-color: #EDE5D3; border-radius: 16px; }
.tl-courtroom .tl-editorial-toc-card { border-color: #EDE5D3; border-radius: 16px; background: #FBF8F1; }

/* ==========================================================================
   21. LEGAL GUIDES (blog index, categories, articles)
   ========================================================================== */
.tl-courtroom .tl-blog-hero,
.tl-courtroom .tl-editorial-hero {
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(ellipse 45% 80% at 85% 0%, rgba(233, 205, 140, 0.18), transparent 70%),
		repeating-linear-gradient(90deg, transparent 0 7%, rgba(233, 205, 140, 0.05) 7% 10%, transparent 10% 16.66%),
		linear-gradient(180deg, #081226, #0E1D38 72%, #1A1510) !important;
	border-bottom: 3px solid transparent;
	border-image: var(--court-gold-gradient) 1;
}
.tl-courtroom .tl-blog-hero-title,
.tl-courtroom .tl-editorial-hero-title { color: #fff; font-family: var(--tl-font-heading); font-weight: 600; letter-spacing: -0.01em; }
.tl-courtroom .tl-blog-hero-title { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.tl-courtroom .tl-editorial-hero-title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.1; }
.tl-courtroom .tl-hero-eyebrow { color: var(--court-gold-bright); letter-spacing: 0.2em; }
.tl-courtroom .tl-blog-hero-subtitle,
.tl-courtroom .tl-editorial-hero-lead { color: #C9D2E0; }
.tl-js .tl-blog-hero-inner > *,
.tl-js .tl-editorial-hero .tl-container > * { animation: tlRise 0.9s var(--court-ease) backwards; }
.tl-js .tl-blog-hero-inner > :nth-child(2) { animation-delay: 0.08s; }
.tl-js .tl-blog-hero-inner > :nth-child(3) { animation-delay: 0.16s; }
.tl-js .tl-blog-hero-inner > :nth-child(n+4) { animation-delay: 0.24s; }

/* Breadcrumbs on dark heroes */
.tl-courtroom .tl-blog-hero .tl-breadcrumb-item,
.tl-courtroom .tl-blog-hero .tl-breadcrumb-item a,
.tl-courtroom .tl-editorial-hero .tl-breadcrumb-item,
.tl-courtroom .tl-editorial-hero .tl-breadcrumb-item a,
.tl-courtroom .tl-breadcrumbs-bar .tl-breadcrumbs,
.tl-courtroom .tl-breadcrumbs-bar .tl-breadcrumbs a { color: #B8C2D3; }
.tl-courtroom .tl-blog-hero .tl-breadcrumb-current,
.tl-courtroom .tl-editorial-hero .tl-breadcrumb-current,
.tl-courtroom .tl-breadcrumbs-bar [aria-current="page"],
.tl-courtroom .tl-breadcrumbs-bar .tl-breadcrumbs > span:last-child { color: var(--court-gold-bright); }
.tl-courtroom .tl-breadcrumbs-bar a:hover,
.tl-courtroom .tl-blog-hero .tl-breadcrumb-item a:hover,
.tl-courtroom .tl-editorial-hero .tl-breadcrumb-item a:hover { color: #fff; }
.tl-courtroom .tl-breadcrumbs-bar { background: #081226 !important; }

/* Blog search and topic pills */
.tl-courtroom .tl-blog-search-form { border-radius: 14px; border: 1px solid rgba(233, 205, 140, 0.55); box-shadow: 0 0 0 6px rgba(197, 160, 89, 0.12); }
.tl-courtroom .tl-topic-pill {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(233, 205, 140, 0.28);
	color: #E8ECF3;
	transition: all 0.25s var(--court-ease);
}
.tl-courtroom .tl-topic-pill:hover { background: var(--court-gold-bright); color: var(--court-ink); transform: translateY(-2px); }
.tl-courtroom .tl-pills-label { color: rgba(233, 205, 140, 0.9); }

/* Cards */
.tl-courtroom .tl-spotlight-card { border: 1px solid #EDE5D3; border-radius: 20px; overflow: hidden; box-shadow: var(--court-shadow); }
.tl-courtroom .tl-spotlight-title,
.tl-courtroom .tl-spotlight-title a { font-family: var(--tl-font-heading); color: var(--court-navy); }
.tl-courtroom .tl-spotlight-media img { transition: transform 0.9s var(--court-ease); }
.tl-courtroom .tl-spotlight-card:hover .tl-spotlight-media img { transform: scale(1.04); }
.tl-courtroom .tl-editorial-badge { background: rgba(7, 14, 28, 0.78); color: var(--court-gold-bright); border: 1px solid rgba(233, 205, 140, 0.35); backdrop-filter: blur(6px); }
.tl-courtroom .tl-editorial-card-footer { background: #FBF8F1; border-top: 1px solid #F0E9DA; }
.tl-courtroom .tl-button-tertiary { color: var(--court-gold-deep); font-weight: 600; }

/* Legacy .tl-btn buttons follow the courtroom palette */
.tl-courtroom .tl-btn { border-radius: var(--tl-btn-radius, 10px); }
.tl-courtroom .tl-btn-primary { background: linear-gradient(180deg, var(--tl-btn-primary-bg-2, var(--court-navy-2)), var(--tl-btn-primary-bg, var(--court-navy))); color: var(--tl-btn-primary-text, #fff); border-color: rgba(197, 160, 89, 0.45); }
.tl-courtroom .tl-btn-outline { border-color: var(--court-line); color: var(--court-navy); background: #fff; }
.tl-courtroom .tl-btn-outline:hover { border-color: var(--court-gold); color: var(--court-gold-deep); }

/* Article body */
.tl-courtroom .tl-editorial-main { border-color: #EDE5D3; border-radius: 20px; box-shadow: 0 20px 50px -34px rgba(7, 14, 28, 0.35); }
.tl-courtroom .tl-editorial-featured-media img { border-radius: 14px; }
.tl-courtroom .tl-editorial-content { font-size: 1.06rem; line-height: 1.8; color: #1E293B; }
.tl-courtroom .tl-editorial-content h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--court-navy); margin: 1.8em 0 0.5em; scroll-margin-top: 110px; }
.tl-courtroom .tl-editorial-content h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); color: var(--court-navy); scroll-margin-top: 110px; }
.tl-courtroom .tl-editorial-content a { color: var(--court-gold-deep); text-decoration: underline; text-decoration-color: rgba(197, 160, 89, 0.45); text-underline-offset: 3px; }
.tl-courtroom .tl-editorial-content blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--court-gold); background: #FBF6EA; border-radius: 0 12px 12px 0; font-family: var(--tl-font-heading); font-size: 1.25rem; color: var(--court-navy); }
.tl-courtroom .tl-editorial-content li::marker { color: var(--court-gold); }
.tl-courtroom .tl-editorial-takeaways {
	background: linear-gradient(180deg, #FFFCF5, #FBF6EA) !important;
	border: 1px solid #EFE2C4 !important;
	border-left: 4px solid var(--court-gold) !important;
	border-radius: 14px !important;
	color: #3B2E12;
}
.tl-courtroom .tl-editorial-takeaways li,
.tl-courtroom .tl-editorial-takeaways a { color: #3B2E12 !important; }
.tl-courtroom .tl-takeaways-header,
.tl-courtroom .tl-takeaways-header * { color: var(--court-navy) !important; font-family: var(--tl-font-heading); }
.tl-courtroom .tl-editorial-takeaways svg { color: var(--court-gold-deep) !important; stroke: currentColor; }
.tl-courtroom .tl-editorial-cta-banner {
	background:
		radial-gradient(ellipse at 90% 0%, rgba(233, 205, 140, 0.2), transparent 55%),
		linear-gradient(135deg, var(--court-ink), var(--court-navy) 65%, #1B130C) !important;
	border: 1px solid rgba(233, 205, 140, 0.35) !important;
	border-radius: 18px !important;
}
.tl-courtroom .tl-cta-banner-title { color: #fff !important; font-family: var(--tl-font-heading); }
.tl-courtroom .tl-cta-banner-desc { color: #C9D2E0 !important; }
.tl-courtroom .tl-editorial-cta-banner .tl-btn { background: var(--court-gold-gradient) !important; color: var(--tl-btn-secondary-text, var(--court-ink)) !important; border-color: var(--court-gold-deep) !important; }
.tl-courtroom .tl-lawyer-mini-card { border-color: #EDE5D3; border-radius: 14px; transition: transform 0.3s var(--court-ease), box-shadow 0.3s; }
.tl-courtroom .tl-lawyer-mini-card:hover { transform: translateY(-3px); box-shadow: var(--court-shadow); }
.tl-courtroom .tl-editorial-author-box { border-color: #EDE5D3; border-radius: 16px; background: #FBF8F1; }
.tl-courtroom .tl-sidebar-widget { border-color: #EDE5D3; border-radius: 16px; }
.tl-courtroom .tl-widget-title { font-family: var(--tl-font-ui); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--court-gold-deep); }

/* Yoast breadcrumbs on the dark taxonomy breadcrumb bar */
.tl-courtroom .tl-breadcrumbs-bar .tl-breadcrumbs { color: #B8C2D3 !important; margin-bottom: 0 !important; }
.tl-courtroom .tl-breadcrumbs-bar .tl-breadcrumbs a { color: #B8C2D3; }
.tl-courtroom .tl-breadcrumbs-bar .breadcrumb_last { color: var(--court-gold-bright); }
.tl-courtroom #breadcrumbs { margin: 0; }

/* ==========================================================================
   22. GENERIC PAGE HEROES (FAQs, Advertise, Write for Us, Law Firms, Sitemap)
   ========================================================================== */
.tl-courtroom .tl-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(ellipse 45% 80% at 85% 0%, rgba(233, 205, 140, 0.18), transparent 70%),
		repeating-linear-gradient(90deg, transparent 0 7%, rgba(233, 205, 140, 0.05) 7% 10%, transparent 10% 16.66%),
		linear-gradient(180deg, #081226, #0E1D38 72%, #1A1510) !important;
	border-bottom: 3px solid transparent;
	border-image: var(--court-gold-gradient) 1;
}
.tl-courtroom .tl-page-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; }
.tl-courtroom .tl-page-hero p { color: #C9D2E0; }
.tl-courtroom .tl-page-hero .tl-badge {
	background: rgba(197, 160, 89, 0.08) !important;
	color: var(--court-gold-bright) !important;
	border: 1px solid rgba(233, 205, 140, 0.3) !important;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 8px 16px;
	border-radius: 999px;
}
.tl-courtroom .tl-page-hero .tl-badge-dot { background: var(--court-gold-bright) !important; }
.tl-js .tl-page-hero-inner > * { animation: tlRise 0.9s var(--court-ease) backwards; }
.tl-js .tl-page-hero-inner > :nth-child(2) { animation-delay: 0.08s; }
.tl-js .tl-page-hero-inner > :nth-child(3) { animation-delay: 0.16s; }

/* ==========================================================================
   23. FAQ ACCORDION
   ========================================================================== */
.tl-courtroom .tl-faq-category-block h2 { font-family: var(--tl-font-heading) !important; font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important; font-weight: 600 !important; border-bottom: 1px solid #EDE5D3 !important; }
.tl-faq-accordion { display: grid; gap: 10px; }
.tl-faq-item {
	background: #fff;
	border: 1px solid #EDE5D3;
	border-radius: 14px;
	overflow: hidden;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.tl-faq-item.is-open { border-color: var(--court-line); box-shadow: 0 16px 40px -26px rgba(7, 14, 28, 0.4); }
.tl-faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font-family: var(--tl-font-heading);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--court-navy);
}
.tl-faq-question:hover { color: var(--court-gold-deep); }
.tl-faq-question:focus-visible { outline: 2px solid var(--court-gold); outline-offset: -2px; }
.tl-faq-icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	padding: 6px;
	border-radius: 50%;
	background: #F7F0E1;
	color: var(--court-gold-deep);
	transition: transform 0.35s var(--court-ease), background 0.3s, color 0.3s;
}
.tl-faq-question[aria-expanded="true"] .tl-faq-icon { transform: rotate(180deg); background: var(--court-navy); color: var(--court-gold-bright); }
.tl-faq-answer-inner { padding: 0 20px 20px; }
.tl-courtroom .tl-faq-answer-inner p { color: #334155 !important; font-size: 1rem !important; }
.tl-courtroom .tl-callout-box { background: linear-gradient(135deg, var(--court-navy), #13284A) !important; border: 0 !important; color: #CBD5E1; }
.tl-courtroom .tl-callout-box h3 { color: #fff; font-family: var(--tl-font-heading); font-size: 1.7rem !important; }
.tl-courtroom .tl-callout-box p { color: #CBD5E1 !important; }
.tl-courtroom .tl-callout-box .tl-button-primary { background: var(--court-gold-gradient); color: var(--tl-btn-secondary-text, var(--court-ink)); border-color: var(--court-gold-deep); }

/* ==========================================================================
   24. SEARCH RESULTS
   ========================================================================== */
.tl-search-refine { display: flex; gap: 10px; max-width: 620px; margin-top: 22px; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(233, 205, 140, 0.55); box-shadow: 0 0 0 6px rgba(197, 160, 89, 0.12); }
.tl-search-refine .tl-input { flex: 1; height: 50px; border: 0; background: #F6F2EA; }
.tl-search-refine .tl-button { height: 50px; padding: 0 22px; }
.tl-search-body { padding-block: 48px 90px; display: grid; gap: 56px; }
.tl-search-group-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid #EDE5D3; }
.tl-search-group-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.tl-search-guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 991px) { .tl-search-guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.tl-search-guides-grid { grid-template-columns: 1fr; }
	.tl-search-refine { flex-direction: column; }
}

/* ==========================================================================
   25. 404
   ========================================================================== */
.tl-courtroom .tl-error-404 h1 { font-family: var(--tl-font-heading) !important; color: var(--court-navy) !important; font-size: clamp(2.4rem, 5vw, 3.6rem) !important; }
.tl-courtroom .tl-error-404::before {
	content: "404";
	display: block;
	font-family: var(--tl-font-heading);
	font-size: clamp(6rem, 16vw, 11rem);
	font-weight: 700;
	line-height: 0.9;
	background: var(--court-gold-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 10px;
}

/* ==========================================================================
   26. ACCOUNT PAGES (login, registration, pricing, dashboard)
   ========================================================================== */
.tl-courtroom .tl-auth-container,
.tl-courtroom #primary[style*="F8FAFC"] {
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(197, 160, 89, 0.12), transparent 70%),
		repeating-linear-gradient(90deg, transparent 0 7%, rgba(197, 160, 89, 0.05) 7% 10%, transparent 10% 16.66%),
		var(--court-parchment) !important;
}
.tl-courtroom .tl-auth-card {
	border: 1px solid var(--court-line);
	border-top: 3px solid var(--court-gold);
	border-radius: 20px;
	box-shadow: var(--court-shadow);
}
.tl-js .tl-auth-card { animation: tlRise 0.9s var(--court-ease) backwards; }
.tl-courtroom .tl-auth-title { font-family: var(--tl-font-heading); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--court-navy); }
.tl-courtroom .tl-auth-brand-badge { color: var(--court-gold-deep); letter-spacing: 0.16em; }
.tl-courtroom .tl-form-input { border-color: #EDE5D3; background: #FBF8F1; border-radius: 10px; }
.tl-courtroom .tl-form-input:focus { border-color: var(--court-gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2); outline: none; }
.tl-courtroom .tl-btn-auth {
	background: linear-gradient(180deg, var(--tl-btn-primary-bg-2, var(--court-navy-2)), var(--tl-btn-primary-bg, var(--court-navy)));
	color: var(--tl-btn-primary-text, #fff);
	border: 1px solid rgba(197, 160, 89, 0.45);
	border-radius: var(--tl-btn-radius, 10px);
}
.tl-courtroom .tl-btn-auth:hover { color: var(--court-gold-bright); }
.tl-courtroom .tl-auth-link { color: var(--court-gold-deep); font-weight: 600; }

/* Pricing table */
.tl-courtroom #primary[style*="F8FAFC"] h1 { font-family: var(--tl-font-heading); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; }
.tl-courtroom .tl-dashboard-card { border-color: #EDE5D3; border-radius: 20px; transition: transform 0.35s var(--court-ease), box-shadow 0.35s; }
.tl-courtroom .tl-dashboard-card:hover { transform: translateY(-6px); box-shadow: var(--court-shadow); }
.tl-courtroom .tl-dashboard-card h2,
.tl-courtroom .tl-dashboard-card h3 { font-family: var(--tl-font-heading); }

/* ==========================================================================
   27. LISTING OFFICE MAP
   ========================================================================== */
.tl-map-block {
	border: 1px solid #EDE5D3;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 18px 44px -30px rgba(7, 14, 28, 0.4);
}
.tl-courtroom .tl-map-container {
	position: relative;
	height: 380px;
	border: 0;
	border-radius: 0;
	background:
		repeating-linear-gradient(0deg, rgba(197, 160, 89, 0.08) 0 1px, transparent 1px 36px),
		repeating-linear-gradient(90deg, rgba(197, 160, 89, 0.08) 0 1px, transparent 1px 36px),
		#F6F2EA;
}
.tl-courtroom .tl-map-canvas {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.tl-map-loading {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--court-gold-deep);
	font-size: 0.85rem;
	font-weight: 600;
}
.tl-map-loading svg { width: 32px; height: 32px; fill: none; animation: tlBalance 1.6s ease-in-out infinite; }
.tl-courtroom .tl-map-info-card {
	position: static;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	max-width: none;
	padding: 16px 18px;
	border: 0;
	border-top: 3px solid transparent;
	border-image: var(--court-gold-gradient) 1;
	border-radius: 0;
	box-shadow: none;
	background: #FBF8F1;
	backdrop-filter: none;
}
.tl-map-info-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 280px; }
.tl-map-info-text strong { font-family: var(--tl-font-heading); font-size: 1.2rem; color: var(--court-navy); }
.tl-map-info-text span { font-size: 0.875rem; color: var(--tl-color-muted); line-height: 1.5; }
.tl-map-info-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tl-map-info-actions .tl-button { height: 42px; padding: 0 16px; font-size: 0.875rem; gap: 6px; }
.tl-map-info-actions svg { width: 16px; height: 16px; fill: none; }
@media (max-width: 600px) {
	.tl-courtroom .tl-map-container { height: 280px; }
	.tl-map-info-actions { width: 100%; flex-direction: column; }
	.tl-map-info-actions .tl-button { width: 100%; justify-content: center; }
}
