/* ================================================
   SIMLAB - Custom Stylesheet
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary-blue: #007cc2;
  --primary-blue-hover: #005f96;
  --primary-blue-light: rgba(0, 124, 194, 0.08);
  --primary-navy: #0a2540;
  --accent-red: #e53935;
  --accent-green: #2e7d32;
  --text-dark: #222222;
  --text-muted: #6c757d;
  --bg-light: #f5f6fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --footer-bg: #0a2540;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: all 0.25s ease;
}

/* ---------- Base Styles ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* =====================
   Dropdown Submenu (Level 3)
   ===================== */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.25rem;
  margin-left: 0.1rem;
  border-radius: 0.5rem;
  min-width: 200px;
  display: none;
  position: absolute;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus-within > .dropdown-menu {
  display: block;
}

/* Ensure submenu doesn't overflow right edge */
@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    right: auto;
    left: 100%;
    margin-left: 0.1rem;
  }
  .dropdown-submenu.dropdown-menu-end > .dropdown-menu {
    left: auto;
    right: 100%;
    margin-right: 0.1rem;
  }
}

/* =====================
   Mobile Menu 3 Level
   ===================== */
@media (max-width: 991.98px) {
  .mobile-nav-list.new-theme .has-children > a {
    position: relative;
    padding-right: 2em;
  }
  .mobile-nav-list.new-theme .has-children > a:after {
    content: "\F282"; /* Bootstrap Icons chevron-down */
    font-family: "bootstrap-icons";
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
  }
  .mobile-nav-list.new-theme ul {
    display: none;
    padding-left: 1.2em;
    margin: 0;
    list-style: none;
    background: none;
    border: none;
  }
  .mobile-nav-list.new-theme li.open > ul {
    display: block;
  }
  .mobile-nav-list.new-theme li ul li a {
    font-size: 0.97em;
    padding-left: 1.2em;
  }
}

/* ================================================
   MAIN CONTENT
   ================================================ */
.main-content {
  padding: 20px 0;
}

/* Content Grid: mobile = flex column with order, desktop = CSS Grid */
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.content-grid > .order-1 {
  order: 1;
}
.content-grid > .order-2 {
  order: 2;
}
.content-grid > .order-3 {
  order: 3;
}
.content-grid > .order-4 {
  order: 4;
}

/* Desktop: CSS Grid 3-column layout */
@media (min-width: 992px) {
  .content-grid {
    display: grid;
    grid-template-columns: 250px 1fr 260px;
    grid-template-rows: auto auto;
    gap: 1.5rem;
  }

  .col-utama {
    grid-column: 2;
    grid-row: 1;
    order: unset;
  }

  .col-video {
    grid-column: 3;
    grid-row: 1 / -1;
    order: unset;
  }

  .col-terkini {
    grid-column: 2;
    grid-row: 2;
    order: unset;
  }
}

/* Section Box */
.section-box {
  margin-bottom: 8px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-navy);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: none;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 8px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    #f2c4c8 0%,
    #e8609a 12%,
    #e85070 22%,
    #e87060 35%,
    #d07080 45%,
    #9070b0 55%,
    #5068c0 70%,
    #3060d0 82%,
    #2855c8 100%
  );
}

.section-title-taxonomy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.section-title-taxonomy-label,
.section-title-taxonomy-current {
  color: var(--primary-navy);
}

.section-title-taxonomy-separator {
  color: var(--text-muted);
  margin: 0 2px;
}

.section-title-crumb-link {
  position: relative;
  color: var(--primary-blue);
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.section-title-crumb-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.section-title-crumb-link:hover,
.section-title-crumb-link:focus-visible {
  color: var(--accent-red);
  transform: translateY(-1px);
}

.section-title-crumb-link:hover::after,
.section-title-crumb-link:focus-visible::after {
  transform: scaleX(1);
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  margin-top: 40px;
}

.footer-main {
  position: relative;
  background: url("assets/img/hero-banner.png") center/cover no-repeat;
  padding: 40px 0 30px;
  border-top: 4px solid;
  border-image: linear-gradient(
      90deg,
      #f2c4c8 0%,
      #e8609a 12%,
      #e85070 22%,
      #e87060 35%,
      #d07080 45%,
      #9070b0 55%,
      #5068c0 70%,
      #3060d0 82%,
      #2855c8 100%
    )
    1;
}

.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 0;
}

