/*
Theme Name: Antares
Description: Tema de filmes e séries. Ícones em SVG embutido, sem jQuery e sem bibliotecas de carrossel.
Author: The Pirate Filmes
Version: 1.10
Requires at least: 5.5
Requires PHP: 7.4
Text Domain: antares
*/

/* ==========================================================================
   VARIAVEIS

   Vermelho-escuro sobre quase preto, herdado do tema de origem. Ele
   carregava jQuery, Owl Carousel, a fonte de icones Fontello (cinco
   arquivos) e o Font Awesome do CDN — este ultimo enfileirado dentro dos
   templates, repetido em dois deles. Aqui os icones sao SVG embutido.
   ========================================================================== */

:root {
  --ant-bg:        #101014;
  --ant-surf:      #17171c;
  --ant-surf-2:    #1f1f26;
  --ant-topo:      #121216;
  --ant-borda:     #2a2a33;
  --ant-borda-2:   #3a3a45;

  --ant-txt:       #ffffff;
  --ant-txt-2:     #9a9aa8;

  --ant-marca:     #c9182b;
  --ant-marca-2:   #8e1108;
  --ant-marca-txt: #ffffff;
  --ant-imdb:      #f5c518;

  --ant-larg:      1320px;
  --ant-raio:      8px;
  --ant-topo-h:    64px;
}

* { box-sizing: border-box; }

/* ---- barra de rolagem ----
   A padrao do Windows e uma faixa clara que corta o tema escuro ao meio.
   O Firefox le scrollbar-width/color, o resto usa ::-webkit-scrollbar, e
   cada navegador ignora a declaracao que nao conhece. */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--ant-borda-2) var(--ant-bg);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ant-bg); }

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--ant-borda-2);
  /* borda na cor do fundo afina o puxador sem estreitar a area de clique */
  border: 2px solid var(--ant-bg);
}

::-webkit-scrollbar-thumb:hover { background: var(--ant-marca); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ant-bg);
  color: var(--ant-txt);
  font: 400 15px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }

.ant-wrap {
  width: 100%;
  max-width: var(--ant-larg);
  margin: 0 auto;
  padding: 0 16px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.ant-pular {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ant-marca);
  color: #fff;
}

.ant-pular:focus { left: 12px; top: 12px; }

#conteudo { display: block; padding-bottom: 40px; }


/* ==========================================================================
   CABECALHO
   ========================================================================== */

.ant-topo {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ant-topo);
  border-bottom: 2px solid var(--ant-marca);
}

/* a barra do admin empurra o topo pregado para baixo */
.admin-bar .ant-topo { top: 32px; }
@media (max-width: 782px) { .admin-bar .ant-topo { top: 46px; } }

.ant-barra {
  display: grid;
  /* laterais iguais: o menu fica no centro real da barra, e abrir a busca
     nao empurra ele para o lado */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  height: var(--ant-topo-h);
}

.ant-esq {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  justify-self: start;
}

.ant-barra > .ant-nav { justify-self: center; }
.ant-barra > .ant-busca { justify-self: end; }

.ant-logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.4px;
  white-space: nowrap;
}

.ant-logo b { color: var(--ant-marca); font-weight: 800; }
.ant-logo img { max-height: 42px; width: auto; }

.ant-nav { min-width: 0; }

.ant-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ant-menu > li { position: relative; }

.ant-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ant-txt-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.ant-menu > li > a:hover { color: var(--ant-txt); border-color: var(--ant-borda-2); }

/* Secao aberta marcada por um filete embaixo, e nao por preenchimento: a
   barra ja tem a faixa vermelha na base, e um bloco cheio brigaria com
   ela. As quatro classes cobrem o que o WordPress marca, incluindo o
   current-post-ancestor — sem ele o menu apagaria dentro do filme. */
.ant-menu > li.current-menu-item > a,
.ant-menu > li.current-menu-parent > a,
.ant-menu > li.current-menu-ancestor > a,
.ant-menu > li.current-post-ancestor > a {
  color: var(--ant-txt);
  border-color: var(--ant-marca);
}

.ant-menu .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--ant-borda);
  border-radius: var(--ant-raio);
  background: var(--ant-surf);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .6);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .18s ease;
}

.ant-menu > li:hover .sub-menu,
.ant-menu > li:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }

.ant-menu .sub-menu a {
  display: block;
  padding: 8px 11px;
  border-radius: 5px;
  font-size: 13.5px;
  color: var(--ant-txt-2);
}

.ant-menu .sub-menu a:hover { background: var(--ant-marca); color: #fff; }

.ant-busca {
  display: flex;
  align-items: center;
  width: 240px;
  max-width: 38vw;
  border: 1px solid var(--ant-borda-2);
  border-radius: 4px;
  background: var(--ant-surf);
  overflow: hidden;
}

.ant-busca:focus-within { border-color: var(--ant-marca); }

.ant-busca input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--ant-txt);
  font-size: 13.5px;
  outline: none;
}

.ant-busca input::placeholder { color: #6a6a78; }

.ant-busca button {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 0;
  background: var(--ant-marca);
  color: #fff;
  cursor: pointer;
}

.ant-busca button:hover { background: var(--ant-marca-2); }

.ant-hamb {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--ant-borda-2);
  border-radius: 4px;
  background: transparent;
  color: var(--ant-txt);
  cursor: pointer;
}


/* ==========================================================================
   FAIXA DE GENEROS
   ========================================================================== */

.ant-generos {
  background: var(--ant-surf);
  border-bottom: 1px solid var(--ant-borda);
}

.ant-generos-caixa {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
}

.ant-generos-rotulo {
  flex: 0 0 auto;
  padding-right: 12px;
  border-right: 1px solid var(--ant-borda-2);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ant-marca);
}

.ant-gen-trilho {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scroll-behavior: smooth;
  /* a barra entre os itens suja a faixa; o toque e as setas continuam */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ant-gen-trilho::-webkit-scrollbar { display: none; }

.ant-gen-trilho a {
  flex: 0 0 auto;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ant-txt-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.ant-gen-trilho a:hover { color: var(--ant-txt); }
.ant-gen-trilho a.ativo { color: var(--ant-marca); border-color: var(--ant-marca); }

.ant-gen-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: 0;
  border-radius: 4px;
  background: var(--ant-marca);
  color: #fff;
  cursor: pointer;
}

.ant-gen-seta.esq { left: 84px; }
.ant-gen-seta.dir { right: 8px; }
.ant-gen-seta:disabled { opacity: 0; pointer-events: none; }


/* ==========================================================================
   GAVETA
   ========================================================================== */

.ant-sombra {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .7);
  opacity: 0;
  transition: opacity .26s ease;
}

