:root {
  --ubn-blue-dark: #16305c;
  --ubn-blue: #1e4a8c;
  --ubn-blue-light: #e8f0fb;
  --ubn-yellow: #f6b93b;
  --ubn-radius: 10px;
}

/* ===== HERO / SLIDER ===== */

#owl-demo .owl-item .img {
  width: 100%;
  aspect-ratio: 2.7 / 1;
  height: auto;
  max-height: 450px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@supports not (aspect-ratio: 2.7 / 1) {
  #owl-demo .owl-item .img {
    height: 45vh;
    min-height: 300px;
  }
}

#owl-demo .owl-item .owl-caption {
  position: absolute;
  bottom: 15%;
  padding: 0 60px;
}

#owl-demo .owl-item .owl-caption .owl-title,
#owl-demo .owl-item .owl-caption .owl-subtitle {
  color: #eee;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

#owl-demo .owl-dots {
  position: absolute !important;
  bottom: 10px;
  width: 100%;
}

#owl-navigation {
  position: absolute;
  display: block;
  top: 20vh;
  z-index: 99999;
  padding: 0 40px;
  width: 100%;
}

.btn-owl-prev,
.btn-owl-next {
  position: absolute;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 16px 14px 8px;
  border-radius: 8px;
}

.btn-owl-prev {
  left: 10px;
}

.btn-owl-next {
  right: 10px;
}

/* =========================================
   PROMO BANNER
   Mobile-first and fluid: clamp() scales spacing,
   type and the badge continuously with viewport width
   instead of jumping at a couple of fixed breakpoints,
   so it holds up cleanly on any device size.
   ========================================= */

.promo-banner-wrap {
  max-width: 1120px;
  margin: clamp(40px, 9vw, 70px) auto clamp(20px, 4vw, 30px);
  padding: 0 clamp(16px, 4vw, 20px);
  position: relative;
  z-index: 20;
}

.promo-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #f5f5fa;
  border: 3px solid #2f4892;
  border-radius: 15px;
  overflow: visible;
}

.promo-info {
  margin-bottom: 15px;
  color: #29458f;
  font-size: clamp(13px, 2.4vw, 18px);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-info i {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--ubn-blue);
}

.promo-schedule {
  font-weight: 600;
}

.promo-divider {
  color: #999;
  font-weight: 400;
  margin: 0 4px;
}

