/**
 * 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;
}
