/* Shared global stylesheet. Layout rules first; approved home.php rules last as visual source of truth. */
:root {
  --ink: #0f3772;
  --ink-2: #174987;
  --blue: #376ed0;
  --blue-2: #eaf2ff;
  --gold: #f2b632;
  --text: #172b4d;
  --muted: #60738f;
  --line: #dfe7f1;
  --surface: #fff;
  --page: #f4f7fc;
  --shadow: 0 8px 28px rgba(22, 55, 99, 0.06);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font:
    15px/1.5 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.brand {
  min-height: 76px;
  padding: 13px clamp(18px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #3988ef, #1757b0);
  color: white;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 5px 12px #2875d72b;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

.brand-title {
  color: #2469c4;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: 0.2px;
  line-height: 1.25;
}

.top-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(310px, 42vw);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f9fd;
  color: var(--muted);
  font-size: 13px;
}

.top-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.top-search button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.nav {
  position: relative;
  z-index: 20;
  background: #1f3b70;
  padding: 0 clamp(12px, 3vw, 48px);
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex-wrap: wrap;
  box-shadow: 0 5px 14px #0d2a4c18;
}

.nav > a,
.nav .nav-dropdown > button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav .nav-dropdown > button:focus-visible,
.nav > a:focus-visible {
  outline: 3px solid #f6c453;
  outline-offset: -3px;
}

.nav-menu .menu-status {
  display: block;
  padding: 9px 12px;
  color: #8090a5;
  font-size: 12px;
  cursor: default;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav > a:hover,
.nav .nav-dropdown > button:hover,
.nav .active {
  color: #ffc94f;
  background: #ffffff0c;
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #f6c453;
  border-bottom: 2px solid #f6c453;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-top: -4px;
  transition: transform 0.16s ease;
}

.nav-dropdown.open > button::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.nav-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 255px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 15px 35px #142d4c25;
}

.nav-dropdown.open .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--text);
  font-size: 13px;
  border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--blue-2);
  text-decoration: none;
  outline: none;
}

.nav-menu a:focus-visible {
  box-shadow: inset 0 0 0 2px #8db8f3;
}

@media (max-width: 760px) {
  .nav-menu {
    position: static;
    min-width: 0;
    width: 100%;
    border-radius: 12px;
    margin: 0 0 8px;
  }

  .nav-dropdown {
    flex: 1 1 100%;
  }

  .nav .nav-dropdown > button {
    width: 100%;
    justify-content: flex-start;
  }

  .nav {
    align-items: stretch;
  }

  .nav > a {
    flex: 1 1 auto;
  }
}

main {
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px clamp(14px, 3vw, 42px) 42px;
}

.content-shell {
  background: linear-gradient(180deg, #ffffffc9, #f8faffc9);
  border: 1px solid #e7edf6;
  border-radius: 24px;
  padding: clamp(16px, 2vw, 28px);
  box-shadow: var(--shadow);
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 18px;
  color: #8a9ab0;
  font-size: 13px;
}

.breadcrumbs a {
  color: #526d91;
}

.breadcrumbs .current {
  color: var(--blue);
  font-weight: 750;
}

.heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.heading-main {
  display: flex;
  align-items: center;
  gap: 15px;
}

.heading-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3588ed, #1d60bd);
  color: white;
  border-radius: 15px;
  font-size: 25px;
  box-shadow: 0 8px 18px #2875d72b;
}

.page-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 800;
  letter-spacing: -0.45px;
  line-height: 1.25;
}

.page-heading .intro {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.updated-pill {
  white-space: nowrap;
  background: #edf4ff;
  color: #3f6699;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.filters {
  display: grid;
  grid-template-columns:
    minmax(170px, 1fr) minmax(220px, 1.2fr) minmax(170px, 1fr)
    auto auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 18px;
  box-shadow: 0 5px 18px #102f5708;
  margin: 0 0 20px;
}

.filters > label,
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  color: #314b6d;
  font-size: 12px;
  font-weight: 700;
}

.filters select,
.filters input[type="search"],
.filter-select-button {
  width: 100%;
  min-height: 43px;
  padding: 10px 13px;
  border: 1px solid #d5dfed;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.filters select:focus,
.filters input:focus,
.filter-select-button:focus {
  border-color: #6aa3ee;
  box-shadow: 0 0 0 3px #2875d71a;
}

.filter-select-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font-weight: 500;
}

.filter-select-button .chevron {
  color: #6982a2;
  font-size: 17px;
}

.shape-dropdown {
  position: relative;
}

.shape-panel {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: min(340px, 85vw);
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 35px #102f5726;
}

.shape-dropdown.open .shape-panel {
  display: block;
}

.shape-search {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 9px;
  font: inherit;
  font-size: 13px;
}

.shape-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
}

.shape-actions button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  padding: 3px;
}

.shape-options {
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 2px;
}

.shape-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 8px;
  font-size: 13px;
  color: #314b6d;
  cursor: pointer;
}

.shape-option:hover {
  background: #f3f7ff;
}

.shape-option input {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
}

.shape-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #edf1f7;
  margin-top: 8px;
  padding-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 10px 17px;
  border: 1px solid var(--blue);
  border-radius: 11px;
  background: linear-gradient(135deg, #2e7de0, #2165c2);
  color: white;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 5px 12px #2875d71c;
}

.button:hover {
  filter: brightness(1.04);
  text-decoration: none;
}

.button-light {
  background: #fff;
  color: var(--blue);
  border-color: #d8e2f0;
  box-shadow: none;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 17px;
}

.summary-card:nth-child(1) {
  background: #eef4ff;
  border-color: #e5edff;
}

.summary-card:nth-child(2) {
  background: #eaf8f4;
  border-color: #dff3ed;
}

