/* ── CSO PETA AKSI IKLIM — Plugin Styles ── */
/* Scoped to .peta-aksi-root to avoid bleeding into the rest of the theme */

:root {
  --orange: #E85B1E;
  --amber:  #FAB649;
  --blue:   #4164E5;
  --navy:   #10276B;
  --navy-deep: #0a1747;
  --green:  #1D6B44;
  --black:  #111111;
  --light:  #f4f4f4;
  --border: rgba(16,39,107,0.15);
  --max:    1440px;
  --pad:    clamp(16px,4vw,40px);
}

/* ── PAGE HEADER ── */
.page-head {
  border-bottom: 2px solid var(--black);
  background: #fff;
  padding: clamp(56px,8vw,104px) 0 clamp(40px,5vw,72px);
}
.page-head-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px,6vw,88px);
  align-items: end;
}
@media(max-width:820px) { .page-head-inner { grid-template-columns:1fr; gap:40px; } }

.page-head-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  font-family: 'Epilogue', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.15s;
  border: 2px solid var(--navy);
  margin-top: 28px;
  cursor: pointer;
}
.page-head-cta:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.page-head-cta svg { transition: transform 0.15s; }
.page-head-cta:hover svg { transform: translate(2px,-2px); }
.page-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
@media(max-width:820px) { .page-head-right { align-items: flex-start; } }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); display: inline-block; }
.page-title { font-weight: 900; font-size: clamp(32px,5.2vw,64px); line-height: 0.94; letter-spacing: -0.03em; text-transform: uppercase; color: var(--navy); }
.page-title em { color: var(--orange); font-style: italic; }
.page-sub { font-weight: 400; font-size: clamp(14px,1.3vw,16px); color: rgba(0,0,0,0.7); line-height: 1.55; max-width: 560px; margin-top: 14px; }
.page-head-stats { display: flex; gap: clamp(16px,3vw,40px); padding-top: 8px; }
.stat-n { font-weight: 900; font-size: clamp(28px,3.4vw,44px); line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.stat-l { font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(0,0,0,0.55); margin-top: 6px; }

/* ── CONTROL BAR ── */
.control-bar { background: #fff; border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); position: relative; z-index: 30; overflow: visible; }
.control-inner { max-width: var(--max); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; overflow-x: visible; }

.search-field { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); padding: 9px 14px; min-width: 240px; flex: 1; max-width: 440px; transition: border-color 0.15s; }
.search-field:focus-within { border-color: var(--navy); }
.search-field svg { flex-shrink: 0; color: rgba(16,39,107,0.55); }
.search-field input { border: none; outline: none; background: none; font-weight: 500; font-size: 14px; flex: 1; color: var(--navy); font-family: 'Epilogue', sans-serif; }
.search-field input::placeholder { color: rgba(16,39,107,0.45); font-weight: 500; }
.search-field kbd { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 10px; border: 1px solid var(--border); padding: 2px 6px; color: rgba(16,39,107,0.5); letter-spacing: 0.05em; }

.view-toggle { display: inline-flex; border: 1.5px solid var(--border); flex-shrink: 0; }
.view-toggle a { padding: 9px 14px; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 8px; transition: all 0.15s; font-family: 'Epilogue', sans-serif; text-decoration:none; }
.view-toggle a.active { background: var(--navy); color: #fff; }
.view-toggle a:not(.active):hover { background: rgba(16,39,107,0.05); }

.meta-count { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(16,39,107,0.6); flex-shrink: 0; margin-left: auto; display: flex; align-items: center; gap: 10px; }
.meta-count::before { content: ""; width: 16px; height: 2px; background: var(--orange); display: inline-block; }
.meta-count strong { color: var(--navy); font-weight: 900; font-size: 16px; }
@media(max-width:720px) { .meta-count { display: none; } .control-inner { gap: 10px; } }

/* ── DROPDOWN FILTERS ── */
.flt-dropdown { position: relative; flex-shrink: 0; }
.flt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--border); background: #fff; font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); cursor: pointer; white-space: nowrap; transition: all 0.15s; user-select: none; }
.flt-btn:hover { border-color: var(--navy); }
.flt-btn.has-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.flt-badge { background: var(--orange); color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: 9px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: 0; line-height: 1; }
.flt-btn.has-active .flt-badge { background: var(--amber); color: var(--navy); }
.flt-caret { width: 10px; height: 10px; flex-shrink: 0; fill: var(--navy); transition: transform 0.15s; }
.flt-dropdown.open .flt-caret { transform: rotate(180deg); }
.flt-btn.has-active .flt-caret { fill: #fff; }
.flt-panel { display: none; position: fixed; min-width: 220px; background: #fff; border: 1.5px solid rgba(16,39,107,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.14); z-index: 50000; overflow: hidden; }
.flt-dropdown.open .flt-panel { display: block; }
.flt-panel-head { padding: 10px 14px 8px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.flt-panel-label { font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(16,39,107,0.55); }
.flt-panel-clear { font-weight: 700; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); cursor: pointer; background: none; border: none; font-family: inherit; padding: 0; }
.flt-panel-clear:hover { text-decoration: underline; }
.flt-options { padding: 6px 0; max-height: 280px; overflow-y: auto; }
.flt-option { display: flex; align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--navy); transition: background 0.12s; user-select: none; font-family: 'Epilogue', sans-serif; }
.flt-option:hover { background: rgba(16,39,107,0.04); }
.flt-option.checked { font-weight: 700; }
.flt-check { width: 16px; height: 16px; border: 1.5px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.12s; }
.flt-option.checked .flt-check { background: var(--navy); border-color: var(--navy); }
.flt-checkmark { display: none; color: #fff; }
.flt-option.checked .flt-checkmark { display: block; }
.flt-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.flt-opt-label { flex: 1; }
.flt-opt-count { font-size: 10px; font-weight: 700; color: rgba(16,39,107,0.45); font-variant-numeric: tabular-nums; }
.ctrl-clear { display: none; align-items: center; gap: 6px; padding: 9px 12px; border: 1.5px solid var(--orange); background: none; font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); cursor: pointer; transition: all 0.15s; flex-shrink: 0; }
.ctrl-clear:hover { background: var(--orange); color: #fff; }
.ctrl-clear.visible { display: inline-flex; }

/* ── STAGE ── */
/* z-index: map must stack above site footer when layers overlap (theme footer uses z-index on inner blocks). */
.stage { display: block; height: calc(100vh - 70px) !important; min-height: 480px !important; position: relative; background: #e3e5ea; border-bottom: 2px solid var(--black); overflow: hidden; }
.map-area { position: absolute; inset: 0; background: #e3e5ea; overflow: hidden; width: 100%; height: 100%; }
.map-svg-wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0; cursor: grab; }
.map-svg-wrap.panning { cursor: grabbing; }
.map-svg-wrap:active { cursor: grabbing; }
.map-svg { width: 100%; height: 100%; max-height: 100%; max-width: 1440px; margin: 0 auto; display: block; }
.map-svg .island { fill: #c2cddd; stroke: #3f5680; stroke-width: 0.55; stroke-linejoin: round; transition: fill 0.2s, opacity 0.2s; cursor: default; }
.map-svg .island.has-pins { fill: #c2cddd; stroke: #3f5680; stroke-width: 0.55; }
.map-svg .island.pin-hover { fill: #8ea2c1; stroke: #243b64; stroke-width: 0.8; }
.map-svg .island.neighbor { fill: #b5c1d4; stroke: #5f769c; stroke-width: 0.3; opacity: 0.9; }
.map-svg .island:not(.neighbor):hover { fill: #8ea2c1; stroke: #243b64; stroke-width: 0.8; }
.map-svg rect[fill="#6fa3c0"],
.map-svg rect[fill="url(#mapGrid)"] {
  fill: #e3e5ea !important;
  opacity: 1 !important;
}

.pin { cursor: pointer; transition: all 0.2s; transform-box: fill-box; transform-origin: center; }
.pin-halo { transition: all 0.3s; }
.pin-core { transition: all 0.2s; }
.pin.dimmed { opacity: 0.18; pointer-events: none; }
.pin.selected .pin-halo { r: 18; opacity: 0.4; }
.pin.selected .pin-core { r: 7; stroke: #fff; stroke-width: 2; }
.pin:hover .pin-halo { opacity: 0.45; }
.pin:hover .pin-core { r: 6.5; }

/* Legend */
.map-legend { position: absolute; bottom: 16px; left: 16px; background: rgba(255,255,255,0.88); backdrop-filter: blur(8px); border: 1px solid rgba(30,60,120,0.15); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-family: 'Epilogue', sans-serif; z-index: 2; box-shadow: 0 2px 12px rgba(0,0,60,0.1); }
.map-legend-title { font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(30,60,120,0.55); margin-bottom: 4px; }
.map-legend-row { display: flex; align-items: center; gap: 8px; color: #1e3c78; font-weight: 600; font-size: 11px; letter-spacing: 0.04em; }
.map-legend-row .dot { width: 8px; height: 8px; border-radius: 50%; }
@media(max-width:960px) { .map-legend { bottom: 10px; top: auto; left: 10px; font-size: 10px; } }

.map-corner { position: absolute; top: 12px; right: 16px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(30,60,120,0.45); z-index: 2; }
.map-corner small { color: rgba(30,60,120,0.65); font-weight: 800; }

/* Empty state */
.map-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(10,23,71,0.85); z-index: 3; padding: 32px; text-align: center; color: #fff; }
.map-empty-eyebrow { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.map-empty h3 { font-weight: 900; font-size: clamp(22px,3vw,32px); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.02em; max-width: 420px; margin-bottom: 14px; }
.map-empty p { font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.7); max-width: 440px; line-height: 1.55; margin-bottom: 20px; }
.map-empty a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1.5px solid #fff; color: #fff; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.15s; }
.map-empty a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); }

/* ── DRAWER ── */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px,92vw); background: #fff; border-left: 2px solid var(--black); z-index: 120000; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; }
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.drawer-eyebrow { font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(16,39,107,0.55); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.drawer-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--orange); display: inline-block; }
.drawer-cat-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.drawer-close { width: 36px; height: 36px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: all 0.15s; flex-shrink: 0; background: none; cursor: pointer; }
.drawer-close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 24px 24px; }
.drawer-title { font-weight: 900; font-size: clamp(22px,2.4vw,28px); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); margin: 12px 0 10px; }
.drawer-org { font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 24px; }
.drawer-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.drawer-meta-lbl { font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(16,39,107,0.55); margin-bottom: 4px; }
.drawer-meta-val { font-weight: 700; font-size: 14px; color: var(--navy); }
.drawer-desc { font-weight: 400; font-size: 14px; line-height: 1.65; color: rgba(0,0,0,0.78); margin-bottom: 24px; }
.drawer-foot { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; flex-shrink: 0; background: #fafafa; }
.drawer-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border: 1.5px solid var(--navy); color: var(--navy); transition: all 0.15s; text-decoration: none; font-family: 'Epilogue', sans-serif; cursor: pointer; background: none; }
.drawer-btn.primary { background: var(--navy); color: #fff; }
.drawer-btn.primary:hover { background: var(--orange); border-color: var(--orange); }
.drawer-btn:not(.primary):hover { background: rgba(16,39,107,0.05); }
@media(max-width:960px) {
  .drawer { top: auto; right: 0; left: 0; bottom: 0; width: 100%; height: min(78vh,620px); border-left: none; border-top: 2px solid var(--black); transform: translateY(100%); max-height: 78vh; }
  .drawer.open { transform: translateY(0); }
}

/* ── LIST VIEW ── */
.list-area { background: #fff; overflow-y: auto; padding: 24px clamp(16px,3vw,32px); min-height: 60vh; display: none; position:relative; z-index:5; }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 16px; max-width: var(--max); margin: 0 auto; }
.init-card { border: 1.5px solid var(--border); padding: 20px; cursor: pointer; transition: all 0.15s; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.init-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.init-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.init-card-cat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; font-weight: 700; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.init-card-loc { font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(16,39,107,0.55); text-align: right; }
.init-card-title { font-weight: 900; font-size: 18px; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
.init-card-org { font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.init-card-desc { font-weight: 400; font-size: 13px; line-height: 1.55; color: rgba(0,0,0,0.7); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.init-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; margin-top: auto; border-top: 1px solid var(--border); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: rgba(16,39,107,0.55); }
.init-card-foot .arrow { color: var(--navy); transition: transform 0.15s; }
.init-card:hover .arrow { transform: translateX(4px); color: var(--orange); }

.stage.list-mode .map-area { display: none; }
.stage.list-mode { height: auto !important; background: #fff; min-height: 60vh; overflow: visible; }
.stage.list-mode .list-area { display: block; }
.stage.initial-list .map-area { display:none !important; }
.stage.initial-list .list-area { display:block !important; }

/* ── DAFTAR MODAL ── */
.daftar-overlay { position: fixed; inset: 0; background: rgba(16,39,107,0.55); z-index: 200000; display: flex; align-items: stretch; justify-content: flex-end; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.daftar-overlay.open { opacity: 1; pointer-events: all; }
.daftar-drawer { width: min(560px,100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94); position: relative; }
.daftar-overlay.open .daftar-drawer { transform: translateX(0); }
.daftar-progress { height: 3px; background: #e8e8e8; flex-shrink: 0; }
.daftar-progress-fill { height: 100%; background: var(--orange); transition: width 0.4s ease; }
.daftar-head { padding: 20px 28px 16px; border-bottom: 1px solid rgba(16,39,107,0.1); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.daftar-step-label { font-weight: 700; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.daftar-title { font-weight: 900; font-size: clamp(18px,2vw,22px); color: var(--navy); letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.1; }
.daftar-close { width: 36px; height: 36px; border: 1.5px solid rgba(16,39,107,0.2); display: flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; flex-shrink: 0; transition: all 0.15s; background: none; font-family: inherit; }
.daftar-close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.daftar-body { flex: 1; overflow-y: auto; padding: 28px 28px 16px; }
.daftar-step { display: none; }
.daftar-step.active { display: block; }
.d-field { margin-bottom: 24px; }
.d-label { display: block; font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(16,39,107,0.6); margin-bottom: 8px; }
.d-required::after { content: " *"; color: var(--orange); }
.d-input, .d-select, .d-textarea { width: 100%; background: none; border: none; border-bottom: 2px solid rgba(16,39,107,0.2); padding: 10px 0; font-family: 'Epilogue', sans-serif; font-size: 15px; font-weight: 500; color: var(--navy); outline: none; transition: border-color 0.15s; border-radius: 0; -webkit-appearance: none; }
.d-input::placeholder, .d-textarea::placeholder { color: rgba(16,39,107,0.3); font-weight: 400; }
.d-input:focus, .d-select:focus, .d-textarea:focus { border-bottom-color: var(--orange); }
.d-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.d-select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%2310276B'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; cursor: pointer; }
.d-char-count { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(16,39,107,0.35); text-align: right; margin-top: 4px; transition: color 0.15s; }
.d-char-count.warn { color: var(--orange); }
.d-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.d-cat-option { position: relative; }
.d-cat-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.d-cat-label { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid rgba(16,39,107,0.2); cursor: pointer; transition: all 0.15s; font-size: 13px; font-weight: 600; color: var(--navy); }
.d-cat-label:hover { border-color: var(--navy); }
.d-cat-option input:checked + .d-cat-label { border-color: var(--navy); background: var(--navy); color: #fff; }
.d-cat-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.d-review { border: 1.5px solid rgba(16,39,107,0.15); padding: 20px; background: #fafafa; display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.d-review-row { display: flex; gap: 12px; align-items: flex-start; }
.d-review-lbl { font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(16,39,107,0.5); min-width: 110px; flex-shrink: 0; padding-top: 2px; }
.d-review-val { font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.45; }
.d-review-cat { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-weight: 700; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.d-disclaimer { font-size: 12px; line-height: 1.65; color: rgba(16,39,107,0.55); border-top: 1px solid rgba(16,39,107,0.1); padding-top: 16px; margin-bottom: 20px; }
.daftar-foot { padding: 16px 28px; border-top: 1px solid rgba(16,39,107,0.1); display: flex; gap: 10px; flex-shrink: 0; background: #fff; }
.d-btn-back { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border: 1.5px solid rgba(16,39,107,0.2); font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); cursor: pointer; background: #fff; transition: all 0.15s; }
.d-btn-back:hover { border-color: var(--navy); background: rgba(16,39,107,0.04); }
.d-btn-next { flex: 1; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border: none; background: var(--navy); font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; cursor: pointer; transition: background 0.15s; }
.d-btn-next:hover { background: var(--orange); }
.daftar-success { display: none; flex-direction: column; align-items: center; justify-content: center; flex: 1; padding: 40px 28px; text-align: center; gap: 16px; }
.daftar-success.show { display: flex; }
.d-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(30,150,80,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
@keyframes cso-scale-in { from { transform: scale(0); } to { transform: scale(1); } }
.d-success-icon svg { animation: cso-scale-in 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.1s both; }
.d-success-title { font-weight: 900; font-size: 28px; color: var(--navy); letter-spacing: -0.02em; text-transform: uppercase; }
.d-success-sub { font-weight: 400; font-size: 14px; color: rgba(16,39,107,0.65); line-height: 1.65; max-width: 360px; }
.d-success-note { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(16,39,107,0.4); border-top: 1px solid rgba(16,39,107,0.1); padding-top: 16px; width: 100%; }
@media(max-width:600px) {
  .daftar-drawer { width: 100%; }
  .daftar-overlay { align-items: flex-end; }
  .daftar-drawer { transform: translateY(100%); }
  .daftar-overlay.open .daftar-drawer { transform: translateY(0); }
  .d-cat-grid { grid-template-columns: 1fr; }
}

@media(max-width:960px){
  .control-inner{
    flex-wrap:wrap;
    align-items:stretch;
    gap:10px;
    overflow-x:hidden;
  }
  .search-field{
    order:1;
    min-width:100%;
    max-width:100%;
  }
  .flt-dropdown{
    order:2;
    flex:1 1 calc(50% - 6px);
  }
  .flt-btn{
    width:100%;
    justify-content:space-between;
  }
  .ctrl-clear{
    order:3;
  }
  .view-toggle{
    order:4;
    margin-left:0 !important;
  }
  .meta-count{
    order:5;
    margin-left:0;
  }
  .map-corner{
    top:auto;
    bottom:10px;
    right:10px;
    align-items:flex-end;
    text-align:right;
  }
}

/* ── PREVIEW SHORTCODE (used on front page) ── */
.peta-preview-wrap {
  background: var(--navy-deep, #0a1747);
  position: relative;
  overflow: hidden;
  padding: clamp(64px,9vw,120px) 0;
}
.peta-preview-inner {
  max-width: var(--max, 1440px);
  margin: 0 auto;
  padding: 0 var(--pad, clamp(16px,4vw,40px));
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px,6vw,96px);
  align-items: center;
}
@media(max-width:900px) { .peta-preview-inner { grid-template-columns: 1fr; } }
.peta-preview-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber, #FAB649); }
.peta-preview-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber, #FAB649); display: inline-block; }
.peta-preview-title { font-weight: 900; font-size: clamp(36px,5vw,60px); line-height: 0.94; letter-spacing: -0.03em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.peta-preview-title em { color: var(--amber, #FAB649); font-style: italic; }
.peta-preview-sub { font-weight: 400; font-size: clamp(14px,1.3vw,16px); color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 460px; margin-bottom: 32px; }
.peta-preview-stats { display: flex; gap: clamp(24px,4vw,48px); margin-bottom: 36px; }
.peta-preview-stat-n { font-weight: 900; font-size: clamp(28px,3vw,40px); color: #fff; line-height: 1; letter-spacing: -0.02em; }
.peta-preview-stat-l { font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 6px; }
.peta-preview-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 2px solid var(--amber, #FAB649); color: var(--amber, #FAB649); font-family: 'Epilogue', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; transition: all 0.15s; }
.peta-preview-cta:hover { background: var(--amber, #FAB649); color: var(--navy, #10276B); }
.peta-preview-map { border: 1px solid rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
/* Teaser uses same map template as full page; constrain height inside the home grid */
.peta-preview-map .map-area {
  position: relative;
  height: min(42vh, 400px);
  min-height: 260px;
  background: transparent;
}
.peta-preview-map .map-svg-wrap { height: 100%; }
.peta-preview-map .map-svg { max-height: 100%; }
.peta-preview-map .map-svg rect[fill="#6fa3c0"],
.peta-preview-map .map-svg rect[fill="url(#mapGrid)"] {
  fill: transparent !important;
  opacity: 0 !important;
}
.peta-preview-map .map-corner { display: none; }
.peta-preview-map .map-legend {
  bottom: 10px;
  left: 10px;
  padding: 10px 12px;
  font-size: 10px;
}
.peta-preview-map svg { display: block; width: 100%; height: auto; }

/* Preview pins: links + hover (custom tooltip via theme.js + data-org-*) */
.peta-preview-map .peta-preview-pin-link {
  cursor: pointer;
  outline: none;
  text-decoration: none;
}
.peta-preview-map .peta-preview-pin-link:focus-visible {
  outline: 2px solid var(--amber, #FAB649);
  outline-offset: 2px;
  border-radius: 2px;
}
.peta-preview-map .peta-preview-pin-link:hover .pin-core {
  filter: brightness(1.08);
}
.peta-preview-map .peta-preview-pin-link:hover .pin-halo {
  opacity: 0.35 !important;
}

/* ── BRANDED MAP TOOLTIP ── */
.peta-tooltip {
  position: fixed;
  z-index: 99999;
  background: #10276B;
  color: #fff;
  padding: 10px 14px;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  min-width: 160px;
  max-width: 240px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  border-left: 3px solid #E85B1E;
}
.peta-tooltip.visible { opacity: 1; }
.ptt-name { display: block; font-weight: 900; font-size: 13px; letter-spacing: -0.01em; margin-bottom: 3px; }
.ptt-org  { display: block; font-size: 11px; color: #FAB649; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.ptt-prov { display: block; font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ── PETA PREVIEW DUAL CTAS ── */
.peta-preview-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.peta-preview-cta-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 2px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  font-family: 'Epilogue', sans-serif; font-weight: 800; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: all 0.15s;
}
.peta-preview-cta-secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ── 7-col and 3-col cat grid variants ── */
.d-cat-grid--7 { grid-template-columns: 1fr 1fr; }
.d-cat-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.d-cat-grid--3 .d-cat-label {
  min-height: 64px;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding: 10px 12px;
}
.d-cat-grid--3 .d-cat-dot { display: none; }
@media(max-width:600px) {
  .d-cat-grid--7, .d-cat-grid--3 { grid-template-columns: 1fr 1fr; }
}
