/* RBTV Official - SSH UI Fix 2026-09-10 */

body,
button,
input,
select,
textarea {
  font-family: Arial, sans-serif;
}

/* Search + LIVE di bawah menu */
.nav-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 10px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.nav-search input {
  width: 210px;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
}

.nav-search button {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.nav-live-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 5px;
  background: #d71920;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: rbtvLivePulse 1.5s infinite;
}

@keyframes rbtvLivePulse {
  70% {
    box-shadow: 0 0 0 7px rgba(255,255,255,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0);
  }
}

/* Seimbangkan icon LIVE pada Breaking News */
.breaking-live {
  width: 20px !important;
  height: 20px !important;
  font-size: 12px !important;
}

@media (max-width: 700px) {
  .nav-tools {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-search input {
    width: 170px;
  }
}

@media (max-width: 480px) {
  .nav-tools {
    gap: 6px;
  }

  .nav-search {
    flex: 1 1 100%;
    justify-content: flex-end;
  }

  .nav-search input {
    width: min(62vw, 210px);
  }

  .nav-search button,
  .nav-live-btn {
    height: 32px;
  }
}

/* SEARCH TERPISAH DI BAWAH LIVE BANNER */
.live-banner .live-search {
  display: none !important;
}

.live-search {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 1200px;
  margin: 12px auto 18px;
  padding: 0 15px;
  box-sizing: border-box;
}

.live-search input {
  width: 220px;
  height: 36px;
  padding: 7px 11px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  color: #222;
  font-family: Arial, sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}

.live-search button {
  height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 600px) {
  .live-search {
    justify-content: flex-end;
    padding: 0 10px;
  }

  .live-search input {
    width: 175px;
  }
}

/* FINAL FIX: LIVE CTA + SEARCH TERPISAH */
.live-banner-pro {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}

.live-banner-pro .live-banner-copy {
  flex: 1 1 auto !important;
}

.live-banner-pro .live-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 5 !important;
  text-decoration: none !important;
}

.live-banner-pro .live-cta b {
  margin-left: 8px !important;
}

/* SEARCH BENAR-BENAR DI LUAR LIVE BANNER */
.search-under-live {
  display: flex !important;
  justify-content: flex-end !important;
  width: min(1200px, calc(100% - 30px)) !important;
  margin: 12px auto 24px !important;
}

.search-under-live .live-search {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: min(420px, 100%) !important;
}

.search-under-live .live-search input {
  flex: 1 !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
}

