/**
 * TopLawyer Master Design System Stylesheet (Phase 9.5 Compiled Bundle)
 * Automatically consolidated to eliminate @import HTTP waterfall latency.
 * Active Theme: toplawyer
 */


/* ==========================================================================
   FILE: base/design-tokens.css
   ========================================================================== */

/**
 * TopLawyer Design Token System (Phase 3 Enterprise Specification)
 *
 * @package TopLawyer
 * @version 0.2.0
 */

:root {
	/* 1. Brand & Semantic Colors */
	--tl-color-primary: #0A192F;          /* Deep Executive Navy */
	--tl-color-primary-light: #112240;    /* Deep Navy Tint */
	--tl-color-primary-hover: #1B2D4B;
	--tl-color-secondary: #C5A059;        /* Warm Sovereign Gold */
	--tl-color-secondary-hover: #B38F46;  /* Deep Antique Gold */
	--tl-color-secondary-light: #FBF8F2;  /* Subtle Warm Gold Tint */
	--tl-color-gold-border: rgba(197, 160, 89, 0.28);
	--tl-color-accent: #1D4ED8;           /* Legal Trust Blue */
	--tl-color-accent-hover: #1E40AF;

	/* 2. Neutral Surfaces & Backgrounds */
	--tl-color-background: #F8FAFC;       /* Off-White Canvas */
	--tl-color-surface: #FFFFFF;          /* Pure White Container */
	--tl-color-surface-elevated: #FFFFFF; /* Lifted Modal / Dropdown */
	--tl-color-surface-subtle: #F1F5F9;   /* Neutral Pill Fill */
	--tl-color-surface-hover: #F8FAFC;    /* Subtle Row Highlight */

	/* 3. Text & Content Colors */
	--tl-color-text: #0F172A;             /* Slate 900 Primary Text */
	--tl-color-text-secondary: #334155;   /* Slate 700 Secondary Text */
	--tl-color-text-light: #FFFFFF;       /* High-contrast inverted text */
	--tl-color-text-on-dark: #CBD5E1;     /* High-contrast subtitle on navy */
	--tl-color-muted: #64748B;            /* Slate 500 Metadata Text */
	--tl-color-muted-light: #94A3B8;      /* Slate 400 Light Border/Icon */

	/* 4. Borders & Dividers */
	--tl-color-border: #E2E8F0;           /* Clean Structural Border */
	--tl-color-border-hover: #CBD5E1;     /* Interactive Hover Border */
	--tl-color-border-focus: #C5A059;     /* Gold Focus Outline */

	/* 5. Feedback & State Colors */
	--tl-color-success: #059669;          /* Verified Emerald Green */
	--tl-color-success-bg: #ECFDF5;
	--tl-color-warning: #D97706;          /* Advisory Amber */
	--tl-color-warning-bg: #FFFBEB;
	--tl-color-error: #DC2626;            /* Alert Crimson Red */
	--tl-color-error-bg: #FEF2F2;
	--tl-color-information: #0284C7;      /* Notice Sky Blue */
	--tl-color-information-bg: #F0F9FF;

	/* 6. Typography Families */
	--tl-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tl-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
	--tl-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--tl-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

	/* 7. Standardized Typography Scale */
	--tl-type-display: clamp(2.5rem, 5vw, 3.75rem);   /* 40px - 60px desktop */
	--tl-type-h1: clamp(2.125rem, 4vw, 3.25rem);       /* 34px - 52px */
	--tl-type-h2: clamp(1.75rem, 3vw, 2.5rem);         /* 28px - 40px */
	--tl-type-h3: clamp(1.375rem, 2vw, 1.625rem);      /* 22px - 26px */
	--tl-type-h4: 1.1875rem;                           /* 19px */
	--tl-type-body-large: 1.125rem;                    /* 18px */
	--tl-type-body: 1rem;                              /* 16px */
	--tl-type-body-small: 0.875rem;                    /* 14px */
	--tl-type-meta: 0.8125rem;                         /* 13px */
	--tl-type-caption: 0.75rem;                        /* 12px */
	--tl-type-label: 0.8125rem;                        /* 13px */
	--tl-type-button: 0.9375rem;                       /* 15px */

	/* 8. Consistent 8pt Spacing Grid */
	--tl-space-1: 0.5rem;    /* 8px */
	--tl-space-2: 1rem;      /* 16px */
	--tl-space-3: 1.5rem;    /* 24px */
	--tl-space-4: 2rem;      /* 32px */
	--tl-space-5: 3rem;      /* 48px */
	--tl-space-6: 4rem;      /* 64px */
	--tl-space-7: 5rem;      /* 80px */
	--tl-space-8: 6rem;      /* 96px */

	/* 9. Semantic Spacing Intervals */
	--tl-spacing-section: clamp(3rem, 6vw, 5rem);     /* Responsive section gap */
	--tl-spacing-card: var(--tl-space-3);             /* 24px card padding */
	--tl-spacing-stack: var(--tl-space-2);            /* 16px vertical stack */
	--tl-spacing-inline: var(--tl-space-1);           /* 8px horizontal cluster */

	/* 10. Unified Corner Radii Family */
	--tl-radius-sm: 6px;     /* Small elements, badges */
	--tl-radius-md: 10px;    /* Cards, buttons, inputs */
	--tl-radius-lg: 14px;    /* Major containers, hero cards */
	--tl-radius-pill: 9999px; /* Pill tags, circular avatars */

	/* 11. Subtle Elevation & Shadows */
	--tl-elevation-flat: none;
	--tl-elevation-subtle: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
	--tl-elevation-card: 0 2px 8px -1px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.03);
	--tl-elevation-floating: 0 10px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
	--tl-elevation-modal: 0 20px 35px -5px rgba(15, 23, 42, 0.15);

	/* 12. Fluid Layout Max-Widths & Container Rules */
	--tl-container: 1240px;
	--tl-container-max: 1240px;
	--tl-container-padding: 32px;
	--tl-container-wide: 1400px;
	--tl-container-narrow: 840px;

	/* 13. Motion Timings & Easings */
	--tl-motion-instant: 0ms;
	--tl-motion-fast: 150ms;
	--tl-motion-normal: 250ms;
	--tl-motion-slow: 350ms;
	--tl-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
	--tl-ease-emphasized: cubic-bezier(0.2, 0, 0, 1);
	--tl-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 991px) {
	:root {
		--tl-container-padding: 24px;
	}
}

@media (max-width: 640px) {
	:root {
		--tl-container-padding: 20px;
	}
}

/* Accessible Reduced Motion Guarantee */
@media (prefers-reduced-motion: reduce) {
	:root {
		--tl-motion-fast: 0ms !important;
		--tl-motion-normal: 0ms !important;
		--tl-motion-slow: 0ms !important;
	}
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}


/* ==========================================================================
   FILE: base/reset.css
   ========================================================================== */

/**
 * TopLawyer Base Reset & Foundation
 *
 * @package TopLawyer
 */

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--tl-font-body);
	color: var(--tl-color-text);
	background-color: var(--tl-color-background);
	overflow-x: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Screen Reader & Skip Links */
.screen-reader-text, .tl-skip-link {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.tl-skip-link:focus {
	background-color: var(--tl-color-surface);
	border-radius: var(--tl-radius-md);
	box-shadow: var(--tl-elevation-modal);
	clip: auto !important;
	clip-path: none;
	color: var(--tl-color-primary);
	display: block;
	font-size: var(--tl-type-body-small);
	font-weight: 700;
	height: auto;
	left: 1rem;
	padding: var(--tl-space-3) var(--tl-space-5);
	top: 1rem;
	width: auto;
	z-index: 100000;
	text-decoration: none;
	outline: 2px solid var(--tl-color-secondary);
}

:focus-visible {
	outline: 2px solid var(--tl-color-border-focus);
	outline-offset: 2px;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--tl-font-heading);
	color: var(--tl-color-primary);
	line-height: 1.25;
	margin-bottom: var(--tl-space-2);
	font-weight: 700;
	letter-spacing: -0.015em;
}

.tl-display { font-size: var(--tl-type-display); line-height: 1.15; }
h1, .tl-h1 { font-size: var(--tl-type-h1); line-height: 1.2; }
h2, .tl-h2 { font-size: var(--tl-type-h2); line-height: 1.25; }
h3, .tl-h3 { font-size: var(--tl-type-h3); line-height: 1.3; }
h4, .tl-h4 { font-size: var(--tl-type-h4); line-height: 1.35; }

/* Inverted Headings Guarantee on Dark Contexts */
.tl-home-hero h1,
.tl-archive-hero h1,
.tl-editorial-hero h1,
.tl-editorial-hero-title,
.tl-blog-hero h1,
.tl-blog-hero-title,
.tl-page-hero h1 {
	color: #FFFFFF !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.tl-home-hero p,
.tl-archive-hero p,
.tl-editorial-hero p,
.tl-blog-hero p,
.tl-page-hero p {
	color: var(--tl-color-text-on-dark, #CBD5E1);
}

p {
	margin-bottom: var(--tl-space-3);
	color: var(--tl-color-text-secondary);
	line-height: 1.65;
}

.tl-body-large {
	font-size: var(--tl-type-body-large);
	line-height: 1.65;
}

.tl-body {
	font-size: var(--tl-type-body);
	line-height: 1.6;
}

.tl-body-small {
	font-size: var(--tl-type-body-small);
	line-height: 1.5;
}

.tl-caption {
	font-size: var(--tl-type-caption);
	color: var(--tl-color-muted);
}

.tl-label {
	font-size: var(--tl-type-label);
	font-weight: 600;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

a {
	color: var(--tl-color-primary);
	text-decoration: none;
	transition: color var(--tl-motion-fast) var(--tl-ease-standard);
}

a:hover {
	color: var(--tl-color-secondary);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}


/* ==========================================================================
   FILE: layouts/containers.css
   ========================================================================== */

/**
 * TopLawyer Global Container & Layout System
 *
 * @package TopLawyer
 */

/* 1. Fluid Layout Containers */
.tl-container {
	width: 100%;
	max-width: var(--tl-container-max, 1240px);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--tl-container-padding, 32px);
	padding-right: var(--tl-container-padding, 32px);
	box-sizing: border-box;
}

.tl-container-wide {
	width: 100%;
	max-width: var(--tl-container-wide);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 3vw, 2.5rem);
	padding-right: clamp(1rem, 3vw, 2.5rem);
	box-sizing: border-box;
}

.tl-container-narrow {
	width: 100%;
	max-width: var(--tl-container-narrow);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 3vw, 1.5rem);
	padding-right: clamp(1rem, 3vw, 1.5rem);
	box-sizing: border-box;
}

/* 2. Semantic Sections */
.tl-section {
	padding-top: var(--tl-spacing-section);
	padding-bottom: var(--tl-spacing-section);
	position: relative;
	width: 100%;
}

.tl-section-subtle {
	background-color: var(--tl-color-surface-subtle);
}

.tl-section-header {
	margin-bottom: var(--tl-space-6);
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-2);
}

.tl-section-header.text-center {
	text-align: center;
	align-items: center;
}

.tl-section-header.text-center .tl-section-subtitle {
	max-width: 650px;
}

.tl-section-title {
	font-family: var(--tl-font-heading);
	font-size: var(--tl-type-h2);
	color: var(--tl-color-primary);
	line-height: 1.25;
	margin: 0;
}

.tl-section-subtitle {
	font-family: var(--tl-font-body);
	font-size: var(--tl-type-body);
	color: var(--tl-color-muted);
	line-height: 1.6;
	margin: 0;
}

/* 3. Fluid Responsive Grid */
.tl-grid {
	display: grid;
	gap: var(--tl-space-6);
	width: 100%;
}

.tl-grid-auto-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: var(--tl-space-6);
	width: 100%;
}

.tl-grid-sidebar {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: var(--tl-space-6);
	align-items: start;
	width: 100%;
}

@media (max-width: 991px) {
	.tl-grid-sidebar {
		grid-template-columns: 1fr;
	}
}

/* 4. Vertical Stack Rhythm */
.tl-stack {
	display: flex;
	flex-direction: column;
	gap: var(--tl-spacing-stack);
}

.tl-stack-sm {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-2);
}

.tl-stack-lg {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-6);
}

/* 5. Horizontal Cluster (Chips / Buttons) */
.tl-cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tl-spacing-inline);
}

.tl-cluster-tight {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tl-space-2);
}

/* 6. Overflow Prevention Guarantee */
img, svg, video, canvas, iframe {
	max-width: 100%;
	height: auto;
}


/* ==========================================================================
   FILE: layouts/header.css
   ========================================================================== */

/**
 * TopLawyer Global Header Styles
 *
 * @package TopLawyer
 * @version 0.4.0
 */