.ant-sombra.visivel { opacity: 1; }

.ant-gaveta {
  position: fixed;
  top: 0; left: 0;
  z-index: 90;
  width: min(300px, 84vw);
  height: 100%;
  padding: 16px;
  background: var(--ant-surf);
  border-right: 2px solid var(--ant-marca);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .26s ease;
  scrollbar-color: var(--ant-borda-2) var(--ant-surf);
}

.ant-gaveta::-webkit-scrollbar-track { background: var(--ant-surf); }
.ant-gaveta::-webkit-scrollbar-thumb { border-color: var(--ant-surf); }

.ant-gaveta.aberta { transform: translateX(0); }
body.ant-travado { overflow: hidden; }

.ant-gaveta-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ant-borda);
}

.ant-fechar {
  width: 32px; height: 32px;
  border: 1px solid var(--ant-borda-2);
  border-radius: 4px;
  background: transparent;
  color: var(--ant-txt);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.ant-fechar:hover { border-color: var(--ant-marca); color: var(--ant-marca); }

.ant-menu-mobile,
.ant-menu-mobile .sub-menu { margin: 0; padding: 0; list-style: none; }

.ant-menu-mobile a {
  display: block;
  padding: 11px 10px;
  border-left: 2px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ant-txt-2);
}

.ant-menu-mobile a:hover { background: var(--ant-surf-2); color: var(--ant-txt); }
.ant-menu-mobile .sub-menu a { padding-left: 24px; font-size: 13.5px; font-weight: 500; }

.ant-menu-mobile > li.current-menu-item > a,
.ant-menu-mobile > li.current-post-ancestor > a {
  border-color: var(--ant-marca);
  color: var(--ant-txt);
}


/* ==========================================================================
   TITULOS DE SECAO
   ========================================================================== */

.ant-secao {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ant-borda);
}

.ant-secao h1,
.ant-secao h2 {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.ant-secao svg { color: var(--ant-marca); }

.ant-vermais {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--ant-marca);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.ant-vermais:hover { background: var(--ant-marca-2); color: #fff; }

.ant-descricao { margin: -4px 0 16px; color: var(--ant-txt-2); }
.ant-vazio { padding: 40px 0; text-align: center; color: var(--ant-txt-2); }


/* ==========================================================================
   CARTAO

   Capa com a nota no alto e a resolucao numa fita presa na base; o titulo
   e as infos ficam num bloco separado, embaixo.
   ========================================================================== */

.ant-card { display: flex; flex-direction: column; }

.ant-card-capa {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ant-surf);
  line-height: 0;
}

.ant-card-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ant-card:hover .ant-card-capa img { transform: scale(1.06); }

/* nota num circulo no alto a direita */
.ant-card-nota {
  position: absolute;
  top: 7px; right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 2px solid var(--ant-imdb);
  border-radius: 50%;
  background: rgba(0, 0, 0, .82);
  color: var(--ant-imdb);
  font-size: 11.5px;
  font-weight: 800;
}

/* fita da resolucao atravessando a base da capa */
.ant-card-res {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 5px 9px;
  background: linear-gradient(90deg, var(--ant-marca), transparent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

.ant-card-txt { padding: 9px 2px 0; }

/* duas linhas no maximo: titulo longo desalinharia a fileira inteira */
.ant-card-txt h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.ant-card:hover .ant-card-txt h3 a { color: var(--ant-marca); }

.ant-card-infos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
  font-size: 11px;
  color: var(--ant-txt-2);
}

.ant-card-infos span { display: inline-flex; align-items: center; gap: 4px; }
.ant-card-infos svg { color: var(--ant-marca); }

/* versao da lateral: menor, sem a linha de infos */
.ant-card.mini .ant-card-txt h3 { font-size: 12px; -webkit-line-clamp: 2; }
.ant-card.mini .ant-card-nota { width: 26px; height: 26px; font-size: 10px; border-width: 1px; }
.ant-card.mini .ant-card-res { font-size: 9px; padding: 4px 7px; }


/* ==========================================================================
   GRADES E TRILHOS
   ========================================================================== */

.ant-grade {
  display: grid;
  /* minmax(0, 1fr) e nao 1fr: o segundo nao encolhe abaixo do conteudo, e
     um titulo longo estouraria a coluna para fora do container */
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 18px;
  margin-bottom: 24px;
}

.ant-trilho-caixa { position: relative; margin-bottom: 20px; }

.ant-trilho {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ant-trilho::-webkit-scrollbar { display: none; }

.ant-trilho > * {
  flex: 0 0 auto;
  width: calc((100% - 18px * 4) / 5);
  min-width: 140px;
  scroll-snap-align: start;
}

.ant-trilho-seta {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 52px;
  border: 0;
  border-radius: 4px;
  background: var(--ant-marca);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}

.ant-trilho-seta.esq { left: -8px; }
.ant-trilho-seta.dir { right: -8px; }
.ant-trilho-seta:hover { background: var(--ant-marca-2); }
.ant-trilho-seta:disabled { opacity: 0; pointer-events: none; }


/* ==========================================================================
   PAGINA DO FILME — tres colunas
   ========================================================================== */

.ant-tres {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 200px;
  gap: 24px;
  align-items: start;
  padding-top: 20px;
}

.ant-centro { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.ant-cabeca {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ant-marca);
}

.ant-cabeca h1 {
  font-size: 25px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
}

.ant-cats { margin-top: 8px; font-size: 13px; color: var(--ant-txt-2); }
.ant-cats a:hover { color: var(--ant-marca); }

.ant-topo-post {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  /* stretch: a ficha distribui as proprias linhas para terminar junto com
     a capa, entao o par fecha reto em vez de deixar um degrau */
  align-items: stretch;
}

.ant-post-capa {
  border-radius: 6px;
  overflow: hidden;
  background: var(--ant-surf);
  line-height: 0;
}

.ant-post-capa img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

.ant-topo-post > .ant-caixa { display: flex; flex-direction: column; }

.ant-caixa {
  padding: 16px 18px;
  border: 1px solid var(--ant-borda);
  border-radius: var(--ant-raio);
  background: var(--ant-surf);
}

.ant-caixa-titulo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ant-borda);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ant-caixa-titulo svg { color: var(--ant-marca); }

/* ---- ficha ----
   Duas colunas: com treze campos em coluna unica a caixa ficava bem mais
   alta que a capa ao lado. */
.ant-ficha {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: space-between;
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ant-ficha li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ant-borda);
  font-size: 13px;
}

.ant-ficha li > em { flex: 0 0 auto; font-style: normal; color: var(--ant-txt-2); }

.ant-ficha li > span {
  font-weight: 600;
  text-align: right;
  /* valor longo, como uma lista de idiomas, nao pode alargar a linha */
  overflow-wrap: anywhere;
}

.ant-selo-imdb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--ant-imdb);
  color: #14181c;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.5;
}

