/* Complementa o visual do Pedro (assets/css/home.css) com o que o motor de matérias precisa. */

a.hero, a.news-card { display: block; text-decoration: none; color: inherit; }
a.see-more { text-decoration: none; }
a.hero { color: white; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.thumb { overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .tag { z-index: 1; }
/* contraste mínimo para texto pequeno (acessibilidade) */
.tag { background: #d10f0f !important; }
.see-more { color: #c40d0d !important; }
.news-body time { color: #595959; }
.hero:before { z-index: 1; }
.hero-content { z-index: 2; }

/* Destaques da capa: título embaixo, longe do rosto da foto; vários destaques passando */
.hero-carrossel { position: relative; min-height: 455px; border-radius: 14px; overflow: hidden; background: #050505; }
.hero-carrossel .hero-slide { position: absolute; inset: 0; min-height: 0; border-radius: 0; opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility .6s; }
.hero-carrossel .hero-slide.ativo { opacity: 1; visibility: visible; }
.hero-carrossel .hero:before {
  background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.72) 32%, rgba(0,0,0,.18) 62%, rgba(0,0,0,0) 80%),
              linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
}
.hero-carrossel .hero-content { position: absolute; left: 0; bottom: 0; top: 0; height: auto; justify-content: flex-end;
  max-width: 640px; padding: 38px 38px 34px; box-sizing: border-box; }
.hero-carrossel .hero-content .tag { margin-bottom: 14px; }
.hero-carrossel h1, .hero-carrossel .hero-titulo { font-size: 44px; }
.hero-titulo { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; line-height: .98; text-transform: uppercase; margin: 0; letter-spacing: .2px; }
.hero-carrossel p { margin-top: 12px; font-size: 16px; }
.hero-carrossel .button { margin-top: 18px; }
.hero-controles { position: absolute; z-index: 3; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-seta { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; }
.hero-seta:hover { background: #ff2b2b; }
.hero-pontos { display: flex; gap: 7px; }
.hero-pontos { gap: 0; }
/* área de toque de 24 px (dedo), bolinha pequena por dentro */
.hero-pontos button { width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-pontos button::before { content: ""; width: 9px; height: 9px; border-radius: 6px; background: rgba(255,255,255,.5); transition: width .3s; }
.hero-pontos button.ativo::before { background: #ff2b2b; width: 22px; }
.hero-pontos button.ativo { width: 34px; }
@media (max-width: 760px) {
  .hero-carrossel { min-height: 340px; }
  .hero-carrossel .hero-content { padding: 18px 18px 34px; }
  .hero-carrossel h1, .hero-carrossel .hero-titulo { font-size: 28px; }
  .hero-carrossel p { font-size: 14px; }
  .hero-carrossel { margin-bottom: 12px; }
  .hero-seta { display: none; }
  .hero-controles { right: auto; left: 18px; bottom: 12px; }
}

.icons a { color: white; text-decoration: none; font-size: 12px; text-transform: uppercase; }
.icons a:hover { color: #ff2b2b; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a, .footer-contact, .footer-social a { color: inherit; text-decoration: none; }
.footer-legal a:hover, .footer-contact:hover { color: #ff2b2b; }
.link-class-full { display: inline-block; margin-top: 10px; color: #ff2b2b; font-size: 12px; font-weight: 900; text-transform: uppercase; text-decoration: none; }

/* cartões sem foto */
.sem-foto {
  background: #050505; display: grid; place-items: center;
  font-family: Impact, Haettenschweiler, sans-serif; font-style: italic; color: #ff2b2b; font-size: 34px;
}
.news-body time { color: #999; font-size: 12px; display: block; margin-top: 10px; }
.vazio { background: white; border-radius: 12px; padding: 28px; color: #666; }
.paginas { display: flex; justify-content: space-between; margin-top: 20px; }

/* ---------- matéria ---------- */
.materia { max-width: 760px; margin: 0 auto 40px; background: white; border-radius: 14px; padding: 34px; }
.materia h1 {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 44px; line-height: 1; text-transform: uppercase; margin: 0;
}
.linha-fina { font-size: 20px; line-height: 1.4; color: #444; margin: 16px 0 0; }
.assinatura { color: #777; font-size: 14px; margin: 18px 0 24px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.assinatura b { color: #0b0b0b; }
.foto { margin: 0 0 24px; }
.foto img { width: 100%; border-radius: 10px; display: block; }
.foto figcaption { color: #888; font-size: 12px; margin-top: 6px; }
.texto { font-size: 18px; line-height: 1.65; }
.texto h2 { font-family: Impact, Haettenschweiler, sans-serif; text-transform: uppercase; font-size: 26px; margin: 32px 0 8px; }
.texto a { color: #c41d1d; }
.texto blockquote { border-left: 4px solid #ff2b2b; margin: 22px 0; padding: 4px 0 4px 18px; color: #333; font-style: italic; }
.texto img { max-width: 100%; border-radius: 10px; }
.embed { margin: 26px auto; max-width: 540px; display: flex; justify-content: center; }
.embed blockquote { font-style: normal; border: 1px solid #eee; border-radius: 10px; padding: 14px 18px; margin: 0; width: 100%; }
.embed blockquote a { font-weight: 700; }

/* ---------- páginas institucionais ---------- */
.institucional { max-width: 760px; margin: 0 auto 40px; background: white; border-radius: 14px; padding: 34px; font-size: 17px; line-height: 1.6; }
.institucional h1 { font-family: Impact, Haettenschweiler, sans-serif; text-transform: uppercase; font-size: 40px; margin: 0 0 18px; }
.institucional a { color: #c41d1d; }

/* ---------- em construção ---------- */
.construcao {
  margin: 0; min-height: 100vh; display: flex; justify-content: center; align-items: center;
  background: white; font-family: Arial, sans-serif; text-align: center; padding: 20px;
}
.construcao h1 { font-size: 56px; margin-bottom: 18px; }
.construcao p { font-size: 22px; color: #666; margin-bottom: 30px; }
.construcao img { width: 260px; image-rendering: pixelated; }

@media (max-width: 900px) {
  .footer-legal { display: flex; gap: 14px; }
  .sem-foto { font-size: 22px; }
  .materia, .institucional { border-radius: 0; padding: 20px 16px; }
  .materia h1 { font-size: 32px; }
  .linha-fina { font-size: 17px; }
  .texto { font-size: 17px; }
  .vazio, .paginas { margin-left: 12px; margin-right: 12px; }
  .construcao h1 { font-size: 36px; }
}

@media (max-width: 900px) {
  a.news-card { display: grid; grid-template-columns: 110px 1fr; }
}

/* ---------- vitrine das redes na capa ---------- */
.vitrine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.vitrine-caixa { background: #050505; color: white; border-radius: 14px; padding: 18px; overflow: hidden; }
.vitrine-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.vitrine-topo b { font-family: Impact, Haettenschweiler, sans-serif; text-transform: uppercase; font-size: 20px; letter-spacing: .3px; }
.vitrine-topo a { color: #ff2b2b; font-size: 12px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.vitrine-janela { overflow: hidden; border-radius: 10px; display: none; position: relative; }
.vitrine-seta { position: absolute; top: 0; bottom: 60px; margin: auto 0; height: 44px; width: 44px; border-radius: 50%;
  border: 0; background: rgba(5,5,5,.75); color: white; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.vitrine-seta:hover { background: #ff2b2b; }
.vitrine-seta-anterior { left: 10px; }
.vitrine-seta-proximo { right: 10px; }
.vitrine-caixa.com-posts .vitrine-janela { display: block; }
.vitrine-caixa.com-posts .vitrine-convite { display: none; }
.vitrine-trilho { display: flex; transition: transform .5s ease; }
.vitrine-item { flex: 0 0 100%; color: white; text-decoration: none; display: block; }
.vitrine-foto { display: block; aspect-ratio: 4 / 5; max-height: 420px; width: 100%; background: #1a1a1a; border-radius: 10px; position: relative; overflow: hidden; }
.vitrine-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vitrine-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.9); color: #ff2b2b; display: grid; place-items: center; font-size: 20px; }
.vitrine-legenda { display: block; font-size: 14px; line-height: 1.4; color: #d6d6d6; margin-top: 10px; min-height: 40px; }
.vitrine-pontos { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.vitrine-pontos button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #555; cursor: pointer; }
.vitrine-pontos button.ativo { background: #ff2b2b; }
.vitrine-convite { color: #bdbdbd; font-size: 15px; line-height: 1.5; padding: 30px 0; }
.vitrine-convite a { display: inline-block; margin-top: 12px; border: 2px solid #ff2b2b; color: white; border-radius: 10px; padding: 10px 14px; font-size: 12px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
@media (max-width: 900px) {
  .vitrine-grid { grid-template-columns: 1fr; }
}
