/* ===== Fonte: Google Sans (self-hosted) ===== */
@font-face { font-family: "Google Sans"; src: url("assets/fonts/GoogleSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("assets/fonts/GoogleSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("assets/fonts/GoogleSans-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Google Sans"; src: url("assets/fonts/GoogleSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/*
Theme Name: Sul Livre
Theme URI: https://sullivre.com.br
Author: Sul Livre
Description: Tema de portal de notícias moderno para o Sul Livre. Paleta azul-marinho do logo, layout de manchete, grade de destaques, categorias e página de matéria.
Version: 1.6.11
Text Domain: sullivre
License: GPLv2 or later
*/

:root {
  --sl-navy: #0b3d6e;
  --sl-navy-dark: #072a4d;
  --sl-navy-soft: #e8eef6;
  --sl-ink: #14202e;
  --sl-muted: #5b6878;
  --sl-line: #dfe5ec;
  --sl-bg: #ffffff;
  --sl-bg-alt: #f5f7fa;
  --sl-radius: 10px;
  --sl-max: 1200px;
  --sl-font: "Google Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --sl-serif: "Google Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sl-font);
  color: var(--sl-ink);
  background: var(--sl-bg);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sl-navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--sl-ink); }
p { margin: 0 0 1em; }
.sl-container { width: 100%; max-width: var(--sl-max); margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; overflow: hidden; }
:focus-visible { outline: 3px solid #7aa7d9; outline-offset: 2px; }

/* Topo */
.sl-topbar { background: var(--sl-navy-dark); color: #cfdcec; font-size: 13px; }
.sl-topbar .sl-container { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 12px; }
.sl-header { border-bottom: 1px solid var(--sl-line); position: sticky; top: 0; background: #fff; z-index: 50; }
.sl-header .sl-container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.sl-logo img { max-height: 44px; width: auto; }
.sl-logo-text { font-size: 26px; font-weight: 800; color: var(--sl-navy); letter-spacing: -0.5px; }
.sl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.sl-nav a { color: var(--sl-ink); font-weight: 600; font-size: 15px; }
.sl-nav a:hover { color: var(--sl-navy); text-decoration: none; }
.sl-header-actions { display: flex; align-items: center; gap: 10px; }
.sl-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--sl-navy); background: var(--sl-navy); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.sl-btn:hover { background: var(--sl-navy-dark); color: #fff; text-decoration: none; }
.sl-btn-ghost { background: transparent; color: var(--sl-navy); }
.sl-btn-ghost:hover { background: var(--sl-navy-soft); color: var(--sl-navy); }
.sl-menu-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--sl-ink); padding: 4px 8px; }

/* Categorias em faixa */
.sl-catbar { border-bottom: 1px solid var(--sl-line); }
.sl-catbar ul { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0; padding: 0; scrollbar-width: none; }
.sl-catbar ul::-webkit-scrollbar { display: none; }
.sl-catbar a { display: block; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--sl-muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.sl-catbar a:hover, .sl-catbar .current-menu-item a, .sl-catbar a.is-active { color: var(--sl-navy); border-bottom-color: var(--sl-navy); text-decoration: none; }

/* Rótulos de seção */
.sl-section-title { display: flex; align-items: center; gap: 12px; margin: 36px 0 18px; font-size: 20px; font-weight: 800; color: var(--sl-navy); text-transform: uppercase; letter-spacing: .4px; }
.sl-section-title::after { content: ""; flex: 1; height: 2px; background: var(--sl-line); }

/* Cartões */
.sl-kicker { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sl-navy); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px; }
.sl-card-title { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.sl-card-title a { color: var(--sl-ink); }
.sl-card-title a:hover { color: var(--sl-navy); text-decoration: none; }
.sl-meta { font-size: 13px; color: var(--sl-muted); }
.sl-thumb { border-radius: var(--sl-radius); overflow: hidden; background: var(--sl-navy-soft); aspect-ratio: 16 / 9; }
.sl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sl-card-excerpt { color: var(--sl-muted); font-size: 15px; margin: 0; }

/* Manchete */
.sl-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 24px; }
.sl-hero-main .sl-thumb { aspect-ratio: 16 / 9; }
.sl-hero-main .sl-card-title { font-size: 32px; line-height: 1.15; margin-top: 14px; font-family: var(--sl-serif); font-weight: 700; }
.sl-hero-side { display: flex; flex-direction: column; gap: 18px; }
.sl-hero-side article { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--sl-line); }
.sl-hero-side article:last-child { border-bottom: 0; padding-bottom: 0; }
.sl-hero-side .sl-thumb { aspect-ratio: 4 / 3; }
.sl-hero-side .sl-card-title { font-size: 16px; }

/* Grade */
.sl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sl-grid article { display: flex; flex-direction: column; gap: 10px; }
.sl-grid .sl-card-title { font-size: 18px; }

/* Lista de categoria */
.sl-list { display: flex; flex-direction: column; }
.sl-list article { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--sl-line); }
.sl-list .sl-card-title { font-size: 21px; }

/* Lateral com layout de duas colunas */
.sl-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.sl-aside .sl-widget { background: var(--sl-bg-alt); border-radius: var(--sl-radius); padding: 20px; margin-bottom: 24px; }
.sl-aside h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .5px; color: var(--sl-navy); }
.sl-aside ol { margin: 0; padding-left: 20px; }
.sl-aside li { margin-bottom: 10px; }

