/* ==========================================================================
   WEBSITE IKM DISPERINDAG KEPRI — PUBLIC THEME SHELL V7.1
   Konsep A: Professional Modern
   Scoped to #ikmPublicShell / #ikmGlobalFooter to preserve legacy content.
   ========================================================================== */
:root {
  --ikm-navy: #0b2d5b;
  --ikm-navy-2: #123f78;
  --ikm-blue: #0f4c8a;
  --ikm-gold: #d4af37;
  --ikm-gold-soft: #f3d77a;
  --ikm-white: #ffffff;
  --ikm-ink: #102a4f;
  --ikm-muted: #63758e;
  --ikm-border: #dce6f1;
  --ikm-surface: #f7faff;
  --ikm-shell-shadow: 0 12px 28px rgba(11,45,91,.12);
  --ikm-shell-font-scale: 1;
}

html[data-ikm-theme="emerald"] {
  --ikm-navy: #0d4f4a;
  --ikm-navy-2: #12675f;
  --ikm-blue: #16786e;
  --ikm-gold: #d4af37;
}
html[data-ikm-theme="cobalt"] {
  --ikm-navy: #123a7a;
  --ikm-navy-2: #1755a7;
  --ikm-blue: #1269c7;
  --ikm-gold: #d4af37;
}
html.ikm-high-contrast {
  --ikm-navy: #001a3a;
  --ikm-navy-2: #002c63;
  --ikm-blue: #004ea8;
  --ikm-gold: #ffd84d;
  --ikm-border: #9fb2ca;
}
html.ikm-large-text {
  --ikm-shell-font-scale: 1.1;
}

#ikmPublicShell,
#ikmGlobalFooter {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: calc(16px * var(--ikm-shell-font-scale));
  box-sizing: border-box;
}
#ikmPublicShell *,
#ikmPublicShell *::before,
#ikmPublicShell *::after,
#ikmGlobalFooter *,
#ikmGlobalFooter *::before,
#ikmGlobalFooter *::after {
  box-sizing: border-box;
}

.ikm-shell-container {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

/* Sticky shell remains in normal document flow: no overlay/body padding hack. */
#ikmPublicShell {
  position: sticky;
  top: 0;
  z-index: 1035;
  color: var(--ikm-ink);
  background: #fff;
  box-shadow: var(--ikm-shell-shadow);
}
.ikm-shell-topbar {
  min-height: 38px;
  background:
    linear-gradient(135deg, rgba(212,175,55,.12) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, var(--ikm-navy), var(--ikm-navy-2));
  color: #fff;
  font-size: .78rem;
}
.ikm-shell-topbar-inner,
.ikm-shell-main-inner {
  display: flex;
  align-items: center;
}
.ikm-shell-topbar-inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 20px;
}
.ikm-shell-topbar-left,
.ikm-shell-utilities {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ikm-shell-utility-item {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.ikm-shell-utility-item svg,
.ikm-shell-portal svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.ikm-shell-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.35);
}
.ikm-shell-utilities a,
.ikm-shell-utilities button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font: inherit;
  padding: 4px 0;
  cursor: pointer;
}
.ikm-shell-utilities a:hover,
.ikm-shell-utilities a:focus-visible,
.ikm-shell-utilities button:hover,
.ikm-shell-utilities button:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.ikm-shell-utilities .ikm-shell-portal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 4px;
  padding: 8px 13px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #f5dc8a, var(--ikm-gold));
  color: #102a4f;
  font-weight: 700;
  text-decoration: none;
}
.ikm-shell-utilities .ikm-shell-portal:hover {
  color: #102a4f;
  text-decoration: none;
  filter: brightness(1.04);
}

.ikm-shell-main {
  position: relative;
  background:
    linear-gradient(135deg, rgba(212,175,55,.18) 0 2px, transparent 2px 11px) right top/68px 68px no-repeat,
    #fff;
}
.ikm-shell-main-inner {
  min-height: 82px;
  gap: 14px;
}
.ikm-shell-brand {
  display: flex;
  align-items: center;
  min-width: 385px;
  color: var(--ikm-ink);
  text-decoration: none;
}
.ikm-shell-brand:hover {
  color: var(--ikm-ink);
  text-decoration: none;
}
.ikm-shell-brand img {
  flex: 0 0 auto;
  width: 56px;
  height: 64px;
  object-fit: contain;
  margin-right: 12px;
}
.ikm-shell-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}
.ikm-shell-brand-copy strong {
  font-size: .93rem;
  letter-spacing: .015em;
  color: var(--ikm-navy);
}
.ikm-shell-brand-copy span {
  font-size: .72rem;
  color: #24476e;
}
.ikm-shell-wordmark {
  flex: 0 0 auto;
  padding: 0 16px;
  border-left: 1px solid var(--ikm-border);
  color: var(--ikm-blue);
  font-style: italic;
  line-height: 1;
  transform: rotate(-3deg);
}
.ikm-shell-wordmark span,
.ikm-shell-wordmark strong {
  display: block;
  font-size: .76rem;
}
.ikm-shell-wordmark strong {
  font-size: 1rem;
  color: var(--ikm-navy);
}
.ikm-shell-wordmark::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 4px;
  background: var(--ikm-gold);
  border-radius: 99px;
  transform: rotate(-5deg);
}