.tl-site-header {
	background-color: var(--tl-color-surface);
	border-bottom: 1px solid var(--tl-color-border);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: box-shadow var(--tl-motion-fast) var(--tl-ease-standard),
	            background-color var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-site-header.is-scrolled {
	box-shadow: var(--tl-elevation-card);
}

.tl-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
	gap: var(--tl-space-4);
}

/* Site Brand / Logo */
.tl-site-brand {
	flex-shrink: 0;
}

.tl-brand-link {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.tl-brand-logo-text {
	font-family: var(--tl-font-heading);
	font-size: clamp(1.4rem, 2.5vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--tl-color-primary);
	display: inline-flex;
	align-items: baseline;
	line-height: 1;
}

.tl-brand-lawyer {
	color: var(--tl-color-primary);
}

.tl-brand-tld {
	color: var(--tl-color-secondary);
	font-family: var(--tl-font-ui);
	font-size: 0.85em;
	font-weight: 700;
	margin-left: 1px;
}

/* Desktop Navigation */
.tl-primary-navigation {
	display: flex;
	align-items: center;
}

.tl-primary-navigation ul {
	display: flex;
	list-style: none;
	gap: var(--tl-space-5);
	align-items: center;
	margin: 0;
	padding: 0;
}

.tl-primary-navigation a {
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
	font-weight: 600;
	color: var(--tl-color-text-secondary);
	padding: var(--tl-space-2) 0;
	position: relative;
	text-decoration: none;
	transition: color var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-primary-navigation a:hover,
.tl-primary-navigation a[aria-current="page"] {
	color: var(--tl-color-secondary);
}

.tl-primary-navigation a[aria-current="page"]::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: var(--tl-color-secondary);
	border-radius: var(--tl-radius-pill);
}

/* Header Action Buttons */
.tl-header-actions {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
}

.tl-header-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--tl-radius-md);
	color: var(--tl-color-muted);
	border: 1px solid var(--tl-color-border);
	background: transparent;
	cursor: pointer;
	transition: all var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-header-search-btn:hover {
	color: var(--tl-color-primary);
	border-color: var(--tl-color-secondary);
	background: var(--tl-color-surface-subtle);
}

.tl-header-search-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Mobile Toggle Hamburger */
.tl-mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--tl-radius-md);
	background: transparent;
	border: 1px solid var(--tl-color-border);
	color: var(--tl-color-primary);
	cursor: pointer;
	padding: 0;
}

.tl-mobile-toggle svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* Mobile Navigation Slide-Over Drawer */
.tl-mobile-nav-backdrop {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(11, 19, 43, 0.6);
	backdrop-filter: blur(2px);
	z-index: 10000;
}

.tl-mobile-nav-backdrop.is-active {
	display: block;
}

.tl-mobile-nav-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 320px;
	max-width: 85vw;
	background: var(--tl-color-surface);
	z-index: 10001;
	box-shadow: var(--tl-elevation-modal);
	transform: translateX(100%);
	transition: transform var(--tl-motion-normal) var(--tl-ease-standard);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding: var(--tl-space-5);
}

.tl-mobile-nav-drawer.is-open {
	transform: translateX(0);
}

.tl-mobile-nav-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: var(--tl-space-4);
	margin-bottom: var(--tl-space-4);
	border-bottom: 1px solid var(--tl-color-border);
}

.tl-mobile-nav-links {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--tl-space-6) 0;
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-2);
}

.tl-mobile-nav-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	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(--tl-color-primary);
	text-decoration: none;
	border-radius: var(--tl-radius-md);
	transition: background-color var(--tl-motion-fast) var(--tl-ease-standard),
	            color var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-mobile-nav-links a:hover {
	background-color: var(--tl-color-surface-subtle);
	color: var(--tl-color-secondary);
}

.tl-mobile-nav-footer {
	margin-top: auto;
	padding-top: var(--tl-space-5);
	border-top: 1px solid var(--tl-color-border);
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-3);
}

@media (max-width: 991px) {
	.tl-header-inner {
		height: 64px;
	}

	.tl-primary-navigation {
		display: none;
	}

	.tl-header-cta-desktop {
		display: none !important;
	}

	.tl-mobile-toggle {
		display: inline-flex;
	}
}


/* ==========================================================================
   FILE: layouts/footer.css
   ========================================================================== */

/**
 * TopLawyer Global Footer Styles
 *
 * Implements 4-column spacious editorial directory footer.
 *
 * @package TopLawyer
 * @version 0.4.0
 */

.tl-site-footer {
	background-color: var(--tl-color-primary, #0A192F);
	color: #94A3B8;
	padding-top: var(--tl-space-8, 64px);
	padding-bottom: var(--tl-space-7, 48px);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-family: var(--tl-font-ui);
	font-size: 0.9375rem;
	margin-top: auto;
}

.tl-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: var(--tl-space-6, 32px);
	margin-bottom: var(--tl-space-7, 48px);
}

.tl-footer-brand-title {
	font-family: var(--tl-font-heading);
	font-size: 1.625rem;
	color: #FFFFFF;
	margin-bottom: var(--tl-space-3);
}

.tl-footer-brand-col p {
	color: #94A3B8;
	line-height: 1.65;
	font-size: 0.9375rem;
	margin-bottom: var(--tl-space-4);
	max-width: 340px;
}

.tl-footer-col h4 {
	color: #FFFFFF;
	font-family: var(--tl-font-ui);
	font-size: 1.0625rem;
	font-weight: 700;
	margin-bottom: var(--tl-space-4);
	letter-spacing: -0.01em;
}

.tl-footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tl-footer-col a {
	color: #94A3B8;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: color var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-footer-col a:hover {
	color: var(--tl-color-secondary, #C5A059);
}

/* Trust & Legal Disclaimer Banner in Footer */
.tl-footer-disclaimer-box {
	background-color: rgba(17, 34, 64, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--tl-radius-md, 8px);
	padding: var(--tl-space-4) var(--tl-space-5);
	margin-bottom: var(--tl-space-6);
	font-size: 0.875rem;
	line-height: 1.65;
	color: #94A3B8;
}

.tl-footer-disclaimer-box strong {
	color: var(--tl-color-secondary, #C5A059);
	font-weight: 600;
	display: block;
	margin-bottom: 4px;
}

/* Bottom Copyright & Legal Line */
.tl-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: var(--tl-space-5);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--tl-space-4);
	font-size: 0.875rem;
}

.tl-footer-bottom p {
	margin: 0;
	color: #94A3B8;
}

.tl-footer-legal-links {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
}

.tl-footer-bottom a {
	color: #CBD5E1;
	text-decoration: none;
	transition: color var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-footer-bottom a:hover {
	color: var(--tl-color-secondary, #C5A059);
	text-decoration: underline;
}

.tl-back-to-top {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #FFFFFF;
	width: 38px;
	height: 38px;
	border-radius: var(--tl-radius-md, 8px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-left: var(--tl-space-2);
	transition: all var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-back-to-top:hover {
	background: var(--tl-color-secondary, #C5A059);
	border-color: var(--tl-color-secondary, #C5A059);
	color: #FFFFFF;
}

.tl-back-to-top svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

@media (max-width: 991px) {
	.tl-footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--tl-space-6);
	}
	.tl-footer-brand-col {
		grid-column: span 2;
	}
}

@media (max-width: 640px) {
	.tl-footer-grid {
		grid-template-columns: 1fr;
		gap: var(--tl-space-5);
	}
	.tl-footer-brand-col {
		grid-column: span 1;
	}
}


/* ==========================================================================
   FILE: components/buttons.css
   ========================================================================== */

/**
 * TopLawyer Unified Button System
 *
 * @package TopLawyer
 */

/* 1. Base Button */
.tl-button,
.tl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--tl-space-2);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-button);
	font-weight: 600;
	line-height: 1.2;
	padding: var(--tl-space-3) var(--tl-space-5);
	border-radius: var(--tl-radius-md);
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: background-color var(--tl-motion-fast) var(--tl-ease-standard),
	            border-color var(--tl-motion-fast) var(--tl-ease-standard),
	            color var(--tl-motion-fast) var(--tl-ease-standard),
	            box-shadow var(--tl-motion-fast) var(--tl-ease-standard),
	            transform var(--tl-motion-fast) var(--tl-ease-standard);
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	white-space: nowrap;
}

.tl-button:focus-visible,
.tl-btn:focus-visible {
	outline: 2px solid var(--tl-color-border-focus);
	outline-offset: 3px;
}

.tl-button:active,
.tl-btn:active {
	transform: scale(0.98);
}

.tl-button:disabled,
.tl-button.is-disabled,
.tl-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
	box-shadow: none;
}

/* 2. Button Variants */

/* Primary — Executive Navy */
.tl-button-primary,
.tl-btn-primary {
	background-color: var(--tl-color-primary);
	color: #FFFFFF;
	border-color: var(--tl-color-primary);
	box-shadow: var(--tl-elevation-subtle);
}

.tl-button-primary:hover,
.tl-btn-primary:hover {
	background-color: var(--tl-color-primary-light);
	border-color: var(--tl-color-primary-light);
	color: #FFFFFF;
	box-shadow: var(--tl-elevation-card);
}

/* Secondary — Sovereign Gold */
.tl-button-secondary,
.tl-btn-secondary {
	background-color: var(--tl-color-secondary);
	color: #FFFFFF;
	border-color: var(--tl-color-secondary);
	box-shadow: var(--tl-elevation-subtle);
}

.tl-button-secondary:hover,
.tl-btn-secondary:hover {
	background-color: var(--tl-color-secondary-hover);
	border-color: var(--tl-color-secondary-hover);
	color: #FFFFFF;
	box-shadow: var(--tl-elevation-card);
}

/* Outline */
.tl-button-outline,
.tl-btn-outline {
	background-color: transparent;
	color: var(--tl-color-text);
	border-color: var(--tl-color-border);
}

.tl-button-outline:hover,
.tl-btn-outline:hover {
	background-color: var(--tl-color-surface-subtle);
	border-color: var(--tl-color-secondary);
	color: var(--tl-color-primary);
}

/* Ghost */
.tl-button-ghost {
	background-color: transparent;
	color: var(--tl-color-muted);
	border-color: transparent;
}

.tl-button-ghost:hover {
	background-color: var(--tl-color-surface-subtle);
	color: var(--tl-color-text);
}

/* Danger */
.tl-button-danger {
	background-color: var(--tl-color-error);
	color: #FFFFFF;
	border-color: var(--tl-color-error);
}

.tl-button-danger:hover {
	background-color: #B91C1C;
	border-color: #B91C1C;
}

/* WhatsApp Specialized Action Button */
.tl-button-whatsapp {
	background-color: #25D366;
	color: #FFFFFF;
	border-color: #25D366;
	box-shadow: var(--tl-elevation-subtle);
}

.tl-button-whatsapp:hover {
	background-color: #20BD5A;
	border-color: #20BD5A;
	color: #FFFFFF;
	box-shadow: var(--tl-elevation-card);
}

/* Tertiary — Editorial Text Action with Arrow */
.tl-button-tertiary {
	background: transparent;
	color: var(--tl-color-secondary-hover, #B38F46);
	border: none;
	padding: 0;
	font-weight: 600;
	font-size: var(--tl-type-body-small);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none !important;
	transform: none !important;
	transition: color var(--tl-motion-fast) var(--tl-ease-standard), gap var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-button-tertiary:hover {
	color: var(--tl-color-primary);
	gap: 10px;
	background: transparent;
}

/* 3. Sizes & Modifiers */
.tl-button-sm {
	padding: var(--tl-space-2) var(--tl-space-3);
	font-size: var(--tl-type-body-small);
	border-radius: var(--tl-radius-sm);
}

.tl-button-lg {
	padding: var(--tl-space-4) var(--tl-space-6);
	font-size: var(--tl-type-body-large);
	border-radius: var(--tl-radius-md);
}

.tl-button-block {
	display: flex;
	width: 100%;
}

.tl-button-icon {
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: var(--tl-radius-md);
	flex-shrink: 0;
}

/* SVGs inside buttons */
.tl-button svg,
.tl-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Mobile full-width override helper */
@media (max-width: 575px) {
	.tl-button-mobile-block {
		width: 100%;
		display: flex;
	}
}


/* ==========================================================================
   FILE: components/badges.css
   ========================================================================== */

/**
 * TopLawyer Badge & Tag System
 *
 * @package TopLawyer
 */

.tl-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--tl-space-1);
	padding: var(--tl-space-1) var(--tl-space-3);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-caption);
	font-weight: 600;
	line-height: 1.3;
	border-radius: var(--tl-radius-pill);
	background-color: var(--tl-color-surface-subtle);
	color: var(--tl-color-muted);
	white-space: nowrap;
	border: 1px solid transparent;
}

.tl-badge svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
	flex-shrink: 0;
}

/* Verified Badge — Sovereign Gold & Deep Navy */
.tl-badge-verified {
	background-color: #FEF9C3;
	color: #854D0E;
	border-color: #FEF08A;
}

