/* UNAMA Redesign — Inner Pages Integration & Editorial Polish */
.btPageWrap {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

/* Protect Modern Header/Footer Typography & Buttons from Avantage Legacy Styles */
.unama-portal {
  font-family: "Sarabun", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-transform: none;
}

.unama-portal h1,
.unama-portal h2,
.unama-portal h3,
.unama-portal h4 {
  font-family: inherit;
  margin-top: 0;
}

.unama-portal p {
  margin-top: 0;
}

.unama-portal button,
.unama-portal a {
  box-shadow: none;
}

/* Fix Legacy Avantage Header Top-Padding Offsets on Inner Pages */
body.btBelowMenu .btContentWrap {
  padding-top: 0 !important;
}

body.btBelowMenu .btPageHeadline .bt_bb_port,
body.btBelowMenu.btMenuBelowLogo .btPageHeadline .bt_bb_port,
.btPageHeadline .bt_bb_port {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

/* Single Post / Detail Berita Editorial Polish */
.single-post .btContentWrap .bt_bb_section.bt_bb_background_image {
  padding-top: 64px !important;
  padding-bottom: 56px !important;
}

.single-post .btArticleHeadline h1,
.single-post .bt_bb_headline h1 {
  line-height: 1.2 !important;
}

.single-post .btArticleContent p {
  line-height: 1.75;
}

/* Uniform News & Facility Card Aspect Ratio */
.btArticleListItem .btMediaBox img,
.bt_bb_latest_posts_item .bt_bb_latest_posts_item_image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

/* Portal Layanan Static Page (Gutenberg-Editable List -> Modern Interactive Card Grid) */
.unama-page-shell {
  background: #f6f6f7;
  padding: 48px 0 72px;
}

.unama-layanan-shell {
  font-family: "Sarabun", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #191919;
}

.unama-layanan-shell > p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(25, 25, 25, 0.75);
  max-width: 780px;
  margin: 0 0 28px;
}

.unama-layanan-shell h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #191919;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(25, 25, 25, 0.08);
}

.unama-layanan-shell h2::before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: #ff608b;
  display: inline-block;
  flex-shrink: 0;
}

.unama-layanan-shell ul {
  list-style: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .unama-layanan-shell ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .unama-layanan-shell ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.unama-layanan-shell ul li {
  position: relative;
  margin: 0 !important;
  padding: 18px 42px 18px 20px !important;
  background: #ffffff;
  border: 1px solid rgba(25, 25, 25, 0.1);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(25, 25, 25, 0.7);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.unama-layanan-shell ul li::after {
  content: "↗";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #dd8729;
  transition: transform 0.15s ease, color 0.15s ease;
}

.unama-layanan-shell ul li:hover {
  transform: translateY(-2px);
  border-color: #e5a648;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.unama-layanan-shell ul li:hover::after {
  color: #ff608b;
  transform: translate(1px, -1px);
}

.unama-layanan-shell ul li a {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #191919 !important;
  text-decoration: none !important;
  margin-bottom: 4px;
}

.unama-layanan-shell ul li a:hover {
  color: #dd8729 !important;
}
