/* Doctor Section
 * Mobile (<768): stacked featured card, centered text, 1-card slider with dots, mobile fonts.
 * Tablet (768–1023): stacked featured card, desktop fonts, 2-card slider with dots.
 * 1024+: featured card image beside content. 1280+: 3-card slider with arrows.
 */
.doctor-section {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
	box-sizing: border-box;
	padding: 40px 20px;
	background-color: #F8F8F8;
	overflow: clip;
}

.doctor-section .ds-top {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.doctor-section .ds-title {
	margin: 0;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-size: 32px;
	font-weight: 800;
	line-height: 40px;
	text-align: center;
	text-transform: capitalize;
}

/* Featured doctor card */
.doctor-section .ds-featured {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border-radius: 32px;
	background: #FFFFFF;
	filter: drop-shadow(-10px 20px 12.5px rgba(219, 219, 219, 0.32));
}

.doctor-section .ds-featured-media {
	overflow: hidden;
	border-radius: 20px;
	background: #F2F2F2;
}

/* Full-row mobile image: complete, uncropped (rule #7). */
.doctor-section .ds-featured-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.doctor-section .ds-featured-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 24px 12px 40px;
}

.doctor-section .ds-featured-text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.doctor-section .ds-featured-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: center;
}

.doctor-section .ds-featured-name {
	margin: 0;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-size: 26px;
	font-weight: 800;
	line-height: 34px;
	text-transform: capitalize;
}

.doctor-section .ds-featured-role,
.doctor-section .ds-featured-mdr {
	margin: 0;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
}

.doctor-section .ds-featured-role {
	color: #317088;
}

.doctor-section .ds-featured-mdr {
	color: #000000;
}

.doctor-section .ds-featured-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.doctor-section .ds-highlight {
	display: flex;
	gap: 16px;
	padding: 12px 16px;
	border-radius: 2px;
	background: #DBF2EE;
}

.doctor-section .ds-highlight::before {
	content: '';
	flex: 0 0 4px;
	background: #317088;
}

.doctor-section .ds-highlight p {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.doctor-section .ds-featured-description,
.doctor-section .ds-featured-description p {
	margin: 0;
	color: #404040;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: center;
}

.doctor-section .ds-featured-description p + p {
	margin-top: 12px;
}

.doctor-section .ds-featured-description a,
.doctor-section .ds-featured-description a:visited,
.doctor-section .ds-note-text a,
.doctor-section .ds-note-text a:visited {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-decoration: underline;
}

.doctor-section .ds-featured-description a:hover,
.doctor-section .ds-note-text a:hover {
	text-decoration: none;
}

.doctor-section .ds-button-wrap {
	display: flex;
	width: 100%;
}

.doctor-section .ds-btn,
.doctor-section .ds-btn:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 20px 8px;
	border-radius: 200px;
	background: #317088;
	color: #FFFFFF;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	letter-spacing: 0.36px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 200ms ease;
}

.doctor-section .ds-btn:hover,
.doctor-section .ds-btn:focus-visible {
	background: #6BBC9F;
	color: #FFFFFF;
}

.doctor-section .ds-btn:focus-visible,
.doctor-section .ds-arrow:focus-visible,
.doctor-section .ds-read-more:focus-visible {
	outline: 2px solid #317088;
	outline-offset: 2px;
}