.ikm-shell-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}
.ikm-shell-nav-link,
.ikm-shell-dropdown > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ikm-ink);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  border-radius: 6px;
}
.ikm-shell-dropdown > summary::-webkit-details-marker {
  display: none;
}
.ikm-shell-dropdown > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.ikm-shell-nav-link:hover,
.ikm-shell-nav-link:focus-visible,
.ikm-shell-dropdown > summary:hover,
.ikm-shell-dropdown > summary:focus-visible {
  color: var(--ikm-blue);
  background: #f6f9fd;
  text-decoration: none;
  outline: none;
}
.ikm-shell-nav-link.is-active,
.ikm-shell-dropdown.is-active > summary {
  color: var(--ikm-navy);
}
.ikm-shell-nav-link.is-active::after,
.ikm-shell-dropdown.is-active > summary::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 3px;
  border-radius: 99px;
  background: var(--ikm-gold);
}
.ikm-shell-dropdown {
  position: relative;
}
.ikm-shell-dropdown-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 20;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--ikm-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(11,45,91,.18);
}
.ikm-shell-dropdown:not([open]) .ikm-shell-dropdown-menu {
  display: none;
}

/*
 * Desktop navigation response:
 * expose the submenu immediately on pointer hover/focus instead of waiting
 * for the native <details> click cycle. Touch/mobile keeps native behavior.
 */
@media (hover: hover) and (pointer: fine) {
  #ikmPublicShell .ikm-shell-dropdown:hover > .ikm-shell-dropdown-menu,
  #ikmPublicShell .ikm-shell-dropdown:focus-within > .ikm-shell-dropdown-menu {
    display: block;
  }
}
.ikm-shell-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--ikm-ink);
  font-size: .79rem;
  text-decoration: none;
}
.ikm-shell-dropdown-menu a:hover,
.ikm-shell-dropdown-menu a:focus-visible {
  background: #eef5fd;
  color: var(--ikm-blue);
  text-decoration: none;
}

.ikm-shell-search-toggle {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--ikm-navy);
  color: #fff;
  cursor: pointer;
}
.ikm-shell-search-toggle:hover,
.ikm-shell-search-toggle:focus-visible {
  background: var(--ikm-blue);
  outline: 3px solid rgba(212,175,55,.35);
}
.ikm-shell-search-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.ikm-shell-search-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--ikm-border);
  background: #fff;
  box-shadow: 0 16px 32px rgba(11,45,91,.12);
}
.ikm-shell-search-panel > .ikm-shell-container {
  padding: 15px 0 18px;
}
.ikm-shell-search-panel label {
  display: block;
  margin-bottom: 7px;
  color: var(--ikm-navy);
  font-size: .8rem;
  font-weight: 700;
}
.ikm-shell-search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--ikm-border);
  border-radius: 10px;
}
.ikm-shell-search-box svg {
  width: 18px;
  height: 18px;
  fill: var(--ikm-muted);
}
.ikm-shell-search-box input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  color: var(--ikm-ink);
  font: inherit;
  font-size: .86rem;
  background: transparent;
}
.ikm-shell-search-box button {
  border: 0;
  background: transparent;
  color: var(--ikm-muted);
  font-size: 1.6rem;
  cursor: pointer;
}
.ikm-shell-search-results {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  margin-top: 10px;
}
.ikm-shell-search-results a {
  padding: 9px 10px;
  border: 1px solid var(--ikm-border);
  border-radius: 8px;
  color: var(--ikm-ink);
  font-size: .78rem;
  text-decoration: none;
}
.ikm-shell-search-results a:hover {
  border-color: var(--ikm-gold);
  color: var(--ikm-blue);
}

.ikm-shell-mobile-toggle,
.ikm-shell-mobile-quick {
  display: none;
}

/* Footer */
/* V7.3.3 - Compact footer canonical layout. */
#ikmGlobalFooter {
  position: relative;
  margin-top: 48px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(135deg, var(--ikm-navy), #082447 72%);
}
.ikm-footer-decoration {
  position: absolute;
  inset: auto 0 47px;
  height: 58px;
  opacity: .24;
  pointer-events: none;
}
.ikm-footer-decoration svg {
  width: 100%;
  height: 100%;
}
.ikm-footer-decoration path {
  fill: none;
  stroke: var(--ikm-gold);
  stroke-width: 2;
}
.ikm-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr .95fr 1.08fr 1.08fr .95fr;
  align-items: start;
  gap: 22px;
  padding-top: 24px;
  padding-bottom: 18px;
}
.ikm-footer-brand-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ikm-footer-brand-head img {
  width: 46px;
  height: 54px;
  object-fit: contain;
}
.ikm-footer-brand h2,
.ikm-footer-column h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
}
.ikm-footer-brand-head h2 {
  margin-bottom: 2px;
}
.ikm-footer-brand-head p,
.ikm-footer-brand > p,
.ikm-footer-column p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  line-height: 1.38;
}
.ikm-footer-address {
  margin-top: 7px !important;
}
.ikm-footer-tagline {
  display: inline-block;
  margin-top: 6px !important;
  color: var(--ikm-gold-soft) !important;
  font-size: 1rem !important;
  font-style: italic;
  font-weight: 700;
  transform: rotate(-2deg);
}
.ikm-footer-column {
  min-width: 0;
}

