/* ==========================================================================
   IDSpeaker v2 — halaman dalam (Speaker, dst.). Memakai token & komponen dari v2.css.
   ========================================================================== */

/* ---------- Komponen bersama halaman dalam ---------- */
.pg-hero { position: relative; color: #fff; background: var(--grad-hero); overflow: hidden; padding: 158px 0 132px; }
.pg-hero .hero__bg { position: absolute; inset: 0; pointer-events: none; }
.pg-hero__inner { position: relative; max-width: 860px; }
.pg-hero__title { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin-top: 24px; }
.pg-hero__title em { font-style: normal; color: var(--sun); }
.pg-hero__sub { font-size: clamp(17px, 1.5vw, 21px); max-width: 640px; margin-top: 22px; color: rgba(255, 255, 255, .92); }
.pg-hero .hero__wave { height: 80px; }
.pg-hero__deco { position: absolute; z-index: 1; color: var(--sun); pointer-events: none; }
.pg-hero__mascot { position: absolute; right: 6%; bottom: 36px; width: 190px; height: 253px; z-index: 1; rotate: 6deg; filter: drop-shadow(0 18px 22px rgba(80, 0, 8, .35)); animation: bob 4.4s ease-in-out infinite; }

.pill-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pill-stat { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 20px; border-radius: 999px; background: #fff; color: var(--ink); border: var(--stk); box-shadow: 3px 3px 0 var(--ink); font-weight: 700; font-size: 14.5px; }
.pill-stat b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--red); }
.pill-stat:nth-child(2) { rotate: 1.2deg; } .pill-stat:nth-child(3) { rotate: -1deg; }

