.sbl-porprov {
  --ink: #092855;
  --muted: #64809b;
  --blue: #0969b6;
  --cyan: #18a8e2;
  --gold: #f3b528;
  --line: #dbe9f4;
  --surface: #f5f9fd;
  max-width: 1180px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 18px 0 36px;
  color: var(--ink);
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

.sbl-porprov * {
  box-sizing: border-box;
}

/* 1. HERO BANNER */
.sbl-porprov__hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #042d60;
  border: 1px solid #0a4e84;
  box-shadow: 0 16px 36px rgba(8, 48, 84, 0.14);
}

.sbl-porprov__hero--banner {
  display: block;
}

.sbl-porprov__hero-banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  object-position: center;
}

/* 2. SECTION & HEADINGS */
.sbl-porprov__section {
  min-width: 0;
  margin-top: 36px;
}

.sbl-porprov__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.sbl-porprov__eyebrow {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.sbl-porprov h2 {
  margin: 0;
  color: #082a55;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.sbl-porprov__updated {
  margin: 0;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.sbl-porprov__updated-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.sbl-porprov__updated-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #edf6fd;
  border: 1px solid #c2def3;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  color: #0b497b;
}

.sbl-porprov__pill-tag {
  background: #0969b6;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 99px;
  text-transform: uppercase;
}

.sbl-porprov__pill-text {
  font-weight: 700;
  color: #052a4e;
}

.sbl-porprov__sync-time {
  font-size: 0.68rem;
  color: #7b94a8;
  font-weight: 500;
}

/* 3. KLASEMEN MEDALI */
.sbl-porprov__table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 49, 82, 0.05);
  scrollbar-width: thin;
}

.sbl-porprov table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
  font-family: system-ui, sans-serif;
}

.sbl-porprov th,
.sbl-porprov td {
  padding: 13px 16px;
  text-align: center;
  border-bottom: 1px solid #e8f0f6;
  font-size: 0.84rem;
}

.sbl-porprov thead {
  background: #edf8ff;
  color: #315b7b;
}

.sbl-porprov thead th {
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.sbl-porprov th:first-child,
.sbl-porprov td:first-child {
  width: 58px;
}

.sbl-porprov th:nth-child(2) {
  text-align: left;
}

.sbl-porprov tr:last-child > * {
  border-bottom: 0;
}

.sbl-porprov tbody tr {
  transition: background 0.18s ease;
}

.sbl-porprov tbody tr:hover {
  background: #f7fbff;
}

.sbl-porprov .is-pinrang {
  background: linear-gradient(90deg, #fff5d9, #fffdf9);
  border-left: 3px solid var(--gold);
}

.sbl-porprov .is-pinrang:hover {
  background: #fff0c7;
}

.sbl-porprov__team {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #143b63;
  font-weight: 750;
}

.sbl-porprov__team img {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.sbl-porprov td strong {
  color: #082a55;
}

/* 3.1 PROVENANCE & CATATAN REDAKSI KLASEMEN */
.sbl-porprov__provenance-note {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fdfefe;
  border: 1px solid #d4e5f2;
  border-left: 4px solid #0969b6;
  font-family: system-ui, sans-serif;
  box-shadow: 0 4px 14px rgba(9, 49, 82, 0.03);
}

.sbl-porprov__provenance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #09599a;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sbl-porprov__provenance-badge svg {
  flex-shrink: 0;
  color: #0969b6;
}

.sbl-porprov__provenance-note p {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.55;
  color: #4a6782;
}

.sbl-porprov__provenance-note strong {
  color: #0b345d;
}

/* 4. JADWAL PERTANDINGAN */
.sbl-porprov__schedule {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sbl-porprov__schedule article {
  position: relative;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(9, 49, 82, 0.045);
}

.sbl-porprov__schedule article:before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3.5px;
  border-radius: 0 3px 3px 0;
  background: var(--cyan);
}

.sbl-porprov__schedule article p {
  margin: 6px 0;
}

.sbl-porprov__schedule h3 {
  margin: 7px 0;
  color: #123b66;
  font-size: 1rem;
  line-height: 1.28;
}

.sbl-porprov__date {
  margin: 0 !important;
  color: #0876b1;
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 850;
}

.sbl-porprov__muted {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* 5. BERITA KONTINGEN PINRANG (MODERN CARD GRID) */
.sbl-porprov__news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sbl-porprov__news-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(9, 49, 82, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.sbl-porprov__news-card[hidden] {
  display: none !important;
}

.sbl-porprov__news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 48, 84, 0.12);
  border-color: #b5d5ef;
}

.sbl-porprov__news-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #051e3e;
}

.sbl-porprov__news-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.sbl-porprov__news-card:hover .sbl-porprov__news-media img {
  transform: scale(1.05);
}

.sbl-porprov__news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  min-width: 0;
}

.sbl-porprov__news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.74rem;
  color: var(--muted);
}