.tl-badge-verified svg {
	fill: #CA8A04;
}

/* Featured Badge — Accent */
.tl-badge-featured {
	background-color: var(--tl-color-secondary-light);
	color: var(--tl-color-secondary-hover);
	border-color: rgba(197, 160, 89, 0.25);
}

/* Entity Type Badges */
.tl-badge-firm {
	background-color: #EFF6FF;
	color: #1D4ED8;
	border-color: #DBEAFE;
}

.tl-badge-advocate {
	background-color: #F8FAFC;
	color: #334155;
	border-color: var(--tl-color-border);
}

/* Practice Area Chip / Tag */
.tl-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.625rem;
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-caption);
	font-weight: 500;
	border-radius: var(--tl-radius-sm);
	background-color: var(--tl-color-surface-subtle);
	color: var(--tl-color-text-secondary);
	transition: background-color var(--tl-motion-fast) var(--tl-ease-standard),
	            color var(--tl-motion-fast) var(--tl-ease-standard);
	text-decoration: none;
}

.tl-tag:hover {
	background-color: var(--tl-color-border);
	color: var(--tl-color-primary);
}

/* Rating Badge / Chip */
.tl-rating-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-caption);
	font-weight: 600;
}

.tl-rating-chip.has-rating {
	color: #854D0E;
}

.tl-rating-chip.is-neutral {
	color: var(--tl-color-muted);
	font-weight: 500;
}

.tl-rating-chip svg {
	width: 14px;
	height: 14px;
}

.tl-rating-chip.is-neutral svg {
	fill: var(--tl-color-muted-light);
}

.tl-rating-chip.has-rating svg {
	fill: #EAB308;
}


/* ==========================================================================
   FILE: components/cards.css
   ========================================================================== */

/**
 * TopLawyer Card Component Styles
 *
 * @package TopLawyer
 */

.tl-lawyer-card {
	background-color: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	overflow: hidden;
	box-shadow: var(--tl-elevation-subtle);
	transition: transform var(--tl-motion-normal) var(--tl-ease-standard),
	            box-shadow var(--tl-motion-normal) var(--tl-ease-standard),
	            border-color var(--tl-motion-normal) var(--tl-ease-standard);
	display: flex;
	flex-direction: column;
	position: relative;
}

@media (hover: hover) and (pointer: fine) {
	.tl-lawyer-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--tl-elevation-floating);
		border-color: rgba(197, 160, 89, 0.4);
	}

	.tl-lawyer-card:hover .tl-card-media-img {
		transform: scale(1.03);
	}
}

.tl-lawyer-card:active {
	transform: scale(0.99);
}

/* Card Media / Image Header */
.tl-card-media-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: 180px;
	background: linear-gradient(135deg, #112240 0%, #0A192F 100%);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tl-card-media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform var(--tl-motion-normal) var(--tl-ease-standard);
}

.tl-card-type-label {
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-meta, 0.8125rem);
	font-weight: 500;
	color: var(--tl-color-muted);
	margin-top: 2px;
	margin-bottom: var(--tl-space-2);
}

.tl-card-media-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #94A3B8;
	width: 100%;
	height: 100%;
	padding: var(--tl-space-4);
	text-align: center;
}

.tl-card-media-fallback-initials {
	font-family: var(--tl-font-heading);
	font-size: var(--tl-type-h2);
	font-weight: 700;
	color: var(--tl-color-secondary);
	margin-bottom: var(--tl-space-1);
}

.tl-card-media-fallback-text {
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-caption);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #CBD5E1;
}

/* Floating Badges Overlay on Media */
.tl-card-badges-overlay {
	position: absolute;
	top: var(--tl-space-3);
	left: var(--tl-space-3);
	right: var(--tl-space-3);
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
	z-index: 2;
}

.tl-card-badge-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tl-space-1);
}

/* Card Content Body */
.tl-card-content {
	padding: var(--tl-space-5);
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.tl-card-header {
	margin-bottom: var(--tl-space-3);
}

.tl-card-title {
	font-family: var(--tl-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: var(--tl-space-1);
	color: var(--tl-color-primary);
}

.tl-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-card-title a:hover {
	color: var(--tl-color-secondary-hover);
}

.tl-card-practice-area {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tl-space-1);
	margin-bottom: var(--tl-space-3);
}

.tl-card-meta-list {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-2);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
	color: var(--tl-color-muted);
	margin-bottom: var(--tl-space-4);
	flex-grow: 1;
}

.tl-card-meta-item {
	display: flex;
	align-items: center;
	gap: var(--tl-space-2);
}

.tl-card-meta-item svg {
	width: 16px;
	height: 16px;
	fill: var(--tl-color-secondary);
	flex-shrink: 0;
}

.tl-card-trust-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: var(--tl-space-3);
	margin-bottom: var(--tl-space-4);
	border-top: 1px dashed var(--tl-color-border);
}

/* Card Actions / Footer */
.tl-card-actions {
	display: flex;
	gap: var(--tl-space-2);
	align-items: center;
	padding-top: var(--tl-space-3);
	border-top: 1px solid var(--tl-color-border);
}

.tl-card-actions .tl-button {
	flex: 1;
}

.tl-card-actions .tl-button-icon {
	flex: 0 0 42px;
	padding: 0;
	width: 42px;
	height: 42px;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
	.tl-lawyer-card,
	.tl-card-media-img {
		transition: none !important;
		transform: none !important;
	}
}


/* ==========================================================================
   FILE: components/forms.css
   ========================================================================== */

/**
 * TopLawyer Forms & Search Input Styling
 *
 * @package TopLawyer
 */

.tl-form-group {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-1);
	position: relative;
}

.tl-form-label {
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-label);
	font-weight: 600;
	color: var(--tl-color-text-secondary);
}

.tl-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.tl-input-icon {
	position: absolute;
	left: var(--tl-space-4);
	color: var(--tl-color-muted);
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.tl-input-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.tl-input,
.tl-select {
	width: 100%;
	height: 48px;
	padding: 0 var(--tl-space-4);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body);
	color: var(--tl-color-text);
	background-color: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-md);
	transition: border-color var(--tl-motion-fast) var(--tl-ease-standard),
	            box-shadow var(--tl-motion-fast) var(--tl-ease-standard);
	appearance: none;
	-webkit-appearance: none;
}

.tl-input-has-icon {
	padding-left: 2.75rem;
}

.tl-select {
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748B'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 1.25rem 1.25rem;
	cursor: pointer;
}

.tl-input:focus,
.tl-select:focus {
	outline: none;
	border-color: var(--tl-color-secondary);
	box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.tl-input::placeholder {
	color: var(--tl-color-muted);
	opacity: 1;
}

/* Directory Search Hero Bar */
.tl-search-bar {
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-2);
	box-shadow: var(--tl-elevation-card);
	display: grid;
	grid-template-columns: 1.5fr 1fr auto;
	gap: var(--tl-space-2);
	align-items: center;
}

.tl-search-bar .tl-input,
.tl-search-bar .tl-select {
	border: 1px solid transparent;
	background-color: var(--tl-color-background);
}

.tl-search-bar .tl-input:focus,
.tl-search-bar .tl-select:focus {
	background-color: var(--tl-color-surface);
	border-color: var(--tl-color-secondary);
}

.tl-search-bar .tl-button {
	height: 48px;
	padding: 0 var(--tl-space-6);
}

@media (max-width: 768px) {
	.tl-search-bar {
		grid-template-columns: 1fr;
		padding: var(--tl-space-3);
		gap: var(--tl-space-3);
	}

	.tl-search-bar .tl-input,
	.tl-search-bar .tl-select {
		border: 1px solid var(--tl-color-border);
	}
}


/* ==========================================================================
   FILE: components/filters.css
   ========================================================================== */

/**
 * TopLawyer Directory Filter System
 *
 * @package TopLawyer
 */

.tl-filter-wrapper {
	margin-bottom: var(--tl-space-6);
}

/* Filter Bar Header / Top Row */
.tl-filter-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--tl-space-4);
	padding: var(--tl-space-4) 0;
	border-bottom: 1px solid var(--tl-color-border);
}

.tl-results-count {
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
	color: var(--tl-color-muted);
}

.tl-results-count strong {
	color: var(--tl-color-text);
	font-size: var(--tl-type-body);
}

.tl-filter-controls-group {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
}

/* Applied Filter Chips */
.tl-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tl-space-2);
	align-items: center;
	padding-top: var(--tl-space-3);
}

.tl-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--tl-space-2);
	padding: 0.3rem 0.75rem;
	background-color: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-pill);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-caption);
	color: var(--tl-color-text);
}

.tl-filter-chip-remove {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tl-color-muted);
	transition: color var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-filter-chip-remove:hover {
	color: var(--tl-color-error);
}

.tl-filter-chip-remove svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.tl-clear-all-link {
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-caption);
	color: var(--tl-color-muted);
	text-decoration: underline;
	cursor: pointer;
	margin-left: var(--tl-space-2);
}

.tl-clear-all-link:hover {
	color: var(--tl-color-error);
}

/* Desktop Horizontal Filter Bar */
.tl-horizontal-filter-bar {
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-4);
	margin-bottom: var(--tl-space-5);
	box-shadow: var(--tl-elevation-subtle);
}

.tl-horizontal-filter-form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--tl-space-3);
}

.tl-filter-field {
	flex: 1 1 180px;
	min-width: 140px;
}

.tl-filter-field.tl-filter-keyword {
	flex: 1.5 1 220px;
}

.tl-filter-field .tl-select,
.tl-filter-field .tl-input {
	width: 100%;
	height: 44px;
	font-size: 0.9375rem;
}

.tl-filter-actions {
	display: flex;
	align-items: center;
	gap: var(--tl-space-2);
}

.tl-filter-actions .tl-button {
	height: 44px;
	padding: 0 var(--tl-space-4);
}

/* Hide desktop drawer sidebar when horizontal bar is used */
.tl-filter-sidebar {
	display: none;
}

@media (max-width: 991px) {
	.tl-horizontal-filter-bar {
		display: none;
	}
	
	.tl-filter-sidebar {
		display: flex;
	}
}

.tl-filter-group {
	margin-bottom: var(--tl-space-5);
	padding-bottom: var(--tl-space-5);
	border-bottom: 1px solid var(--tl-color-border);
}

.tl-filter-group:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.tl-filter-heading {
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-label);
	font-weight: 700;
	color: var(--tl-color-primary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--tl-space-3);
}

.tl-filter-checkbox-label {
	display: flex;
	align-items: center;
	gap: var(--tl-space-2);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
	color: var(--tl-color-text-secondary);
	cursor: pointer;
	margin-bottom: var(--tl-space-2);
}

.tl-filter-checkbox-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--tl-color-secondary);
	cursor: pointer;
}

/* Mobile Filter Drawer / Modal */
.tl-mobile-filter-trigger {
	display: none;
}

@media (max-width: 991px) {
	.tl-directory-layout {
		grid-template-columns: 1fr;
	}

	.tl-mobile-filter-trigger {
		display: inline-flex;
	}

	.tl-filter-sidebar {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 320px;
		max-width: 85vw;
		z-index: 10001;
		border-radius: 0;
		border-left: 1px solid var(--tl-color-border);
		border-top: none;
		border-bottom: none;
		border-right: none;
		box-shadow: var(--tl-elevation-modal);
		transform: translateX(100%);
		transition: transform var(--tl-motion-normal) var(--tl-ease-standard);
		overflow-y: auto;
		display: flex;
		flex-direction: column;
	}

	.tl-filter-sidebar.is-open {
		transform: translateX(0);
	}

	.tl-filter-backdrop {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: rgba(11, 19, 43, 0.6);
		backdrop-filter: blur(2px);
		z-index: 10000;
	}

	.tl-filter-backdrop.is-active {
		display: block;
	}

	.tl-filter-drawer-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-bottom: var(--tl-space-4);
		margin-bottom: var(--tl-space-4);
		border-bottom: 1px solid var(--tl-color-border);
	}
}


/* ==========================================================================
   FILE: components/mobile-contact-bar.css
   ========================================================================== */

/**
 * TopLawyer Mobile Sticky Contact Bar
 *
 * @package TopLawyer
 */

.tl-mobile-contact-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--tl-color-surface);
	border-top: 1px solid var(--tl-color-border);
	padding: var(--tl-space-3) var(--tl-space-4);
	padding-bottom: calc(var(--tl-space-3) + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -4px 16px rgba(11, 19, 43, 0.08);
	z-index: 999;
}

@media (max-width: 768px) {
	.tl-mobile-contact-bar {
		display: flex;
		align-items: center;
		gap: var(--tl-space-2);
	}

	/* Add bottom padding to body so sticky bar does not cover footer */
	body.has-mobile-contact-bar {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}
}

