/* ==========================================================================
   BAN CỐ VẤN QUỐC TẾ - COMPACT CAPSULE & PROFILE MODAL CSS
   Vị trí: Góc dưới bên trái màn hình (Bottom-Left)
   ========================================================================== */

/* 1. KHUNG CONTAINER WIDGET GÓC DƯỚI TRÁI */
.bancovan-widget-container {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 2147483640;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	user-select: none;
	-webkit-user-select: none;
}

:fullscreen .bancovan-widget-container,
:-webkit-full-screen .bancovan-widget-container,
:-moz-full-screen .bancovan-widget-container,
:-ms-fullscreen .bancovan-widget-container {
	position: fixed !important;
	z-index: 2147483640 !important;
	display: block !important;
}

/* 2. THẺ NỔI DẠNG CAPSULE NỔI BẬT THEO TRỤC Y */
.bancovan-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(10, 15, 29, 0.97) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(56, 189, 248, 0.4);
	border-radius: 32px;
	padding: 8px 16px 8px 8px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.25);
	cursor: pointer;
	max-width: 330px;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

.bancovan-card:hover {
	transform: translateY(-3px) scale(1.03);
	border-color: #38bdf8;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75), 0 0 28px rgba(56, 189, 248, 0.45);
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 15, 29, 0.99) 100%);
}

/* Khung Avatar tròn */
.bancovan-avatar-wrapper {
	position: relative;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
}

.bancovan-avatar-img {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 2px solid #38bdf8;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
	transition: opacity 0.22s ease, transform 0.22s ease;
	background: #0f172a;
}

/* Khung thông tin văn bản */
.bancovan-info-box {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.bancovan-name-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.bancovan-name {
	margin: 0;
	font-size: 13.5px;
	font-weight: 700;
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

.bancovan-counter {
	font-size: 9.5px;
	font-weight: 700;
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.18);
	padding: 1.5px 6px;
	border-radius: 6px;
	border: 1px solid rgba(56, 189, 248, 0.3);
	flex-shrink: 0;
}

.bancovan-title {
	margin: 0;
	font-size: 11px;
	color: #94a3b8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

/* Thanh đếm ngược 10 giây ở đáy capsule */
.bancovan-progress-track {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.bancovan-progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #38bdf8, #0284c7);
}

/* ==========================================================================
   3. MODAL HỒ SƠ CHI TIẾT BAN CỐ VẤN
   ========================================================================== */
.bancovan-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	z-index: 2147483647;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
	user-select: none;
	-webkit-user-select: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:fullscreen .bancovan-modal,
:-webkit-full-screen .bancovan-modal,
:-moz-full-screen .bancovan-modal,
:-ms-fullscreen .bancovan-modal {
	position: fixed !important;
	z-index: 2147483647 !important;
	display: flex !important;
}

.bancovan-modal.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.bancovan-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(5, 10, 20, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.bancovan-modal-box {
	position: relative;
	width: 90vw;
	max-width: 90vw;
	height: 90vh;
	height: 90dvh;
	max-height: 90vh;
	max-height: 90dvh;
	background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 15, 29, 0.99) 100%);
	border-radius: 24px;
	border: 1px solid rgba(56, 189, 248, 0.35);
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform: scale(0.9) translateY(20px);
	transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	z-index: 2;
}

.bancovan-modal.active .bancovan-modal-box {
	transform: scale(1) translateY(0);
}

.bancovan-modal-header {
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.02);
	flex-shrink: 0;
}

.bancovan-modal-title {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
}

.bancovan-modal-title-icon {
	font-size: 20px;
	flex-shrink: 0;
}

.bancovan-modal-title-box {
	min-width: 0;
	flex: 1;
}

.bancovan-title-mobile {
	display: none;
}

.bancovan-title-desktop {
	display: inline;
}

.bancovan-modal-heading {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bancovan-modal-subheading {
	margin: 2px 0 0 0;
	font-size: 11px;
	color: #94a3b8;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bancovan-header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.bancovan-modal-close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #94a3b8;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	transition: all 0.2s ease;
}

.bancovan-modal-close:hover {
	background: #ef4444;
	color: #ffffff;
	border-color: #ef4444;
	transform: rotate(90deg);
}

.bancovan-modal-body {
	padding: 18px 22px;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1;
	scrollbar-width: none; /* Ẩn thanh trượt Firefox */
	-ms-overflow-style: none; /* Ẩn thanh trượt IE/Edge */
}

.bancovan-modal-body::-webkit-scrollbar,
.bancovan-modal-box::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

/* ==========================================================================
   VIEW 1: DANH SÁCH TỔNG HỢP 6 CỐ VẤN (GRID 3 CỘT TRÊN MÁY TÍNH)
   ========================================================================== */
.bancovan-list-intro {
	margin: 0 0 14px 0;
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.4;
}

.bancovan-grid-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.bancovan-modal-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: all 0.25s ease;
	box-sizing: border-box;
	width: 100%;
}

