/* ─── TOKENS DE DESIGN (Ajustados com base nos seus) ─── */
:root {
  --blue: #0a2540; /* Seu --blue ajustado para o primário */
  --blue-2: #1a4a7a; /* Seu --blue-2 ajustado */
  --red: #e63946; /* Seu --red ajustado para o accent */
  --red-dark: #c62736; /* Seu --red-dark ajustado */
  --ink: #1a202c; /* Seu --ink ajustado para o texto principal */
  --muted: #64748b; /* Seu --muted ajustado para o texto secundário */
  --line: #e2e8f0; /* Seu --line ajustado para bordas */
  --soft: #f0f2f5; /* Seu --soft ajustado para o fundo geral */
  --white: #ffffff; /* Seu --white */
  --shadow: 0 8px 28px rgba(11, 36, 71, .1); /* Seu --shadow ajustado */
  --radius: 12px; /* Seu --radius ajustado */

  /* Novos tokens para maior flexibilidade */
  --c-accent2: #f4a261; /* Laranja para destaques secundários */
  --c-light-text: rgba(255,255,255,.8); /* Texto claro */
  --shadow-lg: 0 20px 60px rgba(11, 36, 71, .15); /* Sombra maior */
  --transition: .25s cubic-bezier(.4,0,.2,1); /* Transição padrão */
  --font-head: 'Playfair Display', Georgia, serif; /* Fonte para títulos */
  --font-body: 'Inter', system-ui, sans-serif; /* Fonte para corpo */
}

/* ─── RESET BÁSICO E FONTES ─── */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body); /* Usando a nova fonte */
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; object-fit: cover; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1280px, calc(100% - 32px)); /* Container mais largo */
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── UTILITIES ─── */
.pulse-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.75); }
}

.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 50px;
  text-decoration: none;
}
.cat-pill    { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); }
.cat-pill:hover { background: rgba(255,255,255,.3); }
.urgent-pill { background: var(--red); color: #fff; }


/* ─── HEADER ─── */
.topline {
  background: var(--blue);
  color: var(--c-light-text); /* Usando o novo token */
  font-size: 12px; /* Ajustado */
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px; /* Ajustado */
  gap: 16px;
  font-weight: 600; /* Adicionado */
}

.top-actions a {
  color: var(--c-light-text); /* Ajustado */
  font-weight: 700;
  transition: color var(--transition); /* Adicionado */
}
.top-actions a:hover { color: var(--c-accent2); } /* Adicionado */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: auto;
  box-shadow: 0 12px 28px rgba(7, 31, 63, .08);
}

.header-grid {
  min-height: 88px; /* Ajustado */
  display: grid;
  grid-template-columns: auto minmax(240px, 520px) auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* Ajustado */
  min-width: 0;
}

.brand-mark {
  width: 44px; /* Ajustado */
  height: 44px; /* Ajustado */
  display: grid;
  place-items: center;
  border-radius: 10px; /* Ajustado */
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); /* Gradiente */
  color: var(--white);
  font-weight: 900;
  font-size: 20px; /* Ajustado */
  box-shadow: inset 0 -8px 14px rgba(255,255,255,.08), 0 10px 22px rgba(11,36,71,.18); /* Sombra aprimorada */
}

.brand strong {
  display: block;
  color: var(--blue);
  font-size: 22px; /* Ajustado */
  line-height: 1.05;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px; /* Ajustado */
  letter-spacing: .5px; /* Ajustado */
}

.search-form {
  display: flex;
  background: #f8fafc; /* Fundo mais claro */
  border: 1px solid #cfd9e7; /* Borda mais suave */
  border-radius: 50px; /* Mais arredondado */
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(19, 32, 51, .06); /* Sombra aprimorada */
}

.search-form input {
  border: 0;
  background: transparent;
  min-width: 0;
  flex: 1;
  padding: 10px 16px; /* Ajustado */
  outline: none;
  font-size: 14px; /* Ajustado */
}

.search-form button,
.btn {
  border: 0;
  border-radius: 50px; /* Mais arredondado */
  padding: 10px 18px; /* Ajustado */
  font-weight: 700; /* Ajustado */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease; /* Adicionado */
}

.search-form button,
.btn.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 18px rgba(215, 38, 61, .20); /* Sombra aprimorada */
}

.search-form button:hover,
.btn.primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(215, 38, 61, .26); /* Sombra aprimorada */
}

.btn.ghost {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--line);
}

.btn.full { width: 100%; }
.btn.small { padding: 8px 10px; font-size: 13px; }
.btn.danger { background: #fff1f3; color: var(--red); border: 1px solid #f4b7c1; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
  flex-direction: column; /* Adicionado */
  justify-content: space-around; /* Adicionado */
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--blue);
  margin: 0; /* Ajustado */
}

.main-nav {
  background: var(--blue);
  color: var(--white);
}

.nav-scroll {
  display: flex; /* Ajustado */
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  justify-content: center; /* Centralizado */
  scrollbar-width: none; /* Esconde scrollbar Firefox */
}
.nav-scroll::-webkit-scrollbar { display: none; } /* Esconde scrollbar Webkit */

.nav-scroll a {
  position: relative;
  padding: 15px 18px; /* Ajustado */
  font-size: 13px; /* Ajustado */
  font-weight: 600; /* Ajustado */
  white-space: nowrap;
  transition: background var(--transition); /* Adicionado */
}

.nav-scroll a:hover { background: var(--blue-2); }

.nav-scroll a::after { /* Indicador de hover/ativo */
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 9px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.nav-scroll a:hover::after {
  transform: scaleX(1);
}
.nav-scroll a.active::after { /* Estilo para item ativo */
  transform: scaleX(1);
  background: var(--c-accent2); /* Cor diferente para ativo */
}


/* ─── URGENT BAR (Breaking News) ─── */
.urgent-bar {
  background: rgba(255,255,255,.92); /* Fundo semi-transparente */
  backdrop-filter: blur(8px); /* Efeito blur */
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm); /* Sombra leve */
}

.urgent-inner {
  display: flex;
  gap: 10px; /* Ajustado */
  align-items: center;
  padding: 12px 0;
  overflow: hidden;
  min-height: 52px; /* Altura mínima */
}

.urgent-inner strong {
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  padding: 4px 9px;
  text-transform: uppercase;
  font-size: 11px; /* Ajustado */
  font-weight: 800; /* Ajustado */
  box-shadow: 0 8px 18px rgba(215, 38, 61, .22); /* Sombra aprimorada */
  flex-shrink: 0; /* Não encolhe */
}

.urgent-inner .breaking-track-wrap { /* Novo wrapper para o ticker */
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.urgent-inner .breaking-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  overflow: visible;
  white-space: nowrap;
  animation: breakingTicker 32s linear infinite;
  font-size: 13px; /* Ajustado */
}

.breaking-track a,
.breaking-track span {
  font-weight: 600; /* Ajustado */
  color: var(--ink); /* Cor do texto */
  transition: color var(--transition);
}
.breaking-track a:hover { color: var(--red); }

.breaking-track b {
  color: var(--red);
}

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

/* ─── FLASH MESSAGES ─── */
.flash-wrap { padding-top: 16px; }

.flash {
  padding: 13px 16px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 14px; /* Adicionado */
}