.footer-main .container {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-full {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-centered {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-social-centered .footer-social a {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: white;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  color: white;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.footer-info-row {
  margin-top: 5px;
}

.footer-info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(26, 39, 80, 0.08); /* Primary navy with alpha */
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.2rem;
}

.footer-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-info-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-info-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: var(--transition);
  display: block;
}

.footer-info-link:hover {
  color: var(--primary-blue);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links li a {
  font-size: 0.82rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  background: var(--footer-bg);
  padding: 14px 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links a:hover {
  color: white;
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */

/* Mobile (<= 767px) */
@media (max-width: 767.98px) {
  /* Hide main nav and sub nav on mobile */
  .main-nav,
  .sub-nav {
    display: none;
  }

  .main-content {
    padding: 12px 0;
  }

  .section-title {
    font-size: 0.9rem;
  }

  /* Warta Populer: mobile specifics */
  /* Featured */
  .featured-title {
    font-size: 1.15rem;
    padding-left: 10px;
    margin-bottom: 5px;
  }

  .featured-info {
    font-size: 0.65rem;
    gap: 10px;
  }

  .featured-overlay {
    padding: 60px 15px 15px;
  }

  /* Sub-featured cards: consistent height and neat grid */
  .row.g-3.mt-2 > .col-6 {
    display: flex;
    margin-bottom: 10px;
  }

  /* Video section: 2-column vertical grid with limit */
  .video-scroll-wrapper {
    max-height: 380px; /* Forces scroll for 3rd row */
    overflow-y: auto;
    padding-right: 4px;
  }

  .video-fade {
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(
      to top,
      #ffffff 20%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
  }

  .video-fade.hidden {
    opacity: 0;
  }

  .video-more {
    display: none;
    text-align: center;
    margin-top: 5px;
    position: relative;
    z-index: 11;
  }

  .video-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 0;
    overflow-x: visible;
  }

  .video-item {
    display: flex;
    flex-direction: column;
    width: calc(50% - 8px);
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
  }

  .video-thumb-wrapper {
    width: 100%;
    height: 100px;
  }

  .video-title {
    margin-top: 6px;
    font-size: 12px; /* Sync with popular */
    line-height: 16.2px;
    font-weight: 500;
  }

  /* Terkini */
  /* hide button by default on mobile, show via class .visible */
  /* Footer */
  .footer-main {
    padding: 24px 0 16px;
  }

  .footer-brand {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .footer-logo-full {
    max-height: 38px;
  }

  .footer-social {
    width: 100%;
    margin-top: 8px; /* Extra space between logos and social */
  }

  .footer-heading {
    margin-top: 8px;
  }

  /* Sidebar Ads: display on mobile */
  .sidebar-ad {
    display: block;
    margin-bottom: 24px;
  }

  .sp-generic-body {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .sp-generic-body h2 {
    font-size: 1.1rem;
  }
}

/* ================================================
   SIMLAB - Halaman Generik (single page tanpa kategori)
   ================================================ */

.sp-generic-page {
  padding: 48px 0 64px;
  background: #fff;
}

.sp-generic-title {
  font-size: 32px;
  font-weight: 700;
  color: #007cc2;
  margin-bottom: 8px;
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .nav-item-link {
    padding: 10px 10px;
    font-size: 0.72rem;
  }

  .featured-title {
    font-size: 1.1rem;
  }

  .video-thumb-wrapper {
    width: 80px;
    height: 50px;
  }
}

/* Large Desktop (>= 1200px) */
@media (min-width: 1200px) {
  .featured-title {
    font-size: 1.5rem;
  }

  .featured-overlay {
    padding: 80px 28px 24px;
  }
}

/* ================================================
   UTILITY CLASSES & ANIMATIONS
   ================================================ */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}

/* Selection */
::selection {
  background: var(--primary-navy);
  color: white;
}
/* ================================================
   PAGINATION
   ================================================ */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 24px;
}

.pagination-wrapper ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  align-items: center;
}

.pagination-wrapper li a,
.pagination-wrapper li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pagination-wrapper li.active span,
.pagination-wrapper li.active a {
  background: var(--primary-navy);
  color: #fff;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 8px rgba(26, 39, 80, 0.2);
}

.pagination-wrapper li a:hover {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.pagination-wrapper li.disabled span {
  opacity: 0.3;
  cursor: not-allowed;
  background: #f8f9fa;
  border-color: #eee;
}

@media (max-width: 576px) {
  .pagination-wrapper ul {
    gap: 6px;
  }
  .pagination-wrapper li a,
  .pagination-wrapper li span {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* ================================================
   SIMLAB - Header & Navigation (v1.0)
   ================================================ */

/* -------- Top Bar -------- */
.sl-topbar {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  padding: 7px 0;
}

.sl-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sl-topbar-date {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sl-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sl-topbar-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sl-sosmed-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.2s;
}

/* Topbar Social Media Icons */
.sl-topbar-social .sl-sosmed-link i {
  transition:
    color 0.2s,
    transform 0.2s;
}

.sl-topbar-social .sl-sosmed-link:hover i {
  transform: scale(1.1);
}

/* Footer Social Media Icons */
.sl-footer-social .sl-footer-sosmed-link i {
  transition:
    color 0.2s,
    transform 0.2s;
}

.sl-footer-social .sl-footer-sosmed-link:hover i {
  transform: scale(1.15);
}

.sl-sosmed-link:hover {
  opacity: 1;
}

.sl-sosmed-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.sl-topbar-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.sl-topbar-flag {
  font-size: 15px;
  line-height: 1;
}

.sl-lang-chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.sl-topbar-lang.open .sl-lang-chevron {
  transform: rotate(180deg);
}

.sl-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  min-width: 140px;
  padding: 4px 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.sl-topbar-lang.open .sl-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sl-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.15s;
}

.sl-lang-option:hover {
  background: #f1f5f9;
  color: #007cc2;
}

.sl-lang-option-flag {
  font-size: 16px;
  line-height: 1;
}

.sl-lang-check {
  margin-left: auto;
  color: #007cc2;
  font-size: 14px;
  opacity: 0;
}

.sl-lang-option.active .sl-lang-check {
  opacity: 1;
}

/* -------- Main Header -------- */
.sl-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.sl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* -------- Logo Group -------- */
.sl-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.sl-logo-icon,
.sl-logo-kan,
.sl-logo-iso {
  height: 37px;
  width: auto;
  object-fit: contain;
}

.sl-logo-text {
  height: 37px;
  width: auto;
  max-width: 209px;
  object-fit: contain;
}

/* -------- Desktop Navigation -------- */
.sl-nav {
  flex-shrink: 0;
}

.sl-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 0;
}

.sl-nav-item {
  position: relative;
}

.sl-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2d2d2d;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s;
}

.sl-nav-link:hover,
.sl-nav-link.active {
  color: #007cc2;
  text-decoration: none;
}

.sl-nav-chevron {
  font-size: 10px;
  transition: transform 0.2s;
}

.sl-nav-item.dropdown:hover .sl-nav-chevron,
.sl-nav-item.dropdown:focus-within .sl-nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.sl-nav-item.dropdown {
  position: relative;
}

.sl-nav-item.dropdown > .sl-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  border-radius: 8px;
  padding: 10px 0 6px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 2001;
}

.sl-nav-item.dropdown:hover > .sl-dropdown-menu,
.sl-nav-item.dropdown:focus-within > .sl-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.sl-dropdown-menu .dropdown-item {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  padding: 9px 20px;
  transition:
    color 0.2s,
    background 0.2s;
}

.sl-dropdown-menu .dropdown-item:hover {
  color: #007cc2;
  background: var(--primary-blue-light);
}

/* -------- SIMLAB CTA Button -------- */
.sl-btn-simlab {
  background: #007cc2;
  color: #fff !important;
  padding: 10px 26px;
  border-radius: 30px 0 30px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s;
  margin-left: 12px;
  display: inline-block;
}

.sl-btn-simlab:hover {
  background: #005f96;
  color: #fff !important;
}

/* -------- Mobile Toggle Button -------- */
.sl-mobile-toggle {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.sl-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

.sl-mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sl-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.sl-mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------- Mobile Drawer -------- */
.sl-mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  transition: left 0.3s ease;
}

.sl-mobile-drawer.open {
  left: 0;
}

.sl-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
}

.sl-mobile-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.sl-mobile-drawer-body {
  padding: 12px 18px 24px;
}

/* Mobile Nav List */
.sl-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sl-mobile-nav > li {
  border-bottom: 1px solid #f2f2f2;
}

.sl-mob-has-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.sl-mob-has-child > a {
  flex: 1;
}

.sl-mobile-nav > li > a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}

.sl-mobile-nav > li > a:hover {
  color: #007cc2;
}

.sl-mob-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #888;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
}