.tl-mobile-contact-bar .tl-button {
	flex: 1;
	height: 44px;
	padding: 0 var(--tl-space-3);
	font-size: var(--tl-type-body-small);
}

.tl-mobile-contact-bar .tl-button-icon {
	flex: 0 0 44px;
	width: 44px;
}


/* ==========================================================================
   FILE: components/map.css
   ========================================================================== */

/**
 * TopLawyer Map Component Styles
 *
 * @package TopLawyer
 */

.tl-map-container {
	position: relative;
	width: 100%;
	height: 320px;
	border-radius: var(--tl-radius-lg);
	overflow: hidden;
	border: 1px solid var(--tl-color-border);
	background-color: var(--tl-color-surface-subtle);
}

.tl-map-canvas {
	width: 100%;
	height: 100%;
}

.tl-map-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: var(--tl-space-6);
	text-align: center;
	color: var(--tl-color-muted);
}

.tl-map-empty-state svg {
	width: 36px;
	height: 36px;
	fill: var(--tl-color-muted-light);
	margin-bottom: var(--tl-space-2);
}

.tl-map-info-card {
	position: absolute;
	bottom: var(--tl-space-4);
	left: var(--tl-space-4);
	right: var(--tl-space-4);
	max-width: 360px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	padding: var(--tl-space-4);
	border-radius: var(--tl-radius-md);
	border: 1px solid var(--tl-color-border);
	box-shadow: var(--tl-elevation-card);
	z-index: 2;
}

@media (max-width: 480px) {
	.tl-map-container {
		height: 240px;
	}

	.tl-map-info-card {
		position: static;
		max-width: 100%;
		border-radius: 0;
		border-left: none;
		border-right: none;
		border-bottom: none;
	}
}


/* ==========================================================================
   FILE: pages/directory-archive.css
   ========================================================================== */

/**
 * TopLawyer Directory Archive Styles
 *
 * @package TopLawyer
 */

.tl-archive-hero {
	background: linear-gradient(135deg, #0B132B 0%, #1C2541 100%);
	color: var(--tl-color-text-light);
	padding: var(--tl-space-7) 0 var(--tl-space-8);
	position: relative;
	overflow: hidden;
}

.tl-archive-hero::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.tl-archive-hero-content {
	max-width: 760px;
	margin-bottom: var(--tl-space-6);
}

.tl-archive-hero h1 {
	color: #FFFFFF;
	margin-bottom: var(--tl-space-2);
}

.tl-archive-hero p {
	color: #94A3B8;
	font-size: var(--tl-type-body-large);
	margin-bottom: 0;
}

.tl-archive-search-container {
	position: relative;
	z-index: 10;
	margin-top: -32px;
}

/* Results Section */
.tl-archive-results-section {
	padding: var(--tl-space-7) 0 var(--tl-space-8);
}

.tl-lawyers-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--tl-space-6);
	margin-top: var(--tl-space-5);
}

@media (max-width: 1024px) {
	.tl-lawyers-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--tl-space-5);
	}
}

@media (max-width: 640px) {
	.tl-lawyers-grid {
		grid-template-columns: 1fr;
		gap: var(--tl-space-4);
	}
}

/* Empty State / No Results */
.tl-empty-state {
	text-align: center;
	padding: var(--tl-space-8) var(--tl-space-4);
	background: var(--tl-color-surface);
	border: 1px dashed var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	margin: var(--tl-space-6) 0;
}

.tl-empty-state-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto var(--tl-space-4);
	color: var(--tl-color-muted-light);
}

.tl-empty-state-title {
	font-size: var(--tl-type-h3);
	margin-bottom: var(--tl-space-2);
	color: var(--tl-color-primary);
}

.tl-empty-state-text {
	font-size: var(--tl-type-body);
	color: var(--tl-color-muted);
	max-width: 440px;
	margin: 0 auto var(--tl-space-5);
}

/* Pagination */
.tl-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--tl-space-2);
	margin-top: var(--tl-space-7);
}

.tl-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 var(--tl-space-3);
	border-radius: var(--tl-radius-md);
	border: 1px solid var(--tl-color-border);
	background-color: var(--tl-color-surface);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
	font-weight: 600;
	color: var(--tl-color-text);
	text-decoration: none;
	transition: all var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-pagination .page-numbers:hover {
	border-color: var(--tl-color-secondary);
	color: var(--tl-color-secondary);
}

.tl-pagination .page-numbers.current {
	background-color: var(--tl-color-primary);
	border-color: var(--tl-color-primary);
	color: #FFFFFF;
}

/* Bottom SEO Content Section */
.tl-seo-content-section {
	padding: var(--tl-space-8) 0;
	background-color: var(--tl-color-surface);
	border-top: 1px solid var(--tl-color-border);
}

.tl-seo-content-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--tl-space-7);
}

.tl-seo-prose h2 {
	font-size: var(--tl-type-h2);
	margin-bottom: var(--tl-space-4);
}

.tl-seo-prose p {
	color: var(--tl-color-text-secondary);
	line-height: 1.7;
}

@media (max-width: 768px) {
	.tl-seo-content-grid {
		grid-template-columns: 1fr;
	}

	.tl-lawyers-grid {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   FILE: pages/single-lawyer.css
   ========================================================================== */

/**
 * TopLawyer Single Lawyer Profile Styles
 *
 * @package TopLawyer
 */

/* Profile Breadcrumbs */
.tl-breadcrumbs {
	padding: var(--tl-space-4) 0;
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-caption);
	color: var(--tl-color-muted);
}

.tl-breadcrumbs a {
	color: var(--tl-color-muted);
}

.tl-breadcrumbs a:hover {
	color: var(--tl-color-primary);
}

.tl-breadcrumbs-separator {
	margin: 0 var(--tl-space-2);
	color: var(--tl-color-muted-light);
}

/* Profile Hero Section */
.tl-profile-hero {
	background-color: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	overflow: hidden;
	box-shadow: var(--tl-elevation-card);
	margin-bottom: var(--tl-space-7);
}

.tl-profile-hero-banner {
	height: 140px;
	background: linear-gradient(135deg, #0B132B 0%, #1C2541 60%, #C5A059 150%);
	position: relative;
}

.tl-profile-hero-body {
	padding: 0 var(--tl-space-6) var(--tl-space-6);
	display: flex;
	gap: var(--tl-space-6);
	position: relative;
}

.tl-profile-avatar-container {
	flex-shrink: 0;
	margin-top: -64px;
	position: relative;
	z-index: 2;
}

.tl-profile-avatar {
	width: 140px;
	height: 140px;
	border-radius: var(--tl-radius-lg);
	border: 4px solid var(--tl-color-surface);
	box-shadow: var(--tl-elevation-card);
	background-color: #0B132B;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tl-profile-avatar-fallback {
	font-family: var(--tl-font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--tl-color-secondary);
}

.tl-profile-identity {
	flex: 1 1 auto;
	padding-top: var(--tl-space-4);
}

.tl-profile-header-top {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tl-space-2);
	align-items: center;
	margin-bottom: var(--tl-space-2);
}

.tl-profile-name {
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	margin-bottom: var(--tl-space-2);
	color: var(--tl-color-primary);
}

.tl-profile-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tl-space-4);
	color: var(--tl-color-muted);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
	margin-bottom: var(--tl-space-5);
}

.tl-profile-meta-item {
	display: inline-flex;
	align-items: center;
	gap: var(--tl-space-1);
}

.tl-profile-meta-item svg {
	width: 16px;
	height: 16px;
	fill: var(--tl-color-secondary);
}

.tl-profile-actions-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tl-space-3);
	align-items: center;
}

@media (max-width: 768px) {
	.tl-profile-hero-body {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 0 var(--tl-space-4) var(--tl-space-5);
	}

	.tl-profile-avatar-container {
		margin-top: -60px;
	}

	.tl-profile-header-top,
	.tl-profile-meta-row,
	.tl-profile-actions-row {
		justify-content: center;
	}

	.tl-profile-actions-row .tl-button {
		width: 100%;
	}
}

/* Profile 2-Column Content Layout */
.tl-profile-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--tl-space-7);
	margin-bottom: var(--tl-space-8);
}

.tl-profile-main-col {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-6);
}

.tl-profile-sidebar-col {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-6);
}

/* Profile Cards / Sections */
.tl-profile-card {
	background-color: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-6);
	box-shadow: var(--tl-elevation-subtle);
}

.tl-profile-card-title {
	font-size: var(--tl-type-h3);
	margin-bottom: var(--tl-space-4);
	padding-bottom: var(--tl-space-3);
	border-bottom: 1px solid var(--tl-color-border);
	display: flex;
	align-items: center;
	gap: var(--tl-space-2);
}

.tl-profile-card-title svg {
	width: 20px;
	height: 20px;
	fill: var(--tl-color-secondary);
}

.tl-prose {
	font-size: var(--tl-type-body);
	line-height: 1.7;
	color: var(--tl-color-text-secondary);
}

.tl-prose p {
	margin-bottom: var(--tl-space-4);
}

/* Practice Area Grid / Badges */
.tl-practice-areas-grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tl-space-2);
}

.tl-practice-area-badge {
	display: inline-flex;
	align-items: center;
	padding: var(--tl-space-2) var(--tl-space-4);
	background-color: var(--tl-color-surface-subtle);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-md);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
	font-weight: 600;
	color: var(--tl-color-primary);
	text-decoration: none;
	transition: all var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-practice-area-badge:hover {
	background-color: var(--tl-color-primary);
	border-color: var(--tl-color-primary);
	color: #FFFFFF;
}

/* Quick Facts / Info List */
.tl-fact-list {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-3);
}

.tl-fact-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: var(--tl-space-2);
	border-bottom: 1px solid var(--tl-color-surface-subtle);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
}

.tl-fact-label {
	color: var(--tl-color-muted);
}

.tl-fact-value {
	font-weight: 600;
	color: var(--tl-color-text);
}

/* Reviews Section */
.tl-reviews-empty {
	text-align: center;
	padding: var(--tl-space-5) var(--tl-space-3);
	background-color: var(--tl-color-background);
	border-radius: var(--tl-radius-md);
	color: var(--tl-color-muted);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
}

@media (max-width: 991px) {
	.tl-profile-layout {
		grid-template-columns: 1fr;
	}
}

/* Modal Windows (Claim, Review) */
.tl-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.tl-modal.is-active {
	display: flex;
}

.tl-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(11, 19, 43, 0.75);
	backdrop-filter: blur(4px);
}

.tl-modal-card {
	position: relative;
	width: 100%;
	max-width: 540px;
	background: #FFFFFF;
	border-radius: 14px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	z-index: 2;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
}

.tl-modal-header {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--tl-color-border, #E2E8F0);
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #F8FAFC;
}

.tl-modal-title {
	font-family: var(--tl-font-heading, serif);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--tl-color-primary, #0B132B);
	margin: 0;
}

.tl-modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #64748B;
	line-height: 1;
	padding: 4px;
}

.tl-modal-body {
	padding: 1.5rem;
	overflow-y: auto;
}

/* Star Rating Elements */
.tl-star-rating {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: #F59E0B;
	font-size: 1.125rem;
}

.tl-star-number {
	margin-left: 6px;
	font-weight: 700;
	color: var(--tl-color-primary, #0B132B);
	font-size: 0.875rem;
}

.tl-star-picker {
	display: flex;
	gap: 6px;
	margin: 0.5rem 0 1rem;
}

.tl-star-picker-btn {
	background: none;
	border: none;
	font-size: 1.75rem;
	color: #D1D5DB;
	cursor: pointer;
	padding: 2px 4px;
	transition: color 0.15s ease, transform 0.1s ease;
}

.tl-star-picker-btn:hover,
.tl-star-picker-btn.is-active {
	color: #F59E0B;
	transform: scale(1.1);
}

/* Review Cards List */
.tl-review-item {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--tl-color-border, #E2E8F0);
}

.tl-review-item:last-child {
	border-bottom: none;
}

.tl-review-item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.tl-reviewer-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.tl-reviewer-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #EEF2F6;
	color: var(--tl-color-primary, #0B132B);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.875rem;
}

.tl-review-item-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--tl-color-primary, #0B132B);
	margin: 0 0 0.25rem;
}