.ikm-footer-link-group {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  column-gap: 0;
}
.ikm-footer-link-group h2 {
  flex: 0 0 100%;
}
.ikm-footer-link-group a {
  display: inline-flex;
  align-items: center;
  margin: 0 0 4px;
  white-space: nowrap;
}
.ikm-footer-link-group a::before {
  content: none;
}
.ikm-footer-link-group a:not(:last-child)::after {
  content: "|";
  margin: 0 8px;
  color: rgba(255,255,255,.34);
}
.ikm-footer-column a,
.ikm-footer-column button {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.8);
  font: inherit;
  font-size: .76rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.ikm-footer-column a:hover,
.ikm-footer-column a:focus-visible,
.ikm-footer-column button:hover,
.ikm-footer-column button:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.ikm-footer-column a::before {
  content: "›";
  margin-right: 7px;
  color: var(--ikm-gold);
}
.ikm-footer-column .ikm-footer-contact-link::before {
  content: "↥";
}
.ikm-theme-swatches {
  display: flex;
  gap: 8px;
  margin: 7px 0 9px;
}
.ikm-theme-swatch {
  width: 25px;
  height: 25px;
  margin: 0 !important;
  border: 2px solid rgba(255,255,255,.65) !important;
  border-radius: 50% !important;
  background: #0b2d5b !important;
}
.ikm-theme-swatch[data-ikm-theme="emerald"] { background:#0d4f4a !important; }
.ikm-theme-swatch[data-ikm-theme="cobalt"] { background:#1755a7 !important; }
.ikm-theme-swatch.is-active {
  outline: 2px solid var(--ikm-gold);
  outline-offset: 3px;
}
.ikm-footer-a11y-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ikm-footer-a11y-actions button {
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 7px;
}
.ikm-footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.2);
  background: rgba(4,22,45,.48);
}
.ikm-footer-bottom-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ikm-footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
}
.ikm-footer-legal {
  display: flex;
  gap: 16px;
}
.ikm-footer-link-button {
  border: 0;
  background: none;
  color: rgba(255,255,255,.78);
  font-size: .7rem;
  cursor: pointer;
}
.ikm-back-to-top {
  position: absolute;
  right: 20px;
  bottom: 9px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: var(--ikm-navy);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.ikm-back-to-top:hover,
.ikm-back-to-top:focus-visible {
  background: var(--ikm-gold);
  color: var(--ikm-navy);
  outline: none;
}

/* Accessibility focus */
#ikmPublicShell a:focus-visible,
#ikmPublicShell button:focus-visible,
#ikmGlobalFooter a:focus-visible,
#ikmGlobalFooter button:focus-visible {
  outline: 3px solid var(--ikm-gold);
  outline-offset: 2px;
}

