/* ========================================
   BAN CHẤP HÀNH — ORG CHART
   ======================================== */

:root {
	--bch-primary: #043791;
	--bch-accent: #cf0707;
	--bch-gold: #d4a017;
	--bch-bg-light: #f0f4fa;
	--bch-card-shadow: 0 4px 20px rgba(4, 55, 145, 0.1);
	--bch-card-hover: 0 8px 30px rgba(4, 55, 145, 0.2);
	--bch-radius: 16px;
}

.page-bch {
	background: #fff;
}

/* Hero → dùng chung dpa-common.css */

/* ────────── SECTIONS ────────── */

.bch-section {
	padding: 50px 0;
}

.bch-section--primary {
	background: var(--bch-bg-light);
}

.bch-section--advisor {
	background: #fff;
}

.bch-section--independent {
	background: var(--bch-bg-light);
}

.bch-section--executive {
	background: #fff;
}

.bch-section--council {
	background: linear-gradient(135deg, var(--bch-primary) 0%, #0a4fba 100%);
}

/* Section Header */

.bch-section__header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.bch-section__header--center {
	justify-content: center;
	text-align: center;
	flex-direction: column;
	gap: 8px;
}

.bch-section__title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	color: var(--bch-primary);
	margin: 0;
	text-transform: uppercase;
}

.bch-section--council .bch-section__title {
	color: #fff;
}

