/* =====================================================
   Staff Single — Child Theme Styles
   ===================================================== */

.people-single {
	overflow-x: clip; /* clip instead of hidden so position:sticky still works */
	font-family: "Montserrat", Sans-serif;
}

/* =====================================================
   1. BANNER
   ===================================================== */
.staff-banner {
	position: relative;
	min-height: 72vh;
	display: flex;
	align-items: center;
	background-color: var(--kells-dark);
	background-size: cover;
	background-position: center top;
	padding: 10rem 1.5rem 13rem;
	color: #ffffff;
}

.staff-banner__overlay {
	position: absolute;
	inset: 0;
	background-color: #1c263d;
	opacity: 0.65;
}

.staff-banner__inner {
	position: relative;
	z-index: 1;
	max-width: 1524px;
	width: 100%;
	margin: 0 auto;
	text-align: left;
}

.staff-banner__title {
	font-size: clamp(2rem, 5vw, 3.75rem);
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 0.6rem;
	font-family: "Montserrat", Sans-serif;
	line-height: 1.1;
}

.staff-designation__title {
	font-size: 1rem;
	font-weight: 400;
	color: #F1B434;
	font-family: "Montserrat", Sans-serif;
	margin: 0;
}

/* Wave */
.staff-banner__wave {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	line-height: 0;
}
.staff-banner__wave svg {
	display: block;
	width: 100%;
	height: 80px;
}

/* Floating action buttons */
.staff-banner__actions {
	position: absolute;
	bottom: 50px;
	right: 2rem;
	z-index: 10;
	display: flex;
	gap: 0.75rem;
}

.staff-action-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #F1B434;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1D2149;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.staff-action-btn:hover {
	background: #C49A4C;
	color: #1D2149;
	transform: translateY(-2px);
}
.staff-action-btn svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	flex-shrink: 0;
}

/* =====================================================
   2. PROFILE SECTION
   ===================================================== */
.staff-profile {
	background: #ffffff;
	padding: 4rem 1.5rem 5rem;
}

.staff-profile__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 379px 1fr;
	gap: 4rem;
	align-items: start;
}

/* --- Sidebar --- */
.staff-sidebar {
	position: sticky;
	top: 6rem;
	background: #1D2149;
	padding: 4rem 2.5rem 3.75rem;
	text-align: center;
	border-radius: 30px;
}

.staff-sidebar__photo {
	display: flex;
	justify-content: center;
	margin-bottom: 1.25rem;
}
.staff-sidebar__img {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	display: block;
	border: 6px solid #4a6fa5;
}

.staff-sidebar__name {
	font-size: 1.125rem;
	font-weight: 700;
	color: #ffffff;
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 0.2rem;
	line-height: 1.2;
}

.staff-sidebar__designation {
	font-size: 0.8125rem;
	color: #F1B434;
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 1rem;
}

.staff-sidebar__divider {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	margin: 0 0 1rem;
}

/* Contact rows with gold circular icon */
.staff-contact-item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.8rem;
	color: #ffffff;
	text-decoration: none;
	font-family: "Montserrat", Sans-serif;
	line-height: 1.4;
	margin-bottom: 0.6rem;
	word-break: break-all;
	text-align: left;
}
.staff-contact-item:hover {
	color: #F1B434;
}
.staff-contact-item__icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #F1B434;
	display: flex;
	align-items: center;
	justify-content: center;
}
.staff-contact-item__icon svg {
	width: 14px;
	height: 14px;
	fill: #1D2149;
}

.staff-sidebar__assistant {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: left;
}
.staff-sidebar__assistant-label {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.5);
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 0.2rem;
}
.staff-sidebar__assistant-name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #ffffff;
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 0.6rem;
}

/* --- Main content (the_content output) --- */
.staff-content {
	font-family: "Montserrat", Sans-serif;
	color: #333333;
	font-size: 0.9375rem;
	line-height: 1.75;
}
.staff-content h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #1D2149;
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 1rem;
	line-height: 1.2;
}
.staff-content h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1D2149;
	font-family: "Montserrat", Sans-serif;
	margin: 2rem 0 0.75rem;
}
.staff-content h4 {
	font-size: 1rem;
	font-weight: 700;
	color: #1D2149;
	font-family: "Montserrat", Sans-serif;
	margin: 1.5rem 0 0.5rem;
}
.staff-content p {
	margin: 0 0 1rem;
}
.staff-content ul,
.staff-content ol {
	padding-left: 1.5rem;
	margin: 0 0 1rem;
}
.staff-content li {
	margin-bottom: 0.4rem;
}
.staff-content a {
	color: #F1B434;
	text-decoration: underline;
}

