/* ==========================================================================
   Country Volunteers Showcase Pro — pek-cvs-*
   Premium interactive country flag grid + volunteer image grid
   ========================================================================== */

/* ── Reset ───────────────────────────────────────────────────────────────── */
.pek-cvs-wrapper,
.pek-cvs-wrapper * { box-sizing: border-box; }
.pek-cvs-wrapper { display: block; position: relative; width: 100%; overflow: hidden; }

/* ── Two-column layout ───────────────────────────────────────────────────── */
.pek-cvs-layout {
	display: flex;
	align-items: stretch;
	gap: 0;
	width: 100%;
}
.pek-cvs-layout--flags-left  .pek-cvs-flags-section { order: 1; }
.pek-cvs-layout--flags-left  .pek-cvs-divider        { order: 2; }
.pek-cvs-layout--flags-left  .pek-cvs-vol-section    { order: 3; flex: 1; min-width: 0; }
.pek-cvs-layout--flags-right .pek-cvs-flags-section  { order: 3; }
.pek-cvs-layout--flags-right .pek-cvs-divider        { order: 2; }
.pek-cvs-layout--flags-right .pek-cvs-vol-section    { order: 1; flex: 1; min-width: 0; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.pek-cvs-flags-section { flex: 0 0 30%; min-width: 0; padding: 32px 24px; }
.pek-cvs-vol-section   { flex: 1; min-width: 0; padding: 32px 24px; }

/* ── Divider — vertical on desktop, horizontal on mobile ─────────────────── */
.pek-cvs-divider {
	flex: 0 0 1px;
	width: 1px;
	background: #e2e8f0;
	align-self: stretch;
}

/* ── Flag Grid ───────────────────────────────────────────────────────────── */
.pek-cvs-flag-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	justify-items: center;
	align-items: start;
}

/* ── Flag Card ───────────────────────────────────────────────────────────── */
.pek-cvs-flag-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 16px 12px;
	background: #ffffff;
	border-radius: 14px;
	border: 1.5px solid #e8edf4;
	cursor: pointer;
	user-select: none;
	position: relative;
	gap: 9px;
	width: 100%;
	transition: background 0.22s ease, border-color 0.22s ease,
	            box-shadow 0.22s ease, transform 0.22s ease;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}
.pek-cvs-flag-card:hover:not(.is-active) {
	background: #f7f8ff;
	border-color: #c7d0ee;
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(108,99,255,0.10);
}
.pek-cvs-flag-card:focus-visible { box-shadow: 0 0 0 3px rgba(108,99,255,0.35); }
.pek-cvs-flag-card.is-active {
	background: #f0f4ff;
	border-color: #6c63ff;
	box-shadow: 0 0 0 3px rgba(108,99,255,0.20);
}

/* Circle shape */
.pek-cvs-flag-card--circle { border-radius: 50%; aspect-ratio: 1; padding: 12px; }
.pek-cvs-flag-card--circle .pek-cvs-flag-name { display: none; }
.pek-cvs-flag-grid--circle .pek-cvs-flag-name {
	display: block; margin-top: 6px; font-size: 12px;
	font-weight: 600; color: #1e293b; text-align: center;
}

/* Active bar (square cards only) */
.pek-cvs-flag-active-bar {
	display: none;
	position: absolute; bottom: 0; left: 50%;
	transform: translateX(-50%);
	width: 36px; height: 3px;
	background: #6c63ff;
	border-radius: 2px 2px 0 0;
}
.pek-cvs-flag-card.is-active .pek-cvs-flag-active-bar { display: block; }
.pek-cvs-flag-card--circle .pek-cvs-flag-active-bar { display: none !important; }

/* ── Flag Image Wrap ─────────────────────────────────────────────────────── */
.pek-cvs-flag-img-wrap {
	display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; flex-shrink: 0; overflow: hidden;
}
.pek-cvs-flag-img-wrap--square { border-radius: 8px; }
.pek-cvs-flag-img-wrap--circle { border-radius: 50%; }
.pek-cvs-flag-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pek-cvs-flag-placeholder { font-size: 28px; line-height: 1; }

