/*
 * Componentes do site público ADUNEB (camada sobre o tema Jannah).
 * Carregado em views/public/cabecalho.php.
 */

:root {
    --ad-red: #D50C04;
    --ad-red-700: #A30903;
    --ad-red-50: #FDECEB;
    --ad-ink: #1C1F23;
    --ad-text: #33393F;
    --ad-muted: #6B7280;
    --ad-border: #E5E7EB;
    --ad-surface: #FFFFFF;
    --ad-soft: #F6F7F8;
    --ad-radius: 10px;
}

/* ---------- Breadcrumb ---------- */
#breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--ad-muted); line-height: 1.5; }
#breadcrumb a { color: var(--ad-muted); }
#breadcrumb a:hover { color: var(--ad-red); }
#breadcrumb .delimiter { display: inline !important; color: #C3C7CD; font-style: normal; margin: 0 2px; }
#breadcrumb .current { color: var(--ad-ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 140px; min-width: 0; }

/* ---------- Topo de artigos ---------- */
.ad-artigo-topo { margin: 18px 0 6px; }
.ad-artigo-secao {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--ad-red);
    margin-bottom: 10px;
}
.ad-artigo-titulo {
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ad-ink);
    margin: 0 0 14px;
}
.ad-artigo-linha-fina { font-size: 18px; line-height: 1.55; color: var(--ad-muted); margin: 0 0 18px; }
.ad-artigo-meta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 0; border-top: 1px solid var(--ad-border); border-bottom: 1px solid var(--ad-border);
    font-size: 14px; color: var(--ad-muted);
}
.ad-artigo-meta strong { color: var(--ad-text); font-weight: 600; }
.post-content .featured-area { margin-top: 22px; }
.post-content .entry-content { font-size: 17px; line-height: 1.75; }
.ad-conteudo-juridico a { color: var(--ad-red-700); text-decoration: underline; }

/* ---------- Ouvir ---------- */
.ad-ouvir { display: inline-flex; gap: 6px; }
.ad-ouvir__btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 14px;
    border: 1px solid var(--ad-border); border-radius: 999px;
    background: #fff; color: var(--ad-text);
    font: 600 13px/1 inherit; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.ad-ouvir__btn[data-acao="stop"] { width: 34px; padding: 0; justify-content: center; }
.ad-ouvir__btn svg { width: 14px; height: 14px; fill: currentColor; }
.ad-ouvir__btn:hover, .ad-ouvir__btn:focus-visible { border-color: var(--ad-red); color: var(--ad-red); outline: none; }