/* Tablet */
@media (max-width: 1180px) {
  .ikm-shell-container { width:min(100% - 28px, 1180px); }
  .ikm-shell-brand { min-width: 330px; }
  .ikm-shell-brand-copy strong { font-size:.82rem; }
  .ikm-shell-brand-copy span { font-size:.66rem; }
  .ikm-shell-wordmark { display:none; }
  .ikm-shell-nav-link,
  .ikm-shell-dropdown > summary { padding:0 7px; font-size:.72rem; }
  .ikm-footer-grid { grid-template-columns:1.4fr repeat(2,1fr); }
  .ikm-footer-accessibility { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 900px) {
  #ikmPublicShell { position:relative; top:auto; }
  .ikm-shell-topbar { display:none; }
  .ikm-shell-main-inner { min-height:70px; }
  .ikm-shell-container { width:calc(100% - 24px); }
  .ikm-shell-brand { min-width:0; flex:1; }
  .ikm-shell-brand img { width:44px; height:52px; margin-right:9px; }
  .ikm-shell-brand-copy strong { font-size:.72rem; }
  .ikm-shell-brand-copy span { font-size:.56rem; }
  .ikm-shell-mobile-toggle {
    display:flex;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    border:0;
    border-radius:8px;
    background:#eef4fb;
    cursor:pointer;
  }
  .ikm-shell-mobile-toggle span {
    display:block;
    width:20px;
    height:2px;
    background:var(--ikm-navy);
  }
  .ikm-shell-search-toggle { width:40px; height:40px; flex-basis:40px; }
  .ikm-shell-nav {
    display:none;
    position:absolute;
    top:100%;
    right:12px;
    left:12px;
    z-index:40;
    padding:10px;
    border:1px solid var(--ikm-border);
    border-radius:12px;
    background:#fff;
    box-shadow:0 16px 34px rgba(11,45,91,.2);
  }
  .ikm-shell-nav.is-open { display:block; }
  .ikm-shell-nav-link,
  .ikm-shell-dropdown > summary {
    display:flex;
    min-height:42px;
    width:100%;
    padding:0 10px;
  }
  .ikm-shell-dropdown-menu {
    position:static;
    width:auto;
    box-shadow:none;
    border:0;
    border-left:2px solid var(--ikm-gold);
    border-radius:0;
    margin:0 0 7px 12px;
  }
  .ikm-shell-mobile-quick {
    display:flex;
    overflow-x:auto;
    border-top:1px solid var(--ikm-border);
    background:#fff;
    scrollbar-width:none;
  }
  .ikm-shell-mobile-quick::-webkit-scrollbar { display:none; }
  .ikm-shell-mobile-quick a {
    flex:0 0 88px;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:2px;
    color:var(--ikm-ink);
    font-size:.64rem;
    font-weight:700;
    text-decoration:none;
    border-right:1px solid #edf1f6;
  }
  .ikm-shell-mobile-quick span {
    color:var(--ikm-navy);
    font-size:1rem;
  }
  .ikm-shell-search-results { grid-template-columns:1fr 1fr; }
  .ikm-footer-grid {
    grid-template-columns:1fr 1fr;
    gap:18px;
    padding-top:24px;
    padding-bottom:28px;
  }
  .ikm-footer-brand { grid-column:1 / -1; }
  .ikm-footer-accessibility { grid-column:auto; }
  .ikm-footer-bottom-inner {
    min-height:58px;
    align-items:flex-start;
    flex-direction:column;
    justify-content:center;
    gap:7px;
    padding:10px 0;
  }
  .ikm-back-to-top { bottom:18px; }
}

@media (max-width: 560px) {
  .ikm-shell-brand-copy span:last-child { display:none; }
  .ikm-shell-brand-copy strong { font-size:.66rem; }
  .ikm-shell-brand-copy span { font-size:.52rem; }
  .ikm-shell-search-results { grid-template-columns:1fr; }
  .ikm-footer-grid { grid-template-columns:1fr; }
  .ikm-footer-brand,
  .ikm-footer-accessibility { grid-column:auto; }
  .ikm-footer-decoration { opacity:.2; }
}

/* V7.2.1 — keseimbangan visual header desktop sesuai UAT PNG 15-09-2026. */
@media (min-width: 1181px) {
  .ikm-shell-container {
    width: min(1720px, calc(100% - 64px));
  }
  .ikm-shell-topbar,
  .ikm-shell-topbar-inner {
    min-height: 44px;
  }
  .ikm-shell-topbar {
    font-size: .86rem;
  }
  .ikm-shell-main-inner {
    min-height: 104px;
    gap: 18px;
  }
  .ikm-shell-brand {
    min-width: 430px;
  }
  .ikm-shell-brand img {
    width: 68px;
    height: 78px;
    margin-right: 15px;
  }
  .ikm-shell-brand-copy strong {
    font-size: 1.05rem;
    line-height: 1.15;
  }
  .ikm-shell-brand-copy span {
    font-size: .82rem;
    line-height: 1.25;
  }
  .ikm-shell-wordmark {
    padding: 0 20px;
  }
  .ikm-shell-wordmark span {
    font-size: .86rem;
  }
  .ikm-shell-wordmark strong {
    font-size: 1.12rem;
  }
  .ikm-shell-nav {
    gap: 4px;
  }
  .ikm-shell-nav-link,
  .ikm-shell-dropdown > summary {
    min-height: 50px;
    padding: 0 11px;
    font-size: .86rem;
  }
  .ikm-shell-dropdown-menu a {
    font-size: .84rem;
  }
  .ikm-shell-search-toggle {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 12px;
  }
  .ikm-shell-search-toggle svg {
    width: 23px;
    height: 23px;
  }
}

/* ==========================================================================
   V7.2.3 - Legacy typography isolation
   Goal:
   - Keep global Header/Footer typography independent from legacy page root
     font-size rules.
   - Use measured px values inside the shell so Home and Pegawai render
     consistently.
   ========================================================================== */

.ikm-shell-topbar { font-size: 13px; }
.ikm-shell-brand-copy strong { font-size: 15px; }
.ikm-shell-brand-copy span { font-size: 12px; }
.ikm-shell-wordmark span { font-size: 12px; }
.ikm-shell-wordmark strong { font-size: 16px; }
.ikm-shell-nav-link,
.ikm-shell-dropdown > summary { font-size: 13px; }
.ikm-shell-dropdown-menu a { font-size: 13px; }
.ikm-shell-search-panel label { font-size: 13px; }
.ikm-shell-search-box input { font-size: 14px; }
.ikm-shell-search-box button { font-size: 26px; }
.ikm-shell-search-results a { font-size: 13px; }

.ikm-footer-brand h2,
.ikm-footer-column h2 { font-size: 15px; }
.ikm-footer-brand-head p,
.ikm-footer-brand > p,
.ikm-footer-column p,
.ikm-footer-column a,
.ikm-footer-column button { font-size: 12px; }
.ikm-footer-tagline { font-size: 16px !important; }
.ikm-footer-bottom p,
.ikm-footer-link-button { font-size: 11px; }
.ikm-back-to-top { font-size: 19px; }

@media (max-width: 1180px) {
  .ikm-shell-brand-copy strong { font-size: 13px; }
  .ikm-shell-brand-copy span { font-size: 10.5px; }
  .ikm-shell-nav-link,
  .ikm-shell-dropdown > summary { font-size: 11.5px; }
}

@media (max-width: 900px) {
  .ikm-shell-brand-copy strong { font-size: 11.5px; }
  .ikm-shell-brand-copy span { font-size: 9px; }
  .ikm-shell-mobile-quick a { font-size: 10px; }
  .ikm-shell-mobile-quick span { font-size: 16px; }
}

@media (max-width: 560px) {
  .ikm-shell-brand-copy strong { font-size: 10.5px; }
  .ikm-shell-brand-copy span { font-size: 8.5px; }
}

@media (min-width: 1181px) {
  .ikm-shell-topbar { font-size: 14px; }
  .ikm-shell-brand-copy strong { font-size: 17px; }
  .ikm-shell-brand-copy span { font-size: 13px; }
  .ikm-shell-wordmark span { font-size: 14px; }
  .ikm-shell-wordmark strong { font-size: 18px; }
  .ikm-shell-nav-link,
  .ikm-shell-dropdown > summary { font-size: 14px; }
  .ikm-shell-dropdown-menu a { font-size: 13.5px; }
  .ikm-shell-search-panel label { font-size: 13px; }
  .ikm-shell-search-box input { font-size: 14px; }
  .ikm-shell-search-results a { font-size: 13px; }

  .ikm-footer-brand h2,
  .ikm-footer-column h2 { font-size: 15px; }
  .ikm-footer-brand-head p,
  .ikm-footer-brand > p,
  .ikm-footer-column p,
  .ikm-footer-column a,
  .ikm-footer-column button { font-size: 12.5px; }
  .ikm-footer-bottom p,
  .ikm-footer-link-button { font-size: 11.5px; }
}

html.ikm-large-text .ikm-shell-topbar,
html.ikm-large-text .ikm-shell-nav-link,
html.ikm-large-text .ikm-shell-dropdown > summary,
html.ikm-large-text .ikm-shell-dropdown-menu a,
html.ikm-large-text .ikm-shell-search-panel label,
html.ikm-large-text .ikm-shell-search-box input,
html.ikm-large-text .ikm-shell-search-results a,
html.ikm-large-text .ikm-footer-column a,
html.ikm-large-text .ikm-footer-column button,
html.ikm-large-text .ikm-footer-brand-head p,
html.ikm-large-text .ikm-footer-brand > p,
html.ikm-large-text .ikm-footer-column p,
html.ikm-large-text .ikm-footer-bottom p,
html.ikm-large-text .ikm-footer-link-button {
  font-size: 110%;
}
/* ==========================================================================
   PUBLIC UNIVERSAL LAYOUT R1
   Satu kerangka untuk halaman publik. Ringan dan kompatibel dengan konten
   lama; tidak mengubah fungsi maupun data masing-masing modul.
   ========================================================================== */
body.ikm-public-universal {
  margin: 0;
  background: #f4f7fb;
  color: #243b59;
}
body.ikm-public-universal .ikm-public-main {
  display: block;
  min-height: 52vh;
  padding-bottom: 24px;
  background: linear-gradient(180deg, #f8fbff 0, #f4f7fb 180px, #f4f7fb 100%);
}
body.ikm-public-universal .ikm-public-main > section:not(#header-map),
body.ikm-public-universal .ikm-public-main > .container,
body.ikm-public-universal .ikm-public-main > .container-fluid {
  position: relative;
}
body.ikm-public-universal .ikm-public-main .section-title {
  color: var(--ikm-navy);
  font-weight: 700;
  line-height: 1.35;
}
body.ikm-public-universal .ikm-public-main .section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--ikm-gold);
}
body.ikm-public-universal .ikm-public-main .form-control {
  border-color: #d6e1ee;
  border-radius: 8px;
  box-shadow: none;
}
body.ikm-public-universal .ikm-public-main .form-control:focus {
  border-color: #6d91bb;
  box-shadow: 0 0 0 3px rgba(15,76,138,.10);
}
body.ikm-public-universal .ikm-public-main .btn {
  border-radius: 8px;
}
body.ikm-public-universal .ikm-public-main .card,
body.ikm-public-universal .ikm-public-main .panel {
  border-color: #dce6f1;
}
body.ikm-public-universal .ikm-public-main img {
  max-width: 100%;
}
@media (max-width: 767.98px) {
  body.ikm-public-universal .ikm-public-main {
    padding-bottom: 14px;
  }
  body.ikm-public-universal .ikm-public-main .section-title {
    font-size: 1.05rem;
  }
}
/* ==========================================================================
   PUBLIC UNIVERSAL LAYOUT R1.2
   Normalisasi jarak seluruh halaman publik setelah migrasi dari header lama.
   Tidak mengubah fungsi atau data modul.
   ========================================================================== */

/* Menu utilitas kanan atas disembunyikan sementara, bukan dihapus. */
#ikmPublicShell .ikm-shell-utilities {
  display: none !important;
}
#ikmPublicShell .ikm-shell-topbar-inner {
  justify-content: flex-start;
}