.summary-card:nth-child(3) {
  background: #eaf6ff;
  border-color: #dff0ff;
}

.summary-card:nth-child(4) {
  background: #fff5e9;
  border-color: #ffedd7;
}

.summary-card:nth-child(5) {
  background: #f3efff;
  border-color: #eae2ff;
}

.summary-card:nth-child(6) {
  background: #fff0f3;
  border-color: #ffe3e9;
}

.summary-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #ffffff9c;
  color: #2875d7;
  font-size: 20px;
}

.summary-card:nth-child(2) .summary-icon {
  color: #12866f;
}

.summary-card:nth-child(3) .summary-icon {
  color: #1684cf;
}

.summary-card:nth-child(4) .summary-icon {
  color: #c77a13;
}

.summary-card:nth-child(5) .summary-icon {
  color: #7450d5;
}

.summary-card:nth-child(6) .summary-icon {
  color: #d84d7c;
}

.summary-label {
  font-size: 11px;
  color: #607796;
  white-space: nowrap;
}

.summary-value {
  font-size: 22px;
  font-weight: 850;
  color: #142e53;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.summary-note {
  font-size: 11px;
  color: #6b809b;
}

.data-card {
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 5px 18px #102f5708;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 12px;
}

.table-count {
  font-size: 14px;
  font-weight: 750;
  color: #294568;
}

.table-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.table-toolbar label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-toolbar input {
  width: min(300px, 40vw);
  padding: 10px 13px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.page-size {
  padding: 10px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: white;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid #e5ebf3;
  border-radius: 12px;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 780px;
  font-size: 13px;
}

thead th {
  position: sticky;
  top: 0;
  background: #f0f4f9;
  color: #233d60;
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid #e0e7f0;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

thead th:first-child {
  border-radius: 10px 0 0 0;
}

thead th:last-child {
  border-radius: 0 10px 0 0;
}

tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #e9eef5;
  color: #29415f;
}

tbody tr:nth-child(even) {
  background: #f8fafd;
}

tbody tr:hover {
  background: #eef5ff;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.total {
  font-weight: 850;
  color: #132f55;
}

.region-link {
  font-weight: 750;
  color: #1767ce;
}

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #dce7f6;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.action-link:hover {
  background: #eef5ff;
  text-decoration: none;
}

.empty {
  text-align: center !important;
  color: #7b8ca4;
  padding: 30px !important;
}

.notice {
  padding: 13px 16px;
  margin: 14px 0;
  border-radius: 12px;
  font-size: 13px;
}

.notice-error {
  background: #fff2f1;
  border: 1px solid #ffd2cf;
  color: #a3322a;
}

.footer {
  padding: 20px;
  text-align: center;
  color: #71829a;
  font-size: 12px;
  background: #fff;
  border-top: 1px solid #e5ebf3;
}

.footer strong {
  color: #42638b;
}

@media (max-width: 1200px) {
  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters .button {
    width: 100%;
  }

  .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-search {
    min-width: 0;
    width: 100%;
  }

  .nav {
    padding: 0 8px;
  }

  .nav > a,
  .nav .nav-dropdown > button {
    padding: 13px 10px;
    font-size: 11px;
  }

  main {
    padding: 14px 10px 26px;
  }

  .content-shell {
    padding: 13px;
    border-radius: 17px;
  }

  .heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .heading-icon {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
  }

  .updated-pill {
    margin-left: 60px;
  }

  .filters {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .summary-card {
    padding: 11px;
    gap: 9px;
  }

  .summary-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .summary-value {
    font-size: 18px;
  }

  .summary-label {
    white-space: normal;
  }

  .table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .table-tools {
    width: 100%;
  }

  .table-toolbar input {
    width: 100%;
  }

  .table-toolbar label {
    flex: 1;
  }

  .data-card {
    padding: 10px;
  }

  .shape-panel {
    width: min(340px, calc(100vw - 42px));
  }
}

/* Pagination bersama untuk tabel DIKMEN, DIKTI, dan DIKMAS */
.table-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 2px;
}
.table-pagination-info {
  font-size: 0.9rem;
  color: #7183a0;
  line-height: 1.5;
}
.table-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.page-button {
  appearance: none;
  border: 1px solid #d8e2f1;
  background: #fff;
  color: #24416d;
  border-radius: 7px;
  min-width: 34px;
  min-height: 32px;
  padding: 5px 10px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.page-button:hover:not(:disabled) {
  border-color: #3f75d4;
  color: #2f67c8;
  background: #f1f6ff;
}
.page-button.active {
  background: #3f75d4;
  border-color: #3f75d4;
  color: #fff;
  font-weight: 700;
}
.page-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f5f7fb;
}
#dataTable th.sortable-header {
  cursor: pointer;
  user-select: none;
}
#dataTable th.sortable-header:focus-visible {
  outline: 2px solid #3f75d4;
  outline-offset: -2px;
}
@media (max-width: 640px) {
  .table-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
  .table-pagination-controls {
    max-width: 100%;
  }
}

/* Header bersama: selaras dengan beranda Data Referensi. */
.brand {
  min-height: 76px;
  padding: 8px clamp(18px, 2vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  text-decoration: none;
}
.brand-mark {
  display: block;
  width: 190px;
  height: auto;
  flex: 0 0 190px;
  margin-right: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}
.brand-lockup > span:last-child {
  display: block;
}
.brand-subtitle {
  display: none;
}
.brand-title {
  display: block;
  margin-top: 0;
  color: #3267c1;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  width: min(440px, 45%);
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
}
.top-search input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d7e2f1;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 14px;
}
.top-search button {
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #376ed0;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.nav {
  position: relative;
  z-index: 20;
  min-height: 48px;
  padding: 0 clamp(12px, 3vw, 42px);
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex-wrap: wrap;
  background: #1b345b;
  border-bottom: 3px solid #f4bd48;
  box-shadow: 0 8px 22px #122c4c18;
}
.nav > a,
.nav .nav-dropdown > button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 15px;
  color: #fff;
  text-decoration: none;
  font:
    800 12px/1.2 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  letter-spacing: 0.15px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.nav > a:hover,