.sl-mob-toggle.open {
  transform: rotate(180deg);
}

.sl-mob-sub {
  list-style: none;
  padding: 0 0 6px 12px;
  margin: 0;
  width: 100%;
  display: none;
}

.sl-mob-sub.open {
  display: block;
}

.sl-mob-sub li a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: color 0.2s;
}

.sl-mob-sub li a:hover {
  color: #007cc2;
}

/* Mobile Overlay */
.sl-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sl-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* -------- Responsive -------- */
@media (max-width: 1199.98px) {
  .sl-logo-icon,
  .sl-logo-text,
  .sl-logo-kan,
  .sl-logo-iso {
    height: 34px;
  }
}

@media (max-width: 767.98px) {
  .sl-header {
    padding: 8px 0;
  }

  /* Grid agar logo bisa diposisikan center terlepas dari tombol menu */
  .sl-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .sl-logo-group {
    grid-column: 1;
    justify-self: center;
    gap: 5px;
  }

  .sl-mobile-toggle {
    grid-column: 2;
  }

  .sl-logo-icon,
  .sl-logo-kan,
  .sl-logo-iso {
    height: 36px;
  }

  .sl-logo-text {
    height: 36px;
    max-width: 145px;
  }
}

/* ================================================
   SIMLAB - Footer (v1.0)
   ================================================ */

.sl-footer {
  background: #0a2540;
  color: #fff;
  padding: 50px 0 0;
}

/* -------- Brand / Logo -------- */
.sl-footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.sl-footer-brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sl-footer-brand-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  flex-shrink: 0;
}

.sl-footer-brand-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.2;
}

.sl-footer-brand-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.2;
}

