/* ==========================================================================
   EVENTOS E ATUALIZAÇÕES — faixa com arte de fundo (fundo permanente: praça em festival)
   A arte (redesign da praça central de Giran, enfeitada para festival)
   cobre a faixa inteira e se ajusta a qualquer largura: a ação fica no centro,
   as laterais escurecem para o título (esquerda) e a caixa (direita) lerem bem.
   Carregar depois do news.css.
   ========================================================================== */
.ev-banner { position: relative; overflow: hidden; isolation: isolate; background: #04100e !important; }
.ev-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 16, 14, .6) 0%, rgba(4, 16, 14, .25) 28%, rgba(4, 16, 14, 0) 50%, rgba(4, 16, 14, .25) 72%, rgba(4, 16, 14, .55) 100%),
    linear-gradient(180deg, rgba(4, 16, 14, .85) 0%, rgba(4, 16, 14, 0) 16%, rgba(4, 16, 14, 0) 74%, rgba(4, 16, 14, .95) 100%),
    url('img/ascension/events/eventos-bg.webp') 50% 50% / cover no-repeat;
  /* suave, como fundo: menos saturação, mas nítida e na largura total (sem desfoque nem zoom) */
  filter: saturate(.75) brightness(.9);
  opacity: .65;   /* transparência: a arte fica mais leve sobre o fundo do site */
}
/* véu escuro por cima de toda a arte: ela vira ambiente, não imagem */
.ev-bg::after { content: ''; position: absolute; inset: 0; background: rgba(4, 16, 14, .42); }

/* destaque fixo logo abaixo de "Últimas atualizações" */
.ev-highlight {
  display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; padding: 12px 6px 14px 14px;
  position: relative; text-decoration: none; border-bottom: 1px solid rgba(47, 224, 192, .14);
}
.ev-highlight::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; transform: translateY(-50%);
  background: var(--l-gold, #e2b65c);
  -webkit-mask: url('img/ascension/estrela-ascension.svg') center / contain no-repeat;
          mask: url('img/ascension/estrela-ascension.svg') center / contain no-repeat;
}
.ev-hl-title { font-family: var(--l-cond, sans-serif); font-weight: 700; font-size: 22px; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.ev-hl-date { font-family: var(--e-sans); font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--l-gold, #e2b65c); }
.ev-highlight:hover .ev-hl-title { color: #2fe0c0; }

/* a caixa da direita fica um pouco translúcida sobre a arte */
.ev-banner .news-updates::after { background: linear-gradient(180deg, rgba(11, 39, 35, .88) 0%, rgba(6, 23, 20, .92) 100%) !important; }

@media (max-width: 900px) {
  .ev-bg {
    background:
      linear-gradient(180deg, rgba(4, 16, 14, .9) 0%, rgba(4, 16, 14, .35) 30%, rgba(4, 16, 14, .5) 65%, rgba(4, 16, 14, .95) 100%),
      url('img/ascension/events/eventos-bg.webp') 50% 50% / cover no-repeat;
  }
}
