/* ========================================
   Practice Areas overview page
   ======================================== */

/* ── Hero ───────────────────────────────── */

.lawyerup-pa__hero {
	position: relative;
	padding: 50px 0 80px;
	display: flex;
	align-items: center;
	background: var(--lh-dark);
	overflow: hidden;
}

.lawyerup-pa__hero > .lawyerup-section__container {
	width: 100%;
	max-width: 1400px;
}

.lawyerup-pa__hero-bg {
	position: absolute;
	inset: 0;
	background-image: url('https://lawyerup.network/wp-content/uploads/2026/05/office-homepage.jpg');
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.lawyerup-pa__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(14,15,26,0.55) 0%,
		rgba(14,15,26,0.4) 30%,
		rgba(14,15,26,0.65) 60%,
		rgba(14,15,26,0.85) 80%,
		rgba(14,15,26,1) 100%
	);
	z-index: 1;
}

.lawyerup-pa__crumbs {
	font-size: 13px;
	color: var(--lh-text-on-dark-dim);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.lawyerup-pa__crumbs a {
	color: var(--lh-text-on-dark-dim);
	text-decoration: none;
	transition: color 0.2s;
}

.lawyerup-pa__crumbs a:hover {
	color: var(--lh-gold);
}

.lawyerup-pa__crumb-current {
	color: var(--lh-text-on-dark-soft);
}

/* Center the hero copy block on the PA page */
.lawyerup-pa .lawyerup-hero__copy {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.lawyerup-pa .lawyerup-hero__subtitle {
	max-width: 560px;
}

/* ── Popular Practice Areas section ─────── */

.lawyerup-pa__popular {
	position: relative;
	padding: 70px 0 80px;
	background: var(--lh-dark-3, #14151f);
	overflow: hidden;
}

.lawyerup-pa__popular-bg {
	position: absolute;
	inset: 0;
	background-image: url('https://lawyerup.network/wp-content/uploads/2026/05/office-homepage.jpg');
	background-size: cover;
	background-position: center bottom;
	z-index: 0;
	opacity: 0.25;
}

.lawyerup-pa__popular-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14,15,26,0.95) 0%, rgba(14,15,26,0.8) 50%, rgba(14,15,26,0.92) 100%);
	z-index: 1;
}

.lawyerup-pa__popular .lawyerup-section__header {
	text-align: center;
}

/* ── All practice areas — alphabetical ─── */

.lawyerup-pa__all {
	position: relative;
	background: var(--lh-dark-3);
	padding: 80px 0 100px;
}

.lawyerup-pa__all-bg {
	position: absolute;
	inset: 0;
	background-image: url('https://lawyerup.network/wp-content/uploads/2026/04/lawyerup-library.png');
	background-size: cover;
	background-position: center;
	z-index: 0;
	opacity: 0.3;
}

.lawyerup-pa__all-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(14,15,26,0.92) 0%,
		rgba(14,15,26,0.85) 50%,
		rgba(14,15,26,0.95) 100%
	);
	z-index: 1;
}

.lawyerup-pa__alpha-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.lawyerup-pa__alpha-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-radius: 10px;
	background: rgba(20, 21, 31, 0.6);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid var(--lh-border-dark);
	text-decoration: none !important;
	color: var(--lh-cream) !important;
	transition: all 0.25s ease;
}

.lawyerup-pa__alpha-card:hover {
	border-color: var(--lh-gold);
	background: rgba(26, 27, 41, 0.8);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px -8px rgba(0,0,0,0.5);
	color: var(--lh-cream) !important;
}

.lawyerup-pa__alpha-icon {
	flex-shrink: 0;
	color: var(--lh-gold);
	line-height: 1;
	opacity: 0.8;
}

.lawyerup-pa__alpha-icon svg {
	width: 24px;
	height: 24px;
}

.lawyerup-pa__alpha-card:hover .lawyerup-pa__alpha-icon {
	opacity: 1;
}

.lawyerup-pa__alpha-name {
	flex: 1;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	font-family: 'Cardo', 'Roboto', serif;
}

.lawyerup-pa__alpha-count {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 700;
	color: var(--lh-gold);
	background: rgba(212, 168, 90, 0.12);
	padding: 3px 8px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.lawyerup-pa__alpha-arrow {
	flex-shrink: 0;
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	color: var(--lh-gold);
}

.lawyerup-pa__alpha-card:hover .lawyerup-pa__alpha-arrow {
	opacity: 1;
	transform: translateX(2px);
}

/* ── CTA section ────────────────────────── */

.lawyerup-pa__cta-section {
	position: relative;
	background: var(--lh-dark);
	padding: 100px 0;
}

/* ── Responsive ─────────────────────────── */

@media (max-width: 1024px) {
	.lawyerup-pa__alpha-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.lawyerup-pa__hero {
		padding: 40px 0 50px;
	}

	.lawyerup-pa__hero-overlay {
		background: linear-gradient(180deg, rgba(14,15,26,0.82) 0%, rgba(14,15,26,0.75) 50%, rgba(14,15,26,0.9) 100%);
	}

	.lawyerup-pa__hero-bg,
	.lawyerup-pa__popular-bg,
	.lawyerup-pa__all-bg {
		background-attachment: scroll;
	}

	.lawyerup-pa__popular {
		padding: 50px 0 60px;
	}

	.lawyerup-pa__all {
		padding: 60px 0;
	}

	.lawyerup-pa__alpha-grid {
		grid-template-columns: 1fr;
	}

	.lawyerup-pa__alpha-card {
		padding: 14px 16px;
	}

	.lawyerup-pa__cta-section {
		padding: 60px 0;
	}
}

@media (max-width: 480px) {
	.lawyerup-pa__alpha-arrow {
		opacity: 0.5;
	}
}