/* KAN + ISO di dalam brand section (tampil di bawah lg, sebelum override mobile) */
.sl-footer-brand-cert-kan,
.sl-footer-brand-cert-iso {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* -------- Info Kontak -------- */
.sl-footer-info {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sl-footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.sl-footer-info li i {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  flex-shrink: 0;
}

.sl-footer-info-label {
  font-weight: 600;
  white-space: nowrap;
}

.sl-footer-info-value {
  color: rgba(255, 255, 255, 0.85);
}

/* -------- Sosial Media -------- */
.sl-footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sl-footer-sosmed-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.sl-footer-sosmed-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.sl-footer-sosmed-link img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* -------- Peta -------- */
.sl-footer-map {
  border-radius: 8px;
  overflow: hidden;
  /* 210px sampai kolom footer selebar ~530px; di atas itu tinggi ikut
     membesar proporsional (12vw) supaya tidak jadi strip pipih di monitor besar. */
  height: max(210px, 12vw);
  margin-bottom: 10px;
}

.sl-footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.sl-footer-map-addr {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

/* -------- Sertifikasi -------- */
.sl-footer-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 4px;
}

.sl-footer-cert-kan {
  max-width: 140px;
  width: 100%;
  height: auto;
}

.sl-footer-cert-iso {
  max-width: 96px;
  width: 100%;
  height: auto;
}

/* -------- Copyright Bar -------- */
.sl-footer-copyright {
  background: #007cc2;
  margin-top: 40px;
  padding: 14px 0;
  text-align: center;
}

.sl-footer-copyright p {
  margin: 0;
  font-size: 13px;
  color: #fff;
}

/* -------- Responsive Tablet (768px - 991px) -------- */
@media (max-width: 991.98px) {
  .sl-footer-cert {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 0;
  }

  .sl-footer-cert-kan {
    max-width: 114px;
  }

  .sl-footer-cert-iso {
    max-width: 79px;
  }
}

/* -------- Responsive Mobile (< 768px) -------- */
@media (max-width: 767.98px) {
  .sl-footer {
    padding: 32px 0 0;
  }

  /* Brand: ukuran lebih compact */
  .sl-footer-brand {
    gap: 10px;
    margin-bottom: 18px;
  }

  .sl-footer-brand-left {
    gap: 10px;
  }

  .sl-footer-brand-icon {
    width: 40px;
    height: 40px;
  }

  .sl-footer-brand-title {
    font-size: 14px;
  }

  .sl-footer-brand-sub {
    font-size: 12px;
  }

  /* Info kontak: teks lebih kecil */
  .sl-footer-info {
    gap: 8px;
    margin-bottom: 20px;
  }

  .sl-footer-info li {
    font-size: 12.5px;
    gap: 8px;
  }

  .sl-footer-info li i {
    font-size: 13px;
  }

  /* Social icons: tengah di mobile */
  .sl-footer-social {
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 4px;
  }

  .sl-footer-sosmed-link img {
    width: 28px;
    height: 28px;
  }

  /* Map: dikecilkan agar satu baris dengan sertifikasi */
  .sl-footer-map {
    height: 150px;
    margin-bottom: 8px;
  }

  .sl-footer-map-addr {
    font-size: 11px;
    line-height: 1.5;
  }

  /* KAN + ISO di dalam brand section (mobile only) */
  .sl-footer-brand-cert-kan {
    height: 38px;
    width: auto;
    object-fit: contain;
  }

  .sl-footer-brand-cert-iso {
    height: 38px;
    width: auto;
    object-fit: contain;
  }

  /* Copyright */
  .sl-footer-copyright {
    margin-top: 28px;
    padding: 12px 0;
  }

  .sl-footer-copyright p {
    font-size: 12px;
    padding: 0 12px;
  }
}

/* -------- Visitor Section Mobile -------- */
@media (max-width: 767.98px) {
  .sl-visitor-section {
    padding: 32px 0;
  }

  .sl-visitor-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .sl-visitor-list {
    gap: 8px;
    padding: 0 8px;
  }

  .sl-visitor-badge {
    padding: 8px 14px;
    gap: 6px;
  }

  .sl-visitor-flag {
    font-size: 20px;
  }

  .sl-visitor-count {
    font-size: 14px;
  }
}

/* ================================================
   SIMLAB - Visitor Section
   ================================================ */

.sl-visitor-section {
  padding: 48px 0;
  background: #fff;
  text-align: center;
}

.sl-visitor-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.sl-visitor-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sl-visitor-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.2s;
}

.sl-visitor-badge:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.sl-visitor-flag {
  font-size: 28px;
  line-height: 1;
  font-family:
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji", sans-serif;
  display: inline-block;
  vertical-align: middle;
  /* Ensure emoji renders properly */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.sl-visitor-count {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

/* Swiper wrapper & slide for visitor section */
.sl-visitor-swiper-container {
  position: relative;
  padding: 0 48px;
}

.sl-visitor-swiper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.sl-visitor-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
}

/* Visitor Swiper Navigation Buttons */
.sl-visitor-next,
.sl-visitor-prev {
  color: #007cc2 !important;
  background: #fff;
  border-radius: 50%;
  width: 36px !important;
  height: 36px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  top: 50% !important;
  transform: translateY(-50%);
  margin-top: 0 !important;
  transition: opacity 0.3s ease, background-color 0.2s;
}

.sl-visitor-next:hover,
.sl-visitor-prev:hover {
  background: #f8fafc;
}

.sl-visitor-next {
  right: 6px !important;
}

.sl-visitor-prev {
  left: 6px !important;
}

.sl-visitor-next::after,
.sl-visitor-prev::after {
  font-size: 14px !important;
  font-weight: 700;
}

.sl-visitor-prev.swiper-button-disabled,
.sl-visitor-next.swiper-button-disabled {
  display: none !important;
}

@media (max-width: 767.98px) {
  .sl-visitor-swiper-container {
    padding: 0 36px;
  }
  .sl-visitor-next,
  .sl-visitor-prev {
    width: 30px !important;
    height: 30px !important;
  }
  .sl-visitor-next::after,
  .sl-visitor-prev::after {
    font-size: 12px !important;
  }
}

/* ================================================
   SIMLAB - Home Page Sections (v1.0)
   ================================================ */

/* -------- Global Section Helpers -------- */
.sl-section {
  padding: 60px 0;
}

.sl-section-header {
  margin-bottom: 40px;
}

.sl-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.sl-section-sub {
  font-size: 15px;
  color: #555;
  margin: 0;
}

/* -------- HERO -------- */
.sl-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  margin-bottom: 0;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.sl-hero-swiper {
  width: 100%;
}

.sl-hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  /* 630px di lebar 1600px (rasio desain awal); di atas itu tinggi ikut
     membesar proporsional (36.2vw) supaya tidak gepeng di monitor besar. */
  min-height: max(630px, 36.2vw);
  display: flex;
  align-items: center;
}

.sl-hero-slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 124, 194, 0.8) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.sl-hero-slide-1 {
  background-size: 105%;
  background-position: center center;
}

.sl-hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 110px;
  max-width: 680px;
  margin-left: 40px;
}

/* Kotak teks semi-transparan biru */
.sl-hero-text-bg {
  background: rgba(0, 126, 199, 0.7);
  border-radius: 0 70px 0 70px;
  padding: 24px 48px 28px 28px;
  display: inline-block;
  margin-bottom: 28px;
}

.sl-hero-title-main {
  font-family: "Inter", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.sl-hero-title-sub {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 0;
  line-height: 1.2;
}

/* Tombol Hero */
.sl-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sl-hero-btn {
  padding: 10px 30px;
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  border: 2px solid transparent;
}

.sl-hero-btn-light {
  background: #ffffff;
  color: #007cc2;
  border-color: #ffffff;
}

.sl-hero-btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.sl-hero-btn-dark {
  background: #007cc2;
  color: #ffffff;
  border-color: #007cc2;
}

.sl-hero-btn-dark:hover {
  background: #005f96;
  border-color: #005f96;
  color: #fff;
}

/* Pagination */
.sl-hero-pagination {
  bottom: 80px !important;
}

.sl-hero-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  width: 10px;
  height: 10px;
}

.sl-hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* -------- STATISTIK BAR -------- */
.sl-stats-wrap {
  position: relative;
  z-index: 10;
  margin-top: -70px;
  padding-bottom: 40px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.sl-stats-bar {
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: stretch;
  padding: 14px 16px;
  gap: 0;
}

.sl-stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 25px;
  justify-content: center;
}

.sl-stat-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  background: #007cc2;
  border-radius: 50%;
  padding: 10px;
}

.sl-stat-item--gold .sl-stat-icon {
  background: #e7b900;
}

.sl-stat-info {
  display: flex;
  flex-direction: column;
}

.sl-stat-num {
  font-size: 30px;
  font-weight: 800;
  color: #007cc2;
  line-height: 1;
}

.sl-stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #007cc2;
  margin-top: 3px;
  white-space: nowrap;
}

/* Item emas untuk Penghargaan */
.sl-stat-item--gold .sl-stat-num,
.sl-stat-item--gold .sl-stat-label {
  color: #e7b900;
}

.sl-stat-divider {
  width: 1px;
  background: #e0e0e0;
  align-self: stretch;
  margin: 8px 0;
}

