/* =====================================================
   [expertise_lawyers_carousel] shortcode
   ===================================================== */

.expertise-banner__ctas .btn.request-callback{
	background-color: transparent !important;
	border: 1px solid var(--kells-white) !important;
}

.expertise-single .expertise-banner{
	    padding: 6rem 1.5rem 4rem;
}

.expertise-banner__ctas .btn.request-callback:hover{
	background-color: #F1B434 !important;
	border-color: #F1B434 !important;
}

.lawyers-carousel {
	padding: 0 1.5rem;
	overflow: hidden;
	font-family: "Montserrat", Sans-serif;
	    position: relative;
    top: -200px;
	z-index: -1;
}

.lawyers-carousel__inner {
	max-width: 1524px;
	margin: 0 auto;
	display: flex;
	align-items: stretch;
	gap: 2.5rem;
	justify-content: space-between;
}

/* ----- Heading + nav column ----- */
.lawyers-carousel__intro {
	flex: 0 0 260px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-bottom: .5rem;
	text-align: left;
}

.lawyers-carousel__heading {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	margin: 0 0 1.5rem;
	font-family: "Montserrat", Sans-serif;
}

.lawyers-carousel__nav {
	display: flex;
	gap: .75rem;
}

.lawyers-carousel__btn {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: #fff;
	color: #1F2A44;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background .2s, border-color .2s;
	border-color: #fff !important;
}

.lawyers-carousel__btn svg {
	width: 20px;
	height: 20px;
	fill: #1F2A44;
}

.lawyers-carousel__btn:hover svg{
	fill: #fff;
}

.lawyers-carousel__btn:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.7);
}

.lawyers-carousel__btn:disabled {
	opacity: .35;
	cursor: default;
	background: transparent;
}

/* ----- Scrolling thumbnail track ----- */
/* Fixed to exactly 3 slides + 2 gaps so the strip always shows 3 clean
   thumbnails by default, never a partial 4th. */
.lawyers-carousel__stage {
	flex: 0 0 590px;
	width: 590px;
	overflow: hidden;
	padding-bottom: 20px;
}

.lawyers-carousel__track {
	display: flex;
	gap: 1rem;
	height: 100%;
	will-change: transform;
	align-items: end;
}

.lawyers-carousel__slide {
	position: relative;
	flex: 0 0 186px;
	height: 260px;
	border-radius: 12px;
	overflow: hidden;
	display: block;
	background: #33405d;
	border: 1px solid #F1B434;
}

.lawyers-carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.lawyers-carousel__slide:hover img {
	transform: scale(1.06);
}

.lawyers-carousel__slide-initials {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 28px;
	font-weight: 600;
}

/* ----- Fixed featured hero card ----- */
.lawyers-carousel__hero {
	position: relative;
	flex: 1 1 300px;
	height: 640px;
	border-radius: 24px;
	overflow: hidden;
	display: block;
	background: #12182b;
	text-decoration: none;
	padding: 0px 20px 20px 0px;
	max-width: 546px;
}

.lawyers-carousel__hero::before{
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	right: -20px;
	bottom: -20px;
	background:#F1B434;
}

.lawyers-carousel__hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: relative;
	border-radius: 24px;
}

.lawyers-carousel__hero-overlay {
	position: absolute;
	inset: 0;
	/*background: linear-gradient(to top, rgba(15, 20, 35, 0.85) 0%, rgba(15, 20, 35, 0) 50%);*/
}

.lawyers-carousel__hero-arrow {
	position: absolute;
	bottom: 40px;
    right: 40px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background .2s, border-color .2s, color .2s;
}

.lawyers-carousel__hero-arrow svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lawyers-carousel__hero:hover .lawyers-carousel__hero-arrow {
	background: #F1B434;
	border-color: #F1B434;
	color: #1F2A44;
}

.lawyers-carousel__hero-body {
	position: absolute;
	left: 1.75rem;
	right: 1.75rem;
	bottom: 40px;
}

.lawyers-carousel__hero-name {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	margin: 0;
}

.lawyers-carousel__hero-designation {
	color: #F1B434;
	font-size: 14px;
	margin: .25rem 0 0;
}

/* ----- Responsive ----- */
/* The desktop row needs ~1280px (260 intro + 590 fixed-width stage + 300px
   min hero + gaps + padding) to fit without clipping the hero, so the
   stacked layout kicks in below that rather than at a narrower breakpoint. */
@media (max-width: 1280px) {
	.lawyers-carousel {
		top: 0px;
		padding-top: 60px;
	}

	.lawyers-carousel__inner {
		flex-wrap: wrap;
	}

	.lawyers-carousel__intro {
		flex: 1 1 100%;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-bottom: 0;
		margin-bottom: 1.5rem;
	}

	.lawyers-carousel__heading {
		margin: 0;
	}

	.lawyers-carousel__stage {
		flex: 1 1 100%;
		width: 100%;
		order: 3;
	}

	.lawyers-carousel__hero {
		flex: 1 1 100%;
		height: 380px;
	}
}

@media (max-width: 600px) {
	.lawyers-carousel {
		padding: 3rem 1.25rem;
	}

	.lawyers-carousel__intro {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.lawyers-carousel__slide {
		flex-basis: 150px;
		height: 210px;
	}

	.lawyers-carousel__hero {
		height: 320px;
	}
}
