/* Widya Climago: Health Sciences header and footer refinements. */
.main-header {
  background: #fff;
  border-top: 4px solid #087ba4;
  border-bottom: 1px solid #dce6eb;
  box-shadow: 0 3px 14px rgba(17, 54, 73, .05);
}
.main-header .navbar { padding: 16px 0; }
.main-header .navbar-brand { max-width: calc(100% - 64px); margin: 0; }
.main-header .navbar-brand img {
  width: 100%; height: auto; max-width: 720px; max-height: none;
}
.main-header .navbar-toggler {
  padding: 9px; border: 1px solid #cbdce5; border-radius: 6px;
}
.main-header .navbar-nav { gap: 4px; }
.main-header .nav-link {
  border-radius: 6px; font-weight: 600; letter-spacing: .025em;
}
.main-header a:focus-visible, .main-header button:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #42b8dc; outline-offset: 3px;
}
.main-header .navbar-light .navbar-nav .nav-link:hover,
.main-header .navbar-light .navbar-nav .nav-link:focus {
  color: #086a90; background: #edf6fa;
}
.main-header .dropdown-menu {
  box-shadow: 0 10px 28px rgba(17, 54, 73, .12);
}
@media (min-width: 992px) {
  .main-header > .container { padding: 48px 24px 0; }
  .main-header .navbar-logo { max-width: 100%; padding: 12px 0 24px; }
  .main-header .navbar-logo img {
    display: block; width: 100%; max-width: 1000px;
    height: auto; max-height: none; margin: 0 auto;
  }
  .main-header .navbar { padding: 0; border-top: 1px solid #e5edf1; }
  .main-header #primaryNav {
    justify-content: center; gap: 16px; flex-wrap: wrap; padding: 8px 0;
  }
  .main-header #primaryNav .nav-item { position: relative; }
  .main-header #primaryNav .nav-link { padding: 12px 20px; }
  .main-header #primaryNav .dropdown-menu.show {
    display: block; min-width: 250px; width: max-content;
    max-width: 360px; padding: 8px; border: 1px solid #dce6eb;
    border-radius: 8px; background: #fff; z-index: 1050;
  }
  .main-header #primaryNav .dropdown-item {
    padding: 10px 12px; color: #234354; font-size: 14px;
    text-transform: none; text-align: start; white-space: normal;
    border: 0; border-radius: 4px;
  }
  .main-header #primaryNav .dropdown-item:hover,
  .main-header #primaryNav .dropdown-item:focus {
    background: #edf6fa; color: #086a90;
  }
  .main-header #userNav { top: 10px; right: 24px; gap: 8px; }
  .main-header #userNav .nav-link { padding: 7px 14px; color: #345467; }
  .main-header #userNav .nmi_type_user_login > .nav-link {
    background: #087ba4; color: #fff; border-color: #087ba4;
  }
  .main-header #userNav .dropdown-menu { right: 0; left: auto; }
  .main-header #languageLargeNav { top: 10px; left: 24px; }
}
@media (max-width: 991px) {
  .main-header #main-navbar { margin-top: 16px; padding-top: 12px; border-top: 1px solid #e5edf1; }
  .main-header .nav-link { padding: 12px 14px; }
  .main-header #primaryNav-userNav { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e5edf1; }
  .main-header .dropdown-menu { background: #f4f8fa !important; padding: 6px; box-shadow: none; }
  .main-header .dropdown-item { white-space: normal; padding: 10px 14px; }
}
.site-footer {
  margin-top: 56px; padding: 40px 0 28px;
  background: #15374a; color: #e0ebf1; border-top: 4px solid #1898bc;
  font-size: 14px; line-height: 1.7;
}
.site-footer a { color: #e0ebf1; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer-sidebar { border-color: rgba(255,255,255,.14); padding-bottom: 28px; margin-bottom: 28px; }
.site-footer-sidebar > .row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px; margin: 0;
}
.site-footer-sidebar > .row > .pkp_block {
  width: auto; min-width: 0; padding: 0; margin: 0; flex: none;
}
.site-footer .pkp_block .pkp_block { width: auto; padding: 0; margin: 0; }
.site-footer .pkp_screen_reader {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.site-footer .pkp_block .title {
  font-family: inherit; font-size: 15px; font-weight: 700;
  color: #fff; margin: 0 0 16px; line-height: 1.4;
}
.site-footer .pkp_block img { max-width: 100%; height: auto; }
.site-footer .pkp_block li + li { margin-top: 8px; }
.site-footer #customblock-menu-utama { grid-column: 1 / -1; }
.site-footer #customblock-menu-utama .block_language {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px;
}
.site-footer #customblock-menu-utama .title { grid-column: 1 / -1; margin-bottom: 4px; }
.site-footer #customblock-menu-utama p { margin: 0; text-align: start !important; min-width: 0; }
.site-footer #customblock-menu-utama p:empty,
.site-footer #customblock-menu-utama p:has(> a img) { grid-column: 1 / -1; }
.site-footer #customblock-menu-utama p:not(:has(a)) { display: none; }
.site-footer #customblock-menu-utama p > a { display: block; }
.site-footer #customblock-menu-utama p > a:not(:has(img)) {
  padding: 9px 12px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13); border-radius: 5px;
}
.site-footer #customblock-menu-utama p > a:not(:has(img)):hover { background: rgba(255,255,255,.11); }
.site-footer #customblock-menu-utama a span {
  padding: 0 !important; background: transparent !important;
  color: inherit !important; font-weight: 400;
}
.site-footer #customblock-menu-utama a img { width: 164px; margin-top: 12px; }
.site-footer .block_custom:not(#customblock-menu-utama) img {
  max-width: min(170px, 100%); max-height: 64px; width: auto; object-fit: contain;
  padding: 8px; background: #fff; border-radius: 5px;
}
.site-footer .block_web_feed ul { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.site-footer .block_web_feed li + li { margin: 0; }
.site-footer .block_web_feed img { height: 20px; width: auto; }
.site-footer > .site-footer-content > .row { align-items: center; gap: 24px; }
.site-footer .site-footer-content .site-footer-content { padding-right: 24px; }
.site-footer .site-footer-content p { margin: 0 0 5px; overflow-wrap: anywhere; }
.site-footer .site-footer-content p:not(:has(*)) { margin: 0; }
.site-footer .site-footer-content p:last-child { margin-top: 16px; font-size: 12px; color: #c5d8e2; }
.site-footer .site-footer-content strong { font-weight: 600; }
.site-footer .site-footer-content .col-md-2 { flex: 0 0 145px; text-align: end; }
.site-footer .footer-brand-image {
  width: 120px; max-width: 100%; height: auto; margin: 0;
  padding: 10px; background: #fff; border-radius: 6px;
}
@media (max-width: 991px) {
  .site-footer-sidebar > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .site-footer #customblock-menu-utama .block_language { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .main-header .navbar { padding: 14px 0; }
  .site-footer { margin-top: 32px; padding: 28px 0 24px; }
  .site-footer-sidebar > .row { gap: 24px 16px; }
  .site-footer #customblock-menu-utama .block_language { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .site-footer .site-footer-content .site-footer-content { flex: 0 0 100%; padding-right: 12px; }
  .site-footer .site-footer-content .col-md-2 { text-align: start; }
}