.bancovan-modal-card:hover {
	background: rgba(56, 189, 248, 0.09);
	border-color: rgba(56, 189, 248, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.bancovan-modal-avatar-box {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 1.5px solid #38bdf8;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.bancovan-modal-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bancovan-modal-info {
	flex: 1;
	min-width: 0;
}

.bancovan-modal-badge-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 2px;
}

.bancovan-modal-index {
	font-size: 9.5px;
	font-weight: 700;
	color: #38bdf8;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	flex-shrink: 0;
}

.bancovan-modal-tag {
	font-size: 8.5px;
	font-weight: 600;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.25);
	color: #38bdf8;
	padding: 1px 5px;
	border-radius: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bancovan-modal-name {
	margin: 0 0 2px 0;
	font-size: 13.5px;
	font-weight: 700;
	color: #f8fafc;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bancovan-modal-org {
	margin: 0 0 2px 0;
	font-size: 11px;
	font-weight: 600;
	color: #38bdf8;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bancovan-modal-desc {
	margin: 0;
	font-size: 10.5px;
	color: #94a3b8;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bancovan-modal-arrow {
	color: #64748b;
	font-size: 14px;
	transition: all 0.25s ease;
	flex-shrink: 0;
}

.bancovan-modal-card:hover .bancovan-modal-arrow {
	color: #38bdf8;
	transform: translateX(3px);
}

/* ==========================================================================
   VIEW 2: CHI TIẾT HỒ SƠ CHUYÊN GIA (BỐ CỤC 2 CỘT CÂN ĐỐI TRÊN MÁY TÍNH)
   ========================================================================== */
.bancovan-profile-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	animation: profileFadeIn 0.3s ease;
}

@keyframes profileFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.bancovan-profile-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bancovan-profile-header-nav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bancovan-back-btn {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	padding: 6px 14px;
	color: #cbd5e1;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.bancovan-back-btn:hover {
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border-color: #38bdf8;
}

.bancovan-nav-sub-btn {
	padding: 6px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #f1f5f9;
	font-size: 11.5px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.bancovan-nav-sub-btn:hover {
	background: #0284c7;
	border-color: #38bdf8;
	color: #ffffff;
}

.bancovan-nav-page-info {
	font-size: 11.5px;
	font-weight: 700;
	color: #64748b;
}

/* Lưới 2 cột: Cột trái (Hero & Tóm tắt), Cột phải (Chuyên môn & Dấu ấn) */
.bancovan-profile-body-grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 20px;
	align-items: start;
}

.bancovan-profile-col-left {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bancovan-profile-col-right {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Hero cá nhân */
.bancovan-profile-hero {
	display: flex;
	align-items: center;
	gap: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	padding: 16px;
}

.bancovan-profile-avatar-box {
	position: relative;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	flex-shrink: 0;
}

.bancovan-profile-avatar-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 2px solid #38bdf8;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.bancovan-profile-hero-info {
	flex: 1;
	min-width: 0;
}

.bancovan-profile-badge {
	display: inline-block;
	font-size: 9.5px;
	font-weight: 700;
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.3);
	padding: 2px 7px;
	border-radius: 10px;
	margin-bottom: 4px;
}

.bancovan-profile-name {
	margin: 0 0 3px 0;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
}

.bancovan-profile-role {
	font-size: 12px;
	font-weight: 600;
	color: #38bdf8;
	margin-bottom: 2px;
	line-height: 1.3;
}

.bancovan-profile-org {
	font-size: 11px;
	color: #94a3b8;
	line-height: 1.3;
}

.bancovan-profile-summary-box {
	background: rgba(56, 189, 248, 0.07);
	border-left: 3px solid #38bdf8;
	padding: 14px 16px;
	border-radius: 0 14px 14px 0;
	font-size: 12.5px;
	color: #e2e8f0;
	line-height: 1.6;
}

.bancovan-summary-title {
	margin: 0 0 8px 0;
	font-size: 12.5px;
	font-weight: 700;
	color: #38bdf8;
}

.bancovan-summary-content {
	font-size: 12.5px;
	color: #e2e8f0;
	line-height: 1.65;
}

.bancovan-summary-content p {
	margin: 0 0 8px 0;
}

.bancovan-summary-content p:last-child {
	margin-bottom: 0;
}

.bancovan-summary-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	margin: 10px auto;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.bancovan-summary-content .video-embed-container {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 12px auto;
	border-radius: 10px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(56, 189, 248, 0.25);
}

.bancovan-summary-content .video-embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.bancovan-summary-content .video-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 12px auto;
	border-radius: 10px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(56, 189, 248, 0.25);
}

.bancovan-summary-content .video-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 10px;
}

