/*
	ST. JOHN BOSCO CLINIC — LANDING PAGE
	Page-specific stylesheet, loaded only on the Medical Center page via
	medical-center-header.html (page HEADER field). Reuses the site's
	color/font tokens from css/main.css (:root, Playfair Display / Lato)
	so it reads as part of Corpus Christi, not a bolted-on microsite.

	INDEX
		- HERO
		- STATS STRIP
		- MISSION
		- HISTORY TIMELINE
		- SPONSORS / ACCREDITATION
		- LEADERSHIP
		- CONTACT CTA BAND
*/

.sjb-page { overflow-x: hidden; }

/*-----------------------------------------------------------  HERO  ----------------------------*/

/* Split layout — solid navy text panel + full-color photo side by side.
   No tint/gradient sits on top of the image (that's the whole point: the
   client didn't want the photo darkened), same spirit as the split hero
   already used on the homepage (home.css .hm_pagetop). */
.sjb-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	background: var(--color_p);
}

.sjb-hero-text {
	flex: 1 1 440px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 70px 5%;
	color: var(--color_cl);
}

.sjb-hero-img {
	flex: 1 1 440px;
	min-height: 320px;
}

.sjb-hero-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sjb-kicker {
	font-family: "Playfair Display", "Playfair", serif;
	font-style: italic;
	font-size: clamp(16px, 2vw, 20px);
	color: var(--color_pl);
	margin: 0 0 8px;
}

.sjb-hero h1 {
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	color: #fff;
	font-size: clamp(32px, 4vw, 46px);
	margin: 0 0 18px;
}

.sjb-hero-lede {
	max-width: 480px;
	margin: 0 0 30px;
	font-size: clamp(16px, 1.4vw, 18px);
	line-height: 1.7;
	color: var(--color_cl);
}

.sjb-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.sjb-btn {
	display: inline-block;
	padding: 13px 30px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	border-radius: 2px;
	transition: all 0.2s ease;
}

.sjb-btn-solid {
	background: var(--color_pl);
	color: var(--color_p);
}
.sjb-btn-solid:hover { background: #fff; color: var(--color_pd); }

.sjb-btn-outline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.6);
}
.sjb-btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

@media screen and (max-width: 879px) {
	.sjb-hero-text, .sjb-hero-img { flex-basis: 100%; }
	.sjb-hero-img { order: -1; min-height: 260px; }
	.sjb-hero-text { text-align: center; align-items: center; }
	.sjb-hero-lede { margin-left: auto; margin-right: auto; }
	.sjb-hero-cta { justify-content: center; }
}

/*-----------------------------------------------------------  STATS STRIP  --------------------*/

.sjb-stats {
	display: flex;
	flex-wrap: wrap;
	background: var(--color_p);
}

.sjb-stat {
	flex: 1 1 200px;
	text-align: center;
	padding: 34px 20px;
	border-right: 1px solid rgba(255,255,255,0.15);
}

.sjb-stat:last-child { border-right: none; }

.sjb-stat-num {
	display: block;
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	font-size: clamp(28px, 3vw, 36px);
	color: var(--color_pl);
	margin-bottom: 6px;
}

.sjb-stat-label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color_cl);
}

/*-----------------------------------------------------------  MISSION  ------------------------*/

.sjb-mission {
	max-width: 900px;
	margin: 0 auto;
	padding: 60px 5%;
	text-align: center;
}

.sjb-mission h2 {
	color: var(--color_p);
	font-size: clamp(24px, 2.6vw, 30px);
	margin-bottom: 20px;
}

.sjb-mission p {
	font-size: 18px;
	line-height: 1.8;
	color: var(--color_ad);
	margin-bottom: 16px;
}

/*-----------------------------------------------------------  GALLERY  -------------------------*/

.sjb-gallery {
	padding: 60px 5%;
	text-align: center;
}

.sjb-gallery h2 {
	color: var(--color_p);
	font-size: clamp(24px, 2.6vw, 30px);
	margin-bottom: 40px;
}

.sjb-gallery-swiper {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	overflow: hidden;
}

.sjb-gallery-swiper .swiper-slide {
	height: 320px;
	overflow: hidden;
}