.nav .nav-dropdown > button:hover,
.nav .active {
  color: #ffd36b;
  background: #ffffff12;
  text-decoration: none;
}
.nav-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}
.nav-dropdown > button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #f4bd48;
  border-bottom: 2px solid #f4bd48;
  transform: rotate(45deg);
  margin: -4px 0 0 4px;
  transition: transform 0.16s ease;
}
.nav-dropdown.open > button::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.nav-menu {
  z-index: 25;
}
.footer {
  padding: 10px 18px;
  text-align: center;
  color: #d9e4f5;
  font-size: 11px;
  background: #1b345b;
  border-top: 2px solid #f4bd48;
}
.footer strong {
  color: #fff;
}
@media (max-width: 760px) {
  .brand {
    align-items: center;
    flex-direction: row;
    padding: 10px 16px;
    gap: 12px;
  }
  .brand-mark {
    width: 190px;
    flex-basis: auto;
  }
  .brand-title {
    font-size: 19px;
  }
  .top-search {
    width: min(440px, 50%);
  }
  .top-search input {
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }
  .top-search button {
    height: 38px;
    padding: 0 13px;
  }
  .nav {
    padding: 0 8px;
  }
  .nav > a,
  .nav .nav-dropdown > button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 11px;
  }
}
@media (max-width: 520px) {
  .brand {
    flex-wrap: wrap;
  }
  .brand-mark {
    width: 170px;
    flex-basis: auto;
  }
  .top-search {
    width: 100%;
  }
  .nav {
    gap: 2px;
  }
  .nav > a,
  .nav .nav-dropdown > button {
    padding: 0 8px;
    font-size: 10px;
  }
}

.nav-menu-grouped {
  width: 360px;
  padding: 10px 14px;
}
.menu-group {
  position: relative;
}
.menu-group-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.menu-group-trigger:hover,
.menu-group-trigger:focus-visible {
  color: var(--blue);
}
.menu-sub {
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% + 8px);
  width: 300px;
  max-height: 70vh;
  overflow: auto;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 45px #132e5129;
  border-radius: 10px;
}
.menu-group:hover .menu-sub,
.menu-group:focus-within .menu-sub,
.menu-group.expanded .menu-sub {
  display: block;
}
.menu-sub a {
  display: block;
  padding: 8px 9px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  border-radius: 5px;
}
.menu-sub a:last-child {
  border-bottom: 0;
}
.menu-sub a:hover,
.menu-sub a:focus-visible {
  color: var(--blue);
  background: var(--blue-2);
}
@media (max-width: 760px) {
  .nav-menu-grouped {
    width: 100%;
  }
  .menu-sub {
    position: static;
    width: 100%;
    max-height: none;
    box-shadow: none;
    margin: 0 0 6px;
  }
}

/* Shared header/navigation styling aligned with the home page */
.topbar {
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}

.brandrow {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #4386ec, #285ab7);
  color: #fff;
  box-shadow: 0 10px 25px #326ec52b;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.1px;
}

.brand-copy strong {
  display: block;
  color: #3267c1;
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 900;
  letter-spacing: 0.8px;
  line-height: 1.25;
}