/* -------- LAYANAN -------- */
.sl-layanan-section {
  background: #fff;
}

.sl-layanan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 16px 36px;
  min-height: 180px;
  border: 1.5px solid #e8e8e8;
  border-top: 4px solid #e7b900;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  height: 100%;
  background: #fff;
}

.sl-layanan-card:hover {
  box-shadow: 0 6px 24px rgba(0, 124, 194, 0.12);
  transform: translateY(-3px);
}

.sl-layanan-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sl-layanan-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sl-layanan-title {
  font-size: 14px;
  font-weight: 600;
  color: #007cc2;
  margin: 0;
  line-height: 1.4;
}

/* -------- FASILITAS -------- */
.sl-fasilitas-section {
  background: #f5f8fc;
}

.sl-fasilitas-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sl-fasilitas-info {
  flex: 0 0 260px;
}

.sl-fasilitas-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.sl-fasilitas-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sl-btn-fasilitas {
  display: inline-block;
  background: #e7b900;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.sl-btn-fasilitas:hover {
  background: #e09410;
  color: #fff;
}

.sl-fasilitas-slider-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-bottom: 36px;
  overflow-x: hidden;
}

.sl-fasilitas-swiper {
  overflow: visible !important;
}

.sl-fasilitas-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.sl-fasilitas-card:hover {
  box-shadow: 0 6px 20px rgba(0, 124, 194, 0.15);
  transform: translateY(-2px);
}

.sl-fasilitas-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.sl-fasilitas-card-label {
  background: #fff;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  text-align: center;
}

.sl-fasilitas-next,
.sl-fasilitas-prev {
  color: #007cc2 !important;
  background: #fff;
  border-radius: 50%;
  width: 36px !important;
  height: 36px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sl-fasilitas-next {
  right: 3px !important;
}

.sl-fasilitas-prev {
  left: 3px !important;
}

.sl-fasilitas-next::after,
.sl-fasilitas-prev::after {
  font-size: 14px !important;
  font-weight: 700;
}

.sl-fasilitas-prev.swiper-button-disabled,
.sl-fasilitas-next.swiper-button-disabled {
  display: none !important;
}

.sl-fasilitas-pagination {
  bottom: -28px !important;
}

.sl-fasilitas-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  opacity: 1;
  transition:
    background 0.2s,
    transform 0.2s;
}

.sl-fasilitas-pagination .swiper-pagination-bullet-active {
  background: #007cc2;
  transform: scale(1.3);
}

/* -------- PENGUMUMAN -------- */
.sl-pengumuman-section {
  background: #fff;
}

.sl-pengumuman-section .row {
  align-items: stretch;
}

.sl-pengumuman-section .row > [class*="col-"] {
  display: flex;
}

.sl-pengumuman-swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

.sl-pengumuman-swiper .swiper-slide .sl-pengumuman-card {
  flex: 1;
  width: 100%;
}

.sl-pengumuman-card {
  position: relative;
  border-radius: 12px;
  background: #2594d7;
  border-top: 4px solid #e7b900;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px;
  overflow: hidden;
}

.sl-pengumuman-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #e7b900;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 0 0 20px;
  white-space: nowrap;
}

.sl-pengumuman-judul {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
  padding-right: 60px;
}

.sl-pengumuman-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  flex: 1;
  margin: 0 0 16px;
}

.sl-pengumuman-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  margin: 0;
}

.sl-pengumuman-next,
.sl-pengumuman-prev {
  color: #007cc2 !important;
  background: #fff;
  border-radius: 50%;
  width: 36px !important;
  height: 36px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sl-pengumuman-next {
  right: 3px !important;
}

.sl-pengumuman-prev {
  left: 3px !important;
}

.sl-pengumuman-next::after,
.sl-pengumuman-prev::after {
  font-size: 14px !important;
  font-weight: 700;
}

.sl-pengumuman-prev.swiper-button-disabled,
.sl-pengumuman-next.swiper-button-disabled {
  display: none !important;
}

.sl-pengumuman-pagination {
  bottom: 0px !important;
}

.sl-pengumuman-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  opacity: 1;
  transition:
    background 0.2s,
    transform 0.2s;
}

.sl-pengumuman-pagination .swiper-pagination-bullet-active {
  background: #007cc2;
  transform: scale(1.3);
}

/* -------- BERITA TERKINI -------- */
.sl-berita-section {
  background: #fff;
}

.sl-berita-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sl-btn-selengkapnya {
  display: inline-block;
  padding: 8px 22px;
  border: 1.5px solid #aaa;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s;
  margin-top: 8px;
}

.sl-btn-selengkapnya:hover {
  border-color: #007cc2;
  color: #007cc2;
}

.sl-berita-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: stretch;
}

/* ---- Topic Badge ---- */
.sl-berita-badge {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  background: #e7b900;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 0 0 30px 0;
  margin-bottom: 8px;
  text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-start;
}

/* ---- Featured Card (kiri) ---- */
.sl-berita-featured-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sl-berita-featured-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: box-shadow 0.2s;
  flex: 1;
}

.sl-berita-featured-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.sl-berita-featured-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.sl-berita-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(transparent, rgba(0, 80, 160, 0.85));
}

.sl-berita-featured-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 6px 0 10px;
}

.sl-berita-featured-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* ---- List Cards (kanan) ---- */
.sl-berita-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: 100%;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
  padding-right: 4px;
}

.sl-berita-list-wrap::-webkit-scrollbar {
  width: 4px;
}

.sl-berita-list-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.sl-berita-list-wrap::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 4px;
}

.sl-berita-item {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  align-items: flex-start;
}

.sl-berita-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.11);
  transform: translateY(-1px);
}

.sl-berita-item-img {
  width: 100px;
  height: 86px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sl-berita-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sl-berita-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sl-berita-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 4px 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sl-berita-item-meta {
  font-size: 11.5px;
  color: #777;
  margin: 0;
  line-height: 1.6;
}

.sl-berita-item-meta strong {
  color: #444;
}

/* Skeleton loader */
.sl-berita-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sl-berita-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 12px;
}

