/* ==========================================================================
   1. GLOBAL & VARIABEL
   ========================================================================== */
:root {
  --primary-blue: #0a2540;
  --accent-blue: #0066ff;
  --accent-green: #22c55e;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-dark);
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* ==========================================================================
   2. HEADER & NAVBAR
   ========================================================================== */
.logged-in-toolbar {
  color: #f8fafc;
  background: #131c2a;
  font-size: 0.76rem;
}

.logged-in-toolbar-inner {
  width: 100%;
  max-width: none !important;
  padding-right: 34px !important;
  padding-left: 34px !important;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logged-in-toolbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.logged-in-toolbar-links a,
.logged-in-user-trigger {
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}

.logged-in-toolbar-links a:hover,
.logged-in-user-trigger:hover,
.logged-in-user-trigger:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.logged-in-user-trigger {
  cursor: pointer;
}

.logged-in-user-trigger > .bi {
  font-size: 0.64rem;
}

.logged-in-avatar {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: #1769d1;
  font-size: 0.68rem;
  font-weight: 800;
}

.logged-in-profile-menu {
  width: 240px;
  margin-top: 4px !important;
  padding: 9px;
  border: 1px solid #e7edf5;
  border-radius: 11px;
}

.logged-in-profile-head {
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logged-in-profile-head .logged-in-avatar {
  width: 38px;
  height: 38px;
  font-size: 0.82rem;
}

.logged-in-profile-head strong,
.logged-in-profile-head small {
  display: block;
}

.logged-in-profile-head strong {
  font-size: 0.88rem;
}

.logged-in-profile-head small {
  margin-top: 2px;
  color: #64748b;
  font-size: 0.75rem;
}

.logged-in-profile-menu .dropdown-item {
  padding: 9px;
  border-radius: 7px;
  font-size: 0.88rem;
}

.logged-in-profile-menu .dropdown-item i {
  width: 24px;
  margin-right: 6px;
  color: #7890aa;
}

.logged-in-profile-menu .text-danger i {
  color: inherit;
}

@media (max-width: 575.98px) {
  .logged-in-toolbar-inner {
    padding-right: 18px !important;
    padding-left: 18px !important;
    min-height: 32px;
    gap: 4px;
  }

  .logged-in-toolbar-links a,
  .logged-in-user-trigger {
    padding: 7px 5px;
    font-size: 0.68rem;
  }

  .logged-in-toolbar-links a .bi {
    display: none;
  }

  .logged-in-user-trigger > span:first-child {
    max-width: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: #0052cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.logo-text-brand {
  font-weight: 800;
  font-size: 26px;
  color: #22c55e;
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-divider {
  width: 1px;
  height: 28px;
  background-color: #cbd5e1;
  margin: 0 4px;
}

.logo-subtext {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-blue) !important;
  padding: 8px 16px !important;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-blue) !important;
}

/* --- PERUBAHAN DI SINI: border-bottom dihapus dari blok ini agar tidak muncul di mobile --- */
.nav-link.active {
  /* border-bottom: 2px solid var(--accent-blue); */
}

/* Header Controls: Search Box Desktop & Mobile */
.search-wrapper {
  position: relative;
}

.search-box {
  animation: fadeIn 0.15s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-search-input {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #0f172a;
}

.mobile-search-input:focus {
  background-color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* Header Controls: Mobile Language Switcher */
.mobile-lang-group .btn-outline-primary {
  border-color: #cbd5e1;
  color: #475569;
}

.mobile-lang-group .btn-outline-primary.active,
.mobile-lang-group .btn-outline-primary:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

@media (min-width: 992px) {
  .navbar-brand-logo img {
    height: 60px; /* Sesuaikan ukuran besar logo di desktop sesuai keinginan */
  }

  /* --- PERUBAHAN DI SINI: border-bottom dipindahkan ke sini agar hanya muncul di desktop --- */
  .nav-link.active {
    border-bottom: 2px solid var(--accent-blue);
  }
}

/* ==========================================================================
   3. KOMPONEN UI UMUM (Reusable Card, Badge, Section Headers, Animasi Tab)
   ========================================================================== */
.section-header-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.25;
}

.visi-misi-content {
  margin-top: 1.5rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.8;
}

.visi-misi-content > :first-child {
  margin-top: 0;
}

.visi-misi-content > :last-child {
  margin-bottom: 0;
}

.visi-misi-content h1,
.visi-misi-content h2,
.visi-misi-content h3,
.visi-misi-content h4,
.visi-misi-content h5,
.visi-misi-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  color: #0a2540;
  font-weight: 800;
}

.visi-misi-content ul,
.visi-misi-content ol {
  padding-left: 1.35rem;
}

.visi-misi-content img,
.visi-misi-content table {
  max-width: 100%;
}

.custom-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #ffffff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.1);
}

.card-img-wrapper {
  position: relative;
  height: 190px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-category {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-trl {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #eff6ff;
  color: var(--accent-blue);
}

.badge-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #dcfce7;
  color: #166534;
}

/* Animasi untuk transisi konten Tab Sidebar */
.tab-content-panel:not(.d-none) {
  animation: fadeInTab 0.4s ease-out forwards;
}

@keyframes fadeInTab {
  0% {
    opacity: 0;
    transform: translateY(15px); /* Memberikan efek muncul dari bawah sedikit */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animasi untuk transisi buka-tutup FAQ */
.faq-answer-box:not(.d-none) {
  animation: fadeInFaq 0.3s ease-out forwards;
  transform-origin: top;
}

/* Perataan paragraf dari editor konten admin. */
.content-article .ql-align-center {
  text-align: center;
}

.content-article .ql-align-right {
  text-align: right;
}

.content-article .ql-align-justify {
  text-align: justify;
}

/* Konten HTML dari TinyMCE untuk halaman website. */
.content-article,
.rich-text-content,
.visi-misi-content,
.faq-answer-box,
.service-detail-rich-content {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  font-variant: normal;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  word-spacing: normal;
  white-space: normal;
  overflow-wrap: anywhere;
}

.content-article p,
.rich-text-content p,
.visi-misi-content p,
.faq-answer-box p,
.service-detail-rich-content p {
  margin: 0 0 1rem;
}

.content-article p:last-child,
.rich-text-content p:last-child,
.visi-misi-content p:last-child,
.faq-answer-box p:last-child,
.service-detail-rich-content p:last-child {
  margin-bottom: 0;
}

.content-article ul,
.content-article ol,
.rich-text-content ul,
.rich-text-content ol,
.visi-misi-content ul,
.visi-misi-content ol,
.faq-answer-box ul,
.faq-answer-box ol,
.service-detail-rich-content ul,
.service-detail-rich-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.content-article img,
.rich-text-content img,
.visi-misi-content img,
.faq-answer-box img,
.service-detail-rich-content img,
.content-article video,
.rich-text-content video,
.visi-misi-content video,
.faq-answer-box video,
.service-detail-rich-content video {
  max-width: 100% !important;
  height: auto !important;
}

.content-article figure,
.rich-text-content figure,
.visi-misi-content figure,
.faq-answer-box figure,
.service-detail-rich-content figure {
  margin: 1rem 0;
  max-width: 100%;
}

.content-article figure.image.align-left,
.rich-text-content figure.image.align-left,
.visi-misi-content figure.image.align-left,
.faq-answer-box figure.image.align-left,
.service-detail-rich-content figure.image.align-left {
  margin-right: auto;
  margin-left: 0;
}

.content-article figure.image.align-center,
.rich-text-content figure.image.align-center,
.visi-misi-content figure.image.align-center,
.faq-answer-box figure.image.align-center,
.service-detail-rich-content figure.image.align-center {
  margin-right: auto;
  margin-left: auto;
}

.content-article figure.image.align-right,
.rich-text-content figure.image.align-right,
.visi-misi-content figure.image.align-right,
.faq-answer-box figure.image.align-right,
.service-detail-rich-content figure.image.align-right {
  margin-right: 0;
  margin-left: auto;
}

.content-article table,
.rich-text-content table,
.visi-misi-content table,
.faq-answer-box table,
.service-detail-rich-content table {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1rem 0;
}

.content-article th,
.content-article td,
.rich-text-content th,
.rich-text-content td,
.visi-misi-content th,
.visi-misi-content td,
.faq-answer-box th,
.faq-answer-box td,
.service-detail-rich-content th,
.service-detail-rich-content td {
  border: 1px solid #dbe4ef;
  padding: 0.55rem 0.75rem;
}

.content-article [style*='text-align: center'],
.rich-text-content [style*='text-align: center'],
.visi-misi-content [style*='text-align: center'],
.faq-answer-box [style*='text-align: center'],
.service-detail-rich-content [style*='text-align: center'] {
  text-align: center;
}

.content-article [style*='text-align: right'],
.rich-text-content [style*='text-align: right'],
.visi-misi-content [style*='text-align: right'],
.faq-answer-box [style*='text-align: right'],
.service-detail-rich-content [style*='text-align: right'] {
  text-align: right;
}

.content-article [style*='text-align: justify'],
.rich-text-content [style*='text-align: justify'],
.visi-misi-content [style*='text-align: justify'],
.faq-answer-box [style*='text-align: justify'],
.service-detail-rich-content [style*='text-align: justify'] {
  text-align: justify;
}


@keyframes fadeInFaq {
  0% {
    opacity: 0;
    transform: translateY(
      -10px
    ); /* Memberikan efek seolah turun dari pertanyaannya */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
footer {
  background-color: #031226;
  color: #94a3b8;
  font-size: 0.9rem;
}

footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #ffffff;
}

/* Footer biru keabu-abuan agar logo DHKT tetap terbaca jelas. */
.site-footer {
  background-color: #b8cadc;
  color: #0a2540;
}

.site-footer .text-white,
.site-footer .text-light {
  color: #0a2540 !important;
}

.site-footer .social-icon-btn {
  border-color: #a9c3df;
  color: #0a2540;
}

.site-footer .social-icon-btn:hover {
  border-color: #0b63ce;
  background-color: #0b63ce;
  color: #ffffff;
}

.site-footer .footer-divider {
  border-top-color: rgba(10, 37, 64, 0.16);
}

.site-footer .footer-copyright {
  color: #36516d;
  font-size: 0.85rem;
}

/* Tombol kontak cepat WhatsApp pada halaman publik. */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-float i {
  font-size: 2rem;
  line-height: 1;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  background: #1ebe5d;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.32);
  color: #ffffff;
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float i {
    font-size: 1.8rem;
  }
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  border-color: var(--accent-blue);
  background-color: var(--accent-blue);
  color: #ffffff;
}

.footer-divider {
  border-top: 1px solid #1e293b;
  margin: 2rem 0 1.5rem;
}

/* ==========================================================================
   5. HALAMAN UTAMA (<?= base_url('beranda') ?>)
   ========================================================================== */

/* --- Hero Slider Section --- */
.hero-section {
  background-color: #031226;
  color: #ffffff;
  position: relative;
}

.hero-slide-item {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide-item.active,
.hero-slide-item.carousel-item-next,
.hero-slide-item.carousel-item-prev {
  display: flex !important;
  align-items: center;
}

.hero-slide-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 18, 38, 0.92) 0%,
    rgba(3, 18, 38, 0.7) 60%,
    rgba(3, 18, 38, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* --- SECTION: INNOVATION HIGHLIGHTS (BORDERLESS SLIDER DESIGN) --- */
.btn-link-blue {
  color: var(--accent-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  transition: gap 0.2s;
}

.btn-link-blue:hover {
  color: #0046b8;
}

.innovation-slider-wrapper {
  position: relative;
}

#innovationSlider {
  scroll-behavior: smooth;
}

.innovation-card-item {
  flex: 1 1 0;
  min-width: 165px;
  max-width: 100%;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
}

/* Lebar kartu desktop konsisten, termasuk saat data inovasi belum banyak. */
@media (min-width: 768px) {
  #innovationSlider .innovation-card-item {
    flex: 0 0 185px;
    max-width: 185px;
  }
}

.innovation-img-wrapper {
  position: relative;
  width: 100%;
  height: 125px !important;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.innovation-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.58rem !important;
  font-weight: 800;
  padding: 3px 7px !important;
  border-radius: 5px;
  color: #ffffff;
  letter-spacing: 0.4px;
  z-index: 2;
}

.innovation-title {
  font-size: 0.88rem !important;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.3;
  margin: 0;
  min-height: calc(0.88rem * 1.3 * 4);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.innovation-desc {
  font-size: 0.78rem !important;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 10px;
  min-height: calc(0.78rem * 1.45 * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.innovation-card-item > .btn-link-blue {
  margin-top: auto;
}

#innovationSlider {
  gap: 0.85rem !important;
}

.badge-cat-blue {
  background-color: #0066ff;
}
.badge-cat-green {
  background-color: #22c55e;
}
.badge-cat-orange {
  background-color: #ff8a00;
}
.badge-cat-purple {
  background-color: #7c3aed;
}

/* Badge TRL & Status Variations */
.badge-trl-7 {
  background-color: #fef9c3;
  color: #854d0e;
}

.badge-trl-purple,
.badge-status-purple {
  background-color: #f3e8ff;
  color: #6b21a8;
}

/* Sembunyikan Scrollbar Bawaan Browser */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tombol Floating Next Arrow */
.btn-slider-next,
.btn-slider-prev {
  position: absolute;
  right: -18px;
  top: 32%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.btn-slider-next[hidden],
.btn-slider-prev[hidden] {
  display: none !important;
}

.btn-slider-prev { left: -18px; right: auto; }

.btn-slider-next:hover,
.btn-slider-prev:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-50%) scale(1.08);
}

/* --- Section: Explore Categories --- */
.category-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  background: #ffffff;
  text-align: center;
  transition: all 0.2s ease;
  height: 100%;
}

.category-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 8px 20px -6px rgba(0, 102, 255, 0.15);
}

.category-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: #eff6ff;
  color: var(--accent-blue);
  font-size: 24px;
}

/* --- Section: Innovation Magazine --- */
.magazine-card {
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.2s;
}

.magazine-card:hover {
  transform: translateY(-4px);
}

.magazine-card-link { display: block; color: inherit; text-decoration: none; }

.magazine-cover {
  aspect-ratio: 3/4;
  background-color: #0f172a;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.magazine-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Section: Our Partners --- */
.partner-box {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.partner-box:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.partner-box img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(20%);
}

/* ==========================================================================
   HALAMAN TENTANG KAMI
   ========================================================================== */
.sidebar-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0046b8;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.sidebar-item-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  border-radius: 8px;
  text-align: left;
  transition: all 0.2s ease;
  cursor: pointer;
}

.sidebar-item-btn:hover {
  background-color: #f1f5f9;
  color: #0046b8;
}

.sidebar-item-btn.active {
  background-color: #0052cc;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
}

.sidebar-cta-card {
  background-color: #ebf3ff;
  border-radius: 12px;
  padding: 20px;
  margin-top: 36px;
}

.page-header-hero {
  /* Latar yang seragam untuk seluruh halaman dengan breadcrumb. */
  background-image: linear-gradient(
      90deg,
      rgba(3, 24, 56, 0.92) 0%,
      rgba(3, 24, 56, 0.64) 52%,
      rgba(3, 24, 56, 0.24) 100%
    ),
    url("../images/breadcrumb.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Style Breadcrumb */
.custom-breadcrumb {
  font-size: 0.82rem;
  font-weight: 500;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  gap: 0;
}

.custom-breadcrumb .breadcrumb-item {
  white-space: nowrap;
  flex: 0 0 auto;
}

.custom-breadcrumb .breadcrumb-item:last-child {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
  color: inherit;
  padding: 0 0.65rem 0 0.2rem;
  font-weight: 600;
  opacity: 0.8;
}

.custom-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.custom-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.article-breadcrumb {
  font-size: 0.95rem;
}

.article-breadcrumb a,
.article-breadcrumb a.text-muted {
  color: #0052cc !important;
}

.article-breadcrumb a:hover {
  color: #003f9e !important;
}

.article-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #0052cc;
}

@media (max-width: 575.98px) {
  .article-breadcrumb {
    font-size: 0.82rem;
  }

  .custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0.4rem;
    padding-left: 0;
  }
}

/* Navigasi slider beranda: ikon dibuat lebih kecil dari bidang lingkarannya
   agar panah memiliki ruang napas yang seimbang di semua ukuran layar. */
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0 !important;
  background-size: 0.9rem 0.9rem;
  background-position: center;
}

/* Timeline Horizontal */
.timeline-wrapper {
  position: relative;
  padding: 10px 0 20px 0;
}

.timeline-items {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: start;
}

.timeline-line {
  position: absolute;
  /* Mendorong garis ke bawah agar tepat membelah tengah lingkaran node angka */
  top: 61px;
  /* Mengatur panjang garis agar pas dimulai/diakhiri di tengah node pertama dan terakhir */
  left: calc(100% / 14);
  right: calc(100% / 14);
  height: 2px;
  background-color: #b6d4fe;
  z-index: 1;
}

.timeline-item {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  padding: 0 10px;
}

.timeline-year {
  font-weight: 800;
  font-size: 1.15rem;
  color: #0052cc;
  line-height: 1; /* Diubah agar perhitungan tinggi lebih konsisten */
  margin-bottom: 16px; /* Disesuaikan untuk menyeimbangkan jarak ke lingkaran */
}

.timeline-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #0052cc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.timeline-desc {
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  /* 1. Memaksa bungkus utama dan semua elemen grid/flex di dalamnya menjadi blok
vertikal */
  .timeline-wrapper {
    padding: 10px 0 0 !important;
  }

  .timeline-items {
    display: block !important;
  }
  /* 2. Memutus item dari sistem kolom (seperti col-md) agar turun ke bawah */
  .timeline-item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  /* 3. Sembunyikan garis dan lingkaran angka secara permanen */
  .timeline-line,
  .timeline-node {
    display: none !important;
  }

  /* 4. Format Tahun (Di atas teks) */
  .timeline-year {
    display: block !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #0052cc !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
    line-height: 1.2 !important;
  }
  /* 5. Format Teks Deskripsi (Di bawah tahun) */
  .timeline-desc {
    display: block !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    text-align: left !important;
    margin: 0 !important;
    max-width: 100% !important;
    color: #475569 !important;
  }
}
@media (max-width: 991.98px) {
  .timeline-item:last-child {
    margin-bottom: 0 !important;
  }
}

/* Fasilitas dan Infrastruktur */
.facilities-container {
  background-color: #ebf2fa;
  border-radius: 16px;
  padding: 24px;
}

.facility-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.facility-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #003399;
}

.facility-location {
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
}

.facility-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
}

