/* Halaman info Kajian Bulanan — melengkapi ../assets/style.css */
.ev-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 112px 0 72px;
  background: radial-gradient(120% 120% at 10% 0%, var(--hero-3) 0%, var(--hero-2) 45%, var(--hero-1) 100%);
}
.ev-hero .hero-geo { opacity: .9; }
.ev-glow { position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(243, 214, 140, .28), transparent 62%); pointer-events: none; }
.ev-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.ev-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(243, 214, 140, .16); border: 1px solid rgba(243, 214, 140, .35); color: #f3d68c; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.ev-tag svg { width: 18px; height: 18px; }
.ev-hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; margin-bottom: 18px; }
.ev-hero h1 span { color: #f3d68c; }
.ev-by { font-size: clamp(16px, 2vw, 19px); opacity: .9; margin-bottom: 26px; }
.ev-by b { font-weight: 700; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ev-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 14.5px; font-weight: 600; }
.ev-meta .ic { width: 17px; height: 17px; color: #b9f3d5; }

/* Hitung mundur */
.cd { padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 24px; max-width: 520px; }
.cd-label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; opacity: .85; margin-bottom: 12px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-box { text-align: center; padding: 12px 4px 10px; border-radius: 14px; background: rgba(0, 0, 0, .18); }
.cd-box b { display: block; font-size: clamp(26px, 4.4vw, 38px); font-weight: 700; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-box small { display: block; margin-top: 6px; font-size: 12px; opacity: .7; }
.cd-msg { font-size: 17px; font-weight: 700; line-height: 1.4; }
.cd-msg small { display: block; font-size: 14px; font-weight: 500; opacity: .8; margin-top: 4px; }
.cd.live { background: rgba(243, 214, 140, .16); border-color: rgba(243, 214, 140, .4); }
.cd.live .pulse { background: #f3d68c; animation-name: pulseGold; }
@keyframes pulseGold { 0% { box-shadow: 0 0 0 0 rgba(243, 214, 140, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(243, 214, 140, 0); } }
.ev-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-cta .btn .ic { width: 18px; height: 18px; }

/* Poster */
.poster { position: relative; display: block; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .18); background: #f3e7d3; }
.poster img { width: 100%; height: auto; aspect-ratio: 1200 / 1199; object-fit: cover; }
.poster-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: rgba(16, 25, 21, .7); color: #fff; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.poster-hint .ic { width: 15px; height: 15px; }

/* Detail */
.ev-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ev-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ev-card .act-ic { margin-bottom: 12px; }
.ev-card small { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev-card b { font-size: 20px; letter-spacing: -.01em; line-height: 1.3; }
.ev-card p { color: var(--text-2); font-size: 15px; }
.ev-speaker { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.ev-speaker img { width: 76px; height: 76px; border-radius: 22px; object-fit: cover; object-position: 50% 20%; flex: none; background: #f3e7d3; }
.ev-speaker div { display: flex; flex-direction: column; }

/* Tema / dalil */
.ayat { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 52px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ayat-ar { font-family: 'Amiri', 'Traditional Arabic', 'Scheherazade New', serif; direction: rtl; font-size: clamp(24px, 3.6vw, 34px); line-height: 2; color: var(--text); margin-bottom: 18px; }
.ayat-id { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); line-height: 1.65; max-width: 760px; }
.ayat-id b { color: var(--primary); }
.ayat-src { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ayat::before { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 39, .14), transparent 65%); }

/* Undangan */
/* Modul / materi kajian */
.modul { margin-top: 16px; display: grid; grid-template-columns: 168px 1fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.modul-cover { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 36px -18px rgba(7, 61, 42, .55), 0 0 0 1px var(--line); transform: rotate(-3deg); transition: transform .4s var(--spring); }
.modul-cover img { display: block; width: 100%; height: auto; }
.modul-body { display: flex; flex-direction: column; gap: 6px; }
.modul-body small { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.modul-body b { font-size: 21px; letter-spacing: -.01em; line-height: 1.3; }
.modul-body p { color: var(--text-2); font-size: 15px; max-width: 560px; }
.modul-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; padding: 0; }
.modul-meta li { font-size: 12.5px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 99px; }
.modul-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (hover: hover) { .modul-cover:hover { transform: rotate(0) scale(1.03); } }
@media (max-width: 640px) {
  .modul { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .modul-cover { width: 132px; }
  .modul-actions .btn { flex: 1 1 auto; justify-content: center; }
}
.btn-wa { background: #1faa59; color: #fff; box-shadow: 0 10px 24px -12px #1faa59; }
.btn-wa:hover { background: #17924b; transform: translateY(-2px); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline.done { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Pratinjau poster layar penuh */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(6, 12, 9, .88); opacity: 0; pointer-events: none; transition: opacity .2s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(100%, 900px); max-height: 100%; border-radius: 16px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* Halaman agenda */
.ag-hero h1 { max-width: 760px; }
.ag-hero .ev-by { max-width: 620px; }
.ag-next { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; margin-top: 8px; padding: 22px; border-radius: 28px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.ag-next-poster img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.ag-next-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f3d68c; margin-bottom: 8px; }
.ag-next h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.ag-next-by { font-weight: 600; opacity: .9; }
.ag-next-when { opacity: .75; margin-bottom: 18px; }
.ag-empty { margin-top: 12px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.ag-list { display: grid; gap: 12px; }
.ag-item { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.ag-item img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; flex: none; }
.ag-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ag-body b { font-size: 17px; line-height: 1.3; }
.ag-body small { color: var(--muted); font-size: 13.5px; }
.ag-badge { align-self: flex-start; padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.ag-badge.soon { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.ag-item > .ic { color: var(--muted); }
@media (hover: hover) { .ag-item:hover { border-color: var(--primary); } }

@media (hover: none) {
  .btn-wa:hover { background: #1faa59; }
  .btn-outline:hover { border-color: var(--line-2); color: var(--text); }
}
@media (max-width: 980px) {
  .ev-in { grid-template-columns: 1fr; gap: 36px; }
  .ev-poster { max-width: 520px; }
  .ev-cards { grid-template-columns: 1fr; }
  .inv { grid-template-columns: 1fr; }
  .inv-actions { min-width: 0; }
  .ag-next { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
  .ag-next-poster { max-width: 360px; }
}
@media (max-width: 640px) {
  .ev-hero { padding: 96px 0 48px; }
  .ev-cta .btn { flex: 1 1 100%; }
  .cd { padding: 14px; }
  .cd-grid { gap: 6px; }
  .ev-card { padding: 22px; }
}
