/* ==========================================================================
   SOT – style-v2.css
   TIPOGRAFIA (Roboto): manchetes e títulos 700 | subtítulos e menus 500 | texto corrido, informações e datas 400
   CSS ÚNICO do layout v2. NÃO depende do style.min.css (o layout-v2 nem o carrega).
   Carregado depois do Bootstrap (só grid/utilitários). Prefixo de tudo: sot-
   Quando todas as páginas migrarem para o layout-v2, o style.min.css pode ser apagado.

   Sumário
   1. Tokens e base      5. Faixa de últimas / banners   9. Live
   2. Imagens e títulos  6. Destaques do topo           10. Especial (carrossel)
   3. Cabeçalho          7. Seções de editoria          11. Mais lidas / Últimas
   4. Menu mobile        8. Cards                       12. Rodapé
   ========================================================================== */

/* ---------- 1. Tokens e base ---------- */
:root {
    --sot-ink: #14161a;
    --sot-text: #2a2d33;
    --sot-mut: #6b7078;
    --sot-line: #e7e8eb;
    --sot-soft: #f6f6f7;
    --sot-brand: #9b1c1f;      /* vinho da marca */
    --sot-live: #d90000;
    --sot-green: #157347;
    --sot-amber: #a56a12;
    --sot-pink: #b0307a;
    --sot-blue: #1d3f8a;
    --sot-radius: 8px;
    --bs-body-font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-color: var(--sot-ink);
}
body {
    font-family: var(--bs-body-font-family);
    color: var(--sot-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { font-family: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
    outline: 2px solid var(--sot-brand); outline-offset: 3px; border-radius: 4px;
}

/* Container: no máximo o tamanho "xl" do Bootstrap (1140px). Não passa para o xxl (1320px),
   assim os blocos de anúncio têm sempre a mesma largura em qualquer tela >= 1200px. */
@media (min-width: 1400px) {
    .container { max-width: 1140px; }
}

/* Cores por editoria (a seção define --tone; categoria, marcador e fios usam) */
.sot-tone-green { --tone: var(--sot-green); }
.sot-tone-amber { --tone: var(--sot-amber); }
.sot-tone-pink  { --tone: var(--sot-pink); }
.sot-tone-blue  { --tone: var(--sot-blue); }

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

/* ---------- 2. Imagens, categoria e títulos ---------- */
.sot-media {
    display: block; overflow: hidden; margin-bottom: 12px;
    border-radius: var(--sot-radius); background: #e9eaec; aspect-ratio: 16 / 10;
}
.sot-media picture { display: block; width: 100%; height: 100%; }
.sot-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sot-media--4x3  { aspect-ratio: 4 / 3; }
.sot-media--16x9 { aspect-ratio: 16 / 9; }
.sot-media--flat { border-radius: 0; margin-bottom: 0; }
@media (hover: hover) {
    .sot-media img { transition: transform .35s ease; }
    a:hover > .sot-media img, a:hover .sot-media img { transform: scale(1.025); }
}

.sot-cat {
    display: block; margin: 0 0 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--tone, var(--sot-brand));
}
.sot-title { font-weight: 700; letter-spacing: -.01em; line-height: 1.22; color: var(--sot-ink); }
.sot-title a { color: inherit; }
.sot-title--xl { font-size: clamp(24px, 2.7vw, 32px); letter-spacing: -.03em; line-height: 1.15; }
.sot-title--lg { font-size: clamp(21px, 2.2vw, 25px); }
.sot-title--md { font-size: clamp(15px, 1.6vw, 18px); }
.sot-title--sm, .sot-title--xs { font-size: 16px; line-height: 1.28; }   /* padrão de TODO título secundário (igual à Policial) */
@media (hover: hover) {
    a:hover .sot-title, .sot-title a:hover { color: var(--sot-brand); }
}

/* ---------- 3. Cabeçalho ---------- */
.sot-topbar { border-bottom: 1px solid var(--sot-line); font-size: 12px; color: var(--sot-mut); }
.sot-topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.sot-topbar b { color: var(--sot-ink); font-weight: 400; }
.sot-topbar .sot-sep { display: inline-block; width: 3px; height: 3px; margin: 0 9px; border-radius: 50%; background: #b9bcc2; vertical-align: middle; }
.sot-topbar a { color: var(--sot-green); font-weight: 500; margin-left: 6px; }

.sot-masthead__row {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: 100px;
}
.sot-masthead__left  { display: flex; align-items: center; }
.sot-masthead__right { display: flex; align-items: center; justify-content: flex-end; }
.sot-logo { display: block; line-height: 0; }
.sot-logo img { display: block; height: 64px; width: auto; }

.sot-soc { display: flex; gap: 10px; }
.sot-soc a {
    display: grid; place-items: center; width: 32px; height: 32px;
    border: 1px solid var(--sot-line); border-radius: 50%; background: #fff;
}
.sot-soc a { color: var(--sot-mut); transition: color .2s, border-color .2s; }
.sot-soc svg { display: block; width: 16px; height: 16px; fill: currentColor; }
.sot-soc a:hover, .sot-soc a:focus-visible { color: var(--sot-brand); border-color: var(--sot-brand); }

.sot-iconbtn {
    display: grid; place-items: center; width: 40px; height: 40px;
    border: 0; border-radius: 50%; background: transparent; color: var(--sot-ink);
}
.sot-iconbtn:hover { background: var(--sot-soft); }
.sot-searchbtn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border: 1px solid var(--sot-line); border-radius: 20px;
    background: #fff; color: var(--sot-mut); font-size: 13px;
}
.sot-searchbtn:hover { color: var(--sot-ink); border-color: #cfd1d6; }

.sot-search { border-top: 1px solid var(--sot-line); background: var(--sot-soft); }
.sot-search form { display: flex; gap: 8px; padding: 12px 0; }
.sot-search input[type="text"] {
    flex: 1 1 auto; min-width: 0; padding: 10px 14px;
    border: 1px solid var(--sot-line); border-radius: 6px; background: #fff; font-size: 15px;
}
.sot-search button {
    display: inline-grid; place-items: center; padding: 0 16px;
    border: 0; border-radius: 6px; background: var(--sot-brand); color: #fff;
}

/* Menu (desktop) */
.sot-nav { border-top: 1px solid var(--sot-ink); border-bottom: 1px solid var(--sot-line); }
.sot-nav__list { display: flex; flex-wrap: wrap; gap: 0 28px; height: 46px; }
.sot-nav__item { position: relative; display: flex; align-items: stretch; }
.sot-nav__link {
    display: flex; align-items: center; padding: 0; border: 0; background: none;
    font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    color: var(--sot-text);
}
.sot-nav__link:hover, .sot-nav__item:focus-within > .sot-nav__link { color: var(--sot-brand); }
.sot-nav__link.is-active { color: var(--sot-brand); box-shadow: inset 0 -2px 0 var(--sot-brand); }
.sot-nav__item.has-sub > .sot-nav__link::after {
    content: ""; width: 5px; height: 5px; margin: -3px 0 0 8px;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.sot-nav__sub {
    display: none; position: absolute; top: 100%; left: -14px; z-index: 1030;
    min-width: 230px; padding: 8px;
    background: #fff; border: 1px solid var(--sot-line); border-radius: var(--sot-radius);
    box-shadow: 0 12px 32px rgba(20, 22, 26, .12);
}
.sot-nav__item:hover > .sot-nav__sub, .sot-nav__item:focus-within > .sot-nav__sub { display: block; }
.sot-nav__sub a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; }
.sot-nav__sub a:hover { background: var(--sot-soft); color: var(--sot-brand); }

/* ---------- 4. Menu mobile (offcanvas do Bootstrap) ---------- */
.sot-offcanvas { max-width: 86vw; }
.sot-offcanvas__title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sot-mut); }
.sot-m > li { border-bottom: 1px solid var(--sot-line); }
.sot-m a, .sot-m summary { display: block; padding: 14px 4px; font-size: 16px; font-weight: 500; cursor: pointer; }
.sot-m summary { list-style: none; display: flex; justify-content: space-between; align-items: center; }
.sot-m summary::-webkit-details-marker { display: none; }
.sot-m summary::after {
    content: ""; width: 7px; height: 7px; margin-right: 6px;
    border: solid var(--sot-mut); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s;
}
.sot-m details[open] > summary::after { transform: rotate(-135deg); }
.sot-m details ul { padding: 0 0 10px 12px; }
.sot-m details a { padding: 9px 4px; font-size: 15px; font-weight: 500; color: var(--sot-text); }
.sot-m__foot { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.sot-m__wa { color: var(--sot-green); font-weight: 700; }

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

.sot-ad { margin: 26px 0; text-align: center; }
.sot-ad__label { display: block; margin-bottom: 6px; text-align: left; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #a0a4ab; }
.sot-ad__slot { display: block; }
.sot-ad__slot img, .sot-ad__slot iframe { max-width: 100%; }
.sot-ad--side .sot-ad__slot { overflow: visible; }   /* anúncios do Google (300x250, 336x280, 300x600, 320x100...) cabem em 345px */
.sot-ad--side { margin: 0; }

/* ---------- 6. Destaques do topo ---------- */
.sot-top { padding: 28px 0 8px; }
.sot-brief { display: block; padding: 10px 0 10px 14px; border-left: 2px solid var(--sot-brand); }
.sot-briefs { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.sot-brief .sot-cat { margin-bottom: 3px; }
.sot-brief__title { display: block; font-size: 16px; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
@media (hover: hover) { a.sot-brief:hover .sot-brief__title { color: var(--sot-brand); } }

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

/* ---------- 7. Seções de editoria ---------- */
.sot-sec { margin-top: 40px; }
.sot-sechead {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--sot-ink);
}
.sot-sechead h1, .sot-sechead h2 {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.sot-sechead h1::before, .sot-sechead h2::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--tone, var(--sot-brand)); }
.sot-sechead h2 a:hover { color: var(--sot-brand); }
.sot-sechead__more { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--tone, var(--sot-brand)); }
.sot-sechead__more:hover { color: var(--sot-ink); text-decoration: underline; text-underline-offset: 3px; }

.sot-rows > .sot-row + .sot-row { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--sot-line); }
.sot-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.sot-row__img { margin: 0; }