.sbl-porprov__source-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  background: #eaf4fb;
  color: #0963aa;
  font-weight: 750;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sbl-porprov__dot {
  color: #abbecf;
  font-weight: bold;
}

.sbl-porprov__time {
  font-family: system-ui, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbl-porprov__news-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.38;
  color: #0a2d59;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.76em;
}

.sbl-porprov__news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sbl-porprov__news-title a:hover {
  color: var(--blue);
}

.sbl-porprov__news-excerpt {
  margin: 0 0 16px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #55708a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
}

.sbl-porprov__news-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 750;
  color: #0969b6;
  text-decoration: none;
  padding-top: 6px;
  transition: color 0.2s ease;
}

.sbl-porprov__news-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.sbl-porprov__news-card:hover .sbl-porprov__news-link {
  color: #04437a;
}

.sbl-porprov__news-card:hover .sbl-porprov__news-link svg {
  transform: translateX(4px);
}

/* 6. PAGINATION BERITA */
.sbl-porprov__pagination {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sbl-porprov__pagination-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 99px;
  box-shadow: 0 6px 18px rgba(9, 49, 82, 0.05);
}

.sbl-porprov__page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: #f2f7fb;
  color: #0f3d6a;
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sbl-porprov__page-btn svg {
  width: 16px;
  height: 16px;
}

.sbl-porprov__page-btn:hover:not([disabled]) {
  background: #082e5f;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(8, 46, 95, 0.22);
}

.sbl-porprov__page-btn[disabled] {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}

.sbl-porprov__page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sbl-porprov__page-num {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #44617c;
  font-family: system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.sbl-porprov__page-num:hover:not(.is-active) {
  background: #eaf3fa;
  color: #0963aa;
  transform: scale(1.06);
}

.sbl-porprov__page-num.is-active {
  background: #082e5f;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(8, 46, 95, 0.28);
  cursor: default;
  transform: none;
}

.sbl-porprov__page-dots {
  padding: 0 4px;
  color: #88a1b6;
  font-weight: bold;
}

.sbl-porprov__page-status {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-weight: 600;
}

/* 7. DISCLAIMER & UTILITY */
.sbl-porprov__empty {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px dashed var(--line);
  color: #536d86;
  text-align: center;
  font-size: 0.92rem;
}

.sbl-porprov__disclaimer {
  margin-top: 36px;
  padding: 14px 18px;
  border-left: 3.5px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  background: #edf9fd;
  color: #4e6370;
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
}

.sbl-porprov :focus-visible {
  outline: 3px solid #18a8e2;
  outline-offset: 3px;
}

/* 8. MEDIA QUERIES RESPONSIVE */
@media (max-width: 960px) {
  .sbl-porprov__news,
  .sbl-porprov__schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 780px) {
  .sbl-porprov {
    padding: 14px 0 28px;
  }
  .sbl-porprov__hero {
    border-radius: 18px;
  }
  .sbl-porprov__hero-banner {
    min-height: 132px;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .sbl-porprov__section {
    margin-top: 30px;
  }
  .sbl-porprov__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .sbl-porprov__heading > div:first-child { min-width: 0; width: 100%; }
  .sbl-porprov__updated-group { align-items: flex-start; width: 100%; }
  .sbl-porprov__updated-pill { max-width: 100%; flex-wrap: wrap; border-radius: 12px; line-height: 1.35; }
  .sbl-porprov__pill-text { min-width: 0; }
  .sbl-porprov__updated {
    margin-top: 6px;
    white-space: normal;
  }
  .sbl-porprov th,
  .sbl-porprov td {
    padding: 12px 13px;
  }
}

@media (max-width: 640px) {
  .sbl-porprov__news,
  .sbl-porprov__schedule {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sbl-porprov__news-card {
    border-radius: 16px;
  }
  .sbl-porprov__news-body {
    padding: 16px;
  }
  .sbl-porprov__news-title {
    font-size: 0.98rem;
    min-height: auto;
  }
  .sbl-porprov__news-excerpt {
    font-size: 0.82rem;
    min-height: auto;
  }
  .sbl-porprov__pagination-bar {
    width: 100%;
    justify-content: space-between;
  }
  .sbl-porprov__page-btn span {
    display: none;
  }
  .sbl-porprov__page-btn {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .sbl-porprov__hero-banner {
    min-height: 118px;
    object-position: center;
  }
  .sbl-porprov h2 {
    font-size: 1.34rem;
  }
  .sbl-porprov table {
    min-width: 590px;
  }
  .sbl-porprov th,
  .sbl-porprov td {
    padding: 10px 11px;
    font-size: 0.76rem;
  }
  .sbl-porprov thead th {
    font-size: 0.58rem;
  }
  .sbl-porprov__team {
    gap: 8px;
  }
  .sbl-porprov__team img {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
  .sbl-porprov__medal-key {
    gap: 2px;
  }
  .sbl-porprov__medal-key svg {
    width: 16px;
    height: 19px;
  }
  .sbl-porprov__medal-key > span {
    font-size: 0.57rem;
  }
}