.flash.success { background: #e8f8ef; color: #146b37; }
.flash.error { background: #fff1f3; color: var(--red); }
.flash.info { background: #e0f2f7; color: #0f5c75; } /* Adicionado */
.flash.warning { background: #fff8e1; color: #8a6d3b; } /* Adicionado */


/* ─── HERO SECTION ─── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px; /* Ajustado */
  gap: 24px;
  padding: 30px 0 26px; /* Ajustado */
}

.hero-main,
.mini-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.32); /* Borda sutil */
  box-shadow: 0 24px 60px rgba(11, 36, 71, .17); /* Sombra aprimorada */
  transition: transform .22s ease, box-shadow .22s ease; /* Transição */
}

.hero-main:hover,
.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(11, 36, 71, .22); /* Sombra maior no hover */
}

.hero-main {
  min-height: 475px; /* Ajustado */
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-main::after,
.mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 13, 27, .86), rgba(5, 13, 27, .12));
}

.hero-main img,
.mini-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .35s ease;
}

.hero-main:hover img,
.mini-card:hover img { transform: scale(1.04); }

.hero-main > *:not(img),
.mini-card > *:not(img) {
  position: relative;
  z-index: 1;
}

.label { /* Estilo base para labels */
  display: inline-flex;
  width: max-content;
  background: rgba(8, 38, 78, .94); /* Fundo mais suave */
  border: 1px solid rgba(255,255,255,.16); /* Borda sutil */
  color: var(--white);
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px; /* Ajustado */
}

.label-red { background: var(--red); }

.hero-main h1 {
  max-width: 720px; /* Ajustado */
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900; /* Adicionado */
  text-shadow: 0 3px 18px rgba(0,0,0,.38); /* Sombra de texto */
}

.hero-main p {
  max-width: 640px; /* Ajustado */
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  text-shadow: 0 2px 12px rgba(0,0,0,.28); /* Sombra de texto */
}

.hero-side {
  display: grid;
  gap: 20px; /* Ajustado */
}

.mini-card {
  min-height: 228px; /* Ajustado */
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mini-card::after { /* Gradiente mais suave para mini-cards */
  background: linear-gradient(to top, rgba(5,13,27,.86), rgba(5,13,27,.18));
}

.mini-card span {
  color: #ffccd3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-card h2,
.mini-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900; /* Adicionado */
}

/* ─── MAIN LAYOUT ─── */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-bottom: 42px;
}

.section-heading,
.panel-title,
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 0 0 12px; /* Adicionado */
  border-bottom: 1px solid var(--line); /* Adicionado */
}

.section-heading h2,
.page-title h1,
.prose-page h1,
.article-header h1 {
  margin: 0;
  color: var(--blue);
  letter-spacing: 0;
  font-family: var(--font-head); /* Usando a fonte de título */
  font-size: 26px; /* Ajustado */
  display: flex; /* Para o pseudo-elemento */
  align-items: center;
  gap: 10px;
}
.section-heading h2::before { /* Linha vertical */
  content: "";
  width: 5px;
  height: 28px;
  border-radius: 999px;
  background: var(--red);
}

.section-heading a,
.panel-title a,
.read-more {
  color: var(--red);
  font-weight: 900;
  border: 1px solid #f1b1bc; /* Borda sutil */
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff6f8; /* Fundo suave */
  transition: transform .18s ease, background .18s ease, border-color .18s ease; /* Transição */
}
.section-heading a:hover,
.read-more:hover {
  transform: translateY(-1px);
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.read-more::after { /* Seta para o read-more */
  content: "→";
  margin-left: 8px;
  font-size: 1.1em;
}


.news-list {
  display: grid;
  gap: 18px; /* Ajustado */
}

.news-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  background: var(--white);
  border: 1px solid #d7e0ec; /* Borda mais suave */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(11, 36, 71, .08); /* Sombra aprimorada */
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; /* Transição */
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: #bfccdc; /* Borda no hover */
  box-shadow: 0 22px 44px rgba(11, 36, 71, .12); /* Sombra maior no hover */
}

.news-card .thumb {
  min-height: 190px;
  background: var(--blue);
  overflow: hidden; /* Adicionado */
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  transition: transform .25s ease; /* Transição para zoom */
}
.news-card:hover .thumb img {
  transform: scale(1.04); /* Zoom no hover */
}

.news-body { padding: 20px 22px; } /* Ajustado */

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px; /* Ajustado */
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.meta a {
  color: var(--red);
  background: #fff3f5; /* Fundo suave */
  border-radius: 999px;
  padding: 3px 9px;
  text-transform: uppercase; /* Adicionado */
  font-size: 11px; /* Adicionado */
  font-weight: 800; /* Adicionado */
}

.news-card h2,
.news-card h3 {
  margin: 8px 0;
  line-height: 1.25;
  color: var(--blue);
  font-size: 21px; /* Ajustado */
  font-weight: 900; /* Adicionado */
}

.news-card p { margin: 0 0 12px; color: var(--muted); }

.sidebar {
  display: grid;
  gap: 20px; /* Ajustado */
  align-content: start;
}

.widget {
  background: var(--white);
  border: 1px solid #d7e0ec; /* Borda mais suave */
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 14px 32px rgba(11, 36, 71, .08); /* Sombra aprimorada */
}

.widget h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 21px; /* Ajustado */
  font-family: var(--font-head); /* Fonte de título */
  display: flex; /* Para o pseudo-elemento */
  align-items: center;
  gap: 9px;
}
.widget h2::before { /* Linha vertical */
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: var(--red);
}

.rank-list {
  counter-reset: news-rank;
  list-style: none;
  padding-left: 0;
}

.rank-list li {
  counter-increment: news-rank;
  position: relative;
  padding: 0 0 14px 42px;
  border-bottom: 1px solid var(--line);
}

.rank-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rank-list li::before {
  content: counter(news-rank);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 800;
  background: #f8fafc; /* Fundo suave */
  transition: transform .18s ease, border-color .18s ease, background .18s ease; /* Transição */
}
.category-list a:hover {
  transform: translateX(3px);
  border-color: #bfccdc; /* Borda no hover */
  background: #fff;
}

.category-list strong { color: var(--red); }

.page-title {
  padding: 34px 0 18px;
}

.page-title h1,
.prose-page h1 { font-size: 38px; }
.page-title p { color: var(--muted); margin: 4px 0 0; }

.article-page { padding: 34px 0 48px; }
.article-header { max-width: 880px; margin-bottom: 20px; }
.article-header h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 14px 0; }
.article-header p { font-size: 20px; color: var(--muted); margin: 0 0 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-weight: 700; }

.article-image {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  margin-top: 28px;
}

.article-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  font-size: 18px;
}

.article-content p:first-child { margin-top: 0; }

.share-box {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.share-box h2 { margin-top: 0; color: var(--blue); }

.share {
  display: inline-flex;
  margin: 0 8px 8px 0;
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--white);
  font-weight: 900;
}

.share.whatsapp { background: #1f9d55; }
.share.facebook { background: #1877f2; }

.related { margin-top: 32px; }
.related h2 { color: var(--blue); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.prose-page {
  max-width: 820px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 34px;
  margin-bottom: 48px;
  padding: 32px;
  box-shadow: 0 18px 42px rgba(11, 36, 71, .09); /* Sombra aprimorada */
}

.prose-page.compact { margin: 0; }
.prose-page p { color: var(--muted); font-size: 18px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 28px;
  padding: 34px 0 48px;
}

.form-card,
.admin-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 22px rgba(19, 32, 51, .05);
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 15px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(25, 55, 109, .12);
}

.empty-state {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
  font-weight: 800;
  text-align: center; /* Adicionado */
}
.empty-state h3 { /* Adicionado */
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--ink);
}
.empty-state p { /* Adicionado */
  font-size: 14px;
  color: var(--muted);
}


/* ─── FOOTER ─── */
.site-footer {
  background: var(--blue);
  color: var(--c-light-text); /* Usando o novo token */
  margin-top: 48px; /* Ajustado */
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding: 34px 0;
}

.footer-brand .brand-mark { background: var(--red); }
.footer-brand strong { color: var(--white); }
.footer-brand p { /* Descrição do footer */
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-top: 15px; /* Adicionado */
}

.site-footer h3 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: 14px; /* Ajustado */
  font-weight: 800; /* Ajustado */
  text-transform: uppercase; /* Adicionado */
  letter-spacing: .8px; /* Adicionado */
  padding-bottom: 10px; /* Adicionado */
  border-bottom: 2px solid rgba(255,255,255,.1); /* Adicionado */
}