/* ── Country Name ────────────────────────────────────────────────────────── */
.pek-cvs-flag-name {
	display: block; font-size: 13px; font-weight: 600;
	line-height: 1.3; color: #1e293b;
	transition: color 0.2s ease; word-break: break-word;
}
.pek-cvs-flag-card.is-active .pek-cvs-flag-name { color: #6c63ff; }

/* ── Count Badge ─────────────────────────────────────────────────────────── */
.pek-cvs-flag-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 20px; height: 20px; padding: 0 6px;
	font-size: 11px; font-weight: 700; line-height: 1;
	color: #fff; background: #6c63ff; border-radius: 20px;
	position: absolute; top: 7px; right: 7px;
}
.pek-cvs-flag-card--circle .pek-cvs-flag-badge { top: 2px; right: 2px; }

/* ── Volunteer Grid ──────────────────────────────────────────────────────── */
.pek-cvs-vol-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 8px;  /* horizontal — controlled by Elementor column gap slider */
	row-gap: 12px;    /* vertical — controlled by Elementor row gap slider */
	align-items: start;
	justify-items: center;
	justify-content: center;
	/* Default max-width keeps columns from stretching across the full section.
	   Overridden by the Elementor "Grid Max Width" responsive control. */
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	/* Fade transition — controlled via .pek-cvs-fading class, NOT inline style */
	transition: opacity 0.35s ease;
	width: 100%;
}
/* Added by JS during country/page switch — removed after content swaps in */
.pek-cvs-vol-grid.pek-cvs-fading { opacity: 0; pointer-events: none; }

/* ── Volunteer Item ──────────────────────────────────────────────────────── */
.pek-cvs-vol-item {
	display: flex; flex-direction: column;
	align-items: center; text-align: center;
	gap: 10px; cursor: pointer; outline: none;
	-webkit-tap-highlight-color: transparent;
	animation: pekCvsReveal 0.42s ease both;
	animation-delay: var(--pek-delay, 0ms);
	width: 100%;
}
.pek-cvs-vol-item.pek-cvs-hidden { display: none; }

