/* Navigasi v2: mega-menu, drawer, footer, beranda. Hanya dimuat saat mode nav2 aktif. */
body.dt-nav2 { --n2-line: rgba(20,20,20,.08); --n2-teal: #0197b2; --n2-teal-d: #0a6677; }
body.dt-nav2 [hidden] { display: none !important; }

body.dt-look .dt-nav2 button.n2-caret,
body.dt-look .dt-nav2 button.n2-hub__tg,
body.dt-look .dt-nav2 button.n2-searchbtn {
  background: transparent !important; border-radius: 0; box-shadow: none; min-width: 0; font: inherit; line-height: 1;
  color: #161616; border: 0;
}
body.dt-look .dt-nav2 button.n2-searchbtn { background: #fff !important; border: 1px solid var(--n2-line); border-radius: 50%; width: 44px; min-width: 44px; max-width: 44px; height: 44px; padding: 0; }
body.dt-look .dt-nav2 button.n2-caret:hover,
body.dt-look .dt-nav2 button.n2-hub__tg:hover,
body.dt-look .dt-nav2 button.n2-searchbtn:hover { color: var(--n2-teal-d); }

/* ── Header desktop ─────────────────────────────────────── */
body.dt-look .dt-nav2 .dt-nav__inner { grid-template-columns: 1fr auto 1fr; }
.n2-menu { display: flex; align-items: center; justify-content: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.n2-item { height: 84px; display: flex; align-items: center; }
.n2-item--small { position: relative; }
.n2-item--cta { display: none; }
.n2-row { display: flex; align-items: center; }
body.dt-look .dt-nav2 .n2-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px 0 12px;
  color: #161616; font-weight: 500; text-decoration: none; white-space: nowrap;
}
body.dt-look .dt-nav2 .n2-item:not(.n2-item--panel) .n2-link { padding-right: 12px; }
body.dt-look .dt-nav2 .n2-link:hover,
body.dt-look .dt-nav2 .n2-item.is-open > .n2-row .n2-link { color: var(--n2-teal-d); }
.n2-caret, .n2-hub__tg {
  display: inline-grid; place-items: center; width: 28px; height: 44px; padding: 0;
  border: 0; background: transparent; cursor: pointer; color: #161616;
}
.n2-hub__tg { display: none; }
.n2-chev {
  width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; opacity: .7;
}
.n2-item.is-open > .n2-row .n2-chev { transform: translateY(2px) rotate(-135deg); color: var(--n2-teal-d); opacity: 1; }
.n2-caret:hover { color: var(--n2-teal-d); }
body.dt-look .dt-nav2 :focus-visible { outline: 2px solid var(--n2-teal); outline-offset: 2px; border-radius: 8px; }

.n2-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.n2-searchbtn {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--n2-line); border-radius: 50%; background: #fff; color: #161616;
}
.n2-searchbtn:hover, .n2-searchbtn[aria-expanded="true"] { color: var(--n2-teal-d); border-color: rgba(1,151,178,.4); }
body.dt-look .dt-nav2 .n2-cta { min-width: 128px; }

/* ── Panel ──────────────────────────────────────────────── */
.n2-item--panel:not(.n2-item--small) { position: static; }
.n2-panel {
  position: absolute; top: 100%; z-index: 60;
  background: #fff; border-radius: 24px; box-shadow: 0 18px 50px rgba(16,40,48,.14);
  padding: 30px 34px 26px; max-height: calc(100vh - 110px); overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.n2-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.n2-item.is-open > .n2-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.n2-panel--layanan { left: 24px; right: 24px; margin: 0 auto; max-width: 1180px; }
.n2-panel--area { left: 50%; width: min(940px, calc(100vw - 48px)); margin-left: calc(min(940px, 100vw - 48px) / -2); }
.n2-panel--artikel { left: 50%; width: min(700px, calc(100vw - 48px)); margin-left: calc(min(700px, 100vw - 48px) / -2); }
.n2-panel--small { list-style: none; margin: 0; left: 50%; min-width: 220px; margin-left: -110px; padding: 12px; border-radius: 20px; }
.n2-panel--small a, .n2-topics a, .n2-latest a { display: block; padding: 10px 14px; border-radius: 12px; color: #111; font-weight: 500; text-decoration: none; }
body.dt-look .dt-nav2 .n2-panel a { text-decoration: none; }
body.dt-look .dt-nav2 .n2-panel--small a, body.dt-look .dt-nav2 .n2-topics a, body.dt-look .dt-nav2 .n2-latest a { color: #111; }
body.dt-look .dt-nav2 .n2-panel--small a:hover, body.dt-look .dt-nav2 .n2-topics a:hover, body.dt-look .dt-nav2 .n2-latest a:hover { background: var(--nx-wash); color: var(--n2-teal-d); }

.n2-hubs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 22px; }
.n2-hub__head { display: flex; align-items: center; }
body.dt-look .dt-nav2 .n2-hub__t { display: flex; align-items: center; gap: 10px; color: #111; font-weight: 600; line-height: 1.2; }
body.dt-look .dt-nav2 .n2-hub__t:hover { color: var(--n2-teal-d); }
.n2-ico, .nx-capico.n2-ico {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(1,151,178,.2); color: var(--n2-teal-d); background: #fff; font-size: 14px;
}
.n2-hub__l { list-style: none; margin: 8px 0 0 46px; padding: 0; display: grid; gap: 2px; }
body.dt-look .dt-nav2 .n2-hub__l a { display: block; padding: 4px 0; color: #4a5558; font-size: .92rem; line-height: 1.3; }
body.dt-look .dt-nav2 .n2-hub__l a:hover { color: var(--n2-teal-d); }

.n2-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--n2-line); }
.n2-bar p { margin: 0 auto 0 0; color: var(--nx-muted); font-size: .94rem; }
.n2-bar p strong { color: #111; font-weight: 600; }
body.dt-look .dt-nav2 .n2-bar__go,
body.dt-look .dt-nav2 .n2-bar__all { color: #111; font-weight: 500; border-bottom: 1px solid #111; padding-bottom: 1px; white-space: nowrap; }
body.dt-look .dt-nav2 .n2-bar__go:hover,
body.dt-look .dt-nav2 .n2-bar__all:hover { color: var(--n2-teal-d); border-color: var(--n2-teal-d); }

.n2-area__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.n2-filter input {
  width: min(380px, 60vw); height: 44px; padding: 0 18px; border: 1px solid rgba(20,20,20,.14);
  border-radius: 999px; background: #fff; font: inherit; color: #111;
}
.n2-filter input:focus { outline: 2px solid var(--n2-teal); outline-offset: 1px; border-color: transparent; }
.n2-group + .n2-group { margin-top: 18px; }
.n2-group__t { margin: 0 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--n2-teal-d); font-weight: 500; }
.n2-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
body.dt-look .n2-chips a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border: 1px solid rgba(1,151,178,.28);
  border-radius: 999px; color: #111; font-size: .92rem; font-weight: 500; text-decoration: none; background: #fff;
}
body.dt-look .n2-chips a:hover { background: var(--nx-wash); color: var(--n2-teal-d); border-color: var(--n2-teal-d); }
body.dt-look .n2-chips .n2-chips__all { border-color: transparent; background: transparent; color: var(--n2-teal-d); }
.n2-chips__n { font-size: .78rem; color: var(--nx-muted); }
.n2-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.n2-reg__t { margin: 0 0 6px; font-weight: 600; font-size: .9rem; color: #111; }
.n2-reg ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
body.dt-look .dt-nav2 .n2-reg a { display: inline-block; padding: 3px 0; color: #4a5558; font-size: .92rem; }
body.dt-look .dt-nav2 .n2-reg a:hover { color: var(--n2-teal-d); }
.n2-empty { margin: 16px 0 0; color: var(--nx-muted); }
body.dt-look .dt-nav2 .n2-empty a { color: var(--n2-teal-d); text-decoration: underline; }

.n2-art { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.n2-topics, .n2-latest { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.n2-topics a { display: flex; justify-content: space-between; gap: 10px; }
.n2-topics span { color: var(--nx-muted); font-weight: 400; font-size: .85rem; }
.n2-latest a { font-weight: 500; line-height: 1.35; }

/* ── Pencarian ──────────────────────────────────────────── */
.n2-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 16px 0 20px; box-shadow: 0 18px 40px rgba(16,40,48,.12); border-top: 1px solid var(--n2-line); }
.n2-search__form { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.n2-search__form input { flex: 1; height: 48px; padding: 0 20px; border: 1px solid rgba(20,20,20,.14); border-radius: 999px; font: inherit; }
.n2-search__form input:focus { outline: 2px solid var(--n2-teal); outline-offset: 1px; border-color: transparent; }

/* ── Scrim, breadcrumb, sticky ──────────────────────────── */
.n2-scrim { position: fixed; inset: 84px 0 0 0; z-index: 3990; background: rgba(10,30,36,.22); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility 0s linear .18s; }
body.n2-open .n2-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
.n2-bc { padding: 10px 0 0; font-size: .88rem; color: var(--nx-muted); }
.n2-bc ol { display: flex; flex-wrap: wrap; gap: 2px 0; list-style: none; margin: 0 auto; padding: 0; }
.n2-bc li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
body.dt-look .n2-bc a { color: var(--n2-teal-d); text-decoration: none; }
body.dt-look .n2-bc a:hover { text-decoration: underline; }
.n2-sticky { display: none; }

/* ── Footer ─────────────────────────────────────────────── */
.n2-foot__grid { display: grid; grid-template-columns: 1.45fr .95fr 1.7fr 1.35fr .95fr; gap: 36px 32px; padding-bottom: 8px; }
.n2-foot__h { margin: 0 0 16px; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--n2-teal-d); }
.n2-foot__col ul, .n2-foot__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.n2-foot__two { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.n2-foot__col--area .n2-foot__all { display: inline-block; margin-top: 12px; }
body.dt-look .n2-foot a.n2-foot__all { color: var(--n2-teal-d); font-weight: 500; }
.n2-foot__post a { color: #4a5558; font-size: .92rem; }
.n2-foot__brand address { font-style: normal; color: var(--nx-muted); line-height: 1.55; font-size: .94rem; margin: 0 0 12px; }
.n2-foot__brand address strong { color: #111; font-weight: 500; }
.n2-foot__brand .nx-foot__social { margin-top: 14px; margin-left: -8px; }
.n2-foot__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 28px 0 40px; margin-top: 28px; border-top: 1px solid var(--n2-line); color: var(--nx-muted); font-size: .92rem; }

/* ── Beranda ────────────────────────────────────────────── */
.n2-hubgrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.n2-hubcard { padding: 24px 4px 26px; border-top: 1px solid var(--n2-line); }
body.dt-look .n2-hubcard__t { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; color: #111; text-decoration: none; }
body.dt-look .n2-hubcard__t:hover { color: var(--n2-teal-d); }
.n2-hubcard__t strong { display: block; font-family: var(--dt-display); font-size: 1.2rem; }
.n2-hubcard__t em { display: block; margin-top: 6px; font-style: normal; color: var(--nx-muted); line-height: 1.45; }
.n2-hubcard__l { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 64px; padding: 0; list-style: none; }
body.dt-look .n2-hubcard__l a { display: inline-block; padding: 5px 12px; border: 1px solid rgba(1,151,178,.24); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--n2-teal-d); font-size: .86rem; text-decoration: none; }
body.dt-look .n2-hubcard__l a:hover { background: #fff; border-color: var(--n2-teal-d); }
.n2-allrow { margin: 26px 0 0; }
.n2-citycards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.n2-citycard { padding: 22px; border: 1px solid var(--n2-line); border-radius: 22px; background: #fff; }
body.dt-look .n2-citycard h3 { margin: 0 0 12px; font-family: var(--dt-display); font-size: 1.4rem; line-height: 1.15; letter-spacing: -.01em; }
body.dt-look .n2-citycard h3 a { color: #111; text-decoration: none; font-size: inherit; }
body.dt-look .n2-citycard h3 a:hover { color: var(--n2-teal-d); }
.n2-citycard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
body.dt-look .n2-citycard li a { display: block; padding: 5px 0; color: #3d474a; font-size: .94rem; text-decoration: none; border-bottom: 1px solid transparent; }
body.dt-look .n2-citycard li a:hover { color: var(--n2-teal-d); }
.n2-home-area__t { margin-top: 30px; }
.n2-topicrow { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--n2-line); }
.n2-picks { list-style: none; margin: 0; padding: 0; }
body.dt-look .n2-picks a { display: block; padding: 11px 0; border-bottom: 1px solid var(--n2-line); color: #111; font-weight: 500; text-decoration: none; line-height: 1.35; }
body.dt-look .n2-picks a:hover { color: var(--n2-teal-d); }

/* ── Tablet / mobile ────────────────────────────────────── */
@media (max-width: 1180px) {
  .n2-hubs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .n2-foot__grid { grid-template-columns: 1.3fr 1fr 1.6fr 1.3fr 1fr; gap: 28px 20px; }
}
@media (max-width: 1180px) {
  body.dt-look .dt-nav2 .n2-link { padding-left: 6px; font-size: .94rem; }
  .n2-caret { width: 22px; }
  body.dt-look .dt-nav2 .dt-nav__logo { flex: none; }
  body.dt-look .dt-nav2 .dt-nav__logo img { width: 128px; max-width: none; height: auto; }
  .n2-actions { gap: 6px; }
  body.dt-look .dt-nav2 .n2-cta { min-width: 0; padding: 12px 14px; }
}
@media (max-width: 1100px) {
  .n2-citycards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  body.dt-look.dt-nav-open { overflow: hidden; }
  body.dt-look .dt-nav2 .dt-nav__toggle { display: flex; position: relative; z-index: 3; }
  body.dt-look.dt-nav-open .dt-nav, body.dt-look.home.dt-nav-open .dt-nav { background: #fff; }
  body.dt-look .dt-nav2 { overflow-x: clip; }
  body.dt-look .dt-nav2 .dt-nav__inner { display: flex; justify-content: space-between; height: 68px; position: static; }
  .n2-actions { gap: 8px; position: relative; z-index: 3; }
  body.dt-look .dt-nav2 .n2-cta { display: none; }
  .n2-nav { position: static; }
  .n2-menu {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0; width: 100%;
    height: calc(100vh - 68px); height: calc(100dvh - 68px);
    margin: 0; padding: 8px 20px 40px; background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; z-index: 1;
    transform: translateX(100%); visibility: hidden; pointer-events: none;
    transition: transform .38s cubic-bezier(.22,1,.36,1), visibility 0s linear .38s;
  }
  .n2-menu.open { transform: none; visibility: visible; pointer-events: auto; transition: transform .38s cubic-bezier(.22,1,.36,1), visibility 0s; }
  .n2-item { height: auto; display: block; border-bottom: 1px solid var(--n2-line); }
  .n2-item--small { position: static; }
  .n2-row { justify-content: space-between; }
  body.dt-look .dt-nav2 .n2-link { flex: 1; min-height: 56px; padding: 0 6px; font-size: 1.15rem; font-weight: 600; color: #111; }
  .n2-caret { width: 52px; height: 56px; }
  .n2-panel {
    position: static; display: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    max-height: none; width: auto; max-width: none; margin: 0 0 14px; padding: 14px; border-radius: 18px;
    background: #f4f7f8; box-shadow: none; transition: none; overflow: visible;
  }
  .n2-panel::before { display: none; }
  .n2-item.is-open > .n2-panel { display: block; }
  .n2-panel--area, .n2-panel--artikel, .n2-panel--small, .n2-panel--layanan { left: auto; margin-left: 0; min-width: 0; }
  .n2-hubs { grid-template-columns: 1fr; gap: 0; }
  .n2-hub { border-bottom: 1px solid rgba(20,20,20,.07); }
  .n2-hub:last-child { border-bottom: 0; }
  .n2-hub__head { justify-content: space-between; }
  body.dt-look .dt-nav2 .n2-hub__t { flex: 1; min-height: 52px; font-size: 1rem; }
  .n2-hub__tg { display: inline-grid; width: 48px; height: 52px; }
  .n2-hub.is-open .n2-chev { transform: translateY(2px) rotate(-135deg); color: var(--n2-teal-d); opacity: 1; }
  .n2-hub__l { display: none; margin: 0 0 12px 46px; }
  .n2-hub.is-open .n2-hub__l { display: grid; }
  body.dt-look .dt-nav2 .n2-hub__l a { padding: 8px 0; font-size: .96rem; }
  .n2-bar { flex-direction: column; align-items: flex-start; margin-top: 12px; padding-top: 14px; }
  .n2-area__head { flex-direction: column; align-items: stretch; gap: 12px; }
  .n2-filter input { width: 100%; }
  .n2-regions { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .n2-art { grid-template-columns: 1fr; gap: 14px; }
  .n2-item--cta { display: block; border-bottom: 0; padding: 18px 0 0; }
  .n2-item--cta .dt-btn { display: flex; width: 100%; justify-content: center; min-height: 52px; }
  .n2-scrim { display: none; }
  .n2-search { box-shadow: 0 18px 40px rgba(16,40,48,.18); }
  .n2-search__form { padding: 0 4px; }

  .n2-sticky {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 3900;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--n2-line);
    transition: transform .25s ease;
  }
  body.dt-nav-open .n2-sticky { transform: translateY(110%); }
  body.dt-look .n2-sticky__wa {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px;
    border-radius: 999px; background: #111; color: #fff; font-weight: 600; text-decoration: none;
  }
  body.dt-look .n2-sticky__tel {
    flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
    background: var(--nx-wash); color: var(--n2-teal-d); border: 1px solid rgba(1,151,178,.25);
  }
  body.dt-nav2 .n2-foot__legal { padding-bottom: calc(40px + 70px); }
  body.dt-nav2 { scroll-padding-top: 80px; }

}
@media (max-width: 980px) {
  .n2-foot__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .n2-foot__brand, .n2-foot__col--area { grid-column: 1 / -1; }
  .n2-hubgrid { grid-template-columns: 1fr; }
  .n2-hubcard__l { margin-left: 64px; }
  .n2-topicrow { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .n2-citycards { grid-template-columns: 1fr; }
  .n2-hubcard__l { margin-left: 0; }
  .n2-foot__two { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .n2-panel, .n2-menu, .n2-scrim, .n2-chev, .n2-sticky { transition: none !important; }
}

/* Perbaikan: pertanyaan FAQ tidak membungkus di layar sempit (white-space: nowrap dari tombol) sehingga halaman melebar */
body.dt-nav2 .dt-faq-item__q { white-space: normal; text-align: left; }
body.dt-nav2 .dt-faq-item__q > span:first-child { min-width: 0; }

@media (max-width: 1024px) {
  body.dt-nav2 .chaty, body.dt-nav2 #chaty-widget-0, body.dt-nav2 .chaty-widget { display: none !important; }
}

body.dt-look .n2-foot .nx-kicker { color: var(--n2-teal-d); }