.sot-more { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--sot-line); }
.sot-text { display: block; height: 100%; padding-left: 12px; border-left: 2px solid var(--tone, var(--sot-brand)); }

.sot-widget { align-self: flex-start; min-width: 0; max-width: 100%; overflow: hidden; }   /* widgets de tempo e cotações têm CSS próprio em /widget/ */
.sot-widget #weather-widget, .sot-widget #currency-widget { max-width: 100%; }
/* Coluna do widget (col-lg-3 d-flex): largura fixa 24,1% e linha sem quebra, para o bloco nunca descer sob o destaque */
@media (min-width: 992px) {
    .sot-row3 { flex-wrap: nowrap; }
    .sot-row3 > .col-lg-3 { flex: 0 0 auto; width: 24.1%; min-width: 0; }
}

.sot-rows--after { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--sot-line); }

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

/* ---------- 10. Editoria especial (carrossel) ---------- */
.sot-especial { margin-top: 40px; padding: 28px 0 12px; background: var(--sot-soft); }
.sot-especial .carousel { position: relative; }
.sot-especial .carousel-control-prev, .sot-especial .carousel-control-next {
    top: 38%; bottom: auto; width: 38px; height: 38px; opacity: 1;
    border: 1px solid var(--sot-line); border-radius: 50%; background: #fff; color: var(--sot-ink);
    font-size: 22px; line-height: 1; box-shadow: 0 4px 14px rgba(20, 22, 26, .12);
}
.sot-especial .carousel-control-prev { left: -19px; }
.sot-especial .carousel-control-next { right: -19px; }
.sot-especial .carousel-control-prev:hover, .sot-especial .carousel-control-next:hover { background: var(--sot-brand); color: #fff; border-color: var(--sot-brand); }
@media (max-width: 767.98px) {
    .sot-especial .carousel-control-prev { left: 4px; }
    .sot-especial .carousel-control-next { right: 4px; }
}

/* ---------- 11. Mais lidas / Últimas notícias ---------- */
.sot-list__head { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--sot-ink); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.sot-list__head a:hover { color: var(--sot-brand); }
/* Mais lidas | Últimas | Banner 7. Largura do banner em --sot-banner-w (345px).
   < 768px: 1 coluna | 768-1199px: 2 colunas e o banner embaixo, centralizado (nunca é cortado)
   >= 1200px: 3 colunas com a largura do banner (3 x 345 + 2 x 40 = 1115px, cabe nos 1116px do container) */
.sot-lists { --sot-banner-w: 345px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
    .sot-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
    .sot-lists > .sot-lists__ad { grid-column: 1 / -1; justify-self: center; }
}
@media (min-width: 1200px) {
    .sot-lists { grid-template-columns: repeat(3, var(--sot-banner-w)); gap: 40px; justify-content: space-between; }
    .sot-lists > .sot-lists__ad { grid-column: auto; justify-self: stretch; }
}
.sot-lists__ad { min-width: 0; }
.sot-lists__ad .sot-ad { max-width: var(--sot-banner-w); margin: 0 auto; }
.sot-rank { counter-reset: sot-r; }
.sot-rank a { display: grid; grid-template-columns: 38px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--sot-line); }
.sot-rank a:first-child { padding-top: 0; }
.sot-rank a::before { counter-increment: sot-r; content: counter(sot-r); font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--sot-brand); }
.sot-feed a { display: block; padding: 14px 0; border-bottom: 1px solid var(--sot-line); }
.sot-feed a:first-child { padding-top: 0; }
.sot-feed time { display: block; margin-bottom: 3px; font-size: 11px; color: var(--sot-mut); }
.sot-feed time b { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sot-brand); }
.sot-rank .sot-cat, .sot-feed .sot-cat { margin-bottom: 3px; }