/* ---------- Compartilhar ---------- */
.ad-share {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 32px 0 6px; padding-top: 20px; border-top: 1px solid var(--ad-border);
}
.ad-share__label { font-weight: 700; color: var(--ad-ink); margin-right: 4px; }
.ad-share__btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 16px;
    border-radius: 999px; border: 0;
    font: 600 14px/1 inherit; color: #fff !important; text-decoration: none !important;
    cursor: pointer; transition: transform .15s, filter .15s;
}
.ad-share__btn svg { width: 18px; height: 18px; fill: currentColor; }
.ad-share__btn:hover, .ad-share__btn:focus-visible { filter: brightness(.92); transform: translateY(-1px); outline: none; }
.ad-share__btn--whatsapp { background: #1FA855; }
.ad-share__btn--facebook { background: #1877F2; }
.ad-share__btn--x        { background: #111; }
.ad-share__btn--telegram { background: #229ED9; }
.ad-share__btn--copy     { background: #fff; color: var(--ad-text) !important; border: 1px solid var(--ad-border); }
.ad-share__btn--native   { background: var(--ad-red); }

/* ---------- Anexos / listas de documentos ---------- */
.ad-anexos-titulo { font-size: 20px; margin: 28px 0 10px; }
.ad-anexos { list-style: none; margin: 0; padding: 0; }
.ad-anexos li { margin: 0; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--ad-border); position: relative; }
.ad-anexos li::before { content: ''; position: absolute; left: 6px; top: 18px; width: 8px; height: 8px; border-radius: 2px; background: var(--ad-red); }
.ad-anexos a { color: var(--ad-text); font-weight: 500; }
.ad-anexos a:hover { color: var(--ad-red); }
.ad-link-fonte, .ad-versao-email a { color: var(--ad-red) !important; font-weight: 700; }
.ad-versao-email { margin-top: 22px; }

/* ---------- Galeria ---------- */
.ad-galeria { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ad-galeria li { margin: 0; padding: 0; }
.ad-galeria__item {
    display: block; width: 100%; aspect-ratio: 4 / 3;
    padding: 0; border: 0; border-radius: 8px; overflow: hidden;
    background: var(--ad-soft); cursor: zoom-in;
}
.ad-galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ad-galeria__item:hover img, .ad-galeria__item:focus-visible img { transform: scale(1.04); }
.ad-galeria__item:focus-visible { outline: 3px solid var(--ad-red); outline-offset: 2px; }

/* ---------- Busca ---------- */
.ad-busca { display: flex; gap: 8px; margin: 18px 0 6px; max-width: 640px; }
.ad-busca input {
    flex: 1; min-width: 0; height: 46px; padding: 0 16px;
    border: 1px solid #D1D5DB; border-radius: 10px; font-size: 16px; color: var(--ad-ink); background: #fff;
}
.ad-busca input:focus { border-color: var(--ad-red); box-shadow: 0 0 0 3px rgba(213, 12, 4, .15); outline: none; }
.ad-busca button {
    height: 46px; padding: 0 22px; border: 0; border-radius: 10px;
    background: var(--ad-red); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
}
.ad-busca button:hover { background: var(--ad-red-700); }
.ad-busca-resultados { margin-top: 18px; }
.ad-busca-resumo { color: var(--ad-muted); }
.ad-busca-secao h2 { font-size: 18px; margin: 26px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--ad-red); display: inline-block; }
.ad-busca-secao h2 span { color: var(--ad-muted); font-weight: 500; }
.ad-busca-lista { list-style: none; margin: 0; padding: 0; }
.ad-busca-lista > li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ad-border); margin: 0; }
.ad-busca-thumb { flex: 0 0 160px; }
.ad-busca-thumb img { width: 160px; height: 100px; object-fit: cover; border-radius: 8px; background: var(--ad-soft); }
.ad-busca-lista time { font-size: 13px; color: var(--ad-muted); }
.ad-busca-lista h3, .ad-busca-lista .ad-lista-titulo { font-size: 17px; line-height: 1.35; margin: 2px 0 6px; font-weight: 700; }
.ad-busca-lista h3 a, .ad-busca-lista .ad-lista-titulo a { color: var(--ad-ink); }
.ad-busca-lista h3 a:hover, .ad-busca-lista .ad-lista-titulo a:hover { color: var(--ad-red); }
.ad-busca-lista p { margin: 0; font-size: 14.5px; color: var(--ad-muted); line-height: 1.55; }

/* ---------- Acordeão (prestação de contas) ---------- */
.ad-acordeao { border: 1px solid var(--ad-border); border-radius: var(--ad-radius); margin: 0 0 10px; background: #fff; overflow: hidden; }
.ad-acordeao > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px; cursor: pointer; list-style: none; user-select: none;
}
.ad-acordeao > summary::-webkit-details-marker { display: none; }
.ad-acordeao > summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--ad-muted); border-bottom: 2px solid var(--ad-muted); transform: rotate(45deg); transition: transform .2s; margin-left: 8px; }
.ad-acordeao[open] > summary::after { transform: rotate(-135deg); }
.ad-acordeao > summary:hover { background: var(--ad-soft); }
.ad-acordeao__titulo { font-size: 20px; font-weight: 800; color: var(--ad-red); margin-right: auto; }
.ad-acordeao__qtd { font-size: 13px; color: var(--ad-muted); }
.ad-documentos { list-style: none; margin: 0; padding: 0 18px 10px; }
.ad-documentos li { margin: 0; border-top: 1px solid var(--ad-border); }
.ad-documentos a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--ad-text); font-size: 15px; }
.ad-documentos a:hover { color: var(--ad-red); }
.ad-documentos__acao { flex: none; font-size: 12px; font-weight: 700; color: #fff; background: var(--ad-red); border-radius: 999px; padding: 4px 12px; }

/* ---------- 404 ---------- */
.ad-404 { padding: 36px 30px; }
.ad-404__codigo { font-size: 72px; font-weight: 900; line-height: 1; color: var(--ad-red); margin: 0 0 6px; letter-spacing: -.03em; }
.ad-404__atalhos { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.ad-404__atalhos a { padding: 8px 14px; border: 1px solid var(--ad-border); border-radius: 999px; color: var(--ad-text); font-weight: 600; font-size: 14px; }
.ad-404__atalhos a:hover { border-color: var(--ad-red); color: var(--ad-red); }
.ad-404__subtitulo { font-size: 18px; margin: 26px 0 6px; }

/* ---------- Modal de filiação (home) ---------- */
.ad-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 17, 20, .62); }
.ad-modal[hidden] { display: none; }
.ad-modal__caixa { position: relative; width: 100%; max-width: 820px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: ad-modal-in .25s ease-out; }
.ad-modal__caixa img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ad-modal__fechar {
    position: absolute; top: 10px; right: 10px; z-index: 1;
    width: 40px; height: 40px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .95); color: var(--ad-ink);
    font-size: 26px; line-height: 40px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.ad-modal__fechar:hover, .ad-modal__fechar:focus-visible { background: var(--ad-red); color: #fff; outline: none; }
@keyframes ad-modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Paginação (listagens) ---------- */
.pages-nav { padding-top: 26px; }
.pages-numbers li a, .pages-numbers li span.pages-nav-item { min-width: 40px; text-align: center; border-radius: 8px; }

/* ---------- Acessibilidade ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(213, 12, 4, .45); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Responsivo ---------- */
@media (max-width: 767px) {
    .ad-artigo-linha-fina { font-size: 16px; }
    .post-content .entry-content { font-size: 16px; }
    .ad-artigo-meta { font-size: 13px; }
    .ad-share__btn span { display: none; }
    .ad-share__btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
    .ad-share__btn--native, .ad-share__btn--copy { width: auto; padding: 0 14px; }
    .ad-share__btn--native span, .ad-share__btn--copy span { display: inline; }
    .ad-galeria { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ad-busca-thumb { flex-basis: 96px; }
    .ad-busca-thumb img { width: 96px; height: 72px; }
    .ad-busca button { padding: 0 16px; }
    .ad-404 { padding: 24px 16px; }
    .ad-404__codigo { font-size: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .ad-galeria__item img, .ad-share__btn, .ad-modal__caixa { transition: none; animation: none; }
}


/* =====================================================================
 * Layout geral (home, cabeçalho e rodapé)
 * Moderniza o tema sem mudar a identidade: mesmas cores, mesma estrutura.
 * ===================================================================== */

/* ---------- Títulos de seção (padrão único) ---------- */
.block-head-1 .the-global-title { border-bottom: 1px solid var(--ad-border); padding-bottom: 12px; margin-bottom: 22px; }
.block-head-1 .the-global-title:after { background: var(--ad-red); width: 48px; height: 3px; bottom: -2px; border-radius: 2px; }
.block-head-1 .the-global-title:before { display: none; }
.the-global-title h3, .the-global-title .the-subtitle {
    font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--ad-ink); line-height: 1.2;
}
#tie-block_3151 .the-global-title h3 { color: var(--ad-ink); }
.dark-skin .the-global-title .the-subtitle { color: #fff; }

/* ---------- Menu principal ---------- */
#main-nav .main-menu .menu > li > a { font-size: 15px; font-weight: 600; letter-spacing: .01em; padding: 0 22px; position: relative; transition: background-color .2s; }
#main-nav .main-menu .menu > li > a::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: 12px; height: 2px;
    background: #fff; border-radius: 2px; transform: scaleX(0); transition: transform .2s ease;
}
#main-nav .main-menu .menu > li:hover > a::after,
#main-nav .main-menu .menu > li > a:focus-visible::after,
#main-nav .main-menu .menu > li.current-menu-item > a::after { transform: scaleX(1); }
#main-nav .main-menu .menu > li.current-menu-item > a,
#main-nav .main-menu .menu > li:hover > a { background-color: rgba(0, 0, 0, .14); }
#main-nav .menu-sub-content { border-radius: 0 0 8px 8px; overflow: hidden; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
#main-nav .menu-sub-content a { font-size: 14px; transition: padding-left .15s, background-color .15s; }
#main-nav .menu-sub-content a:hover { padding-left: 24px; }
/* Busca integrada à barra */
#main-nav .search-bar #awaken-search-form { border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
#main-nav .search-bar #search-input { font-size: 14px; }

/* ---------- Últimas notícias ---------- */
#tie-block_3151 .big-thumb-left-box-inner { border-radius: var(--ad-radius); overflow: hidden; background-size: cover; background-position: center; transition: transform .3s; }
#tie-block_3151 .big-thumb-left-box-inner:hover { transform: translateY(-2px); }
#tie-block_3151 .big-thumb-left-box-inner .post-overlay { background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0) 65%) !important; }
#tie-block_3151 .post-item:not(.is-trending) .post-thumb { width: 130px; margin-right: 16px; }
#tie-block_3151 .post-item:not(.is-trending) .post-thumb img { width: 130px; height: 88px; object-fit: cover; border-radius: 8px; transition: transform .3s; }
#tie-block_3151 .post-item:not(.is-trending):hover .post-thumb img { transform: scale(1.04); }
#tie-block_3151 .post-item:not(.is-trending) { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--ad-border); }
#tie-block_3151 .post-item:not(.is-trending) .post-title { font-size: 15px; line-height: 1.4; font-weight: 600; }
#tie-block_3151 .post-item:not(.is-trending) .post-title a { color: var(--ad-ink); transition: color .15s; }
#tie-block_3151 .post-item:not(.is-trending) .post-title a:hover { color: var(--ad-red); }
#tie-block_3151 .post-meta .date { font-size: 12px; color: var(--ad-muted); }
.ad-link-todas {
    float: right; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
    padding: 10px 18px; border: 1px solid var(--ad-red); border-radius: 999px;
    color: var(--ad-red) !important; font-weight: 700; font-size: 15px; transition: background-color .2s, color .2s;
}
.ad-link-todas:hover, .ad-link-todas:focus-visible { background: var(--ad-red); color: #fff !important; }

/* ---------- Barra lateral ---------- */
.ad-lateral { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ad-lateral__item { margin: 0; padding: 0; }
.ad-card {
    display: block; border-radius: var(--ad-radius); overflow: hidden; background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ad-card:hover, .ad-card:focus-visible { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 12px 28px rgba(0, 0, 0, .12); }
.ad-lateral__titulo { display: block; padding: 10px 14px; background: var(--ad-ink); color: #fff; font-weight: 700; font-size: 14px; text-align: center; }
.ad-lateral img { display: block; width: 100%; height: auto; }
.ad-acompanhe { margin-top: 22px; padding: 18px; border-radius: var(--ad-radius); background: var(--ad-soft); }
.ad-acompanhe__titulo { margin: 0 0 12px; font-weight: 800; font-size: 16px; color: var(--ad-ink); }
.ad-redes { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad-redes li { margin: 0 !important; padding: 0 !important; }
.ad-redes__link {
    display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
    border-radius: 8px; background: #fff; border: 1px solid var(--ad-border);
    color: var(--ad-text) !important; font-weight: 600; font-size: 14px; transition: border-color .15s, color .15s;
}
.ad-redes__link span { font-size: 16px; }
.ad-redes__link--instagram span { color: #D62976; }
.ad-redes__link--facebook span { color: #1877F2; }
.ad-redes__link--youtube span { color: #FF0000; }
.ad-redes__link:hover { border-color: var(--ad-red); color: var(--ad-red) !important; }
.ad-cta {
    display: block; padding: 14px 16px; border-radius: 8px; background: var(--ad-red); color: #fff !important;
    transition: background-color .2s, transform .2s;
}
.ad-cta strong { display: block; font-size: 16px; }
.ad-cta span { font-size: 14px; opacity: .92; }
.ad-cta:hover { background: var(--ad-red-700); transform: translateY(-1px); }

/* ---------- Cards de destaques ---------- */
.ad-secao { margin-top: 10px; }
.ad-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ad-cards li { margin: 0; padding: 0; }
.ad-card--destaque { height: 100%; }
.ad-card__midia { display: block; aspect-ratio: 1200 / 680; overflow: hidden; background: var(--ad-soft); }
.ad-card__midia img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ad-card--destaque:hover .ad-card__midia img { transform: scale(1.05); }
.ad-card__titulo {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 16px; font-size: 17px; font-weight: 700; color: var(--ad-ink);
}
.ad-card__titulo::after { content: "\2192"; color: var(--ad-red); transition: transform .2s; }
.ad-card--destaque:hover .ad-card__titulo::after { transform: translateX(4px); }

/* ---------- Parceiros ---------- */
.ad-parceiros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.ad-parceiros li { margin: 0; }
.ad-parceiros a {
    display: flex; align-items: center; justify-content: center; height: 110px; padding: 8px 12px;
    border: 1px solid var(--ad-border); border-radius: var(--ad-radius); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.ad-parceiros img { max-width: 100%; max-height: 94px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.ad-parceiros a:hover, .ad-parceiros a:focus-visible { border-color: #D1D5DB; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.ad-parceiros a:hover img, .ad-parceiros a:focus-visible img { filter: none; opacity: 1; }

/* ---------- Espaçamentos ---------- */
.ad-secao .mag-box { margin-bottom: 40px; }
#footer { margin-top: 30px; }

/* ---------- Rodapé ---------- */
.ad-rodape { background: var(--ad-red); color: rgba(255, 255, 255, .88); padding: 56px 0 0; font-size: 15px; line-height: 1.6; }
.ad-rodape__grade { display: grid; grid-template-columns: 1.35fr 1fr 1.25fr 1fr; gap: 40px; padding-bottom: 44px; }
.ad-rodape__marca img { display: block; width: auto; max-width: 240px; height: auto; margin-bottom: 16px; }
.ad-rodape__marca p, .ad-rodape__coluna p { margin: 0 0 18px; color: rgba(255, 255, 255, .85); }
.ad-rodape__titulo { margin: 0 0 16px; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.ad-rodape a { color: #fff; text-decoration: none; transition: opacity .15s, color .15s; }
.ad-rodape__links { list-style: none; margin: 0; padding: 0; }
.ad-rodape__links li { margin: 0 0 8px; }
.ad-rodape__links a { color: rgba(255, 255, 255, .88); }
.ad-rodape__links a:hover, .ad-rodape__links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ad-rodape__redes { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.ad-rodape__redes li { margin: 0; }
.ad-rodape__redes a {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); font-size: 17px;
    transition: background-color .2s, color .2s, border-color .2s;
}
.ad-rodape__redes a:hover, .ad-rodape__redes a:focus-visible { background: #fff; color: var(--ad-red); border-color: #fff; }
.ad-contato { list-style: none; margin: 0; padding: 0; }
.ad-contato li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; }
.ad-contato svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: currentColor; opacity: .8; }
.ad-contato a:hover, .ad-contato a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ad-rodape__botao {
    display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 999px;
    background: #fff; color: var(--ad-red) !important; font-weight: 800; font-size: 15px;
    transition: transform .2s, box-shadow .2s;
}
.ad-rodape__botao:hover, .ad-rodape__botao:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.ad-rodape__base { background: var(--ad-red-700); padding: 16px 0; font-size: 13px; color: rgba(255, 255, 255, .8); }
.ad-rodape__base .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.ad-rodape__base .container::before, .ad-rodape__base .container::after { display: none; } /* clearfix do tema viraria item flex */
.ad-rodape a:focus-visible { outline-color: #fff; }

/* ---------- Barra lateral das páginas internas ---------- */
.ad-widget { margin-bottom: 30px; }
.ad-lista-lateral { list-style: none; margin: 0; padding: 0; }
.ad-lista-lateral li { margin: 0; padding: 0; border-bottom: 1px solid var(--ad-border); }
.ad-lista-lateral li:first-child .ad-lista-lateral__item { padding-top: 0; }
.ad-lista-lateral__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.ad-lista-lateral__thumb { flex: none; width: 96px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--ad-soft); }
.ad-lista-lateral__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ad-lista-lateral__item:hover .ad-lista-lateral__thumb img { transform: scale(1.06); }
.ad-lista-lateral__corpo { min-width: 0; }
.ad-lista-lateral__titulo {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 14.5px; line-height: 1.4; font-weight: 600; color: var(--ad-ink); transition: color .15s;
}
.ad-lista-lateral__item:hover .ad-lista-lateral__titulo { color: var(--ad-red); }
.ad-lista-lateral time { display: block; margin-top: 4px; font-size: 12px; color: var(--ad-muted); }
.ad-lista-lateral__todas {
    display: flex; justify-content: center; margin-top: 16px; padding: 10px 16px;
    border: 1px solid var(--ad-border); border-radius: 999px;
    color: var(--ad-red) !important; font-weight: 700; font-size: 14px; transition: border-color .2s, background-color .2s;
}
.ad-lista-lateral__todas:hover, .ad-lista-lateral__todas:focus-visible { border-color: var(--ad-red); background: var(--ad-red-50); }

/* ---------- Voltar ao topo ---------- */
a.go-to-top-button { width: 40px; height: 40px; line-height: 40px; font-size: 20px; background: var(--ad-red); opacity: .88; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); }
a.go-to-top-button:hover { opacity: 1; }

/* ---------- Responsivo (layout) ---------- */
@media (max-width: 991px) {
    .ad-rodape__grade { grid-template-columns: 1fr 1fr; }
    .ad-cards { gap: 16px; }
    #main-nav .main-menu .menu > li > a { padding: 0 14px; }
}
@media (max-width: 767px) {
    .the-global-title h3, .the-global-title .the-subtitle { font-size: 19px; }
    #tie-block_3151 .post-item:not(.is-trending) .post-thumb, #tie-block_3151 .post-item:not(.is-trending) .post-thumb img { width: 110px; }
    #tie-block_3151 .post-item:not(.is-trending) .post-thumb img { height: 76px; }
    .ad-link-todas { float: none; display: flex; justify-content: center; }
    .ad-cards { grid-template-columns: 1fr; }
    .ad-parceiros { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ad-parceiros a { height: 96px; }
    .ad-parceiros img { max-height: 80px; }
    .ad-rodape { padding-top: 40px; }
    .ad-rodape__grade { grid-template-columns: 1fr; gap: 30px; }
    .ad-rodape__links { columns: 2; column-gap: 16px; }
    .ad-rodape__base .container { flex-direction: column; }
    a.go-to-top-button { width: 36px; height: 36px; line-height: 36px; font-size: 18px; opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
    .ad-card, .ad-card__midia img, .ad-parceiros img, #tie-block_3151 .big-thumb-left-box-inner, #tie-block_3151 .post-thumb img { transition: none; }
}