.ant-selo-imdb b {
  padding-right: 5px;
  border-right: 1px solid rgba(0, 0, 0, .3);
  font-size: 9.5px;
  font-weight: 900;
}

a.ant-selo-imdb:hover { filter: brightness(1.1); color: #14181c; }

.ant-texto { font-size: 14.5px; line-height: 1.75; color: #bbbbc8; }
.ant-texto p { margin: 0 0 12px; }
.ant-texto p:last-child { margin-bottom: 0; }
.ant-texto a { color: var(--ant-marca); }

/* ---- trailer ---- */
.ant-trailer {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  line-height: 0;
}

.ant-trailer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .78; transition: opacity .2s ease; }
.ant-trailer:hover img { opacity: 1; }

.ant-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ant-marca);
  color: #fff;
}

.ant-trailer-frame { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; }
.ant-trailer-frame iframe { width: 100%; height: 100%; border: 0; }


/* ==========================================================================
   DOWNLOADS — matriz resolucao x idioma

   Linhas sao resolucoes, colunas sao versoes de audio. Os dois eixos
   aparecem juntos: bate o olho e ve que existe 4K em dual audio mas nao em
   legendado, sem abrir nada.

   A grade usa --ant-cols, definida no HTML com o numero de idiomas. Assim
   o cabecalho e as linhas de dados usam a mesma conta e o CSS nao precisa
   saber quantos idiomas existem.
   ========================================================================== */

.ant-matriz {
  border: 1px solid var(--ant-borda);
  border-radius: var(--ant-raio);
  background: var(--ant-surf);
  overflow: hidden;
}

.ant-matriz-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: linear-gradient(90deg, var(--ant-marca), var(--ant-marca-2));
  color: #fff;
}

.ant-matriz-topo h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ant-matriz-topo span {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .25);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ant-matriz-grade {
  display: grid;
  grid-template-columns: 92px repeat(var(--ant-cols), minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  /* o fundo aparece pelo vao de 1px e vira a linha da tabela, sem precisar
     de borda em cada celula */
  background: var(--ant-borda);
}

.ant-mx-canto { background: var(--ant-surf); }

.ant-mx-colnome,
.ant-mx-linnome {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: var(--ant-surf-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  text-align: center;
}

.ant-mx-colnome { color: var(--ant-txt); }
.ant-mx-linnome { color: var(--ant-marca); font-size: 13px; letter-spacing: 1px; }

.ant-mx-celula {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  background: var(--ant-bg);
}

/* celula vazia e informacao: diz o que NAO existe naquele cruzamento */
.ant-mx-celula.vazia {
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    var(--ant-bg), var(--ant-bg) 6px,
    var(--ant-surf) 6px, var(--ant-surf) 12px
  );
}

.ant-mx-nada { color: var(--ant-borda-2); font-size: 15px; }

.ant-mx-item { display: flex; align-items: stretch; gap: 5px; }

.ant-mx-baixar {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 5px;
  background: var(--ant-surf-2);
  border: 1px solid var(--ant-borda-2);
  color: var(--ant-txt);
  transition: .18s ease;
}

.ant-mx-baixar:hover {
  background: var(--ant-marca);
  border-color: var(--ant-marca);
  color: #fff;
}

.ant-mx-baixar svg { flex: 0 0 auto; color: var(--ant-marca); }
.ant-mx-baixar:hover svg { color: #fff; }

.ant-mx-baixar > span { min-width: 0; }
.ant-mx-baixar b { display: block; font-size: 13px; font-weight: 800; }
.ant-mx-baixar small { display: block; font-size: 10px; color: var(--ant-txt-2); }
.ant-mx-baixar:hover small { color: rgba(255, 255, 255, .8); }

.ant-copiar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  border: 1px solid var(--ant-borda-2);
  border-radius: 5px;
  background: transparent;
  color: var(--ant-txt-2);
  cursor: pointer;
  transition: .18s ease;
}

.ant-copiar:hover { color: var(--ant-txt); border-color: var(--ant-marca); }
.ant-copiar.copiado { background: var(--ant-marca); border-color: var(--ant-marca); color: #fff; }

.ant-matriz-rodape {
  padding: 13px 16px;
  border-top: 1px solid var(--ant-borda);
  background: var(--ant-surf);
}

.ant-legendas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ant-txt-2);
}

.ant-legendas + .ant-legendas { margin-top: 9px; }

.ant-legendas em {
  font-style: normal;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ant-txt);
}

.ant-legendas a {
  padding: 4px 11px;
  border-radius: 3px;
  border: 1px solid rgba(245, 197, 24, .34);
  background: rgba(245, 197, 24, .1);
  color: var(--ant-imdb);
  font-size: 11.5px;
  font-weight: 700;
}

.ant-legendas a:hover { background: var(--ant-imdb); color: #1a1a1a; }


/* ==========================================================================
   LATERAIS DO SINGLE
   ========================================================================== */

.ant-lateral { min-width: 0; }

.ant-lateral-titulo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--ant-raio) var(--ant-raio) 0 0;
  background: linear-gradient(90deg, var(--ant-marca), var(--ant-marca-2));
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.ant-lateral-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--ant-borda);
  border-top: 0;
  border-radius: 0 0 var(--ant-raio) var(--ant-raio);
  background: var(--ant-surf);
}