.sl-berita-featured {
  height: 340px;
}
.sl-berita-item-sm {
  height: 70px;
  margin-bottom: 10px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* -------- VIDEO KAMI -------- */
.sl-video-section {
  background: #fff;
}

.sl-video-box {
  background: #eef3f8;
  border: 2px solid #cde0f0;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.sl-video-box:hover {
  border-color: #007cc2;
  background: #e0eef9;
}

.sl-video-title {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1a2a3a;
  line-height: 1.4;
}

.sl-video-play {
  width: 56px;
  height: 56px;
  background: #007cc2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  padding-left: 4px;
}

/* -------- SOSIAL MEDIA -------- */
.sl-sosmed-section {
  background: #fff;
}

.sl-sosmed-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid #e0e0e0;
}

.sl-sosmed-tab {
  background: none;
  border: none;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.sl-sosmed-tab.active {
  color: #007cc2;
  border-bottom-color: #007cc2;
}

.sl-sosmed-tab:hover:not(.active) {
  color: #555;
}

.sl-sosmed-tab i {
  margin-right: 6px;
  font-size: 18px;
  vertical-align: middle;
}

/* Loading State */
.sl-sosmed-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
}

.sl-sosmed-loading p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Error State */
.sl-sosmed-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 12px;
}

.sl-sosmed-error i {
  font-size: 48px;
  color: #e53935;
}

.sl-sosmed-error p {
  margin: 0;
  color: #666;
  font-size: 14px;
  text-align: center;
  max-width: 400px;
}

/* Grid Layout */
.sl-sosmed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Instagram Post Box */
.sl-sosmed-box {
  position: relative;
  background: #f5f5f5;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
}

.sl-sosmed-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sl-sosmed-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sl-sosmed-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sl-sosmed-box:hover .sl-sosmed-overlay {
  opacity: 1;
}

.sl-sosmed-overlay i {
  color: white;
  font-size: 42px;
}

.sl-sosmed-play-icon {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 56px !important;
  opacity: 0.9;
}

.sl-sosmed-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 40px 12px 12px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sl-sosmed-box:hover .sl-sosmed-caption {
  opacity: 1;
}

/* TikTok Embed Box */
.sl-tiktok-embed {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 8px;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 600px;
}

.sl-tiktok-embed blockquote {
  margin: 0 !important;
  max-width: 100% !important;
}

.sl-tiktok-embed iframe {
  border-radius: 10px;
}

/* -------- Responsive Home Page -------- */
@media (max-width: 991.98px) {
  .sl-fasilitas-wrap {
    flex-direction: column;
    gap: 28px;
  }

  .sl-fasilitas-info {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .sl-fasilitas-slider-wrap {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  /* Hero */
  .sl-hero {
    border-radius: 0 0 20px 20px;
    max-width: 100%;
  }

  .sl-hero-slide {
    min-height: 420px;
  }

  .sl-hero-slide-1 {
    background-size: cover;
    background-position: center top;
  }

  .sl-hero-content {
    padding: 56px 0 80px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 0;
  }

  .sl-hero-text-bg {
    padding: 14px 22px 16px 16px;
    margin-bottom: 18px;
    border-radius: 0 40px 0 40px;
    display: block;
    max-width: 95%;
  }

  .sl-hero-title-sub {
    font-size: 14px;
  }

  .sl-hero-title-main {
    font-size: 22px;
  }

  /* sl-hero-title-sub override handled above */

  .sl-hero-btn {
    padding: 9px 20px;
    font-size: 13px;
    border-radius: 16px;
  }

  /* Stats Bar */
  .sl-stats-wrap {
    margin-top: -36px;
    padding-bottom: 24px;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

  .sl-stats-bar {
    flex-wrap: wrap;
    padding: 12px 4px;
    border-radius: 24px;
  }

  .sl-stat-item {
    flex: 0 0 50%;
    padding: 10px 12px;
    gap: 8px;
    justify-content: flex-start;
  }

  .sl-stat-divider {
    display: none;
  }

  .sl-stat-icon {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  .sl-stat-num {
    font-size: 20px;
  }

  .sl-stat-label {
    font-size: 12px;
    white-space: normal;
  }

  .sl-section {
    padding: 40px 0;
  }

  .sl-section-title {
    font-size: 22px;
  }

  .sl-berita-grid,
  .sl-berita-placeholder {
    grid-template-columns: 1fr;
  }

  .sl-berita-featured-img {
    height: 240px;
  }

  .sl-berita-featured-title {
    font-size: 17px;
  }

  .sl-berita-item-img {
    width: 80px;
    height: 72px;
  }

  .sl-sosmed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sl-layanan-card {
    padding: 20px 12px 18px;
    min-height: auto;
  }

  .sl-layanan-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }
}

/* ================================================
   SIMLAB - Single Post (v1.0)
   ================================================ */

.sp-page {
  padding: 32px 0 60px;
  background: #fff;
}

/* ---- Topic Badge ---- */
.sp-badges {
  margin-bottom: 14px;
}

.sp-badge {
  display: inline-block;
  background: #007cc2;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 6px;
  transition: background 0.2s;
}

.sp-badge:hover {
  background: #005f96;
  color: #fff;
}

/* ---- Title ---- */
.sp-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 16px;
}

/* ---- Meta ---- */
.sp-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}

.sp-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
}

.sp-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f4fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #007cc2;
}

.sp-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #555;
}

.sp-date i {
  color: #007cc2;
}

/* ---- Share ---- */
.sp-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  margin-bottom: 20px;
}

.sp-share-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.sp-share-btns {
  display: flex;
  gap: 8px;
}