.tl-review-item-content {
	font-size: 0.9375rem;
	color: var(--tl-color-text-secondary, #334155);
	line-height: 1.6;
	margin: 0;
}

/* Favorite Button */
.tl-favorite-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1rem;
	border-radius: 8px;
	border: 1px solid var(--tl-color-border, #E2E8F0);
	background: #FFFFFF;
	color: var(--tl-color-text, #0F172A);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.tl-favorite-btn:hover {
	border-color: #CBD5E1;
	background: #F8FAFC;
}

.tl-favorite-btn.is-favorited {
	border-color: #FECACA;
	background: var(--tl-color-error-bg, #FEF2F2);
	color: var(--tl-color-error, #DC2626);
}

.tl-favorite-btn.is-favorited svg {
	fill: var(--tl-color-error, #DC2626);
}


/* ==========================================================================
   FILE: pages/homepage.css
   ========================================================================== */

/**
 * TopLawyer Homepage Styles
 *
 * @package TopLawyer
 * @version 0.4.0
 */

/* 1. Hero Section */
.tl-home-hero {
	background: linear-gradient(135deg, #0B132B 0%, #1C2541 65%, #0B132B 100%);
	color: #FFFFFF;
	padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
	position: relative;
	overflow: hidden;
	text-align: center;
}

.tl-home-hero::before {
	content: '';
	position: absolute;
	top: -30%;
	left: 50%;
	transform: translateX(-50%);
	width: 900px;
	height: 600px;
	background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, rgba(11, 19, 43, 0) 70%);
	pointer-events: none;
}

.tl-home-hero-content {
	max-width: 820px;
	margin: 0 auto var(--tl-space-6);
	position: relative;
	z-index: 2;
}

.tl-home-hero h1 {
	color: #FFFFFF;
	font-size: var(--tl-type-display);
	line-height: 1.15;
	margin-bottom: var(--tl-space-3);
	letter-spacing: -0.02em;
}

.tl-home-hero p {
	color: #CBD5E1;
	font-size: var(--tl-type-body-large);
	line-height: 1.6;
	max-width: 680px;
	margin: 0 auto;
}

.tl-home-hero-search {
	max-width: 920px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

/* Hero entrance handled by experience.css (visible by default without JS). */

/* 2. Trust Signals Strip */
.tl-trust-strip {
	background-color: var(--tl-color-surface);
	border-bottom: 1px solid var(--tl-color-border);
	padding: var(--tl-space-5) 0;
	box-shadow: var(--tl-elevation-subtle);
}

.tl-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--tl-space-5);
	align-items: center;
}

.tl-trust-item {
	display: flex;
	align-items: center;
	gap: var(--tl-space-3);
}

.tl-trust-icon-box {
	width: 44px;
	height: 44px;
	border-radius: var(--tl-radius-md);
	background-color: var(--tl-color-secondary-light);
	color: var(--tl-color-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tl-trust-icon-box svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.tl-trust-item strong {
	display: block;
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body-small);
	font-weight: 700;
	color: var(--tl-color-primary);
}

.tl-trust-item span {
	font-size: var(--tl-type-caption);
	color: var(--tl-color-muted);
}

/* 3. Section Headers */
.tl-section-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto var(--tl-space-7);
}

.tl-section-header h2 {
	font-size: var(--tl-type-h2);
	margin-bottom: var(--tl-space-2);
}

.tl-section-header p {
	color: var(--tl-color-muted);
	font-size: var(--tl-type-body);
	line-height: 1.6;
	margin: 0;
}

/* 4. Practice Area Grid Cards */
.tl-practice-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--tl-space-5);
}

@media (max-width: 991px) {
	.tl-practice-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--tl-space-4);
	}
}

@media (max-width: 640px) {
	.tl-practice-grid {
		grid-template-columns: 1fr;
	}
}

.tl-practice-card {
	background-color: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-5);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 140px;
	box-shadow: var(--tl-elevation-subtle);
	transition: transform var(--tl-motion-fast) var(--tl-ease-standard),
	            border-color var(--tl-motion-fast) var(--tl-ease-standard),
	            box-shadow var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-practice-card:hover {
	transform: translateY(-3px);
	border-color: var(--tl-color-secondary);
	box-shadow: var(--tl-elevation-card);
}

.tl-practice-card-title {
	font-family: var(--tl-font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--tl-color-primary);
	margin-bottom: var(--tl-space-1);
}

.tl-practice-card-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-caption);
	color: var(--tl-color-muted);
	padding-top: var(--tl-space-2);
	border-top: 1px dashed var(--tl-color-border);
}

.tl-practice-card-arrow {
	color: var(--tl-color-secondary);
	font-size: 1.125rem;
	transition: transform var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-practice-card:hover .tl-practice-card-arrow {
	transform: translateX(4px);
}

/* 5. Location Cards Grid */
.tl-location-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--tl-space-4);
}

@media (max-width: 1024px) {
	.tl-location-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.tl-location-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.tl-location-grid {
		grid-template-columns: 1fr;
	}
}

.tl-location-card {
	background-color: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-5);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: var(--tl-space-4);
	transition: all var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-location-card:hover {
	border-color: var(--tl-color-secondary);
	transform: translateY(-2px);
	box-shadow: var(--tl-elevation-card);
}

.tl-location-card-icon {
	width: 44px;
	height: 44px;
	border-radius: var(--tl-radius-md);
	background-color: var(--tl-color-surface-subtle);
	color: var(--tl-color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-location-card:hover .tl-location-card-icon {
	background-color: var(--tl-color-primary);
	color: var(--tl-color-secondary);
}

.tl-location-card-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.tl-location-card-info strong {
	display: block;
	font-size: 1.05rem;
	font-family: var(--tl-font-heading);
	color: var(--tl-color-primary);
	margin-bottom: 2px;
}

.tl-location-card-info span {
	font-size: var(--tl-type-caption);
	color: var(--tl-color-muted);
}

/* 6. How TopLawyer Works (3 Simple Steps) */
.tl-steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--tl-space-6);
	position: relative;
}

.tl-step-card {
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-6);
	position: relative;
	box-shadow: var(--tl-elevation-subtle);
}

.tl-step-number {
	width: 48px;
	height: 48px;
	border-radius: var(--tl-radius-full);
	background: var(--tl-color-primary);
	color: var(--tl-color-secondary);
	font-family: var(--tl-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--tl-space-4);
}

.tl-step-card h3 {
	font-size: 1.25rem;
	margin-bottom: var(--tl-space-2);
}

.tl-step-card p {
	color: var(--tl-color-muted);
	font-size: var(--tl-type-body-small);
	line-height: 1.6;
	margin: 0;
}

/* 7. Emotional Trust / Why TopLawyer Banner */
.tl-why-section {
	background: linear-gradient(135deg, #1C2541 0%, #0B132B 100%);
	color: #FFFFFF;
	padding: var(--tl-space-8) 0;
	border-radius: var(--tl-radius-lg);
	margin: var(--tl-space-8) 0;
}

.tl-why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--tl-space-8);
	align-items: center;
	padding: 0 var(--tl-space-6);
}

.tl-why-lead h2 {
	color: #FFFFFF;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	margin-bottom: var(--tl-space-3);
	line-height: 1.25;
}

.tl-why-lead p {
	color: #CBD5E1;
	font-size: var(--tl-type-body-large);
	line-height: 1.7;
	margin-bottom: var(--tl-space-5);
}

.tl-why-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--tl-space-5);
}

.tl-why-feature-item {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--tl-radius-md);
	padding: var(--tl-space-4);
}

.tl-why-feature-item h4 {
	color: var(--tl-color-secondary);
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-body);
	margin-bottom: var(--tl-space-1);
}

.tl-why-feature-item p {
	color: #94A3B8;
	font-size: var(--tl-type-caption);
	line-height: 1.5;
	margin: 0;
}

/* 8. Accessible FAQ Accordions */
.tl-accordion-wrapper {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-3);
}

.tl-accordion-item {
	background-color: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-md);
	overflow: hidden;
	transition: border-color var(--tl-motion-fast) var(--tl-ease-standard);
}

.tl-accordion-item.is-open {
	border-color: var(--tl-color-secondary);
}

.tl-accordion-trigger {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--tl-space-4) var(--tl-space-5);
	background: transparent;
	border: none;
	text-align: left;
	font-family: var(--tl-font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--tl-color-primary);
	cursor: pointer;
	gap: var(--tl-space-4);
}

.tl-accordion-trigger svg {
	width: 18px;
	height: 18px;
	stroke: var(--tl-color-secondary);
	transition: transform var(--tl-motion-fast) var(--tl-ease-standard);
	flex-shrink: 0;
}

.tl-accordion-item.is-open .tl-accordion-trigger svg {
	transform: rotate(180deg);
}

.tl-accordion-content {
	display: none;
	padding: 0 var(--tl-space-5) var(--tl-space-5);
	font-size: var(--tl-type-body-small);
	color: var(--tl-color-text-secondary);
	line-height: 1.7;
}

.tl-accordion-item.is-open .tl-accordion-content {
	display: block;
}

/* 9. Final Closing CTA */
.tl-closing-cta {
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-8) var(--tl-space-6);
	text-align: center;
	box-shadow: var(--tl-elevation-card);
	margin: var(--tl-space-8) 0;
}

.tl-closing-cta h2 {
	font-size: var(--tl-type-h2);
	margin-bottom: var(--tl-space-2);
}

.tl-closing-cta p {
	color: var(--tl-color-muted);
	font-size: var(--tl-type-body);
	max-width: 580px;
	margin: 0 auto var(--tl-space-5);
}

.tl-closing-cta-actions {
	display: flex;
	justify-content: center;
	gap: var(--tl-space-3);
	flex-wrap: wrap;
}

@media (max-width: 991px) {
	.tl-steps-grid {
		grid-template-columns: 1fr;
	}
	.tl-why-grid {
		grid-template-columns: 1fr;
		gap: var(--tl-space-6);
	}
}

@media (max-width: 640px) {
	.tl-why-features {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   FILE: pages/core-pages.css
   ========================================================================== */

/**
 * TopLawyer Core Pages Styles
 *
 * Covers About, Contact, FAQs, Legal policies, Advertise, Write for Us, Law Firms, and Sitemap.
 *
 * @package TopLawyer
 * @version 0.4.0
 */

/* 1. Universal Page Hero Banner */
.tl-page-hero {
	background: linear-gradient(135deg, #0B132B 0%, #1C2541 100%);
	color: #FFFFFF;
	padding: var(--tl-space-7) 0;
	position: relative;
	overflow: hidden;
}

.tl-page-hero-inner {
	max-width: 840px;
}

.tl-page-hero h1 {
	color: #FFFFFF;
	font-size: var(--tl-type-h1);
	margin-bottom: var(--tl-space-2);
}

.tl-page-hero p {
	color: #CBD5E1;
	font-size: var(--tl-type-body-large);
	line-height: 1.6;
	margin: 0;
}

/* 2. Standard Prose / Content Layout */
.tl-page-content-wrapper {
	padding: var(--tl-space-8) 0;
}

.tl-prose-container {
	max-width: 840px;
	margin: 0 auto;
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: clamp(1.5rem, 5vw, 3rem);
	box-shadow: var(--tl-elevation-subtle);
}

.tl-prose h2 {
	font-size: 1.65rem;
	margin: var(--tl-space-6) 0 var(--tl-space-3);
	padding-bottom: var(--tl-space-2);
	border-bottom: 1px solid var(--tl-color-border);
}

.tl-prose h3 {
	font-size: 1.3rem;
	margin: var(--tl-space-5) 0 var(--tl-space-2);
}

.tl-prose p {
	color: var(--tl-color-text-secondary);
	font-size: var(--tl-type-body);
	line-height: 1.75;
	margin-bottom: var(--tl-space-4);
}

.tl-prose ul, .tl-prose ol {
	padding-left: var(--tl-space-5);
	margin-bottom: var(--tl-space-4);
	color: var(--tl-color-text-secondary);
}

.tl-prose li {
	margin-bottom: var(--tl-space-2);
	line-height: 1.65;
}

/* 3. Table of Contents Anchor Box */
.tl-toc-box {
	background-color: var(--tl-color-surface-subtle);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-md);
	padding: var(--tl-space-4) var(--tl-space-5);
	margin-bottom: var(--tl-space-6);
}

.tl-toc-box h3 {
	font-family: var(--tl-font-ui);
	font-size: var(--tl-type-label);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--tl-color-primary);
	margin: 0 0 var(--tl-space-3) 0;
}

.tl-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: var(--tl-type-body-small);
}

.tl-toc-list a {
	color: var(--tl-color-text-secondary);
	text-decoration: none;
}

.tl-toc-list a:hover {
	color: var(--tl-color-secondary);
	text-decoration: underline;
}

/* 4. Contact Page Grid & Form */
.tl-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: var(--tl-space-7);
	align-items: start;
}

.tl-contact-info-cards {
	display: flex;
	flex-direction: column;
	gap: var(--tl-space-4);
}

.tl-contact-card {
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-5);
	display: flex;
	align-items: flex-start;
	gap: var(--tl-space-4);
	box-shadow: var(--tl-elevation-subtle);
}

.tl-contact-icon {
	width: 44px;
	height: 44px;
	border-radius: var(--tl-radius-md);
	background: var(--tl-color-secondary-light);
	color: var(--tl-color-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tl-contact-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.tl-contact-card-text h3 {
	font-size: 1.125rem;
	margin-bottom: 4px;
}

.tl-contact-card-text p {
	color: var(--tl-color-muted);
	font-size: var(--tl-type-body-small);
	margin: 0;
	line-height: 1.5;
}

.tl-contact-form-box {
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	box-shadow: var(--tl-elevation-card);
}

/* 5. Advertise Page Package Grid */
.tl-tier-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--tl-space-6);
	margin: var(--tl-space-6) 0;
}