.site-footer a {
  display: block;
  margin-bottom: 7px;
  font-size: 13px; /* Adicionado */
  color: rgba(255,255,255,.6); /* Adicionado */
  transition: color var(--transition); /* Adicionado */
}
.site-footer a:hover { color: var(--c-accent2); } /* Adicionado */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 14px 0;
  font-size: 12px; /* Ajustado */
  color: rgba(255,255,255,.4); /* Adicionado */
  text-align: center; /* Adicionado */
}

.muted { color: var(--muted); }

/* ─── CAROUSEL ESPECÍFICO (Mantido e aprimorado) ─── */
.hero-carousel,
.hero-empty {
  position: relative;
  min-height: 475px; /* Ajustado */
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 24px 60px rgba(11, 36, 71, .17);
}

.carousel-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,13,27,.76), rgba(5,13,27,.20) 58%, rgba(5,13,27,.08)),
    linear-gradient(to top, rgba(5,13,27,.88), rgba(5,13,27,.10) 70%);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  transition: transform .5s ease;
}

.hero-carousel:hover .hero-slide.active img {
  transform: scale(1.035);
}

.hero-slide-content,
.hero-empty-inner { /* Renomeado para evitar conflito e ser mais específico */
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 30px;
}

.hero-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-slide h1,
.hero-empty h1 {
  max-width: 720px;
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 3px 18px rgba(0,0,0,.38);
}

.hero-slide p,
.hero-empty p {
  max-width: 640px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}

.slide-read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(215, 38, 61, .28);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease; /* Adicionado */
}

.slide-read-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px); /* Adicionado */
  box-shadow: 0 16px 30px rgba(215, 38, 61, .35); /* Adicionado */
}

.carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(7,31,63,.65);
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.carousel-arrow:hover {
  background: var(--red);
  transform: translateY(-50%) scale(1.04);
}

.carousel-arrow.prev { left: 18px; }
.carousel-arrow.next { right: 18px; }

.carousel-dots {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: all .18s ease; /* Adicionado */
}

.carousel-dots button.active {
  width: 28px;
  background: var(--red);
  border-color: var(--red);
  border-radius: 4px; /* Adicionado */
}

.hero-empty {
  background:
    linear-gradient(135deg, rgba(11,36,71,.94), rgba(25,55,109,.82)),
    var(--blue);
  display: flex; /* Adicionado */
  align-items: center; /* Adicionado */
  justify-content: center; /* Adicionado */
  text-align: center; /* Adicionado */
}