/* Banyak halaman lama masih menyisakan ruang untuk header fixed lama.
   Pada Universal Layout, header berada pada alur halaman sehingga ruang itu
   tidak diperlukan lagi. */
body.ikm-public-universal .ikm-public-main #header-map {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  min-height: 0 !important;
}
body.ikm-public-universal .ikm-public-main #header-map > #map {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
}

/* Beranda lama: hapus jarak buatan 100px/50px dari header lama. */
body.ikm-public-universal .ikm-public-main .col-md-12.news-section[style*="margin-top: 100px"],
body.ikm-public-universal .ikm-public-main .col-md-12.news-section[style*="margin-top:100px"] {
  margin-top: 16px !important;
}
body.ikm-public-universal .ikm-public-main .col-md-9.news-section[style*="margin-top: 50px"],
body.ikm-public-universal .ikm-public-main .col-md-9.news-section[style*="margin-top:50px"] {
  margin-top: 12px !important;
}

/* Katalog dan halaman lama sejenis: kurangi jarak 50px setelah header-map. */
body.ikm-public-universal .ikm-public-main #header-map + section > .container-fluid[style*="margin-top:50px"],
body.ikm-public-universal .ikm-public-main #header-map + section > .container-fluid[style*="margin-top: 50px"] {
  margin-top: 16px !important;
}

