/* ==========================================================================
   SEO Landing Pages: Department x Location
   ========================================================================== */

/* Container */
.ch-landing-page {
	font-size: 16px;
	line-height: 1.6;
}

.ch-landing-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 24px 60px;
}

/* Breadcrumb */
.ch-breadcrumb {
	font-size: 15px;
	color: #666;
	margin-bottom: 24px;
	line-height: 1.5;
}

.ch-breadcrumb a {
	color: #0073aa;
	text-decoration: none;
}

.ch-breadcrumb a:hover {
	text-decoration: underline;
}

.ch-breadcrumb-sep {
	margin: 0 6px;
	color: #999;
}

.ch-breadcrumb-current {
	color: #333;
}

/* H1 */
.ch-landing-h1 {
	font-size: 32px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 16px;
	line-height: 1.3;
}

/* Intro paragraph */
.ch-landing-page .ch-landing-intro {
	font-size: 15px !important;
	font-weight: 300 !important;
	color: #555 !important;
	line-height: 1.6 !important;
	margin-bottom: 8px;
	max-width: 800px;
}

/* Doctor count */
.ch-landing-count {
	font-size: 16px;
	color: #666;
	margin-bottom: 28px;
}

/* ==========================================================================
   Doctor Cards Grid
   ========================================================================== */

.ch-doctor-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 48px;
}

.ch-doctor-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	position: relative;
	cursor: pointer;
}

/* Stretch the name link over the entire card to make it fully clickable */
.ch-doctor-name a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.ch-doctor-card:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.ch-doctor-thumb {
	height: 260px;
	background: #fff;
	overflow: hidden;
}

.ch-doctor-thumb a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.ch-doctor-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ch-doctor-no-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #f5f5f5;
	color: #bbb;
	text-decoration: none;
}

.ch-doctor-info {
	padding: 16px 20px 20px;
}

.ch-doctor-name {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 5px;
	line-height: 1.3;
}

.ch-doctor-name a {
	color: inherit;
	text-decoration: none;
}

.ch-doctor-name a:hover {
	color: #0073aa;
}

.ch-doctor-specialty {
	font-size: 15px;
	color: #666;
	margin: 0 0 12px;
	line-height: 1.4;
}

.ch-doctor-detail {
	font-size: 15px;
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
	position: relative;
	z-index: 2;
}

.ch-doctor-detail:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Related Links
   ========================================================================== */

.ch-related-links {
	margin-bottom: 28px;
	padding-top: 28px;
	border-top: 1px solid #e5e5e5;
}

.ch-related-section {
	margin-bottom: 28px;
}

.ch-related-section h3 {
	font-size: 20px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 12px;
}

.ch-related-list {
	list-style: none;
	padding: 0;
	margin: 0;
	columns: 3;
	column-gap: 32px;
}

.ch-related-list li {
	margin-bottom: 4px;
	break-inside: avoid;
	line-height: 1.5;
}

.ch-related-list a {
	color: #0073aa;
	text-decoration: none;
	font-size: 16px;
}

.ch-related-list a:hover {
	text-decoration: underline;
}

.ch-related-count {
	color: #999;
	font-size: 14px;
	margin-left: 4px;
}

/* Back to index */
.ch-back-to-index {
	margin-top: 28px;
}

.ch-back-to-index a {
	color: #0073aa;
	text-decoration: none;
	font-size: 16px;
}

.ch-back-to-index a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Index Page
   ========================================================================== */

.ch-index-locations {
	display: grid;
	gap: 40px;
	margin-top: 28px;
}

.ch-index-location {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 24px 32px;
}

.ch-index-loc-name {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #0073aa;
}

.ch-index-loc-type {
	font-size: 13px;
	font-weight: 400;
	color: #fff;
	background: #0073aa;
	padding: 2px 8px;
	border-radius: 3px;
	margin-left: 8px;
	vertical-align: middle;
	text-transform: capitalize;
}

.ch-index-cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
	columns: 2;
	column-gap: 32px;
}

.ch-index-cat-list li {
	margin-bottom: 6px;
	break-inside: avoid;
}

.ch-index-cat-list a {
	color: #0073aa;
	text-decoration: none;
	font-size: 16px;
}

.ch-index-cat-list a:hover {
	text-decoration: underline;
}

.ch-index-count {
	color: #999;
	font-size: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.ch-doctor-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ch-related-list {
		columns: 2;
	}

	.ch-index-cat-list {
		columns: 1;
	}
}

@media (max-width: 600px) {
	.ch-landing-container {
		padding: 20px 16px 40px;
	}

	.ch-landing-h1 {
		font-size: 24px;
	}

	.ch-doctor-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ch-doctor-card {
		flex-direction: row;
	}

	.ch-doctor-thumb {
		width: 110px;
		min-width: 110px;
		height: auto;
	}

	.ch-doctor-info {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 12px 16px;
	}

	.ch-related-list {
		columns: 1;
	}

	.ch-index-location {
		padding: 16px 20px;
	}
}

/* ==========================================================================
   Doctor Profile: Cross-links to landing pages
   ========================================================================== */

.ch-doctor-crosslinks {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 24px 32px;
	border-top: 1px solid #e5e5e5;
}

.ch-crosslinks-title {
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	margin: 0 0 12px !important;
}

.ch-crosslinks-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.ch-crosslinks-list li {
	margin-bottom: 6px !important;
}

.ch-crosslinks-list a {
	color: #0073aa !important;
	text-decoration: none !important;
	font-size: 15px !important;
	font-weight: 400 !important;
}

.ch-crosslinks-list a:hover {
	text-decoration: underline !important;
}