/* ─── RESPONSIVIDADE (Ajustada e Aprimorada) ─── */
@media (max-width: 980px) {
  .hero,
  .layout,
  .article-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-side { /* Ajustado para 2 colunas em telas médias */
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid { /* Ajustado para 2 colunas em telas médias */
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-grid {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 14px 0;
  }

  .search-form {
    grid-column: 1 / -1;
    order: 3;
  }

  .menu-toggle { display: flex; } /* Mostrar o menu toggle */

  .main-nav {
    display: none; /* Ocultar nav em mobile por padrão */
    position: absolute; /* Para sobrepor o conteúdo */
    top: 100%; /* Abaixo do header */
    left: 0;
    right: 0;
    background: var(--blue);
    box-shadow: var(--shadow);
    z-index: 999;
  }

  .main-nav.open { display: block; } /* Mostrar quando a classe 'open' for adicionada via JS */

  .nav-scroll {
    display: grid; /* Layout de grade para itens de menu */
    padding: 8px 0;
    justify-content: start; /* Alinhar à esquerda */
  }

  .nav-scroll a {
    padding: 12px 16px; /* Ajustado */
    border-bottom: 1px solid rgba(255,255,255,.1); /* Separador */
  }
  .nav-scroll a:last-child { border-bottom: none; } /* Sem borda no último */

  .nav-scroll a::after { /* Ajuste do indicador para mobile */
    left: 0;
    right: auto;
    width: 4px;
    height: 100%;
    bottom: 0;
    transform: scaleY(0);
    transform-origin: center;
  }
  .nav-scroll a:hover::after,
  .nav-scroll a.active::after {
    transform: scaleY(1);
  }


  .hero-carousel,
  .hero-empty {
    min-height: 430px;
  }

  .hero-slide-content,
  .hero-empty-inner {
    padding: 22px;
  }

  .hero-slide h1,
  .hero-empty h1 {
    font-size: 32px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 27px;
  }

  .carousel-arrow.prev { left: 10px; }
  .carousel-arrow.next { right: 10px; }

  .urgent-inner {
    gap: 10px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card .thumb { height: 220px; }

  .hero-side,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-content,
  .prose-page,
  .form-card {
    padding: 20px;
  }

  .section-heading { /* Ajustado para mobile */
    align-items: flex-start;
    flex-direction: column;
  }
  .section-heading h2 { font-size: 22px; }
  .section-heading a { margin-top: 10px; }

  .widget h2 { font-size: 18px; }
  .rank-list li { padding-left: 36px; }
  .rank-list li::before { width: 24px; height: 24px; font-size: 12px; }

  .footer-grid {
    text-align: center;
  }
  .footer-brand .site-logo { justify-content: center; }
  .site-footer h3 { text-align: center; }
  .site-footer a { text-align: center; }
}

@media (max-width: 480px) {
  .hero-carousel,
  .hero-empty {
    min-height: 300px;
  }
  .hero-side { grid-template-columns: 1fr; }
  .mini-card { min-height: 160px; }
  .hero-slide h1,
  .hero-empty h1 { font-size: 24px; margin-bottom: 8px; }
  .hero-slide p,
  .hero-empty p { display: none; } /* Oculta resumo em telas muito pequenas */
  .slide-read-btn { padding: 10px 16px; font-size: 12px; }

  .carousel-arrow { width: 36px; height: 36px; font-size: 20px; }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }

  .news-card .thumb { height: 180px; }
  .news-card h2,
  .news-card h3 { font-size: 18px; }
  .news-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  .sidebar { grid-template-columns: 1fr; }
  .widget { padding: 16px; }
  .widget h2 { font-size: 16px; }
  .rank-list li { padding-left: 32px; }
  .rank-list li::before { width: 22px; height: 22px; font-size: 11px; }
  .category-list a { padding: 8px 10px; font-size: 12px; }
}

/* Weather sidebar card */
.weather-widget {
  overflow: hidden;
}

.weather-loading,
.weather-error {
  border-radius: var(--radius);
  background: #f7f9fc;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 14px;
  font-weight: 700;
}

.weather-error {
  background: #fff6f8;
  color: var(--red);
  border-color: #f4b7c1;
}

.weather-content {
  display: grid;
  gap: 14px;
}

.weather-content[hidden],
.weather-loading[hidden],
.weather-error[hidden],
.weather-current img[hidden],
.weather-icon-emoji[hidden],
.weather-api-icon[hidden] {
  display: none !important;
}

/* Professional icon navigation */
.main-header .main-nav {
  width: 100%;
  min-height: 44px;
  background: #082746;
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.main-header .nav-content {
  max-width: 1240px;
  min-height: 44px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-header .nav-content::-webkit-scrollbar {
  display: none;
}

.main-header .nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-header .nav-list li {
  display: flex;
}

.main-header .nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  position: relative;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.main-header .nav-item::after {
  display: none !important;
}

.main-header .nav-item:hover {
  background: rgba(255,255,255,.10);
  color: var(--white);
}

.main-header .nav-item.active {
  background: #123757;
  color: var(--white);
  border-bottom-color: #f97316;
}

.main-header .nav-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  color: #e5e7eb;
  line-height: 1;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .main-header .nav-content {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .main-header .main-nav {
    min-height: auto;
  }

  .main-header .main-nav.open {
    display: block;
  }

  .main-header .nav-content {
    min-height: auto;
    padding: 8px 20px;
    overflow-x: visible;
  }

  .main-header .nav-list {
    display: grid;
    width: 100%;
    min-height: auto;
  }

  .main-header .nav-list li {
    display: block;
  }

  .main-header .nav-item {
    justify-content: flex-start;
    min-height: 44px;
    width: 100%;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    border-left: 3px solid transparent;
  }

  .main-header .nav-item.active {
    border-bottom-color: rgba(255,255,255,.10);
    border-left-color: #f4a261;
  }
}

/* Commercial news layout polish */
body {
  background: #f3f6fa;
}

.main-container.container {
  max-width: 1200px;
  padding-bottom: 48px;
}

.main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.feed-col {
  min-width: 0;
}

.sidebar-col {
  min-width: 0;
  display: grid;
  gap: 22px;
  align-content: start;
}

.section-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.section-title {
  color: #082d52;
  font-size: 26px;
  letter-spacing: 0;
}

.section-link {
  color: #e63946;
}

.news-grid {
  display: grid;
  gap: 22px;
}

.news-grid .news-card,
.news-grid .news-card.news-card--featured {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: 196px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(8, 45, 82, .06);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.news-grid .news-card:hover {
  transform: translateY(-3px);
  border-color: #d6dde8;
  box-shadow: 0 16px 34px rgba(8, 45, 82, .10);
}

.news-grid .card-thumb {
  min-height: 168px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #082d52;
}

.news-grid .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.news-grid .news-card:hover .card-thumb img {
  transform: scale(1.035);
}

.news-grid .card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 4px 6px 4px 22px;
}

.news-grid .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}

.news-grid .meta-cat {
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: #e63946;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.news-grid .meta-date,
.news-grid .meta-views,
.news-grid .meta-sep {
  color: #64748b;
}

.news-grid .card-title {
  margin: 0 0 8px;
  color: #0b2545;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

.news-grid .card-title a {
  color: inherit;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.news-grid .card-summary {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.news-grid .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.news-grid .card-author {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.news-grid .author-avatar {
  width: 26px;
  height: 26px;
  background: #082d52;
  font-size: 12px;
}

.news-grid .card-read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #f3b0b7;
  background: #fff6f7;
  color: #e63946;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.news-grid .card-read-btn:hover {
  background: #e63946;
  border-color: #e63946;
  color: #fff;
}

.news-grid .card-cat-badge,
.news-grid .card-urgent-badge {
  border-radius: 999px;
  background: #e63946;
  box-shadow: 0 8px 16px rgba(230, 57, 70, .22);
}

.sidebar-col .widget {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(8, 45, 82, .06);
}

.sidebar-col .widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.sidebar-col .widget-accent {
  width: 5px;
  height: 28px;
  border-radius: 999px;
  background: #e63946;
}

.sidebar-col .widget-title {
  margin: 0;
  color: #082d52;
  font-size: 21px;
  font-weight: 900;
}

.sidebar-col .rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.sidebar-col .rank-list li::before {
  display: none !important;
  content: none !important;
}

.sidebar-col .rank-item {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 0 15px;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-col .rank-item + .rank-item {
  padding-top: 15px;
}

.sidebar-col .rank-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sidebar-col .rank-num,
.sidebar-col .rank-num.rank-top {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #082d52;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.sidebar-col .rank-body {
  min-width: 0;
}

.sidebar-col .rank-title {
  display: block;
  color: #0b2545;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
}

.sidebar-col .rank-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .main-container.container {
    width: min(100% - 24px, 1200px);
  }

  .news-grid .news-card,
  .news-grid .news-card.news-card--featured {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .news-grid .card-thumb {
    height: 210px;
    min-height: 210px;
  }

  .news-grid .card-body {
    padding: 16px 4px 4px;
  }

  .news-grid .card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-grid .card-title {
    font-size: 19px;
  }
}

/* Final layout override for news feed/sidebar */
.main-container.container {
  max-width: 1200px;
}

.main-container .main-layout {
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .main-container .main-layout {
    grid-template-columns: 1fr;
  }
}

/* Bus schedules */
.bus-page {
  max-width: 1200px;
  padding: 34px 0 52px;
}

.bus-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(8,45,82,.06);
}

.bus-kicker {
  color: #e63946;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.bus-hero h1 {
  margin: 6px 0;
  color: #082d52;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.bus-hero p {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.bus-search {
  display: flex;
  border: 1px solid #d7e0ec;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.bus-search input {
  border: 0;
  background: transparent;
  padding: 13px 14px;
}

.bus-search button {
  border: 0;
  background: #e63946;
  color: #fff;
  padding: 0 18px;
  font-weight: 900;
}

.bus-list {
  display: grid;
  gap: 18px;
}

.bus-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(8,45,82,.06);
}

.bus-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 14px;
}

.bus-card h2 {
  margin: 0 0 4px;
  color: #082d52;
  font-size: 24px;
}

.bus-card-header p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
}

.bus-status {
  border-radius: 999px;
  background: #e8f8ef;
  color: #146b37;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.bus-notes {
  margin-bottom: 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #64748b;
  padding: 11px 13px;
  font-weight: 700;
}

.bus-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bus-day-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fbfdff;
  padding: 14px;
}

.bus-day-card h3 {
  margin: 0 0 12px;
  color: #082d52;
  font-size: 17px;
}

.bus-direction {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.bus-direction:last-child {
  margin-bottom: 0;
}

.bus-direction strong {
  color: #0b2545;
  font-size: 13px;
}

.bus-direction em,
.bus-direction small {
  color: #64748b;
  font-size: 12px;
}

.bus-times {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bus-times span {
  border-radius: 999px;
  background: #082d52;
  color: #fff;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .bus-hero,
  .bus-schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .bus-page {
    width: min(100% - 24px, 1200px);
  }

  .bus-hero,
  .bus-card {
    padding: 18px;
  }

  .bus-search {
    flex-direction: column;
  }

  .bus-search button {
    padding: 12px;
  }

  .bus-card-header {
    flex-direction: column;
  }
}

.weather-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11,36,71,.96), rgba(25,55,109,.88)),
    var(--blue);
  color: var(--white);
  padding: 18px;
  box-shadow: inset 0 1px rgba(255,255,255,.18);
}

.weather-city {
  display: block;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.weather-current strong {
  display: block;
  margin: 4px 0;
  font-size: 44px;
  line-height: 1;
}

.weather-current small {
  display: block;
  color: rgba(255,255,255,.88);
  font-weight: 800;
}

.weather-current img,
.weather-api-icon {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.25));
}

.weather-icon-emoji {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  font-size: 54px;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.25));
}

.weather-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.weather-stats span {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--muted);
  padding: 10px;
  font-size: 12px;
  font-weight: 800;
}

.weather-stats strong {
  color: var(--blue);
  font-size: 15px;
}