/* ---------- Daftar speaker ---------- */
.sp-filter { position: relative; z-index: 3; margin-top: -58px; scroll-margin-top: 104px; }
.sp-filter__card { background: #fff; border: var(--stk); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--ink); padding: 22px 24px 20px; }
.sp-search { display: flex; gap: 12px; align-items: center; }
.sp-search__field { flex: 1; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; border-radius: 999px; background: var(--paper); border: 2.5px solid var(--ink); }
.sp-search__field svg { width: 22px; height: 22px; flex: none; color: var(--red); }
.sp-search__field input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-weight: 600; font-size: 17px; color: var(--ink); }
.sp-search__field input::placeholder { color: #9a8a8d; font-weight: 500; }
.sp-search__field:focus-within { background: #fff; box-shadow: 0 0 0 4px rgba(204, 0, 0, .18); }
.sp-chips { display: flex; gap: 10px; overflow-x: auto; padding: 18px 2px 4px; scrollbar-width: none; }
.sp-chips::-webkit-scrollbar { display: none; }
.sp-chip { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 2.5px solid var(--ink); background: #fff; font-weight: 800; font-size: 14.5px; color: var(--ink); white-space: nowrap; transition: transform .2s var(--ease), background .2s, color .2s; }
.sp-chip i { width: 30px; height: 30px; border-radius: 50%; background: var(--s, #eee); color: var(--c, var(--ink)); display: inline-grid; place-items: center; }
.sp-chip svg { width: 16px; height: 16px; stroke-width: 2.4; }
.sp-chip:hover { transform: translateY(-2px); }
.sp-chip.is-on { background: var(--c, var(--ink)); color: #fff; }
.sp-chip.is-on i { background: #fff; }

.sp-list { padding: 56px 0 40px; }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sp-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 2.5px solid var(--line); border-radius: var(--r-lg); padding: 14px; animation: cardIn .65s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.sp-card:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: translateY(-4px); }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.97); filter: blur(6px); } }
.sp-card__photo { position: relative; display: block; aspect-ratio: 4 / 4.5; border-radius: 24px; overflow: hidden; background: var(--c, #ffe08a); }
.sp-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.sp-card:hover .sp-card__photo img { transform: scale(1.05); }
.sp-card__badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; background: #fff; border: 2.5px solid var(--ink); border-radius: 999px; font-size: 12.5px; font-weight: 800; rotate: -3deg; }
.sp-card__badge svg { width: 15px; height: 15px; color: #1fbf7a; }
.sp-card__rating { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; background: var(--sun); border: 2.5px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 800; rotate: 2deg; }
.sp-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 8px 8px; }
.sp-card__name { font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.sp-card__role { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-card__desc { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-card__loc { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.sp-card__loc svg { width: 16px; height: 16px; color: var(--red); }
.sp-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.sp-card__tags span { padding: 4px 12px; border-radius: 999px; background: var(--s, #fff0e8); border: 2px solid rgba(26, 10, 12, .16); font-size: 12.5px; font-weight: 700; }
.sp-card__foot { margin-top: auto; padding-top: 18px; }
.sp-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0 14px; border-top: 2px dashed rgba(26, 10, 12, .22); margin-top: 18px; }
.sp-card__price small { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.sp-card__price b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.sp-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 2px dashed rgba(26, 10, 12, .22); padding-top: 16px; }
.sp-card__price + .sp-card__actions { border-top: 0; padding-top: 0; }
.sp-card__detail { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--ink); }
.sp-card__detail svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.sp-card__detail:hover { color: var(--red); }
.sp-card__detail:hover svg { transform: translateX(4px); }
.sp-card__reserve { height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 10px 22px -10px rgba(204, 0, 0, .7); transition: transform .2s var(--ease), background .2s; }
.sp-card__reserve:hover { background: #b30000; transform: translateY(-2px); }
.sp-card__reserve[disabled] { background: #d9cfd0; color: #8a7a7d; box-shadow: none; cursor: not-allowed; transform: none; }
.sp-empty { grid-column: 1 / -1; text-align: center; padding: 64px 24px; border: 3px dashed var(--line); border-radius: var(--r-lg); font-weight: 700; color: var(--ink-2); font-size: 18px; }
.sp-more { text-align: center; margin-top: 44px; }
.sp-loader { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink-2); }
.sp-loader i { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite; }
.sp-loader[hidden], .sp-more .btn[hidden] { display: none; }

.sp-help { padding: 60px 0 110px; }
.sp-help__card { position: relative; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 32px; background: var(--sun); color: var(--ink); border: var(--stk); border-radius: var(--r-xl); box-shadow: 8px 8px 0 var(--ink); padding: 34px 48px 34px 36px; }
.sp-help__mascot { width: 130px; height: 173px; margin-top: -64px; rotate: -6deg; filter: drop-shadow(0 10px 14px rgba(80, 0, 8, .3)); }
.sp-help__title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.sp-help__sub { margin-top: 8px; font-size: 17px; color: var(--ink-2); max-width: 520px; }
.sp-help__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Modal v2 (pengganti modal Bootstrap; dikendalikan v2-legacy-shim.js) ---------- */
.v2-modal { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; padding: 20px; background: rgba(26, 10, 12, .58); backdrop-filter: blur(5px); }
.v2-modal.is-open { display: grid; }
.v2-modal__panel { position: relative; width: min(640px, 100%); max-height: 90vh; overflow: auto; background: #fff; border: var(--stk); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--ink); padding: 34px 34px 28px; animation: modalPop .4s var(--ease); }
@keyframes modalPop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.v2-modal__x { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; display: grid; place-items: center; transition: background .2s, transform .2s var(--ease); }
.v2-modal__x:hover { background: var(--sun); transform: rotate(90deg); }
.v2-modal__x svg { width: 18px; height: 18px; }
.v2-modal__title { font-size: 26px; font-weight: 800; letter-spacing: -.025em; padding-right: 48px; }
.v2-modal__desc { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.v2-modal .session-option { margin-top: 20px; display: grid; gap: 12px; }
.v2-modal .session-option .container { display: grid; gap: 12px; padding: 0; width: auto; max-width: none; }
.option-session { display: flex; flex-flow: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border: 2.5px solid var(--line); border-radius: 20px; height: auto; transition: border-color .2s, background .2s; }
.option-session:has(.session-radio:checked) { border-color: var(--ink); background: #fff8e0; }
.option-session > div { font-size: 15.5px; }
.option-session label { margin: 0 0 0 8px; cursor: pointer; }
.option-session .form-check-input { width: 20px; height: 20px; accent-color: var(--red); vertical-align: middle; }
.priority-container { display: none; font-weight: 600; color: var(--ink-2); }
.v2-modal .custom-select { height: 42px; padding: 0 36px 0 14px; border-radius: 12px; border: 2.5px solid var(--ink); background: #fff; font: inherit; font-weight: 700; color: var(--ink); }
.v2-modal__foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.v2-modal__foot .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
body.v2-modal-open { overflow: hidden; }

/* ---------- Notifikasi sementara + tombol draft ---------- */
#alert-container { position: fixed; top: 96px; right: 20px; z-index: 300; display: grid; gap: 10px; width: min(380px, calc(100vw - 40px)); pointer-events: none; }
#alert-container .alert { pointer-events: auto; position: relative; padding: 14px 44px 14px 18px; border-radius: 18px; border: var(--stk); box-shadow: 4px 4px 0 var(--ink); font-weight: 700; font-size: 15px; background: #fff; animation: modalPop .35s var(--ease); }
#alert-container .alert-success { background: #c9f5df; }
#alert-container .alert-danger { background: #ffd0d6; }
#alert-container .alert .close { position: absolute; right: 10px; top: 8px; border: 0; background: none; font-size: 24px; line-height: 1; font-weight: 800; }
.draft-pill { position: fixed; z-index: 89; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 16px; border-radius: 999px; background: var(--sun); color: var(--ink); border: var(--stk); box-shadow: var(--stk-shadow); font-weight: 800; font-size: 14.5px; transition: transform .25s var(--ease), box-shadow .25s; }
.draft-pill[hidden] { display: none; }
.draft-pill svg { width: 20px; height: 20px; }
.draft-pill:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

@media (max-width: 1100px) {
  .sp-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-help__card { grid-template-columns: 1fr; padding: 36px 28px; }
  .sp-help__mascot { display: none; }
  .pg-hero__mascot { display: none; }
}
@media (max-width: 640px) {
  .pg-hero { padding: 132px 0 110px; }
  .sp-grid { grid-template-columns: 1fr; }
  .sp-search { flex-direction: column; align-items: stretch; }
  .sp-search .btn { width: 100%; }
  .v2-modal__panel { padding: 28px 22px 22px; }
  .draft-pill { left: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sp-card, .v2-modal__panel, #alert-container .alert, .pg-hero__mascot { animation: none !important; } }

/* ---------- Dipakai bersama (Portfolio, Agenda): paginasi & isi artikel ---------- */
/* ---------- Paginasi ---------- */
.pf-pager-wrap { display: flex; justify-content: center; margin-top: 46px; }
.pf-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pf-pager__btn { min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 16px; background: #fff; border: 2.5px solid var(--ink); font-weight: 800; font-size: 15.5px; color: var(--ink); transition: background .2s, color .2s, transform .2s var(--ease); }
a.pf-pager__btn:hover { background: var(--sun); transform: translateY(-2px); }
.pf-pager__btn.is-active { background: var(--red); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.pf-pager__btn.is-disabled { opacity: .35; }
.pf-pager__btn.is-ellipsis { border-color: transparent; background: none; min-width: 26px; padding: 0; }
.pf-pager__nav svg { width: 18px; height: 18px; }

/* isi artikel (HTML dari editor) */
.pf-prose { font-size: 18px; line-height: 1.8; color: var(--ink); overflow-wrap: anywhere; }
.pf-prose > *:first-child { margin-top: 0; }
.pf-prose p { margin: 0 0 1.15em; }
.pf-prose h2, .pf-prose h3, .pf-prose h4 { font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin: 1.7em 0 .6em; }
.pf-prose h2 { font-size: 30px; } .pf-prose h3 { font-size: 24px; } .pf-prose h4 { font-size: 20px; }
.pf-prose ul, .pf-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.pf-prose ul { list-style: disc; }
.pf-prose ol { list-style: decimal; }
.pf-prose ul ul { list-style: circle; margin-bottom: 0; }
.pf-prose li { margin: .35em 0; padding-left: .2em; }
.pf-prose li::marker { color: var(--red); font-weight: 800; }
.pf-prose a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pf-prose a:hover { color: #8f0000; }
.pf-prose img { max-width: 100%; height: auto; border-radius: 22px; border: 2.5px solid var(--ink); margin: .6em 0; }
.pf-prose figure { margin: 1.4em 0; }
.pf-prose figcaption { margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-align: center; }
.pf-prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 6px solid var(--red); border-radius: 0 20px 20px 0; background: var(--warm); font-weight: 600; font-size: 19px; }
.pf-prose blockquote p:last-child { margin-bottom: 0; }
.pf-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; display: block; overflow-x: auto; }
.pf-prose th, .pf-prose td { padding: 12px 16px; border: 2px solid var(--line); text-align: left; }
.pf-prose th { background: var(--warm); font-weight: 800; }
.pf-prose iframe, .pf-prose video { max-width: 100%; border-radius: 22px; border: 2.5px solid var(--ink); }
.pf-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.pf-prose hr { border: 0; border-top: 3px dashed var(--line); margin: 2em 0; }

/* ---------- Dipakai bersama: jumlah hasil, hapus-pencarian, keadaan kosong ---------- */
.pf-count { margin: 0 0 18px 4px; font-weight: 800; font-size: 15px; color: var(--ink-2); }
.pf-clear { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--warm); color: var(--ink); transition: background .2s; }
.pf-clear:hover { background: var(--sun); }
.pf-clear svg { width: 14px; height: 14px; }

/* ---------- Kosong ---------- */
.pf-empty { display: grid; justify-items: center; gap: 12px; }
.pf-empty__ico { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 26px; background: var(--sun); border: var(--stk); box-shadow: 4px 4px 0 var(--ink); }
.pf-empty__ico svg { width: 34px; height: 34px; }
.pf-empty__title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pf-empty p { max-width: 460px; font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