/* ---------- 12. Rodapé ---------- */
.sot-footer { margin-top: 64px; border-top: 1px solid var(--sot-ink); background: var(--sot-soft); font-size: 14px; }
.sot-footer__main { padding-top: 44px; padding-bottom: 30px; }
.sot-footer img { display: block; height: auto; max-width: 180px; }
.sot-footer h3 { margin-bottom: 14px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sot-mut); }
.sot-footer li + li { margin-top: 8px; }
.sot-footer a:hover { color: var(--sot-brand); }
.sot-footer__bar { border-top: 1px solid var(--sot-line); font-size: 12px; color: var(--sot-mut); }
.sot-footer__bar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }

/* Rodapé no celular: tudo centralizado, uma coluna só (logo, contato, institucional, legal) */
@media (max-width: 767.98px) {
    .sot-footer__main { text-align: center; }
    .sot-footer img { margin: 0 auto; max-width: 200px; }
    .sot-footer h3 { margin-bottom: 14px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--sot-brand); }
    .sot-footer__legal h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }  /* título "Legal" só para leitores de tela */
    .sot-footer li + li { margin-top: 14px; }
    .sot-footer__bar .container { align-items: center; text-align: center; }
}


/* ---------- 13. Notícia e Últimas notícias (páginas internas) ---------- */
.sot-page { --sot-side-w: 345px; padding: 28px 0 0; }
.sot-page .sot-sechead { margin-bottom: 26px; }
/* Coluna do texto + lateral (largura do banner). < 992px: lateral vai para baixo */
.sot-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .sot-layout { grid-template-columns: minmax(0, 1fr) var(--sot-side-w); gap: 48px; } }
.sot-side { min-width: 0; }
.sot-side > * + * { margin-top: 34px; }
.sot-ad--inline { margin: 0; }
.sot-art .sot-ad--inline { margin: 28px 0; }
.sot-side .sot-ad--inline { max-width: var(--sot-side-w); }