.amenity-item {
  text-align: center;
  flex: 1;
}

.amenity-icon {
  font-size: 1.2rem;
  color: #0052cc;
  margin-bottom: 2px;
}

.amenity-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.2;
}

/* Bottom Impact Bar */
.bottom-impact-bar {
  background: linear-gradient(90deg, #0040a8 0%, #0066ff 45%, #2da85c 100%);
  border-radius: 12px;
  padding: 16px 24px;
  color: white;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.impact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Dynamic Card Styles untuk Tab Lain */
.content-card-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.section-tag-video {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0052cc;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.section-heading-video {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

/* Tab Ekosistem pada halaman Tentang Kami */
.ecosystem-relationship-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0 1.75rem;
}

.ecosystem-org-panel,
.ecosystem-role-panel {
  min-height: 305px;
  padding: 1.05rem;
  border: 2px solid #0b6dcc;
  border-radius: 18px;
}

.ecosystem-org-panel {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background: #0e68bd;
}

.ecosystem-org-panel h3,
.ecosystem-role-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.85rem, 1.08vw, 1rem);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.ecosystem-org-diagram {
  min-height: 0;
  margin-top: 0.35rem;
  position: relative;
  flex: 1 1 auto;
}

.ecosystem-org-lines {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ecosystem-org-lines path,
.ecosystem-role-lines path {
  fill: none;
  stroke: #a9d5ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ecosystem-org-node {
  min-width: 0;
  padding: 0.65rem 0.45rem;
  border: 2px solid #a9d5ff;
  border-radius: 14px;
  color: #ffffff;
  background: #0e68bd;
  font-size: clamp(1rem, 1.65vw, 1.3rem);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.ecosystem-org-node--wrri {
  width: min(40%, 115px);
  padding: 0.6rem 0.4rem;
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 1;
  border: 0;
  background: #96db22;
  transform: translateX(-50%);
}

.ecosystem-org-children {
  width: 100%;
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ecosystem-role-panel {
  display: flex;
  flex-direction: column;
  color: #0e68bd;
  background: #f8fcff;
}

.ecosystem-role-panel h3 {
  color: #0e68bd;
}

.ecosystem-role-flow {
  min-height: 0;
  margin-top: 0.55rem;
  position: relative;
  flex: 1 1 auto;
}

.ecosystem-role-source {
  width: 21%;
  min-width: 80px;
  padding: 0.65rem 0.4rem;
  position: absolute;
  top: 50%;
  left: 1%;
  z-index: 1;
  border: 2px solid #0b6dcc;
  border-radius: 14px;
  color: #0e68bd;
  background: #ffffff;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.ecosystem-role-lines {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ecosystem-role-lines path {
  stroke: #4c98e2;
  stroke-width: 3;
}

.ecosystem-role-destinations {
  width: 68%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
}

.ecosystem-role-destination {
  min-height: 0;
  padding: 0.6rem 0.7rem;
  border: 2px solid #0b6dcc;
  border-radius: 14px;
  background: #f8fcff;
}

.ecosystem-role-destination-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.ecosystem-role-destination-heading strong {
  flex: 0 0 auto;
  color: #0e68bd;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 800;
  line-height: 1;
}

.ecosystem-role-destination-heading span {
  padding-top: 0.08rem;
  color: #0e68bd;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.35;
}

@media (min-width: 440px) and (max-width: 767.98px) {
  .ecosystem-role-destination-heading span {
    white-space: nowrap;
  }
}

.ecosystem-role-destination p {
  margin: 0.45rem 0 0;
  color: #1e293b;
  font-size: 0.58rem;
  line-height: 1.35;
  text-align: justify;
  text-justify: inter-word;
}

.ecosystem-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ecosystem-overview-card {
  min-height: 200px;
  padding: 1.75rem 2rem;
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ecosystem-overview-card--blue {
  background-color: #1068be;
}

.ecosystem-overview-card--green {
  background-color: #95dd26;
}

.ecosystem-overview-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ecosystem-overview-heading i {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 3rem;
  line-height: 1;
}

.ecosystem-overview-heading h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.04;
}

.ecosystem-overview-card p {
  max-width: 520px;
  margin: 1.25rem 0 0;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .ecosystem-relationship-section {
    grid-template-columns: 1fr;
  }

  .ecosystem-org-panel,
  .ecosystem-role-panel {
    min-height: 305px;
  }

  .ecosystem-overview-grid {
    gap: 1.25rem;
  }

  .ecosystem-overview-card {
    min-height: 185px;
    padding: 1.5rem;
  }

  .ecosystem-overview-heading {
    gap: 1.4rem;
  }

  .ecosystem-overview-heading i {
    font-size: 3.25rem;
  }
}

@media (max-width: 767.98px) {
  .ecosystem-relationship-section {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .ecosystem-org-panel,
  .ecosystem-role-panel {
    min-height: 0;
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  .ecosystem-org-diagram {
    min-height: 260px;
    margin-top: 1.25rem;
  }

  .ecosystem-org-node {
    padding: 1rem 0.35rem;
    border-width: 2px;
    border-radius: 15px;
  }

  .ecosystem-org-node--wrri {
    width: min(56%, 180px);
    padding: 1rem 0.5rem;
  }

  .ecosystem-org-children {
    bottom: 16px;
    gap: 0.85rem;
  }

  .ecosystem-org-lines path {
    stroke-width: 3;
  }

  .ecosystem-role-flow {
    min-height: 0;
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
  }

  .ecosystem-role-source,
  .ecosystem-role-destinations {
    width: auto;
    position: static;
  }

  .ecosystem-role-source {
    min-width: 0;
    padding: 1rem;
    transform: none;
  }

  .ecosystem-role-lines {
    display: none;
  }

  .ecosystem-role-destinations {
    gap: 1rem;
  }

  .ecosystem-role-destination {
    min-height: 0;
    padding: 1.15rem;
    border-radius: 15px;
  }

  .ecosystem-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Blok konten siap pakai dari template TinyMCE. */
.content-article .dkst-rich-text-link {
  margin: 1rem 0;
}

.content-article .dkst-rich-text-link a {
  color: #0066ff;
  font-weight: 700;
  text-decoration: none;
}

.content-article .dkst-rich-text-link a:hover {
  color: #0046b8;
  text-decoration: underline;
}

.content-article .dkst-rich-cta {
  align-items: center;
  background: linear-gradient(100deg, #093987, #3b8a43);
  border-radius: 12px;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 1.5rem 0;
  padding: 24px 30px;
}

.content-article .dkst-rich-cta-copy {
  align-items: center;
  display: flex;
  gap: 16px;
}

.content-article .dkst-rich-cta-copy p {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.content-article .dkst-rich-cta-icon {
  flex: 0 0 auto;
  font-size: 2rem;
  line-height: 1;
}

.content-article .dkst-rich-cta-button,
.content-article .dkst-rich-card a {
  background: #ffffff;
  border-radius: 8px;
  color: #064397;
  display: inline-block;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.content-article .dkst-rich-cta-button:hover {
  background: #eef5ff;
  color: #064397;
}

.content-article .dkst-rich-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.content-article .dkst-rich-card {
  background: #f4f8ff;
  border: 1px solid #d7e5fb;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.content-article .dkst-rich-card h3 {
  color: #063b88;
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.content-article .dkst-rich-card p {
  margin: 0 0 18px;
}

.content-article .dkst-rich-card a {
  align-self: flex-start;
  background: #0066ff;
  color: #ffffff;
  margin-top: auto;
}

.content-article .dkst-rich-card a:hover {
  background: #004fbf;
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .content-article .dkst-rich-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }

  .content-article .dkst-rich-cta-copy {
    align-items: flex-start;
  }

  .content-article .dkst-rich-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Pembaca FlipBook Majalah */
.flipbook-shell {
  min-height: 0;
  background: #10243e;
}

.flipbook-stage {
  /* Buku memiliki ukuran tetap yang responsif dari JavaScript. Panggung tidak
     dibatasi tinggi agar halaman tidak pernah terpotong atau memiliki scroll
     internal pada mode baca biasa. */
  width: min(100%, 900px);
  min-height: 0;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.flipbook {
  visibility: hidden;
  transition: transform .2s ease;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .24));
}

.flipbook.is-ready {
  visibility: visible;
}

.flip-page {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.flip-page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flip-page-placeholder {
  color: #64748b;
  font-size: .9rem;
}

.flipbook-loading {
  color: #fff;
}

.flipbook-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: .45rem .55rem;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: .65rem;
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.flipbook-toolbar .btn {
  min-width: 38px;
  min-height: 38px;
  padding: .35rem .5rem;
  flex: 0 0 auto;
  color: #23415f;
  border-color: #c7d4e1;
}

.flipbook-toolbar .btn:hover,
.flipbook-toolbar .btn:focus-visible {
  color: #fff;
  border-color: #0d6efd;
  background: #0d6efd;
}

.flipbook-toolbar .btn.is-active,
.flipbook-toolbar .dropdown-item.active {
  color: #10243e;
  background: #fff;
}

.flipbook-toolbar .dropdown-menu {
  z-index: 1070;
}

.flipbook-toolbar .text-white {
  color: #23415f !important;
}

.flipbook-toolbar-divider {
  width: 1px;
  height: 24px;
  flex: 0 0 auto;
  background: #c7d4e1;
}

.flipbook-page-input {
  width: 58px;
  flex: 0 0 auto;
  text-align: center;
  border-color: #c7d4e1;
  color: #23415f;
}

.flipbook-status {
  min-height: 1.4em;
  padding-top: .5rem;
  color: #fff;
  text-align: center;
  font-size: .875rem;
}

.flipbook-shell:fullscreen {
  padding: 1rem;
  overflow: hidden;
}

.flipbook-shell:fullscreen .container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0 !important;
}

.flipbook-shell:fullscreen .flipbook-stage {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.flipbook-shell:fullscreen .flipbook-controls {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  width: fit-content;
  max-width: calc(100vw - 2rem);
  margin: .4rem auto 0;
}

.flipbook-shell:fullscreen .flipbook-toolbar {
  gap: .25rem;
  padding: .35rem .45rem;
  border-radius: .55rem;
}

.flipbook-shell:fullscreen .flipbook-toolbar .btn {
  min-width: 34px;
  min-height: 34px;
  padding: .22rem .38rem;
  font-size: .82rem;
}

.flipbook-shell:fullscreen .flipbook-page-input {
  width: 52px;
  height: 34px;
  font-size: .82rem;
}

.flipbook-shell:fullscreen .flipbook-toolbar-divider {
  height: 20px;
}

.flipbook-shell:fullscreen .flipbook-status {
  min-height: 0;
  padding-top: .2rem;
  padding-bottom: .35rem;
  font-size: .75rem;
}

/* Slider edisi Majalah pada beranda */
.magazine-slider-wrapper {
  position: relative;
}

.magazine-slider {
  display: flex;
  gap: 1rem;
  padding-bottom: .35rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.magazine-slider .magazine-card-item {
  flex: 0 0 calc((100% - 4rem) / 5);
  min-width: 128px;
}

.magazine-slider .magazine-card-link {
  display: block;
  height: 100%;
}

@media (max-width: 767.98px) {
  .flipbook-stage {
    min-height: 0;
    align-items: flex-start;
  }

  .flipbook-toolbar {
    justify-content: center;
  }

  .flipbook-shell:fullscreen {
    padding: .5rem;
  }

  .flipbook-shell:fullscreen .flipbook-controls {
    max-width: calc(100vw - 1rem);
  }

  .magazine-slider {
    flex-wrap: wrap;
    overflow: visible;
  }

  .magazine-slider .magazine-card-item {
    flex: 0 0 calc(50% - .5rem);
    min-width: 0;
  }
}

@media (max-width: 575.98px) {
  .ecosystem-org-panel h3,
  .ecosystem-role-panel h3 {
    font-size: 1.2rem;
  }

  .ecosystem-org-diagram {
    min-height: 285px;
  }

  .ecosystem-org-node {
    font-size: 1.25rem;
  }

  .ecosystem-org-node--wrri {
    width: 58%;
    font-size: 1.65rem;
  }

  .ecosystem-org-children {
    gap: 0.45rem;
  }

  .ecosystem-role-destination-heading {
    gap: 0.55rem;
  }

  .ecosystem-role-destination-heading span {
    font-size: 0.68rem;
  }

  .ecosystem-role-destination p {
    margin-top: 0.75rem;
    font-size: 0.75rem;
  }

  .ecosystem-overview-card {
    min-height: 0;
    padding: 1.7rem;
    border-radius: 16px;
  }

  .ecosystem-overview-heading h3 {
    font-size: 2rem;
  }

  .ecosystem-overview-card p {
    margin-top: 1.35rem;
    font-size: 0.95rem;
  }
}

/* Tab detail layanan mengikuti pola tab halaman Tentang Kami. */
.service-detail-tabs .list-group-item {
  border-bottom: 1px solid #e2e8f0 !important;
  background-color: transparent;
  color: #0f172a;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-detail-tabs .list-group-item:hover {
  background-color: #eff6ff;
  color: #0047ba;
}

.service-detail-tabs .list-group-item.active,
.service-detail-tabs .list-group-item.active:hover,
.service-detail-tabs .list-group-item.active:focus {
  margin-bottom: 8px;
  border: 0 !important;
  border-radius: 0.5rem;
  background-color: #0047ba;
  color: #ffffff;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 71, 186, 0.2);
}
.partner-logo { max-width: 88%; max-height: 118px; object-fit: contain; }
.partner-button { border: 0; background: #fff; }
.partner-square { aspect-ratio: 1 / 1; padding: 22px; }

.pdf-cover { width: 100%; height: 100%; display: none; object-fit: cover; }
.magazine-cover.is-rendered .pdf-cover { display: block; }
.pdf-cover-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 3rem; }
.magazine-cover.is-rendered .pdf-cover-fallback { display: none; }

/* Tombol kembali pada halaman detail layanan */
.service-back-button {
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #153b8b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.service-back-button:hover {
  background: #0047ba;
  border-color: #0047ba;
  color: #ffffff;
  transform: translateY(-1px);
}

.service-back-button:focus-visible {
  outline: 3px solid rgba(0, 71, 186, .25);
  outline-offset: 2px;
}

.section-subheading-video {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 28px;
}

.badge-letter-box {
  width: 42px;
  height: 42px;
  background-color: #eef2ff;
  color: #0052cc;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.leadership-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0052cc;
  margin-bottom: 12px;
}

/* Leadership */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 1.5rem;
}

.leadership-profile {
  display: grid;
  grid-template-rows: auto minmax(2.7em, auto) 1fr;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 2.25rem;
}

/* Nama mengikuti tinggi teks terpanjang per baris, tanpa gap menuju jabatan. */
@supports (grid-template-rows: subgrid) {
  .leadership-profile {
    grid-row: span 3;
    grid-template-rows: subgrid;
  }
}

.leadership-photo {
  width: 100%;
  height: clamp(180px, 14vw, 245px) !important;
  display: block;
  border-radius: 7px;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 12px;
}

.leadership-name {
  margin: 0;
  color: #0052cc;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
}

.leadership-role {
  margin: 0;
  color: #25364d;
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leadership-photo {
    height: auto !important;
    aspect-ratio: 460 / 365;
  }
}

@media (max-width: 575.98px) {
  .leadership-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .leadership-profile {
    grid-row: auto;
    grid-template-rows: auto auto auto;
  }

  .leadership-name {
    font-size: 0.9rem !important;
  }
}

.org-top-box {
  background-color: #0052cc;
  color: white;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
}

.org-child-box {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 16px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Struktur organisasi - hierarki jabatan */
.org-chart-canvas {
  width: 100%;
  min-width: 960px;
  padding: 0 18px 20px;
  position: relative;
}

.org-node {
  min-height: 82px;
  padding: 16px 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #1d639a;
  box-shadow: 4px 6px 9px rgba(15, 50, 84, 0.22);
  text-align: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.42;
}

.org-node[href] {
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.org-node[href]:hover {
  color: #ffffff;
  background: #135584;
  box-shadow: 5px 8px 13px rgba(15, 50, 84, 0.28);
  transform: translateY(-3px);
}

.org-node-director {
  width: 320px;
  min-height: 67px;
  margin: 0 auto;
  background: #3da6f5;
  box-shadow: 4px 6px 9px rgba(15, 77, 134, 0.2);
}

.org-node-director::after {
  width: 1px;
  height: 230px;
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  background: #a8c8e3;
}

.org-node-secretary {
  width: 220px;
  min-height: 106px;
  position: absolute;
  top: 134px;
  left: calc(50% + 64px);
}

.org-node-secretary::before {
  width: 48px;
  height: 1px;
  position: absolute;
  top: 50%;
  right: 100%;
  content: "";
  background: #a8c8e3;
}

.org-deputy-level {
  margin-top: 257px;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.org-deputy-level::before {
  width: 50%;
  height: 1px;
  position: absolute;
  top: -27px;
  left: 12.5%;
  content: "";
  background: #a8c8e3;
}

.org-deputy-level .org-node::before,
.org-unit-branch::before {
  width: 1px;
  height: 27px;
  position: absolute;
  bottom: 100%;
  left: 50%;
  content: "";
  background: #a8c8e3;
}

.org-subdirector-level {
  margin-top: 62px;
  padding: 0 8%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
}

.org-subdirector-level::before {
  width: 78%;
  height: 1px;
  position: absolute;
  top: -29px;
  left: 11%;
  content: "";
  background: #a8c8e3;
}

.org-subdirector-level::after {
  width: 1px;
  height: 33px;
  position: absolute;
  top: -62px;
  left: 50%;
  content: "";
  background: #a8c8e3;
}

.org-unit-branch {
  position: relative;
}

.org-section-list {
  margin-top: 28px;
  margin-left: 16px;
  padding-left: 40px;
  position: relative;
  display: grid;
  gap: 26px;
}

.org-section-list::before {
  width: 1px;
  height: calc(100% - 28px);
  position: absolute;
  top: -28px;
  left: 0;
  content: "";
  background: #a8c8e3;
}

.org-node-section {
  min-height: 100px;
  font-size: 0.78rem;
}

.org-node-section::before {
  width: 40px;
  height: 1px;
  position: absolute;
  top: 50%;
  right: 100%;
  content: "";
  background: #a8c8e3;
}

@media (max-width: 991.98px) {
  .org-chart {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .org-chart-canvas {
    min-width: 960px;
    padding: 0 18px 20px;
  }
}

/* Bagan struktur organisasi */
.org-chart {
  margin-top: 2rem;
  text-align: center;
}

.org-chart-top {
  display: flex;
  justify-content: center;
}

.org-chart-node {
  min-height: 132px;
  padding: 20px 26px;
  position: relative;
  border: 1px solid #cbd9ed;
  border-radius: 12px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  color: #0f2a50;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(19, 69, 130, 0.06);
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.org-chart-node:hover {
  border-color: #1769d1;
  color: #0f2a50;
  box-shadow: 0 9px 22px rgba(19, 90, 181, 0.14);
  transform: translateY(-3px);
}

.org-chart-node strong {
  padding-right: 16px;
  display: block;
  font-size: 0.9rem;
  line-height: 1.38;
}

.org-chart-node small {
  margin-top: 9px;
  display: block;
  color: #647a99;
  font-size: 0.76rem;
  line-height: 1.4;
}

.org-chart-node .bi {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #1769d1;
  font-size: 0.82rem;
}

.org-chart-director {
  width: min(100%, 315px);
  min-height: 118px;
  border-color: #0758c7;
  color: #ffffff;
  background: #0758c7;
  box-shadow: 0 8px 18px rgba(0, 82, 204, 0.22);
}

.org-chart-director:hover {
  border-color: #0047b5;
  color: #ffffff;
  background: #004fbf;
}

.org-chart-director .org-chart-label {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.org-chart-director small,
.org-chart-director .bi {
  color: rgba(255, 255, 255, 0.8);
}

.org-chart-connector {
  width: min(66.66%, 620px);
  height: 33px;
  margin: 0 auto;
  border-bottom: 1px solid #b7c9e2;
  border-left: 1px solid #b7c9e2;
  border-right: 1px solid #b7c9e2;
}

.org-chart-level {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.org-chart-support {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.org-support-node {
  padding: 12px 10px;
  border-radius: 8px;
  color: #506a8f;
  background: #f4f8fd;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .org-chart-level {
    grid-template-columns: 1fr;
  }

  .org-chart-connector {
    width: 1px;
    height: 28px;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .org-chart-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .org-chart {
    margin-top: 1.5rem;
  }

  .org-chart-node {
    min-height: 118px;
    padding: 18px 20px;
  }

  .org-chart-support {
    grid-template-columns: 1fr;
  }
}

.faq-item-btn {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.faq-answer-box {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  background-color: #f8fafc;
  border-radius: 0 0 10px 10px;
  border: 1px solid #e2e8f0;
  border-top: none;
  margin-top: -1px;
}

/* Saat terbuka, tombol dan jawaban menyatu tanpa sudut membulat di sambungannya. */
.faq-item-btn[aria-expanded="true"] {
  border-radius: 10px 10px 0 0;
}

.fasilitas-public-carousel {
  position: relative;
}

.fasilitas-public-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.fasilitas-public-grid.fasilitas-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.fasilitas-public-grid.fasilitas-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.fasilitas-public-grid.fasilitas-count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fasilitas-public-grid.fasilitas-count-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fasilitas-public-grid.fasilitas-count-1 .fasilitas-public-card,
.fasilitas-public-grid.fasilitas-count-2 .fasilitas-public-card {
  flex-direction: row;
  min-height: 180px;
}

.fasilitas-public-grid.fasilitas-count-1 .fasilitas-public-card h4,
.fasilitas-public-grid.fasilitas-count-2 .fasilitas-public-card h4 {
  width: 46%;
  min-height: 0;
}

.fasilitas-public-grid.fasilitas-count-1 .fasilitas-public-card img,
.fasilitas-public-grid.fasilitas-count-2 .fasilitas-public-card img {
  width: 54%;
  height: auto;
}

.fasilitas-public-grid:not(.fasilitas-count-1):not(.fasilitas-count-2):has(.fasilitas-public-card:nth-child(7)) {
  grid-auto-columns: calc((100% - 5rem) / 6);
  grid-auto-flow: column;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.fasilitas-public-grid:not(.fasilitas-count-1):not(.fasilitas-count-2):has(.fasilitas-public-card:nth-child(7))::-webkit-scrollbar {
  display: none;
}

.fasilitas-public-card {
  display: flex;
  min-width: 150px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #fff;
}

.fasilitas-public-card h4 {
  display: flex;
  min-height: 72px;
  margin: 0;
  padding: 12px 14px;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.fasilitas-public-card h4 i {
  flex: 0 0 auto;
  color: #0759c8;
}

.fasilitas-public-card img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.fasilitas-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #dbe4ee;
  border-radius: 50%;
  place-items: center;
  color: #0f3f82;
  background: #ffffff;
  box-shadow: 0 4px 12px rgb(15 23 42 / 15%);
  transform: translateY(-50%);
}

.fasilitas-carousel-control:hover {
  color: #ffffff;
  background: #0759c8;
}

.fasilitas-carousel-prev {
  left: -21px;
}

.fasilitas-carousel-next {
  right: -21px;
}

@media (max-width: 767.98px) {
  .fasilitas-public-grid,
  .fasilitas-public-grid.fasilitas-count-1,
  .fasilitas-public-grid.fasilitas-count-2,
  .fasilitas-public-grid.fasilitas-count-3,
  .fasilitas-public-grid.fasilitas-count-4,
  .fasilitas-public-grid.fasilitas-count-5 {
    grid-auto-columns: unset;
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
  }

  .fasilitas-public-card,
  .fasilitas-public-grid.fasilitas-count-1 .fasilitas-public-card,
  .fasilitas-public-grid.fasilitas-count-2 .fasilitas-public-card {
    flex-direction: column;
    min-height: 0;
  }

  .fasilitas-public-card h4,
  .fasilitas-public-grid.fasilitas-count-1 .fasilitas-public-card h4,
  .fasilitas-public-grid.fasilitas-count-2 .fasilitas-public-card h4 {
    width: 100%;
    min-height: 60px;
  }

  .fasilitas-public-card img,
  .fasilitas-public-grid.fasilitas-count-1 .fasilitas-public-card img,
  .fasilitas-public-grid.fasilitas-count-2 .fasilitas-public-card img {
    width: 100%;
    height: 180px;
  }

  .fasilitas-carousel-prev {
    left: 8px;
  }

  .fasilitas-carousel-next {
    right: 8px;
  }
}

/* Override reset editor agar jawaban FAQ tetap memiliki ruang baca yang cukup. */
.faq-answer-box.rich-text-content > :first-child {
  margin-top: 0;
}

.faq-answer-box.rich-text-content > :last-child {
  margin-bottom: 0;
}

/* 1. Kunci posisi Impact Bar agar TIDAK BERUBAH-UBAH di semua tab */
@media (min-width: 992px) {
  .tab-content-wrapper {
    /* Angka ini dikunci agar semua tab punya tinggi persis sama. 
       Silakan atur angka 290px ini (misal: 280px - 300px) untuk menaikkan/menurunkan posisi Impact Bar secara permanen */
    min-height: 290px !important;
    display: flex;
    flex-direction: column;
  }

  .tab-content-panel {
    height: 100%;
  }
}

/* 2. Mendorong Impact Bar ke paling bawah dari tinggi 290px tadi */
.bottom-impact-bar {
  margin-top: auto !important;
}

/* ==========================================================================
   HALAMAN LAYANAN
   ========================================================================== */
/* 

/* Services Grid Layout */
.services-grid-section {
  padding-bottom: 60px;
}

.services-grid-4 {
  display: grid;
  /* Default untuk layar HP (Mobile-first): 1 Kolom */
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  /* Untuk layar Tablet: 2 Kolom */
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  /* Untuk layar Desktop/Laptop: 4 Kolom */
  .services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Service Card Item */
.service-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Lihat Layanan Top Link */
.service-card-top-link {
  margin-bottom: 16px;
}

.service-sub-list li svg {
  width: 16px;
  height: 16px;
  stroke: #0759c8;
  flex-shrink: 0;
}

.lihat-layanan-link {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.lihat-layanan-link:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

/* Service Header Theme Customization */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  flex-shrink: 0;
}

.blue-theme .service-icon {
  background-color: #1d4ed8;
}
.green-theme .service-icon {
  background-color: #16a34a;
}
.purple-theme .service-icon {
  background-color: #9333ea;
}
.orange-theme .service-icon {
  background-color: #ea580c;
}

.service-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.service-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow-wrap: break-word;
}

.service-sub-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.service-sub-list li {
  font-size: 13px;
  color: #334155;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-sub-list li i {
  color: #0759c8;
  flex: 0 0 16px;
  font-size: 16px;
}

.service-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px; /* Lengkungan kartu sedikit diperbesar agar lebih manis */
  padding: 24px 24px 0 24px; /* Hapus padding bawah agar foto menempel menyentuh dasar */
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden; /* Mengunci foto agar border-radius mengikuti lengkungan .service-card-item */
}

.service-card-img {
  margin: 0 -24px 0 -24px; /* Menarik foto ke kiri dan kanan mengabaikan padding */
  border-radius: 0; /* Dinolkan karena lengkungan sudah diatur oleh parent (overflow: hidden) */
  height: 160px;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card-item:hover .service-card-img img {
  transform: scale(1.05);
}

/* Facilities & Infrastructure Section Style */
.facilities-card-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.facilities-top-link {
  margin-bottom: 16px;
}

.facilities-grid-6 {
  display: grid;
  /* Default untuk layar HP (Mobile-first): 2 Kolom (agar gambar tidak terlalu besar/panjang) */
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  /* Untuk layar Tablet: 3 Kolom */
  .facilities-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  /* Untuk layar Desktop/Laptop: 6 Kolom */
  .facilities-grid-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

.facility-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0; /* Menghapus padding 16px bawaan agar foto menempel ke tepi */
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  overflow: hidden; /* Memotong foto agar mengikuti lengkungan border-radius parent */
}

/* Membuat kelas baru khusus untuk membungkus ikon dan judul bersampingan */
.facility-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.facility-icon {
  font-size: 16px;
  color: #1d4ed8;
  display: flex;
}

.facility-item span {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.facility-thumb {
  width: 100%;
  height: 90px;
  border-radius: 0;
  margin-top: 0; /* Menghilangkan jarak atas */
  flex-grow: 1;
}

/* 2. Penyesuaian Banner Konsultasi */
.consultation-banner-box {
  /* Gradasi dari kiri (biru tua) ke kanan (hijau) sesuai gambar */
  background: linear-gradient(90deg, #063989 0%, #205c6a 45%, #428945 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.consultation-text {
  font-size: 1rem;
  font-weight: 500; /* Font reguler/medium, tidak terlalu tebal */
  line-height: 1.4;
  margin: 0;
}

.btn-consultation {
  background-color: #ffffff;
  color: #063989; /* Warna teks menyesuaikan biru dominan di kiri */
  border: none;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

.btn-consultation:hover {
  background-color: #f8fafc;
  color: #042761;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .consultation-text br {
    display: none; /* Menyembunyikan jeda baris paksa di mobile agar teks mengalir natural */
  }
  .consultation-banner-box {
    text-align: center; /* Menengahkan elemen di mobile */
  }
  .consultation-content-wrapper {
    flex-direction: column; /* Ikon di atas teks pada mobile */
  }
}

/* ==========================================================================
   HALAMAN DAMPAK
   ========================================================================== */

.impact-page-main {
  background-color: #f8f9fa;
}

/* Card General Style */
.impact-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  height: 100%;
  border: 1px solid #f1f3f5;
  border-top: 5px solid;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}
.impact-card.blue {
  border-top-color: #1d4ed8;
}
.impact-card.green {
  border-top-color: #15803d;
}
.impact-card.purple {
  border-top-color: #6b21a8;
}
.impact-card.orange {
  border-top-color: #c2410c;
}
.impact-card.teal {
  border-top-color: #0f766e;
}

.impact-card-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.25rem;
}

/* Icon Circle Style */
.impact-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}
.blue .impact-icon-circle {
  background: #1d4ed8;
}
.green .impact-icon-circle {
  background: #15803d;
}
.purple .impact-icon-circle {
  background: #6b21a8;
}
.orange .impact-icon-circle {
  background: #c2410c;
}
.teal .impact-icon-circle {
  background: #0f766e;
}

.impact-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #212529;
  text-transform: uppercase;
  line-height: 1.3;
}
.impact-card-desc {
  font-size: 0.8rem;
  color: #6c757d;
  line-height: 1.4;
  margin: 0;
}

/* List Style */
.impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}
.impact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e9ecef;
  font-size: 0.8rem;
}
.impact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.impact-list-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #495057;
}
.impact-list-label i {
  opacity: 0.7;
  width: 14px;
  text-align: center;
  font-size: 0.85rem;
}

.blue .impact-list-label i {
  color: #1d4ed8;
}
.green .impact-list-label i {
  color: #15803d;
}
.purple .impact-list-label i {
  color: #6b21a8;
}
.orange .impact-list-label i {
  color: #c2410c;
}

.impact-list-value {
  font-weight: 800;
  color: #212529;
}

/* =========================================
         CENTRAL CIRCLE & CONNECTING LINES CSS 
         ========================================= */
.central-circle-wrapper {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 6deg,
    #15803d 6deg 66deg,
    /* Green */ transparent 66deg 78deg,
    #c2410c 78deg 138deg,
    /* Orange */ transparent 138deg 150deg,
    #0f766e 150deg 210deg,
    /* Teal */ transparent 210deg 222deg,
    #6b21a8 222deg 282deg,
    /* Purple */ transparent 282deg 294deg,
    #1d4ed8 294deg 354deg,
    /* Blue */ transparent 354deg 360deg
  );
  padding: 12px;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}
.central-circle-inner {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
}

/* Nodes on the Ring */
.circle-node {
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  border: 4px solid;
  top: 50%;
  left: 50%;
  margin-top: -11px;
  margin-left: -11px;
  z-index: 10;
}
.node-green {
  border-color: #15803d;
  transform: rotate(36deg) translateY(-165px) rotate(-36deg);
}
.node-orange {
  border-color: #c2410c;
  transform: rotate(108deg) translateY(-165px) rotate(-108deg);
}
.node-teal {
  border-color: #0f766e;
  transform: rotate(180deg) translateY(-165px) rotate(-180deg);
}
.node-purple {
  border-color: #6b21a8;
  transform: rotate(252deg) translateY(-165px) rotate(-252deg);
}
.node-blue {
  border-color: #1d4ed8;
  transform: rotate(324deg) translateY(-165px) rotate(-324deg);
}

/* Connecting Lines (Desktop Only) */
.line-out {
  position: absolute;
  z-index: -1;
}
.line-blue {
  width: 350px;
  height: 2px;
  background: #1d4ed8;
  top: 10px;
  right: 11px;
}
.line-purple {
  width: 350px;
  height: 2px;
  background: #6b21a8;
  top: 10px;
  right: 11px;
}
.line-green {
  width: 350px;
  height: 2px;
  background: #15803d;
  top: 10px;
  left: 11px;
}
.line-orange {
  width: 350px;
  height: 2px;
  background: #c2410c;
  top: 10px;
  left: 11px;
}
.line-teal {
  width: 2px;
  height: 120px;
  background: #0f766e;
  top: 11px;
  left: 10px;
}

@media (max-width: 991px) {
  .line-out {
    display: none;
  }
  .central-circle-wrapper {
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
    transform: scale(0.9);
  }
  .node-green {
    transform: rotate(36deg) translateY(-140px) rotate(-36deg);
  }
  .node-orange {
    transform: rotate(108deg) translateY(-140px) rotate(-108deg);
  }
  .node-teal {
    transform: rotate(180deg) translateY(-140px) rotate(-180deg);
  }
  .node-purple {
    transform: rotate(252deg) translateY(-140px) rotate(-252deg);
  }
  .node-blue {
    transform: rotate(324deg) translateY(-140px) rotate(-324deg);
  }
}

/* Ecosystem Stats (Card 5) */
.ecosystem-stats-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.eco-stat-item {
  text-align: center;
  flex: 1;
  min-width: 80px;
}
.eco-stat-icon {
  font-size: 1.4rem;
  color: #0f766e;
  margin-bottom: 0.4rem;
}
.eco-stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 0.1rem;
}
.eco-stat-label {
  font-size: 0.7rem;
  color: #6c757d;
  font-weight: 600;
}

/* Vision Box */
.vision-box {
  background: #0a2540;
  color: #fff;
  border-radius: 16px;
  position: relative;
  z-index: 10;
}
.data-source-note {
  text-align: center;
  font-size: 0.75rem;
  color: #adb5bd;
  margin-top: 2rem;
}
@media (max-width: 991px) {
  /* Menghilangkan bungkus kolom pada mobile agar kartu bisa diurutkan ulang */
  .column-contents-mobile {
    display: contents !important;
  }

  /* Memastikan row utama berjalan sebagai kolom vertikal pada mobile */
  .mobile-flex-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important; /* Tambahkan baris ini */
  }

  /* Pastikan setiap kartu fleksibel dan mengisi tinggi secara penuh */
  .column-contents-mobile .impact-card {
    display: flex;
    flex-direction: column;
    height: 100% !important;
    /* Tambahkan dua baris di bawah ini untuk menyamakan lebar dengan kartu bawah */
    margin-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: calc(var(--bs-gutter-x) * 0.5);
  }

  /* Membuat daftar list di dalam kartu mengisi ruang sisa secara merata */
  .column-contents-mobile .impact-card .impact-list {
    flex-grow: 1;
  }

  /* Mengurutkan kartu secara spesifik pada perangkat mobile */
  .order-m-1 {
    order: 1 !important;
    margin-bottom: 1.5rem !important;
  }
  .order-m-2 {
    order: 2 !important;
    margin-bottom: 1.5rem !important;
  }
  .order-m-3 {
    order: 3 !important;
    margin-bottom: 1.5rem !important;
  }
  .order-m-4 {
    order: 4 !important;
    margin-bottom: 1.5rem !important;
  }
}
/* ==========================================================================
   HALAMAN INOVASI (PORTFOLIO)
   ========================================================================== */

/* Filter Container */
.filter-container {
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

.btn-filter {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0052cc;
  background-color: transparent;
  border: none;
  border-radius: 50rem;
  padding: 8px 20px;
  transition: all 0.2s ease;
}

.btn-filter:hover {
  background-color: #f1f5f9;
  color: #0046b8;
}

.btn-filter.active {
  background-color: #ebf3ff;
  color: #0052cc;
}

/* Portfolio Card */
.portfolio-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.1);
}

.content-card-link {
  cursor: pointer;
}

.content-card-link:focus-visible {
  outline: 3px solid rgba(0, 82, 204, 0.35);
  outline-offset: 3px;
}

.portfolio-img-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f8fafc;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-box img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  color: #0052cc;
  background-color: #ebf3ff;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 12px;
}

.portfolio-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.portfolio-link {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0052cc;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
  gap: 4px;
}

.portfolio-link:hover {
  color: #003d99;
  gap: 8px; /* Memberikan efek panah bergeser saat hover */
}

/* Ekosistem */
.ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.9fr);
  align-items: start;
  gap: 28px;
}

.ecosystem-visual {
  overflow: hidden;
  border-radius: 14px;
  background: #f6f9fd;
}

.ecosystem-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.ecosystem-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ecosystem-role-card {
  min-height: 198px;
  padding: 18px;
  border-radius: 11px;
  background: #cfe5fa;
}

.ecosystem-role-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #175fa8;
  background: #91c6f3;
  font-size: 1.05rem;
}

.ecosystem-role-card h4 {
  margin: 0 0 7px;
  color: #173b72;
  font-size: 0.93rem;
  font-weight: 800;
}

.ecosystem-role-card p {
  margin: 0;
  color: #102d57;
  font-size: 0.73rem;
  line-height: 1.46;
}

/* Kolaborasi */
.collaboration-list {
  display: grid;
  gap: 30px;
}

.collaboration-item h4,
.collaboration-item h5 {
  margin: 0 0 11px;
  color: #0758b8;
  font-weight: 800;
  line-height: 1.25;
}

.collaboration-item h4 {
  font-size: 1.23rem;
}

.collaboration-item h5 {
  margin-top: -3px;
  font-size: 0.98rem;
  font-style: italic;
  text-decoration: underline;
}

.collaboration-image-frame {
  padding: 10px;
  overflow: hidden;
  background: #ffffff;
}

.collaboration-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.collaboration-item-prime {
  width: min(100%, 850px);
}

@media (max-width: 767.98px) {
  .collaboration-list {
    gap: 24px;
  }

  .collaboration-item h4 {
    font-size: 1.05rem;
  }

  .collaboration-item h5 {
    font-size: 0.9rem;
  }

  .collaboration-image-frame {
    padding: 6px;
    border-radius: 14px;
  }
}

@media (max-width: 1199.98px) {
  .ecosystem-layout {
    grid-template-columns: 1fr;
  }

  .ecosystem-role-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ecosystem-role-card {
    min-height: 0;
  }
}

@media (max-width: 767.98px) {
  .ecosystem-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 475.98px) {
  .ecosystem-role-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-role-card {
    padding: 17px;
  }
}

/* Struktur organisasi: kanvas dan konektor tunggal */
.org-chart {
  overflow-x: auto;
  padding: 12px 0 24px;
  text-align: initial;
  -webkit-overflow-scrolling: touch;
}

.org-chart-canvas {
  width: 1100px;
  min-width: 1100px;
  height: 760px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.org-chart-lines {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.org-chart-lines path {
  fill: none;
  stroke: #b8cee5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.org-chart-canvas .org-deputy-level,
.org-chart-canvas .org-subdirector-level,
.org-chart-canvas .org-unit-branch,
.org-chart-canvas .org-section-list {
  display: contents;
}

.org-chart-canvas .org-node,
.org-chart-canvas .org-node-director,
.org-chart-canvas .org-node-secretary {
  min-height: 0;
  margin: 0;
  padding: 14px 16px;
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd8e8;
  border-radius: 10px;
  color: #172033;
  background: #ffffff;
  box-shadow: none;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.38;
}

.org-chart-canvas .org-node::before,
.org-chart-canvas .org-node::after,
.org-chart-canvas .org-deputy-level::before,
.org-chart-canvas .org-subdirector-level::before,
.org-chart-canvas .org-subdirector-level::after,
.org-chart-canvas .org-unit-branch::before,
.org-chart-canvas .org-section-list::before,
.org-chart-canvas .org-node-section::before {
  display: none;
  content: none;
}

.org-chart-canvas .org-node[href]:hover {
  border-color: #0b5ed7;
  color: #0b5ed7;
  background: #f7fbff;
  box-shadow: 0 5px 14px rgba(13, 91, 189, 0.12);
  transform: translateY(-2px);
}

.org-chart-canvas .org-node-director {
  width: 280px;
  height: 68px;
  top: 0;
  left: 410px;
  border-color: #0758cf;
  border-radius: 13px;
  color: #ffffff;
  background: #0758cf;
  box-shadow: 0 8px 18px rgba(0, 82, 204, 0.18);
  font-size: 1rem;
}

.org-chart-canvas .org-node-director:hover {
  color: #ffffff;
  background: #004bb5;
}

.org-chart-canvas .org-node-secretary {
  width: 210px;
  height: 82px;
  top: 114px;
  left: 650px;
}

.org-chart-canvas .org-deputy-level > .org-node:nth-child(1) {
  width: 320px;
  height: 86px;
  top: 265px;
  left: 0;
}

.org-chart-canvas .org-deputy-level > .org-node:nth-child(2) {
  width: 300px;
  height: 86px;
  top: 265px;
  left: 400px;
}

.org-chart-canvas .org-deputy-level > .org-node:nth-child(3) {
  width: 280px;
  height: 86px;
  top: 265px;
  left: 810px;
}

.org-chart-canvas .org-unit-branch:nth-child(1) > .org-node-primary {
  width: 300px;
  height: 80px;
  top: 420px;
  left: 15px;
}

.org-chart-canvas .org-unit-branch:nth-child(2) > .org-node-primary {
  width: 280px;
  height: 80px;
  top: 420px;
  left: 410px;
}

.org-chart-canvas .org-unit-branch:nth-child(3) > .org-node-primary {
  width: 300px;
  height: 80px;
  top: 420px;
  left: 795px;
}

.org-chart-canvas .org-unit-branch:nth-child(1) .org-node-section {
  width: 260px;
  height: 82px;
  left: 55px;
}

.org-chart-canvas .org-unit-branch:nth-child(2) .org-node-section {
  width: 250px;
  height: 82px;
  left: 440px;
}

.org-chart-canvas .org-unit-branch:nth-child(3) .org-node-section {
  width: 260px;
  height: 82px;
  left: 835px;
}

.org-chart-canvas .org-section-list .org-node-section:nth-child(1) {
  top: 555px;
}

.org-chart-canvas .org-section-list .org-node-section:nth-child(2) {
  top: 660px;
}

@media (max-width: 1199.98px) {
  .org-chart-canvas {
    margin: 0;
  }
}

@media (min-width: 1200px) {
  .org-chart {
    overflow: hidden;
  }

  .org-chart-canvas {
    zoom: 0.9;
  }
}

/* Proporsi desktop halaman Tentang Kami.
   Konten berada pada kolom 9/12 setelah margin global diseragamkan, sehingga
   elemen yang sebelumnya dirancang untuk lebar penuh perlu diringkas. */
@media (min-width: 992px) {
  #tab-sejarah > .bg-white {
    padding: 2rem !important;
  }

  #tab-sejarah > .bg-white > h2 {
    margin-bottom: 2.5rem !important;
    font-size: 1.75rem !important;
  }

  .timeline-wrapper {
    padding-bottom: 8px;
  }

  .timeline-line {
    top: 53px;
  }

  .timeline-item {
    padding: 0 6px;
  }

  .timeline-year {
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .timeline-node {
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  .timeline-desc {
    max-width: 96%;
    font-size: 0.72rem;
    line-height: 1.48;
  }

  .facilities-container {
    padding: 18px;
  }

  .facilities-container .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .facilities-container .bg-white {
    padding: 0.85rem !important;
  }

  .facility-img {
    height: 112px;
  }

  .facility-title {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .facility-location,
  .facility-desc {
    font-size: 0.66rem;
    line-height: 1.4;
  }

  .amenity-icon {
    font-size: 1rem;
  }

  .amenity-label {
    font-size: 0.56rem;
  }

  #tab-leadership .content-card-box,
  #tab-struktur .content-card-box,
  #tab-ekosistem .content-card-box,
  #tab-visimisi .content-card-box,
  #tab-faq .content-card-box {
    padding: 28px;
  }

  #tab-leadership .section-heading-video,
  #tab-struktur .section-heading-video,
  #tab-ekosistem .section-heading-video,
  #tab-visimisi .section-heading-video,
  #tab-faq .section-heading-video {
    font-size: 1.45rem;
    margin-bottom: 8px;
  }

  #tab-leadership .section-subheading-video,
  #tab-struktur .section-subheading-video,
  #tab-ekosistem .section-subheading-video {
    margin-bottom: 20px;
    font-size: 0.82rem;
  }

  .leadership-grid {
    column-gap: 1rem;
  }

  .leadership-photo {
    height: clamp(140px, 11vw, 190px) !important;
  }

  .leadership-name {
    margin: 0;
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
  }

  .leadership-role {
    font-size: 0.66rem !important;
    line-height: 1.32 !important;
  }

  .ecosystem-overview-grid {
    gap: 1rem;
  }

  .ecosystem-overview-card {
    min-height: 158px;
    padding: 1.2rem 1.35rem;
    border-radius: 13px;
  }

  .ecosystem-overview-heading {
    gap: 1rem;
  }

  .ecosystem-overview-heading i {
    font-size: 2.35rem;
  }

  .ecosystem-overview-heading h3 {
    font-size: 1.45rem;
  }

  .ecosystem-overview-card p {
    margin-top: 0.8rem;
    font-size: 0.74rem;
    line-height: 1.35;
  }
}

/* Mulai tablet lebar, bagan diperkecil sebagai satu kanvas agar seluruh
   struktur terlihat. Di ponsel, kanvas asli dipertahankan dan dapat digeser. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .org-chart {
    overflow: hidden;
  }

  .org-chart-canvas {
    min-width: 0;
    zoom: 0.46;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .org-chart {
    overflow: hidden;
  }

  .org-chart-canvas {
    min-width: 0;
    zoom: 0.50;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .org-chart-canvas {
    min-width: 0;
    zoom: 0.57;
  }
}

@media (min-width: 1400px) {
  .org-chart-canvas {
    min-width: 0;
    zoom: 0.64;
  }
}

@media (max-width: 767.98px) {
  .org-chart {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .org-chart-canvas {
    width: 1100px;
    min-width: 1100px;
    zoom: 1;
  }
}

/* Innovation Highlights: ringkas di layar mobile agar isi kartu tetap mudah dibaca. */
@media (max-width: 767.98px) {
  #innovationSlider {
    flex-direction: column;
    gap: 24px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  #innovationSlider .innovation-card-item {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  #innovationSlider .innovation-card-item:nth-child(n + 3) {
    display: none;
  }
}

/* Pop-up informasi website. */
.dkst-site-popup .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

.dkst-site-popup .modal-header {
  border-bottom: 0;
  padding: 22px 24px 10px;
}

.dkst-site-popup-image {
  display: block;
  max-height: 360px;
  object-fit: contain;
  width: 100%;
}

.dkst-site-popup-content {
  padding: 20px 4px 0;
}

.dkst-site-popup .modal-footer {
  border-top: 0;
  padding: 10px 24px 24px;
}

@media (max-width: 575.98px) {
  .dkst-site-popup .modal-dialog {
    margin: 12px;
  }

  .dkst-site-popup-image {
    max-height: 250px;
  }
}
/* Label SDG pada detail Berita dan Inovasi, di atas gambar highlight. */
.article-sdg-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.article-sdg-item {
  flex: 0 0 auto;
}

.article-sdg-logo {
  display: block;
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.15);
}

@media (max-width: 575.98px) {
  .article-sdg-logo {
    border-radius: 8px;
  }
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  margin-bottom: 32px;
  border-top: 1px solid #e9ecef;
}

.article-tags-label {
  margin-right: 8px;
  color: #4b5563;
  white-space: nowrap;
}

.article-tag {
  display: inline-block;
  max-width: 100%;
  padding: 7px 16px;
  border-radius: 3px;
  background: #eee;
  color: #192538;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.profile-card {
  height: 100%;
  overflow-wrap: anywhere;
}

.profile-card:focus-visible {
  outline: 3px solid #0d6efd;
  outline-offset: 4px;
}

.profile-detail-logo {
  display: block;
  width: 200px;
  max-width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.service-group-tabs .nav-link {
  border: 1px solid #dbe5f1;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  text-align: left;
  white-space: normal;
}

.service-group-tabs .nav-link:focus-visible {
  outline: 3px solid #86b7fe;
  outline-offset: 3px;
}

.service-group-tabs .nav-link.active,
.service-group-tabs .nav-link.active:hover {
  color: #fff !important;
  background-color: #0052cc;
  border-color: #0052cc;
}

@media (max-width: 575.98px) {
  .service-group-tabs .nav-item {
    flex: 1 1 100%;
  }

  .service-group-tabs .nav-link {
    width: 100%;
  }
}
