/* ================================================================
   Supers da TV (RDC Editorial Grid) — CSS v2.0.0
   ================================================================ */

.rdc-editorial-grid { width: 100%; font-family: inherit; }

/* ── Card wrapper ── */
.rdc-card-wrap { position: relative; }

/* ── Header ── */
.rdc-card-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 18px;
}
.rdc-grid-title { margin: 0; padding: 0; line-height: 1.1; letter-spacing: .02em; }
.rdc-ver-todas { font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.rdc-ver-todas:hover { opacity: .7; }

/* ── Grid inner ── */
.rdc-grid-inner { display: grid; grid-template-columns: 3fr 2fr; align-items: start; }

/* ================================================================
   LEFT — Slider
   ================================================================ */

.rdc-left-slider {
    position: relative;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
    /* aspect-ratio e border-radius setados inline */
}

/* Slides */
.rdc-slides-wrap { position: relative; width: 100%; height: 100%; }

.rdc-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    will-change: opacity;
}
.rdc-slide.is-active { opacity: 1; z-index: 1; }

/* Overlay */
.rdc-slide-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* Content */
.rdc-slide-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 24px 22px;
    z-index: 2;
}

/* Badge do slider (filled) */
.rdc-slider-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.6;
    /* bg e color setados inline */
}

/* Título */
.rdc-slide-title {
    margin: 0 0 10px;
    padding: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rdc-slide-title a { color: inherit; text-decoration: none; }
.rdc-slide-title a:hover { text-decoration: underline; }

/* Excerpt */
.rdc-slide-excerpt {
    margin: 0 0 10px; padding: 0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.rdc-slide-meta {
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.4;
    margin-top: 4px;
}

/* ── Setas ── */
.rdc-ls-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    border: none; cursor: pointer;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; font-weight: 300;
    transition: opacity .2s, transform .2s;
    /* tamanho, bg, color setados inline */
}
.rdc-ls-arrow:hover { opacity: .75; transform: translateY(-50%) scale(1.08); }
.rdc-ls-arrow:focus-visible { outline: 2px solid #FF6A00; outline-offset: 2px; }
.rdc-ls-prev { left: 14px; }
.rdc-ls-next { right: 14px; }

/* ── Dots ── */
.rdc-ls-dots {
    position: absolute;
    bottom: 16px; left: 50%;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 8px;
    z-index: 10;
}
.rdc-ls-dot {
    border: none; cursor: pointer; padding: 0;
    border-radius: 50%;
    transition: background-color .3s, transform .2s, opacity .3s;
    opacity: .6;
    /* tamanho e cor setados inline */
}
.rdc-ls-dot.is-active { transform: scale(1.35); opacity: 1; }
.rdc-ls-dot:hover { opacity: .9; }
.rdc-ls-dot:focus-visible { outline: 2px solid var(--rdc-dot-active, #FF6A00); outline-offset: 2px; }

/* ================================================================
   RIGHT — Sidebar
   ================================================================ */

.rdc-sidebar-col { display: flex; flex-direction: column; min-width: 0; }

.rdc-sidebar-card { min-width: 0; }

.rdc-sidebar-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rdc-sidebar-info { flex: 1; min-width: 0; }

/* Badge sidebar (text only) */
.rdc-sidebar-badge {
    display: block;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 6px;
    line-height: 1;
    /* color e font-size setados inline */
}

/* Título sidebar */
.rdc-sidebar-title {
    margin: 0 0 6px; padding: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rdc-sidebar-title a { color: inherit; text-decoration: none; transition: opacity .2s; }
.rdc-sidebar-title a:hover { opacity: .7; }

/* Meta sidebar */
.rdc-sidebar-meta {
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.4;
    margin-top: 4px;
}

/* Thumbnail sidebar — dimensões e object-fit via inline style no PHP */
.rdc-sidebar-thumb-wrap {
    flex-shrink: 0;
    overflow: hidden;
}
.rdc-sidebar-thumb-wrap:hover img { transform: scale(1.05); }
.rdc-sidebar-thumb-wrap img { transition: transform .4s ease; }

/* ================================================================
   Acessibilidade
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    .rdc-slide, .rdc-sidebar-thumb { transition: none !important; }
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 900px) {
    .rdc-grid-inner { grid-template-columns: 1fr; }
    .rdc-left-slider { aspect-ratio: 16 / 9 !important; }
}
@media (max-width: 540px) {
    .rdc-card-wrap { padding: 16px !important; }
    .rdc-slide-body { padding: 16px 16px 14px; }
    .rdc-slide-title { font-size: 22px !important; }
    .rdc-slide-excerpt { display: none; }
    .rdc-ls-arrow { width: 34px !important; height: 34px !important; font-size: 18px !important; }
    .rdc-sidebar-thumb-wrap { width: 72px !important; height: 72px !important; }
}