.search-under-live .live-search button {
  height: 40px !important;
  padding: 0 16px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

/* MOBILE */
@media (max-width: 700px) {
  .live-banner-pro {
    gap: 12px !important;
  }

  .live-banner-pro .live-cta {
    padding: 10px 12px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .search-under-live {
    justify-content: center !important;
    width: calc(100% - 24px) !important;
    margin-top: 10px !important;
  }

  .search-under-live .live-search {
    width: 100% !important;
  }
}

/* POSISI FINAL SEARCH: KANAN DI BAWAH BANNER */
.search-under-live {
  display: block !important;
  width: min(1200px, calc(100% - 30px)) !important;
  margin: 12px auto 24px !important;
  text-align: right !important;
}

.search-under-live .live-search {
  display: inline-flex !important;
  width: 420px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  justify-content: flex-end !important;
}

/* JANGAN BIARKAN SEARCH MASUK KE TENGAH */
.search-under-live .live-search input {
  flex: 1 1 auto !important;
}

@media (max-width: 700px) {
  .search-under-live {
    text-align: center !important;
  }

  .search-under-live .live-search {
    width: 100% !important;
    margin: 0 auto !important;
  }
}

/* ===== FINAL OVERRIDE LIVE BUTTON ===== */
.live-banner.live-banner-pro {
    display: flex !important;
    align-items: center !important;
}

.live-banner.live-banner-pro .live-banner-copy {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 auto !important;
}

.live-banner.live-banner-pro .live-cta {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 100px !important;
    max-width: none !important;
    overflow: visible !important;
    color: #0b4da2 !important;
    background: #fff !important;
    text-decoration: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.live-banner.live-banner-pro .live-cta b {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* SEARCH TETAP TERPISAH DAN RATA KANAN */
.search-under-live {
    display: block !important;
    width: min(1200px, calc(100% - 30px)) !important;
    margin: 12px auto 24px !important;
    text-align: right !important;
}

.search-under-live .live-search {
    display: inline-flex !important;
    width: 420px !important;
    max-width: 100% !important;
    margin: 0 !important;
}

@media(max-width:700px) {
    .live-banner.live-banner-pro .live-cta {
        min-width: 90px !important;
        padding: 9px 10px !important;
    }

    .search-under-live {
        text-align: center !important;
    }

    .search-under-live .live-search {
        width: 100% !important;
    }
}

/* FINAL: TOMBOL LIVE DI SEBELAH BREAKING NEWS */
.breaking-live {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 58px !important;
    height: 30px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 20 !important;
}

.breaking-live span {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== RESTORE LIVE BUTTON MERAH + ANIMASI ===== */
.breaking-live {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 58px !important;
    height: 30px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 6px !important;

    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 20 !important;

    animation: rbtvLivePulse 1.5s infinite !important;
}

.breaking-live span {
    display: inline-block !important;
    color: #fff !important;
    font-weight: 900 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== BREAKING NEWS + LIVE SEJAJAR ===== */

.breaking-pro {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Label BREAKING NEWS */
.breaking-pro .breaking-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-width: 125px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 6px !important;

    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Tombol LIVE */
.breaking-pro .breaking-live {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 30px !important;
    min-width: 58px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 6px !important;

    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;

    animation: rbtvLivePulse 1.5s infinite !important;
}

.breaking-pro .breaking-live span {
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

/* Mobile */
@media (max-width: 480px) {
    .breaking-pro {
        gap: 6px !important;
    }

    .breaking-pro .breaking-label {
        min-width: 110px !important;
        height: 28px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
    }

    .breaking-pro .breaking-live {
        height: 28px !important;
        min-width: 54px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
    }

    .breaking-pro .breaking-live span {
        font-size: 10px !important;
    }
}

/* ===== FINAL LAYOUT: BREAKING NEWS | RUNNING TEXT | LIVE ===== */

.breaking-pro {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
}

/* BREAKING NEWS */
.breaking-pro .breaking-label {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-width: 125px !important;
    padding: 0 12px !important;
    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* BERITA BERJALAN */
.breaking-pro .breaking-track {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

/* LIVE DI UJUNG KANAN */
.breaking-pro .breaking-live {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-width: 58px !important;
    padding: 0 12px !important;
    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    animation: rbtvLivePulse 1.5s infinite !important;
}

.breaking-pro .breaking-live span {
    font-size: 11px !important;
    font-weight: 900 !important;
    color: #fff !important;
}

/* MOBILE */
@media (max-width: 480px) {
    .breaking-pro {
        gap: 5px !important;
    }

    .breaking-pro .breaking-label {
        min-width: 105px !important;
        height: 28px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
    }

    .breaking-pro .breaking-live {
        min-width: 52px !important;
        height: 28px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
    }

    .breaking-pro .breaking-live span {
        font-size: 10px !important;
    }
}

/* ===== FINAL LAYOUT: BREAKING NEWS | RUNNING TEXT | LIVE ===== */

.breaking-pro {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
}

/* BREAKING NEWS */
.breaking-pro .breaking-label {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-width: 125px !important;
    padding: 0 12px !important;
    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* BERITA BERJALAN */
.breaking-pro .breaking-track {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

/* LIVE DI UJUNG KANAN */
.breaking-pro .breaking-live {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-width: 58px !important;
    padding: 0 12px !important;
    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    animation: rbtvLivePulse 1.5s infinite !important;
}

.breaking-pro .breaking-live span {
    font-size: 11px !important;
    font-weight: 900 !important;
    color: #fff !important;
}

/* MOBILE */
@media (max-width: 480px) {
    .breaking-pro {
        gap: 5px !important;
    }

    .breaking-pro .breaking-label {
        min-width: 105px !important;
        height: 28px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
    }

    .breaking-pro .breaking-live {
        min-width: 52px !important;
        height: 28px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
    }

    .breaking-pro .breaking-live span {
        font-size: 10px !important;
    }
}

/* BACKGROUND GELAP UNTUK BERITA BERJALAN */
.header-breaking-wrap .breaking-track {
    background: #17202b !important;
    border-radius: 5px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

.header-breaking-wrap .breaking-crawl {
    background: transparent !important;
}

.header-breaking-wrap .breaking-item {
    color: #fff !important;
}

.header-breaking-wrap .breaking-separator {
    color: #9aa7b5 !important;
}

/* =========================================================
   FIX FINAL — HEADER BREAKING NEWS
   TARGET: BREAKING NEWS | BERITA BERJALAN | LIVE
   ========================================================= */

.header-breaking-wrap {
    width: 100% !important;
}

.header-breaking-wrap .header-breaking {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 32px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* BREAKING NEWS — KIRI */
.header-breaking-wrap .header-breaking > .breaking-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 125px !important;
    width: 125px !important;
    min-width: 125px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;

    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 0 !important;

    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .4px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* TITIK MERAH/PUTIH */
.header-breaking-wrap .header-breaking > .breaking-label i {
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    margin: 0 6px 0 0 !important;

    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

/* BERITA BERJALAN — TENGAH */
.header-breaking-wrap .header-breaking > .breaking-track {
    display: flex !important;
    align-items: center !important;

    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;

    background: #17202b !important;
    color: #fff !important;
    border-radius: 0 !important;

    overflow: hidden !important;
    white-space: nowrap !important;
}

/* CRAWL */
.header-breaking-wrap .header-breaking .breaking-crawl {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    min-width: max-content !important;

    background: transparent !important;
}

/* TEKS BERITA */
.header-breaking-wrap .header-breaking .breaking-item {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.header-breaking-wrap .header-breaking .breaking-item:hover {
    color: #fff !important;
}

.header-breaking-wrap .header-breaking .breaking-separator {
    color: #8d99a8 !important;
    margin: 0 12px !important;
}

/* LIVE — KANAN */
.header-breaking-wrap .header-breaking > .breaking-live {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 58px !important;
    width: 58px !important;
    min-width: 58px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;

    background: #e21d26 !important;
    color: #fff !important;
    border-radius: 0 !important;

    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .4px !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 50 !important;

    animation: rbtvHeaderLivePulse 1.4s infinite !important;
}

.header-breaking-wrap .header-breaking > .breaking-live span {
    display: inline-block !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

/* ANIMASI LIVE */
@keyframes rbtvHeaderLivePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(226,29,38,.65);
    }
    50% {
        opacity: .72;
        box-shadow: 0 0 0 6px rgba(226,29,38,0);
    }
}

/* MOBILE */
@media (max-width: 700px) {

    .header-breaking-wrap .header-breaking {
        min-height: 30px !important;
    }

    .header-breaking-wrap .header-breaking > .breaking-label {
        flex-basis: 105px !important;
        width: 105px !important;
        min-width: 105px !important;
        height: 30px !important;
        font-size: 9px !important;
        letter-spacing: 0 !important;
        padding: 0 6px !important;
    }

    .header-breaking-wrap .header-breaking > .breaking-track {
        height: 30px !important;
        padding: 0 8px !important;
    }

    .header-breaking-wrap .header-breaking .breaking-item {
        font-size: 10px !important;
    }

    .header-breaking-wrap .header-breaking > .breaking-live {
        flex-basis: 52px !important;
        width: 52px !important;
        min-width: 52px !important;
        height: 30px !important;
        font-size: 10px !important;
    }

    .header-breaking-wrap .header-breaking > .breaking-live span {
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {

    .header-breaking-wrap .header-breaking > .breaking-label {
        flex-basis: 100px !important;
        width: 100px !important;
        min-width: 100px !important;
        font-size: 8px !important;
    }

    .header-breaking-wrap .header-breaking .breaking-item {
        font-size: 9px !important;
    }
}

/* =========================================================
   HEADLINE NEWS SLIDESHOW
   ========================================================= */

.headline-slideshow {
    position: relative !important;
    min-height: 430px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #101827 !important;
}

.headline-slides {
    position: relative !important;
    width: 100% !important;
    height: 430px !important;
}

.headline-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;

    opacity: 0 !important;
    visibility: hidden !important;

    transition:
        opacity .6s ease,
        visibility .6s ease !important;

    pointer-events: none !important;
}

.headline-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.headline-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.headline-image img,
.headline-image .image-placeholder {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.headline-overlay {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.88) 0%,
            rgba(0,0,0,.62) 32%,
            rgba(0,0,0,.08) 72%,
            rgba(0,0,0,0) 100%
        ) !important;
}

.headline-content {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    padding: 28px !important;
    z-index: 5 !important;
}

.headline-content .tag {
    display: inline-block !important;
    margin-bottom: 8px !important;
}

.headline-content h1 {
    margin: 0 0 8px !important;
    max-width: 900px !important;
}

.headline-content h1 a {
    color: #fff !important;
    font-size: clamp(24px, 3vw, 38px) !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.headline-content p {
    max-width: 800px !important;
    margin: 0 0 10px !important;

    color: rgba(255,255,255,.88) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.headline-content .story-meta {
    color: rgba(255,255,255,.75) !important;
}

/* TOMBOL */
.headline-prev,
.headline-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    z-index: 10 !important;

    width: 40px !important;
    height: 40px !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: rgba(0,0,0,.48) !important;
    color: #fff !important;

    font-size: 30px !important;
    line-height: 35px !important;
    cursor: pointer !important;

    transition: background .2s ease, transform .2s ease !important;
}

.headline-prev {
    left: 15px !important;
}

.headline-next {
    right: 15px !important;
}

.headline-prev:hover,
.headline-next:hover {
    background: rgba(226,29,38,.9) !important;
}

/* DOT */
.headline-dots {
    position: absolute !important;
    z-index: 11 !important;

    left: 50% !important;
    bottom: 15px !important;

    transform: translateX(-50%) !important;

    display: flex !important;
    gap: 6px !important;
}

.headline-dots button {
    width: 8px !important;
    height: 8px !important;

    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;

    background: rgba(255,255,255,.45) !important;
    cursor: pointer !important;
}

.headline-dots button.active {
    width: 24px !important;
    border-radius: 5px !important;
    background: #fff !important;
}

/* MOBILE */
@media (max-width: 700px) {

    .headline-slideshow,
    .headline-slides {
        min-height: 340px !important;
        height: 340px !important;
    }

    .headline-content {
        padding: 18px !important;
    }

    .headline-content h1 a {
        font-size: 22px !important;
    }

    .headline-content p {
        display: none !important;
    }

    .headline-prev,
    .headline-next {
        width: 34px !important;
        height: 34px !important;
        font-size: 25px !important;
    }
}

@media (max-width: 480px) {

    .headline-slideshow,
    .headline-slides {
        min-height: 300px !important;
        height: 300px !important;
    }

    .headline-content {
        padding: 14px !important;
    }

    .headline-content h1 {
        margin-bottom: 4px !important;
    }

    .headline-content h1 a {
        font-size: 18px !important;
    }

    .headline-content .story-meta {
        font-size: 9px !important;
    }

    .headline-prev,
    .headline-next {
        width: 30px !important;
        height: 30px !important;
        font-size: 22px !important;
    }
}


/* FIX: BAGIAN BAWAH HEADLINE TIDAK HITAM PEKAT */
.headline-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,.62) 0%,
        rgba(0,0,0,.30) 25%,
        rgba(0,0,0,.08) 50%,
        rgba(0,0,0,0) 75%
    ) !important;
}

.headline-content {
    background: transparent !important;
}

/* MOBILE */
@media (max-width:700px) {
    .headline-overlay {
        background: linear-gradient(
            to top,
            rgba(0,0,0,.55) 0%,
            rgba(0,0,0,.20) 30%,
            rgba(0,0,0,0) 70%
        ) !important;
    }
}


/* =========================================================
   HEADLINE SLIDESHOW — FOTO PENUH, TANPA BLOK HITAM
   ========================================================= */

.headline-slideshow {
    background: transparent !important;
}

.headline-image {
    background: transparent !important;
}

/* FOTO TAMPIL PENUH */
.headline-image img {
    opacity: 1 !important;
    filter: none !important;
}

/* HILANGKAN OVERLAY GELAP */
.headline-slideshow .headline-overlay {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.18) 0%,
        rgba(0,0,0,.06) 22%,
        rgba(0,0,0,0) 45%
    ) !important;
}

/* AREA TEKS BENAR-BENAR TRANSPARAN */
.headline-slideshow .headline-content {
    background: transparent !important;
    box-shadow: none !important;
}

/* TEKS TETAP TERBACA TANPA BLOK HITAM */
.headline-slideshow .headline-content h1 a,
.headline-slideshow .headline-content p,
.headline-slideshow .headline-content .story-meta {
    text-shadow:
        0 2px 4px rgba(0,0,0,.85),
        0 1px 2px rgba(0,0,0,.75) !important;
}

/* TAG TETAP BERWARNA */
.headline-slideshow .headline-content .tag {
    position: relative !important;
    z-index: 2 !important;
}

/* DOT DI ATAS FOTO */
.headline-slideshow .headline-dots {
    background: transparent !important;
}

/* TOMBOL NAVIGASI */
.headline-slideshow .headline-prev,
.headline-slideshow .headline-next {
    background: rgba(0,0,0,.28) !important;
    box-shadow: none !important;
}

.headline-slideshow .headline-prev:hover,
.headline-slideshow .headline-next:hover {
    background: rgba(226,29,38,.85) !important;
}

/* ===== RBTV DIY WEATHER WIDGET — 3 DAY ===== */
.live-banner.live-banner-pro.weather-diy-banner {
  box-sizing: border-box !important;
  height: 132px !important;
  min-height: 132px !important;
  padding: 12px 16px !important;
  gap: 14px !important;
  overflow: hidden !important;
  align-items: stretch !important;
  border-radius: 14px;
}
.weather-diy-heading {
  flex: 0 0 126px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}
.weather-diy-heading .live-kicker {
  display: block;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 1px;
  white-space: nowrap;
}
.weather-diy-heading strong {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
}
.weather-diy-heading small {
  display: block !important;
  color: #d7e3f5;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}
.weather-diy-hint {
  display: block;
  color: #f5cc72;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
}
.weather-diy-regions {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  touch-action: pan-x pan-y;
}
.weather-diy-regions::-webkit-scrollbar {
  display: none;
}
.weather-diy-region {
  box-sizing: border-box;
  flex: 0 0 274px;
  min-width: 0;
  height: 100%;
  padding: 7px 9px 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 10px;
  background: rgba(255,255,255,.075);
}
.weather-diy-name {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.weather-diy-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}
.weather-diy-day {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 2px;
  border-radius: 7px;
  background: rgba(4,15,35,.24);
  text-align: center;
}
.weather-diy-day-label {
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}
.weather-diy-date {
  color: #c7d6ec;
  font-size: 8px;
  line-height: 1.1;
}
.weather-diy-day-icon {
  font-size: 17px;
  line-height: 1.15;
}
.weather-diy-temp {
  color: #fff;
  font-size: 10px;
  line-height: 1.15;
  white-space: nowrap;
}
.weather-diy-day-condition {
  width: 100%;
  color: #d7e3f5;
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 700px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    height: 124px !important;
    min-height: 124px !important;
    padding: 9px 10px !important;
    gap: 8px !important;
  }
  .weather-diy-heading {
    flex: 0 0 88px;
    gap: 5px;
  }
  .weather-diy-heading .live-kicker {
    font-size: 7px;
    letter-spacing: .35px;
    white-space: normal;
  }
  .weather-diy-heading strong {
    font-size: 13px;
  }
  .weather-diy-heading small {
    font-size: 9px;
  }
  .weather-diy-hint {
    font-size: 8px;
    white-space: normal;
  }
  .weather-diy-regions {
    gap: 7px;
  }
  .weather-diy-region {
    flex-basis: 258px;
    padding: 6px 7px;
    gap: 6px;
  }
  .weather-diy-name {
    font-size: 10px;
  }
  .weather-diy-day-label {
    font-size: 8px;
  }
  .weather-diy-day-icon {
    font-size: 16px;
  }
  .weather-diy-temp {
    font-size: 9px;
  }
  .weather-diy-day-condition {
    font-size: 7px;
  }
}
@media (max-width: 380px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 6px !important;
  }
  .weather-diy-heading {
    flex-basis: 78px;
  }
  .weather-diy-heading .live-kicker {
    font-size: 6px;
  }
  .weather-diy-heading strong {
    font-size: 12px;
  }
  .weather-diy-heading small,
  .weather-diy-hint {
    font-size: 7px;
  }
  .weather-diy-region {
    flex-basis: 244px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .weather-diy-regions {
    scroll-behavior: auto;
  }
}


/* ===== RBTV DIY WEATHER — VERTICAL 5-AREA ROTATION ===== */
.live-banner.live-banner-pro.weather-diy-banner {
  box-sizing: border-box !important;
  height: 132px !important;
  min-height: 132px !important;
  padding: 12px 16px !important;
  gap: 14px !important;
  overflow: hidden !important;
  align-items: stretch !important;
}
.weather-diy-banner .weather-diy-heading {
  flex: 0 0 126px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}
.weather-diy-banner .weather-diy-heading .live-kicker {
  display: block;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 1px;
  white-space: nowrap;
}
.weather-diy-banner .weather-diy-heading strong {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
}
.weather-diy-banner .weather-diy-heading small {
  display: block !important;
  color: #d7e3f5;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}
.weather-diy-banner .weather-diy-current-day {
  display: inline-block;
  color: #f5cc72;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}
.weather-diy-content {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.weather-diy-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.weather-diy-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300%;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  will-change: transform;
}
.weather-diy-day-panel {
  box-sizing: border-box;
  flex: 0 0 33.333333%;
  height: 33.333333%;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 2px;
  overflow: hidden;
}
.weather-diy-row {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 20px minmax(0, .9fr) 57px;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 0;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 5px;
  background: rgba(255,255,255,.075);
  overflow: hidden;
}
.weather-diy-row-name,
.weather-diy-row-condition {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 10px;
  line-height: 1.15;
}
.weather-diy-row-name { font-weight: 800; }
.weather-diy-row-icon {
  display: block;
  text-align: center;
  font-size: 14px;
  line-height: 1;
}
.weather-diy-row-condition {
  color: #d7e3f5;
  font-size: 9px;
}
.weather-diy-row-temp {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: 10px;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    height: 124px !important;
    min-height: 124px !important;
    padding: 9px 10px !important;
    gap: 8px !important;
  }
  .weather-diy-banner .weather-diy-heading {
    flex-basis: 88px;
    gap: 5px;
  }
  .weather-diy-banner .weather-diy-heading .live-kicker {
    font-size: 7px;
    letter-spacing: .35px;
    white-space: normal;
  }
  .weather-diy-banner .weather-diy-heading strong { font-size: 13px; }
  .weather-diy-banner .weather-diy-heading small { font-size: 9px; }
  .weather-diy-banner .weather-diy-current-day { font-size: 9px; }
  .weather-diy-row {
    grid-template-columns: minmax(0, 1.1fr) 17px minmax(0, .8fr) 49px;
    gap: 3px;
    padding: 0 4px;
  }
  .weather-diy-row-name { font-size: 9px; }
  .weather-diy-row-icon { font-size: 12px; }
  .weather-diy-row-condition { font-size: 8px; }
  .weather-diy-row-temp { font-size: 9px; }
}
@media (max-width: 380px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 6px !important;
  }
  .weather-diy-banner .weather-diy-heading { flex-basis: 78px; }
  .weather-diy-banner .weather-diy-heading .live-kicker { font-size: 6px; }
  .weather-diy-banner .weather-diy-heading strong { font-size: 12px; }
  .weather-diy-banner .weather-diy-heading small,
  .weather-diy-banner .weather-diy-current-day { font-size: 7px; }
  .weather-diy-row {
    grid-template-columns: minmax(0, 1fr) 15px minmax(0, .75fr) 45px;
    gap: 2px;
    padding: 0 3px;
  }
  .weather-diy-row-name { font-size: 8px; }
  .weather-diy-row-condition { font-size: 7px; }
  .weather-diy-row-temp { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .weather-diy-track { transition: none !important; }
}

/* ===== RBTV WEATHER — COMPACT FORECAST CARDS ===== */
.live-banner.live-banner-pro.weather-diy-banner {
  border-radius: 14px !important;
  background-image: linear-gradient(115deg, #071a38 0%, #12365d 58%, #17476a 100%) !important;
  box-shadow: 0 5px 16px rgba(5, 20, 45, .16);
}

.weather-diy-banner .weather-diy-heading {
  position: relative;
  flex-shrink: 0;
}

.weather-diy-banner .weather-diy-heading strong {
  letter-spacing: -.35px;
}

.weather-diy-banner .weather-diy-current-day {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(245,204,114,.4);
  border-radius: 20px;
  background: rgba(245,204,114,.12);
}

.weather-diy-banner .weather-diy-content {
  align-self: stretch;
}

.weather-diy-banner .weather-diy-day-panel {
  padding: 1px 2px;
  gap: 3px;
}

.weather-diy-banner .weather-diy-row {
  grid-template-columns: minmax(0, 1.2fr) 23px minmax(0, .95fr) 59px;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-left: 3px solid #e5b94f;
  border-radius: 7px;
  background: linear-gradient(100deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
}

.weather-diy-banner .weather-diy-row-name {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.1px;
}

.weather-diy-banner .weather-diy-row-icon {
  font-size: 16px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}

.weather-diy-banner .weather-diy-row-condition {
  font-size: 9px;
  color: #e2ecf8;
}

.weather-diy-banner .weather-diy-row-temp {
  justify-self: stretch;
  padding: 3px 4px;
  border-radius: 5px;
  background: rgba(255,255,255,.11);
  color: #ffe19a;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 700px) {
  .weather-diy-banner .weather-diy-current-day {
    padding: 3px 6px;
  }

  .weather-diy-banner .weather-diy-row {
    grid-template-columns: minmax(0, 1.1fr) 19px minmax(0, .8fr) 49px;
    gap: 3px;
    padding: 0 5px;
    border-left-width: 2px;
  }

  .weather-diy-banner .weather-diy-row-name {
    font-size: 9px;
  }

  .weather-diy-banner .weather-diy-row-icon {
    font-size: 13px;
  }

  .weather-diy-banner .weather-diy-row-condition {
    font-size: 8px;
  }

  .weather-diy-banner .weather-diy-row-temp {
    padding: 2px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .weather-diy-banner .weather-diy-row {
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, .72fr) 45px;
    gap: 2px;
    padding: 0 3px;
  }
}

/* ===== RBTV WEATHER: 5 WILAYAH HORIZONTAL ===== */
.live-banner.live-banner-pro.weather-diy-banner {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-heading {
  flex: 0 0 126px !important;
  width: 126px !important;
  min-width: 0 !important;
}

.weather-diy-banner .weather-diy-content {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-viewport {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-track {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 300% !important;
}

.weather-diy-banner .weather-diy-day-panel {
  flex: 0 0 33.333333% !important;
  width: 100% !important;
  height: 33.333333% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 5px !important;
  padding: 5px 3px !important;
  box-sizing: border-box !important;
}

.weather-diy-banner .weather-diy-row {
  min-width: 0 !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  padding: 3px 2px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-left: 2px solid #e5b94f !important;
  border-radius: 7px !important;
  text-align: center !important;
  overflow: hidden !important;
  background: linear-gradient(
    155deg, rgba(255,255,255,.15), rgba(255,255,255,.045)
  ) !important;
  box-shadow: 0 2px 5px rgba(0,0,0,.08) !important;
}

.weather-diy-banner .weather-diy-row-name {
  display: -webkit-box !important;
  width: 100% !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-row-icon {
  font-size: 17px !important;
  line-height: 1.1 !important;
}

.weather-diy-banner .weather-diy-row-condition {
  display: -webkit-box !important;
  width: 100% !important;
  font-size: 8px !important;
  line-height: 1.1 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-row-temp {
  max-width: 100% !important;
  padding: 2px !important;
  border-radius: 4px !important;
  background: rgba(255,255,255,.11) !important;
  color: #ffe19a !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
  .weather-diy-banner .weather-diy-heading {
    flex-basis: 88px !important;
    width: 88px !important;
  }

  .weather-diy-banner .weather-diy-day-panel {
    gap: 3px !important;
    padding: 4px 2px !important;
  }

  .weather-diy-banner .weather-diy-row {
    padding: 2px 1px !important;
    gap: 3px !important;
  }

  .weather-diy-banner .weather-diy-row-name {
    font-size: 8px !important;
  }

  .weather-diy-banner .weather-diy-row-icon {
    font-size: 14px !important;
  }

  .weather-diy-banner .weather-diy-row-condition {
    font-size: 7px !important;
  }

  .weather-diy-banner .weather-diy-row-temp {
    font-size: 8px !important;
  }
}

@media (max-width: 380px) {
  .weather-diy-banner .weather-diy-heading {
    flex-basis: 78px !important;
    width: 78px !important;
  }

  .weather-diy-banner .weather-diy-day-panel {
    gap: 2px !important;
    padding-inline: 1px !important;
  }

  .weather-diy-banner .weather-diy-row-name {
    font-size: 7px !important;
  }

  .weather-diy-banner .weather-diy-row-icon {
    font-size: 12px !important;
  }

  .weather-diy-banner .weather-diy-row-condition {
    font-size: 6px !important;
  }

  .weather-diy-banner .weather-diy-row-temp {
    font-size: 7px !important;
  }
}

/* ===== RBTV WEATHER: OPTIMASI TAMPILAN HP ===== */
@media (max-width: 700px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    height: 124px !important;
    min-height: 124px !important;
    max-height: 124px !important;
    gap: 4px !important;
    padding: 7px 6px !important;
    box-sizing: border-box !important;
  }

  .weather-diy-banner .weather-diy-heading {
    flex: 0 0 82px !important;
    width: 82px !important;
    padding-right: 2px !important;
    gap: 4px !important;
    overflow: hidden !important;
  }

  .weather-diy-banner .weather-diy-heading .live-kicker {
    font-size: 7px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  .weather-diy-banner .weather-diy-heading strong {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .weather-diy-banner .weather-diy-heading small {
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  .weather-diy-banner .weather-diy-current-day {
    max-width: 100% !important;
    padding: 3px 4px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .weather-diy-banner .weather-diy-content {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 100% !important;
  }

  .weather-diy-banner .weather-diy-day-panel {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 3px !important;
    padding: 2px 0 !important;
  }

  .weather-diy-banner .weather-diy-row {
    padding: 3px 1px !important;
    gap: 4px !important;
    border-radius: 6px !important;
  }

  .weather-diy-banner .weather-diy-row-name {
    font-size: clamp(7px, 1.8vw, 9px) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
  }

  .weather-diy-banner .weather-diy-row-icon {
    font-size: clamp(12px, 3.2vw, 16px) !important;
  }

  .weather-diy-banner .weather-diy-row-condition {
    font-size: clamp(6px, 1.65vw, 8px) !important;
    line-height: 1.15 !important;
  }

  .weather-diy-banner .weather-diy-row-temp {
    font-size: clamp(7px, 1.8vw, 9px) !important;
    padding: 2px 1px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    gap: 3px !important;
    padding: 6px 4px !important;
  }

  .weather-diy-banner .weather-diy-heading {
    flex-basis: 73px !important;
    width: 73px !important;
  }

  .weather-diy-banner .weather-diy-heading strong {
    font-size: 12px !important;
  }

  .weather-diy-banner .weather-diy-current-day {
    font-size: 8px !important;
    padding: 3px 2px !important;
  }

  .weather-diy-banner .weather-diy-day-panel {
    gap: 2px !important;
  }

  .weather-diy-banner .weather-diy-row {
    padding-inline: 1px !important;
    gap: 3px !important;
  }
}

/* ===== FIX HP: TAMPILKAN SATU HARI SAJA ===== */
.live-banner.live-banner-pro.weather-diy-banner {
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.weather-diy-banner .weather-diy-content {
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-viewport {
  position: relative !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-track {
  display: flex !important;
  flex-direction: column !important;
  height: 300% !important;
  min-height: 0 !important;
  flex: 0 0 300% !important;
  overflow: visible !important;
}

.weather-diy-banner .weather-diy-day-panel {
  display: grid !important;
  flex: 0 0 33.333333% !important;
  height: 33.333333% !important;
  min-height: 0 !important;
  max-height: 33.333333% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Panel yang bukan giliran tampil tidak boleh terlihat */
.weather-diy-banner .weather-diy-day-panel[aria-hidden="true"] {
  visibility: hidden !important;
  pointer-events: none !important;
}

.weather-diy-banner .weather-diy-day-panel[aria-hidden="false"] {
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (max-width: 700px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    height: 124px !important;
    min-height: 124px !important;
    max-height: 124px !important;
  }

  .weather-diy-banner .weather-diy-content,
  .weather-diy-banner .weather-diy-viewport {
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .weather-diy-banner .weather-diy-day-panel {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }
}

/* ===== FIX HP: TAMPILKAN SATU HARI SAJA ===== */
.live-banner.live-banner-pro.weather-diy-banner {
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.weather-diy-banner .weather-diy-content {
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-viewport {
  position: relative !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-track {
  display: flex !important;
  flex-direction: column !important;
  height: 300% !important;
  min-height: 0 !important;
  flex: 0 0 300% !important;
  overflow: visible !important;
}

.weather-diy-banner .weather-diy-day-panel {
  display: grid !important;
  flex: 0 0 33.333333% !important;
  height: 33.333333% !important;
  min-height: 0 !important;
  max-height: 33.333333% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Panel yang bukan giliran tampil tidak boleh terlihat */
.weather-diy-banner .weather-diy-day-panel[aria-hidden="true"] {
  visibility: hidden !important;
  pointer-events: none !important;
}

.weather-diy-banner .weather-diy-day-panel[aria-hidden="false"] {
  visibility: visible !important;
  pointer-events: auto !important;
}

@media (max-width: 700px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    height: 124px !important;
    min-height: 124px !important;
    max-height: 124px !important;
  }

  .weather-diy-banner .weather-diy-content,
  .weather-diy-banner .weather-diy-viewport {
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .weather-diy-banner .weather-diy-day-panel {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }
}

/* ===== FINAL FIX: PANEL CUACA BERTUMPUK, SATU TANGGAL AKTIF ===== */
.weather-diy-banner .weather-diy-content {
  position: relative !important;
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-viewport {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-track {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-day-panel {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  overflow: hidden !important;
  will-change: transform, opacity;
}

.weather-diy-banner .weather-diy-day-panel[aria-hidden="true"] {
  pointer-events: none !important;
}

@media (max-width: 700px) {
  .weather-diy-banner .weather-diy-content {
    height: 100% !important;
    overflow: hidden !important;
  }

  .weather-diy-banner .weather-diy-day-panel {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }
}

/* ===== RBTV WEATHER: KOTAK WILAYAH LEBIH RINGKAS ===== */
.weather-diy-banner .weather-diy-day-panel {
  gap: 3px !important;
}

.weather-diy-banner .weather-diy-row {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 3px 4px !important;
  gap: 3px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

.weather-diy-banner .weather-diy-row-name {
  font-size: 10px !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere !important;
}

.weather-diy-banner .weather-diy-row-icon {
  font-size: 15px !important;
  line-height: 1 !important;
}

.weather-diy-banner .weather-diy-row-condition {
  font-size: 10px !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere !important;
}

.weather-diy-banner .weather-diy-row-temp {
  font-size: 10px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
  .weather-diy-banner .weather-diy-day-panel {
    gap: 2px !important;
  }

  .weather-diy-banner .weather-diy-row {
    padding: 2px !important;
    gap: 2px !important;
    border-radius: 4px !important;
  }

  .weather-diy-banner .weather-diy-row-name,
  .weather-diy-banner .weather-diy-row-condition,
  .weather-diy-banner .weather-diy-row-temp {
    font-size: 9px !important;
  }

  .weather-diy-banner .weather-diy-row-icon {
    font-size: 13px !important;
  }
}


/* ===== MOBILE WEATHER BANNER COMPACT 20261015 ===== */
@media (max-width: 700px) {
  .live-banner.live-banner-pro.weather-diy-banner {
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    box-sizing: border-box !important;
    padding: 5px 5px !important;
    gap: 5px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    align-items: center !important;
  }

  .weather-diy-banner .weather-diy-heading {
    flex: 0 0 68px !important;
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    gap: 3px !important;
  }

  .weather-diy-banner .weather-diy-heading .live-kicker {
    font-size: 7px !important;
    line-height: 1.1 !important;
    letter-spacing: .5px !important;
  }

  .weather-diy-banner .weather-diy-heading strong {
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .weather-diy-banner .weather-diy-heading small {
    display: none !important;
  }

  .weather-diy-banner .weather-diy-current-day {
    font-size: 8px !important;
    line-height: 1.1 !important;
    padding: 3px 2px !important;
    white-space: nowrap !important;
  }

  .weather-diy-banner .weather-diy-content {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .weather-diy-banner .weather-diy-viewport,
  .weather-diy-banner .weather-diy-track,
  .weather-diy-banner .weather-diy-day-panel {
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .weather-diy-banner .weather-diy-row {
    min-height: 0 !important;
    padding: 1px !important;
    gap: 1px !important;
    border-radius: 3px !important;
  }

  .weather-diy-banner .weather-diy-row-name,
  .weather-diy-banner .weather-diy-row-condition,
  .weather-diy-banner .weather-diy-row-temp {
    font-size: 8px !important;
    line-height: 1.05 !important;
  }

  .weather-diy-banner .weather-diy-row-icon {
    font-size: 12px !important;
    line-height: 1 !important;
  }
}

/* RBTV: penanda antarjudul news ticker */
.header-breaking-wrap .header-breaking .breaking-separator {
    display: inline-block !important;
    color: #f4c542 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    margin: 0 12px !important;
    opacity: 1 !important;
    vertical-align: middle;
    flex: 0 0 auto;
}

@media (max-width: 480px) {
    .header-breaking-wrap .header-breaking .breaking-separator {
        display: inline-block !important;
        font-size: 13px !important;
        margin: 0 8px !important;
    }
}


/* RBTV ticker diamond: desktop dan mobile */
.header-breaking-wrap .header-breaking .breaking-separator {
    display: inline-block !important;
    color: #f4c542 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    margin: 0 12px !important;
    opacity: 1 !important;
    vertical-align: middle;
    flex: 0 0 auto;
}
@media (max-width: 480px) {
    .header-breaking-wrap .header-breaking .breaking-separator {
        display: inline-block !important;
        font-size: 13px !important;
        margin: 0 8px !important;
    }
}
