/* BEEang EMS 0.56.27 — Detail Ebook (publik). Mengikuti gaya halaman kompetisi: banner penuh bergambar,
   kartu akses menempel di samping, tombol bagikan. Hanya berlaku untuk .ebk. */
.ebk { --k-navy: #0b3343; --k-navy2: #124863; --k-teal: #0e8a9a; --k-gold: #F4B942; --k-gold2: #FFD97A; --k-ink: #12384d; --k-mut: #64798a; --k-line: #e1ebef; --k-soft: #f1f7f9; }
.ebk .ebk-wrap { display: grid; gap: 24px; margin-top: 12px; }

/* Banner */
.ebk .ebk-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: center; min-height: 440px; padding: 48px 52px; border-radius: 28px; color: #fff; background: linear-gradient(120deg, var(--k-navy), var(--k-navy2) 45%, var(--k-teal)); box-shadow: 0 34px 60px -36px rgba(11, 51, 67, .75); }
.ebk .ebk-hero__bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(30px) saturate(1.35); opacity: .6; transform: scale(1.1); }
.ebk .ebk-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 51, 67, .95) 0%, rgba(11, 51, 67, .8) 48%, rgba(14, 138, 154, .5) 100%); }
.ebk .ebk-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--k-gold2); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ebk .ebk-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--k-gold); }
.ebk .ebk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.ebk .ebk-chips span { padding: 5px 13px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 13px; font-weight: 700; }
.ebk .ebk-chips .is-gold { background: var(--k-gold); border-color: transparent; color: var(--k-navy); }
.ebk .ebk-hero h1 { margin: 16px 0 0; color: #fff; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.ebk .ebk-lead { max-width: 60ch; margin: 16px 0 0; color: rgba(255, 255, 255, .88); font-size: 18px; line-height: 1.6; }
.ebk .ebk-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ebk .ebk-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 1px solid transparent; border-radius: 14px; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.ebk .ebk-btn:hover { transform: translateY(-2px); }
.ebk .ebk-btn--gold { background: linear-gradient(135deg, var(--k-gold2), var(--k-gold)); color: var(--k-navy); box-shadow: 0 16px 28px -12px rgba(242, 189, 24, .9); }
.ebk .ebk-btn--ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; }
.ebk .ebk-btn--block { width: 100%; box-sizing: border-box; }
.ebk .ebk-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.ebk .ebk-facts > div { min-width: 110px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; background: rgba(255, 255, 255, .1); }
.ebk .ebk-facts dt { margin: 0; color: var(--k-gold2); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ebk .ebk-facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 800; }

/* Cover buku miring */
.ebk .ebk-hero__art { position: relative; display: grid; place-items: center; }
.ebk .ebk-book { position: relative; width: min(100%, 300px); margin: 0; aspect-ratio: 3 / 4; border-radius: 6px 16px 16px 6px; overflow: hidden; background: rgba(255, 255, 255, .12); transform: perspective(1100px) rotateY(-16deg) rotate(1.5deg); box-shadow: -20px 30px 56px -12px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .35s ease; }
.ebk .ebk-hero:hover .ebk-book { transform: perspective(1100px) rotateY(-7deg) rotate(.5deg) translateY(-4px); }
.ebk .ebk-book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .15) 60%, transparent); }
.ebk .ebk-book img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ebk .ebk-book__art { display: grid; place-content: center; height: 100%; text-align: center; font-weight: 900; letter-spacing: .12em; }
.ebk .ebk-book__art b { font-size: 28px; color: var(--k-gold2); }
.ebk .ebk-book__art i { font-style: normal; font-size: 14px; }
.ebk .ebk-sticker { position: absolute; top: -6px; right: 6px; z-index: 2; display: grid; place-items: center; min-width: 78px; height: 78px; padding: 0 8px; box-sizing: border-box; border-radius: 50%; background: var(--k-gold); color: var(--k-navy); font-size: 14px; font-weight: 900; text-align: center; transform: rotate(10deg); box-shadow: 0 14px 24px -10px rgba(0, 0, 0, .55); }

