/**
 * Legacy PA / Hero / Attorneys / Testimonials styles
 * Loaded on templates: practice-area, hero, custom-page, attorneys, testimonials.
 * Ported from dlgteamMB/public/css/app.css.
 */

/* ── HERO (hero.php — title over background image) ─────────────────────── */
.hero {
	position: relative;
	overflow: hidden;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hero.bg--cover {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero .overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 1;
}
.hero-wrapper {
	position: relative;
	z-index: 2;
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.hero__content {
	padding: 0;
	position: relative;
	text-align: left;
}
.bg--dark {
	color: #fefefe;
}
.hero__title {
	color: #fff;
	margin-bottom: 1rem;
	font-size: 2.5rem;
}
@media (min-width: 768px) {
	.hero__title {
		font-size: 3.125rem;
	}
}
.button--dark {
	color: #0a0a0a !important;
}
.hero-video-banner {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.hero-video-banner video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ── HERO PA (practice-area.php — image with overlaid title and CTA) ── */
.hero-pa {
	height: 480px;
}
@media (max-width: 991.98px) {
	.hero-pa {
		height: 340px;
	}
}

.hero-pa .hero__bg {
	position: absolute !important;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-pa .hero__title {
	font-size: 2rem;
	max-width: 640px;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
	.hero-pa .hero__title {
		font-size: 2.5rem;
	}
}

/* ── BREADCRUMBS ────────────────────────────────────────────────────────── */
.breadcrumbs {
	padding: 0;
}
.breadcrumbs #breadcrumbs {
	font-size: 0.875rem;
}

/* ── PA INTRO ───────────────────────────────────────────────────────────── */
.pa-intro {
	padding-bottom: 2.5rem;
}
.pa-intro h1 {
	font-size: 2em !important;
	margin: 0.67em 0;
}

/* ── BADGES ─────────────────────────────────────────────────────────────── */
.badges {
	padding: 1.875rem 0;
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
@media (min-width: 640px) {
	.badges {
		flex-wrap: nowrap;
	}
}
.badges__item {
	text-align: center;
	flex-basis: 100%;
	margin-bottom: 1.875rem;
}
.badges__item:last-of-type {
	margin-bottom: 0;
}
@media (min-width: 640px) {
	.badges__item {
		flex-basis: 49%;
		padding: 1%;
	}
}
@media (min-width: 1024px) {
	.badges__item {
		flex-basis: 19%;
		margin-bottom: 0;
	}
}
.pa-intro .badges {
	flex-wrap: wrap;
}
.pa-intro .badges__item {
	flex-basis: 50%;
	margin-bottom: 1.875rem;
}
@media (min-width: 1024px) {
	.pa-intro .badges__item {
		flex-basis: 50%;
	}
}

/* ── PA SERVICES ────────────────────────────────────────────────────────── */
.pa-services {
	padding-top: 3rem;
	padding-bottom: 1.5rem;
}
.pa-extra-services {
	background-position-y: 50%;
	padding: 2rem 0;
}
.pa-extra-services .service-card {
	margin-bottom: 2rem;
}
.pa-extra-services .service-card a {
	border: 1px solid #adadad;
	background-color: #fff;
	padding: 1.5rem 1.5rem 1.5rem 1.5rem;
	color: #0a0a0a;
	text-decoration: none;
	position: relative;
	top: 0;
	transition: top 0.2s ease, color 0.2s ease;
}
.pa-extra-services .service-card a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 5px;
	background-color: #0faac3;
	transition: width 0.3s ease-in-out;
}
@media (min-width: 768px) {
	.pa-extra-services .service-card a {
		padding: 3.125rem 3.125rem 3.125rem 5.625rem;
	}
}
.pa-extra-services .service-card a:hover {
	color: #0faac3;
	top: -10px;
	background-color: #fefefe;
}
.pa-extra-services .service-card a:hover::before {
	width: 100%;
}

/* ── Angle brackets ─────────────────────────────────────────────────────── */
@media (min-width: 64em) {
	.angle-bracket::before {
		content: '';
		height: 1.5625rem;
		width: 1.5625rem;
		background-size: cover;
		position: absolute;
		top: 0;
		left: -2.75rem;
	}
}
.angle-bracket--top-left-bracket::before {
	background-image: url(../images/icons/bracket-top-left.svg);
}
.angle-bracket--top-right-bracket::before {
	background-image: url(../images/icons/bracket-top-right.svg);
}
.angle-bracket--bottom-left-bracket::before {
	background-image: url(../images/icons/bracket-bottom-left.svg);
}
.angle-bracket--bottom-right-bracket::before {
	background-image: url(../images/icons/bracket-bottom-right.svg);
}

/* ── PA HISTORY ─────────────────────────────────────────────────────────── */
.pa-history {
	padding: 2.5rem 0;
}
.pa-history .section-title {
	margin-bottom: 2rem;
}

/* ── PA WHY ─────────────────────────────────────────────────────────────── */
.pa-why {
	padding: 3rem 0;
}
.blue-check-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.blue-check-list__item {
	list-style-type: none;
	display: flex;
	align-items: flex-start;
	border-bottom: 1px solid #0faac3;
	margin-bottom: 1.875rem;
	padding-bottom: 1.875rem;
}
@media (min-width: 768px) {
	.blue-check-list__item {
		margin-bottom: 2.5rem;
		padding-bottom: 2.5rem;
	}
}
.blue-check-list__item:last-of-type {
	border-bottom: 0;
}
.blue-check-list__icon {
	flex-shrink: 0;
	height: 1.5625rem;
	width: 1.5625rem;
	margin-right: 1.5625rem;
	max-width: 1.5625rem;
}
@media (min-width: 768px) {
	.blue-check-list__icon {
		width: 1.5rem;
		height: 1.5rem;
		margin-right: 1rem;
		max-width: 1.5rem;
	}
}
.blue-check-list__text {
	flex: 1;
}

/* ── PA FAQS ────────────────────────────────────────────────────────────── */
.pa-faqs {
	padding: 3rem 0;
}

/* Remove Bootstrap accordion default styles */
.pa-faqs .accordion-item {
	border: none;
	border-bottom: 1px solid #cacaca;
	background: transparent;
}
.pa-faqs .accordion-item:first-child {
	border-top: 1px solid #cacaca;
}

.pa-faqs .accordion-button {
	font-weight: 600;
	font-size: 1.25rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: transparent;
	box-shadow: none;
	color: #0a0a0a;
	padding: 1.25rem 0;
	padding-left: 2rem;
	position: relative;
}

/* Quitar chevron Bootstrap */
.pa-faqs .accordion-button::after {
	display: none;
}

/* + icon for collapsed, — icon for expanded */
.pa-faqs .accordion-button::before {
	content: '+';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.1rem;
	font-weight: 400;
	color: #0a0a0a;
	line-height: 1;
}
.pa-faqs .accordion-button:not(.collapsed)::before {
	content: '—';
	color: #0faac3;
	font-size: 1rem;
}

/* No blue background on active item */
.pa-faqs .accordion-button:not(.collapsed) {
	background: transparent;
	box-shadow: none;
	color: #0a0a0a;
}
.pa-faqs .accordion-button:focus {
	box-shadow: none;
}

.pa-faqs .accordion-body {
	padding: 0 0 1.25rem 2rem;
	font-size: 1rem;
}

/* ── PA TESTIMONIAL ─────────────────────────────────────────────────────── */
.pa-testimonial {
	padding-top: 3rem;
}
.pa-quote {
	font-style: italic;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
}
.pa-quote,
.pa-quote cite {
	font-size: 1rem;
}
.pa-quote cite {
	display: block;
	font-style: normal;
	font-weight: 600;
	margin-top: 0.5rem;
}

/* ── ATTORNEYS ──────────────────────────────────────────────────────────── */
.attorney-cutout {
	min-width: 12.5rem;
	margin-bottom: 2rem;
}
.attorney-cutout__bg {
	position: relative;
	text-align: center;
}
.attorney-cutout__bg::before {
	content: "";
	background-color: #f8f7f8;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 80%;
	margin: 0 auto;
}
.attorney-cutout img {
	position: relative;
}
.attorney-cutout-meta {
	padding: 1.25rem;
}

/* ── TESTIMONIALS ───────────────────────────────────────────────────────── */
.testimonials__item {
	border-bottom: 1px solid #ccc;
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
}
.testimonials__title {
	font-size: 1rem;
}
.testimonials-rating {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	margin-bottom: 0.5rem;
}
.testimonials-rating img {
	max-width: 100px;
}

.bg--blue-dots {
    background-image: url('../images/patterns/blue-dots-bg.svg');
    background-repeat: repeat-x;
    background-position-y: 50%;
}

/* ── Foundation grid (usado en pa_history_content) ──────────────────────── */
.pa-history .grid-x {
    display: flex;
    flex-wrap: wrap;
}

.pa-history .grid-margin-x {
    margin-left: -0.625rem;
    margin-right: -0.625rem;
}

.pa-history .grid-margin-x > .cell {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}

.pa-history .cell {
    flex: 0 0 auto;
    width: 100%;
}

/* medium ≥ 640px */
@media (min-width: 40em) {
    .pa-history .medium-6 { width: 50%; }
}

/* large ≥ 1024px */
@media (min-width: 64em) {
    .pa-history .large-8 { width: 66.6667%; }
    .pa-history .large-4 { width: 33.3333%; }
}
