/* ==========================================================================
   SOT – Home v2 (topo)
   Tudo isolado sob .hv2 para não afetar notícia, editorias, AMP ou o app.
   Fonte: DM Sans (já carregada pelo layout, pesos 300/500/700 -> aqui só 500 e 700).
   Para trocar a cor da marca, edite --hv2-brand.
   ========================================================================== */
.hv2 {
    --hv2-ink: #14161a;
    --hv2-mut: #6b7078;
    --hv2-line: #e7e8eb;
    --hv2-brand: #9b1c1f;
    --hv2-live: #d90000;
    --hv2-radius: 8px;
    color: var(--hv2-ink);
}
.hv2 a { color: inherit; text-decoration: none; }
.hv2 a:focus-visible { outline: 2px solid var(--hv2-brand); outline-offset: 3px; border-radius: 4px; }
.hv2 h2, .hv2 h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }

/* ---------- Categoria ---------- */
.hv2 .hv2-cat {
    display: block;
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--hv2-brand);
}

/* ---------- Imagens (proporção fixa = sem salto de layout) ---------- */
.hv2 .hv2-media {
    display: block;
    overflow: hidden;
    border-radius: var(--hv2-radius);
    background: #e9eaec;
    aspect-ratio: 16 / 10;
    margin-bottom: 12px;
}
.hv2 .hv2-media picture { display: block; width: 100%; height: 100%; }
.hv2 .hv2-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hv2 .hv2-media--43   { aspect-ratio: 4 / 3; }
.hv2 .hv2-media--169  { aspect-ratio: 16 / 9; }
.hv2 .hv2-media--flat { border-radius: 0; margin-bottom: 0; }
@media (hover: hover) {
    .hv2 .hv2-media img { transition: transform .35s ease; }
    .hv2 a:hover .hv2-media img { transform: scale(1.025); }
}

/* ---------- Títulos ---------- */
.hv2 .hv2-title a, .hv2 .hv2-title { color: var(--hv2-ink); }
.hv2 .hv2-title--xl { font-size: clamp(24px, 2.7vw, 32px); letter-spacing: -.03em; line-height: 1.15; }
.hv2 .hv2-title--lg { font-size: clamp(21px, 2.2vw, 25px); }
.hv2 .hv2-title--md { font-size: clamp(15px, 1.6vw, 18px); }
.hv2 .hv2-title--xs { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
@media (hover: hover) {
    .hv2 a:hover .hv2-title, .hv2 .hv2-title a:hover { color: var(--hv2-brand); }
}

/* ---------- Faixa de últimas notícias ---------- */
.hv2 .hv2-ticker { border-bottom: 1px solid var(--hv2-line); }
.hv2 .hv2-ticker__row {
    display: flex; align-items: center; gap: 14px;
    margin: 0; padding: 14px 0; font-size: 14px;
}
.hv2 .hv2-badge {
    flex: none;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 10px; border-radius: 4px;
    background: var(--hv2-brand); color: #fff;
    font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.hv2 a.hv2-badge { color: #fff; }
.hv2 .hv2-badge--now { background: var(--hv2-live); }
.hv2 .hv2-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: hv2-pulse 1.6s ease-in-out infinite; }
.hv2 .hv2-ticker__link {
    flex: 1 1 auto; min-width: 0;            /* 1 linha só: o texto troca a cada 5,5 s sem empurrar o layout */
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-weight: 500; color: #2a2d33;
}
.hv2 a.hv2-ticker__link:hover { color: var(--hv2-brand); }

/* ---------- Bloco de destaques ---------- */
.hv2 .hv2-top { padding: 28px 0 8px; }
.hv2 .hv2-top .container { padding-bottom: 10px; }

/* Chamadas só texto sob os subdestaques */
.hv2 .hv2-briefs { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.hv2 .hv2-brief { display: block; padding: 10px 0 10px 14px; border-left: 2px solid var(--hv2-brand); }
.hv2 .hv2-brief .hv2-cat { margin-bottom: 3px; }
.hv2 .hv2-brief__title { display: block; font-size: 15px; font-weight: 500; line-height: 1.38; letter-spacing: -.01em; }
@media (hover: hover) { .hv2 a.hv2-brief:hover .hv2-brief__title { color: var(--hv2-brand); } }

/* Faixa de 3 com miniatura */
.hv2 .hv2-minis { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hv2-line); }
.hv2 .hv2-mini { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: start; height: 100%; }
.hv2 .hv2-mini__img { margin: 0; }
.hv2 .hv2-mini__text { display: block; min-width: 0; }

/* ---------- Live ---------- */
.hv2 .hv2-live {
    background: #fff;
    border: 1px solid var(--hv2-line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(20, 22, 26, .07);
}
.hv2 .hv2-live__bar {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 8px 0;
    background: var(--hv2-live); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.hv2 .hv2-live__bar::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: #fff; animation: hv2-pulse 1.6s ease-in-out infinite;
}
.hv2 .hv2-live__video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.hv2 .hv2-live__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hv2 .hv2-live__body { padding: 18px 20px 20px; }
.hv2 .hv2-live__desc { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--hv2-mut); }
.hv2 .hv2-live__cta { margin-top: 16px; text-align: right; }
.hv2 .hv2-btn {
    display: inline-block; padding: 9px 16px; border-radius: 5px;
    background: var(--hv2-live); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.hv2 a.hv2-btn:hover { background: #b80000; color: #fff; }

@keyframes hv2-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
    .hv2 .hv2-dot, .hv2 .hv2-live__bar::before { animation: none; }
    .hv2 .hv2-media img { transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 575.98px) {
    .hv2 .hv2-top { padding-top: 20px; }
    .hv2 .hv2-ticker__row { gap: 10px; font-size: 13px; }
    .hv2 .hv2-live__body { padding: 16px; }
    .hv2 .hv2-mini { grid-template-columns: 96px 1fr; }
}