/* Cabeçalho da matéria */
.sot-cat--link { display: inline-block; margin-bottom: 10px; font-size: 12px; }
.sot-cat--link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sot-art__title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: var(--sot-ink); }
.sot-art__sub { margin-top: 14px; font-size: clamp(17px, 2vw, 20px); font-weight: 500; line-height: 1.45; color: var(--sot-text); }
.sot-art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 14px; font-size: 14px; font-weight: 400; color: var(--sot-mut); }
.sot-author--ebc { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; padding: 4px 10px; border-radius: 16px; background: var(--sot-soft); color: #17365d; font-weight: 500; vertical-align: middle; }
.sot-author--ebc img { width: 18px; height: 18px; border-radius: 50%; object-fit: contain; background: #fff; }

/* Compartilhar */
.sot-share { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--sot-line); border-bottom: 1px solid var(--sot-line); }
.sot-share__label { margin-right: 4px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sot-mut); }
.sot-share a, .sot-share button {
    display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--sot-line); border-radius: 50%; background: #fff; color: var(--sot-text); cursor: pointer;
    transition: color .2s, border-color .2s;
}
.sot-share a:hover, .sot-share button:hover { color: var(--sot-brand); border-color: var(--sot-brand); }
.sot-share svg { width: 18px; height: 18px; }
.sot-art__meta { margin-bottom: 0; }