.weather-forecast {
  display: grid;
  gap: 8px;
}

.weather-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 9px 10px;
}

.weather-day span {
  color: var(--blue);
  font-weight: 900;
  min-width: 0;
  overflow-wrap: anywhere;
}

.weather-day img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.weather-day strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
  text-align: right;
}

.weather-day .weather-day-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

.weather-footer {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.weather-footer strong {
  color: var(--blue);
}

/* Compatibility layer for the current public templates */
.main-header {
  position: relative;
  z-index: auto;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(7, 31, 63, .08);
}

.header-top-bar {
  background: #071f3f;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 700;
}

.top-bar-content,
.header-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-bar-content {
  min-height: 34px;
}

.admin-link {
  color: var(--white);
  font-weight: 900;
}

.header-main {
  background: var(--white);
}

.header-main-content {
  min-height: 90px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-icon {
  width: 52px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(11,36,71,.18);
}

.logo-name {
  display: block;
  color: #082d52;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-tagline {
  display: block;
  color: #e63946;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-search {
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(8, 45, 82, 0.04);
}

.header-search .search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.header-search i {
  color: #64748b;
  font-size: 14px;
}

.header-search input {
  width: 100%;
  height: 46px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #082d52;
  background: transparent;
}

.header-search button {
  height: 46px;
  padding: 0 18px;
  border: none;
  background: #e63946;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  border-radius: 0 11px 11px 0;
  transition: background 0.2s;
}

.header-search button:hover {
  background: #d62839;
}

.main-header .menu-toggle {
  display: none;
}

.main-header .main-nav {
  display: block;
  background: #08264e;
  color: var(--white);
}

.nav-content {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  display: block;
  position: relative;
  padding: 15px 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 9px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .18s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
}

.ticker-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: stretch;
  background: var(--red);
  color: var(--white);
  padding: 0 16px;
  min-height: 48px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 12px;
  white-space: nowrap;
  animation: breakingTicker 32s linear infinite;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.ticker-inner a,
.ticker-inner span {
  color: inherit;
}

.ticker-sep {
  color: var(--red);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  display: inline-block;
  animation: pulse 1.2s infinite;
}

.hero-section {
  padding: 30px 0 26px;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
}

.hero-carousel {
  min-height: 475px;
}

.slide-bg,
.slide-bg img,
.slide-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide-bg img {
  object-fit: cover;
}

.slide-gradient {
  background:
    linear-gradient(90deg, rgba(5,13,27,.76), rgba(5,13,27,.20) 58%, rgba(5,13,27,.08)),
    linear-gradient(to top, rgba(5,13,27,.88), rgba(5,13,27,.10) 70%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 475px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 30px;
  color: var(--white);
}

.slide-labels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cat-pill {
  background: rgba(8,38,78,.94);
  color: var(--white);
}

.urgent-pill {
  background: var(--red);
  color: var(--white);
}

.slide-title {
  max-width: 720px;
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 3px 18px rgba(0,0,0,.38);
}

.slide-summary {
  max-width: 640px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
}

.slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}

.slide-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 800;
}

.slide-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(215,38,61,.28);
}

.slide-btn:hover {
  background: var(--red-dark);
}

.hero-side {
  display: grid;
  gap: 16px;
}

.mini-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(11,36,71,.08);
  min-height: auto;
  padding: 0;
  display: block;
}

.mini-card::after {
  display: none;
}

.mini-card-img {
  position: relative;
  height: 132px;
  overflow: hidden;
}

.mini-card-img img {
  position: static;
  width: 100%;
  height: 100%;
}

.mini-cat {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-card-body {
  padding: 13px;
}

.mini-card-body h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.25;
}

.mini-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.main-container {
  padding-bottom: 42px;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

.feed-col,
.sidebar-col {
  min-width: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.section-title-wrap,
.widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-accent,
.widget-accent {
  width: 5px;
  height: 26px;
  border-radius: 999px;
  background: var(--red);
}

.section-title,
.widget-title {
  margin: 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.section-link {
  color: var(--red);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-grid {
  display: grid;
  gap: 18px;
}

.card-thumb {
  position: relative;
  min-height: 190px;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
}

.card-cat-badge,
.card-urgent-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-urgent-badge {
  top: 44px;
}

.card-meta,
.card-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.meta-cat,
.card-read-btn {
  color: var(--red);
  font-weight: 900;
}

.card-title {
  margin: 9px 0;
}

.card-summary {
  color: var(--muted);
}

.card-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.author-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
}

.sidebar-col {
  display: grid;
  gap: 18px;
  align-content: start;
}

.widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.widget-title {
  font-size: 20px;
}

.rank-item {
  display: flex;
  gap: 12px;
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.rank-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  flex: 0 0 auto;
}

.rank-top {
  background: var(--red);
}

.rank-title {
  display: block;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.rank-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}

.widget--ad,
.widget--newsletter {
  background: #f8fafc;
}

.ad-placeholder,
.newsletter-inner {
  text-align: center;
  color: var(--muted);
}

.newsletter-input {
  margin-bottom: 8px;
}

.newsletter-btn {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  padding: 11px;
  font-weight: 900;
}

.main-footer {
  background: var(--blue);
  color: rgba(255,255,255,.78);
  margin-top: 18px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  padding: 34px 0;
}

.footer-logo .logo-icon {
  background: var(--red);
}

.footer-logo .logo-name {
  color: var(--white);
}

.footer-heading {
  color: var(--white);
  margin: 0 0 12px;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list a {
  display: block;
  color: rgba(255,255,255,.78);
  margin-bottom: 7px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 14px 0;
}

.copyright {
  margin: 0;
}

@media (max-width: 980px) {
  .hero-wrapper,
  .main-layout {
    grid-template-columns: 1fr;
  }

  .hero-side,
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .header-main-content {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .header-search {
    order: 3;
    max-width: none;
    flex-basis: 100%;
    margin-top: 10px;
  }

  .main-header .menu-toggle {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }

  .main-header .menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--blue);
  }

  .main-header .main-nav {
    display: none;
  }

  .main-header .main-nav.open {
    display: block;
  }

  .nav-content {
    justify-content: flex-start;
  }

  .nav-list {
    display: grid;
    width: 100%;
    justify-content: stretch;
  }

  .nav-item {
    padding: 12px 0;
  }

  .ticker-label {
    min-height: 44px;
    padding: 0 10px;
  }

  .slide-content {
    min-height: 430px;
    padding: 22px;
  }

  .slide-title {
    font-size: 32px;
  }

  .hero-side,
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .slide-content {
    min-height: 330px;
  }

  .slide-title {
    font-size: 24px;
  }

  .slide-summary,
  .slide-meta {
    display: none;
  }
}

/* ==========================================================================
   MÓDULO DE ÔNIBUS (Horários e Itinerários)
   ========================================================================== */
.bus-page {
  padding-top: 30px;
  padding-bottom: 60px;
}

.bus-hero {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.bus-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bus-hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 42px);
  margin: 10px 0;
  font-weight: 900;
  line-height: 1.1;
}

.bus-kicker {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.bus-hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin: 0;
  max-width: 600px;
}

/* Controles de Busca e Filtros */
.bus-controls {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#bus-search-input {
  width: 100%;
  padding: 14px 20px;
  padding-right: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#bus-search-input:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(26, 74, 122, 0.15);
}

.search-clear {
  position: absolute;
  right: 14px;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  font-weight: bold;
}

.search-clear:hover {
  color: var(--red);
}

.filter-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: #f8fafc;
  color: var(--muted);
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
}

/* Grid de Cards */
.bus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.bus-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.bus-card-badge {
  margin-bottom: 12px;
}

.line-code-badge {
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.line-name {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--blue);
  margin: 0 0 16px;
  font-weight: 800;
  line-height: 1.2;
}

.line-route {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.route-point {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-point.origin {
  color: var(--blue-2);
}

.route-point.destination {
  color: var(--red-dark);
}

.route-arrow {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}

.line-meta {
  font-size: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-label {
  color: var(--muted);
  font-weight: 600;
}

.meta-value {
  color: var(--blue);
  font-weight: 700;
}

.bus-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-bus {
  border: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}

.btn-bus.btn-schedule {
  background: var(--blue);
  color: var(--white);
}

.btn-bus.btn-schedule:hover {
  background: var(--blue-2);
}

.btn-bus.btn-itinerary {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--line);
}

.btn-bus.btn-itinerary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-bus:active {
  transform: scale(0.97);
}

/* Modais de Detalhe */
.bus-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.bus-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.bus-modal {
  background: var(--white);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.bus-modal-overlay.active .bus-modal {
  transform: scale(1);
}

.bus-modal-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 1px;
  display: block;
}

.modal-title {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--blue);
  margin: 4px 0 0;
  font-weight: 900;
}

.modal-close-btn {
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0 4px;
}

.modal-close-btn:hover {
  color: var(--red);
}

.bus-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-direction-section {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius);
  padding: 20px;
}

.direction-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
  display: inline-block;
}