/* Isi: dua kolom */
.ebk .ebk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.ebk .ebk-main { display: grid; gap: 20px; min-width: 0; }
.ebk .ebk-tabs { position: sticky; top: 10px; z-index: 5; display: flex; gap: 4px; width: max-content; max-width: 100%; overflow-x: auto; padding: 6px; border: 1px solid #d6e6eb; border-radius: 99px; background: #eaf4f7; }
.ebk .ebk-tabs a { padding: 9px 20px; border-radius: 99px; color: var(--k-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ebk .ebk-tabs a:hover { background: #fff; color: var(--k-teal); }
.ebk .ebk-card { padding: 24px 26px; border: 1px solid var(--k-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 40px -30px rgba(11, 51, 67, .45); }
.ebk .ebk-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--k-navy); font-size: 22px; letter-spacing: -.01em; }
.ebk .ebk-card h2 i { width: 6px; height: 22px; border-radius: 4px; background: var(--k-gold); }
.ebk .ebk-about .bl-prose { color: var(--k-ink); font-size: 16px; line-height: 1.75; }

/* Samping */
.ebk .ebk-side { position: sticky; top: 76px; display: grid; gap: 16px; }
.ebk .ebk-card--poster { padding: 12px; }
.ebk .ebk-card--poster img { display: block; width: 100%; height: auto; border-radius: 14px; }
.ebk .ebk-poster__link { display: block; margin-top: 10px; text-align: center; color: var(--k-teal); font-size: 13px; font-weight: 700; text-decoration: none; }
.ebk .ebk-card--buy { border-top: 5px solid var(--k-gold); }
.ebk .ebk-card--buy h2 { font-size: 20px; }
.ebk .ebk-price { display: grid; gap: 2px; margin: 0 0 12px; }
.ebk .ebk-price small { color: var(--k-mut); font-size: 12px; font-weight: 700; }
.ebk .ebk-price strong { color: var(--k-navy); font-size: 36px; line-height: 1.1; letter-spacing: -.02em; }
.ebk .ebk-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--k-ink); font-size: 14px; }
.ebk .ebk-list li::before { content: "✓"; margin-right: 8px; color: var(--k-teal); font-weight: 900; }
.ebk .ebk-ok { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #e8f5ee; color: #17613f; font-size: 14px; font-weight: 600; }
.ebk .ebk-card--buy .beeang-learning__checkout { margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
.ebk .ebk-card--buy .beeang-learning__checkout h2 { display: none; }
.ebk .ebk-card--buy .beeang-learning__button, .ebk .ebk-card--buy .beeang-learning__checkout button { width: 100%; box-sizing: border-box; padding: 14px 20px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--k-teal), #19b8c9); color: #fff; font-size: 16px; font-weight: 800; text-align: center; text-decoration: none; display: inline-flex; justify-content: center; cursor: pointer; }
.ebk .ebk-card--share { border: 0; color: #fff; background: linear-gradient(135deg, var(--k-navy), var(--k-teal)); }
.ebk .ebk-card--share h2 { color: #fff; font-size: 20px; }
.ebk .ebk-card--share h2::before { display: none; }
.ebk .ebk-card--share p { margin: -6px 0 14px; color: rgba(255, 255, 255, .85); font-size: 14px; }
.ebk .ebk-share { display: flex; flex-wrap: wrap; gap: 8px; }
.ebk .ebk-share a { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.ebk .ebk-share a:hover { background: var(--k-gold); border-color: transparent; color: var(--k-navy); }

@media (max-width: 960px) {
	.ebk .ebk-hero { grid-template-columns: 1fr; min-height: 0; padding: 28px 22px 34px; border-radius: 22px; }
	.ebk .ebk-hero__art { order: -1; }
	.ebk .ebk-book { width: 190px; }
	.ebk .ebk-lead { font-size: 16px; }
	.ebk .ebk-btn { flex: 1 1 100%; }
	.ebk .ebk-layout { grid-template-columns: 1fr; }
	.ebk .ebk-side { position: static; order: -1; }
	.ebk .ebk-card--poster { display: none; }
	.ebk .ebk-tabs { position: static; }
	.ebk .ebk-card { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { .ebk * { transition: none !important; } }