/* Imagem principal */
.sot-hero { position: relative; margin: 20px 0 0; overflow: hidden; border-radius: var(--sot-radius); background: #e9eaec; aspect-ratio: 16 / 9; }
.sot-hero picture { display: block; width: 100%; height: 100%; }
.sot-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sot-hero figcaption { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 3px; background: rgba(10, 10, 10, .55); color: #fff; font-size: 12px; font-weight: 400; }
@media (max-width: 575.98px) { .sot-hero { margin-left: -12px; margin-right: -12px; border-radius: 0; } }

/* Texto da matéria (HTML vindo do editor): Roboto 400 */
.sot-prose { margin-top: 24px; font-size: 18px; font-weight: 400; line-height: 1.7; color: var(--sot-text); overflow-wrap: anywhere; }
.sot-prose > * { max-width: 100%; }
.sot-prose p { margin: 0 0 1.1em; }
.sot-prose a { color: var(--sot-brand); text-decoration: underline; text-underline-offset: 2px; }
.sot-prose a:hover { color: var(--sot-ink); }
.sot-prose h2, .sot-prose h3, .sot-prose h4 { margin: 1.6em 0 .6em; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--sot-ink); }
.sot-prose h2 { font-size: 26px; } .sot-prose h3 { font-size: 22px; } .sot-prose h4 { font-size: 19px; }
.sot-prose ul, .sot-prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.sot-prose ul { list-style: disc; } .sot-prose ol { list-style: decimal; }
.sot-prose li { margin-bottom: .4em; }
.sot-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--sot-brand); font-weight: 500; color: var(--sot-ink); }
.sot-prose img, .sot-prose video { max-width: 100%; height: auto; border-radius: 6px; }
.sot-prose iframe { max-width: 100%; border: 0; }
.sot-prose figure { margin: 1.4em 0; }
.sot-prose figcaption { margin-top: 6px; font-size: 13px; color: var(--sot-mut); }
.sot-prose table { display: block; max-width: 100%; overflow-x: auto; margin-bottom: 1.1em; border-collapse: collapse; }
.sot-prose td, .sot-prose th { padding: 6px 10px; border: 1px solid var(--sot-line); }
.sot-prose .ratio, .sot-preroll { margin-bottom: 1.4em; }

/* Convite "Siga o SOT no Google" (entra no meio do texto) */
.sot-gf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 16px; margin: 1.6em 0; padding: 14px 16px; border-radius: var(--sot-radius); background: var(--sot-soft); font-size: 15px; line-height: 1.3; }
.sot-gf__brand { display: flex; align-items: center; gap: 12px; flex: 1 1 260px; min-width: 0; }
.sot-gf__brand img { flex: none; width: 48px; height: 48px; margin: 0; border-radius: 0; object-fit: contain; }
.sot-gf__brand p { margin: 0; color: var(--sot-text); }
.sot-gf__btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 0 0 auto; height: 44px; padding: 0 20px; border-radius: 22px; background: #171717; color: #fff !important; font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.sot-gf__btn:hover { background: #000; }
@media (max-width: 575.98px) { .sot-gf__btn { flex: 1 1 100%; } }

/* Relacionadas (escolhidas na matéria) */
.sot-related { margin: 28px 0; padding: 16px 18px; border-left: 4px solid var(--sot-brand); border-radius: 6px; background: var(--sot-soft); }
.sot-related__title { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sot-brand); }
.sot-related li { position: relative; padding-left: 16px; }
.sot-related li + li { margin-top: 8px; }
.sot-related li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--sot-brand); }
.sot-related a { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--sot-ink); }
.sot-related a:hover { color: var(--sot-brand); }