.schedule-tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.schedule-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-2);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.times-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.time-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.time-item:last-child {
  border-bottom: 0;
}

.time-tag {
  background: #eef2f6;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  border-left: 3px solid var(--red);
  display: inline-block;
}

.time-obs {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* Timeline do Itinerário */
.itinerary-section {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius);
  padding: 20px;
}

.itinerary-timeline {
  position: relative;
  padding-left: 20px;
  margin-left: 10px;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.timeline-step {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px #cbd5e1;
}

.timeline-dot.start {
  background: #10b981;
  box-shadow: 0 0 0 2px #10b981;
}

.timeline-dot.end {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-text {
  display: block;
}

/* Responsividade do ônibus */
@media (max-width: 768px) {
  .bus-hero {
    padding: 30px 24px;
  }
  
  .bus-controls {
    padding: 16px;
  }
  
  .filter-groups {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
  }
  
  .filter-buttons {
    width: 100%;
  }
  
  .filter-btn {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
  }
  
  .schedule-tables-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   ENRIQUECIMENTO DA HOME & FOOTER STYLES
   ========================================================================== */

/* 1. Bloco: Serviços Úteis */
.home-services-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-2);
  box-shadow: 0 12px 36px rgba(11, 36, 71, 0.15);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--blue);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.service-plantao-info {
  margin-top: 4px;
}

.service-plantao-info span {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.service-plantao-info strong {
  color: var(--red);
}

.service-plantao-info small {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}


/* 2. Bloco: Mais Notícias */
.home-more-news-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.more-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.compact-news-card {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.compact-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(11, 36, 71, 0.15);
  border-color: var(--line);
}

.compact-card-thumb {
  width: 120px;
  min-width: 120px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.compact-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.compact-news-card:hover .compact-card-thumb img {
  transform: scale(1.05);
}

.compact-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.compact-card-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.compact-card-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--blue);
}

.compact-card-title a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.compact-card-title a:hover {
  color: var(--red);
}

.compact-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.compact-card-link {
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.compact-card-link:hover {
  color: var(--red);
}


/* 3. Bloco: Categorias em Destaque */
.home-featured-categories {
  margin-top: 40px;
  margin-bottom: 40px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.category-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 24px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: var(--transition);
}

.category-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 12px 36px rgba(11, 36, 71, 0.15);
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--blue);
  margin-bottom: 12px;
  transition: var(--transition);
}

.category-card-item:hover .category-icon {
  background: var(--blue);
  color: var(--white);
}

.category-card-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.8rem;
  color: var(--muted);
}


/* 4. Bloco: Agenda da Cidade (Dinâmico) */
.home-agenda-section {
  margin-top: 45px;
  margin-bottom: 45px;
}

.agenda-head-with-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.agenda-filters {
  display: flex;
  gap: 4px;
  background: rgba(100, 116, 139, 0.08);
  padding: 4px;
  border-radius: 30px;
}

.agenda-filters .filter-btn {
  background: none;
  border: none;
  outline: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}

.agenda-filters .filter-btn:hover {
  color: var(--blue);
}

.agenda-filters .filter-btn.active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.25);
}

.agenda-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* Estilos base do card da agenda (sobrepostos pelo bloco de carrossel no fim do arquivo) */
.agenda-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: var(--transition);
  outline: none;
}
.agenda-card:focus { outline: none !important; }

.agenda-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  margin-right: 16px;
  font-weight: 700;
  min-width: 64px;
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.15);
}

.agenda-date-badge .agenda-day {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.agenda-date-badge .agenda-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  margin-top: 2px;
}

.agenda-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.agenda-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.agenda-tag-pill {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Cores de categorias dos eventos */
.agenda-tag-pill.tag-shows { background: #fee2e2; color: #b91c1c; }
.agenda-tag-pill.tag-esporte { background: #dbeafe; color: #1d4ed8; }
.agenda-tag-pill.tag-cultura { background: #fef3c7; color: #b45309; }
.agenda-tag-pill.tag-turismo { background: #dcfce7; color: #15803d; }
.agenda-tag-pill.tag-prefeitura { background: #f3e8ff; color: #6b21a8; }
.agenda-tag-pill.tag-comunidade { background: #e0f2fe; color: #0369a1; }

.agenda-tag-pill.tag-free { background: #f1f5f9; color: var(--muted); border: 1px solid var(--line); }
.agenda-tag-pill.tag-official { background: var(--blue); color: var(--white); }

.agenda-info h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 6px 0;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.agenda-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.agenda-location svg {
  flex-shrink: 0;
  color: var(--muted);
}

.location-sep {
  color: var(--line);
  margin: 0 2px;
}

.agenda-action-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--red);
  color: var(--red);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.agenda-action-btn:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
}

.agenda-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

.agenda-empty-state h3 {
  font-size: 1.15rem;
  color: var(--blue);
  margin: 0 0 4px 0;
}

.agenda-empty-state p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Modal de Eventos */
.event-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.event-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.event-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.event-modal-overlay.active .event-modal-content {
  transform: translateY(0);
}

.event-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  color: var(--blue);
  font-size: 1.8rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.15);
  transition: var(--transition);
}

.event-modal-close:hover {
  background: var(--red);
  color: var(--white);
}

.event-modal-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--soft);
}

.event-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-modal-body {
  padding: 24px;
}

.event-modal-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.event-modal-title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.event-modal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
  margin-bottom: 20px;
}

.event-modal-meta .meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
}

.event-modal-meta .meta-item svg {
  color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
}

.event-modal-meta .meta-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.event-modal-meta .meta-item span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}

.event-modal-desc-wrap h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.event-modal-description {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.event-modal-description p {
  margin: 0 0 12px 0;
}

.event-modal-description p:last-child {
  margin-bottom: 0;
}

.event-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  flex-grow: 1;
}

.modal-btn.map-btn {
  background: var(--blue);
  color: var(--white);
}

.modal-btn.map-btn:hover {
  background: var(--blue-2);
}

.modal-btn.share-btn {
  background: #25D366;
  color: var(--white);
}

.modal-btn.share-btn:hover {
  background: #20ba59;
}

