/*
 * 0.66.69 · Redesign Ringkasan Learning selaras dengan standar (hero teal, tombol putih, kartu seragam).
 * Hanya tampilan. Markup, tautan, dan logika tidak diubah.
 */

/* Header: hero teal */
html body .bl-ov-head {
	position: relative;
	overflow: hidden;
	padding: 24px 28px;
	margin: 0 0 18px;
	border-radius: 20px;
	background: linear-gradient(135deg, #0b3343 0%, #0a6b78 55%, #0e8a9a 100%) !important;
	box-shadow: 0 18px 40px -30px rgba(11, 51, 67, .6);
	align-items: center;
}
html body .bl-ov-head h1 {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
}
html body .bl-ov-head p {
	color: rgba(255, 255, 255, .82) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, .82) !important;
}
/* Tombol utama di atas hero: putih */
html body .bl-ov-btn {
	height: 44px;
	padding: 0 20px;
	background: #fff !important;
	color: #0a6b78 !important;
	-webkit-text-fill-color: #0a6b78 !important;
	box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4);
}
html body .bl-ov-btn:hover {
	background: #e9f6f8 !important;
	filter: none;
}

/* Kartu baris pertama: tinggi mengikuti isinya, tidak dipaksa sama */
html body .bl-ov {
	align-items: start;
}

/* Bagian lipat di bawah: gaya kartu yang sama dengan halaman lain */
html body .beeang-learning__fold {
	margin: 14px 0 0;
	border: 1px solid var(--bl-line, #e3ecf1);
	border-radius: 18px;
	background: var(--bl-card, #fff);
	box-shadow: var(--bl-shadow, none);
	overflow: hidden;
}
html body .beeang-learning__fold > summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
}
html body .beeang-learning__fold > summary::-webkit-details-marker {
	display: none;
}
html body .beeang-learning__fold > summary strong {
	color: var(--bl-ink, #12384d) !important;
	-webkit-text-fill-color: var(--bl-ink, #12384d) !important;
	font-size: 15px;
	font-weight: 800;
}
html body .beeang-learning__fold > summary small {
	color: var(--bl-mut, #5f7485) !important;
	-webkit-text-fill-color: var(--bl-mut, #5f7485) !important;
	font-size: 12.5px;
	line-height: 1.5;
}
html body .beeang-learning__fold[open] > summary {
	border-bottom: 1px solid var(--bl-line, #e3ecf1);
}
html body .beeang-learning__fold > :not(summary) {
	padding: 18px 22px 20px;
}

/* Mobile: satu kolom, tombol lebar penuh */
@media (max-width: 760px) {
	html body .bl-ov-head {
		padding: 20px;
		flex-direction: column;
		align-items: stretch;
	}
	html body .bl-ov-btn {
		width: 100%;
		justify-content: center;
		min-height: 46px;
	}
	html body .bl-ov .bl-card,
	html body .bl-ov .bl-card--events,
	html body .bl-ov .bl-card--progress,
	html body .bl-ov .bl-card--products,
	html body .bl-ov .bl-card--tx,
	html body .bl-ov .bl-card--alerts {
		grid-column: 1 / -1;
	}
	html body .beeang-learning__fold > summary {
		padding: 16px 18px;
	}
	html body .beeang-learning__fold > :not(summary) {
		padding: 16px 18px 18px;
	}
}

/* 0.66.70 · Bagian lipat terbaca di dark mode (variabel tema didefinisikan langsung di bagian lipat) */
html body .beeang-learning__fold {
	--bl-ink: #12384d;
	--bl-mut: #5f7485;
	--bl-line: #e3ecf1;
	--bl-card: #ffffff;
	--bl-soft: #f4f9fb;
	--bl-teal: #0e8a9a;
}
html body .beeang-hub--workspace[data-theme="dark"] .beeang-learning__fold,
html body .beeang-learning__fold[data-theme="dark"] {
	--bl-ink: #e6eef5;
	--bl-mut: #93a7b8;
	--bl-line: #25465a;
	--bl-card: #10293a;
	--bl-soft: #0d2332;
	--bl-teal: #5fd3de;
}
@media (prefers-color-scheme: dark) {
	html body .beeang-hub--workspace:not([data-theme="light"]) .beeang-learning__fold {
		--bl-ink: #e6eef5;
		--bl-mut: #93a7b8;
		--bl-line: #25465a;
		--bl-card: #10293a;
		--bl-soft: #0d2332;
		--bl-teal: #5fd3de;
	}
}
html body .beeang-learning__fold > summary small {
	color: var(--bl-mut) !important;
	-webkit-text-fill-color: var(--bl-mut) !important;
}
html body .beeang-learning__fold > summary strong {
	color: var(--bl-ink) !important;
	-webkit-text-fill-color: var(--bl-ink) !important;
}

/* 0.66.70 · Foto produk di kartu Produk terbaru */
html body .bl-prod {
	display: block;
	position: relative;
}
html body .bl-prod__cover {
	display: block;
	aspect-ratio: 4 / 3;
	margin: 0 0 12px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bl-soft, #f4f9fb);
	display: flex;
	align-items: center;
	justify-content: center;
}
html body .bl-prod__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