.sp-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.sp-share-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.sp-share-ig {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.sp-share-fb {
  background: #1877f2;
}
.sp-share-wa {
  background: #25d366;
}
.sp-share-copy {
  background: #607d8b;
}
.sp-share-native {
  background: var(--primary-blue);
}

.sp-share-btn-success {
  background: var(--accent-green) !important;
}

/* ---- Toast Notification ---- */
.sp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;

  background: rgba(46, 125, 50, 0.95);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.sp-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sp-toast-icon {
  display: flex;
  align-items: center;
  font-size: 20px;
}

.sp-toast-message {
  line-height: 1.4;
}

@media (max-width: 768px) {
  .sp-toast {
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(100px);
    bottom: 16px;
  }

  .sp-toast-show {
    transform: translateX(0) translateY(0);
  }
}

/* ---- Featured Image ---- */
.sp-figure {
  margin: 0 0 20px;
}

.sp-featured-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.sp-caption {
  font-size: 12.5px;
  color: #666;
  margin-top: 8px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-caption-src {
  color: #888;
}

/* ---- Font Size Controls ---- */
.sp-fontsize {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.sp-fontsize-label {
  font-size: 13px;
  color: #555;
  margin-right: 4px;
}

.sp-fontsize-btn {
  background: #fff;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.sp-fontsize-btn:hover,
.sp-fontsize-active {
  border-color: #007cc2;
  color: #007cc2;
}

/* ---- Article & Generic Body ---- */
.sp-body,
.sp-generic-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 28px;
}

.sp-body p,
.sp-generic-body p {
  margin-bottom: 16px;
}
.sp-body h2,
.sp-body h3,
.sp-generic-body h2,
.sp-generic-body h3 {
  font-weight: 700;
  margin: 24px 0 12px;
  color: #1a1a1a;
}
.sp-body img,
.sp-generic-body img {
  max-width: 100%;
  border-radius: 8px;
}
.sp-body a,
.sp-generic-body a {
  color: var(--primary-blue, #007cc2);
  text-decoration: underline;
}
.sp-body a:hover,
.sp-generic-body a:hover {
  color: var(--primary-blue-hover, #005f96);
  text-decoration: underline;
}

/* ---- Pagination ---- */
.sp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.sp-page-btn {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #007cc2;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 0 12px;
  transition: background 0.2s;
}

.sp-page-btn:hover {
  background: #005f96;
  color: #fff;
}

.sp-page-btn.active {
  background: #0a2540;
}

.sp-page-dots {
  color: #888;
  font-size: 14px;
  padding: 0 4px;
}

/* ---- Tags ---- */
.sp-tags {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.sp-tags-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  margin-top: 2px;
}

.sp-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-tag {
  display: inline-block;
  background: #007cc2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
}

.sp-tag:hover {
  background: #005f96;
  color: #fff;
}

/* ---- Post Navigation ---- */
.sp-post-nav {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.sp-post-nav-item {
  flex: 1;
  min-width: 0;
}

.sp-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 14px 18px;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
  transition:
    border-color 0.2s,
    color 0.2s;
  height: 100%;
  box-sizing: border-box;
}

.sp-nav-btn--right {
  justify-content: flex-end;
}

.sp-nav-btn:hover {
  border-color: #007cc2;
  color: #007cc2;
}

.sp-nav-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.sp-nav-btn i {
  font-size: 18px;
  flex-shrink: 0;
  color: #007cc2;
}

.sp-nav-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.sp-nav-label {
  font-size: 11px;
  color: #888;
  display: block;
}

.sp-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Sidebar ---- */
.sp-sidebar {
  position: sticky;
  top: 80px;
}

.sp-sidebar-box {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
}

.sp-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #007cc2;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f4fd;
}

.sp-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-sidebar-item {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.sp-sidebar-item:hover {
  opacity: 0.85;
}

.sp-sidebar-img {
  width: 80px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sp-sidebar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-sidebar-body {
  flex: 1;
  min-width: 0;
}

.sp-sidebar-badge {
  display: inline-block;
  background: #e7b900;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0 0 8px 0;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.sp-sidebar-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-sidebar-meta {
  font-size: 11px;
  color: #888;
  margin: 0;
  line-height: 1.6;
}

.sp-sidebar-meta strong {
  color: #555;
}

/* Space / Iklan Placeholder */
.sp-sidebar-space {
  border: 2px dashed #ddd;
  border-radius: 12px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
  font-weight: 500;
}

/* ---- Responsive ---- */
@media (max-width: 767.98px) {
  .sp-title {
    font-size: 20px;
  }

  .sp-post-nav {
    flex-direction: column;
  }

  .sp-nav-btn--right {
    justify-content: flex-start;
  }

  .sp-sidebar {
    position: static;
  }
}

/* ================================================
   SIMLAB - Halaman Berita Grid (v1.0)
   ================================================ */

.gb-page {
  padding: 48px 0 64px;
  background: #fff;
}

/* Header */
.gb-header {
  margin-bottom: 32px;
}

.gb-title {
  font-size: 30px;
  font-weight: 700;
  color: #007cc2;
  margin-bottom: 8px;
}

.gb-subtitle {
  font-size: 15px;
  color: #555;
  margin: 0;
}

/* Filter Bar */
.gb-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: nowrap;
}

.gb-search-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 50px;
  padding: 5px 5px 5px 10px;
  gap: 8px;
  box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.04);
}

.gb-search-icon-btn {
  background: #007cc2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  flex-shrink: 0;
}

.gb-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #333;
  outline: none;
  padding: 6px 4px;
}

.gb-search-input::placeholder {
  color: #aaa;
}

.gb-filter-selects {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.gb-select-wrap {
  position: relative;
}

.gb-select {
  appearance: none;
  -webkit-appearance: none;
  background: #f0f0f0;
  border: none;
  border-radius: 50px;
  padding: 11px 36px 11px 20px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  font-weight: 500;
}

.gb-select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #666;
  pointer-events: none;
}

/* Card Grid */
.gb-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.gb-card:hover {
  box-shadow: 0 6px 24px rgba(0, 124, 194, 0.14);
  transform: translateY(-3px);
  color: inherit;
}

.gb-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gb-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gb-card:hover .gb-card-img img {
  transform: scale(1.04);
}

.gb-card-body {
  padding: 14px 16px 16px;
}

.gb-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.gb-card-meta i {
  margin-right: 3px;
  color: #007cc2;
}

.gb-card-badge {
  display: inline-block;
  background: #007cc2;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.gb-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gb-card-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty state */
.gb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #aaa;
  gap: 12px;
}

.gb-empty i {
  font-size: 40px;
}

.gb-empty p {
  font-size: 15px;
  margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .gb-title {
    font-size: 22px;
  }

  .gb-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .gb-filter-selects {
    width: 100%;
  }

  .gb-select {
    width: 100%;
  }
}

/* ================================================
   SIMLAB - Halaman Fasilitas (v1.0)
   ================================================ */

.fas-page {
  padding: 48px 0 64px;
  background: #fff;
}

.fas-header {
  margin-bottom: 28px;
}

/* Search Bar */
.fas-search-wrap {
  max-width: 700px;
  margin: 0 auto 40px;
}

.fas-search-bar {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 50px;
  padding: 5px 5px 5px 20px;
  gap: 8px;
  box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.04);
}

.fas-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #333;
  outline: none;
  padding: 8px 0;
}