.bancovan-summary-content figure {
	margin: 10px 0;
	text-align: center;
}

.bancovan-summary-content figcaption {
	font-size: 11px;
	color: #94a3b8;
	margin-top: 4px;
}

.bancovan-profile-summary-box p {
	margin: 0;
}

/* ==========================================================================
   KHUNG MỞ RỘNG / THU GỌN NỘI DUNG DẤU ẤN SỰ NGHIỆP & TIỂU SỬ
   ========================================================================== */
.bancovan-expandable-box {
	position: relative;
	width: 100%;
}

.bancovan-expandable-box.bancovan-collapsed .bancovan-expandable-content {
	max-height: 230px;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bancovan-expandable-box.bancovan-expanded .bancovan-expandable-content {
	max-height: 4000px;
	overflow: visible;
	transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bancovan-expandable-fade {
	display: none;
	position: absolute;
	bottom: 38px;
	left: 0;
	right: 0;
	height: 75px;
	background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.96) 100%);
	pointer-events: none;
	z-index: 2;
}

.bancovan-expandable-box.bancovan-collapsed .bancovan-expandable-fade {
	display: block;
}

.bancovan-btn-readmore {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin-top: 10px;
	padding: 8px 16px;
	background: rgba(56, 189, 248, 0.1);
	border: 1px solid rgba(56, 189, 248, 0.35);
	color: #38bdf8;
	font-size: 12px;
	font-weight: 600;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	z-index: 3;
}

.bancovan-btn-readmore:hover {
	background: rgba(56, 189, 248, 0.22);
	border-color: #38bdf8;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.bancovan-readmore-arrow {
	font-size: 10px;
	transition: transform 0.2s ease;
}

/* Các section thông tin */
.bancovan-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bancovan-section-title {
	margin: 0;
	font-size: 13.5px;
	font-weight: 700;
	color: #f8fafc;
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding-bottom: 6px;
}

.bancovan-expertise-list,
.bancovan-highlights-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bancovan-expertise-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12.5px;
	color: #cbd5e1;
	background: rgba(255, 255, 255, 0.025);
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	line-height: 1.4;
}

.bancovan-highlights-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12.5px;
	color: #94a3b8;
	line-height: 1.45;
}

.bancovan-highlights-list li span {
	color: #38bdf8;
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 1px;
}

/* ==========================================================================
   VIDEO GALLERY BAN CỐ VẤN (THƯ VIỆN VIDEO HOẠT ĐỘNG, PHỎNG VẤN & HUẤN LUYỆN)
   ========================================================================== */
.bancovan-videos-section {
	margin-top: 20px;
	background: rgba(15, 23, 42, 0.65);
	border: 1px solid rgba(56, 189, 248, 0.25);
	border-radius: 18px;
	padding: 18px 20px;
	backdrop-filter: blur(12px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	animation: profileFadeIn 0.35s ease;
}

.bancovan-videos-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding-bottom: 10px;
}

.bancovan-videos-subtitle {
	font-size: 11.5px;
	color: #94a3b8;
}

.bancovan-video-player-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #050814;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(56, 189, 248, 0.3);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.bancovan-video-iframe,
.bancovan-video-element {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
	object-fit: cover;
}

.bancovan-video-caption {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #f1f5f9;
}

.bancovan-video-play-icon {
	color: #fbbf24;
	font-size: 12px;
}