/* ==========================================================================
   PAGINACAO, RODAPE, COMENTARIOS
   ========================================================================== */

.ant-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--ant-marca);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.ant-btn:hover { background: var(--ant-marca-2); color: #fff; }

.ant-paginacao {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 34px;
}

.ant-paginacao .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ant-borda-2);
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ant-txt-2);
  transition: .18s ease;
}

.ant-paginacao .page-numbers:hover { border-color: var(--ant-marca); color: var(--ant-txt); }

.ant-paginacao .page-numbers.current {
  background: var(--ant-marca);
  border-color: var(--ant-marca);
  color: #fff;
}

.ant-404 { padding: 70px 16px; text-align: center; }
.ant-404 h1 { font-size: 72px; color: var(--ant-marca); }
.ant-404 p { margin: 10px 0 22px; color: var(--ant-txt-2); }

.ant-pagina { padding: 10px 0 40px; }

.ant-rodape {
  padding: 24px 0;
  background: var(--ant-topo);
  border-top: 2px solid var(--ant-marca);
  text-align: center;
}

.ant-rodape-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}

.ant-rodape-menu a { color: var(--ant-txt-2); }
.ant-rodape-menu a:hover { color: var(--ant-marca); }

.ant-copy, .ant-rodape-txt { margin: 0; font-size: 12.5px; color: var(--ant-txt-2); }
.ant-rodape-txt { margin-top: 7px; }

.ant-comentarios { margin: 20px 0 30px; }
.ant-lista-com, .ant-lista-com .children { margin: 0; padding: 0; list-style: none; }
.ant-lista-com .children { padding-left: 22px; }

.ant-lista-com .comment-body {
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1px solid var(--ant-borda);
  border-radius: var(--ant-raio);
  background: var(--ant-surf);
}

.ant-comentarios input[type="text"],
.ant-comentarios input[type="email"],
.ant-comentarios input[type="url"],
.ant-comentarios textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--ant-borda-2);
  border-radius: 4px;
  background: var(--ant-bg);
  color: var(--ant-txt);
  font: inherit;
}

.ant-comentarios .submit {
  padding: 11px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--ant-marca);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}


/* ==========================================================================
   RESPONSIVO

   Os cortes seguem a largura do cartao e da matriz, nao um tamanho de
   aparelho — por isso nao batem com nenhum modelo especifico.
   ========================================================================== */

@media (max-width: 1200px) {
  /* a coluna da direita sai primeiro: Top Series e o que menos se perde
     estando so no rodape */
  .ant-tres { grid-template-columns: 200px minmax(0, 1fr); }
  .ant-lateral-dir { display: none; }
}

@media (max-width: 1000px) {
  .ant-tres { grid-template-columns: minmax(0, 1fr); }
  .ant-lateral-esq { display: none; }

  .ant-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ant-trilho > * { width: calc((100% - 18px * 3) / 4); }
}

@media (max-width: 900px) {
  .ant-nav { display: none; }
  .ant-hamb { display: inline-flex; }
  .ant-gen-seta.esq { left: 8px; }
  .ant-generos-rotulo { display: none; }
}

@media (max-width: 760px) {
  .ant-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
  .ant-trilho { gap: 12px; }
  .ant-trilho > * { width: calc((100% - 12px * 2) / 3); }

  .ant-cabeca h1 { font-size: 20px; }
  .ant-secao h1, .ant-secao h2 { font-size: 16px; }

  /* no toque as setas nao servem: a rolagem ja e por arrasto */
  .ant-trilho-seta, .ant-gen-seta { display: none; }

  .ant-topo-post { grid-template-columns: minmax(0, 1fr); }
  .ant-post-capa { max-width: 220px; margin: 0 auto; }
  .ant-ficha { grid-template-columns: minmax(0, 1fr); }

  /* A matriz nao cabe: ela deixa de ser tabela e vira blocos por
     resolucao. O rotulo da coluna reaparece dentro de cada celula, senao
     o visitante perderia a referencia do idioma. */
  .ant-matriz-grade { display: block; padding: 0; background: none; }
  .ant-mx-canto, .ant-mx-colnome { display: none; }

  .ant-mx-linnome {
    justify-content: flex-start;
    margin-top: 10px;
    border-radius: 4px 4px 0 0;
  }

  .ant-mx-celula { border-bottom: 1px solid var(--ant-borda); }
  .ant-mx-celula.vazia { display: none; }
}

@media (max-width: 460px) {
  .ant-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ant-trilho > * { width: calc((100% - 12px) / 2); }
  .ant-busca { width: auto; }
  .ant-busca input { width: 90px; }
}


/* ==========================================================================
   ESQUEMA CLARO

   O vermelho da marca sobrevive ao fundo claro — e uma das poucas cores
   que funciona nos dois —, entao ele so aprofunda um tom para ganhar
   contraste como texto. O que muda de verdade sao as superficies.

   Papel cinza-neutro no fundo e branco nas superficies: o cartao se separa
   da pagina sem sombra pesada.
   ========================================================================== */

body.ant-light {
  --ant-bg:        #f0f0f2;
  --ant-surf:      #ffffff;
  --ant-surf-2:    #e9e9ee;
  --ant-topo:      #ffffff;
  --ant-borda:     #dcdce2;
  --ant-borda-2:   #bcbcc6;

  --ant-txt:       #16161c;
  --ant-txt-2:     #63636f;

  --ant-marca:     #b3121f;
  --ant-marca-2:   #8e1108;
  --ant-imdb:      #b8860b;
}

body.ant-light .ant-menu > li > a:hover { border-color: var(--ant-borda-2); }

/* Nota na capa: o preto translucido some sobre cartaz claro. Fundo cheio,
   que o poster atras nao interfere. */