@media (max-width: 576px) {
  .agenda-head-with-filters {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .agenda-filters {
    width: 100%;
    justify-content: space-between;
  }
  
  .agenda-filters .filter-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    flex-grow: 1;
    text-align: center;
  }

  .agenda-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .agenda-action-btn {
    align-self: stretch;
    text-align: center;
  }
}


/* 5. Bloco: Publicidade Horizontal */
.home-horizontal-ad {
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.horizontal-ad-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  padding: 30px 40px;
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow);
}

.ad-banner-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.horizontal-ad-banner h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

.horizontal-ad-banner p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.85;
}

.ad-banner-btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
  white-space: nowrap;
}

.ad-banner-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}


/* 6. Sidebar Widgets Adicionais */
.widget--links-rapidos .quick-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-links-list li a {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 10px 14px;
  background: var(--soft);
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.quick-links-list li a:hover {
  background: var(--white);
  border-color: var(--line);
  color: var(--red);
  transform: translateX(4px);
}

.widget--ultimas-noticias .compact-manchetes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compact-manchetes-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.compact-manchetes-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.compact-manchetes-list li a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.4;
  transition: var(--transition);
}

.compact-manchetes-list li a:hover {
  color: var(--red);
}

.compact-manchetes-list li span {
  font-size: 0.75rem;
  color: var(--muted);
}

.widget--telefones-uteis .phones-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phones-list li {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  background: var(--soft);
  border-radius: 8px;
  border-left: 3px solid var(--red);
}

.phones-list li strong {
  font-size: 0.85rem;
  color: var(--blue);
  margin-bottom: 2px;
}

.phones-list li span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}


/* 7. Melhorias no Rodapé */
.main-footer {
  background: var(--blue);
  color: var(--white);
  padding: 60px 0 0;
  border-top: 4px solid var(--red);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  margin-bottom: 4px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
  align-self: flex-start;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.footer-whatsapp-btn:hover {
  background: #20ba59;
  transform: translateY(-2px);
  color: var(--white);
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--red);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li a {
  color: var(--white);
  opacity: 0.75;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-list li a:hover {
  opacity: 1;
  color: var(--red);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  margin-top: 20px;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.copyright {
  margin: 0;
}

.hiden-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.hiden-contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hiden-contact-line a:hover {
  color: var(--c-accent2);
}

.hiden-contact-line i {
  font-size: 0.78rem;
}


/* ==========================================================================
   RESPONSIVIDADE DAS NOVAS SEÇÕES
   ========================================================================== */

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .horizontal-ad-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px;
  }

  .ad-banner-btn {
    align-self: center;
    width: 100%;
    text-align: center;
  }

  .more-news-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BARRA SUPERIOR TICKER STYLES (Font Awesome)
   ========================================================================== */

.top-bar {
  width: 100%;
  height: 30px;
  background: #082d52;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
}

.top-bar .container {
  max-width: 1200px;
  height: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.datetime {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.datetime i {
  color: #f97316;
}

.breaking {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.breaking .tag {
  background: #e63946;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ticker {
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  padding-left: 100%;
  animation: tickerMove 28s linear infinite;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.ticker-sep {
  margin: 0 10px;
  color: var(--red);
}

.social-top {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.social-top a {
  color: #e5e7eb;
  font-size: 13px;
  transition: 0.2s;
  text-decoration: none;
}

.social-top a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.top-bar-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
}

.admin-link-top {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 13px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-link-top:hover {
  color: #e63946;
}

@media (max-width: 768px) {
  .top-bar .container {
    padding: 0 12px;
    gap: 10px;
  }

  .social-top {
    display: none;
  }

  .datetime {
    font-size: 12px;
  }

  .breaking .tag {
    font-size: 11px;
    padding: 3px 8px;
  }
}

/* ==========================================
   EVENT DETAIL PAGE & SIDEBAR EVENT WIDGETS
   ========================================== */
.event-info-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}
.event-info-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--blue);
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--line);
  padding-bottom: 10px;
  gap: 8px;
}
.event-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.event-info-item i {
  font-size: 18px;
  color: var(--red);
  margin-top: 3px;
  width: 20px;
  text-align: center;
}
.event-info-item div {
  display: flex;
  flex-direction: column;
}
.event-info-item strong {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.event-info-item span {
  font-size: 15px;
  color: var(--blue);
  font-weight: 600;
}
.event-info-item .badge-free {
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  width: max-content;
}
.event-info-item .badge-official {
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  width: max-content;
}
.event-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.btn-event {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-event:hover {
  transform: translateY(-1px);
}
.btn-maps {
  background: #0f172a;
  color: var(--white);
}
.btn-maps:hover {
  background: #1e293b;
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #22c35e;
}
.event-description {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: #334155;
}
.event-description h3 {
  font-size: 20px;
  color: var(--blue);
  margin-top: 0;
  margin-bottom: 14px;
}
.back-to-agenda-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.back-to-agenda-link:hover {
  color: var(--red);
}

/* Sidebar Event Widget Styles */
.compact-events-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.compact-event-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.compact-event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.compact-event-item:first-child {
  padding-top: 0;
}
.event-date-small {
  flex: 0 0 45px;
  height: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}
.event-date-small .day {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.event-date-small .month {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
}
.event-body-small {
  flex: 1;
  min-width: 0;
}
.event-title-small {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-title-small:hover {
  color: var(--red);
}
.event-meta-small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.event-meta-small i {
  color: var(--red);
}

/* Logo Image Styling */
.site-logo-img {
  max-height: 68px;
  width: auto;
  display: block;
}

.footer-logo .site-logo-img {
  max-height: 76px;
}


/* ═══════════════════════════════════════════════════════
   AGENDA DA CIDADE — CARROSSEL (HOME) — VERSÃO CORRIGIDA
═══════════════════════════════════════════════════════ */

.agenda-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.agenda-ver-mais-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--blue);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.agenda-ver-mais-btn:hover {
  background: var(--blue-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,37,64,.2);
}

.agenda-mobile-more {
  display: none;
  justify-content: center;
  margin-top: 20px;
}

/* ─── Wrapper externo: só para posicionar as setas ─── */
.agenda-carousel-wrapper {
  position: relative;
  /* Deixa espaço lateral para as setas que vão "para fora" do viewport */
  padding: 0 28px;
}

/* ─── Viewport: overflow hidden, sem flex ─── */
.agenda-carousel-viewport {
  overflow: hidden;
  border-radius: 0;
}

/* ─── Track: flex com gap ─── */
.agenda-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .35s ease;
  will-change: transform;
}

/* ─── Cada slide: largura calculada via JS ─── */
.agenda-carousel-slide {
  flex-shrink: 0;
  /* largura definida dinamicamente via JS */
}

/* ─── Card ─── */
.agenda-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  min-height: 160px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(10,37,64,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  outline: none !important;
}
.agenda-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10,37,64,.10);
  border-color: var(--blue-2);
}
.agenda-card:focus,
.agenda-card:focus-within,
.agenda-card:focus-visible {
  outline: none !important;
  box-shadow: 0 4px 20px rgba(10,37,64,.06);
}

/* ─── Badge de data ─── */
.agenda-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(10,37,64,.18);
}
.agenda-date-badge .agenda-day {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}
.agenda-date-badge .agenda-month {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  opacity: .88;
  margin-top: 3px;
}

/* ─── Bloco de informações ─── */
.agenda-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}
.agenda-info .agenda-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 4px;
}

/* Título do card no carrossel */
.agenda-card-title {
  font-size: .98rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Local e horário */
.agenda-card-location,
.agenda-card-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agenda-card-location svg,
.agenda-card-time svg {
  flex-shrink: 0;
  color: var(--blue-2);
}

/* ─── Botão "Ver detalhes" dentro do card ─── */
.agenda-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  align-self: center;
}
.agenda-card-btn:hover {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(10,37,64,.15);
}