/* Team slider */
.doctor-section .ds-bottom {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.doctor-section .ds-team {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.doctor-section .ds-team-title {
	margin: 0;
	color: #317088;
	font-family: 'Lato', sans-serif;
	font-size: 26px;
	font-weight: 800;
	line-height: 34px;
	text-align: center;
	text-transform: capitalize;
}

.doctor-section .ds-slider-wrap {
	position: relative;
	margin: 0 -20px;
}

/* Keep the track's shadow margins inside the slider so gaps stay exact. */
.doctor-section .ds-slider {
	display: flow-root;
}

/* Slick's center mode sets an inline horizontal padding; keep the vertical shadow room. */
.doctor-section .ds-slider .slick-list {
	padding-top: 40px !important;
	padding-bottom: 40px !important;
}

/* Room for the card shadows inside the clipped track. */
.doctor-section .ds-slider .slick-list,
.doctor-section .ds-slider:not(.slick-initialized) {
	margin: -40px 0;
	padding: 40px 30px;
}

.doctor-section .ds-slider:not(.slick-initialized) {
	display: flex;
	overflow: hidden;
}

.doctor-section .ds-slider .slick-track {
	display: flex;
}

.doctor-section .ds-slider .slick-slide,
.doctor-section .ds-slider.slick-initialized .ds-slide {
	display: flex;
	flex: 0 0 auto;
	height: auto;
	float: none;
}

.doctor-section .ds-slide {
	display: flex;
	box-sizing: border-box;
	padding: 0 10px;
}

.doctor-section .ds-slider:not(.slick-initialized) .ds-slide {
	flex-basis: 100%;
}

.doctor-section .ds-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	box-sizing: border-box;
	padding: 24px 20px;
	border-radius: 12px;
	background: #FFFFFF;
	box-shadow: -6px 12px 30px 10px rgba(209, 210, 210, 0.2);
	transition: opacity 200ms ease;
}

.doctor-section .ds-slider.slick-initialized .slick-slide:not(.slick-center) .ds-card {
	opacity: 0.5;
}

.doctor-section .ds-card-main {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.doctor-section .ds-card-avatar {
	display: block;
	width: 160px;
	height: 160px;
	overflow: hidden;
	border-radius: 50%;
	background: #E7E7E7;
}

.doctor-section .ds-card-avatar .ds-card-image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center top;
}

.doctor-section .ds-card-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.doctor-section .ds-card-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.doctor-section .ds-card-name {
	margin: 0;
	color: #1B2540;
	font-family: 'Lato', sans-serif;
	font-size: 24px;
	font-weight: 800;
	line-height: 34px;
	text-transform: none;
}

.doctor-section .ds-card-name a,
.doctor-section .ds-card-name a:visited {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	text-decoration: none;
}

.doctor-section .ds-card-role {
	margin: 0;
	color: #6BBC9F;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

.doctor-section .ds-card-summary {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #515151;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.doctor-section .ds-read-more,
.doctor-section .ds-read-more:visited {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	color: #3089BC;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 900;
	line-height: 26px;
	letter-spacing: 1.44px;
	text-transform: uppercase;
	text-decoration: none;
}

.doctor-section .ds-read-more img {
	display: block;
	width: 26px;
	height: 26px;
	transition: transform 200ms ease;
}

.doctor-section .ds-read-more:hover span,
.doctor-section .ds-read-more:focus-visible span {
	text-decoration: underline;
}

.doctor-section .ds-read-more:hover img,
.doctor-section .ds-read-more:focus-visible img {
	transform: translateX(4px);
}

/* Arrows (desktop only) */
.doctor-section .ds-arrow {
	display: none;
}

/* Dots (mobile/tablet) */
.doctor-section .ds-dots {
	min-height: 12px;
	margin-top: 40px;
}

.doctor-section .ds-dots .slick-dots {
	position: static;
	display: flex;
	justify-content: center;
	gap: 5px;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

.doctor-section .ds-dots .slick-dots li {
	width: 12px;
	height: 12px;
	margin: 0;
	padding: 0;
}

.doctor-section .ds-dots .slick-dots li button {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 1.5px solid #126B57;
	border-radius: 50%;
	background: transparent;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	transition: background-color 200ms ease;
}

.doctor-section .ds-dots .slick-dots li button::before {
	display: none;
}

.doctor-section .ds-dots .slick-dots li button:hover,
.doctor-section .ds-dots .slick-dots li.slick-active button {
	background: #126B57;
}

/* Note bar */
.doctor-section .ds-note {
	display: flex;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border-radius: 2px;
	background: #DBF2EE;
}

.doctor-section .ds-note::before {
	content: '';
	flex: 0 0 4px;
	background: #3089BC;
}

.doctor-section .ds-note-text {
	flex: 1 1 0;
	min-width: 0;
}

.doctor-section .ds-note-text,
.doctor-section .ds-note-text p {
	margin: 0;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.doctor-section .ds-note-text strong,
.doctor-section .ds-note-text b {
	font-weight: 700;
}

/* Tablet and up: desktop fonts, 2-card slider. */
@media screen and (min-width: 768px) {
	.doctor-section {
		gap: 60px;
		padding: 60px 40px;
	}

	.doctor-section .ds-title {
		font-size: 48px;
		line-height: 56px;
	}

	.doctor-section .ds-featured-content {
		padding: 40px;
	}

	.doctor-section .ds-featured-name {
		font-size: 38px;
		line-height: 46px;
	}

	.doctor-section .ds-featured-role,
	.doctor-section .ds-featured-mdr {
		font-size: 20px;
		line-height: 28px;
	}

	.doctor-section .ds-highlight p,
	.doctor-section .ds-featured-description,
	.doctor-section .ds-featured-description p,
	.doctor-section .ds-note-text,
	.doctor-section .ds-note-text p {
		font-size: 18px;
		line-height: 26px;
	}

	.doctor-section .ds-button-wrap {
		justify-content: center;
	}

	.doctor-section .ds-btn,
	.doctor-section .ds-btn:visited {
		width: auto;
		padding: 24px 32px;
		white-space: nowrap;
	}

	.doctor-section .ds-bottom {
		gap: 50px;
	}

	.doctor-section .ds-team-title {
		font-size: 32px;
		line-height: 40px;
	}

	.doctor-section .ds-slider-wrap {
		margin: 0;
	}

	.doctor-section .ds-slider .slick-list,
	.doctor-section .ds-slider:not(.slick-initialized) {
		margin: -40px -12px;
		padding: 40px 0;
	}

	.doctor-section .ds-slide {
		padding: 0 12px;
	}

	.doctor-section .ds-slider:not(.slick-initialized) .ds-slide {
		flex-basis: 50%;
	}

	.doctor-section .ds-slider.slick-initialized .slick-slide:not(.slick-center) .ds-card {
		opacity: 1;
	}

	/* Let the card shadows show in full: clip wider than the track and fade out off-page cards. */
	.doctor-section .ds-slider .slick-list {
		overflow: visible;
		clip-path: inset(-40px -60px);
	}

	.doctor-section .ds-slider.slick-initialized .slick-slide:not(.slick-active) .ds-card {
		opacity: 0;
		pointer-events: none;
	}

	.doctor-section .ds-card {
		gap: 40px;
		padding: 32px;
		box-shadow: -6px 12px 40px 20px rgba(209, 210, 210, 0.2);
	}

	.doctor-section .ds-card-text {
		gap: 24px;
	}

	.doctor-section .ds-card-name {
		font-size: 30px;
		font-weight: 700;
		line-height: 38px;
	}

	.doctor-section .ds-card-role {
		font-size: 20px;
		line-height: 30px;
	}

	.doctor-section .ds-card-summary {
		display: block;
		font-size: 18px;
		line-height: 26px;
		-webkit-line-clamp: unset;
	}
}

/* Featured card: image beside content. */
@media screen and (min-width: 1024px) {
	.doctor-section .ds-featured {
		flex-direction: row;
		align-items: stretch;
		border-radius: 40px;
	}

	.doctor-section .ds-featured.img-right {
		flex-direction: row-reverse;
	}

	/* Image follows the content height (min 350px), top-aligned (rule #1). No max-height (developer). */
	.doctor-section .ds-featured-media {
		position: relative;
		flex: 0 0 38.889%;
		min-height: 350px;
		border-radius: 0;
	}

	.doctor-section .ds-featured-media .ds-featured-image {
		position: absolute;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		object-fit: cover;
		object-position: center top;
	}

	.doctor-section .ds-featured-content {
		flex: 1 1 0;
		min-width: 0;
		justify-content: center;
		gap: 40px;
	}

	.doctor-section .ds-featured-header,
	.doctor-section .ds-featured-description,
	.doctor-section .ds-featured-description p {
		text-align: left;
	}

	.doctor-section .ds-featured-body {
		gap: 12px;
	}

	.doctor-section .ds-button-wrap {
		justify-content: flex-start;
	}
}

/* Desktop: 3-card slider with arrows. */
@media screen and (min-width: 1280px) {
	.doctor-section {
		gap: 80px;
		padding: 100px 12.5%;
		/* Off-page slider cards must not widen the page; arrows stay inside the padding. */
		overflow: clip;
	}

	.doctor-section .ds-featured-content {
		padding: 40px 60px;
	}

	.doctor-section .ds-slider:not(.slick-initialized) .ds-slide {
		flex-basis: 33.333%;
	}

	.doctor-section .ds-dots {
		display: none;
	}

	.doctor-section .ds-arrow {
		position: absolute;
		top: 50%;
		z-index: 2;
		display: block;
		width: 66px;
		height: 66px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #3089BC;
		cursor: pointer;
		transform: translateY(-50%);
		transition: background-color 200ms ease, opacity 200ms ease;
	}

	.doctor-section .ds-arrow img {
		display: block;
		width: 66px;
		height: 66px;
	}

	.doctor-section .ds-arrow-prev {
		left: -106px;
	}

	.doctor-section .ds-arrow-prev img {
		transform: rotate(180deg);
	}

	.doctor-section .ds-arrow-next {
		right: -106px;
	}

	.doctor-section .ds-arrow:hover {
		background: #317088;
	}

	.doctor-section .ds-arrow.slick-disabled {
		background: #6BBC9F;
		opacity: 0.5;
		cursor: default;
	}

	.doctor-section .ds-arrow.slick-hidden {
		display: none;
	}
}