/* Newsletter */
.sl-newsletter { background: var(--sl-navy); color: #fff; border-radius: var(--sl-radius); padding: 28px; margin: 40px 0; }
.sl-newsletter h3 { color: #fff; font-size: 22px; }
.sl-newsletter p { color: #d6e3f1; }
.sl-newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.sl-newsletter input[type=email] { flex: 1 1 240px; padding: 12px 14px; border-radius: 999px; border: 0; font-size: 15px; }

/* Matéria */
.sl-article { max-width: 760px; margin: 32px auto 0; }
.sl-article .sl-article-title { font-family: var(--sl-serif); font-size: 42px; line-height: 1.12; font-weight: 700; margin: 10px 0 14px; }
.sl-article .sl-deck { font-size: 20px; color: var(--sl-muted); margin-bottom: 18px; }
.sl-article .sl-featured { margin: 22px 0; border-radius: var(--sl-radius); overflow: hidden; }
.sl-content { font-family: var(--sl-serif); font-size: 19px; line-height: 1.7; color: #1d2b3a; }
.sl-content h2, .sl-content h3 { font-family: var(--sl-font); margin-top: 1.6em; }
.sl-content img { border-radius: 8px; margin: 1.2em auto; }
.sl-content blockquote { border-left: 4px solid var(--sl-navy); margin: 1.4em 0; padding: .2em 1.2em; color: var(--sl-muted); font-style: italic; }
.sl-breadcrumb { font-size: 13px; color: var(--sl-muted); }

/* Paginação */
.sl-pagination { margin: 36px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.sl-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--sl-line); border-radius: 8px; color: var(--sl-ink); font-weight: 600; }
.sl-pagination .current { background: var(--sl-navy); color: #fff; border-color: var(--sl-navy); }

/* Busca e 404 */
.sl-search-form { display: flex; gap: 8px; max-width: 520px; }
.sl-search-form input[type=search] { flex: 1; padding: 12px 14px; border: 1px solid var(--sl-line); border-radius: 999px; font-size: 16px; }
.sl-page-head { padding: 28px 0 8px; }
.sl-page-head h1 { font-size: 34px; margin: 0; }

/* Rodapé */
.sl-footer { background: var(--sl-navy-dark); color: #cfdcec; margin-top: 60px; padding: 48px 0 24px; font-size: 15px; }
.sl-footer a { color: #fff; }
.sl-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.sl-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; }
.sl-footer ul { list-style: none; margin: 0; padding: 0; }
.sl-footer li { margin-bottom: 8px; }
.sl-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; font-size: 13px; }

/* Responsivo */
@media (max-width: 1024px) {
  .sl-grid { grid-template-columns: repeat(2, 1fr); }
  .sl-with-aside { grid-template-columns: 1fr; }
  .sl-hero-main .sl-card-title { font-size: 26px; }
}
@media (max-width: 820px) {
  .sl-nav { display: none; }
  .sl-nav.is-open { display: block; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--sl-line); padding: 16px; }
  .sl-nav.is-open ul { flex-direction: column; gap: 14px; }
  .sl-menu-toggle { display: block; }
  .sl-hero { grid-template-columns: 1fr; }
  .sl-list article { grid-template-columns: 1fr; }
  .sl-footer-grid { grid-template-columns: 1fr 1fr; }
  .sl-article .sl-article-title { font-size: 32px; }
}
@media (max-width: 600px) {
  .sl-grid { grid-template-columns: 1fr; }
  .sl-topbar .sl-tagline { display: none; }
  .sl-header-actions .sl-btn { display: none; }
  .sl-hero-side article { grid-template-columns: 96px 1fr; }
  .sl-footer-grid { grid-template-columns: 1fr; }
  .sl-hero-main .sl-card-title { font-size: 23px; }
  .sl-content { font-size: 17px; }
  .sl-page-head h1 { font-size: 26px; }
}

/* ===== v1.1 — acabamento visual ===== */
:root {
  --sl-accent: #f2a900;
  --sl-accent-ink: #1a1400;
  --sl-shadow: 0 1px 2px rgba(11,61,110,.06), 0 8px 24px rgba(11,61,110,.08);
}

/* Topo mais marcante */
.sl-topbar { background: linear-gradient(90deg, var(--sl-navy-dark), var(--sl-navy)); }
.sl-topbar .sl-date { text-transform: capitalize; }
.sl-header { box-shadow: 0 2px 12px rgba(11,61,110,.05); }
.sl-header .sl-container { height: 80px; }
.sl-logo-text { font-family: var(--sl-serif); font-size: 30px; font-weight: 700; }
.sl-nav a { position: relative; padding: 6px 0; }
.sl-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--sl-accent); transition: width .2s ease; }
.sl-nav a:hover::after { width: 100%; }
.sl-btn { transition: background .2s ease, transform .15s ease; }
.sl-btn:active { transform: scale(.98); }
.sl-btn-accent { background: var(--sl-accent); border-color: var(--sl-accent); color: var(--sl-accent-ink); }
.sl-btn-accent:hover { background: #ffbc1f; border-color: #ffbc1f; color: var(--sl-accent-ink); }

/* Barra de categorias como pílulas */
.sl-catbar { background: var(--sl-bg-alt); border-bottom: 0; }
.sl-catbar a { border-bottom: 0; border-radius: 999px; margin: 8px 0; padding: 6px 14px; background: #fff; border: 1px solid var(--sl-line); }
.sl-catbar a:hover, .sl-catbar a.is-active { background: var(--sl-navy); color: #fff; border-color: var(--sl-navy); }
.sl-catbar .current-menu-item a { background: var(--sl-navy); color: #fff; border-color: var(--sl-navy); }

/* Faixa de manchete */
.sl-masthead { text-align: center; padding: 34px 0 18px; }
.sl-masthead .sl-kicker { color: var(--sl-accent); font-size: 13px; letter-spacing: 1.2px; }
.sl-masthead-title { font-family: var(--sl-serif); font-size: 46px; line-height: 1.1; color: var(--sl-navy); margin: 0 auto; max-width: 820px; font-weight: 700; }
.sl-masthead-rule { width: 84px; height: 4px; background: var(--sl-accent); margin: 18px auto 0; border-radius: 2px; }

/* Cartões com profundidade */
.sl-hero-main, .sl-grid article, .sl-hero-side article { transition: transform .25s ease, box-shadow .25s ease; }
.sl-thumb img { transition: transform .5s ease; }
.sl-thumb:hover img { transform: scale(1.04); }
.sl-grid article:hover { transform: translateY(-3px); }
.sl-hero-main .sl-card-title { font-size: 38px; }
.sl-kicker { position: relative; padding-bottom: 6px; }
.sl-kicker::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; background: var(--sl-accent); border-radius: 2px; }
.sl-card-title { letter-spacing: -.2px; }
.sl-grid .sl-card-title { font-size: 19px; }
.sl-thumb { box-shadow: var(--sl-shadow); }

/* Painel "Bom dia" e resumo */
.sl-side-panel { background: var(--sl-navy-soft); border-radius: var(--sl-radius); padding: 22px; }
.sl-side-panel .sl-panel-head { font-size: 13px; font-weight: 700; color: var(--sl-navy); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px; }
.sl-side-panel .sl-panel-text { font-family: var(--sl-serif); font-size: 19px; line-height: 1.35; color: var(--sl-ink); margin: 0 0 14px; }
.sl-side-panel ol { list-style: none; counter-reset: sl; margin: 0; padding: 0; }
.sl-side-panel li { counter-increment: sl; display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid rgba(11,61,110,.12); font-size: 15px; font-weight: 600; }
.sl-side-panel li::before { content: counter(sl, decimal-leading-zero); color: var(--sl-navy); font-weight: 800; font-size: 13px; padding-top: 2px; }
.sl-side-panel li a { color: var(--sl-ink); }

/* Seções */
.sl-section-title { font-size: 18px; margin: 44px 0 20px; }
.sl-section-title::before { content: ""; width: 6px; height: 22px; background: var(--sl-accent); border-radius: 3px; }

/* Estado vazio com cara de portal */
.sl-empty { text-align: center; padding: 56px 20px; border: 2px dashed var(--sl-line); border-radius: 16px; background: linear-gradient(180deg, #fff, var(--sl-bg-alt)); margin: 24px 0; }
.sl-empty h2 { color: var(--sl-navy); font-family: var(--sl-serif); font-size: 30px; }
.sl-empty p { color: var(--sl-muted); max-width: 520px; margin: 0 auto 18px; }
.sl-skeleton { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; opacity: .55; }
.sl-skeleton div { aspect-ratio: 16/9; border-radius: var(--sl-radius); background: linear-gradient(90deg, #eef2f7, #f8fafc, #eef2f7); background-size: 200% 100%; animation: sl-shimmer 1.8s infinite linear; }
@keyframes sl-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Newsletter com destaque */
.sl-newsletter { background: linear-gradient(135deg, var(--sl-navy-dark), var(--sl-navy)); position: relative; overflow: hidden; }
.sl-newsletter::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(242,169,0,.18); }
.sl-newsletter h3 { font-family: var(--sl-serif); font-size: 28px; }
.sl-newsletter input[type=email] { min-width: 0; }
.sl-newsletter .sl-btn { background: var(--sl-accent); border-color: var(--sl-accent); color: var(--sl-accent-ink); }

/* Rodapé */
.sl-footer { position: relative; }
.sl-footer-grid { gap: 40px; }
.sl-footer .sl-logo-text { font-size: 28px; }
.sl-footer li a:hover { color: var(--sl-accent); text-decoration: none; }

/* Matéria: barra de leitura */
.sl-article .sl-article-title { font-size: 46px; }
.sl-content p:first-of-type::first-letter { }

/* Responsivo */
@media (max-width: 1024px) {
  .sl-masthead-title { font-size: 36px; }
  .sl-skeleton { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .sl-header .sl-container { height: 68px; }
  .sl-hero-main .sl-card-title { font-size: 30px; }
  .sl-masthead-title { font-size: 30px; }
  .sl-side-panel { order: 2; }
}
@media (max-width: 600px) {
  .sl-hero-main .sl-card-title { font-size: 25px; }
  .sl-masthead-title { font-size: 26px; }
  .sl-skeleton { grid-template-columns: 1fr; }
  .sl-empty h2 { font-size: 24px; }
  .sl-article .sl-article-title { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== v1.2 — cotação USD e EUR ===== */
.sl-topbar .sl-container { justify-content: space-between; }
.sl-rates { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.sl-rate { display: inline-flex; gap: 6px; align-items: baseline; white-space: nowrap; }
.sl-rate b { color: #fff; font-weight: 700; letter-spacing: .3px; }
.sl-rate i { font-style: normal; font-weight: 700; font-size: 12px; }
.sl-rate i.up { color: #5ee08a; }
.sl-rate i.down { color: #ff8a80; }
@media (max-width: 600px) {
  .sl-topbar .sl-container { height: auto; padding-top: 6px; padding-bottom: 6px; }
  .sl-rates { gap: 12px; font-size: 12px; }
}

/* ===== v1.3 — foto de fundo com véu branco 80% ===== */
body { background: #fff; position: relative; isolation: isolate; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.9)), url("assets/araucarias.jpg") center top / cover no-repeat;
  pointer-events: none;
}
/* Mantém o cabeçalho e o rodapé legíveis sobre a foto */
.sl-header, .sl-catbar { background: rgba(255,255,255,.92); }
.sl-catbar { background: transparent; }
.sl-catbar a { background: rgba(255,255,255,.92); }
@media (max-width: 820px) {
  body::before { background-attachment: scroll; }
}

/* ===== v1.4 — movimento e visual mais moderno ===== */

/* Revelação ao rolar (só ativa com JS e sem "reduzir movimento") */
.sl-motion [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms);
}
.sl-motion [data-reveal].is-visible { opacity: 1; transform: none; }

/* Cabeçalho que encolhe ao rolar */
.sl-header { transition: box-shadow .3s ease, background .3s ease; }
.sl-header .sl-container { transition: height .3s ease; }
.sl-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,61,110,.12); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sl-header.is-scrolled .sl-container { height: 62px; }

/* Faixa de manchetes em rolagem contínua */
.sl-ticker { background: linear-gradient(90deg, var(--sl-navy-dark), var(--sl-navy), var(--sl-navy-dark)); color: #fff; overflow: hidden; height: 40px; display: flex; align-items: center; position: relative; }
.sl-ticker::before, .sl-ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; }
.sl-ticker::before { left: 0; background: linear-gradient(90deg, var(--sl-navy-dark), transparent); }
.sl-ticker::after { right: 0; background: linear-gradient(270deg, var(--sl-navy-dark), transparent); }
.sl-ticker-track { display: inline-flex; white-space: nowrap; will-change: transform; }
.sl-ticker-track span { padding: 0 6px 0 28px; font-size: 14px; font-weight: 600; letter-spacing: .2px; }
.sl-ticker-track span::after { content: "◆"; color: var(--sl-accent); margin-left: 28px; font-size: 9px; vertical-align: middle; }
.sl-ticker:hover .sl-ticker-track { animation-play-state: paused; }

/* Manchete com gradiente animado e blocos flutuantes */
.sl-masthead { position: relative; }
html, body { overflow-x: hidden; }
.sl-masthead::before, .sl-masthead::after { z-index: 0; }
.sl-masthead .sl-container { position: relative; z-index: 1; }
.sl-masthead-title {
  background: linear-gradient(90deg, var(--sl-navy) 0%, #2f7fd1 40%, var(--sl-navy) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sl-masthead::before, .sl-masthead::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(50px); z-index: 0; pointer-events: none; opacity: .35;
}
.sl-masthead::before { width: 300px; height: 300px; background: #9cc7f2; left: 2%; top: 10px; opacity: .28; }
.sl-masthead::after { width: 220px; height: 220px; background: var(--sl-accent); right: 4%; bottom: 0; opacity: .18; }

/* Cartões com profundidade e borda animada */
.sl-grid article, .sl-list article, .sl-hero-side article { border-radius: var(--sl-radius); }
.sl-grid article:hover, .sl-list article:hover { box-shadow: var(--sl-shadow); }
.sl-hero-main:hover .sl-card-title a, .sl-grid article:hover .sl-card-title a { color: var(--sl-navy); }
.sl-thumb { position: relative; }
.sl-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7,42,77,.35)); opacity: 0; transition: opacity .4s ease; }
.sl-grid article:hover .sl-thumb::after, .sl-hero-main:hover .sl-thumb::after { opacity: 1; }
.sl-kicker { transition: letter-spacing .3s ease; }
.sl-grid article:hover .sl-kicker, .sl-hero-main:hover .sl-kicker { letter-spacing: .9px; }

/* Botões com brilho ao passar o mouse */
.sl-btn { position: relative; overflow: hidden; isolation: isolate; }
.sl-btn::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s ease; z-index: -1; }
.sl-btn:hover::after { left: 130%; }

/* Painel "Mais lidas": itens com destaque ao passar o mouse */
.sl-side-panel li { transition: padding-left .25s ease, color .25s ease; }
.sl-side-panel li:hover { padding-left: 6px; }
.sl-side-panel li:hover a { color: var(--sl-navy); }

/* Cotações: pulso ao atualizar */
.sl-rates.is-pulse { animation: sl-pulse .6s ease; }
@keyframes sl-pulse { 0% { opacity: .3; transform: translateY(-3px); } 100% { opacity: 1; transform: none; } }

/* Newsletter com brilho pulsante */
.sl-newsletter .sl-btn { box-shadow: 0 0 0 0 rgba(242,169,0,.6); animation: sl-ring 2.4s infinite; }
@keyframes sl-ring { 0% { box-shadow: 0 0 0 0 rgba(242,169,0,.55); } 70% { box-shadow: 0 0 0 14px rgba(242,169,0,0); } 100% { box-shadow: 0 0 0 0 rgba(242,169,0,0); } }

@keyframes sl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Animações de fundo (somente se o usuário não reduziu movimento) */
@media (prefers-reduced-motion: no-preference) {
  .sl-ticker-track { animation: sl-marquee 46s linear infinite; }
  .sl-masthead-title { animation: sl-shine 9s linear infinite; }
  @keyframes sl-shine { to { background-position: 200% center; } }
  .sl-masthead::before { animation: sl-float 14s ease-in-out infinite alternate; }
  .sl-masthead::after { animation: sl-float 18s ease-in-out infinite alternate-reverse; }
  @keyframes sl-float { from { transform: translate(0,0) scale(1); } to { transform: translate(60px,30px) scale(1.12); } }
  .sl-masthead-rule { animation: sl-grow 1.2s ease both; transform-origin: center; }
  @keyframes sl-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (max-width: 600px) {
  .sl-ticker { height: 36px; }
  .sl-ticker-track span { font-size: 13px; }
  .sl-header.is-scrolled .sl-container { height: 60px; }
}

/* ===== v1.6 — logo oficial ===== */
.sl-logo-img img { height: 56px; width: auto; max-width: 240px; display: block; }
.sl-logo-footer { height: 56px; width: auto; max-width: 240px; filter: brightness(0) invert(1); display: block; }
@media (max-width: 600px) {
  .sl-logo-img img { height: 44px; }
}
.sl-header.is-scrolled .sl-logo-img img { height: 48px; }

/* ===== v1.6.6 — imagens das matérias sem imagem destacada ===== */
.sl-thumb { position: relative; }
.sl-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-thumb { display: block; }

/* v1.6.11 — cotações da bolsa removidas; barra mantém apenas dólar e euro */

/* v1.7.0 — filtro por estado, tempo no Sul, compartilhar */
.sl-states { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:18px 0 8px; }
.sl-states > span { font-size:12px; color:#5b6b7d; text-transform:uppercase; letter-spacing:.08em; margin-right:4px; }
.sl-states a { padding:7px 14px; border:1px solid #cfd9e6; border-radius:999px; color:#0b3d6e; text-decoration:none; font-size:14px; background:#fff; }
.sl-states a:hover, .sl-states a.is-on { background:#0b3d6e; color:#fff; border-color:#0b3d6e; }
.sl-weather { margin:40px 0 10px; }
.sl-weather-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px; }
.sl-wx { background:#fff; border:1px solid #e3e8ef; border-radius:12px; padding:16px; box-shadow:0 6px 18px rgba(11,61,110,.06); }
.sl-wx-city { font-size:13px; color:#5b6b7d; font-weight:600; }
.sl-wx-temp { font-size:28px; font-weight:700; color:#0b3d6e; margin:6px 0 2px; }
.sl-wx-desc { font-size:13px; color:#3a4a5c; }
.sl-share { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:28px 0; padding:16px 0; border-top:1px solid #e3e8ef; border-bottom:1px solid #e3e8ef; }
.sl-share > span { font-weight:600; color:#0b3d6e; margin-right:4px; }
.sl-share a, .sl-share button { padding:7px 14px; border-radius:999px; border:1px solid #0b3d6e; background:#fff; color:#0b3d6e; font:inherit; font-size:14px; text-decoration:none; cursor:pointer; }
.sl-share a:hover, .sl-share button:hover { background:#0b3d6e; color:#fff; }

/* v1.7.1 — categorias agora no menu principal, com visual de pílula */
.sl-nav .menu-item-object-category > a { padding:7px 14px; border:1px solid #cfd9e6; border-radius:999px; background:#fff; color:#0b3d6e; }
.sl-nav .menu-item-object-category > a:hover { background:#0b3d6e; color:#fff; border-color:#0b3d6e; }

/* v1.7.2 — busca de cidade no widget de tempo */
.sl-wx-search { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:0 0 14px; }
.sl-wx-label { position:absolute; left:-9999px; }
.sl-wx-search input { flex:1 1 240px; max-width:360px; padding:10px 14px; border:1px solid #cfd9e6; border-radius:999px; font:inherit; font-size:15px; background:#fff; }
.sl-wx-search input:focus { outline:2px solid #f2a900; outline-offset:1px; }
.sl-wx-search button { padding:10px 20px; border-radius:999px; border:0; background:#0b3d6e; color:#fff; font:inherit; font-weight:600; cursor:pointer; }
.sl-wx-search button:hover { background:#072a4d; }
.sl-wx-msg { min-height:1.4em; font-size:14px; color:#3a4a5c; margin:0 0 10px; }
.sl-wx-custom { border-color:#f2a900; }

/* v1.7.3 — ícone de cadastro na newsletter (formulário Google) */
.sl-cadastro { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; border:1px solid #0b3d6e; color:#0b3d6e; background:#fff; text-decoration:none; }
.sl-cadastro:hover { background:#0b3d6e; color:#fff; }
