/* Congress 2026 — "Pastel Clinical Futurism", route-scoped under .cg-page.
   Ported 1:1 from the Next.js app globals.css cg-* block so the builder page
   (shortcode [amlab_congress]) renders identically. The old navy congress skin
   was replaced by this — those pages now use the shortcode, not amlab-page-hero. */

/* Variables + base surface. Applied to .cg-page (legacy single-element wrapper)
   AND to the <body>.amlab-congress-page flag, so each section can be its own
   independent builder element with no shared wrapper and still resolve --cg-*. */
.cg-page,
.amlab-congress-page {
	--cg-bg: #fff8fc;
	--cg-bg-soft: #fff1f8;
	--cg-bg-clinical: #f6f8ff;
	--cg-surface: rgba(255, 255, 255, 0.84);
	--cg-text: #202940;
	--cg-text-soft: #56627c;
	--cg-pink: #ec6fa8;
	--cg-pink-strong: #d94f90;
	--cg-lavender: #a78bca;
	--cg-blue: #6684ca;
	--cg-border: rgba(185, 151, 190, 0.25);
	--cg-gradient: linear-gradient(112deg, #ee6da5 0%, #9e85d9 52%, #6b7fd6 100%);
	--cg-gradient-soft: linear-gradient(125deg, rgba(255, 218, 234, 0.9), rgba(234, 225, 250, 0.88) 52%, rgba(221, 232, 255, 0.82));
	--cg-shadow: 0 24px 70px rgba(126, 80, 125, 0.13);
	color: var(--cg-text);
	background: var(--cg-bg);
}

.cg-hero {
	position: relative;
	isolation: isolate;
	min-height: min(calc(100dvh - 72px), 38rem);
	background: #fdf1f6;
}

.cg-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(236, 111, 168, 0.42), rgba(102, 132, 202, 0.36), transparent);
}

/* Photo → overlay → content stacking. Positive z-indices (not the source's
   negative ones) so it works whether or not a .cg-page wrapper is present — each
   section is now a standalone element directly in the page flow. */
.cg-hero-photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	object-fit: cover;
	object-position: center 58%;
	filter: saturate(0.88) contrast(1.02) brightness(1.04);
}

.cg-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(100deg, rgba(255, 247, 251, 0.97) 0%, rgba(255, 244, 250, 0.9) 38%, rgba(255, 238, 247, 0.5) 62%, rgba(250, 231, 243, 0.24) 100%),
		linear-gradient(180deg, rgba(255, 249, 252, 0.58) 0%, rgba(255, 240, 248, 0.1) 45%, rgba(255, 247, 251, 0.68) 100%);
}

.cg-hero-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 52% at 74% 34%, rgba(255, 220, 238, 0.14) 0%, transparent 60%);
}

.cg-hero-editorial {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: min(calc(100dvh - 72px), 38rem);
	flex-direction: column;
	justify-content: flex-start;
	gap: clamp(2.5rem, 7vw, 4.5rem);
	padding-block: clamp(3rem, 6vw, 5.5rem) 3.2rem;
}

.cg-hero-heading { max-width: min(58rem, 92vw); }