.sjb-gallery-swiper .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	cursor: pointer;
	transition: transform 0.4s ease;
}

.sjb-gallery-swiper .swiper-slide:hover img {
	transform: scale(1.04);
}

.sjb-gallery-swiper .swiper-button-prev,
.sjb-gallery-swiper .swiper-button-next {
	width: 42px;
	height: 42px;
	background: var(--color_pd);
	border-radius: 50%;
	color: #fff;
	transition: background 0.2s ease;
}

.sjb-gallery-swiper .swiper-button-prev:hover,
.sjb-gallery-swiper .swiper-button-next:hover {
	background: var(--color_p);
}

.sjb-gallery-swiper .swiper-button-prev::after,
.sjb-gallery-swiper .swiper-button-next::after {
	font-size: 16px;
	font-weight: 700;
}

@media screen and (max-width: 879px) {
	.sjb-gallery-swiper .swiper-slide { height: 220px; }
}

/*-----------------------------------------------------------  HISTORY TIMELINE  ----------------*/

.sjb-history {
	background: var(--color_cl);
	padding: 60px 5%;
}

.sjb-history h2 {
	text-align: center;
	color: var(--color_p);
	font-size: clamp(24px, 2.6vw, 30px);
	margin-bottom: 44px;
}

.sjb-timeline {
	max-width: 1920px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
}

.sjb-timeline-item {
	flex: 1 1 210px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(51, 68, 104, 0.08);
	padding: 26px 22px;
}

.sjb-timeline-year {
	display: block;
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	font-size: 22px;
	color: var(--color_pd);
	margin-bottom: 10px;
}

.sjb-timeline-item p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--color_ad);
	margin: 0;
}

/*-----------------------------------------------------------  SPONSORS / ACCREDITATION  --------*/

.sjb-sponsors {
	max-width: 900px;
	margin: 0 auto;
	padding: 50px 5%;
	text-align: center;
}

.sjb-sponsors h3 {
	color: var(--color_ad);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 18px;
}

.sjb-pill-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 34px;
}

.sjb-pill-row:last-child { margin-bottom: 0; }

.sjb-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color_p);
	border: 1px solid var(--color_pl);
	border-radius: 30px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.sjb-pill i { font-size: 12px; }

.sjb-pill:hover { background: var(--color_pl); }

span.sjb-pill {
	color: var(--color_muted);
	border-color: #ddd;
	cursor: default;
}
span.sjb-pill:hover { background: none; }

/*-----------------------------------------------------------  LEADERSHIP  ----------------------*/

.sjb-team {
	background: var(--color_cl);
	padding: 60px 5%;
}

.sjb-team h2 {
	text-align: center;
	color: var(--color_p);
	font-size: clamp(24px, 2.6vw, 30px);
	margin-bottom: 40px;
}

.sjb-team-grid {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.sjb-team-card {
	flex: 1 1 240px;
	max-width: 280px;
	background: #fff;
	text-align: center;
	padding: 30px 20px;
	box-shadow: 0 12px 30px rgba(51, 68, 104, 0.08);
	border-bottom: 3px solid var(--color_pl);
}

.sjb-team-avatar {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--color_pl);
	display: flex;
	align-items: center;
	justify-content: center;
}

.sjb-team-avatar i {
	font-size: 24px;
	color: var(--color_p);
}

.sjb-team-name {
	font-family: "Playfair Display", "Playfair", serif;
	font-weight: 700;
	color: var(--color_p);
	font-size: 18px;
	margin-bottom: 6px;
}

.sjb-team-role {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color_muted);
}

/*-----------------------------------------------------------  CONTACT CTA BAND  ----------------*/

.sjb-cta {
	background: var(--color_pd);
	color: #fff;
	text-align: center;
	padding: 54px 5%;
}

.sjb-cta h2 {
	color: #fff;
	font-family: "Playfair Display", "Playfair", serif;
	font-size: clamp(24px, 2.6vw, 30px);
	margin-bottom: 10px;
}

.sjb-cta p {
	font-size: 17px;
	margin-bottom: 26px;
	color: var(--color_cl);
}

.sjb-cta p a { color: #fff; }

.sjb-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}