.fas-search-input::placeholder {
  color: #aaa;
}

.fas-search-btn {
  background: #007cc2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.fas-search-btn:hover {
  background: #005f96;
}

/* Empty state */
.fas-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  color: #aaa;
  gap: 10px;
}

.fas-empty i {
  font-size: 36px;
}
.fas-empty p {
  font-size: 15px;
  margin: 0;
}

/* ---- Catalog Pagination ---- */
.cat-pagination-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  align-items: center;
}

.cat-pagination-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-per-page-label {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.cat-per-page-select {
  padding: 6px 32px 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background-color: var(--bg-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
}

.cat-per-page-select:hover {
  border-color: var(--primary-blue);
}

.cat-per-page-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 124, 194, 0.1);
}

.cat-item-counter {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0 8px;
}

.cat-pagination-nav {
  display: flex;
  justify-content: center;
}

.cat-pagination-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-pagination-item {
  display: flex;
}

.cat-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.cat-pagination-btn:hover:not(:disabled):not(.active) {
  background: var(--primary-blue-light);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.cat-pagination-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 124, 194, 0.25);
  cursor: default;
}

.cat-pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--bg-light);
  color: var(--text-muted);
}

.cat-pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--text-muted);
  font-size: 14px;
  user-select: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cat-pagination-wrap {
    margin-top: 32px;
    padding-top: 24px;
  }

  .cat-pagination-info {
    font-size: 13px;
  }

  .cat-per-page-select {
    font-size: 13px;
  }

  .cat-item-counter {
    font-size: 13px;
    width: 100%;
    text-align: center;
  }

  .cat-pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

.fas-title {
  font-size: 32px;
  font-weight: 700;
  color: #007cc2;
  margin-bottom: 8px;
}

.fas-subtitle {
  font-size: 15px;
  color: #555;
  margin: 0;
}

/* Card */
.fas-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
  background: #fff;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.fas-card:hover {
  box-shadow: 0 8px 28px rgba(0, 124, 194, 0.15);
  transform: translateY(-3px);
}

.fas-card-img {
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.fas-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.fas-card:hover .fas-card-img img {
  transform: scale(1.04);
}

.fas-card-body {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 64px;
  background: #fff;
}

.fas-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #007cc2;
  margin: 0 0 8px;
}

.fas-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tombol panah — pojok kanan bawah card */
.fas-card-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #007cc2;
  border-radius: 30px 0 30px 0;
  width: 72px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.fas-card-arrow:hover {
  background: #005f96;
}

/* Lingkaran putih di dalam tombol */
.fas-card-arrow-circle {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007cc2;
  font-size: 17px;
  -webkit-text-stroke: 0.8px #007cc2;
}

/* Responsive */
@media (max-width: 767.98px) {
  .fas-title {
    font-size: 24px;
  }
}

/* ============================================================
   UNDUHAN PAGE (ud-)
   ============================================================ */

.ud-page {
  padding: 60px 0 80px;
  background: #fff;
}

.ud-header {
  margin-bottom: 40px;
}

.ud-title {
  font-size: 32px;
  font-weight: 700;
  color: #007cc2;
}

.ud-subtitle {
  font-size: 15px;
  color: #6c757d;
  margin-top: 6px;
}

/* Table */
.ud-table-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.ud-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ud-table thead tr {
  background: #f8f9fa;
  border-bottom: 2px solid #e5e7eb;
}

.ud-table thead th {
  padding: 14px 16px;
  font-weight: 600;
  color: #374151;
  text-align: left;
}

.ud-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.ud-table tbody tr:last-child {
  border-bottom: none;
}

.ud-table tbody tr:hover {
  background: #f8fbff;
}

.ud-table td {
  padding: 14px 16px;
  vertical-align: middle;
  color: #374151;
}

.ud-col-no {
  width: 60px;
  text-align: center;
}

.ud-col-nama {
  font-weight: 500;
}

.ud-col-aksi {
  width: 200px;
  text-align: right;
  white-space: nowrap;
}

.ud-file-icon {
  color: #dc3545;
  margin-right: 8px;
  font-size: 16px;
}

/* Buttons */
.ud-btn-view,
.ud-btn-unduh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.ud-btn-view {
  background: #f0f0f0;
  color: #374151;
  margin-right: 6px;
}

.ud-btn-view:hover {
  background: #e0e0e0;
  color: #374151;
}

.ud-btn-unduh {
  background: #007cc2;
  color: #fff;
}

.ud-btn-unduh:hover {
  background: #005f96;
  color: #fff;
}

/* Empty state */
.ud-empty {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

.ud-empty i {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

/* Pagination */
.ud-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.ud-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #007cc2;
  color: #007cc2;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.ud-page-btn:hover,
.ud-page-btn.active {
  background: #007cc2;
  color: #fff;
}

.ud-page-ellipsis {
  color: #9ca3af;
  padding: 0 4px;
}

@media (max-width: 767.98px) {
  .ud-title {
    font-size: 24px;
  }

  .ud-col-aksi {
    width: auto;
  }

  .ud-btn-view,
  .ud-btn-unduh {
    padding: 5px 10px;
    font-size: 12px;
  }
}
