/* The retired product can be present as a hard-coded link in the theme. */
:is(header, .rv-primary-nav) a:is(
  [href="https://draft.revivaltv.id"], [href^="https://draft.revivaltv.id/"],
  [href="http://draft.revivaltv.id"], [href^="http://draft.revivaltv.id/"],
  [href="//draft.revivaltv.id"], [href^="//draft.revivaltv.id/"]
) { display: none !important; }

/* Only links marked within the main article body receive these colors. */
body.single-post a.rvnc-content-link,
body.single-post a.rvnc-content-link:visited {
  color: #005fcc !important;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .15em;
}
body.single-post a.rvnc-content-link:hover { color: #004596 !important; }
body.single-post a.rvnc-content-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.rv-hero.rvnc-host {
  display: block;
  min-height: 0;
  padding: 0;
  background: #101014;
  isolation: isolate;
}
.rv-hero.rvnc-host::before,
.rv-hero.rvnc-host::after { content: none; }
.rvnc { position: relative; color: #fff; background: #101014; }
.rvnc *, .rvnc *::before, .rvnc *::after { box-sizing: border-box; }
.rvnc__viewport { overflow: hidden; touch-action: pan-y; }
.rvnc__track { display: flex; align-items: stretch; transition: transform 450ms ease; }
.rvnc__slide {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  min-height: clamp(520px, 66vh, 640px);
  overflow: hidden;
  background: #101014;
}
.rvnc .rvnc__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.rvnc__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,6,10,.78), rgba(4,6,10,.32) 58%, rgba(4,6,10,.06)),
              linear-gradient(0deg, rgba(4,6,10,.82), transparent 74%);
  pointer-events: none;
}
.rvnc__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-block: 100px 112px;
}
.rvnc .rvnc__category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.88);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.rvnc__category::before { content: ''; width: 18px; height: 2px; background: #ed343d; }
.rvnc .rvnc__content h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  max-width: 820px;
  margin: 16px 0 18px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.14;
  text-wrap: pretty;
}
.rvnc .rvnc__content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.6;
}
.rvnc__read-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-top: 24px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 6px;
  color: #fff !important;
  background: rgba(255,255,255,.07);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  transition: background 160ms ease, border-color 160ms ease;
}
.rvnc__read-more:hover { border-color: #fff; background: rgba(255,255,255,.18); }
.rvnc__read-more span { font-size: 19px; line-height: 1; }
.rvnc__controls {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateX(-50%);
  pointer-events: none;
}
.rvnc__controls[hidden] { display: none !important; }
.rvnc__controls > * { pointer-events: auto; }
.rvnc__navigation, .rvnc__dots { display: flex; align-items: center; gap: 10px; }
.rvnc__dots { order: -1; gap: 6px; margin-right: 14px; }
.rvnc button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(4,6,10,.12);
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}
.rvnc .rvnc__arrow { font-size: 19px; }
.rvnc .rvnc__dot { width: 26px; min-width: 26px; padding: 0; border: 0; background: transparent; }
.rvnc__dot::before { content: ""; width: 26px; height: 2px; border-radius: 999px; background: rgba(255,255,255,.3); transition: background 180ms ease; }
.rvnc__dot[aria-current="true"]::before { background: #fff; }
.rvnc button:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.rvnc .rvnc__dot:hover { background: transparent; }
.rvnc .rvnc__rotation { gap: 8px; padding-inline: 0; border: 0; color: rgba(255,255,255,.68); font-size: 11px; background: transparent; }
.rvnc__rotation::before { content: ''; width: 7px; height: 9px; border-inline: 2px solid currentColor; }
.rvnc__rotation[aria-label^="Mulai"]::before { width: 0; height: 0; border: 4px solid transparent; border-left: 6px solid currentColor; border-right: 0; }
.rvnc__counter { margin-left: 4px; color: rgba(255,255,255,.58); font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rvnc a:focus-visible, .rvnc button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.rvnc .rvnc__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 670px) {
  .rvnc__slide { min-height: 560px; }
  .rvnc__content { padding-block: 168px 100px; }
  .rvnc .rvnc__content h2 { -webkit-line-clamp: 5; max-width: 480px; margin: 14px 0 0; font-size: clamp(27px, 7.2vw, 34px); line-height: 1.18; }
  .rvnc .rvnc__content p { display: none; }
  .rvnc .rvnc__category { font-size: 9px; letter-spacing: .1em; }
  .rvnc__read-more { margin-top: 20px; }
  .rvnc__slide::after { background: linear-gradient(0deg, rgba(4,6,10,.94), rgba(4,6,10,.48) 58%, rgba(4,6,10,.08)); }
  .rvnc__controls { bottom: 18px; gap: 8px; }
  .rvnc__navigation { gap: 8px; }
  .rvnc__dots { gap: 4px; margin-right: 8px; }
  .rvnc .rvnc__dot { width: 20px; min-width: 20px; }
  .rvnc__dot::before { width: 20px; }
  .rvnc__counter { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rvnc__track, .rvnc__dot::before, .rvnc__read-more { transition: none; }
}