.bch-section__badge {
	background: var(--bch-accent);
	color: #fff;
	padding: 4px 18px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.bch-section__badge--light {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.bch-section__note {
	text-align: center;
	font-style: italic;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 30px;
	font-size: 14px;
}

/* ────────── SECTION CONNECTORS ────────── */

.bch-section-connector {
	display: flex;
	justify-content: center;
}

.bch-section-connector__line {
	width: 3px;
	height: 40px;
	background: linear-gradient(to bottom, var(--bch-primary), var(--bch-accent));
	border-radius: 2px;
}

/* ────────── FEATURED (CHỦ TỊCH) ────────── */

.bch-featured {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

.bch-connector {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

.bch-connector__line {
	width: 3px;
	height: 40px;
	background: linear-gradient(to bottom, var(--bch-gold), var(--bch-primary));
	border-radius: 2px;
}

/* ────────── MEMBER CARD ────────── */

.bch-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px 16px;
	background: #fff;
	border-radius: var(--bch-radius);
	box-shadow: var(--bch-card-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none !important;
	color: inherit;
	border: 1px solid rgba(4, 55, 145, 0.08);
}

.bch-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--bch-card-hover);
	color: inherit;
}

.bch-card__avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 14px;
	border: 3px solid var(--bch-primary);
	flex-shrink: 0;
	background: var(--bch-bg-light);
}

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

.bch-card__name {
	font-size: 15px;
	font-weight: 700;
	color: var(--bch-primary);
	margin: 0 0 6px;
	line-height: 1.3;
}

.bch-card__position {
	font-size: 13px;
	color: #555;
	margin: 0;
	line-height: 1.4;
}

/* ── President variant ── */

.bch-card--president {
	padding: 32px 40px;
	background: linear-gradient(135deg, #fff 0%, #fdf8ec 100%);
	border: 2px solid var(--bch-gold);
	box-shadow: 0 6px 30px rgba(212, 160, 23, 0.2);
	max-width: 320px;
}

.bch-card--president .bch-card__avatar {
	width: 140px;
	height: 140px;
	border: 4px solid var(--bch-gold);
	box-shadow: 0 0 0 5px rgba(212, 160, 23, 0.12);
}

.bch-card--president .bch-card__name {
	font-size: 20px;
	color: var(--bch-accent);
}

.bch-card--president .bch-card__position {
	font-size: 15px;
	font-weight: 600;
	color: var(--bch-gold);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.bch-card--president:hover {
	box-shadow: 0 10px 40px rgba(212, 160, 23, 0.3);
}

/* ── Advisor variant ── */

.bch-card--advisor {
	background: linear-gradient(135deg, #fff 0%, #f2f6ff 100%);
	border-top: 4px solid var(--bch-primary);
}

/* ── Council variant (dark bg) ── */

.bch-card--council {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.bch-card--council .bch-card__avatar {
	border-color: rgba(255, 255, 255, 0.5);
}

.bch-card--council .bch-card__name {
	color: #fff;
}

.bch-card--council .bch-card__position {
	color: rgba(255, 255, 255, 0.75);
}

.bch-card--council:hover {
	background: rgba(255, 255, 255, 0.18);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ────────── GRID LAYOUTS ────────── */

.bch-grid {
	display: grid;
	gap: 20px;
}

.bch-grid--pct {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.bch-grid--2 {
	grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
}

.bch-grid--4 {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.bch-grid--5 {
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

/* ────────── DEPARTMENTS ────────── */

.bch-departments {
	display: grid;
	gap: 24px;
}

.bch-departments--2 {
	grid-template-columns: repeat(2, 1fr);
}

.bch-departments--3 {
	grid-template-columns: repeat(3, 1fr);
}

.bch-departments--4 {
	grid-template-columns: repeat(4, 1fr);
}

.bch-department {
	background: #fff;
	border-radius: var(--bch-radius);
	padding: 24px;
	box-shadow: var(--bch-card-shadow);
	border-top: 4px solid var(--bch-primary);
}

.bch-section--executive .bch-department {
	background: var(--bch-bg-light);
	box-shadow: none;
	border: 1px solid rgba(4, 55, 145, 0.1);
	border-top: 4px solid var(--bch-primary);
}

.bch-department__header {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--bch-bg-light);
}

.bch-department__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--bch-primary);
	margin: 0;
	line-height: 1.3;
}

/* Compact cards inside departments */

.bch-department .bch-card {
	padding: 16px 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.bch-department .bch-card__avatar {
	width: 76px;
	height: 76px;
	border-width: 2px;
}

.bch-department .bch-card__name {
	font-size: 13px;
}

.bch-department .bch-card__position {
	font-size: 11px;
}

/* ========================================
   SINGLE MEMBER PAGE
   ======================================== */

.bch-single {
	background: #fff;
}

/* Hero / Breadcrumb → dùng chung dpa-common.css */

/* ── Profile Card ── */

.bch-single__profile {
	padding: 50px 0 40px;
}

.bch-single__card {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	max-width: 900px;
	margin: 0 auto;
}

.bch-single__avatar {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 5px solid var(--bch-primary);
	box-shadow: 0 8px 30px rgba(4, 55, 145, 0.15);
	background: var(--bch-bg-light);
}

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

.bch-single__info {
	flex: 1;
	padding-top: 10px;
}

.bch-single__name {
	font-size: 28px;
	font-weight: 800;
	color: var(--bch-primary);
	margin: 0 0 8px;
	line-height: 1.2;
}

.bch-single__position {
	display: inline-block;
	background: var(--bch-accent);
	color: #fff;
	padding: 6px 20px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 24px;
}

/* ── Meta Info ── */

.bch-single__meta {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bch-single__meta-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
}

.bch-single__meta-item svg {
	color: var(--bch-primary);
	flex-shrink: 0;
}

.bch-single__meta-label {
	color: #888;
	min-width: 140px;
	flex-shrink: 0;
}

.bch-single__meta-value {
	color: #333;
	font-weight: 600;
}

.bch-single__meta-link {
	color: var(--bch-primary) !important;
	text-decoration: none !important;
	transition: opacity 0.2s;
}

.bch-single__meta-link:hover {
	opacity: 0.7;
}

/* ── Content (Giới Thiệu & Thành Tích) ── */

.bch-single__content {
	padding: 0 0 50px;
}

.bch-single__content-inner {
	max-width: 900px;
	margin: 0 auto;
	background: var(--bch-bg-light);
	border-radius: var(--bch-radius);
	padding: 36px 40px;
	border-left: 5px solid var(--bch-primary);
}

.bch-single__content-title {
	font-size: 22px;
	font-weight: 800;
	color: var(--bch-primary);
	margin: 0 0 20px;
	text-transform: uppercase;
}

.bch-single__content-body {
	color: #444;
	line-height: 1.8;
	font-size: 15px;
}

.bch-single__content-body p:last-child {
	margin-bottom: 0;
}

/* ── Back Link ── */

.bch-single__back {
	padding: 0 0 50px;
}

.bch-single__back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bch-primary) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 15px;
	padding: 12px 24px;
	border: 2px solid var(--bch-primary);
	border-radius: 50px;
	transition: all 0.3s;
	max-width: 900px;
	margin: 0 auto;
}

.bch-single__back-link:hover {
	background: var(--bch-primary);
	color: #fff !important;
}

.bch-single__back-link svg {
	transition: transform 0.3s;
}

.bch-single__back-link:hover svg {
	transform: translateX(-4px);
}

/* ────────── RESPONSIVE ────────── */

@media (max-width: 768px) {
	.bch-single__card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 24px;
	}

	.bch-single__avatar {
		width: 160px;
		height: 160px;
	}

	.bch-single__info {
		padding-top: 0;
	}

	.bch-single__meta {
		align-items: center;
	}

	.bch-single__meta-item {
		flex-direction: column;
		gap: 4px;
		text-align: center;
	}

	.bch-single__meta-label {
		min-width: auto;
	}

	.bch-single__content-inner {
		padding: 24px 20px;
	}

	.bch-single__name {
		font-size: 22px;
	}
}



@media (max-width: 1024px) {
	.bch-departments--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.bch-departments--2,
	.bch-departments--3,
	.bch-departments--4 {
		grid-template-columns: 1fr;
	}

	.bch-section {
		padding: 35px 0;
	}

	.bch-card--president {
		padding: 24px 20px;
	}

	.bch-card--president .bch-card__avatar {
		width: 110px;
		height: 110px;
	}

	.bch-card--president .bch-card__name {
		font-size: 18px;
	}

	.bch-grid--pct {
		grid-template-columns: repeat(2, 1fr);
	}

	.bch-section__header {
		margin-bottom: 28px;
	}
}

@media (max-width: 480px) {
	.bch-grid--pct,
	.bch-grid--4,
	.bch-grid--5 {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.bch-card {
		padding: 16px 10px;
	}

	.bch-card__avatar {
		width: 80px;
		height: 80px;
	}

	.bch-card__name {
		font-size: 13px;
	}

	.bch-section__title {
		font-size: 20px;
	}

	.bch-section-connector__line,
	.bch-connector__line {
		height: 28px;
	}
}