body.ant-light .ant-card-nota { background: #16161c; color: var(--ant-imdb); }

body.ant-light .ant-card-capa,
body.ant-light .ant-post-capa { border: 1px solid var(--ant-borda); }

/* Antares 1.1 — home mais ampla, preservando o tamanho util dos cartazes. */
body.home .ant-wrap { width: 98%; max-width: 1640px; padding-left: 12px; padding-right: 12px; }
@media (min-width: 1341px) {
  body.home .ant-grade { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 18px; }
  body.home .ant-trilho > * { width: calc((100% - 18px * 5) / 6); min-width: 200px; }
}
@media (min-width: 1001px) and (max-width: 1340px) {
  body.home .ant-grade { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Ficha cinematografica: cada informacao e um cartao com iconografia propria. */
.ant-cabeca { border-bottom: 0; padding: 0 0 9px; }
.ant-cabeca h1 { font-size: clamp(23px, 2.3vw, 32px); font-style: normal; letter-spacing: -.035em; line-height: 1.17; }
.ant-cats { margin-top: 11px; }
.ant-destaques-post { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.ant-destaques-post > span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ant-borda-2); border-radius: 999px; background: var(--ant-surf-2); padding: 4px 11px; font-size: 11px; font-weight: 800; }
.ant-destaques-post svg { width: 13px; height: 13px; color: var(--ant-marca); }
.ant-destaques-post .ant-destaques-nota { color: var(--ant-imdb); border-color: #7a6121; }
.ant-destaques-post .ant-destaques-nota svg { color: var(--ant-imdb); }
.ant-topo-post { gap: 20px; align-items: start; }
.ant-post-capa { border: 1px solid var(--ant-borda-2); border-radius: 14px; box-shadow: 0 17px 38px rgba(0,0,0,.28); }
.ant-topo-post > .ant-caixa { min-width: 0; }
.ant-caixa { border-radius: 14px; background: linear-gradient(145deg, var(--ant-surf), var(--ant-bg)); }
.ant-caixa-titulo { color: var(--ant-txt); font-size: 13px; letter-spacing: .065em; }
.ant-ficha--cards { grid-template-columns: repeat(2, minmax(0,1fr)); align-content: start; gap: 9px; }
.ant-ficha--cards li { display: flex; align-items: flex-start; justify-content: flex-start; min-width: 0; min-height: 62px; gap: 10px; padding: 10px 11px; border: 1px solid var(--ant-borda); border-radius: 10px; background: var(--ant-surf-2); transition: border-color .2s ease, transform .2s ease; }
.ant-ficha--cards li:hover { border-color: var(--ant-marca); transform: translateY(-1px); }
.ant-ficha-icone { flex: 0 0 29px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: #ff8d9a; background: rgba(201,24,43,.13); }
.ant-ficha-icone svg { width: 17px; height: 17px; }
.ant-ficha-conteudo { flex: 1; min-width: 0; }
.ant-ficha--cards .ant-ficha-conteudo > em { display: block; color: var(--ant-txt-2); font-size: 10px; font-style: normal; line-height: 1.25; font-weight: 750; text-transform: uppercase; letter-spacing: .035em; }
.ant-ficha--cards .ant-ficha-conteudo > span { display: block; margin-top: 4px; color: var(--ant-txt); font-size: 12px; font-weight: 750; line-height: 1.38; text-align: left; overflow-wrap: anywhere; }
.ant-ficha--cards .ant-selo-imdb { font-size: 11px; padding: 3px 7px; }
@media (max-width: 760px) {
  .ant-ficha--cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ant-post-capa { max-width: 250px; }
}
@media (max-width: 520px) {
  .ant-ficha--cards { grid-template-columns: minmax(0,1fr); }
  .ant-ficha--cards li { min-height: 55px; }
  .ant-post-capa { max-width: 220px; }
}

/* a matriz usa o vao de 1px como linha da tabela: sobre papel ele precisa
   ser mais escuro que a borda comum para se ver */
body.ant-light .ant-matriz-grade { background: var(--ant-borda-2); }
body.ant-light .ant-mx-celula { background: var(--ant-surf); }
body.ant-light .ant-mx-baixar { background: var(--ant-surf-2); }

/* a hachura da celula vazia inverte: listras claras sobre papel */
body.ant-light .ant-mx-celula.vazia {
  background: repeating-linear-gradient(
    45deg,
    #f7f7f9, #f7f7f9 6px,
    #e9e9ee 6px, #e9e9ee 12px
  );
}

body.ant-light .ant-generos { background: var(--ant-surf); }
body.ant-light .ant-sombra { background: rgba(22, 22, 28, .5); }
body.ant-light .ant-trailer img { opacity: .9; }
body.ant-light .ant-texto { color: #3d3d48; }

body.ant-light .ant-legendas a {
  border-color: rgba(184, 134, 11, .45);
  background: rgba(184, 134, 11, .09);
}

body.ant-light .ant-legendas a:hover { color: #fff; }

body.ant-light .ant-comentarios input[type="text"],
body.ant-light .ant-comentarios input[type="email"],
body.ant-light .ant-comentarios input[type="url"],
body.ant-light .ant-comentarios textarea { background: var(--ant-surf); }

/* Antares 1.2 — ficha principal da mesma altura visual da capa. */
@media (min-width: 761px) {
  .ant-topo-post { align-items: stretch; }
  .ant-topo-post .ant-caixa--principal { min-height: 360px; height: 100%; }
  .ant-caixa--principal .ant-ficha--cards { align-content: space-between; gap: 7px 9px; }
  .ant-caixa--principal .ant-ficha--cards li { min-height: 59px; padding: 9px 10px; }
}
.ant-caixa--extras .ant-ficha--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
}
.ant-caixa--extras > .ant-caixa-titulo > svg { width: 15px; height: 15px; }
.ant-relacionados .ant-lateral-titulo { letter-spacing: .045em; }
.ant-relacionados .ant-card-txt h3 { font-size: 12px; line-height: 1.3; }

/* Em telas intermediarias, mantem os relacionados a direita da single. */
@media (min-width: 1001px) and (max-width: 1200px) {
  .ant-tres { grid-template-columns: minmax(0, 1fr) 200px; }
  .ant-lateral-esq { display: none; }
  .ant-lateral-dir { display: block; }
}
@media (max-width: 1000px) {
  .ant-caixa--extras .ant-ficha--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ant-caixa--extras .ant-ficha--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ant-caixa--principal .ant-ficha--cards { align-content: start; }
}
@media (max-width: 520px) {
  .ant-caixa--extras .ant-ficha--cards { grid-template-columns: minmax(0, 1fr); }
}

/* Antares 1.3 — sem Top Filmes, com relacionados em duas colunas à direita. */
.ant-tres--relacionados {
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 24px;
}
.ant-tres--relacionados .ant-lateral-dir { display: block; }
.ant-tres--relacionados .ant-relacionados .ant-lateral-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 13px;
  padding: 12px;
}
.ant-relacionados .ant-card { min-width: 0; }
.ant-relacionados .ant-card-capa { border-radius: 8px; }
.ant-relacionados .ant-card-txt { padding-top: 7px; }
.ant-relacionados .ant-card-txt h3 { font-size: 12px; line-height: 1.35; }
.ant-tres--relacionados .ant-cabeca { margin-bottom: 0; }

@media (min-width: 1001px) and (max-width: 1250px) {
  .ant-tres--relacionados { grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; }
  .ant-tres--relacionados .ant-relacionados .ant-lateral-lista { gap: 10px; padding: 10px; }
}
@media (max-width: 1000px) {
  .ant-tres--relacionados { grid-template-columns: minmax(0, 1fr); }
  .ant-tres--relacionados .ant-lateral-dir { display: block; }
  .ant-tres--relacionados .ant-relacionados .ant-lateral-lista {
    width: 100%; max-width: 540px; margin: 0 auto; gap: 14px;
  }
}


/* ==========================================================================
   ANTARES 1.4 — INDEX CINEMATOGRAFICA
   Banner em destaque, fundo de filme, poster e capas em seis colunas.
   Estilos limitados a home para nao modificar as singles nem os arquivos.
   ========================================================================== */

body.home:not(.ant-light) {
  background: radial-gradient(ellipse 88% 400px at 75% 100px, rgba(84, 12, 27, .19), transparent 74%), #0b0b0f;
}

.ant-home-hero { padding-top: 24px; }
.ant-home-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.ant-home-heading > div:first-child { min-width: 0; }
.ant-home-kicker {
  display: block;
  margin-bottom: 6px;
  color: #ff3955;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .2em;
}
.ant-home-heading h1,
.ant-home-heading h2 {
  margin: 0;
  color: var(--ant-txt);
  font-size: clamp(23px, 2.5vw, 31px);
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.04em;
  text-transform: none;
}

.ant-home-heading--hero { margin-bottom: 16px; }
.ant-hero-controls { display: flex; gap: 9px; flex-shrink: 0; }
.ant-hero-controls button {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid #58313b;
  border-radius: 11px;
  background: #23191f;
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.ant-hero-controls button:hover,
.ant-hero-controls button:focus-visible { background: #a8102d; border-color: #d62a47; }
.ant-hero-controls button[hidden] { display: none; }

.ant-hero-stage {
  position: relative;
  height: clamp(315px, 23vw, 375px);
  overflow: hidden;
  border: 1px solid #54303a;
  border-radius: 21px;
  background: linear-gradient(110deg, #29161e, #120b11);
  isolation: isolate;
}
.ant-hero-slide { position: relative; display: none; width: 100%; height: 100%; }
.ant-hero-slide.is-active { display: block; }
.ant-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: .45;
}
.ant-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 11, 16, .98) 0%, rgba(31, 13, 21, .92) 27%, rgba(28, 12, 21, .77) 53%, rgba(20, 10, 18, .5) 100%),
    linear-gradient(0deg, rgba(8, 6, 9, .42), transparent 70%);
}
.ant-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: clamp(152px, 13vw, 192px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 36px);
  width: 100%;
  height: 100%;
  padding: 26px 32px;
}
.ant-hero-poster {
  display: block;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  box-shadow: 0 14px 25px rgba(0,0,0,.32);
}
.ant-hero-poster img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.ant-hero-copy { width: 100%; max-width: 760px; min-width: 0; }
.ant-hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 13px; }
.ant-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid #6a434d;
  border-radius: 6px;
  background: rgba(32, 22, 29, .72);
  color: #f5ecf0;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}
.ant-hero-badge--red { border-color: #ed2948; background: #ba0e2b; color: #fff; }
.ant-hero-badge--rating { color: #f6d54c; }
.ant-hero-copy h3 {
  max-width: 740px;
  font-size: clamp(27px, 3vw, 43px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.ant-hero-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 14px 0 8px;
  color: #ddd4d8;
  font-size: 13px;
  line-height: 1.65;
}
.ant-hero-quality { margin: 0 0 12px; color: #e79caf; font-size: 11px; font-weight: 800; }
.ant-hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid #f03756;
  border-radius: 9px;
  background: linear-gradient(125deg, #d01135, #aa0c29);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  transition: transform .18s ease, filter .18s ease;
}
.ant-hero-link:hover,
.ant-hero-link:focus-visible { color: #fff; filter: brightness(1.15); transform: translateY(-2px); }
.ant-hero-dots { display: flex; justify-content: center; align-items: center; gap: 7px; padding: 16px 0 18px; }
.ant-hero-dots[hidden] { display: none; }
.ant-hero-dots button {
  width: 27px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #57414a;
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.ant-hero-dots button.is-active { background: #f21945; width: 35px; }
.ant-hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.ant-home-catalog { margin-bottom: 24px; }
.ant-home-heading--catalog {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 8px 0 19px;
  padding: 0;
  border: none;
}
.ant-home-heading--catalog h1,
.ant-home-heading--catalog h2 {
  display: flex;
  align-items: center;
  flex: initial;
  gap: 10px;
  font-size: clamp(23px, 2.2vw, 29px);
  letter-spacing: -.04em;
}
.ant-home-heading--catalog h1 svg,
.ant-home-heading--catalog h2 svg { width: 24px; height: 24px; color: #f12249; }
.ant-home-vermais {
  flex: 0 0 auto;
  padding: 5px 0 4px;
  color: var(--ant-txt);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.ant-home-vermais span { padding-left: 12px; color: #f21d46; font-size: 16px; }
.ant-home-vermais:hover { color: #f21d46; }

body.home .ant-home-catalog .ant-grade { gap: 23px 18px; }
.ant-card--home { min-width: 0; }
.ant-card--home .ant-card-capa {
  border: 1px solid #3a343e;
  border-radius: 13px;
  box-shadow: 0 8px 15px rgba(0,0,0,.17);
}
.ant-card--home .ant-card-capa img { width: 100%; height: 100%; }
.ant-card-audio {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: block;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border: 1px solid rgba(255, 117, 139, .7);
  border-radius: 6px;
  background: #bb102e;
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}
.ant-card--home .ant-card-txt { padding: 12px 2px 0; }
.ant-card--home .ant-card-txt h3 { font-size: 14px; font-weight: 800; line-height: 1.38; min-height: 2.75em; }
.ant-card-home-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin-top: 7px; color: #b4b0bc; font-size: 11px; line-height: 1.45; }
.ant-card-home-rating { color: #ffd44c; font-weight: 850; }
.ant-card-home-quality { color: #a9a6ae; }

/* O esquema claro alternativo conserva os textos legiveis. */
body.ant-light.home .ant-hero-copy h3,
body.ant-light.home .ant-hero-copy p { color: #fff; }
body.ant-light.home .ant-hero-summary { color: #ddd4d8; }
body.ant-light.home .ant-hero-quality { color: #e79caf; }

@media (max-width: 900px) {
  .ant-hero-stage { height: 300px; }
  .ant-hero-content { grid-template-columns: 146px minmax(0,1fr); gap: 21px; padding: 22px 24px; }
  .ant-hero-copy h3 { font-size: clamp(25px, 3.9vw, 34px); }
  .ant-hero-summary { -webkit-line-clamp: 2; font-size: 12px; }
  .ant-hero-badges { margin-bottom: 9px; }
}
@media (max-width: 600px) {
  .ant-home-hero { padding-top: 18px; }
  .ant-home-heading--hero { margin-bottom: 12px; }
  .ant-home-heading h1,
  .ant-home-heading h2 { font-size: 23px; }
  .ant-home-kicker { font-size: 9px; }
  .ant-hero-controls { gap: 6px; }
  .ant-hero-controls button { width: 34px; height: 34px; font-size: 24px; border-radius: 9px; }
  .ant-hero-stage { height: 254px; border-radius: 14px; }
  .ant-hero-backdrop { object-position: 62% center; }
  .ant-hero-shade { background: linear-gradient(90deg,rgba(20,10,16,.99),rgba(24,10,16,.85) 65%,rgba(20,10,16,.58)); }
  .ant-hero-content { grid-template-columns: 100px minmax(0,1fr); gap: 13px; padding: 14px; }
  .ant-hero-poster { border-radius: 9px; }
  .ant-hero-badges { gap: 4px; margin-bottom: 8px; }
  .ant-hero-badge { padding: 2px 5px; font-size: 8px; }
  .ant-hero-copy h3 { font-size: clamp(18px, 5vw, 25px); line-height: 1.12; }
  .ant-hero-summary { margin: 8px 0 6px; font-size: 10px; line-height: 1.4; -webkit-line-clamp: 2; }
  .ant-hero-quality { font-size: 9px; margin-bottom: 7px; }
  .ant-hero-link { min-height: 31px; gap: 8px; padding: 7px 9px; border-radius: 7px; font-size: 10px; }
  .ant-hero-dots { padding: 12px 0 14px; }
  .ant-hero-dots button { width: 18px; }
  .ant-hero-dots button.is-active { width: 23px; }
  .ant-home-heading--catalog { align-items: end; gap: 8px; }
  .ant-home-heading--catalog h1,
  .ant-home-heading--catalog h2 { font-size: 21px; gap: 6px; }
  .ant-home-heading--catalog h1 svg,
  .ant-home-heading--catalog h2 svg { width: 18px; height: 18px; }
  .ant-home-vermais { font-size: 11px; }
  body.home .ant-home-catalog .ant-grade { gap: 20px 12px; }
  .ant-card-audio { top: 6px; left: 6px; padding: 4px 6px; font-size: 8px; }
  .ant-card--home .ant-card-txt h3 { font-size: 12px; }
  .ant-card-home-meta { gap: 4px 7px; font-size: 10px; }
}
@media (max-width: 370px) {
  .ant-hero-content { grid-template-columns: 83px minmax(0,1fr); gap: 9px; padding: 10px; }
  .ant-hero-copy h3 { font-size: 18px; }
  .ant-hero-badges .ant-hero-badge:nth-child(n + 3) { display: none; }
  .ant-hero-summary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ant-card--home .ant-card-capa img,
  .ant-hero-link,
  .ant-hero-dots button { transition: none; }
}


/* ==========================================================================
   ANTARES 1.5 — MENU INTEGRADO NO TOPO
   A faixa horizontal de categorias foi retirada do header.php; agora os
   generos vivem no dropdown, com a busca sempre visivel.
   ========================================================================== */

.ant-logo--com-icone { display: inline-flex; align-items: center; gap: 9px; line-height: 1.2; }
.ant-logo-marca {
  flex: 0 0 35px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f22f50, #a80828);
  color: #fff;
  box-shadow: 0 5px 15px rgba(200, 20, 52, .22);
}
.ant-logo-marca .ant-menu-icon { width: 21px; height: 21px; }
.ant-logo-nome { display: inline-block; min-width: 0; }
.ant-logo--com-icone img { max-height: 40px; }

.ant-barra { gap: 12px; grid-template-columns: minmax(175px,1fr) auto minmax(195px,1fr); }
.ant-barra .ant-esq { gap: 10px; }
.ant-barra > .ant-nav { min-width: 0; }
.ant-menu { gap: 1px; }
.ant-menu > li > a,
.ant-menu > li > .ant-nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ant-txt-2);
  font-size: 11.5px;
  font-weight: 800;
  font-family: inherit;
  line-height: 1.4;
  letter-spacing: .025em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.ant-menu > li > a { font-size: 11.5px; font-weight: 800; }
.ant-menu > li > a:hover,
.ant-menu > li > .ant-nav-trigger:hover,
.ant-menu > li > .ant-nav-trigger:focus-visible,
.ant-menu > li.ant-has-sub.is-open > .ant-nav-trigger { color: var(--ant-txt); border-bottom-color: var(--ant-marca); }
.ant-menu .ant-menu-icon { display: inline-block; flex: 0 0 auto; width: 15px; height: 15px; color: #ed5470; }
.ant-menu .ant-menu-icon--chevron { width: 12px; height: 12px; color: var(--ant-txt-2); }

.ant-menu .ant-has-sub > .sub-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px,1fr));
  width: 370px;
  max-height: min(65vh, 460px);
  overflow-y: auto;
  gap: 2px;
  padding: 10px;
  border-color: #53313c;
  border-radius: 12px;
  background: #1a161c;
}
.ant-menu .ant-has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ant-menu .ant-has-sub > .sub-menu a { font-size: 12px; padding: 9px 10px; border-radius: 7px; }
.ant-menu .ant-has-sub > .sub-menu a:hover { background: #ae102f; }
.ant-busca { width: 225px; max-width: 100%; border-radius: 9px; }
.ant-busca button { align-self: stretch; align-items: center; }

.ant-menu-mobile.ant-menu--padrao > li > a,
.ant-menu-mobile .ant-nav-trigger {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 10px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--ant-txt-2);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.ant-menu-mobile .ant-nav-trigger:hover,
.ant-menu-mobile .ant-nav-trigger[aria-expanded="true"] { background: var(--ant-surf-2); color: var(--ant-txt); border-left-color: var(--ant-marca); }
.ant-menu-mobile .ant-menu-icon { width: 18px; height: 18px; color: #ed5470; }
.ant-menu-mobile .ant-menu-icon--chevron { width: 13px; height: 13px; margin-left: auto; }
.ant-menu-mobile .ant-has-sub .sub-menu { display: none; padding: 3px 0 8px 14px; }
.ant-menu-mobile .ant-has-sub.is-open .sub-menu { display: block; }
.ant-menu-mobile .ant-has-sub .sub-menu a { padding: 8px 9px; font-size: 12.5px; }

@media (max-width: 1260px) {
  .ant-barra { grid-template-columns: minmax(0,1fr) auto; gap: 16px; }
  .ant-barra > .ant-nav { display: none; }
  .ant-hamb { display: inline-flex; }
  .ant-barra > .ant-busca { width: min(240px, 36vw); }
}
@media (max-width: 560px) {
  .ant-barra { gap: 9px; }
  .ant-barra .ant-esq { gap: 8px; }
  .ant-logo { font-size: 16px; }
  .ant-logo--com-icone { gap: 6px; }
  .ant-logo-marca { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }
  .ant-logo-marca .ant-menu-icon { width: 19px; height: 19px; }
  .ant-barra > .ant-busca { width: auto; min-width: 43px; max-width: 36vw; }
  .ant-busca input { width: 80px; padding: 7px 7px; font-size: 11px; }
  .ant-busca button { padding: 8px 10px; }
  .ant-hamb { width: 32px; height: 32px; }
}
@media (max-width: 390px) {
  .ant-logo { font-size: 14px; }
  .ant-barra > .ant-busca { max-width: 35vw; }
  .ant-busca input { width: 65px; }
}


/* ==========================================================================
   ANTARES 1.6 — CARDS UNIFICADOS NA BUSCA, CATEGORIAS E RELACIONADOS
   ========================================================================== */

/* A mesma area util da index: seis cartazes sem espremer a proporcao 2:3. */
.ant-catalog-page {
  width: 98%;
  max-width: 1640px;
  padding: 0 12px;
}
.ant-catalog-heading {
  margin: 28px 0 22px;
  padding: 0;
  border-bottom: 0;
}
.ant-catalog-heading h1 {
  color: var(--ant-txt);
  font-size: clamp(24px, 2.5vw, 31px);
  font-weight: 850;
  font-style: normal;
  text-transform: none;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.ant-catalog-page .ant-grade { gap: 23px 18px; }

@media (min-width: 1341px) {
  .ant-catalog-page .ant-grade { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1001px) and (max-width: 1340px) {
  .ant-catalog-page .ant-grade { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ant-catalog-heading { margin: 22px 0 17px; }
  .ant-catalog-page .ant-grade { gap: 20px 12px; }
}

/* Os relacionados continuam em 2 colunas, agora com o selo de audio e
   ano/nota/qualidade logo abaixo do titulo, como na pagina inicial. */
.ant-relacionados .ant-card--home .ant-card-capa { border-radius: 11px; }
.ant-relacionados .ant-card--home .ant-card-txt { padding: 8px 2px 0; }
.ant-relacionados .ant-card--home .ant-card-txt h3 { font-size: 12px; line-height: 1.34; }
.ant-relacionados .ant-card--home .ant-card-home-meta {
  gap: 4px 7px;
  margin-top: 5px;
  font-size: 10px;
}
.ant-relacionados .ant-card--home .ant-card-audio {
  top: 7px;
  left: 7px;
  max-width: calc(100% - 14px);
  padding: 5px 6px;
  font-size: 9px;
}


/* ==========================================================================
   ANTARES 1.9 — SEIS COLUNAS, CAPAS PRESERVADAS E DESTAQUE MAIS COMPACTO
   ========================================================================== */

/* A largura anterior (1640px) servia para sete posters. Ao limitar a
   1400px com seis colunas, cada poster continua praticamente do mesmo
   tamanho e o carrossel deixa de ocupar a largura toda da janela. */
body.home .ant-home-hero,
body.home .ant-home-catalog,
.ant-catalog-page {
  width: 98%;
  max-width: 1400px;
  padding-left: 12px;
  padding-right: 12px;
}

@media (min-width: 1200px) {
  body.home .ant-grade,
  .ant-catalog-page .ant-grade {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  body.home .ant-home-catalog .ant-grade,
  .ant-catalog-page .ant-grade { gap: 22px 14px; }

  .ant-card--home .ant-card-txt h3 { font-size: 13px; }
  .ant-card--home .ant-card-audio { padding: 5px 8px; font-size: 9px; }
}

@media (min-width: 1001px) and (max-width: 1199px) {
  body.home .ant-grade,
  .ant-catalog-page .ant-grade {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* O banner alto da versao anterior competia com as capas. A capa do
   proprio destaque e reduzida na mesma proporcao para caber sem corte. */
@media (min-width: 901px) {
  body.home .ant-hero-stage { height: 328px; }
  body.home .ant-hero-content {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 30px;
    padding: 23px 30px;
  }
}


/* Antares 1.10 — cabecalho alinhado com a largura de 1400px da index.
   Nao altera o container da single nem o tamanho dos cartazes. */
.ant-topo .ant-wrap.ant-barra {
  width: 98%;
  max-width: 1400px;
  padding-left: 12px;
  padding-right: 12px;
}