/* Modul Pegawai masih menyimpan kompensasi 94px untuk header lama. */
body.ikm-public-universal .ikm-public-main .ikm-pegawai-v63 {
  margin-top: 16px !important;
}

/* Struktur Organisasi masih menyimpan tinggi header lama dalam padding.
   Universal Layout cukup memakai jarak konten standar. */
body.ikm-public-universal .ikm-public-main .m2-public-structure-section {
  padding-top: 22px !important;
}

/* Jarak awal umum untuk konten publik yang tidak memiliki aturan khusus. */
body.ikm-public-universal .ikm-public-main > section:not(#header-map):first-child,
body.ikm-public-universal .ikm-public-main > .container:first-child,
body.ikm-public-universal .ikm-public-main > .container-fluid:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  body.ikm-public-universal .ikm-public-main #header-map {
    margin-bottom: 12px !important;
  }
  body.ikm-public-universal .ikm-public-main .ikm-pegawai-v63 {
    margin-top: 12px !important;
  }
  body.ikm-public-universal .ikm-public-main .m2-public-structure-section {
    padding-top: 16px !important;
  }
}
/* ==========================================================================
   PUBLIC UNIVERSAL LAYOUT R1.3B HOME
   Penyesuaian khusus Beranda legacy agar menyatu dengan Layout Universal.
   ========================================================================== */
body.ikm-public-universal .ikm-public-main .ikm-home-running-row {
  margin-top: 14px !important;
}
body.ikm-public-universal .ikm-public-main .ikm-home-map-column,
body.ikm-public-universal .ikm-public-main .ikm-home-sidebar {
  margin-top: 18px !important;
}
@media (max-width: 900px) {
  body.ikm-public-universal .ikm-public-main .ikm-home-running-row,
  body.ikm-public-universal .ikm-public-main .ikm-home-map-column,
  body.ikm-public-universal .ikm-public-main .ikm-home-sidebar {
    margin-top: 12px !important;
  }
}
/* ==========================================================================
   PUBLIC UNIVERSAL LAYOUT R1.4C SAFE
   CSS ONLY. Tidak mengubah susunan HTML, fungsi carousel, data, atau kategori.
   ========================================================================== */

/* Navigasi peta: pertahankan struktur lama, hanya rapikan warna dan bentuk. */
body.ikm-public-universal .ikm-public-main #map.carousel {
  height: 42px !important;
  margin-top: 12px;
  margin-bottom: 12px;
  border: 1px solid #d7e1ec;
  border-radius: 10px;
  background: #ffffff !important;
  box-shadow: 0 3px 10px rgba(20, 52, 88, .06);
  overflow: visible;
}

body.ikm-public-universal .ikm-public-main #map.carousel .carousel-control {
  width: 42px !important;
  height: 42px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  border-radius: 50% !important;
  opacity: 1 !important;
  background: #0b376d !important;
  background-image: none !important;
  box-shadow: 0 3px 9px rgba(11, 55, 109, .18);
  text-shadow: none !important;
}

body.ikm-public-universal .ikm-public-main #map.carousel .carousel-control.left {
  left: 10px !important;
}

body.ikm-public-universal .ikm-public-main #map.carousel .carousel-control.right {
  right: 10px !important;
}

body.ikm-public-universal .ikm-public-main #map.carousel .carousel-control:hover,
body.ikm-public-universal .ikm-public-main #map.carousel .carousel-control:focus {
  background: #d2a826 !important;
}

body.ikm-public-universal .ikm-public-main #map.carousel .carousel-control .fa {
  color: #ffffff !important;
  font-size: 16px !important;
}

/* Titik navigasi tetap berfungsi; hanya diperkecil dan diseragamkan. */
body.ikm-public-universal .ikm-public-main #map.carousel #mapol.carousel-indicators {
  bottom: 13px !important;
  margin-bottom: 0 !important;
}

body.ikm-public-universal .ikm-public-main #map.carousel #mapol.carousel-indicators li {
  width: 8px !important;
  height: 8px !important;
  margin: 1px 3px !important;
  border-color: #aebdcd !important;
  background: #e5ebf2 !important;
}

body.ikm-public-universal .ikm-public-main #map.carousel #mapol.carousel-indicators li.active {
  width: 9px !important;
  height: 9px !important;
  border-color: #d2a826 !important;
  background: #d2a826 !important;
}

/* Legenda kategori: struktur enam kolom lama tetap dipertahankan. */
body.ikm-public-universal .ikm-public-main .row[style*="font-size:30pt"] {
  margin: 6px 0 18px !important;
  padding: 8px 6px !important;
  border: 1px solid #dfe7f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(20, 52, 88, .04);
}