.tl-tier-card {
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-6);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: var(--tl-elevation-subtle);
	position: relative;
}

.tl-tier-card.is-featured {
	border-color: var(--tl-color-secondary);
	box-shadow: var(--tl-elevation-card);
}

.tl-tier-badge {
	position: absolute;
	top: -12px;
	right: 20px;
	background: var(--tl-color-secondary);
	color: #FFFFFF;
	font-size: var(--tl-type-caption);
	font-weight: 700;
	padding: 2px 10px;
	border-radius: var(--tl-radius-pill);
}

.tl-tier-card h3 {
	font-size: 1.35rem;
	margin-bottom: var(--tl-space-2);
}

.tl-tier-features {
	list-style: none;
	padding: 0;
	margin: var(--tl-space-4) 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: var(--tl-type-body-small);
	color: var(--tl-color-text-secondary);
}

.tl-tier-features li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tl-tier-features li svg {
	width: 16px;
	height: 16px;
	fill: var(--tl-color-success);
	flex-shrink: 0;
}

/* 6. Sitemap Directory Tree */
.tl-sitemap-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--tl-space-6);
	margin-top: var(--tl-space-6);
}

.tl-sitemap-section {
	background: var(--tl-color-surface);
	border: 1px solid var(--tl-color-border);
	border-radius: var(--tl-radius-lg);
	padding: var(--tl-space-5);
}

.tl-sitemap-section h3 {
	font-size: 1.15rem;
	margin-bottom: var(--tl-space-3);
	padding-bottom: var(--tl-space-2);
	border-bottom: 1px solid var(--tl-color-border);
}

.tl-sitemap-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: var(--tl-type-body-small);
}

.tl-sitemap-list a {
	color: var(--tl-color-text-secondary);
	text-decoration: none;
}

.tl-sitemap-list a:hover {
	color: var(--tl-color-secondary);
	text-decoration: underline;
}