.cg-hero .cg-eyebrow { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.cg-eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0 0 1.1rem;
	border: 1px solid rgba(217, 79, 144, 0.32);
	border-radius: 999px;
	padding: 0.42rem 0.9rem;
	color: #ad3376;
	background: rgba(255, 255, 255, 0.72);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.cg-hero-title {
	max-width: 17ch;
	margin: 0;
	color: var(--cg-pink-strong);
	background: linear-gradient(105deg, #ec5f9d 0%, #b57bd8 55%, #5f7ad9 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: clamp(2.5rem, 4.2vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.cg-hero-title span { display: inline; }
.cg-hero-title p { margin: 0; }

.cg-gradient-text,
.cg-final-panel h2 span {
	color: var(--cg-pink-strong);
	background: var(--cg-gradient);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.cg-hero-copy,
.cg-section-heading > p,
.cg-business-panel > div > p,
.cg-venue-grid > div > p {
	max-width: 64ch;
	margin-top: 1.15rem;
	color: var(--cg-text-soft);
	font-size: 0.96rem;
	line-height: 1.8;
}

.cg-hero-heading .cg-hero-copy { max-width: 34rem; color: #545d76; font-size: 0.95rem; line-height: 1.75; }

.cg-hero-footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	border-top: 1px solid rgba(79, 48, 74, 0.16);
	padding-top: 1.4rem;
}

.cg-hero-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; }
.cg-meta-grid { display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; margin: 0; }

.cg-meta-grid span {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	border: 1px solid rgba(238, 109, 165, 0.22);
	border-radius: 0.75rem;
	padding: 0.55rem 0.9rem;
	color: #2c3752;
	background: rgba(255, 255, 255, 0.74);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 8px 22px rgba(126, 80, 125, 0.08);
	font-size: 0.84rem;
	font-weight: 700;
}

.cg-meta-grid svg { color: var(--cg-pink-strong); flex: 0 0 auto; }

.cg-button {
	display: inline-flex;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	border-radius: 0.9rem;
	padding: 0.75rem 1.3rem;
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.cg-button:hover { transform: translateY(-2px); }
.cg-button:active { transform: translateY(0) scale(0.98); }
.cg-button:focus-visible { outline: 3px solid rgba(102, 132, 202, 0.36); outline-offset: 3px; }
.cg-button svg { flex: 0 0 auto; }

.cg-button-primary {
	border: 1px solid rgba(209, 71, 136, 0.25);
	color: #ffffff;
	background: linear-gradient(110deg, #ec5f9d 0%, #9e85d9 52%, #5f7ad9 100%);
	box-shadow: 0 14px 34px rgba(178, 96, 148, 0.28);
}

.cg-button-primary:hover { box-shadow: 0 18px 44px rgba(168, 52, 116, 0.42); }

.cg-button-secondary {
	border: 1px solid rgba(117, 113, 172, 0.28);
	color: var(--cg-text);
	background: rgba(255, 255, 255, 0.74);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cg-button-secondary:hover { border-color: rgba(217, 79, 144, 0.45); background: #fff; }
.cg-hero .cg-button-secondary { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.cg-countdown {
	position: absolute;
	top: 2rem;
	right: 1rem;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	border: 1px solid rgba(238, 109, 165, 0.28);
	border-radius: 1rem;
	padding: 0.75rem 1.1rem;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 14px 36px rgba(126, 80, 125, 0.14);
}

.cg-countdown strong { font-size: 1.5rem; color: var(--cg-pink-strong); letter-spacing: -0.02em; }
.cg-countdown span { max-width: 10rem; color: #56627c; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

.cg-credibility { border-bottom: 1px solid var(--cg-border); background: rgba(255, 255, 255, 0.82); }
.cg-organizer-grid { display: grid; grid-template-columns: 1fr 1fr 1.35fr; }
.cg-organizer-group { min-width: 0; padding: 1.4rem 1.8rem; border-right: 1px solid var(--cg-border); }
.cg-organizer-group:last-child { border-right: 0; }
.cg-organizer-group > p { margin-bottom: 0.8rem; color: #7c6482; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; }
.cg-organizer-group > div { display: flex; min-height: 2rem; flex-wrap: wrap; align-items: center; gap: 1rem; }
.cg-organizer-group > div > span { display: inline-flex; min-width: 4rem; align-items: center; justify-content: center; }
.cg-organizer-group strong { color: var(--cg-text); font-size: 0.85rem; letter-spacing: 0.04em; }

.cg-section { padding-block: clamp(5rem, 9vw, 8rem); margin-top: 0px; }
.cg-section-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.cg-section-heading h2,
.cg-business-panel h2,
.cg-venue-grid h2,
.cg-final-panel h2 {
	margin: 0;
	color: var(--cg-text);
	font-size: clamp(2rem, 4.2vw, 3.85rem);
	font-weight: 740;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.cg-overview { background: linear-gradient(180deg, #fff8fc, #fff); }
.cg-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--cg-border); border-radius: 1.5rem; background: var(--cg-border); box-shadow: 0 20px 55px rgba(126, 80, 125, 0.08); }
.cg-fact { min-height: 12rem; padding: 1.5rem; background: rgba(255, 255, 255, 0.94); }
.cg-fact-wide { grid-column: span 2; background: linear-gradient(135deg, #fff 0%, #fff0f7 100%); }
.cg-fact svg { color: var(--cg-pink-strong); }
.cg-fact strong { display: block; margin-top: 1.8rem; color: var(--cg-text); font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -0.05em; line-height: 1; }
.cg-fact p { margin-top: 0.55rem; color: var(--cg-text-soft); font-size: 0.8rem; line-height: 1.5; }

.cg-clinical { background: linear-gradient(150deg, #f8f8ff 0%, #fff7fb 55%, #f3f7ff 100%); }
.cg-halls-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 1.2rem; }
.cg-hall { position: relative; overflow: hidden; border: 1px solid rgba(176, 158, 201, 0.25); border-radius: 1.5rem; padding: 1.8rem; background: rgba(255, 255, 255, 0.75); box-shadow: 0 22px 55px rgba(85, 83, 145, 0.08); }
.cg-hall-1 { background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 233, 243, 0.84)); }
.cg-hall::after { content: ""; position: absolute; width: 11rem; height: 11rem; right: -4rem; bottom: -5rem; border-radius: 999px; background: var(--cg-gradient-soft); filter: blur(2px); opacity: 0.65; }
.cg-icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border: 1px solid rgba(217, 79, 144, 0.18); border-radius: 1rem; color: var(--cg-pink-strong); background: rgba(255, 255, 255, 0.76); }
.cg-hall-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 1.8rem; color: #76627b; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.cg-hall h3 { margin-top: 0.6rem; color: var(--cg-text); font-size: 1.35rem; letter-spacing: -0.02em; }
.cg-hall ul { position: relative; z-index: 1; display: grid; gap: 0.8rem; margin-top: 1.4rem; list-style: none; padding: 0; }
.cg-hall li { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--cg-text-soft); font-size: 0.82rem; line-height: 1.55; }
.cg-hall li svg { flex: 0 0 auto; margin-top: 0.23rem; color: var(--cg-blue); }

.cg-agenda-section { background: #fff; }
.cg-agenda-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cg-agenda-day { border: 1px solid var(--cg-border); border-radius: 1.5rem; padding: 1.6rem; background: linear-gradient(180deg, #fff, #fff8fc); }
.cg-agenda-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; }
.cg-agenda-title h3 { color: var(--cg-text); font-size: 1.1rem; }
.cg-agenda-title span { color: #9a5f82; font-size: 0.72rem; font-weight: 800; }
.cg-agenda-day ol { display: grid; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.cg-agenda-day li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.9rem; border-radius: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.8); transition: transform 180ms ease, box-shadow 180ms ease; }
.cg-agenda-day li:hover { transform: translateX(3px); box-shadow: 0 12px 28px rgba(126, 80, 125, 0.08); }
.cg-agenda-day time { color: var(--cg-pink-strong); font-size: 0.78rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cg-agenda-day strong { color: var(--cg-text); font-size: 0.84rem; line-height: 1.4; }
.cg-agenda-day li p { margin-top: 0.25rem; color: var(--cg-text-soft); font-size: 0.75rem; line-height: 1.55; }

.cg-faculty-section { overflow: hidden; background: linear-gradient(160deg, #fff6fb 0%, #f7f8ff 100%); }
.cg-faculty-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 1rem; }
.cg-faculty-card { overflow: hidden; border: 1px solid var(--cg-border); border-radius: 1.35rem; background: rgba(255, 255, 255, 0.83); box-shadow: 0 16px 38px rgba(126, 80, 125, 0.08); transition: transform 180ms ease, box-shadow 180ms ease; }
.cg-faculty-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(126, 80, 125, 0.13); }
/* Không giấu thẻ nào theo vị trí: danh sách giảng viên do builder quản, mọi dòng đều phải hiện. */
.cg-portrait { position: relative; display: flex; aspect-ratio: 4 / 5; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 50% 35%, #fff 0%, #ffeaf4 48%, #e6e8fa 100%); }
.cg-portrait > span { color: rgba(121, 86, 137, 0.34); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.08em; }
.cg-portrait > img { width: 100%; height: 100%; }
.cg-faculty-copy { padding: 1rem; }
.cg-faculty-copy > span { color: var(--cg-pink-strong); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; }
.cg-faculty-copy h3 { margin-top: 0.4rem; color: var(--cg-text); font-size: 0.9rem; line-height: 1.35; }
.cg-faculty-copy p { margin-top: 0.4rem; color: var(--cg-text-soft); font-size: 0.72rem; line-height: 1.5; }
.cg-faculty-copy small { display: block; margin-top: 0.55rem; color: #8490a7; font-size: 0.66rem; line-height: 1.4; }
.cg-text-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; color: #954d77; font-size: 0.82rem; font-weight: 800; text-decoration: none; }
.cg-text-link svg { flex: 0 0 auto; }

.cg-business-section { background: #fff; }
.cg-business-panel { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.86); border-radius: 1.75rem; padding: clamp(2rem, 5vw, 4rem); background: var(--cg-gradient-soft); box-shadow: var(--cg-shadow); }
.cg-company-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(160, 123, 164, 0.18); border-radius: 1.2rem; background: rgba(160, 123, 164, 0.18); }
.cg-company-list span { min-width: 0; padding: 0.9rem 0.6rem; color: #4e506f; background: rgba(255, 255, 255, 0.72); font-size: 0.69rem; font-weight: 800; text-align: center; }

.cg-venue-section { background: linear-gradient(180deg, #fff, #fff6fb); }
.cg-venue-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.cg-venue-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 1.5rem; }
.cg-venue-items span { display: flex; align-items: center; gap: 0.65rem; border-radius: 0.9rem; padding: 0.8rem 0.9rem; color: #47536d; background: rgba(255, 255, 255, 0.78); font-size: 0.75rem; font-weight: 700; }
.cg-venue-items svg { flex: 0 0 auto; color: var(--cg-pink-strong); }
.cg-venue-visual { position: relative; display: flex; min-height: 24rem; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 1.75rem; padding: 2rem; color: var(--cg-text); background: var(--cg-gradient-soft); box-shadow: var(--cg-shadow); text-align: center; }
.cg-venue-visual > svg { position: relative; color: var(--cg-pink-strong); }
.cg-venue-visual strong { position: relative; margin-top: 1rem; font-size: 0.95rem; }
.cg-venue-visual > span { position: relative; margin-top: 0.4rem; color: var(--cg-text-soft); font-size: 0.72rem; }
.cg-venue-lines { position: absolute; inset: 38% -10% -18%; border-top: 1px solid rgba(105, 112, 183, 0.2); border-radius: 50% 50% 0 0; background: repeating-linear-gradient(90deg, rgba(102, 132, 202, 0.12) 0 1px, transparent 1px 3rem); transform: perspective(260px) rotateX(58deg); }

.cg-final-section { background: #fff6fb; }
.cg-final-panel { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 1.75rem; padding: clamp(2.5rem, 7vw, 5rem); background: var(--cg-gradient-soft); box-shadow: var(--cg-shadow); text-align: center; }
.cg-final-panel::before { content: ""; position: absolute; width: 18rem; height: 18rem; left: -7rem; bottom: -10rem; border: 1px solid rgba(255, 255, 255, 0.78); border-radius: 999px; box-shadow: inset -18px -18px 40px rgba(130, 110, 184, 0.15); }
.cg-final-panel > svg { color: #a65381; display: inline-block; }
.cg-final-count { display: block; margin-top: 1.1rem; color: #a65381; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; }
.cg-final-panel h2 { max-width: 15ch; margin: 1rem auto 0; }
.cg-final-panel > p { max-width: 38rem; margin: 1rem auto 0; color: var(--cg-text-soft); font-size: 0.9rem; line-height: 1.7; }
.cg-final-panel > small { display: block; margin-top: 1.3rem; color: #72667b; font-size: 0.7rem; }

@media (max-width: 1023px) {
	.cg-hero-title { max-width: 16ch; font-size: clamp(2.35rem, 6.2vw, 3.75rem); line-height: 1.08; }
	.cg-hero-footer { align-items: flex-start; flex-direction: column; }
	.cg-hero-actions { justify-content: flex-start; }
	.cg-faculty-grid { grid-template-columns: repeat(3, 1fr); }
	.cg-business-panel, .cg-venue-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 767px) {
	.cg-section { padding-block: 4.5rem; }
	.cg-hero { min-height: auto; }
	.cg-hero-photo { object-position: 62% center; }
	.cg-hero-overlay {
		background:
			linear-gradient(180deg, rgba(255, 248, 252, 0.96) 0%, rgba(255, 241, 248, 0.8) 38%, rgba(255, 238, 246, 0.3) 62%, rgba(255, 247, 251, 0.72) 100%),
			linear-gradient(90deg, rgba(255, 247, 251, 0.4), rgba(255, 236, 246, 0.12));
	}
	.cg-hero-editorial { min-height: auto; gap: 2.4rem; padding-block: 3.8rem 2rem; }
	.cg-hero-title { max-width: none; font-size: clamp(1.4rem, 7.4vw, 2.75rem); line-height: 1.16; letter-spacing: -0.01em; }
	.cg-hero-copy { font-size: 0.9rem; }
	.cg-hero-footer { gap: 1.4rem; }
	.cg-hero-actions { width: 100%; }
	.cg-hero-actions .cg-button-primary { width: 100%; }
	.cg-countdown { position: static; order: 3; width: fit-content; margin-top: 1.4rem; }
	.cg-organizer-grid { grid-template-columns: 1fr; }
	.cg-organizer-group { border-right: 0; border-bottom: 1px solid var(--cg-border); padding-inline: 0; }
	.cg-organizer-group:last-child { border-bottom: 0; }
	.cg-facts-grid { grid-template-columns: 1fr 1fr; }
	.cg-fact-wide { grid-column: span 2; }
	.cg-fact { min-height: 10rem; padding: 1.2rem; }
	.cg-halls-grid, .cg-agenda-grid { grid-template-columns: 1fr; }
	.cg-hall-1 { grid-row: auto; min-height: 0; }
	.cg-agenda-day { padding: 1rem; }
	.cg-agenda-day li { grid-template-columns: 3.6rem 1fr; padding: 0.8rem; }
	.cg-agenda-title { align-items: flex-start; flex-direction: column; gap: 0.35rem; }
	/* Lưới diễn giả trên điện thoại: hai cột như bản thiết kế. Bản port đầu tiên
	   biến khối này thành băng trượt ngang (display:flex + thẻ rộng min(72vw,17rem));
	   khi congress-2026.css chuyển về lưới hai cột thì chiều rộng cố định của thẻ
	   vẫn còn, làm thẻ tràn khỏi ô lưới và bị cắt cụt ở mép phải. */
	.cg-faculty-grid { overflow-x: visible; }
	.cg-faculty-card { width: auto; }
	.cg-company-list { grid-template-columns: repeat(2, 1fr); }
	.cg-business-panel { padding: 1.35rem; }
	.cg-venue-items { grid-template-columns: 1fr; }
	.cg-venue-visual { min-height: 19rem; }
}

/* The global footer membership band ("Tham gia Mạng lưới KBIT") is redundant on
   the congress page — the source ends with its own pink final CTA — so hide it. */
.amlab-congress-page .amlab-home-cta { display: none; }

/* ===== Header restyle on congress pages (light "Pastel Clinical Futurism" to
   match the page, ported from the Next .congress-header). The <body> gets the
   .amlab-congress-page flag from functions.php. ===== */
.amlab-congress-page .amlab-header {
	background: #fff9fc !important;
	border-bottom: 1px solid rgba(185, 151, 190, 0.24);
	box-shadow: 0 10px 34px rgba(126, 80, 125, 0.08);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* White KBIT wordmark → dark so it stays legible on the pale bar. */
.amlab-congress-page .amlab-header .wp-block-site-logo img {
	filter: brightness(0) saturate(100%) invert(13%) sepia(18%) saturate(1600%) hue-rotate(190deg);
}

.amlab-congress-page .amlab-header .wp-block-navigation a,
.amlab-congress-page .amlab-header .wp-block-navigation .wp-block-navigation-item__content {
	color: rgba(32, 41, 64, 0.76) !important;
}
.amlab-congress-page .amlab-header .wp-block-navigation a:hover,
.amlab-congress-page .amlab-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: #202940 !important;
	background: rgba(236, 111, 168, 0.08);
}
.amlab-congress-page .amlab-header .wp-block-navigation .current-menu-item > a,
.amlab-congress-page .amlab-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	color: #ad4e80 !important;
}
.amlab-congress-page .amlab-header .wp-block-navigation .current-menu-item::after {
	background: #d94f90;
}

/* Event-header brand (home chip + "K-BEAUTY MEETS 2026") — white by default for
   the dark header; darken it so it stays legible on the pale congress bar. */
.amlab-congress-page .amlab-header .amlab-eventbrand,
.amlab-congress-page .amlab-header .amlab-eventbrand__text {
	color: #202940;
}
.amlab-congress-page .amlab-header .amlab-eventbrand__icon {
	border-color: rgba(117, 113, 172, 0.28);
	color: rgba(32, 41, 64, 0.72);
}
.amlab-congress-page .amlab-header .amlab-eventbrand:hover .amlab-eventbrand__icon {
	border-color: rgba(216, 93, 152, 0.5);
	color: #a84c7a;
}

/* Dropdowns go light too. */
.amlab-congress-page .amlab-header .wp-block-navigation__submenu-container {
	background: #fff !important;
	border: 1px solid rgba(185, 151, 190, 0.24) !important;
	box-shadow: 0 16px 40px rgba(126, 80, 125, 0.14);
}
.amlab-congress-page .amlab-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: rgba(32, 41, 64, 0.78);
}
.amlab-congress-page .amlab-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: #202940;
	background: rgba(236, 111, 168, 0.08);
}
.amlab-congress-page .amlab-header .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	color: #ad4e80;
}

/* Language switcher — light chip, pink active. */
.amlab-congress-page .amlab-header .amlab-lang-switch {
	border-color: rgba(117, 113, 172, 0.22);
	background: rgba(255, 255, 255, 0.72);
}
.amlab-congress-page .amlab-header .amlab-lang-switch__item {
	color: rgba(32, 41, 64, 0.68);
}
.amlab-congress-page .amlab-header .amlab-lang-switch__item:hover { color: #a84c7a; }
.amlab-congress-page .amlab-header .amlab-lang-switch__item.is-active {
	border-color: rgba(216, 93, 152, 0.44);
	background: #a84c7a;
	color: #fff;
}

/* Register (outline) → pink outline; Membership (gold) → pink gradient. The base
   header CTA rules use !important, so these must too. */
.amlab-congress-page .amlab-header__cta .is-style-amlab-outline-light .wp-block-button__link {
	border-color: #d85d98 !important;
	color: #a84c7a !important;
	background: transparent !important;
}
.amlab-congress-page .amlab-header__cta .is-style-amlab-outline-light .wp-block-button__link:hover {
	color: #fff !important;
	background: #d85d98 !important;
	border-color: #d85d98 !important;
}
.amlab-congress-page .amlab-header__cta .is-style-amlab-cta-gold .wp-block-button__link {
	background: linear-gradient(110deg, #d94f90, #a76daf 52%, #5471b7) !important;
	color: #fff !important;
	border-color: transparent !important;
}
.amlab-congress-page .amlab-header__cta .is-style-amlab-cta-gold .wp-block-button__link:hover {
	background: linear-gradient(110deg, #c8407f, #97609e 52%, #47619f) !important;
	color: #fff !important;
	border-color: transparent !important;
}

/* Mobile hamburger icon → dark so it shows on the pale bar. */
.amlab-congress-page .amlab-header .wp-block-navigation__responsive-container-open svg {
	fill: #202940;
}

/* ===== Congress event sub-header — pale variant of the custom .kbit-ev bar.
   (The .amlab-header* rules above are superseded by these; the event header now
   renders from [amlab_kbit_event_header] instead of the old block markup.) ===== */
.amlab-congress-page .kbit-ev {
	background: #fff9fc;
	border-bottom: 1px solid rgba(185, 151, 190, 0.24);
	box-shadow: 0 10px 34px rgba(126, 80, 125, 0.08);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	color: #202940;
}
.amlab-congress-page .kbit-ev__home {
	border-color: rgba(117, 113, 172, 0.28);
	color: rgba(32, 41, 64, 0.72);
}
.amlab-congress-page .kbit-ev__home:hover { border-color: rgba(216, 93, 152, 0.5); color: #a84c7a; background: rgba(216, 93, 152, 0.06); }
.amlab-congress-page .kbit-ev__brand { color: #202940; }
.amlab-congress-page .kbit-ev__link,
.amlab-congress-page .kbit-ev__m-link { color: rgba(32, 41, 64, 0.76); }
.amlab-congress-page .kbit-ev__link:hover,
.amlab-congress-page .kbit-ev__m-link:hover { color: #202940; background: rgba(236, 111, 168, 0.08); }
.amlab-congress-page .kbit-ev__link.is-active,
.amlab-congress-page .kbit-ev__m-link.is-active { color: #ad4e80; }
.amlab-congress-page .kbit-ev__link.is-active::after { background: #d94f90; }
.amlab-congress-page .kbit-ev__toggle { border-color: rgba(117, 113, 172, 0.28); color: #202940; }
/* language pill (reuses .kbit-hd__lang) → light */
.amlab-congress-page .kbit-ev .kbit-hd__lang { border-color: rgba(117, 113, 172, 0.22); background: rgba(255, 255, 255, 0.72); }
.amlab-congress-page .kbit-ev .kbit-hd__lang-item { color: rgba(32, 41, 64, 0.68); }
.amlab-congress-page .kbit-ev .kbit-hd__lang-item:hover { color: #a84c7a; }
.amlab-congress-page .kbit-ev .kbit-hd__lang-item.is-active { border-color: rgba(216, 93, 152, 0.44); background: #a84c7a; color: #fff; }
/* Register CTA → congress pink gradient */
.amlab-congress-page .kbit-ev__cta { background: linear-gradient(110deg, #d94f90, #a76daf 52%, #5471b7); color: #fff; }
.amlab-congress-page .kbit-ev__cta:hover { background: linear-gradient(110deg, #c8407f, #97609e 52%, #47619f); }
.amlab-congress-page .kbit-ev__drawer { background: #fff; border-top-color: rgba(185, 151, 190, 0.24); }
