/* =========================================================
   peta.css
   PETA / MAP - FULL WIDTH (FULL-BLEED PER SECTION)
   - Section full lebar layar (kiri-kanan nempel)
   - Isi (judul + card) tetap center max 1200px
   - Iframe ikut lebar card
   ========================================================= */

/* Gutter global untuk section ini */
:root{
  --map-gutter: clamp(14px, 2.2vw, 32px);
}

/* Section wrapper (default) */
.map-wrap{
  width: 100%;
  margin: 0;
  padding: 0;
}

/* FULL-BLEED: aktif hanya jika pakai .fw */
.map-wrap.fw{
  box-sizing: border-box;

  /* bikin section “nembus” sampai tepi layar */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* padding section */
  padding: 34px var(--map-gutter) 40px;

  /* gaya section */
  background: #87CEFA;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);

  /* cegah horizontal scroll */
  overflow-x: clip;
}

/* fallback kalau browser belum support overflow: clip */
@supports not (overflow: clip){
  .map-wrap.fw{ overflow-x: hidden; }
}

/* support viewport modern (mobile) */
@supports (width: 100dvw){
  .map-wrap.fw{
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}

/* Container isi (center) */
.map-inner{
  width: min(1200px, 100%);
  margin: 0 auto;
}

/* Head */
.map-head{ margin-bottom: 14px; }

.map-title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #0b1b33;
}

.map-sub{
  margin: 6px 0 0;
  color: rgba(11,27,51,.72);
  font-size: 14px;
  line-height: 1.45;
}

/* Card */
.map-card{
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12, 26, 53, .08);
}

/* Frame */
.map-frame{
  position: relative;
  width: 100%;
  height: clamp(220px, 28vw, 360px);
  background: #e9eef7;
}

.map-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Tombol */
.map-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 14px auto 0;
  padding: 11px 14px;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 800;
  font-size: 13px;

  color: #0b1b33;
  background: rgba(15, 60, 130, .08);
  border: 1px solid rgba(15, 60, 130, .16);

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.map-btn:hover{
  transform: translateY(-1px);
  background: rgba(15, 60, 130, .12);
  border-color: rgba(15, 60, 130, .22);
}

/* RESPONSIVE */
@media (max-width: 980px){
  .map-title{ font-size: 20px; }
}

@media (max-width: 760px){
  .map-wrap.fw{
    padding: 26px 14px 30px;
  }
  .map-title{ font-size: 18px; }
  .map-sub{ font-size: 13px; }
  .map-frame{ height: clamp(260px, 64vw, 420px); }
}

@media (max-width: 420px){
  .map-wrap.fw{
    padding-left: 12px;
    padding-right: 12px;
  }
}