/* =====================================================
   3. STAFF SLIDER SHORTCODE  [staff_slider]
   ===================================================== */

/* Outer wrapper — parallax container */
.staff-slider-section {
	position: relative;
	overflow: hidden;
}

/* Parallax bg image — oversized so translateY never runs out */
.staff-slider-bg {
	position: absolute;
	top: -20%;
	left: 0;
	width: 100%;
	height: 140%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	will-change: transform;
	z-index: 0;
}

/* Light overlay so text stays readable over the bg */
.staff-slider-overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.5);
	pointer-events: none;
	z-index: 9;
}

/* Inner layout wrapper — left info panel + right slider */
.staff-slider-wrap {
	position: relative;
	z-index: 99;
	display: flex;
	align-items: center;
	gap: 2.5rem;
	padding: 4rem 1.5rem;
	max-width: 1524px;
	margin: 0 auto;
}

/* Left info panel */
.staff-slider-info {
	flex: 0 0 240px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}

.staff-slider-info__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #F1B434;
	font-family: "Montserrat", Sans-serif;
	margin: 0;
}

.staff-slider-info__heading {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	color: #1D2149;
	font-family: "Montserrat", Sans-serif;
	margin: 0;
	line-height: 1.2;
}

.staff-slider-info__btn {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.65rem 1.5rem;
	background: #F1B434;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	font-family: "Montserrat", Sans-serif;
	text-decoration: none;
	transition: background 0.2s;
}
.staff-slider-info__btn:hover {
	background: #C49A4C;
	color: #ffffff;
}

/* Right section — stage + nav */
.staff-slider-right {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Overflow clip so slides outside view are hidden */
.staff-slider-stage {
	overflow: hidden;
}

/* Track — flex row, no wrap, animated with JS */
.staff-slider-track {
	display: flex;
	gap: 1.25rem;
	transition: transform 0.4s ease;
}

/* Individual slide — 4 visible on desktop */
.staff-slide {
	flex: 0 0 calc(25% - 0.9375rem);
	text-decoration: none;
	display: block;
}

.staff-slide__img {
	width: 100%;
	aspect-ratio: 3 / 4;
	background-color: #d9dde8;
	background-size: cover;
	background-position: center top;
	display: block;
}

.staff-slide__body {
	padding: 0.65rem 0 0;
}

.staff-slide__name {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1D2149;
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 0.1rem;
	line-height: 1.25;
	transition: color 0.2s;
}

.staff-slide__designation {
	font-size: 0.8125rem;
	font-weight: 400;
	color: #888888;
	font-family: "Montserrat", Sans-serif;
	margin: 0;
}

.staff-slide:hover .staff-slide__name {
	color: #F1B434;
}

/* Navigation buttons row — right-aligned below the track */
.staff-slider-nav {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
}

.staff-slider-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #F1B434;
	color: #1D2149;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.2s;
	padding: 0;
}
.staff-slider-btn:hover:not(:disabled) {
	background: #C49A4C;
	transform: scale(1.08);
}
.staff-slider-btn:disabled {
	opacity: 0.35;
	cursor: default;
}
.staff-slider-btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex-shrink: 0;
}

/* Responsive breakpoints */
@media (max-width: 960px) {
	.staff-slide {
		flex: 0 0 calc(33.333% - 0.8333rem); /* 3 visible */
	}
}

@media (max-width: 720px) {
	.staff-slider-wrap {
		flex-direction: column;
		align-items: flex-start;
		padding: 3rem 1.25rem;
	}
	.staff-slider-info {
		flex: none;
	}
	.staff-slider-right {
		width: 100%;
	}
	.staff-slide {
		flex: 0 0 calc(50% - 0.625rem); /* 2 visible */
	}
}

@media (max-width: 420px) {
	.staff-slide {
		flex: 0 0 100%; /* 1 visible */
	}
}

/* =====================================================
   4. STAFF LIST SHORTCODE  [staff_list]
   ===================================================== */
.staff-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.75rem 1.5rem;
}

.staff-card {
	display: block;
	text-decoration: none !important;
}
.staff-card * {
	text-decoration: none !important;
}

