/* The Team page styles */

/* Navbar color override for Team page */
.team-page .navbar .nav-link {
	color: #111 !important;
}
.team-page .navbar .nav-cta {
	color: #111 !important;
	border-color: #111 !important;
}

/* Section header/title/desc (shared styles, but needed for Team page) */
.section-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 4rem;
}
.section-label {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--red);
	background: rgba(172, 8, 7, 0.08);
	padding: 0.3em 1em;
	border-radius: 100px;
	margin-bottom: 0.9rem;
}
.section-title {
	font-family: var(--font-head);
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--dark);
	margin-bottom: 0rem;
}
.section-desc {
	font-size: 1.05rem;
	color: var(--text-muted);
	line-height: 1.7;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

/* Officials/Team Section Styles */
.officials-section {
	max-width: 1400px;
	margin: 40px auto;
	padding: 2rem 0;
	text-align: center;
}
.officials-section h2 {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 0;
	letter-spacing: 1px;
}
.officials-section h2 span {
	color: var(--red);
}
.officials-section p {
	font-size: 1.2rem;
	color: #222;
	margin-bottom: 40px;
	margin-top: 8px;
}
.officials-carousel-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.officials-arrow-btn {
	background: #e60000;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	font-size: 1.2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	z-index: 2;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.officials-arrow-btn#officialsPrevBtn {
	left: -70px;
}
.officials-arrow-btn#officialsNextBtn {
	right: -70px;
}
.officials-arrow-btn:disabled {
	background: #eee;
	color: #bbb;
	cursor: not-allowed;
}
.officials-cards-viewport {
	overflow: hidden;
	width: 100%;
	max-width: 1300px;
}
.officials-cards-row {
	display: flex;
	transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
	gap: 24px;
	padding: 16px 0;
}
.official-card {
	background: var(--gold);
	border-radius: 24px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	width: calc((100% - 24px * 4) / 5);
	min-width: calc((100% - 24px * 4) / 5);
	max-width: calc((100% - 24px * 4) / 5);
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	margin-bottom: 8px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}
.official-card:hover {
	transform: translateY(-8px) scale(1.03);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.official-card img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	background: #eee;
	display: block;
	transition: transform 0.3s ease;
}
.official-card:hover img {
	transform: scale(1.05);
}
.official-card .official-info {
	background: var(--gold);
	color: #fff;
	width: 100%;
	padding: 18px 10px 12px 10px;
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
	border-top: 4px solid #c0c0c0;
	box-sizing: border-box;
}
.official-card .official-name {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 4px 0;
	line-height: 1.2;
}
.official-card .official-position {
	font-size: 1rem;
	font-weight: 400;
	margin: 0;
	letter-spacing: 1px;
}
.official-card .official-name.big {
	font-size: 1.1rem;
	font-weight: 800;
	text-transform: uppercase;
}
.carousel-indicators {
	margin: 24px 0 0 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
	margin-top: 0;
	position: static;
	z-index: 2;
	height: 6px;
	border-radius: 3px;
	background: #e0e0e0;
	transition: background 0.2s;
}
.carousel-indicator.active {
	background: #e60000;
}
@media (max-width: 1400px) {
	.official-card {
		width: calc((100% - 24px * 3) / 4);
		min-width: calc((100% - 24px * 3) / 4);
		max-width: calc((100% - 24px * 3) / 4);
	}
}
@media (max-width: 1100px) {
	.official-card {
		width: calc((100% - 24px * 2) / 3);
		min-width: calc((100% - 24px * 2) / 3);
		max-width: calc((100% - 24px * 2) / 3);
	}
}
@media (max-width: 900px) {
	.official-card {
		width: calc((100% - 24px) / 2);
		min-width: calc((100% - 24px) / 2);
		max-width: calc((100% - 24px) / 2);
	}
	.official-card img {
		height: 220px;
	}
}
@media (max-width: 700px) {
	.officials-section h2 {
		font-size: 2rem;
	}
	.official-card {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
	}
	.official-card img {
		height: 280px;
	}
	.officials-arrow-btn#officialsPrevBtn {
		left: 5px;
	}
	.officials-arrow-btn#officialsNextBtn {
		right: 5px;
	}
}