.brand-mark img {
  width: 220px;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.brand-mark {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  width: 220px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.brand-copy strong {
  font-size: clamp(25px, 2.7vw, 32px);
  letter-spacing: 1.3px;
  line-height: 1.2;
}
.global-search {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-left: auto;
}
.global-search input {
  width: min(390px, 30vw);
  height: 44px;
  padding: 0 16px;
  border: 1px solid #d7e2f1;
  border-radius: 13px;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.global-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #2c70d61c;
}
.global-search button {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #376ed0;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.portal-label {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  width: min(440px, 45%);
}
.global-search input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.global-search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.global-search button:hover {
  filter: brightness(0.94);
}

.nav-wrap {
  background: #1f3b70;
  box-shadow: 0 8px 22px #122c4c18;
  border-bottom: 3px solid var(--gold);
  position: relative;
  z-index: 20;
}

.navinner {
  display: flex;
  align-items: stretch;
  gap: 5px;
  min-height: 65px;
}

.navitem,
.nav-dropdown > button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 19px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.15px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.navitem:hover,
.nav-dropdown > button:hover,
.nav-dropdown.open > button {
  background: #ffffff12;
  color: #ffd36b;
}

.nav-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown {
  position: relative;
  display: flex;
}

.nav-dropdown > button:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  margin: -4px 0 0 4px;
  transition: transform 0.16s;
}

.nav-dropdown.open > button:after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.footer {
  background: #0f3772 !important;
  color: #fff !important;
  border-top: 3px solid #f4bd48 !important;
  padding: 11px 16px !important;
  text-align: center !important;
  font-size: 12px;
}

/* Final shared header/nav normalization: same compact proportions as Beranda */
:root {
  --ink: #0f3772;
  --navy: #0f3772;
  --navy2: #0f3772;
  --blue: #376ed0;
}
.topbar {
  background: #fff !important;
  border-bottom: 1px solid #e8edf5 !important;
}
.brandrow {
  min-height: 88px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
.brand {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  flex: 0 0 225px !important;
  background: transparent !important;
}
.brand-mark {
  display: block !important;
  width: 225px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.brand-mark img {
  display: block !important;
  width: 225px !important;
  height: 42px !important;
  max-width: 100% !important;
  max-height: 42px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.brand-copy {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.15 !important;
}
.brand-copy strong {
  display: block !important;
  color: #416bc0 !important;
  font-size: 27px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  line-height: 1.15 !important;
}
.global-search {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-left: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.global-search input {
  width: min(490px, 35vw) !important;
  height: 56px !important;
  padding: 0 18px !important;
  border: 1px solid #d7e2f1 !important;
  border-radius: 15px !important;
  background: #fff !important;
  font: inherit !important;
  font-size: 17px !important;
}
.global-search button {
  height: 56px !important;
  padding: 0 25px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: #416fd2 !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}
.nav-wrap {
  background: #0f3772 !important;
  border-bottom: 3px solid #f4bd48 !important;
}
.navinner {
  min-height: 64px !important;
}
.navitem,
.nav-dropdown > button {
  min-height: 64px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
.navitem:hover,
.nav-dropdown > button:hover,
.nav-dropdown.open > button {
  background: #ffffff12 !important;
  color: #ffd36b !important;
}
.nav-menu-grouped {
  width: 360px !important;
  padding: 8px 12px !important;
  background: #fff !important;
}
.menu-group-trigger {
  padding: 9px 8px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
}
.menu-sub {
  width: 330px !important;
  padding: 8px 12px !important;
}
.menu-sub a {
  padding: 9px 8px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}
.footer {
  background: #0f3772 !important;
  border-top: 2px solid #f4bd48 !important;
  color: #fff !important;
  text-align: center !important;
  padding: 10px 16px !important;
  font-size: 12px !important;
}
@media (max-width: 760px) {
  .brandrow {
    min-height: 0 !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 12px 0 !important;
  }
  .brand {
    flex: 1 1 100% !important;
  }
  .global-search {
    width: 100% !important;
  }
  .global-search input {
    width: 100% !important;
  }
  .navinner {
    flex-wrap: wrap !important;
  }
  .navitem,
  .nav-dropdown > button {
    min-height: 48px !important;
  }
}

/* Visual baseline migrated from home.php */
:root {
  --navy: #0f3772;
  --navy2: #0f3772;
  --blue: #2c70d6;
  --blue2: #eaf2ff;
  --ink: #172f52;
  --muted: #647792;
  --line: #dfe7f2;
  --bg: #f3f6fb;
  --white: #fff;
  --gold: #f4bd48;
  --shadow: 0 16px 45px rgba(18, 48, 88, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.55 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.wrap {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}

.brandrow {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #4386ec, #285ab7);
  color: #fff;
  box-shadow: 0 10px 25px #326ec52b;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.1px;
}

.brand-copy strong {
  display: block;
  color: #3267c1;
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 900;
  letter-spacing: 0.8px;
  line-height: 1.25;
}

.brand-mark img {
  width: 220px;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.brand-mark {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  width: 220px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.brand-copy strong {
  font-size: clamp(25px, 2.7vw, 32px);
  letter-spacing: 1.3px;
  line-height: 1.2;
}
.global-search {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-left: auto;
}
.global-search input {
  width: min(390px, 30vw);
  height: 44px;
  padding: 0 16px;
  border: 1px solid #d7e2f1;
  border-radius: 13px;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.global-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #2c70d61c;
}
.global-search button {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #376ed0;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.portal-label {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  width: min(440px, 45%);
}
.global-search input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.global-search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.global-search button:hover {
  filter: brightness(0.94);
}

.nav-wrap {
  background: #1f3b70;
  box-shadow: 0 8px 22px #122c4c18;
  border-bottom: 3px solid var(--gold);
  position: relative;
  z-index: 20;
}

.navinner {
  display: flex;
  align-items: stretch;
  gap: 5px;
  min-height: 65px;
}

.navitem,
.nav-dropdown > button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 19px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.15px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.navitem:hover,
.nav-dropdown > button:hover,
.nav-dropdown.open > button {
  background: #ffffff12;
  color: #ffd36b;
}

.nav-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown {
  position: relative;
  display: flex;
}

.nav-dropdown > button:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  margin: -4px 0 0 4px;
  transition: transform 0.16s;
}

.nav-dropdown.open > button:after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  width: min(740px, calc(100vw - 48px));
  padding: 14px;
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 17px 17px;
  box-shadow: 0 22px 45px #132e5129;
}

.nav-dropdown.open .nav-menu {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}
.menu-group {
  min-width: 0;
}
.menu-group h3 {
  margin: 4px 10px 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #657b99;
}
.menu-group a,
.menu-group .menu-disabled {
  padding: 9px 10px;
  font-size: 12px;
}

.nav-menu-grouped {
  width: 360px;
  padding: 12px 18px;
}
.menu-group {
  position: relative;
}
.menu-group-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 17px 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.menu-group-trigger:hover,
.menu-group-trigger:focus-visible {
  color: var(--blue);
}
.menu-sub {
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% + 10px);
  width: 360px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 45px #132e5129;
  border-radius: 0 0 14px 14px;
}
.menu-group:hover .menu-sub,
.menu-group:focus-within .menu-sub,
.menu-group.expanded .menu-sub {
  display: block;
}
.menu-sub a {
  display: block;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}
.menu-sub a:last-child {
  border-bottom: 0;
}
.menu-sub a:hover,
.menu-sub a:focus-visible {
  color: var(--blue);
  background: var(--blue2);
}
.nav-menu a,
.nav-menu .menu-disabled {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 11px;
  font-size: 14px;
}

.nav-menu a {
  color: var(--ink);
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--blue2);
  color: #1e5db4;
  outline: none;
}


.nav-menu .menu-disabled {
  color: #8b98aa;
  font-size: 13px;
  cursor: default;
}

.navitem:focus-visible,
.nav-dropdown > button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, #4b91e3 0, transparent 33%),
    linear-gradient(120deg, #17365f, #245b9c);
  color: #fff;
}

.hero:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid #ffffff17;
  border-radius: 50%;
  right: -85px;
  bottom: -225px;
  box-shadow:
    0 0 0 35px #ffffff08,
    0 0 0 70px #ffffff05;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 30px 0 32px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8e7ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 25px;
  height: 3px;
  border-radius: 4px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin: 12px 0 10px;
  max-width: 760px;
}

.hero p {
  font-size: 15px;
  line-height: 1.6;
  color: #e5efff;
  max-width: 760px;
  margin: 0;
}


main {
  padding: 0 0 10px;
}





.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 23px;
  background: #fff;
  border: 1px solid #e1e8f2;
  border-radius: 19px;
  box-shadow: 0 5px 18px #1c3d6808;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.card.available:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #b8d1f4;
}




.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eaf8f1;
  color: #18805a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.tag:before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.tag.soon {
  background: #f0f3f7;
  color: #7c8ba0;
}

.card h3 {
  font-size: 18px;
  letter-spacing: -0.2px;
  margin: 17px 0 7px;
}

.card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
  flex: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #2c70d6;
  border-radius: 10px;
  background: linear-gradient(135deg, #347ee0, #225fb9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 5px 13px #2869c51f;
  transition:
    filter 0.15s,
    transform 0.15s;
}

.button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.button .arrow {
  font-size: 17px;
  line-height: 10px;
}

.card.disabled {
  background: linear-gradient(145deg, #fff, #f9fbfe);
}

.card.disabled .card-icon {
  background: #f1f4f8;
  color: #8b9bb1;
}

.card.disabled h3 {
  color: #566982;
}

.card.disabled .button {
  background: #f1f4f8;
  color: #8795a8;
  border-color: #e2e8f0;
  box-shadow: none;
  cursor: not-allowed;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 23px;
  padding: 16px 18px;
  background: #edf5ff;
  border: 1px solid #d8e7fb;
  border-radius: 13px;
  color: #3e5d83;
  font-size: 13px;
}

.notice svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke: #3677ca;
  fill: none;
  stroke-width: 1.8;
}

.visitor-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 8px;
}
.visitor-stat {
  padding: 17px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.visitor-stat .label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 5px;
}
.visitor-stat .value {
  display: block;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 800;
  line-height: 1.2;
}
@media (max-width: 640px) {
  .visitor-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .visitor-stat {
    padding: 13px 16px;
  }
}

/* Refinement: title, visitor summary and footer */
.home-only-hidden {
  display: none !important;
}
.brandrow {
  min-height: 88px;
}
.brand-mark img {
  width: 220px;
  height: 42px;
}
.visitor-stats {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 4px auto 10px !important;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: none !important;
  background: transparent !important;
}
.visitor-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.visitor-stat .label {
  font-size: 12px;
  margin: 0;
}
.visitor-stat .value {
  font-size: 14px !important;
  font-weight: 750;
}
.visitor-chart-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.visitor-chart-link:hover {
  text-decoration: underline;
}
footer {
  background: #1f3b70 !important;
  color: #fff !important;
  padding: 11px 16px !important;
  text-align: center !important;
  font-size: 12px;
  border-top: 3px solid var(--gold);
}
footer .wrap {
  width: 100%;
}
footer strong {
  color: #fff;
}
@media (max-width: 760px) {
  .brandrow {
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .brand-mark,
  .brand-mark img {
    width: 190px;
  }
  .visitor-stats {
    justify-content: flex-start;
    gap: 8px 14px;
  }
}

.redaction-signoff {
  margin-top: 24px !important;
}
.redaction-signoff strong {
  display: inline-block;
  margin-top: 4px;
}
.home-bottom {
  padding-top: 20px;
  padding-bottom: 24px;
}
.home-contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: end;
}
.related-links {
  padding: 16px 18px;
  background: #fff7df;
  border: 1px solid #f1d58a;
  border-radius: 12px;
}
.related-links h2 {
  margin: 0 0 10px;
  font-size: 15px;
}
.related-links a {
  display: block;
  margin: 8px 0;
  color: #2c61c4;
}
.related-links a:hover {
  text-decoration: underline;
}
.contact-card {
  padding: 22px;
  background: #e8edf5;
  border-radius: 12px;
  text-align: right;
  color: var(--ink);
}
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}
.contact-card p {
  margin: 8px 0 0;
}
@media (max-width: 700px) {
  .home-contact {
    grid-template-columns: 1fr;
  }
  .contact-card {
    text-align: left;
  }
}
footer {
  padding: 22px 0;
  background: #fff;
  border-top: 1px solid #e1e8f2;
  color: #74849a;
  font-size: 12px;
}

footer strong {
  color: #3d5c82;
}

.home-bottom {
  padding-top: 18px;
  padding-bottom: 18px;
}
.home-contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}
.related-links {
  padding: 10px 0;
}
.related-links h2 {
  font-size: 15px;
  margin: 0 0 9px;
}
.related-links a {
  display: block;
  color: #315fa8;
  font-size: 12px;
  line-height: 1.45;
  padding: 5px 0;
}
.contact-card {
  margin: 0;
  padding: 15px 19px;
  background: #e9eef5;
  border-radius: 12px;
  text-align: right;
}
.contact-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
}
.contact-card p {
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.45;
}
.visitor-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 6px;
}
.visitor-stat {
  padding: 17px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.visitor-stat .label {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.visitor-stat .value {
  display: block;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.25;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .wrap {
    width: min(100% - 32px, 1320px);
  }

  .brandrow {
    min-height: 90px;
    flex-wrap: wrap;
  }
  .global-search {
    width: 100%;
  }
  .global-search input {
    width: 100%;
    flex: 1;
  }

  .navinner {
    flex-wrap: wrap;
    padding: 7px 0;
  }
  .global-search {
    width: 100%;
    margin: 8px 0 10px;
  }
  .menu-sub {
    left: 0;
    top: 100%;
    position: relative;
    width: 100%;
    box-shadow: none;
    border-radius: 10px;
  }
  .menu-group:hover .menu-sub {
    display: none;
  }
  .menu-group.expanded .menu-sub,
  .menu-group:focus-within .menu-sub {
    display: block;
  }

  .navitem,
  .nav-dropdown > button {
    min-height: 45px;
    padding: 0 13px;
    font-size: 12px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-contact {
    grid-template-columns: 1fr;
  }
  .nav-dropdown.open .nav-menu {
    grid-template-columns: 1fr;
    max-height: 70vh;
    overflow: auto;
  }

  .hero-inner {
    padding: 47px 0;
  }

  }

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .brandrow {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 17px 0;
    gap: 8px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  .brand-copy strong {
    font-size: 25px;
  }

  .portal-label {
    text-align: left;
  }
  .visitor-stats {
    grid-template-columns: 1fr;
  }
  .contact-card {
    text-align: left;
  }

  .navinner {
    gap: 2px;
  }

  .navitem,
  .nav-dropdown > button {
    padding: 0 9px;
    font-size: 10px;
    gap: 6px;
  }

  .nav-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .nav-dropdown {
    position: static;
  }

  .nav-menu {
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    border-radius: 13px;
  }

  .hero-inner {
    padding: 39px 0 43px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero p {
    font-size: 15px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    min-height: 205px;
    padding: 19px;
  }

  }

/* Penyesuaian visual berdasarkan masukan: menu lebih pendek, hero putih, kartu bawah utuh. */
.brandrow {
  min-height: 76px;
  gap: 18px;
}
.brand {
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 225px;
  height: auto;
  flex: 0 0 225px;
  display: block;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}
.brand-copy small {
  font-size: 12px;
}
.brand-copy strong {
  font-size: 23px;
  letter-spacing: 0.3px;
}
.navinner {
  min-height: 48px;
  gap: 4px;
}
.navitem,
.nav-dropdown > button {
  min-height: 48px;
  padding: 0 15px;
  gap: 9px;
  font-size: 12px;
}
.nav-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}
.hero {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero:after {
  display: none;
}
.hero-inner {
  padding: 24px 0 22px;
}
.eyebrow {
  color: #55708f;
}
.hero h1 {
  color: #234d88;
  font-size: clamp(27px, 2.7vw, 36px);
  margin: 10px 0 9px;
}
.hero p {
  color: #4f6077;
  font-size: 14px;
  line-height: 1.6;
  max-width: 980px;
}
.redaction-signoff {
  margin-top: 14px !important;
}
.home-bottom {
  padding-top: 18px;
  padding-bottom: 18px;
}
.home-contact {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}
.related-links {
  min-width: 0;
  padding: 16px 20px;
  overflow-wrap: anywhere;
}
.related-links h2 {
  margin: 0 0 9px;
  font-size: 15px;
}
.related-links a {
  font-size: 12px;
  line-height: 1.5;
  padding: 4px 0;
  margin: 3px 0;
}
.contact-card {
  min-width: 0;
  padding: 17px 20px;
  text-align: right;
  overflow-wrap: anywhere;
}
.contact-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 12px;
  line-height: 1.5;
  margin: 6px 0;
}
.visitor-stats {
  padding-top: 5px;
}
@media (max-width: 900px) {
  .brandrow {
    min-height: 0;
    padding: 12px 0;
  }
  .brand-mark {
    width: 190px;
    flex-basis: 190px;
  }
  .brand-copy strong {
    font-size: 21px;
  }
  .navinner {
    min-height: 0;
    padding: 3px 0;
  }
  .navitem,
  .nav-dropdown > button {
    min-height: 40px;
    padding: 0 11px;
  }
  .hero-inner {
    padding: 22px 0;
  }
  .home-contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .brandrow {
    align-items: flex-start;
  }
  .brand {
    flex-wrap: wrap;
  }
  .brand-mark {
    width: 190px;
    flex-basis: 190px;
  }
  .global-search {
    width: 100%;
  }
  .home-contact {
    grid-template-columns: 1fr;
  }
  .contact-card {
    text-align: left;
  }
}
@media (max-width: 560px) {
  .brand-mark {
    width: 170px;
    flex-basis: 170px;
  }
  .brand-copy small {
    font-size: 11px;
  }
  .brand-copy strong {
    font-size: 21px;
  }
  .navinner {
    gap: 2px;
  }
  .navitem,
  .nav-dropdown > button {
    min-height: 36px;
    padding: 0 8px;
    font-size: 10px;
  }
  .hero-inner {
    padding: 20px 0;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 13px;
  }
  .related-links,
  .contact-card {
    padding: 14px 15px;
  }
}

/* Revisi lanjutan sesuai masukan: logo di atas judul, submenu tiga kolom, kontak lebih ringkas. */
.brandrow {
  min-height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex: 0 0 190px;
}
.brand-mark {
  width: 158px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.brand-mark img {
  width: 158px;
  height: 38px;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
}
.brand-copy {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.1;
}
.brand-copy strong {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.2px;
  font-weight: 850;
}
.nav-menu-grouped {
  width: min(850px, calc(100vw - 48px));
  padding: 14px 16px;
  grid-template-columns: 1.35fr 0.8fr 0.9fr !important;
  align-items: start;
  gap: 16px;
}
.nav-dropdown.open .nav-menu {
  display: grid;
}
.menu-group {
  min-width: 0;
}
.menu-group-trigger {
  padding: 7px 8px 9px;
  margin: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 650;
  color: #294a75;
  cursor: default;
}
.menu-group-trigger span {
  display: none;
}
.menu-sub {
  display: block !important;
  position: static;
  width: auto;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
.menu-sub a {
  display: block;
  padding: 7px 8px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.menu-sub a:hover,
.menu-sub a:focus-visible {
  background: var(--blue2);
  color: #1e5db4;
}
.home-contact {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}
.related-links {
  padding: 13px 17px;
}
.related-links h2 {
  font-size: 14px;
  margin-bottom: 6px;
}
.related-links a {
  font-size: 11.5px;
  line-height: 1.4;
  padding: 3px 0;
  margin: 2px 0;
}
.contact-card {
  padding: 13px 16px;
}
.contact-card h3 {
  font-size: 15px;
  margin-bottom: 5px;
}
.contact-card p {
  font-size: 11.5px;
  line-height: 1.35;
  margin: 4px 0;
}
@media (max-width: 900px) {
  .brandrow {
    min-height: 76px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .brand {
    flex: 0 0 165px;
  }
  .brand-mark,
  .brand-mark img {
    width: 145px;
  }
  .brand-copy strong {
    font-size: 18px;
  }
  .nav-menu-grouped {
    grid-template-columns: 1fr 1fr 1fr !important;
    width: min(760px, calc(100vw - 32px));
  }
  .nav-dropdown.open .nav-menu {
    max-height: 70vh;
    overflow: auto;
  }
  .home-contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .brandrow {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .brand {
    flex: 1 1 100%;
  }
  .global-search {
    width: 100%;
  }
  .nav-menu-grouped {
    grid-template-columns: 1fr !important;
    width: 100%;
  }
  .home-contact {
    grid-template-columns: 1fr;
  }
  .contact-card {
    text-align: left;
  }
}

/* Header/footer visual consistency: compact navy navigation and footer. */
.nav-wrap {
  background: #0f3772 !important;
}
.navitem,
.nav-dropdown > button {
  color: #fff;
}
.navitem:hover,
.nav-dropdown > button:hover,
.nav-dropdown.open > button {
  background: #ffffff12;
  color: #ffd36b;
}
footer {
  padding: 10px 0 !important;
  background: #0f3772 !important;
  color: #d9e4f5 !important;
  border-top: 2px solid var(--gold) !important;
  font-size: 11px !important;
}
footer strong {
  color: #fff !important;
}
@media (max-width: 700px) {
  .brandrow {
    align-items: center;
  }
}

/* Final home title/header refinements */
.eyebrow {
  color: #0f3772 !important;
  font: inherit !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  text-transform: none !important;
  margin: 0 0 4px !important;
  display: block !important;
}
.eyebrow::before,
.eyebrow::after {
  display: none !important;
  content: none !important;
}
.nav-wrap {
  background: #0f3772 !important;
}
footer {
  background: #0f3772 !important;
}

/* === Data Referensi shared shell (single source of truth) === */

/* Header shared across all pages; dimensions follow the original Beranda header. */
.topbar {
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}
.drp-drp-brandrow {
  width: min(1320px, calc(100% - 28px));
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.drp-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  flex: 0 0 300px;
  min-width: 0;
}
.drp-drp-brand-mark {
  display: flex !important;
  width: 260px !important;
  height: 38px !important;
  align-items: center;
  justify-content: flex-start;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.drp-drp-brand-mark img {
  display: block;
  width: 167px !important;
  max-width: 100%;
  height: 42px !important;
  object-fit: contain;
  object-position: left center;
}
.drp-drp-brand-copy {
  display: block;
  width: 100%;
}
.drp-drp-brand-copy strong {
  display: block;
  white-space: nowrap;
  color: #3267c1;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.2;
}
.drp-global-search {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  width: min(440px, 45%);
}
.drp-global-search input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #d7e2f1;
  border-radius: 13px;
  font: inherit;
  color: #172f52;
  background: #fff;
  outline: none;
}
.drp-global-search input:focus {
  border-color: #376ed0;
  box-shadow: 0 0 0 3px #376ed01c;
}
.drp-global-search button {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: #376ed0;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.drp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.drp-nav-wrap {
  background: #1f3b70;
  box-shadow: 0 8px 22px #122c4c18;
  border-bottom: 3px solid #f4bd48;
  position: relative;
  z-index: 100;
}
.drp-navinner {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: stretch;
  gap: 5px;
  min-height: 45px;
}
.drp-navitem,
.drp-nav-dropdown > button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 19px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.15px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.drp-navitem:hover,
.drp-nav-dropdown > button:hover,
.drp-nav-dropdown.open > button {
  background: #ffffff12;
  color: #ffd36b;
}
.drp-nav-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drp-nav-dropdown {
  position: relative;
  display: flex;
}
.drp-nav-dropdown > button:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #f4bd48;
  border-bottom: 2px solid #f4bd48;
  transform: rotate(45deg);
  margin: -4px 0 0 4px;
  transition: transform 0.16s;
}
.drp-nav-dropdown.open > button:after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.drp-nav-menu,
.drp-nav-drp-menu-grouped {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  width: min(850px, calc(100vw - 48px)) !important;
  padding: 16px 20px !important;
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 0 0 17px 17px;
  box-shadow: 0 22px 45px #132e5129;
  z-index: 110;
}
.drp-nav-dropdown.open .drp-nav-menu {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr;
  gap: 18px;
  align-items: start;
}
.drp-menu-group {
  position: static !important;
  min-width: 0;
}
.drp-menu-group h3 {
  display: block;
  margin: 4px 10px 9px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid #dfe7f2;
  color: #294a75;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.3px;
}
/* .drp-drp-menu-group-trigger {
  display: none !important;
} */
.drp-drp-menu-group-trigger {
  padding: 7px 8px 9px;
  margin: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 650 !important;
  color: #294a75;
  cursor: default;
  width: 100% !important;
  text-align: left;
}
.drp-drp-menu-group-trigger span {
  display: none !important;
}
.drp-nav-menu .drp-menu-group a,
.drp-menu-sub a {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto !important;
  padding: 10px !important;
  margin: 0;
  color: #172f52;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  white-space: normal;
  box-shadow: none;
}
.drp-nav-menu .drp-menu-group a:hover,
.drp-menu-sub a:hover {
  color: #2c70d6;
  background: #eaf2ff;
}
.drp-menu-sub {
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: auto !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
footer,
.footer {
  padding: 10px 16px !important;
  background: #0f3772 !important;
  color: #fff !important;
  border-top: 2px solid #f4bd48 !important;
  font-size: 12px !important;
  text-align: center !important;
}
footer .drp-wrap {
  width: min(1320px, calc(100% - 28px));
  margin-inline: auto;
}
@media (max-width: 760px) {
  .drp-drp-brandrow {
    min-height: 0;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
  }
  .drp-brand {
    flex: 1 1 100%;
  }
  .drp-drp-brand-copy strong {
    font-size: 18px;
  }
  .drp-global-search {
    width: 100%;
    margin-left: 0;
  }
  .drp-global-search input {
    width: 100%;
  }
  .drp-navinner {
    flex-wrap: wrap;
    min-height: 52px;
  }
  .drp-navitem,
  .drp-nav-dropdown > button {
    min-height: 48px;
    padding: 0 12px;
  }
  .drp-nav-menu,
  .drp-nav-drp-menu-grouped {
    width: min(850px, calc(100vw - 32px)) !important;
    max-height: 70vh;
    overflow: auto;
  }
  .drp-nav-dropdown.open .drp-nav-menu,
  .drp-nav-dropdown.open .drp-nav-drp-menu-grouped {
    grid-template-columns: 1fr;
  }
  .drp-menu-group {
    padding-bottom: 8px;
  }
  .drp-menu-group h3 {
    margin-top: 8px;
  }
}

/* Shell isolation: header/menu/footer are intentionally namespaced to avoid global/page CSS collisions. */
.topbar .drp-brand,
.topbar .drp-brand:hover,
.topbar .drp-brand:focus {
  padding: 0 !important;
  min-height: 0 !important;
  text-decoration: none !important;
  color: inherit !important;
  border: 0 !important;
  box-shadow: none !important;
  outline-offset: 3px;
}
.topbar .drp-brand-copy strong {
  border: 0 !important;
  text-decoration: none !important;
}
.topbar .drp-brand-copy strong:hover {
  border: 0 !important;
  text-decoration: none !important;
}
.drp-nav-wrap a:hover {
  text-decoration: none !important;
}
.drp-nav-menu a:hover {
  text-decoration: none !important;
}

/* Sticky footer: keep footer at viewport bottom when page content is short. */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

body > footer,
body > .footer {
  flex-shrink: 0;
}


/* Sticky footer + visitor summary pinned to the bottom on the home page */
html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  width: 100%;
  flex: 1 0 auto;
}

/* On the homepage, use remaining vertical space before the visitor summary. */
main:has(.visitor-stats) {
  display: flex;
  flex-direction: column;
}

main:has(.visitor-stats) > .visitor-stats {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

footer {
  flex-shrink: 0;
}


/* Filter alignment shared by PAUD–DIKMAS */
.filters { align-items: end; }
.filters > label, .filters > .filter-field { align-self: stretch; justify-content: end; }
.filters select, .filters .filter-select-button, .filters > .button, .filters > a.button { box-sizing: border-box; min-height: 43px; height: 43px; line-height: 1.25; }
.filters > .button, .filters > a.button { align-self: end; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; margin: 0; }
.filters .shape-dropdown { width: 100%; }
.filters .filter-select-button { display: flex; }
@media (max-width: 760px) { .filters > .button, .filters > a.button { width: 100%; } }

/* Consistent page-title scale across Data Referensi pages. */
.page-heading h1 {
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.25;
}

/* Data Kebahasaan: submenu hanya terlihat ketika dropdown dibuka.
   Layout vertikal berlaku di semua halaman, termasuk Beranda. */
.drp-nav-dropdown .drp-nav-menu.drp-nav-menu-vertical {
    display: none;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 320px;
}
.drp-nav-dropdown.open .drp-nav-menu.drp-nav-menu-vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}
.drp-nav-menu.drp-nav-menu-vertical > a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    white-space: normal;
    padding: 14px 24px !important;
}
.drp-nav-menu.drp-nav-menu-vertical > a + a {
    border-top: 1px solid #e8edf4;
}
.drp-nav-menu.drp-nav-menu-vertical > a.is-active {
    color: #416ed0 !important;
    font-weight: 700 !important;
    background: #f3f6fc !important;
}

/* Active state dan hover konsisten untuk kedua dropdown navigasi. */
.drp-nav-dropdown > button.is-active {
    color: #ffd36b !important;
    background: #ffffff12 !important;
}
.drp-nav-menu .drp-menu-group a:hover,
.drp-nav-menu .drp-menu-sub a:hover,
.drp-nav-menu.drp-nav-menu-vertical > a:hover {
    color: #2c70d6 !important;
    background: #eaf2ff !important;
}
.drp-nav-menu .drp-menu-group a.is-active,
.drp-nav-menu .drp-menu-sub a.is-active {
    color: #416ed0 !important;
    background: #eaf2ff !important;
    font-weight: 700 !important;
}

/* Menu PUSTAKA aktif: samakan warna kuning dengan menu induk lainnya. */
.drp-nav-wrap .drp-navitem.is-active {
    color: #ffd36b !important;
    background: #ffffff12 !important;
}
.drp-nav-wrap .drp-navitem.is-active .drp-nav-icon {
    stroke: #ffd36b !important;
}