.staff-card__img {
	width: 100%;
	aspect-ratio: 3 / 4;
	background-color: #d9dde8;
	background-size: cover;
	background-position: center top;
	display: block;
}

.staff-card__body {
	padding: 0.75rem 0 0;
}

.staff-card__name {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1D2149;
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 0.15rem;
	line-height: 1.25;
	transition: color 0.2s;
	text-decoration: none;
}

.staff-card__designation {
	font-size: 0.9rem;
	font-weight: 600;
	color: #F1B434;
	font-family: "Montserrat", Sans-serif;
	margin: 0;
	text-decoration: none;
}

.staff-card:hover .staff-card__name {
	color: #F1B434;
}

@media (max-width: 900px) {
	.staff-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.staff-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =====================================================
   5. EXPERTISE AREAS
   ===================================================== */
.staff-expertise {
	background: #ffffff;
	margin-top: 60px;
}

.staff-expertise__box {
	max-width: 1200px;
	margin: 0 auto;
	background: #1D2149;
	border-radius: 30px;
	padding: 3rem 2.5rem 2.5rem;
}

.staff-expertise__heading {
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	color: #F1B434 !important;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 2rem;
}

.staff-expertise__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.staff-expertise__card {
	display: block;
	text-decoration: none;
}

.staff-expertise__card-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: #2a3a6a;
	background-size: cover;
	background-position: center;
	display: block;
}

.staff-expertise__grid .staff-expertise__card-title {
	color: #ffffff;
	font-size: 0.8125rem;
	font-weight: 400;
	font-family: "Montserrat", Sans-serif;
	text-align: center;
	margin: 0.65rem 0 0;
	line-height: 1.4;
}

.staff-expertise__card:hover .staff-expertise__card-title {
	color: #F1B434;
}

/* =====================================================
   6. REVIEWS CAROUSEL
   ===================================================== */
.staff-reviews {
	padding-top: 40px;
}

.staff-reviews__box {
	max-width: 1200px;
	margin: 0 auto;
	background: #1D2149;
}

.staff-reviews__heading {
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	color: #F1B434;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-family: "Montserrat", Sans-serif;
	margin: 0 0 2rem;
}

.review-carousel {
	position: relative;
}

.review-carousel__stage {
	overflow: hidden;
}

.review-carousel__track {
	display: flex;
	transition: transform 0.4s ease;
}

.review-slide {
	flex: 0 0 100%;
	box-sizing: border-box;
	padding: 0 1rem;
}

.review-slide__inner {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.review-slide__quote-icon {
	color: #F1B434;
	margin-bottom: 1rem;
}

.review-slide__quote-icon svg {
	width: 52px;
	height: 52px;
	display: inline-block;
}

.review-slide__text {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1rem;
	font-family: "Montserrat", Sans-serif;
	line-height: 1.85;
	font-style: italic;
	margin: 0 0 1.5rem;
}

.review-slide__text p {
	margin: 0 0 0.75rem;
}

.review-slide__text p:last-child {
	margin-bottom: 0;
}

.review-slide__author {
	color: #F1B434;
	font-size: 0.8125rem;
	font-weight: 700;
	font-family: "Montserrat", Sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}

.review-carousel__nav {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

.review-carousel__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
	padding: 0;
}

.review-carousel__btn:hover:not(:disabled) {
	background: #F1B434;
	border-color: #F1B434;
	color: #1D2149;
	transform: scale(1.08);
}

.review-carousel__btn:disabled {
	opacity: 0.3;
	cursor: default;
}

.review-carousel__btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 900px) {
	.staff-profile__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.staff-sidebar {
		position: static;
		max-width: 340px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.staff-banner {
		min-height: 320px;
		padding: 5rem 1.25rem 10rem;
	}
	.staff-banner__wave svg {
		height: 60px;
	}
	.staff-banner__actions {
		bottom: 30px;
		right: 1.25rem;
	}
	.staff-expertise__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.staff-expertise__box {
		padding: 2rem 1.25rem 1.75rem;
	}
	.staff-reviews__box {
		padding: 2rem 1.25rem 1.75rem;
	}
	.review-slide__text {
		font-size: 0.9375rem;
	}
}

@media (max-width: 480px) {
	.staff-sidebar {
		max-width: 100%;
	}
	.staff-expertise__grid {
		grid-template-columns: 1fr;
	}
}