/* Dạng Gallery nhiều video */
.bancovan-gallery-main-stage {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bancovan-gallery-current-title {
	font-size: 13px;
	font-weight: 600;
	color: #e2e8f0;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
}

.bancovan-gallery-thumbs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bancovan-gallery-thumb-item {
	background: rgba(30, 41, 59, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 8px;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bancovan-gallery-thumb-item:hover {
	background: rgba(56, 189, 248, 0.12);
	border-color: rgba(56, 189, 248, 0.4);
	transform: translateY(-2px);
}

.bancovan-gallery-thumb-item.active {
	background: rgba(56, 189, 248, 0.18);
	border-color: #38bdf8;
	box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.bancovan-gallery-thumb-box {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: #0b0f19;
}

.bancovan-gallery-thumb-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.bancovan-gallery-thumb-item:hover .bancovan-gallery-thumb-box img {
	transform: scale(1.05);
}

.bancovan-gallery-thumb-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 20px;
	transition: background 0.2s ease;
}

.bancovan-gallery-thumb-item:hover .bancovan-gallery-thumb-overlay {
	background: rgba(56, 189, 248, 0.4);
}

.bancovan-gallery-thumb-item.active .bancovan-gallery-thumb-overlay {
	background: rgba(2, 132, 199, 0.45);
	color: #fbbf24;
}

.bancovan-gallery-badge {
	position: absolute;
	top: 6px;
	left: 6px;
	background: rgba(15, 23, 42, 0.85);
	color: #38bdf8;
	font-size: 9px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 6px;
	border: 1px solid rgba(56, 189, 248, 0.3);
}

.bancovan-gallery-thumb-title {
	font-size: 11.5px;
	font-weight: 600;
	color: #cbd5e1;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bancovan-gallery-thumb-item.active .bancovan-gallery-thumb-title {
	color: #38bdf8;
	font-weight: 700;
}

/* ==========================================================================
   4. RESPONSIVE ĐIỆN THOẠI & MÀN HÌNH NHỎ
   ========================================================================== */
@media screen and (max-width: 768px) {
	.bancovan-widget-container {
		bottom: calc(14px + env(safe-area-inset-bottom, 0px));
		left: calc(12px + env(safe-area-inset-left, 0px));
		max-width: calc(100vw - 24px);
	}

	.bancovan-card {
		max-width: 240px;
		padding: 4px 10px 4px 4px;
		gap: 7px;
		border-radius: 24px;
	}

	.bancovan-avatar-wrapper {
		width: 34px;
		height: 34px;
	}

	.bancovan-avatar-img {
		width: 34px;
		height: 34px;
	}

	.bancovan-name {
		font-size: 11.5px;
	}

	.bancovan-title {
		font-size: 9.5px;
	}

	.bancovan-modal-box {
		width: 80vw;
		max-width: 80vw;
		max-height: 80vh;
		max-height: 80dvh;
		border-radius: 18px;
	}

	.bancovan-title-desktop {
		display: none;
	}

	.bancovan-title-mobile {
		display: inline;
	}

	.bancovan-modal-header {
		padding: 10px 12px;
		gap: 6px;
	}

	.bancovan-modal-title {
		gap: 6px;
	}

	.bancovan-modal-title-icon {
		font-size: 16px;
	}

	.bancovan-modal-heading {
		font-size: 13px;
	}

	.bancovan-modal-subheading {
		font-size: 9px;
	}

	.bancovan-modal-close {
		width: 26px;
		height: 26px;
		font-size: 12px;
	}

	.bancovan-modal-body {
		padding: 12px 10px;
	}

	.bancovan-grid-list {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.bancovan-profile-body-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.bancovan-profile-top-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.bancovan-profile-header-nav {
		width: 100%;
		justify-content: space-between;
	}

	.bancovan-modal-card {
		padding: 7px 9px;
		gap: 8px;
		border-radius: 12px;
	}

	.bancovan-modal-avatar-box {
		width: 38px;
		height: 38px;
	}

	.bancovan-modal-name {
		font-size: 12px;
	}

	.bancovan-modal-org {
		font-size: 10px;
	}

	.bancovan-modal-desc {
		font-size: 9.5px;
	}

	.bancovan-profile-hero {
		flex-direction: column;
		text-align: center;
		padding: 12px;
		gap: 10px;
	}


	.bancovan-profile-hero-info {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

/* ==========================================================================
   5. IMAGE GALLERY & LIGHTBOX
   ========================================================================== */

/* Container ảnh gallery (tương tự video section) */
.bancovan-images-section {
	background: rgba(10, 15, 35, 0.55);
	border-radius: 18px;
	border: 1px solid rgba(139, 92, 246, 0.3);
	padding: 20px 22px;
	margin-top: 18px;
	backdrop-filter: blur(10px);
}

/* Ảnh đơn lẻ */
.bancovan-images-single {
	margin-top: 10px;
}

.bancovan-img-single {
	width: 100%;
	max-height: 380px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid rgba(139, 92, 246, 0.25);
	cursor: zoom-in;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: block;
}

.bancovan-img-single:hover {
	transform: scale(1.01);
	box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

/* Lightbox overlay được tạo bằng JS - không dùng CSS class toggle nữa */

/* Grid ảnh khi có nhiều ảnh */
.bancovan-images-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.bancovan-image-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid rgba(139, 92, 246, 0.25);
	background: rgba(15, 23, 42, 0.5);
	aspect-ratio: 4 / 3;
	transition: border-color 0.2s, transform 0.2s;
}

.bancovan-image-item:hover {
	border-color: rgba(139, 92, 246, 0.7);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.bancovan-image-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.bancovan-image-item:hover img {
	transform: scale(1.06);
}

.bancovan-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(139, 92, 246, 0.0);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	opacity: 0;
	transition: opacity 0.25s, background 0.25s;
}

.bancovan-image-item:hover .bancovan-image-overlay {
	opacity: 1;
	background: rgba(139, 92, 246, 0.35);
}

.bancovan-image-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
	color: #e2e8f0;
	font-size: 0.74rem;
	padding: 18px 8px 6px;
	text-align: center;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
	.bancovan-images-grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: 8px;
	}

	.bancovan-img-single {
		max-height: 220px;
	}
}