body.ikm-public-universal .ikm-public-main .row[style*="font-size:30pt"] > .col-md-2 {
  min-height: 70px;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

body.ikm-public-universal .ikm-public-main .row[style*="font-size:30pt"] > .col-md-2 > .col-md-4 {
  font-size: 20px !important;
  line-height: 58px;
  text-align: center;
}

body.ikm-public-universal .ikm-public-main .row[style*="font-size:30pt"] > .col-md-2 > .col-md-8.card {
  min-height: 58px !important;
  height: 58px !important;
  padding: 9px 6px 6px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #304967;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pada layar kecil, biarkan Bootstrap menumpuk seperti sebelumnya. */
@media (max-width: 767.98px) {
  body.ikm-public-universal .ikm-public-main .row[style*="font-size:30pt"] > .col-md-2 {
    min-height: 58px;
    margin-bottom: 6px;
  }
}
/* =========================================================
   PUBLIC_HOME_BERITA_CARDS_R4
   Berita Terbaru - modern government card layout
   ========================================================= */
.ikm-news-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 22px 0 18px;
}
.ikm-news-accent {
    display: block;
    width: 58px;
    height: 5px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #08734f;
}
.ikm-news-section-title {
    margin: 0;
    color: #082f67;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em;
}
.ikm-news-section-subtitle {
    max-width: 690px;
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

#loadBerita.ikm-news-grid {
    margin: 0 -9px;
}
#loadBerita.ikm-news-grid > .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
}
#loadBerita.ikm-news-grid > .row > .col-md-6,
#loadBerita.ikm-news-grid > .col-md-6 {
    float: none;
    display: flex;
    width: 33.333333%;
    padding: 0 9px 18px;
}
#loadBerita.ikm-news-grid .panel.bcontent {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e6ebf1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(18, 39, 63, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}
#loadBerita.ikm-news-grid .panel.bcontent:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 28px rgba(18, 39, 63, .11);
}
#loadBerita.ikm-news-grid .panel.bcontent img {
    display: block;
    width: 100% !important;
    height: 178px !important;
    max-height: 178px;
    object-fit: cover;
    object-position: center;
    margin: 0 !important;
    border: 0;
    border-radius: 0;
}
#loadBerita.ikm-news-grid .panel.bcontent > *,
#loadBerita.ikm-news-grid .panel.bcontent .panel-body {
    box-sizing: border-box;
}
#loadBerita.ikm-news-grid .panel.bcontent .panel-body {
    padding: 14px 16px 16px;
}
#loadBerita.ikm-news-grid .panel.bcontent h1,
#loadBerita.ikm-news-grid .panel.bcontent h2,
#loadBerita.ikm-news-grid .panel.bcontent h3,
#loadBerita.ikm-news-grid .panel.bcontent h4,
#loadBerita.ikm-news-grid .panel.bcontent h5 {
    color: #082f67;
    font-weight: 750;
    line-height: 1.28;
}
#loadBerita.ikm-news-grid .panel.bcontent p {
    color: #626f80;
    line-height: 1.55;
}
#loadBerita.ikm-news-grid .panel.bcontent a {
    color: #08734f;
    font-weight: 650;
}
#loadBerita.ikm-news-grid .panel.bcontent a:hover {
    color: #065c40;
    text-decoration: none;
}
#loadBerita.ikm-news-grid .panel.bcontent .fa,
#loadBerita.ikm-news-grid .panel.bcontent .glyphicon {
    color: #08734f;
}
#loadBerita.ikm-news-grid + .ikm-home-news-pagination,
#loadBerita.ikm-news-grid ~ .col-md-12 .pagination {
    margin-top: 4px;
}
.ikm-home-main .pagination > li > a,
.ikm-home-main .pagination > li > span {
    color: #0b4f78;
    border-color: #dce4ec;
}
.ikm-home-main .pagination > .active > a,
.ikm-home-main .pagination > .active > a:hover {
    color: #fff;
    background: #08734f;
    border-color: #08734f;
}

@media (max-width: 1199px) {
    #loadBerita.ikm-news-grid > .row > .col-md-6,
    #loadBerita.ikm-news-grid > .col-md-6 {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .ikm-news-section-head {
        margin-top: 18px;
    }
    .ikm-news-section-title {
        font-size: 24px;
    }
    .ikm-news-section-subtitle {
        font-size: 13px;
    }
    #loadBerita.ikm-news-grid {
        margin: 0;
    }
    #loadBerita.ikm-news-grid > .row > .col-md-6,
    #loadBerita.ikm-news-grid > .col-md-6 {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
    #loadBerita.ikm-news-grid .panel.bcontent img {
        height: 205px !important;
        max-height: 205px;
    }
}
/* =========================================================
   PUBLIC_HOME_BERITA_POSITION_R4_1
   Pastikan Berita Terbaru mulai di bawah blok peta/carousel,
   tidak membungkus di samping elemen float legacy.
   ========================================================= */