/* ── Volunteer Image Wrap ────────────────────────────────────────────────── */
.pek-cvs-vol-img-wrap {
	position: relative;
	width: 100%;          /* fill column width … */
	max-width: 100%;      /* … but capped by Elementor slider (per device) */
	aspect-ratio: 1 / 1; /* always square */
	overflow: hidden;
	display: block;
	flex-shrink: 0;
	/* Center the wrap inside the item when max-width is smaller than column */
	margin-left: auto;
	margin-right: auto;
	background: #e2e8f0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pek-cvs-vol-img-wrap--square { border-radius: 14px; }
.pek-cvs-vol-img-wrap--circle { border-radius: 50%; }

.pek-cvs-vol-img-wrap img {
	width: 100%; height: 100%;
	object-fit: cover; object-position: center top; display: block;
	transition: transform 0.4s ease;
}
.pek-cvs-vol-item:hover .pek-cvs-vol-img-wrap img { transform: scale(1.06); }
.pek-cvs-vol-item:hover .pek-cvs-vol-img-wrap {
	transform: translateY(-5px);
	box-shadow: 0 20px 48px rgba(15,23,42,0.18);
}

/* Hover overlay */
.pek-cvs-vol-img-overlay {
	position: absolute; inset: 0;
	background: rgba(108,99,255,0.55); opacity: 0;
	display: flex; align-items: center; justify-content: center;
	transition: opacity 0.28s ease; border-radius: inherit;
}
.pek-cvs-vol-img-overlay svg { width: 32px; height: 32px; stroke: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.pek-cvs-vol-item:hover .pek-cvs-vol-img-overlay { opacity: 1; }

.pek-cvs-vol-placeholder-img {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-size: 48px; background: #e8edf4;
}

/* ── Volunteer Info ──────────────────────────────────────────────────────── */
.pek-cvs-vol-info {
	display: flex; flex-direction: column;
	align-items: center; gap: 3px;
	text-align: center; width: 100%; padding: 0 4px;
}
.pek-cvs-vol-name-label {
	display: block; font-size: 14px; font-weight: 700;
	line-height: 1.3; color: #1e293b;
	word-break: break-word; text-align: center;
}
.pek-cvs-vol-role-label {
	display: block; font-size: 12px; font-weight: 500;
	color: #6c63ff; letter-spacing: 0.01em; text-align: center;
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes pekCvsReveal {
	from { opacity: 0; transform: translateY(20px) scale(0.96); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =============================================================================
   MODAL
   ============================================================================= */
.pek-cvs-modal-overlay {
	position: fixed;
	inset: 0;                        /* replaces top/left/width/height — avoids dvh edge cases */
	background: rgba(10,10,30,.72);
	z-index: 999999;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 24px;
	overflow-y: auto;                /* overlay itself scrolls only if box overflows viewport */
	overscroll-behavior: contain;   /* prevent scroll chaining to the page behind */
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	animation: pekModalFadeIn 0.22s ease;
}

.pek-cvs-modal-overlay[hidden] {
	display: none !important;
}

@keyframes pekModalFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.pek-cvs-modal-box {
	position: relative;
	background: #fff;
	border-radius: 24px;
	width: 100%;
	max-width: 820px;
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	overscroll-behavior: contain;
	margin: auto;
	box-shadow: 0 30px 80px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.12);
	animation: pekModalSlideIn 0.30s cubic-bezier(0.22,1,0.36,1);
	display: flex; flex-direction: column;
}
@keyframes pekModalSlideIn {
	from { opacity: 0; transform: translateY(28px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Close button ─────────────────────────────────────────────────────────── */
.pek-cvs-modal-close {
	all: unset; box-sizing: border-box;
	position: absolute; top: 14px; right: 14px; z-index: 10;
	width: 38px; height: 38px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(15,23,42,0.10);
	color: #1e293b;
	cursor: pointer;
	transition: background 0.22s ease, transform 0.22s ease, color 0.22s ease;
	-webkit-tap-highlight-color: transparent;
}
.pek-cvs-modal-close:hover   { background: rgba(108,99,255,0.18); color: #6c63ff; transform: scale(1.1); }
.pek-cvs-modal-close:focus-visible { outline: 3px solid rgba(108,99,255,0.5); outline-offset: 2px; }
.pek-cvs-modal-close svg     { width: 18px; height: 18px; display: block; stroke: currentColor; fill: none; pointer-events: none; }

/* ── Inner layout — 40% image / 60% profile ──────────────────────────────── */
.pek-cvs-modal-inner {
	display: flex; align-items: stretch; flex: 1;
}

.pek-cvs-modal-image-col {
	flex: 0 0 40%;
	position: relative; overflow: hidden;
	background: #1e293b;
	min-height: 320px;
}
.pek-cvs-modal-img-wrap { width: 100%; height: 100%; min-height: 320px; }
.pek-cvs-modal-img      { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.pek-cvs-modal-profile-col {
	flex: 0 0 60%;
	padding: 40px 36px 36px;
	display: flex; flex-direction: column;
	overflow-y: auto;
}

/* ── Minimal mode — no bio/socials — centre the content ─────────────────── */
.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-image-col   { flex: 0 0 44%; }
.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-profile-col {
	flex: 0 0 56%;
	align-items: center;
	justify-content: center;
	text-align: center;
}
/* Centre the badge in minimal mode */
.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-country-badge { margin-inline: auto; }
/* Kill dead space — role gets no bottom margin in minimal mode since sep/bio are hidden */
.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-role         { margin-bottom: 0; }
.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-sep,
.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-bio          { display: none !important; }
.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-socials      { justify-content: center; }

/* ── Profile content ──────────────────────────────────────────────────────── */
.pek-cvs-modal-country-badge {
	display: inline-flex; align-items: center; gap: 6px;
	background: #f0f4ff; border: 1px solid #dde3ff;
	border-radius: 999px; padding: 5px 14px 5px 10px;
	margin-bottom: 14px; width: fit-content;
}
.pek-cvs-modal-country-badge svg { width: 13px; height: 13px; stroke: #6c63ff; flex-shrink: 0; }
.pek-cvs-modal-country-text      { font-size: 11px; font-weight: 600; color: #6c63ff; letter-spacing: 0.04em; text-transform: uppercase; }

.pek-cvs-modal-name {
	margin: 0 0 6px;
	font-size: 24px; font-weight: 800; line-height: 1.2;
	color: #6c63ff; letter-spacing: -0.02em;
}
.pek-cvs-modal-role {
	display: block;
	font-size: 13px; font-weight: 600; color: #6c63ff; opacity: 0.75;
	margin-bottom: 18px; letter-spacing: 0.02em;
}
.pek-cvs-modal-sep {
	flex-shrink: 0;
	height: 1px;
	background: linear-gradient(90deg, #6c63ff 0%, transparent 100%);
	margin-bottom: 16px; width: 52px;
}
.pek-cvs-modal-bio {
	margin: 0 0 20px;
	font-size: 14px; line-height: 1.75; color: #475569;
	flex: 1; /* pushes socials to the bottom in full-profile mode */
}

.pek-cvs-modal-socials {
	display: flex; gap: 10px; flex-wrap: wrap;
	padding-top: 14px;
}
.pek-cvs-modal-social-link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 10px;
	background: #f1f5f9; text-decoration: none;
	transition: background 0.22s ease, transform 0.22s ease;
}
.pek-cvs-modal-social-link:hover { background: #e8e4ff; transform: translateY(-2px); }
.pek-cvs-modal-social-link svg   { width: 17px; height: 17px; fill: #64748b; transition: fill 0.2s ease; }
.pek-cvs-modal-social-link:hover svg { fill: #6c63ff; }

/* =============================================================================
   EMPTY STATE
   ============================================================================= */
.pek-cvs-empty-state {
	display: flex; flex-direction: column;
	align-items: center; justify-content: center; text-align: center;
	gap: 16px; padding: 52px 32px;
	background: #f8faff;
	border-radius: 20px; border: 1.5px dashed #c7c2f5;
	width: 100%;
	animation: pekCvsReveal 0.4s ease both;
}
.pek-cvs-empty-state[hidden] { display: none; }
.pek-cvs-empty-state__icon {
	width: 80px; height: 80px;
	display: flex; align-items: center; justify-content: center;
	background: #ede9ff; border-radius: 50%; flex-shrink: 0;
}
.pek-cvs-empty-state__icon svg { width: 44px; height: 44px; stroke: #c7c2f5; }
.pek-cvs-empty-state__title { margin: 0; font-size: 18px; font-weight: 700; color: #1e293b; line-height: 1.3; }
.pek-cvs-empty-state__desc  { margin: 0; font-size: 14px; font-weight: 400; color: #64748b; line-height: 1.7; max-width: 360px; }

/* =============================================================================
   PAGINATION
   ============================================================================= */
.pek-cvs-pagination {
	display: flex; align-items: center; justify-content: center;
	flex-wrap: wrap; gap: 6px; margin-top: 32px; width: 100%;
}
.pek-cvs-pagination[hidden] { display: none; }

.pek-cvs-page-btn {
	all: unset; box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; flex-shrink: 0;
	background: #ffffff; color: #475569;
	font-size: 14px; font-weight: 600; line-height: 1;
	border-radius: 10px; border: 1.5px solid #e2e8f0;
	cursor: pointer; user-select: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
	            transform 0.18s ease, box-shadow 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}
.pek-cvs-page-btn svg { width: 16px; height: 16px; display: block; pointer-events: none; stroke: currentColor; fill: none; }
.pek-cvs-page-btn:hover:not(.is-active):not(:disabled) {
	background: #f0f4ff; border-color: #c5c0f5; color: #6c63ff;
	transform: translateY(-2px); box-shadow: 0 4px 12px rgba(108,99,255,0.12);
}
.pek-cvs-page-btn:focus-visible { outline: 3px solid rgba(108,99,255,0.4); outline-offset: 2px; }
.pek-cvs-page-btn.is-active {
	background: #6c63ff; color: #ffffff; border-color: #6c63ff;
	box-shadow: 0 4px 14px rgba(108,99,255,0.35);
	transform: translateY(-1px); cursor: default;
}
.pek-cvs-page-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.pek-cvs-page-prev, .pek-cvs-page-next { background: #f8fafc; }

.pek-cvs-page-ellipsis {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; font-size: 14px; color: #94a3b8;
	user-select: none; letter-spacing: 0.05em;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1024px) {
	.pek-cvs-flags-section { flex: 0 0 33%; }
	.pek-cvs-vol-grid { grid-template-columns: repeat(2, 1fr); column-gap: 8px; row-gap: 12px; max-width: 520px; }
	.pek-cvs-flag-grid { gap: 10px; }
	/* Modal: keep 40/60 on tablet */
	.pek-cvs-modal-image-col   { flex: 0 0 40%; min-height: 280px; }
	.pek-cvs-modal-profile-col { flex: 0 0 60%; padding: 32px 24px 28px; }
	.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-image-col   { flex: 0 0 44%; }
	.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-profile-col { flex: 0 0 56%; }
}

@media (max-width: 767px) {
	.pek-cvs-layout { flex-direction: column !important; }
	.pek-cvs-flags-section, .pek-cvs-vol-section {
		flex: 1 1 100% !important; width: 100% !important;
	}
	/* Divider: horizontal on mobile — set both dimensions */
	.pek-cvs-divider {
		width: 100% !important; height: 1px !important;
		min-height: 0 !important; flex: 0 0 1px !important; align-self: auto;
	}
	.pek-cvs-flag-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.pek-cvs-flag-card { padding: 12px 8px; gap: 7px; border-radius: 12px; }
	.pek-cvs-flag-card--circle { border-radius: 50%; }
	.pek-cvs-flag-img-wrap { width: 40px; height: 40px; }
	.pek-cvs-flag-name { font-size: 11px; }
	.pek-cvs-flag-badge { top: 4px; right: 4px; min-width: 16px; height: 16px; font-size: 9px; padding: 0 3px; }
	.pek-cvs-vol-grid { grid-template-columns: repeat(2, 1fr); column-gap: 8px; row-gap: 10px; max-width: 100%; }
	/* Default image cap on mobile — overridden if user sets the Elementor slider */
	.pek-cvs-vol-img-wrap { max-width: 140px; }
	/* Modal: properly centred on mobile */
	.pek-cvs-modal-overlay {
		padding: 12px;
		padding-top: max(12px, env(safe-area-inset-top));
		padding-bottom: max(12px, env(safe-area-inset-bottom));
		align-items: center;
		justify-content: center;
	}
	.pek-cvs-modal-box {
		max-width: 100%;
		width: 100%;
		border-radius: 20px;
		margin: auto;
		max-height: calc(100dvh - 24px);
		max-height: calc(100svh - 24px); /* svh = small viewport height, more reliable on mobile */
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
	.pek-cvs-modal-inner { flex-direction: column; }

	/* Image: fixed portrait height on mobile */
	.pek-cvs-modal-image-col,
	.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-image-col {
		flex: 0 0 200px;
		min-height: 200px;
		width: 100%;
		border-radius: 20px 20px 0 0;
	}

	/* Profile: full-width */
	.pek-cvs-modal-profile-col,
	.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-profile-col {
		flex: 1 1 auto;
		width: 100%;
		padding: 22px 18px 28px;
		align-items: flex-start;
		justify-content: flex-start;
		text-align: left;
		overflow-y: visible;
	}
	/* Centre everything in minimal mode on mobile */
	.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-profile-col {
		align-items: center;
		text-align: center;
	}
	.pek-cvs-modal-name { font-size: 20px; }
	.pek-cvs-modal-bio  { font-size: 13px; }
	.pek-cvs-modal-box.pek-modal--minimal .pek-cvs-modal-sep { margin-inline: auto; }
	/* Empty state */
	.pek-cvs-empty-state { padding: 36px 20px; gap: 12px; }
	.pek-cvs-empty-state__icon { width: 64px; height: 64px; }
	.pek-cvs-empty-state__icon svg { width: 34px; height: 34px; }
	.pek-cvs-empty-state__title { font-size: 16px; }
	.pek-cvs-empty-state__desc  { font-size: 13px; }
	/* Pagination */
	.pek-cvs-pagination { gap: 5px; margin-top: 24px; }
	.pek-cvs-page-btn { width: 36px; height: 36px; font-size: 13px; border-radius: 8px; }
	.pek-cvs-page-ellipsis { width: 28px; }
}

@media (max-width: 480px) {
	.pek-cvs-flag-grid { grid-template-columns: repeat(2, 1fr); }
	.pek-cvs-flags-section, .pek-cvs-vol-section { padding: 20px 14px; }
	.pek-cvs-vol-grid { column-gap: 6px; row-gap: 10px; }
	.pek-cvs-page-btn { width: 32px; height: 32px; font-size: 12px; }
}

/* =============================================================================
   EDITOR SUPPORT
   ============================================================================= */
.elementor-editor-active .pek-cvs-vol-item,
.elementor-editor-active .pek-cvs-flag-card { animation: none !important; }
/* Hidden volunteers stay fully hidden in the editor — editor behaves like frontend */
.elementor-editor-active .pek-cvs-vol-item.pek-cvs-hidden {
	display: none !important;
}
.elementor-editor-active .pek-cvs-empty-state[hidden] { display: none !important; }
.elementor-editor-active .pek-cvs-wrapper { overflow: visible; }

/* ── Modal body lock ─────────────────────────────────────────────────────── */
/* top is set dynamically via JS to -scrollY so the page doesn't visually jump. */
body.pek-cvs-modal-open {
	overflow: hidden;
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
}

/* =============================================================================
   SECTION HEADERS (Country & Volunteer)
   ============================================================================= */
.pek-cvs-flag-header,
.pek-cvs-vol-header { width: 100%; margin-bottom: 20px; }

/* Title */
.pek-cvs-flag-header__title,
.pek-cvs-vol-header__title {
	display: block; margin: 0 0 8px; padding: 0;
	font-size: 18px; font-weight: 700; line-height: 1.25;
	color: #1e293b; letter-spacing: -0.01em; position: relative;
}
/* Accent underline via ::after */
.pek-cvs-flag-header__title::after,
.pek-cvs-vol-header__title::after {
	content: ''; display: block;
	width: 36px; height: 3px; border-radius: 99px;
	background: #6c63ff; margin-top: 10px;
}
.pek-cvs-vol-header__title { font-size: 22px; }
.pek-cvs-vol-header__title::after { width: 48px; }

/* Accent line follows text-align via margin trick */
.pek-cvs-flags-section .pek-cvs-flag-header[style*="text-align:center"] .pek-cvs-flag-header__title::after,
.pek-cvs-flags-section .pek-cvs-flag-header[style*="text-align: center"] .pek-cvs-flag-header__title::after,
.pek-cvs-vol-section   .pek-cvs-vol-header[style*="text-align:center"]  .pek-cvs-vol-header__title::after,
.pek-cvs-vol-section   .pek-cvs-vol-header[style*="text-align: center"] .pek-cvs-vol-header__title::after  { margin-left: auto; margin-right: auto; }

.pek-cvs-flags-section .pek-cvs-flag-header[style*="text-align:right"] .pek-cvs-flag-header__title::after,
.pek-cvs-flags-section .pek-cvs-flag-header[style*="text-align: right"] .pek-cvs-flag-header__title::after,
.pek-cvs-vol-section   .pek-cvs-vol-header[style*="text-align:right"]  .pek-cvs-vol-header__title::after,
.pek-cvs-vol-section   .pek-cvs-vol-header[style*="text-align: right"] .pek-cvs-vol-header__title::after   { margin-left: auto; margin-right: 0; }

/* Description */
.pek-cvs-flag-header__desc,
.pek-cvs-vol-header__desc {
	display: block; margin: 10px 0 0; padding: 0;
	font-size: 13px; font-weight: 400; line-height: 1.65; color: #64748b;
}
.pek-cvs-vol-header__desc { font-size: 14px; }

/* Header responsive */
@media (max-width: 767px) {
	.pek-cvs-flag-header__title { font-size: 16px; }
	.pek-cvs-flag-header__desc  { font-size: 12px; }
	.pek-cvs-vol-header__title  { font-size: 18px; }
	.pek-cvs-vol-header__desc   { font-size: 13px; }
	.pek-cvs-flag-header, .pek-cvs-vol-header { margin-bottom: 16px; }
}
@media (max-width: 480px) {
	.pek-cvs-flag-header__title { font-size: 15px; }
	.pek-cvs-vol-header__title  { font-size: 16px; }
}
