/*
 * 0.54.64 · Redesain Katalog Event (dashboard internal, dashboard peserta, dan /katalog-event/).
 * Markup baru memakai awalan "bec-"; semua aturan dibatasi ke .beeang-event-public--catalog .bec
 * dan dimuat setelah workspace-polish.css supaya tidak tertimpa aturan lama.
 * Warna jenis: indigo = Pelatihan, teal = Event, emas = Kompetisi. Tombol aksi selalu teal.
 */
html body .beeang-event-public--catalog .bec {
	--bec-navy: #0b3a52;
	--bec-teal: #0a6f7d;
	--bec-teal-dark: #085a66;
	--bec-ink: var(--bp-ink, #12324a);
	--bec-mut: var(--bp-mut, #566b7e);
	--bec-line: var(--bp-line, #e1e9f0);
	--bec-card: var(--bp-card, #ffffff);
	--bec-input: var(--bp-input, #f8fbfd);
	--bec-soft: var(--bp-soft, #F5F7FA);
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
	color: var(--bec-ink);
}
html body .beeang-event-public--catalog .bec * { box-sizing: border-box; }
html body .beeang-event-public--catalog .bec .bec-icon { flex: none; }

/* ───────── Tombol ───────── */
html body .beeang-event-public--catalog .bec .bec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 14px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, box-shadow .15s ease;
}
html body .beeang-event-public--catalog .bec .bec-btn--teal,
html body .beeang-event-public--catalog .bec .bec-btn--teal:is(:link, :visited, :hover, :focus) { background: var(--bec-teal); color: #fff; }
html body .beeang-event-public--catalog .bec .bec-btn--teal:hover,
html body .beeang-event-public--catalog .bec .bec-btn--teal:focus-visible { background: var(--bec-teal-dark); }
html body .beeang-event-public--catalog .bec .bec-btn--white,
html body .beeang-event-public--catalog .bec .bec-btn--white:is(:link, :visited, :hover, :focus) { background: #fff; color: var(--bec-navy); }
html body .beeang-event-public--catalog .bec .bec-btn--ghost,
html body .beeang-event-public--catalog .bec .bec-btn--ghost:is(:link, :visited, :hover, :focus) { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
html body .beeang-event-public--catalog .bec .bec-btn:focus-visible,
html body .beeang-event-public--catalog .bec .bec-reset:focus-visible,
html body .beeang-event-public--catalog .bec .bec-card__title a:focus-visible { outline: 3px solid #19b8c9; outline-offset: 2px; }

/* ───────── Hero ringkas ───────── */
html body .beeang-event-public--catalog .bec .bec-hero {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	overflow: hidden;
	padding: 36px 40px;
	border-radius: 28px;
	background: var(--bec-navy);
	color: #fff;
}
html body .beeang-event-public--catalog .bec .bec-hero::before {
	position: absolute;
	top: -120px;
	right: -90px;
	width: 380px;
	height: 380px;
	border: 56px solid rgba(20, 163, 184, .22);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}
html body .beeang-event-public--catalog .bec .bec-hero > * { position: relative; }
html body .beeang-event-public--catalog .bec .bec-hero__main { flex: 1 1 420px; min-width: 0; }
html body .beeang-event-public--catalog .bec .bec-hero__eyebrow { color: #8fd6e2; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
html body .beeang-event-public--catalog .bec .bec-hero__title {
	max-width: 640px;
	margin: 10px 0 14px;
	color: #fff;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.1;
}
html body .beeang-event-public--catalog .bec .bec-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #e3f0f5; font-size: 14px; font-weight: 600; }
html body .beeang-event-public--catalog .bec .bec-hero__meta span { display: inline-flex; align-items: center; gap: 8px; color: #e3f0f5; }
html body .beeang-event-public--catalog .bec .bec-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
html body .beeang-event-public--catalog .bec .bec-tile {
	flex: none;
	width: 150px;
	padding: 18px 0;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 24px;
	background: rgba(255, 255, 255, .09);
	text-align: center;
}
html body .beeang-event-public--catalog .bec .bec-tile small { display: block; color: #bfe3ea; font-size: 12px; font-weight: 700; }
html body .beeang-event-public--catalog .bec .bec-tile b { display: block; color: #fff; font-size: 52px; font-weight: 800; line-height: 1.05; }
html body .beeang-event-public--catalog .bec .bec-tile span { color: #e3f0f5; font-size: 13px; font-weight: 600; }

/* ───────── Bilah pencarian satu baris ───────── */
html body .beeang-event-public--catalog .bec .bec-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--bec-line);
	border-radius: 22px;
	background: var(--bec-card);
	box-shadow: 0 8px 24px rgba(11, 58, 82, .06);
}
html body .beeang-event-public--catalog .bec .bec-field {
	display: flex;
	flex: 1 1 220px;
	align-items: center;
	gap: 10px;
	min-width: 200px;
	min-height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--bec-line);
	border-radius: 14px;
	background: var(--bec-input);
	color: var(--bec-mut);
}
html body .beeang-event-public--catalog .bec .bec-field input[type="search"] {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--bec-ink);
	font: inherit;
	font-size: 14px;
	outline: none;
}
html body .beeang-event-public--catalog .bec .bec-field:focus-within { border-color: var(--bec-teal); box-shadow: 0 0 0 3px rgba(10, 111, 125, .16); }
html body .beeang-event-public--catalog .bec .bec-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bec-soft); }
html body .beeang-event-public--catalog .bec .bec-seg__item { position: relative; display: block; margin: 0; cursor: pointer; }
html body .beeang-event-public--catalog .bec .bec-seg__item input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
html body .beeang-event-public--catalog .bec .bec-seg__item span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 11px;
	color: var(--bec-mut);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}
html body .beeang-event-public--catalog .bec .bec-seg__item input:checked + span { background: var(--bec-navy); color: #fff; }
html body .beeang-event-public--catalog .bec .bec-seg__item input:focus-visible + span { outline: 3px solid #19b8c9; outline-offset: 1px; }
html body .beeang-event-public--catalog .bec .bec-select {
	min-height: 46px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--bec-line);
	border-radius: 14px;
	background-color: var(--bec-input);
	color: var(--bec-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
}
html body .beeang-event-public--catalog .bec .bec-reset,
html body .beeang-event-public--catalog .bec .bec-reset:is(:link, :visited, :hover, :focus) {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 8px;
	color: #0b7f8f;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
html body .beeang-event-public--catalog .bec .bec-reset:hover { text-decoration: underline; }

/* ───────── Judul daftar ───────── */
html body .beeang-event-public--catalog .bec .bec-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0; padding: 0; border: 0; background: none; }
html body .beeang-event-public--catalog .bec .bec-heading h2,
html body .beeang-event-public--catalog .bec .bec-heading h1 { margin: 0; color: var(--bec-ink); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
html body .beeang-event-public--catalog .bec .bec-count { margin: 0; color: var(--bec-mut); font-size: 13px; font-weight: 600; }

/* ───────── Kartu event ───────── */
html body .beeang-event-public--catalog .bec .bec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 20px; margin: 0; padding: 0; }
html body .beeang-event-public--catalog .bec .bec-card {
	--c: #0F766E;
	--t: #e3f3f6;
	--d: #075d6a;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 1px solid var(--bec-line);
	border-top: 6px solid var(--c);
	border-radius: 22px;
	background: var(--bec-card);
	box-shadow: 0 1px 3px rgba(11, 58, 82, .04);
	transition: box-shadow .18s ease, transform .18s ease;
}
html body .beeang-event-public--catalog .bec .bec-card:hover { box-shadow: 0 14px 30px rgba(11, 58, 82, .1); transform: translateY(-2px); }
html body .beeang-event-public--catalog .bec .bec-card--training { --c: #5b6cf0; --t: #e9ebfb; --d: #3a45b5; }
html body .beeang-event-public--catalog .bec .bec-card--event { --c: #0F766E; --t: #e3f3f6; --d: #075d6a; }
html body .beeang-event-public--catalog .bec .bec-card--competition { --c: #f5b800; --t: #fdf0cf; --d: #6b4e00; }
html body .beeang-event-public--catalog .bec .bec-card__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bec-soft); }
html body .beeang-event-public--catalog .bec .bec-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .beeang-event-public--catalog .bec .bec-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 20px; }
html body .beeang-event-public--catalog .bec .bec-card__top { display: flex; align-items: center; gap: 12px; }
html body .beeang-event-public--catalog .bec .bec-date {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 64px;
	border-radius: 16px;
	background: var(--t);
	color: var(--d);
}
html body .beeang-event-public--catalog .bec .bec-date b { color: var(--d); font-size: 24px; font-weight: 800; line-height: 1; }
html body .beeang-event-public--catalog .bec .bec-date span { margin-top: 3px; color: var(--d); font-size: 12px; font-weight: 700; }
html body .beeang-event-public--catalog .bec .bec-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
html body .beeang-event-public--catalog .bec .bec-chip { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; line-height: 1.3; }
html body .beeang-event-public--catalog .bec .bec-chip--type { background: var(--t); color: var(--d); }
html body .beeang-event-public--catalog .bec .bec-chip--upcoming { background: #dff3e7; color: #146a3c; }
html body .beeang-event-public--catalog .bec .bec-chip--ongoing { background: #fdebc8; color: #8a4b00; }
html body .beeang-event-public--catalog .bec .bec-chip--completed { background: #e6ebf0; color: #475a6b; }
html body .beeang-event-public--catalog .bec .bec-chip--featured { background: #fff1c2; color: #7a4d00; }
html body .beeang-event-public--catalog .bec .bec-chip--partner { background: #ede4fb; color: #5b21b6; }
html body .beeang-event-public--catalog .bec .bec-card__title { min-height: 47px; margin: 0; color: var(--bec-ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
html body .beeang-event-public--catalog .bec .bec-card__title a,
html body .beeang-event-public--catalog .bec .bec-card__title a:is(:link, :visited, :hover, :focus) { color: var(--bec-ink); text-decoration: none; }
html body .beeang-event-public--catalog .bec .bec-card__title a:hover { color: var(--bec-teal); }
html body .beeang-event-public--catalog .bec .bec-card__org { margin: 0; color: var(--bec-mut); font-size: 13px; }
html body .beeang-event-public--catalog .bec .bec-card__loc { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--bec-ink); font-size: 13px; font-weight: 600; line-height: 1.45; }
html body .beeang-event-public--catalog .bec .bec-card__loc .bec-icon { width: 16px; height: 16px; margin-top: 2px; color: var(--bec-mut); }
html body .beeang-event-public--catalog .bec .bec-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--bec-line); }
html body .beeang-event-public--catalog .bec .bec-price small { display: block; color: var(--bec-mut); font-size: 12px; }
html body .beeang-event-public--catalog .bec .bec-price b { color: var(--bec-ink); font-size: 16px; font-weight: 800; }
html body .beeang-event-public--catalog .bec .bec-card__foot .bec-btn { flex: none; min-height: 44px; padding: 0 16px; font-size: 13px; }

/* ───────── Kosong ───────── */
html body .beeang-event-public--catalog .bec .bec-empty { grid-column: 1 / -1; padding: 40px 24px; border: 1px dashed var(--bec-line); border-radius: 22px; background: var(--bec-card); text-align: center; }
html body .beeang-event-public--catalog .bec .bec-empty h2 { margin: 0 0 8px; color: var(--bec-ink); font-size: 20px; font-weight: 800; }
html body .beeang-event-public--catalog .bec .bec-empty p { margin: 0 0 16px; color: var(--bec-mut); }

/* ───────── Mobile ───────── */
@media (max-width: 720px) {
	html body .beeang-event-public--catalog .bec .bec-hero { padding: 26px 22px; border-radius: 22px; }
	html body .beeang-event-public--catalog .bec .bec-tile { width: 100%; padding: 12px 0; }
	html body .beeang-event-public--catalog .bec .bec-tile b { font-size: 40px; }
	html body .beeang-event-public--catalog .bec .bec-bar { padding: 12px; }
	html body .beeang-event-public--catalog .bec .bec-seg { width: 100%; }
	html body .beeang-event-public--catalog .bec .bec-seg__item { flex: 1 1 auto; }
	html body .beeang-event-public--catalog .bec .bec-seg__item span { justify-content: center; width: 100%; padding: 0 10px; }
	html body .beeang-event-public--catalog .bec .bec-select { flex: 1 1 140px; }
	html body .beeang-event-public--catalog .bec .bec-bar .bec-btn { flex: 1 1 auto; }
	html body .beeang-event-public--catalog .bec .bec-heading h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	html body .beeang-event-public--catalog .bec .bec-card, html body .beeang-event-public--catalog .bec .bec-btn { transition: none; }
	html body .beeang-event-public--catalog .bec .bec-card:hover { transform: none; }
}

/* ───────── 0.54.70 · Perapian katalog publik ─────────
 * Aturan `.bec .bec .bec-…` di atas (30 selektor) tidak pernah cocok karena markup hanya punya satu `.bec`;
 * sudah dirapikan menjadi `.bec .bec-…`. Blok ini menambah: judul maksimal 2 baris agar isi kartu sejajar,
 * lokasi 2 baris, harga bertumpuk rapi, dan kolom bulan yang lebih jelas.
 */
html body .beeang-event-public--catalog .bec .bec-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	height: 47px;
	min-height: 47px;
}
html body .beeang-event-public--catalog .bec .bec-card__title a,
html body .beeang-event-public--catalog .bec .bec-card__title a:is(:link, :visited, :hover, :focus) { text-decoration: none; }
html body .beeang-event-public--catalog .bec .bec-card__org { min-height: 20px; font-weight: 600; }
html body .beeang-event-public--catalog .bec .bec-card__loc { min-height: 38px; }
html body .beeang-event-public--catalog .bec .bec-card__loc span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
html body .beeang-event-public--catalog .bec .bec-price { display: grid; gap: 1px; }
html body .beeang-event-public--catalog .bec .bec-price b.is-free { color: #146a3c; }
html body .beeang-event-public--catalog .bec .bec-tile span { display: block; margin-top: 2px; }
html body .beeang-event-public--catalog .bec .bec-month {
	min-width: 168px;
	cursor: pointer;
}
html body .beeang-event-public--catalog .bec .bec-select:focus-visible,
html body .beeang-event-public--catalog .bec .bec-month:focus-visible { outline: 3px solid #19b8c9; outline-offset: 1px; }
html body .beeang-event-public--catalog .bec .bec-grid { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

/* 0.54.75 · Stiker katalog baru: manual (Sponsor Terbaru, Baru, Tidak Berlaku) dan otomatis (Selesai, Sedang Berlangsung, Pendaftaran Ditutup, Kuota Penuh, Segera Berakhir). */
html body .beeang-event-public--catalog .bec .bec-chip--sponsor { background: #e5ecff; color: #2b3f9e; }
html body .beeang-event-public--catalog .bec .bec-chip--new { background: #e3f5ea; color: #1f6b3a; }
html body .beeang-event-public--catalog .bec .bec-chip--void { background: #fde8e8; color: #9b2c2c; }
html body .beeang-event-public--catalog .bec .bec-chip--ended { background: #e8edf2; color: #44566a; }
html body .beeang-event-public--catalog .bec .bec-chip--ongoing { background: #dff3f6; color: #075d6a; }
html body .beeang-event-public--catalog .bec .bec-chip--closed { background: #fff0e0; color: #8a4b00; }
html body .beeang-event-public--catalog .bec .bec-chip--full { background: #fde8e8; color: #9b2c2c; }
html body .beeang-event-public--catalog .bec .bec-chip--soon { background: #fff4d6; color: #8a5a00; }
html body .beeang-event-public--catalog .bec .bec-card:has(.bec-chip--ended, .bec-chip--void) .bec-card__title a { color: var(--mut, #566b7e); }

/* 0.55.22 · pita label di pojok gambar kartu */
html body .beeang-event-public--catalog .bec .bec-card__media { position: relative; }
html body .beeang-event-public--catalog .bec .bec-card__body > .bec-ribbons { position: static; margin-bottom: -4px; }
html body .beeang-event-public--catalog .bec .bec-ribbons { position: absolute; z-index: 2; bottom: -14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
html body .beeang-event-public--catalog .bec .bec-ribbon {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px 7px 12px;
	border-radius: 10px;
	background: #16a34a;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 0 0 2px #fff, 0 8px 14px -6px rgba(11, 51, 67, .75);
}
html body .beeang-event-public--catalog .bec .bec-ribbon--featured { background: linear-gradient(135deg, #ffd84a, #f5b800); color: #0b3343; }
html body .beeang-event-public--catalog .bec .bec-ribbon--featured::before { content: "★"; margin-right: 6px; }
html body .beeang-event-public--catalog .bec .bec-ribbon--partner { background: #0e8a9a; }
html body .beeang-event-public--catalog .bec .bec-ribbon--sponsor { background: #7c3aed; }
html body .beeang-event-public--catalog .bec .bec-ribbon--new { background: #16a34a; }

/* 0.56.9: lencana rangkaian Event Utama / Kegiatan Turunan */
.bec-card__series{margin:.15rem 0 .35rem;font-size:.78rem;line-height:1.3;color:var(--bp-teal,#0e6b78);font-weight:600}
.bec-card__series.is-pending{color:#8a5a00}
.bec-card__series b{font-weight:700}
.beeang-event-public__related--pending p{margin:.25rem 0}