/* Galeria */
.sot-gallery { margin: 32px 0; }
.sot-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .sot-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
.sot-gallery__grid a { display: block; overflow: hidden; border-radius: 6px; background: #e9eaec; aspect-ratio: 16 / 9; }
.sot-gallery__grid img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Assinatura, tags e botões de seguir */
.sot-signature { margin: 8px 0 18px; font-size: 14px; font-weight: 500; color: var(--sot-mut); }
.sot-signature button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.sot-signature button:hover { color: var(--sot-brand); }
.sot-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 16px 0; border-top: 1px solid var(--sot-line); }
.sot-tags > span { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--sot-mut); }
.sot-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.sot-tags a { display: inline-block; padding: 5px 12px; border: 1px solid var(--sot-line); border-radius: 16px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--sot-text); }
.sot-tags a:hover { border-color: var(--sot-brand); color: var(--sot-brand); }
.sot-follow { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--sot-line); border-bottom: 1px solid var(--sot-line); }
.sot-follow a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 6px; color: #fff; font-size: 13px; font-weight: 500; text-align: center; transition: background-color .2s; }
@media (min-width: 576px) { .sot-follow { grid-template-columns: 1fr 1fr; } }
.sot-follow svg { flex: none; width: 15px; height: 15px; }
.sot-follow__wa { background: #198754; } .sot-follow__wa:hover { background: #135536; }
.sot-follow__tg { background: #0d5a8a; } .sot-follow__tg:hover { background: #007ab8; }
.sot-follow__gn { background: #42474c; } .sot-follow__gn:hover { background: #25282a; }
.sot-follow__gs { background: #b71c1c; } .sot-follow__gs:hover { background: #981f1f; }
.sot-more-posts { margin-top: 36px; }

/* Lateral: Blog / Colunas */
.sot-colunas a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--sot-line); }
.sot-colunas a:first-child { padding-top: 0; }
.sot-colunas img { display: block; width: 72px; height: 60px; border-radius: 6px; object-fit: cover; }
.sot-colunas .sot-cat { margin-bottom: 3px; }
.sot-colunas .sot-title { display: block; }
@media (hover: hover) { .sot-colunas a:hover .sot-title { color: var(--sot-brand); } }

/* Lista de últimas notícias */
.sot-item { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--sot-line); }
.sot-item:first-child { padding-top: 0; }
.sot-item__img { position: relative; margin: 0; }
.sot-item__text { display: block; min-width: 0; }
.sot-item__meta { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 400; color: var(--sot-mut); }
.sot-item__meta b { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sot-brand); }
.sot-item__desc { display: none; margin-top: 8px; font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--sot-mut); }
.sot-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; }
@media (min-width: 768px) {
    .sot-item { grid-template-columns: 280px 1fr; gap: 22px; }
    .sot-item__desc { display: block; }
}
@media (hover: hover) { a.sot-item:hover .sot-title { color: var(--sot-brand); } }
.sot-feedlist .pagination {
    --bs-pagination-color: var(--sot-ink); --bs-pagination-hover-color: var(--sot-brand);
    --bs-pagination-focus-color: var(--sot-brand); --bs-pagination-active-bg: var(--sot-brand);
    --bs-pagination-active-border-color: var(--sot-brand); --bs-pagination-font-size: 14px;
    flex-wrap: wrap; justify-content: center; margin: 32px 0 0;
}
.sot-feedlist nav div:has(> p.small) { display: none; }   /* texto "Showing x to y" do paginador */
.sot-feedlist nav > div.d-sm-flex, .sot-feedlist nav > div.d-sm-none { justify-content: center !important; }

/* Efeitos usados por scripts antigos */
.fade-out { opacity: 0; transition: opacity 1200ms ease-in-out; }
.fade-in  { opacity: 1; transition: opacity 1000ms ease-in-out; }

/* ---------- Mobile ---------- */
@media (max-width: 991.98px) {
    .sot-masthead__row { height: 76px; }
    .sot-logo img { height: 46px; }
}
@media (max-width: 575.98px) {
    .sot-top { padding-top: 20px; }
    .sot-sec { margin-top: 32px; }
    .sot-live__body { padding: 16px; }
    .sot-mini { grid-template-columns: 96px 1fr; }
    .sot-footer__bar .container { flex-direction: column; gap: 4px; }
    .sot-searchbtn { padding: 9px; border-radius: 50%; }
}