/* ─── Setas (absolutas dentro do wrapper) ─── */
.agenda-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(10,37,64,.10);
  transition: var(--transition);
}
.agenda-carousel-prev { left: -6px; }
.agenda-carousel-next { right: -6px; }
.agenda-carousel-arrow:hover:not(:disabled) {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(10,37,64,.20);
}
.agenda-carousel-arrow:disabled { cursor: default; }
.agenda-carousel-arrow:focus { outline: none; }

/* ─── Responsivo ─── */
@media (max-width: 1023px) {
  .agenda-ver-mais-btn { display: none; }
  .agenda-mobile-more { display: flex; }
  .agenda-carousel-wrapper { padding: 0 24px; }
}
@media (max-width: 639px) {
  .agenda-carousel-wrapper { padding: 0 20px; }
  .agenda-card {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }
  .agenda-card-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
  }
  .agenda-date-badge { width: 64px; height: 64px; min-width: 64px; }
  .agenda-date-badge .agenda-day { font-size: 1.3rem; }
  .agenda-head-with-filters { flex-direction: column; align-items: flex-start; }
}



/* ═══════════════════════════════════════════════════════
   PÁGINA /AGENDA — HERO CABEÇALHO
═══════════════════════════════════════════════════════ */

.agenda-page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 40px 0 32px;
}
.agenda-page-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.agenda-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
}
.agenda-page-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.agenda-page-breadcrumb a:hover { color: #fff; }
.agenda-page-breadcrumb svg { opacity: .5; }
.agenda-page-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.1;
  letter-spacing: -.5px;
}
.agenda-page-subtitle {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  margin: 0;
}
.agenda-page-stats {
  background: rgba(255,255,255,.12);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: .88rem;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.agenda-page-stats strong { color: #fff; font-size: 1.1rem; }

/* ═══ BARRA DE FILTROS DA PÁGINA ═══ */
.agenda-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(10,37,64,.06);
}
.agenda-search-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agenda-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.agenda-search-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
.agenda-search-input {
  width: 100%;
  padding: 11px 44px;
  border: 1.5px solid var(--line);
  border-radius: 30px;
  font-size: .92rem;
  color: var(--ink);
  background: var(--soft);
  outline: none;
  transition: var(--transition);
}
.agenda-search-input:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,37,64,.08);
}
.agenda-search-clear {
  position: absolute;
  right: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color .2s;
}
.agenda-search-clear:hover { color: var(--red); }
.agenda-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.agenda-filter-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.agenda-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.agenda-filter-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.agenda-filter-pill:hover,
.agenda-filter-pill.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(10,37,64,.15);
}
.agenda-filter-pill.tag-cultura.active { background: #b45309; border-color: #b45309; }
.agenda-filter-pill.tag-esporte.active { background: #1d4ed8; border-color: #1d4ed8; }
.agenda-filter-pill.tag-turismo.active { background: #15803d; border-color: #15803d; }
.agenda-filter-pill.tag-prefeitura.active { background: #6b21a8; border-color: #6b21a8; }
.agenda-filter-pill.tag-comunidade.active { background: #0369a1; border-color: #0369a1; }
.agenda-filter-pill.tag-gastronomia.active { background: #c2410c; border-color: #c2410c; }
.agenda-filter-pill.tag-religiao.active { background: #064e3b; border-color: #064e3b; }

/* ═══ BODY DA PÁGINA DE AGENDA ═══ */
.agenda-page-body {
  padding-top: 32px;
  padding-bottom: 48px;
}

.agenda-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) { .agenda-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .agenda-page-grid { grid-template-columns: 1fr; } }

/* Card da página /agenda */
.agenda-page-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(10,37,64,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.agenda-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,37,64,.12);
  border-color: var(--blue-2);
}
.agenda-today-card { border-color: var(--red); box-shadow: 0 2px 12px rgba(230,57,70,.12); }
.agenda-featured-card { border-color: #b45309; }
.agenda-today-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--red);
  color: var(--white);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}
.agenda-page-card-img-wrap {
  display: block;
  height: 180px;
  overflow: hidden;
}
.agenda-page-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.agenda-page-card:hover .agenda-page-card-img { transform: scale(1.04); }

.agenda-page-card-body {
  display: flex;
  gap: 14px;
  padding: 18px;
  flex: 1;
}
.agenda-page-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-weight: 700;
  align-self: flex-start;
  box-shadow: 0 3px 8px rgba(10,37,64,.15);
}
.agenda-page-date-badge .agenda-day { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.agenda-page-date-badge .agenda-month { font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; opacity: .85; margin-top: 2px; }
.agenda-today-card .agenda-page-date-badge { background: var(--red); }

.agenda-page-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.agenda-page-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 6px 0 8px;
  line-height: 1.3;
}
.agenda-page-card-title a { color: inherit; text-decoration: none; }
.agenda-page-card-title a:hover { color: var(--red); }
.agenda-page-card-summary {
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.agenda-page-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.agenda-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--muted);
}
.agenda-meta-item svg { flex-shrink: 0; color: var(--blue-2); }
.agenda-page-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition);
  align-self: flex-start;
  margin-top: auto;
}
.agenda-page-card-btn:hover {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(10,37,64,.15);
}

/* Estado vazio */
.agenda-page-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.agenda-page-empty svg { opacity: .4; margin-bottom: 16px; }
.agenda-page-empty h2 { font-size: 1.3rem; color: var(--blue); margin: 0 0 8px; }
.agenda-page-empty p { font-size: .92rem; margin: 0; }

/* Seção de eventos anteriores */
.agenda-past-section {
  margin-top: 48px;
  border-top: 2px solid var(--line);
  padding-top: 32px;
}
.agenda-past-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
}
.agenda-past-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}
.agenda-past-list { display: flex; flex-direction: column; gap: 8px; }
.agenda-past-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  opacity: .75;
}
.agenda-past-item:hover { opacity: 1; border-color: var(--blue); transform: translateX(3px); }
.agenda-past-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  min-width: 40px;
  font-weight: 700;
  color: var(--muted);
}
.agenda-past-date span:first-child { font-size: 1.15rem; line-height: 1; }
.agenda-past-date span:last-child { font-size: .65rem; text-transform: uppercase; letter-spacing: .5px; }
.agenda-past-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.agenda-past-info strong { font-size: .92rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda-past-info small { font-size: .78rem; color: var(--muted); }
.agenda-past-item > svg { color: var(--muted); flex-shrink: 0; }

/* Tags de categoria extras */
.agenda-tag-pill.tag-gastronomia { background: #ffedd5; color: #c2410c; }
.agenda-tag-pill.tag-religiao { background: #d1fae5; color: #064e3b; }
.agenda-tag-pill.tag-saude { background: #fce7f3; color: #9d174d; }
.agenda-tag-pill.tag-educacao { background: #e0e7ff; color: #3730a3; }
.agenda-tag-pill.tag-outro { background: #f1f5f9; color: var(--muted); }

@media (max-width: 767px) {
  .agenda-page-title { font-size: 1.5rem; }
  .agenda-page-hero { padding: 28px 0 22px; }
  .agenda-filter-bar { position: static; }
}

/* Nova exibição de data e visualizações unificada */
.news-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-meta .date {
  color: #475569;
}

.news-meta .views {
  color: #082d52;
  font-weight: 700;
}

.news-meta i {
  color: #64748b;
  font-style: normal;
}

.news-meta a {
  text-decoration: none;
  transition: var(--transition);
}

.news-meta a:hover {
  color: var(--red-dark) !important;
}