.promo-status {
  background: var(--ubn-blue);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Status variants */
.promo-status.online {
  background: #28a745;
}

.promo-status.offline {
  background: #dc3545;
}

.promo-status.hybrid {
  background: #ffc107;
  color: #000;
}

.promo-status.coming-soon {
  background: #6c757d;
}

/* ===== NEW BADGE ===== */

.promo-banner .promo-badge {
  position: absolute;
  top: clamp(-46px, -4vw, -28px);
  left: clamp(-60px, -6vw, -24px);

  width: clamp(56px, 7vw, 88px);
  height: clamp(56px, 7vw, 88px);

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2454d8;
  color: #fff;

  font-size: clamp(14px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 1px;

  border-radius: 50%;
  z-index: 10;

  box-shadow: 0 4px 14px rgba(36, 84, 216, 0.45);
  animation: badgeBlinkPulse 1.8s infinite ease-in-out;
  cursor: default;
}

.promo-banner .promo-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid #2454d8;
  animation: badgeRadarPing 1.8s infinite cubic-bezier(0, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes badgeBlinkPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(36, 84, 216, 0.8), 0 4px 15px rgba(36, 84, 216, 0.45);
    filter: brightness(1);
    opacity: 1;
  }
  25% {
    opacity: 0.75;
    filter: brightness(1.25);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px rgba(36, 84, 216, 0), 0 8px 22px rgba(36, 84, 216, 0.35);
    filter: brightness(1.35);
    opacity: 1;
  }
  75% {
    opacity: 0.8;
  }
}

@keyframes badgeRadarPing {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  75%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ===== IMAGE ===== */

.promo-banner .promo-img {
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;

  margin: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 12px 12px 0 0;
}

/* ===== CONTENT ===== */

.promo-banner .promo-text {
  flex: 1;

  padding: clamp(20px, 5vw, 18px) clamp(20px, 6vw, 55px) clamp(24px, 5vw, 20px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* Title */

.promo-banner .promo-text h3 {
  margin: 0 0 clamp(12px, 3vw, 20px);

  color: #29458f;

  font-size: clamp(18px, 3.2vw, 25px);
  line-height: 1.2;
  font-weight: 500;
}

/* Description */

.promo-banner .promo-text p {
  margin: 0 0 15px;

  color: #29458f;

  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.35;

  max-width: 680px;
}

/* Schedule */

.promo-banner .promo-schedule {
  color: #29458f;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 700;
}

/* Button */

.promo-banner .btn-promo {
  display: block;

  width: min(90%, 550px);

  padding: 10px 25px;

  background: #2d5eb2;
  color: #fff;

  border-radius: 30px;

  font-size: clamp(15px, 2.4vw, 20px);
  font-weight: 500;

  text-align: center;
  text-decoration: none;

  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2);
}

.promo-banner .btn-promo:hover {
  background: #244d94;
  color: #fff;
  text-decoration: none;
}

/* Desktop (≥768px): image sits beside the text as a column */
@media (min-width: 768px) {
  .promo-banner {
    flex-direction: row;
    min-height: 300px;
  }

  .promo-banner .promo-img {
    flex: 0 0 27%;
    aspect-ratio: auto;
    min-height: 265px;
    margin: 15px auto 15px 40px;
    border-radius: 20px;
  }

  .promo-banner .promo-text {
    min-height: 265px;
  }
}

/* ===== SECTION HEADING ===== */

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title .top-label {
  display: block;
  color: var(--ubn-blue);
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 40px;
  line-height: 1;
}

.section-title h2 {
  font-weight: 800;
  color: var(--ubn-blue-dark);
  margin-top: 4px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.section-title-row .lihat-semua {
  color: var(--ubn-blue);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  margin-left: auto;
  margin-top: 35px;
}

.section-title-row .lihat-semua:hover {
  text-decoration: underline;
}

/* ===== NEWS PORTAL SECTION (BILINGUAL & UGM STYLE) ===== */

.news-portal-section {
  font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.news-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.news-portal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-portal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ubn-blue-dark);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.news-portal-sub {
  font-size: 15px;
  font-weight: 500;
  color: #64748b;
}

.news-accent-line {
  display: inline-block;
  width: 50px;
  height: 3px;
  background-color: var(--ubn-yellow);
  border-radius: 2px;
}

.news-portal-more {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ubn-blue-dark);
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.news-portal-more .more-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.news-portal-more:hover {
  color: var(--ubn-blue);
  text-decoration: underline;
  transform: translateX(3px);
}

/* 1. Berita Utama / Dominan (Top Featured Card) */
.news-featured-card {
  background: #ffffff;
  border-radius: var(--ubn-radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.news-featured-slides {
  position: relative;
  width: 100%;
}

.news-featured-slide {
  width: 100%;
}

.news-switcher-controls {
  position: absolute;
  bottom: 14px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.news-switch-arrow {
  border: none;
  background: transparent;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.news-switch-arrow:hover {
  background: #1e4a8c;
  color: #ffffff;
}

.news-switch-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-switch-dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  border: none;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.news-switch-dot.active {
  width: 20px;
  background: #1e4a8c;
}

@media (max-width: 767px) {
  .news-switcher-controls {
    bottom: 8px;
    right: 12px;
    padding: 3px 8px;
  }
}

.news-featured-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.news-featured-img {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #f1f5f9;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.news-featured-card:hover .news-featured-img img {
  transform: scale(1.03);
}

.news-featured-body {
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.news-featured-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 8px;
  display: block;
}

.news-featured-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-featured-title a {
  color: var(--ubn-blue-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.news-featured-title a:hover {
  color: var(--ubn-blue);
  text-decoration: underline;
}

.news-featured-date {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-featured-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 2. Bagian Bawah: Berita 2 & 3 (Sub Cards) */
.news-sub-card {
  background: #ffffff;
  border-radius: var(--ubn-radius);
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f6;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.news-sub-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.news-sub-img {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: #f1f5f9;
}

.news-sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.news-sub-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-sub-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 6px;
  display: block;
}

.news-sub-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-sub-title a {
  color: var(--ubn-blue-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.news-sub-title a:hover {
  color: var(--ubn-blue);
  text-decoration: underline;
}

.news-sub-date {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-sub-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-sub-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.btn-news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f1f5f9;
  color: #0c2340;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-news-more i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.btn-news-more:hover {
  background: #0c2340;
  color: #ffffff;
  border-color: #0c2340;
  text-decoration: none;
}

.btn-news-more:hover i {
  transform: translateX(4px);
}

/* 3. Kolom Kanan: Latest News Panel */
.latest-news-panel {
  background: #ffffff;
  border-radius: var(--ubn-radius);
  overflow: hidden;
  border: 1px solid #eef2f6;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
}

.latest-news-header {
  background: #9ab6cf;
  padding: 12px 18px;
  transition: background 0.2s;
}

.latest-news-header a {
  color: #0c2340;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.latest-news-header a small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}

.latest-news-header:hover {
  background: #8aa9c4;
}

.latest-news-list {
  padding: 12px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.latest-news-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.latest-news-item:first-child {
  padding-top: 0;
}

.latest-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-news-thumb-link {
  flex-shrink: 0;
  display: block;
  width: 74px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
}

.latest-news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.latest-news-item:hover .latest-news-thumb {
  transform: scale(1.08);
}

.latest-news-info {
  flex-grow: 1;
  min-width: 0;
}

.latest-news-item .item-date {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.latest-news-item .item-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-news-item .item-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s;
}

.latest-news-item .item-title a:hover {
  color: var(--ubn-blue);
  text-decoration: underline;
}
  color: var(--ubn-blue);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .news-featured-img {
    height: 250px;
  }
  .news-featured-body {
    padding: 20px;
  }
  .news-featured-title {
    font-size: 19px;
  }
  .latest-news-panel {
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .news-portal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .news-portal-title {
    font-size: 21px;
  }
}

/* ===== UBN IN NUMBER (DENGAN SENTUHAN OMBAK BAHARI BIRU UBN) ===== */

.ubn-wave-top,
.ubn-wave-bottom {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: none !important;
  margin: 0 !important;
}

.ubn-wave-top {
  background-color: #f7f9fc !important; /* Latar belakang sama dengan seksi berita di atasnya */
  margin-bottom: -1px !important; /* Overlap 1px hilangkan celah garis */
}

.ubn-wave-bottom {
  background-color: #ffffff !important; /* Latar belakang sama dengan seksi agenda di bawahnya */
  margin-top: -1px !important; /* Overlap 1px hilangkan celah garis */
}

.ubn-wave-top svg,
.ubn-wave-bottom svg {
  display: block;
  width: 100%;
  height: 46px;
  border: none !important;
}

.stats-section {
  background-color: #283687 !important; /* Warna Biru Resmi UBN, persis sama dengan ombak */
  color: #fff !important;
  padding: 15px 0 35px 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
  border: none !important;
  position: relative;
}

.news-portal-section {
  margin-bottom: 0 !important;
  border-bottom: none !important;
  padding-bottom: 25px !important;
}

.stats-section + section.content-block {
  margin-top: 0 !important;
  border-top: none !important;
  padding-top: 35px !important;
}

.stats-section h2 {
  text-align: center;
  font-weight: 800;
  font-size: 30px;
  margin-bottom: 35px;
  color: #ffffff;
  letter-spacing: -0.5px;
  position: relative;
  display: block;
}

.stats-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #f6b93b;
  border-radius: 2px;
}

.stats-item {
  text-align: center;
  margin-bottom: 22px;
  transition: transform 0.25s ease;
}

.stats-item:hover {
  transform: translateY(-4px);
}

.stats-item .num {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  display: block;
  position: relative;
  padding-bottom: 12px;
  line-height: 1.1;
}

.stats-item .num::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #f6b93b;
  border-radius: 2px;
}

.stats-item .label {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  display: inline-block;
  line-height: 1.35;
  padding-top: 12px;
  color: #cbd5e1;
}

/* ===== AGENDA UBN ===== */

.agenda-strip {
  background: var(--ubn-blue);
  border-radius: var(--ubn-radius);
  overflow: hidden;
  margin-bottom: 25px;
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  color: #fff;
  min-height: 70px;
  height: 100%;
}

.agenda-date {
  background: #fff;
  color: var(--ubn-blue-dark);
  border-radius: 4px;
  text-align: center;
  min-width: 60px;
  min-height: 65px;
  padding: 7px 5px;
  line-height: 1.1;
  flex: 0 0 auto;
}

.agenda-date .d {
  font-size: 24px;
  font-weight: 800;
  display: block;
  margin-top: 6px;
}

.agenda-date .m {
  font-size: 11px;
  text-transform: uppercase;
}

.agenda-title {
  font-size: 16px;
  font-weight: 400;
}

.agenda-photo-grid > [class*='col-'] {
  margin-bottom: 20px;
}

.agenda-photo-grid figure {
  margin: 0;
  border-radius: var(--ubn-radius);
  overflow: hidden;
}

.agenda-photo-grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.agenda-photo-grid figcaption {
  padding: 10px 4px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ubn-blue-dark);
}

/* ===== MAJALAH UBN ===== */

.jurnal-grid > [class*='col-'] {
  margin-bottom: 20px;
}

.jurnal-item a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  text-decoration: none; /* Menghapus garis bawah link */
}

.jurnal-item img {
  width: 100%;
  aspect-ratio: 3 / 4; /* Menjaga rasio sampul majalah */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Efek zoom saat gambar asli di-hover */
.jurnal-item a:hover img {
  transform: scale(1.05);
}

.magazine-heading {
  text-align: left;
  margin-bottom: 20px;
}

.magazine-title-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.magazine-title-row h2 {
  margin: 0;
  flex: 0 0 auto;
}

.magazine-heading-line {
  flex: 1;
  height: 1px;
  background: var(--ubn-blue-dark);
}

.magazine-heading .block-sub-heading {
  display: block;
  margin-top: 5px;
  font-style: normal !important;
}

/* ===== OUTSTANDING ALUMNI ===== */

.alumni-grid > [class*='col-'] {
  margin-bottom: 24px;
}

.alumni-card {
  background: #fffcf2;
  border-radius: var(--ubn-radius);
  padding: 24px 18px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.22);
}

.alumni-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.alumni-card p.testi {
  font-size: 12px;
  color: var(--ubn-blue-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  text-align: justify;
}

.alumni-card h4 {
  font-weight: 700;
  color: var(--ubn-blue-dark);
  margin-bottom: 2px;
  font-size: 16px;
}

.alumni-card span {
  font-size: 12px;
  color: var(--ubn-blue-dark);
}

/* ===== SOSIAL MEDIA / UBN NEWS ===== */

.sosmed-heading {
  text-align: center;
  margin-bottom: 35px;
}

.sosmed-heading h3 {
  margin: 0 0 5px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ubn-blue-dark);
}

.sosmed-heading span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #666;
}

/* ===== UBN NEWS HEADING ===== */

.sosmed-news-heading {
  text-align: left;
  margin-bottom: 15px;
}

.sosmed-news-heading h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  color: var(--ubn-blue-dark);
}

.sosmed-news-heading h2 span {
  color: var(--ubn-yellow);
}

/* ===== SOSMED GRID ===== */

.sosmed-grid > [class*='col-'] {
  margin-bottom: 20px;
}

/* ===== SOSMED CARD ===== */

.sosmed-card {
  position: relative;
  border-radius: var(--ubn-radius);
  overflow: hidden;
  min-height: 410px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.sosmed-card .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  width: 100%;
  padding: 18px;
  color: #fff;
}

.sosmed-card .platform-badge {
  position: absolute;
  top: 12px;
  left: 12px;

  background: #fcffd4;
  color: #0f0e0e;

  font-size: 14px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 4px;

  display: none;
}

/* ===== SOSMED LAYOUT ===== */

.sosmed-layout {
  align-items: flex-start;
}

/* ===== SOCIAL MEDIA BUTTON ===== */

.sosmed-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.sosmed-tab {
  border: 1px solid var(--ubn-blue-dark);
  background: transparent;
  color: var(--ubn-blue-dark);
  padding: 7px 16px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sosmed-tab:hover,
.sosmed-tab.active {
  background: var(--ubn-blue-dark);
  color: #fff;
}

/* ===== SOCIAL MEDIA CONTENT ===== */

.sosmed-social-item {
  display: none;
}

.sosmed-social-item.active {
  display: block;
}

/* ===== RESPONSIVE ===== */

@media screen and (max-width: 992px) {
  #owl-demo .owl-item .img {
    aspect-ratio: 16 / 9;
    max-height: 300px;
  }
}

@media screen and (max-width: 767px) {
  .promo-info {
    flex-direction: column;
    gap: 2px;
  }

  .promo-divider {
    display: none;
  }
  /* ===== AGENDA ===== */

  .agenda-item {
    padding: 10px 15px;
    gap: 12px;
  }

  .agenda-photo-grid img {
    height: 300px;
  }

  .sosmed-news-heading h2 {
    font-size: 26px;
  }

  .video-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(22, 48, 92, 0.1);
    margin-bottom: 12px;
  }

  .video-caption {
    font-size: 13px;
    padding: 0;
  }

  .sosmed-layout {
    row-gap: 30px;
  }

  .jurnal-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 5px;
    padding-right: 5px;
    gap: 15px;
  }

  .jurnal-grid > [class*='col-'] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 0 0 calc(50% - 7.5px); /* 2 kolom */
    max-width: calc(50% - 7.5px);
    margin-bottom: 0; /* Gap sudah menangani spacing vertikal */
  }
}

@media screen and (max-width: 720px) {
  #owl-demo .owl-item .img {
    aspect-ratio: 8 / 3;
    max-height: 300px;
  }

  #owl-demo .owl-item .owl-caption {
    bottom: 12%;
    padding: 0 24px;
  }

  #owl-navigation {
    top: 7vh;
    padding: 0 15px;
  }

  .promo-banner-wrap {
    margin-top: 50px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
  }

  .promo-banner .promo-img {
    height: 160px;
    min-height: 160px;
  }
  .section-title-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .section-title-row .lihat-semua {
    margin-left: auto;
    margin-top: 25px;
  }

  .stats-section h2 {
    font-size: 30px;
  }

  .stats-item .num {
    font-size: 30px;
    padding-bottom: 15px;
    max-height: 60px;
  }

  .stats-item .num::after {
    width: 100px;
    height: 2px;
  }

  .stats-item .label {
    font-size: 12px;
    padding-top: 15px;
  }

  .section-title .top-label {
    font-size: 20px;
  }

  .sosmed-tabs {
    margin-top: 25px;
  }

  /* ===== JURNAL ===== */

  .jurnal-grid {
    margin-left: -5px;
    margin-right: -5px;
  }

  .jurnal-grid > [class*='col-'] {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 15px;
  }
}

/* =========================================
   CONTENT BLOCK
   Consistent, responsive vertical gap between every
   section (previously only .bg-gray-light sections had
   any padding, so Agenda/Majalah/Alumni/Sosmed ran
   straight into each other with no breathing room).
   ========================================= */

.content-block {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

/* ===== SCROLL REVEAL ===== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animasi dari kiri */

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animasi dari kanan */

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   VIDEO WRAPPER (UBN NEWS & VIDEO PROFIL)
   Mobile First & Responsive
   ========================================= */

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9; /* Menjaga rasio video tetap 16:9 di semua layar */
  overflow: hidden;
  border-radius: var(--ubn-radius);
  box-shadow: 0 8px 24px rgba(22, 48, 92, 0.15);
  background-color: #000; /* Latar hitam saat video memuat */
  margin-bottom: 15px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fallback untuk browser lama yang belum mendukung aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-wrapper {
    height: 0;
    padding-bottom: 56.25%; /* Rasio 16:9 */
  }
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.video-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ubn-blue-dark);
  margin-top: 12px;
  padding: 0 5px;
  text-align: left;
}

.video-caption i {
  color: var(--ubn-blue);
  margin-right: 6px;
}

/* =========================================
   JANGKAUAN GLOBAL UBN & STATISTIK PENGUNJUNG
   Modern, prestigious & fully responsive
   ========================================= */

.statistik-section {
  position: relative;
  padding: clamp(50px, 7vw, 80px) 0 clamp(60px, 8vw, 90px) 0;
  background: #f8fafc;
  border-top: 1px solid rgba(40, 54, 135, 0.05);
}

.bg-gray-light {
  background: #f8fafc;
}

.statistik-section .section-title {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 45px);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.statistik-section .section-title .top-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(11.5px, 2vw, 13px);
  font-weight: 700;
  color: var(--ubn-blue, #283687);
  background: rgba(40, 54, 135, 0.08);
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.statistik-section .section-title h2 {
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 800;
  color: #182559;
  margin-bottom: 10px;
  line-height: 1.25;
}

.statistik-section .section-title .section-subtitle {
  font-size: clamp(13.5px, 2.2vw, 15px);
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ===== GRID CONTAINER ===== */
.global-reach-grid,
.statistik-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3.5vw, 32px);
  align-items: stretch;
}

@media (min-width: 992px) {
  .global-reach-grid,
  .statistik-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(380px, 1.25fr);
  }
}

/* ===== CARD BASE ===== */
.global-reach-card,
.statistik-card {
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===== KARTU KIRI: BRAND & JANGKAUAN PRESTISE ===== */
.global-brand-card,
.statistik-online {
  background: linear-gradient(145deg, #182559 0%, #283687 100%);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 3.5vw, 32px);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(24, 37, 89, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.global-brand-card:hover,
.statistik-online:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(24, 37, 89, 0.26);
}

.global-card-bg-icon {
  position: absolute;
  right: -30px;
  bottom: -30px;
  font-size: clamp(200px, 25vw, 270px);
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  line-height: 1;
  transform: rotate(-10deg);
}

.global-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(246, 185, 59, 0.15);
  border: 1px solid rgba(246, 185, 59, 0.35);
  color: #f6b93b;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.global-card-title {
  font-size: clamp(20px, 2.5vw, 25px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.global-card-desc {
  font-size: clamp(13px, 2vw, 14px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 26px;
}

/* 3 Pilar Metrik Global */
.global-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.8vw, 14px);
  margin-bottom: clamp(20px, 3vw, 26px);
  position: relative;
  z-index: 1;
}

.global-metric-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: clamp(12px, 2vw, 16px) clamp(6px, 1vw, 10px);
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.global-metric-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.metric-icon {
  color: #f6b93b;
  font-size: clamp(16px, 2.2vw, 19px);
  margin-bottom: 6px;
}

.metric-val {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.metric-lbl {
  font-size: clamp(9.5px, 1.4vw, 11px);
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 4px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status Portal Pill */
.global-portal-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 12.5px;
  position: relative;
  z-index: 1;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.status-year {
  background: rgba(246, 185, 59, 0.2);
  color: #f6b93b;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  border: 1px solid rgba(246, 185, 59, 0.3);
}

/* Dot Online dengan animasi pulse */
.online-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* ===== KARTU KANAN: PERSEBARAN MANCANEGARA ===== */
.global-country-card,
.statistik-negara {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 32px) clamp(18px, 3vw, 30px);
  box-shadow: 0 10px 30px rgba(40, 54, 135, 0.05);
  border: 1px solid rgba(40, 54, 135, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.global-country-card:hover,
.statistik-negara:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(40, 54, 135, 0.1);
}

.global-country-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.country-card-title {
  margin: 0;
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: 700;
  color: #182559;
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-card-title i {
  color: var(--ubn-blue, #283687);
}

.country-card-sub {
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 0 0;
}

.country-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: var(--ubn-blue, #283687);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(40, 54, 135, 0.12);
  white-space: nowrap;
}

/* List Negara */
.negara-list-wrap {
  flex: 1;
}

.negara-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.negara-item {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.negara-item:hover {
  background: #f8fafc;
}

.negara-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.negara-flag {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.negara-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Progress bar */
.negara-bar-wrap {
  height: 7px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  min-width: 30px;
}

.negara-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--ubn-blue, #283687) 0%,
    #3b82f6 70%,
    #f6b93b 100%
  );
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 4px;
}

.negara-stat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.negara-count {
  font-size: 13px;
  font-weight: 700;
  color: #182559;
  font-variant-numeric: tabular-nums;
}

.negara-pct {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.global-country-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== TOMBOL LIHAT SEMUA NEGARA ===== */
.all-countries-btn-wrap {
  margin-top: 14px;
}

.btn-all-countries {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border: 1px solid rgba(40, 54, 135, 0.12);
  color: var(--ubn-blue, #283687);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-all-countries:hover {
  background: var(--ubn-blue, #283687);
  color: #ffffff;
  border-color: var(--ubn-blue, #283687);
  box-shadow: 0 4px 14px rgba(40, 54, 135, 0.18);
  transform: translateY(-2px);
}

.btn-all-countries:hover .badge-country-pill {
  background: #f6b93b;
  color: #182559;
}

.btn-all-countries:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.btn-arrow-icon {
  transition: transform 0.25s ease;
  font-size: 12px;
}

.badge-country-pill {
  display: inline-block;
  background: var(--ubn-blue, #283687);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  transition: all 0.25s ease;
}

/* ===== MODAL SEMUA NEGARA ===== */
.global-countries-modal {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 50px rgba(24, 37, 89, 0.25);
  overflow: hidden;
}

.global-countries-modal .modal-header {
  background: #ffffff;
  padding: 20px 24px 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.global-countries-modal .modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #182559;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.badge-total-modal {
  font-size: 12px;
  font-weight: 700;
  background: rgba(40, 54, 135, 0.08);
  color: var(--ubn-blue, #283687);
  padding: 3px 10px;
  border-radius: 20px;
}

.modal-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin: 4px 0 0 0;
}

.global-countries-modal .modal-body {
  padding: 20px 24px;
  background: #f8fafc;
}

.country-search-box {
  position: relative;
  margin-bottom: 16px;
}

.country-search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.country-search-box input {
  padding-left: 40px !important;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  height: 44px !important;
  font-size: 14px !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
}

.country-search-box input:focus {
  border-color: var(--ubn-blue, #283687) !important;
  box-shadow: 0 0 0 3px rgba(40, 54, 135, 0.12) !important;
}

.country-modal-scroll {
  max-height: 440px;
  overflow-y: auto;
  padding-right: 6px;
}

.country-modal-scroll::-webkit-scrollbar {
  width: 6px;
}
.country-modal-scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.country-modal-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.country-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.country-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}

.country-modal-item {
  display: grid;
  grid-template-columns: 26px 24px 1fr 68px;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #edf2f7;
  transition: all 0.2s ease;
}

.country-modal-item:hover {
  border-color: rgba(40, 54, 135, 0.25);
  box-shadow: 0 2px 8px rgba(40, 54, 135, 0.06);
  transform: translateY(-1px);
}

.country-rank {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 0;
  text-align: center;
  display: inline-block;
}

.country-rank.rank-top-1 {
  background: #fef3c7;
  color: #b45309;
}

.country-rank.rank-top-2 {
  background: #e2e8f0;
  color: #334155;
}

.country-rank.rank-top-3 {
  background: #ffedd5;
  color: #c2410c;
}

.country-modal-flag {
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.country-modal-info {
  min-width: 0;
}

.country-modal-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin-bottom: 3px;
}

.country-modal-bar-wrap {
  height: 5px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.country-modal-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--ubn-blue, #283687), #3b82f6);
  border-radius: 6px;
}

.country-modal-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}

.country-modal-count {
  font-size: 12px;
  font-weight: 700;
  color: #182559;
}

.country-modal-pct {
  font-size: 10.5px;
  color: #94a3b8;
}

.no-negara-found {
  text-align: center;
  padding: 40px 10px;
  color: #94a3b8;
  font-size: 14px;
}

.global-countries-modal .modal-footer {
  background: #ffffff;
  padding: 12px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-stat-total {
  font-size: 12.5px;
  color: #64748b;
}

.modal-stat-total strong {
  color: #182559;
}

@media (max-width: 767px) {
  .country-modal-grid {
    grid-template-columns: 1fr;
  }
  .global-countries-modal .modal-header,
  .global-countries-modal .modal-body,
  .global-countries-modal .modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 767px) {
  .global-metrics-row {
    gap: 8px;
  }
  .global-metric-box {
    padding: 12px 6px;
  }
  .metric-val {
    font-size: 16px;
  }
  .metric-lbl {
    font-size: 9.5px;
  }
  .negara-item {
    grid-template-columns: 110px 1fr 65px;
    gap: 8px;
    padding: 6px 8px;
  }
  .negara-name {
    font-size: 12.5px;
  }
  .negara-flag {
    font-size: 17px;
  }
  .global-portal-status {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    border-radius: 14px;
    padding: 10px 12px;
  }
}

/* ===== GALERI FOTO 2-BARIS SLIDER BERANDA ===== */
.section-galeri-foto {
  position: relative;
  z-index: 1;
  padding: 65px 0 85px 0 !important;
  margin-bottom: 0 !important;
  clear: both;
}

.gallery-custom-nav {
  display: flex;
  gap: 8px;
}

.gallery-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #283687;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.gallery-nav-btn:hover {
  background: #283687;
  color: #ffffff;
  border-color: #283687;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 54, 135, 0.25);
}

.gallery-slider-2rows {
  position: relative;
  margin-top: 15px;
}

.gallery-col-slide {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-card-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gallery-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 195px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.gallery-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
  display: block;
}

.gallery-card-item:hover .gallery-img-wrap img {
  transform: scale(1.07);
}

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

.gallery-card-item:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-zoom-badge {
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #283687;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-card-item:hover .gallery-zoom-badge {
  transform: scale(1);
}

.gallery-info-caption {
  padding: 10px 14px;
  background: #ffffff;
}

.gallery-item-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.gallery-card-item:hover .gallery-item-title {
  color: #283687;
}

.gallery-slider-2rows .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.gallery-slider-2rows .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 6px;
  background: #cbd5e1 !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.gallery-slider-2rows .owl-dot.active span {
  width: 26px;
  border-radius: 6px;
  background: #283687 !important;
}

/* ===== UBN DALAM ANGKA - GRAFIK CHARTS ===== */
.stats-charts-row {
  margin-top: 35px;
}

.stats-chart-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(10, 25, 60, 0.18);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-chart-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(10, 25, 60, 0.24);
}

.stats-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.stats-chart-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stats-chart-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(30, 74, 140, 0.1);
  color: #1e4a8c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stats-chart-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f2c59;
  margin: 0;
  line-height: 1.25;
}

.stats-chart-subtitle {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.stats-chart-toggle-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
}

.stats-toggle-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stats-toggle-btn.active {
  background: #1e4a8c;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(30, 74, 140, 0.25);
}

.stats-chart-body {
  position: relative;
  flex-grow: 1;
  min-height: 250px;
}

.stats-chart-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f8fafc;
}

.chart-legend-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legend-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.donut-total {
  display: block;
  font-family: 'Josefin Sans', 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0f2c59;
  line-height: 1;
}

.donut-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.comp-stat-pill {
  padding: 6px 4px;
  border-radius: 8px;
  background: #f8fafc;
  margin: 0 2px;
}

.comp-stat-val {
  font-family: 'Josefin Sans', 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

.comp-stat-lbl {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .stats-chart-card {
    padding: 16px;
    margin-bottom: 20px;
  }
  .stats-chart-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-chart-body {
    min-height: 220px;
  }
  .comp-stat-val {
    font-size: 14px;
  }
  .comp-stat-lbl {
    font-size: 10px;
  }
}