@media (max-width: 991px) {
	.tl-contact-grid {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   FILE: pages/blog.css
   ========================================================================== */

/**
 * TopLawyer Editorial & Blog Design System
 * 
 * Provides typography, layout, Table of Contents, author profiles,
 * article cards, and responsive reading ergonomics.
 *
 * @package TopLawyer
 */

/* ==========================================================================
   1. Editorial Layout & Containers
   ========================================================================== */

.tl-editorial-wrapper,
.tl-blog-archive-wrapper {
	background-color: var(--tl-color-surface, #f8fafc);
	min-height: 100vh;
	padding-bottom: 80px;
}

/* Hero Section */
.tl-editorial-hero,
.tl-blog-hero {
	background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
	color: #ffffff;
	padding: 56px 0 48px;
	position: relative;
	margin-bottom: 40px;
	border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tl-blog-hero-inner {
	max-width: 860px;
	margin: 0 auto;
	text-align: center;
}

.tl-hero-eyebrow {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--tl-color-gold, #d4af37);
	margin-bottom: 12px;
}

.tl-editorial-hero-badge {
	margin-bottom: 16px;
}

.tl-editorial-hero-badge a {
	display: inline-block;
	background: rgba(212, 175, 55, 0.15);
	color: var(--tl-color-gold, #d4af37);
	border: 1px solid rgba(212, 175, 55, 0.3);
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tl-editorial-hero-badge a:hover {
	background: var(--tl-color-gold, #d4af37);
	color: #0b132b;
}

.tl-editorial-hero-title,
.tl-blog-hero-title {
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.25;
	color: #ffffff;
	margin: 0 0 16px;
	letter-spacing: -0.02em;
}

@media (min-width: 768px) {
	.tl-editorial-hero-title,
	.tl-blog-hero-title {
		font-size: 2.75rem;
	}
}

.tl-editorial-hero-lead,
.tl-blog-hero-subtitle {
	font-size: 1.125rem;
	line-height: 1.6;
	color: #94a3b8;
	margin: 0 0 24px;
	max-width: 760px;
}

/* Breadcrumbs */
.tl-breadcrumbs {
	margin-bottom: 20px;
}

.tl-breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.8125rem;
}

.tl-blog-hero .tl-breadcrumb-list {
	justify-content: center;
}

.tl-breadcrumb-item a {
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tl-breadcrumb-item a:hover {
	color: var(--tl-color-gold, #d4af37);
}

.tl-breadcrumb-separator {
	color: #64748b;
}

.tl-breadcrumb-current {
	color: var(--tl-color-gold, #d4af37);
	font-weight: 500;
}

/* Hero Metadata */
.tl-editorial-hero-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tl-meta-author-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #ffffff;
}

.tl-meta-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid var(--tl-color-gold, #d4af37);
}

.tl-meta-author-info {
	display: flex;
	flex-direction: column;
}

.tl-meta-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
}

.tl-meta-author-name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #ffffff;
}

.tl-hero-meta-timestamps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.tl-timestamp-item {
	display: flex;
	flex-direction: column;
	font-size: 0.875rem;
	color: #e2e8f0;
}

/* ==========================================================================
   2. Article Layout & Reading Typography
   ========================================================================== */

.tl-editorial-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 1024px) {
	.tl-editorial-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 48px;
		align-items: start;
	}
}

.tl-editorial-main {
	background: #ffffff;
	border-radius: var(--tl-radius-lg, 12px);
	padding: 32px 24px;
	border: 1px solid var(--tl-color-border, #e2e8f0);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
	.tl-editorial-main {
		padding: 48px;
	}
}

/* Featured Media in Article */
.tl-editorial-featured-media {
	margin: -32px -24px 32px;
	overflow: hidden;
	border-top-left-radius: var(--tl-radius-lg, 12px);
	border-top-right-radius: var(--tl-radius-lg, 12px);
}

@media (min-width: 768px) {
	.tl-editorial-featured-media {
		margin: -48px -48px 40px;
	}
}

.tl-editorial-hero-img {
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
	display: block;
}

.tl-editorial-img-caption {
	padding: 8px 16px;
	font-size: 0.8125rem;
	color: #64748b;
	text-align: center;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

/* Prose Typography */
.tl-editorial-content {
	color: #1e293b;
	font-size: 1.125rem;
	line-height: 1.8;
}

.tl-editorial-content p {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.tl-editorial-content h2 {
	font-size: 1.625rem;
	font-weight: 700;
	color: #0b132b;
	margin-top: 2.75rem;
	margin-bottom: 1rem;
	line-height: 1.3;
	padding-bottom: 8px;
	border-bottom: 1px solid #e2e8f0;
	scroll-margin-top: 100px;
}

.tl-editorial-content h3 {
	font-size: 1.3125rem;
	font-weight: 600;
	color: #1c2541;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	line-height: 1.4;
	scroll-margin-top: 100px;
}

.tl-editorial-content h4 {
	font-size: 1.125rem;
	font-weight: 600;
	color: #334155;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.tl-editorial-content ul,
.tl-editorial-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.tl-editorial-content li {
	margin-bottom: 0.5rem;
}

.tl-editorial-content a {
	color: #0b132b;
	text-decoration: underline;
	text-decoration-color: var(--tl-color-gold, #d4af37);
	text-underline-offset: 3px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.tl-editorial-content a:hover {
	color: var(--tl-color-gold, #d4af37);
}

.tl-editorial-content blockquote {
	margin: 2rem 0;
	padding: 16px 24px;
	border-left: 4px solid var(--tl-color-gold, #d4af37);
	background: #fdfbf7;
	border-radius: 0 var(--tl-radius-md, 8px) var(--tl-radius-md, 8px) 0;
	font-style: italic;
	color: #334155;
}

.tl-editorial-content blockquote p:last-child {
	margin-bottom: 0;
}

/* Responsive Tables */
.tl-table-responsive {
	width: 100%;
	overflow-x: auto;
	margin: 2rem 0;
	border: 1px solid #e2e8f0;
	border-radius: var(--tl-radius-md, 8px);
}

.tl-editorial-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	text-align: left;
}

.tl-editorial-content th {
	background: #0b132b;
	color: #ffffff;
	font-weight: 600;
	padding: 12px 16px;
	border: 1px solid #1e293b;
}

.tl-editorial-content td {
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
}

.tl-editorial-content tr:nth-child(even) td {
	background: #f8fafc;
}

/* ==========================================================================
   3. Table of Contents Component
   ========================================================================== */

.tl-editorial-toc-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid var(--tl-color-gold, #d4af37);
	border-radius: var(--tl-radius-md, 8px);
	padding: 20px;
	margin-bottom: 32px;
}

.tl-toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.tl-toc-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #0b132b;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.tl-toc-toggle {
	background: none;
	border: none;
	color: #64748b;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.tl-toc-toggle:hover {
	color: #0b132b;
	background: #e2e8f0;
}

.tl-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: toc-counter;
}

.tl-toc-item {
	margin-bottom: 8px;
	position: relative;
}

.tl-toc-level-3 {
	padding-left: 20px;
	font-size: 0.9375rem;
}

.tl-toc-link {
	color: #334155;
	text-decoration: none;
	display: inline-block;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.tl-toc-link:hover,
.tl-toc-link.active {
	color: var(--tl-color-gold, #d4af37);
	font-weight: 600;
}

/* Sticky Desktop Sidebar */
.tl-editorial-sidebar {
	position: relative;
}

.tl-sticky-sidebar-inner {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.tl-sidebar-widget {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--tl-radius-lg, 12px);
	padding: 24px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.tl-widget-title {
	font-size: 1rem;
	font-weight: 700;
	color: #0b132b;
	margin: 0 0 16px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--tl-color-gold, #d4af37);
}

.tl-sidebar-cta-widget {
	background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
	color: #ffffff;
	border: 1px solid rgba(212, 175, 55, 0.3);
}

.tl-widget-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--tl-color-gold, #d4af37);
	margin-bottom: 8px;
}

.tl-widget-cta-title {
	color: #ffffff;
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.tl-widget-cta-desc {
	color: #94a3b8;
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0 0 16px;
}

/* ==========================================================================
   4. Editorial Takeaways, Geo Tag, Disclaimer & Author
   ========================================================================== */

.tl-editorial-takeaways {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: var(--tl-radius-md, 8px);
	padding: 24px;
	margin: 40px 0;
}

.tl-takeaways-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.tl-takeaways-icon {
	font-size: 1.5rem;
}

.tl-takeaways-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1e3a8a;
	margin: 0;
}

.tl-takeaways-list {
	padding-left: 20px;
	margin: 0;
	color: #1e40af;
	line-height: 1.6;
}

.tl-takeaways-list li {
	margin-bottom: 8px;
}

/* Geo Tag */
.tl-editorial-geo-tag {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0;
	padding: 12px 16px;
	background: #f8fafc;
	border-radius: var(--tl-radius-md, 8px);
	border: 1px solid #e2e8f0;
}

.tl-geo-tag-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #475569;
}

.tl-geo-tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	color: #0b132b;
	border: 1px solid #cbd5e1;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tl-geo-tag-pill:hover {
	border-color: var(--tl-color-gold, #d4af37);
	color: var(--tl-color-gold, #d4af37);
}

/* Legal Disclaimer */
.tl-editorial-disclaimer {
	display: flex;
	gap: 16px;
	background: #fffbeb;
	border: 1px solid #fef3c7;
	border-left: 4px solid #f59e0b;
	border-radius: var(--tl-radius-md, 8px);
	padding: 20px;
	margin: 40px 0;
}

.tl-disclaimer-icon {
	color: #d97706;
	flex-shrink: 0;
	margin-top: 2px;
}

.tl-disclaimer-title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #92400e;
	margin: 0 0 6px;
}

.tl-disclaimer-content p {
	font-size: 0.875rem;
	line-height: 1.6;
	color: #78350f;
	margin: 0;
}

/* Author Box */
.tl-editorial-author-box {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--tl-radius-lg, 12px);
	margin: 40px 0;
}

@media (min-width: 640px) {
	.tl-editorial-author-box {
		flex-direction: row;
		align-items: flex-start;
	}
}

.tl-author-avatar-lg {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid var(--tl-color-gold, #d4af37);
	flex-shrink: 0;
}

.tl-author-box-details {
	flex: 1;
}

.tl-author-box-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #64748b;
}

.tl-author-box-name {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0b132b;
	margin: 4px 0 8px;
}

.tl-author-box-bio {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 12px;
}

.tl-author-box-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--tl-color-gold, #d4af37);
	text-decoration: none;
}

.tl-author-box-link:hover {
	text-decoration: underline;
}

/* ==========================================================================
   5. Related Lawyers Mini Grid & Contextual CTA Banner
   ========================================================================== */

.tl-editorial-lawyers-section {
	margin: 48px 0;
	padding-top: 40px;
	border-top: 1px solid #e2e8f0;
}

.tl-lawyers-mini-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-top: 24px;
}

@media (min-width: 640px) {
	.tl-lawyers-mini-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.tl-lawyer-mini-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--tl-radius-md, 8px);
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-lawyer-mini-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
	border-color: var(--tl-color-gold, #d4af37);
}

.tl-mini-card-photo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 12px;
	border: 2px solid var(--tl-color-gold, #d4af37);
}

.tl-mini-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tl-mini-card-fallback-avatar {
	width: 100%;
	height: 100%;
	background: #0b132b;
	color: var(--tl-color-gold, #d4af37);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.25rem;
}

.tl-mini-card-name {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 4px;
}

.tl-mini-card-name a {
	color: #0b132b;
	text-decoration: none;
}

.tl-mini-card-name a:hover {
	color: var(--tl-color-gold, #d4af37);
}

.tl-mini-card-role {
	font-size: 0.8125rem;
	color: #64748b;
	margin-bottom: 4px;
}

.tl-mini-card-location {
	font-size: 0.75rem;
	color: #94a3b8;
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 16px;
}

.tl-mini-card-action {
	margin-top: auto;
	width: 100%;
}

/* Contextual CTA Banner */
.tl-editorial-cta-banner {
	background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: var(--tl-radius-lg, 12px);
	padding: 32px;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 48px 0;
	align-items: center;
	text-align: center;
}

@media (min-width: 768px) {
	.tl-editorial-cta-banner {
		flex-direction: row;
		text-align: left;
		justify-content: space-between;
	}
}

.tl-cta-banner-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 8px;
}

.tl-cta-banner-desc {
	font-size: 1rem;
	line-height: 1.5;
	color: #94a3b8;
	margin: 0;
	max-width: 580px;
}

.tl-cta-banner-action {
	flex-shrink: 0;
}

/* ==========================================================================
   6. Editorial Cards & Blog Grid
   ========================================================================== */

.tl-editorial-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 640px) {
	.tl-editorial-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.tl-editorial-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.tl-editorial-card {
	background: #ffffff;
	border: 1px solid var(--tl-color-border, #e2e8f0);
	border-radius: var(--tl-radius-lg, 12px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-editorial-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
	border-color: rgba(212, 175, 55, 0.4);
}

.tl-editorial-card-media {
	position: relative;
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #0b132b;
}

.tl-editorial-card-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
}

.tl-editorial-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tl-editorial-card:hover .tl-editorial-card-img {
	transform: scale(1.04);
}

.tl-editorial-card-fallback-thumb {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--tl-color-gold, #d4af37);
	gap: 8px;
}

.tl-fallback-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tl-editorial-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(11, 19, 43, 0.85);
	backdrop-filter: blur(4px);
	color: var(--tl-color-gold, #d4af37);
	border: 1px solid rgba(212, 175, 55, 0.3);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 9999px;
}

.tl-editorial-card-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.tl-editorial-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	color: #64748b;
	margin-bottom: 8px;
}

.tl-editorial-card-title {
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 12px;
}

.tl-editorial-card-title a {
	color: #0b132b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tl-editorial-card-title a:hover {
	color: var(--tl-color-gold, #d4af37);
}

.tl-editorial-card-excerpt {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tl-editorial-card-footer {
	margin-top: auto;
	padding: 16px 24px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f8fafc;
}

.tl-editorial-author {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tl-author-avatar-sm {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.tl-author-name {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
}

.tl-editorial-card-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--tl-color-gold, #d4af37);
	text-decoration: none;
	transition: gap 0.2s ease;
}

.tl-editorial-card-link:hover {
	gap: 8px;
}

/* ==========================================================================
   7. Spotlight Hero Card on Blog Index
   ========================================================================== */

.tl-blog-spotlight-section {
	margin-bottom: 48px;
}

.tl-spotlight-card {
	background: #ffffff;
	border-radius: var(--tl-radius-lg, 12px);
	border: 1px solid #e2e8f0;
	overflow: hidden;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
	display: grid;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.tl-spotlight-card {
		grid-template-columns: 1.2fr 1fr;
	}
}

.tl-spotlight-media {
	position: relative;
	min-height: 280px;
	background: #0b132b;
}

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

.tl-spotlight-fallback-thumb {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tl-color-gold, #d4af37);
}

.tl-spotlight-content {
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tl-spotlight-title {
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 16px;
}

.tl-spotlight-title a {
	color: #0b132b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tl-spotlight-title a:hover {
	color: var(--tl-color-gold, #d4af37);
}

.tl-spotlight-excerpt {
	font-size: 1rem;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 24px;
}

.tl-spotlight-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	border-top: 1px solid #f1f5f9;
}

.tl-spotlight-author-info {
	display: flex;
	flex-direction: column;
}

.tl-author-role {
	font-size: 0.75rem;
	color: #64748b;
}

/* In-Blog Search Form */
.tl-blog-search-form {
	max-width: 600px;
	margin: 0 auto 24px;
}

.tl-blog-search-box {
	display: flex;
	align-items: center;
	background: #ffffff;
	border-radius: 9999px;
	padding: 6px 6px 6px 16px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.tl-blog-search-icon {
	color: #94a3b8;
	flex-shrink: 0;
	margin-right: 8px;
}

.tl-blog-search-input {
	flex: 1;
	border: none;
	background: none;
	padding: 8px;
	font-size: 0.9375rem;
	color: #0f172a;
	outline: none;
}

.tl-blog-search-btn {
	border-radius: 9999px;
	padding: 8px 20px;
	font-size: 0.875rem;
	flex-shrink: 0;
}

/* Category Pills */
.tl-blog-category-pills {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.tl-pills-label {
	font-size: 0.8125rem;
	color: #94a3b8;
	font-weight: 600;
}

.tl-pills-scroll {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.tl-topic-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #e2e8f0;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tl-topic-pill:hover {
	background: var(--tl-color-gold, #d4af37);
	color: #0b132b;
	border-color: var(--tl-color-gold, #d4af37);
}

.tl-pill-count {
	font-size: 0.75rem;
	opacity: 0.7;
}

/* Pagination */
.tl-blog-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.tl-blog-pagination .nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
}

.tl-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--tl-radius-md, 8px);
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #334155;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tl-blog-pagination .page-numbers.current,
.tl-blog-pagination .page-numbers:hover {
	background: #0b132b;
	color: var(--tl-color-gold, #d4af37);
	border-color: #0b132b;
}

/* Empty State */
.tl-empty-state-editorial {
	text-align: center;
	padding: 64px 24px;
	background: #ffffff;
	border-radius: var(--tl-radius-lg, 12px);
	border: 1px dashed #cbd5e1;
	margin: 40px 0;
}

.tl-empty-icon {
	font-size: 3rem;
	margin-bottom: 16px;
}

/* ==========================================================================
   8. Author Archive Specifics
   ========================================================================== */

.tl-author-hero .tl-author-hero-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
	max-width: 680px;
	margin: 0 auto;
}

@media (min-width: 640px) {
	.tl-author-hero .tl-author-hero-profile {
		flex-direction: row;
		text-align: left;
		align-items: flex-start;
	}
}

.tl-author-hero-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	border: 3px solid var(--tl-color-gold, #d4af37);
	flex-shrink: 0;
}

.tl-author-hero-details {
	flex: 1;
}

.tl-author-hero-stats {
	font-size: 0.875rem;
	color: var(--tl-color-gold, #d4af37);
	font-weight: 600;
	margin: 0 0 12px;
}

.tl-author-hero-bio {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #94a3b8;
}


/* ==========================================================================
   FILE: pages/auth.css
   ========================================================================== */

/**
 * TopLawyer Authentication Pages Styling (Login, Registration, Thank-You)
 *
 * @package TopLawyer
 */

.tl-auth-container {
	min-height: calc(100vh - 180px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem;
	background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
}

.tl-auth-card {
	width: 100%;
	max-width: 480px;
	background: var(--tl-color-surface, #FFFFFF);
	border: 1px solid var(--tl-color-border, #E2E8F0);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(11, 19, 43, 0.08);
	padding: 2.5rem;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.tl-auth-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--tl-color-secondary, #C5A059), var(--tl-color-primary, #0B132B));
}

.tl-auth-header {
	text-align: center;
	margin-bottom: 2rem;
}

.tl-auth-brand-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--tl-color-secondary, #C5A059);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.75rem;
}

.tl-auth-title {
	font-family: var(--tl-font-heading, serif);
	font-size: 1.875rem;
	color: var(--tl-color-primary, #0B132B);
	margin: 0 0 0.5rem;
	font-weight: 700;
}

.tl-auth-subtitle {
	font-size: 0.9375rem;
	color: var(--tl-color-muted, #64748B);
	margin: 0;
	line-height: 1.5;
}

/* Alert States */
.tl-auth-alert {
	padding: 0.875rem 1rem;
	border-radius: 8px;
	font-size: 0.875rem;
	line-height: 1.4;
	margin-bottom: 1.5rem;
	display: none;
}

.tl-auth-alert.is-visible {
	display: block;
}

.tl-auth-alert-error {
	background: var(--tl-color-error-bg, #FEF2F2);
	border: 1px solid #FECACA;
	color: var(--tl-color-error, #DC2626);
}

.tl-auth-alert-success {
	background: var(--tl-color-success-bg, #ECFDF5);
	border: 1px solid #A7F3D0;
	color: var(--tl-color-success, #059669);
}

/* Form Controls */
.tl-form-group {
	margin-bottom: 1.25rem;
}

.tl-form-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--tl-color-text, #0F172A);
	margin-bottom: 0.375rem;
}

.tl-form-input {
	width: 100%;
	height: 48px;
	padding: 0 1rem;
	font-size: 0.9375rem;
	color: var(--tl-color-text, #0F172A);
	background: #FFFFFF;
	border: 1px solid var(--tl-color-border, #E2E8F0);
	border-radius: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
	box-sizing: border-box;
}

.tl-form-input:focus {
	border-color: var(--tl-color-secondary, #C5A059);
	box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.tl-password-wrapper {
	position: relative;
}

.tl-password-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--tl-color-muted, #64748B);
	cursor: pointer;
	padding: 4px 6px;
	font-size: 0.8125rem;
	font-weight: 600;
}

.tl-password-toggle:hover {
	color: var(--tl-color-primary, #0B132B);
}

/* Checkbox & Options */
.tl-form-row-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
}

.tl-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	color: var(--tl-color-text-secondary, #334155);
}

.tl-auth-link {
	color: var(--tl-color-secondary, #C5A059);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.15s ease;
}

.tl-auth-link:hover {
	color: var(--tl-color-secondary-hover, #B38F46);
	text-decoration: underline;
}

/* Submit Button */
.tl-btn-auth {
	width: 100%;
	height: 50px;
	background: var(--tl-color-primary, #0B132B);
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.tl-btn-auth:hover {
	background: var(--tl-color-primary-light, #1C2541);
}

.tl-btn-auth:active {
	transform: scale(0.99);
}

.tl-btn-auth:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

/* Footer / Switcher */
.tl-auth-footer {
	text-align: center;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--tl-color-border, #E2E8F0);
	font-size: 0.875rem;
	color: var(--tl-color-muted, #64748B);
}

/* Forgot Password Section */
.tl-forgot-section {
	display: none;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px dashed var(--tl-color-border, #E2E8F0);
}

.tl-forgot-section.is-open {
	display: block;
}

/* Thank You Specific */
.tl-thankyou-icon {
	width: 72px;
	height: 72px;
	background: var(--tl-color-success-bg, #ECFDF5);
	border: 2px solid var(--tl-color-success, #059669);
	color: var(--tl-color-success, #059669);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin: 0 auto 1.5rem;
}

.tl-next-steps-list {
	text-align: left;
	background: var(--tl-color-background, #F8FAFC);
	border: 1px solid var(--tl-color-border, #E2E8F0);
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
	list-style: none;
}

.tl-next-steps-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.875rem;
	font-size: 0.9375rem;
	color: var(--tl-color-text-secondary, #334155);
}

.tl-next-steps-list li:last-child {
	margin-bottom: 0;
}

.tl-step-badge {
	background: var(--tl-color-secondary, #C5A059);
	color: #FFFFFF;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.tl-auth-card {
		padding: 1.75rem 1.25rem;
		border-radius: 12px;
	}
	.tl-auth-title {
		font-size: 1.5rem;
	}
}


/* ==========================================================================
   FILE: pages/dashboard.css
   ========================================================================== */

/**
 * TopLawyer User Dashboard & Listing Management Styling
 *
 * @package TopLawyer
 */

.tl-dashboard-layout {
	display: flex;
	min-height: calc(100vh - 160px);
	background: #F8FAFC;
}

/* Sidebar Navigation */
.tl-dashboard-sidebar {
	width: 280px;
	background: #FFFFFF;
	border-right: 1px solid var(--tl-color-border, #E2E8F0);
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 80px;
	height: calc(100vh - 80px);
	overflow-y: auto;
}

.tl-user-badge-card {
	padding: 1.75rem 1.5rem;
	border-bottom: 1px solid var(--tl-color-border, #E2E8F0);
	display: flex;
	align-items: center;
	gap: 1rem;
}

.tl-user-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tl-color-primary, #0B132B), #1C2541);
	color: var(--tl-color-secondary, #C5A059);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.125rem;
	border: 2px solid var(--tl-color-secondary, #C5A059);
	overflow: hidden;
	flex-shrink: 0;
}

.tl-user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tl-user-info {
	overflow: hidden;
}

.tl-user-name {
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--tl-color-primary, #0B132B);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0;
}

.tl-user-role {
	font-size: 0.75rem;
	color: var(--tl-color-muted, #64748B);
	text-transform: capitalize;
	margin: 0.125rem 0 0;
}

/* Nav Menu */
.tl-dashboard-nav {
	padding: 1rem 0.75rem;
	flex-grow: 1;
}

.tl-nav-item {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	color: var(--tl-color-text-secondary, #334155);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: background-color 0.15s ease, color 0.15s ease;
	margin-bottom: 0.25rem;
}

.tl-nav-item:hover {
	background: #F1F5F9;
	color: var(--tl-color-primary, #0B132B);
}

.tl-nav-item.is-active {
	background: var(--tl-color-primary, #0B132B);
	color: #FFFFFF;
	font-weight: 600;
}

.tl-nav-item.is-active svg {
	fill: var(--tl-color-secondary, #C5A059);
}

.tl-nav-badge {
	margin-left: auto;
	background: #E2E8F0;
	color: var(--tl-color-text, #0F172A);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 999px;
}

.tl-nav-item.is-active .tl-nav-badge {
	background: var(--tl-color-secondary, #C5A059);
	color: #FFFFFF;
}

.tl-nav-logout {
	margin-top: auto;
	padding: 1rem;
	border-top: 1px solid var(--tl-color-border, #E2E8F0);
}

.tl-nav-logout a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--tl-color-error, #DC2626);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	transition: background-color 0.15s ease;
}

.tl-nav-logout a:hover {
	background: var(--tl-color-error-bg, #FEF2F2);
}

/* Main Dashboard Canvas */
.tl-dashboard-content {
	flex-grow: 1;
	padding: 2.5rem;
	max-width: 1200px;
	box-sizing: border-box;
}

.tl-dashboard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.tl-dashboard-title {
	font-family: var(--tl-font-heading, serif);
	font-size: 1.875rem;
	color: var(--tl-color-primary, #0B132B);
	margin: 0;
	font-weight: 700;
}

.tl-dashboard-subtitle {
	color: var(--tl-color-muted, #64748B);
	font-size: 0.9375rem;
	margin: 0.25rem 0 0;
}

/* Metric Summary Cards */
.tl-metric-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.tl-metric-card {
	background: #FFFFFF;
	border: 1px solid var(--tl-color-border, #E2E8F0);
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 2px 6px rgba(11, 19, 43, 0.04);
	display: flex;
	align-items: center;
	gap: 1.25rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-metric-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(11, 19, 43, 0.08);
}

.tl-metric-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
}

.tl-icon-navy {
	background: #EEF2F6;
	color: var(--tl-color-primary, #0B132B);
}

.tl-icon-gold {
	background: #FEF9C3;
	color: var(--tl-color-secondary-hover, #B38F46);
}

.tl-icon-green {
	background: #DCFCE7;
	color: var(--tl-color-success, #059669);
}

.tl-icon-blue {
	background: #E0F2FE;
	color: #0284C7;
}

.tl-metric-val {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--tl-color-primary, #0B132B);
	line-height: 1.2;
}

.tl-metric-label {
	font-size: 0.8125rem;
	color: var(--tl-color-muted, #64748B);
	font-weight: 500;
	margin-top: 0.125rem;
}

/* Listing Management Table */
.tl-dashboard-card {
	background: #FFFFFF;
	border: 1px solid var(--tl-color-border, #E2E8F0);
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(11, 19, 43, 0.04);
	overflow: hidden;
	margin-bottom: 2rem;
}

.tl-card-header {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--tl-color-border, #E2E8F0);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tl-card-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--tl-color-primary, #0B132B);
	margin: 0;
}

.tl-table-responsive {
	width: 100%;
	overflow-x: auto;
}

.tl-data-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.875rem;
}

.tl-data-table th {
	background: #F8FAFC;
	padding: 0.875rem 1.25rem;
	font-weight: 600;
	color: var(--tl-color-muted, #64748B);
	border-bottom: 1px solid var(--tl-color-border, #E2E8F0);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
}

.tl-data-table td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--tl-color-border, #E2E8F0);
	color: var(--tl-color-text, #0F172A);
	vertical-align: middle;
}

.tl-data-table tr:last-child td {
	border-bottom: none;
}

.tl-data-table tr:hover td {
	background: #F8FAFC;
}

/* Status Badges */
.tl-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: capitalize;
}

.tl-badge-publish, .tl-badge-approved {
	background: var(--tl-color-success-bg, #ECFDF5);
	color: var(--tl-color-success, #059669);
	border: 1px solid #A7F3D0;
}

.tl-badge-pending {
	background: var(--tl-color-warning-bg, #FFFBEB);
	color: var(--tl-color-warning, #D97706);
	border: 1px solid #FDE68A;
}

.tl-badge-draft, .tl-badge-rejected {
	background: #F1F5F9;
	color: #64748B;
	border: 1px solid #CBD5E1;
}

/* Action Buttons */
.tl-btn-action {
	padding: 0.375rem 0.75rem;
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.tl-btn-view {
	background: #F1F5F9;
	color: var(--tl-color-text-secondary, #334155);
}

.tl-btn-view:hover {
	background: #E2E8F0;
	color: var(--tl-color-primary, #0B132B);
}

.tl-btn-edit {
	background: #EEF2F6;
	color: var(--tl-color-primary, #0B132B);
	border-color: #CBD5E1;
}

.tl-btn-edit:hover {
	background: var(--tl-color-primary, #0B132B);
	color: #FFFFFF;
}

.tl-btn-delete {
	background: var(--tl-color-error-bg, #FEF2F2);
	color: var(--tl-color-error, #DC2626);
	border-color: #FECACA;
}

.tl-btn-delete:hover {
	background: var(--tl-color-error, #DC2626);
	color: #FFFFFF;
}

/* Empty States */
.tl-empty-state {
	padding: 3.5rem 1.5rem;
	text-align: center;
}

.tl-empty-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #F1F5F9;
	color: var(--tl-color-muted, #64748B);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin: 0 auto 1.25rem;
}

.tl-empty-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--tl-color-primary, #0B132B);
	margin: 0 0 0.5rem;
}

.tl-empty-desc {
	font-size: 0.9375rem;
	color: var(--tl-color-muted, #64748B);
	max-width: 440px;
	margin: 0 auto 1.5rem;
	line-height: 1.5;
}

/* Form Styles inside Dashboard */
.tl-editor-section {
	background: #FFFFFF;
	border: 1px solid var(--tl-color-border, #E2E8F0);
	border-radius: 12px;
	padding: 1.75rem;
	margin-bottom: 1.5rem;
}

.tl-editor-section-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--tl-color-primary, #0B132B);
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--tl-color-border, #E2E8F0);
}

.tl-form-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.tl-form-grid-3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1.25rem;
}

.tl-checkbox-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
	max-height: 240px;
	overflow-y: auto;
	padding: 0.5rem;
	border: 1px solid var(--tl-color-border, #E2E8F0);
	border-radius: 8px;
	background: #F8FAFC;
}

/* Mobile Responsiveness */
.tl-mobile-nav-toggle {
	display: none;
	width: 100%;
	padding: 0.875rem 1rem;
	background: var(--tl-color-primary, #0B132B);
	color: #FFFFFF;
	border: none;
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
	align-items: center;
	justify-content: space-between;
}

@media (max-width: 900px) {
	.tl-dashboard-layout {
		flex-direction: column;
	}
	.tl-mobile-nav-toggle {
		display: flex;
	}
	.tl-dashboard-sidebar {
		width: 100%;
		height: auto;
		position: static;
		display: none;
		border-right: none;
		border-bottom: 1px solid var(--tl-color-border, #E2E8F0);
	}
	.tl-dashboard-sidebar.is-open {
		display: flex;
	}
	.tl-dashboard-content {
		padding: 1.5rem 1rem;
	}
	.tl-form-grid-2, .tl-form-grid-3 {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   FILE: utilities/motion.css
   ========================================================================== */

/**
 * TopLawyer Motion Architecture (Foundation Layer)
 *
 * Provides performance-conscious CSS transitions, micro-interactions,
 * and keyframe hooks respecting prefers-reduced-motion.
 *
 * @package TopLawyer
 */

/* 1. Micro-Interactions (Section 26) */
.tl-hover-lift {
	transition: transform var(--tl-motion-fast) var(--tl-ease-standard), box-shadow var(--tl-motion-fast) var(--tl-ease-standard);
}
.tl-hover-lift:hover {
	transform: translateY(-3px);
	box-shadow: var(--tl-shadow-md);
}

.tl-btn, .tl-button {
	transition: transform var(--tl-motion-fast) var(--tl-ease-standard), 
	            box-shadow var(--tl-motion-fast) var(--tl-ease-standard), 
	            background-color var(--tl-motion-fast) var(--tl-ease-standard), 
	            border-color var(--tl-motion-fast) var(--tl-ease-standard),
	            color var(--tl-motion-fast) var(--tl-ease-standard);
}
.tl-btn:hover, .tl-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(11, 19, 43, 0.12);
}
.tl-btn:active, .tl-button:active {
	transform: translateY(0);
	box-shadow: 0 1px 4px rgba(11, 19, 43, 0.08);
}

.tl-card, .tl-lawyer-card, .tl-guide-card {
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
	            box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
	            border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tl-card:hover, .tl-lawyer-card:hover, .tl-guide-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px -6px rgba(11, 19, 43, 0.12), 0 0 0 1px rgba(197, 160, 89, 0.25);
	border-color: rgba(197, 160, 89, 0.35);
}

/* 2. Transition Utilities */
.tl-fade {
	transition: opacity var(--tl-motion-normal) var(--tl-ease-standard);
}
.tl-fade.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.tl-slide {
	transition: transform var(--tl-motion-normal) var(--tl-ease-emphasized);
}
.tl-slide.is-hidden {
	transform: translateY(12px);
}

.tl-scale {
	transition: transform var(--tl-motion-normal) var(--tl-ease-spring);
}
.tl-scale.is-hidden {
	transform: scale(0.95);
}

/* 3. Modal & Menu Enter Hooks */
.tl-modal-enter {
	animation: tlModalEnter var(--tl-motion-normal) var(--tl-ease-emphasized) forwards;
}

.tl-menu-enter {
	animation: tlMenuEnter var(--tl-motion-fast) var(--tl-ease-standard) forwards;
}

/* 4. Scroll Reveal System (Section 27) */
.tl-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}
.tl-reveal-up {
	transform: translateY(24px);
}
.tl-reveal-fade {
	transform: none;
}
.tl-reveal-scale {
	transform: scale(0.97);
}
.tl-reveal.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* 5. Staggered Animations (Section 28) */
.tl-stagger > *:nth-child(1) { transition-delay: 0ms; }
.tl-stagger > *:nth-child(2) { transition-delay: 50ms; }
.tl-stagger > *:nth-child(3) { transition-delay: 100ms; }
.tl-stagger > *:nth-child(4) { transition-delay: 150ms; }
.tl-stagger > *:nth-child(5) { transition-delay: 200ms; }
.tl-stagger > *:nth-child(6) { transition-delay: 250ms; }
.tl-stagger > *:nth-child(7) { transition-delay: 300ms; }
.tl-stagger > *:nth-child(8) { transition-delay: 350ms; }

/* 6. Keyframes */
@keyframes tlModalEnter {
	from {
		opacity: 0;
		transform: scale(0.96) translateY(8px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@keyframes tlMenuEnter {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 7. Reduced Motion Guard (Section 29) */
@media (prefers-reduced-motion: reduce) {
	.tl-hover-lift:hover,
	.tl-btn:hover, .tl-button:hover,
	.tl-card:hover, .tl-lawyer-card:hover, .tl-guide-card:hover {
		transform: none !important;
	}
	.tl-reveal, .tl-reveal-up, .tl-reveal-fade, .tl-reveal-scale {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.tl-stagger > * {
		transition-delay: 0ms !important;
	}
	.tl-modal-enter, .tl-menu-enter {
		animation: none !important;
	}
}