.ikm-news-section-head {
    clear: both;
    float: none;
    width: 100%;
}
#loadBerita.ikm-news-grid {
    clear: both;
    float: none;
    width: 100%;
}
.ikm-news-section-head + .row {
    clear: both;
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
/* =========================================================
   PUBLIC_HOME_KATALOG_2CARD_R1_1_SAFE
   Scoped hanya ke myCarousel7; tidak memengaruhi grid/sidebar Home.
   ========================================================= */
#myCarousel7 .ikm-katalog-pair-inner {
    overflow: hidden;
}
#myCarousel7 .ikm-katalog-pair {
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    padding: 6px 42px 30px;
}
#myCarousel7 .ikm-katalog-card-safe {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e7ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15,45,75,.06);
}
#myCarousel7 .ikm-katalog-image-safe {
    height: 170px;
    overflow: hidden;
    background: #f4f6f8;
}
#myCarousel7 .ikm-katalog-image-safe img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#myCarousel7 .ikm-katalog-body-safe {
    padding: 12px 14px 14px;
}
#myCarousel7 .ikm-katalog-body-safe h4 {
    margin: 0 0 10px;
    text-align: center;
    font-size: 17px;
    line-height: 1.3;
}
#myCarousel7 .ikm-katalog-body-safe h4 a {
    color: #0a356c;
    font-weight: 700;
}
#myCarousel7 .ikm-katalog-table-safe {
    width: 100%;
    margin: 0;
    border: 0;
    background: transparent;
}
#myCarousel7 .ikm-katalog-table-safe tr,
#myCarousel7 .ikm-katalog-table-safe td {
    border: 0;
    background: transparent;
}
#myCarousel7 .ikm-katalog-table-safe td {
    padding: 2px 4px;
    vertical-align: top;
    color: #606975;
    font-size: 12px;
    line-height: 1.35;
}
#myCarousel7 .ikm-katalog-table-safe td:first-child {
    width: 92px;
    font-weight: 600;
}
#myCarousel7 .ikm-katalog-go-safe {
    margin-top: 8px;
    text-align: right;
}
#myCarousel7 .ikm-katalog-indicators li {
    border-color: #aab4bd;
    background: #c1c7cd;
}
#myCarousel7 .ikm-katalog-indicators li.active {
    border-color: #08734f;
    background: #08734f;
}
@media (max-width: 767px) {
    #myCarousel7 .ikm-katalog-pair {
        flex-direction: column;
        padding-left: 30px;
        padding-right: 30px;
    }
    #myCarousel7 .ikm-katalog-card-safe {
        flex-basis: 100%;
        max-width: 100%;
    }
}
/* =========================================================
   PUBLIC_HOME_TAUTAN_TERKAIT_R5
   ========================================================= */
.ikm-related-links-section{padding:8px 0 28px;background:#f7f9fb}
.ikm-related-links-shell{padding:18px 22px 20px;border:1px solid #e3e8ee;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(15,45,75,.05)}
.ikm-related-links-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.ikm-related-links-accent{display:inline-block;width:4px;height:24px;border-radius:999px;background:#0b7a53}
.ikm-related-links-head h4{margin:0;color:#0b2f5b;font-size:19px;font-weight:700}
.ikm-related-links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;align-items:stretch}
.ikm-related-link{display:flex;align-items:center;justify-content:center;min-height:88px;padding:12px 18px;border:1px solid #e5e9ee;border-radius:10px;background:#fff;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.ikm-related-link:hover,.ikm-related-link:focus{transform:translateY(-2px);border-color:#c8d5d0;box-shadow:0 6px 14px rgba(15,45,75,.08)}
.ikm-related-link img{display:block;width:auto;max-width:180px;height:auto;max-height:58px;object-fit:contain}
@media(max-width:767px){.ikm-related-links-section{padding-bottom:20px}.ikm-related-links-shell{padding:16px}.ikm-related-links-grid{grid-template-columns:1fr}}
/* =========================================================
   PUBLIC_HOME_TAUTAN_TERKAIT_HORIZONTAL_R5_1
   Desktop dibuat horizontal; tablet 2 kolom; mobile 1 kolom.
   ========================================================= */
.ikm-related-links-grid{
    display:flex;
    flex-wrap:nowrap;
    gap:18px;
    align-items:stretch;
    justify-content:flex-start;
}
.ikm-related-link{
    flex:1 1 0;
    min-width:0;
    min-height:120px;
    padding:18px 20px;
}
.ikm-related-link img{
    max-width:100%;
    max-height:64px;
}
@media (max-width: 991px){
    .ikm-related-links-grid{
        flex-wrap:wrap;
    }
    .ikm-related-link{
        flex:1 1 calc(50% - 9px);
    }
}
@media (max-width: 575px){
    .ikm-related-links-grid{
        display:grid;
        grid-template-columns:1fr;
    }
    .ikm-related-link{
        min-height:100px;
    }
}
/* =========================================================
   PUBLIC_HOME_TAUTAN_TERKAIT_ICON_SMALLER_R5_2
   ========================================================= */
.ikm-related-link img{
    max-width:140px;
    max-height:48px;
}
/* =========================================================
   PUBLIC_HOME_TAUTAN_TERKAIT_FOOTER_RIGHT_R5_3
   ========================================================= */
.ikm-related-links-section{
    padding: 0 0 5mm;
    margin-top: -6px;
    background: #f7f9fb;
}
.ikm-related-links-section .container{
    display: flex;
    justify-content: flex-end;
}
.ikm-related-links-shell{
    width: 540px;
    max-width: 100%;
    margin-left: auto;
    padding: 14px 16px 14px;
}
.ikm-related-links-head{
    margin-bottom: 10px;
}
.ikm-related-links-head h4{
    font-size: 17px;
}
.ikm-related-links-accent{
    height: 20px;
}
.ikm-related-links-grid{
    gap: 10px;
}
.ikm-related-link{
    min-height: 82px;
    padding: 10px 12px;
}
.ikm-related-link img{
    max-width: 110px;
    max-height: 34px;
}
@media (max-width: 991px){
    .ikm-related-links-section{
        padding-bottom: 16px;
        margin-top: 0;
    }
    .ikm-related-links-section .container{
        justify-content: center;
    }
    .ikm-related-links-shell{
        width: 100%;
        margin-left: 0;
    }
    .ikm-related-link img{
        max-width: 120px;
        max-height: 38px;
    }
}
