/*
Theme Name: Faz Cultura
Theme URI: https://www.fazcultura.pt
Author: BSB / EasyTicket
Description: Tema do portal da Faz Cultura. Usa o theme.css, o HTML e o JavaScript originais do site institucional. O WordPress fornece o conteúdo.
Version: 5.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: fazcultura
*/

/* ===================================================================
   Este ficheiro só acrescenta o que o original não previa.
   Todo o desenho vem de assets/css/theme-original.css e de
   assets/css/jquery.bxslider.css.

   Regra: se o original já resolve, aqui não se toca. As versões
   anteriores deste ficheiro reescreviam o pager, o container do slide e
   o botão do menu, e era isso que os afastava do original.
   =================================================================== */

/* O original não tem link para saltar ao conteúdo */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #111;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* A barra de cookies está no theme.css com display:none e é mostrada pelo
   JS quando não há cookie. Nada a fazer aqui. */

/* O título do slide, seja <h1> (o primeiro) ou <p> (os restantes).
   Visualmente iguais; semanticamente só o primeiro é título de página.
   O `margin-bottom: 10px` é o do original: é ele que dá os 10 px de
   espaço entre o título e o subtítulo. Sem ele tudo subia 10 px. */
.slider-banner-textos .slider-banner-titulo {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  margin: 0 0 10px;
  font-weight: 400;
  font-size: 2.875rem;
  line-height: 2.875rem;
  font-family: 'CommunityGothic';
  color: #000;
}

@media (max-width: 760px) {
  .slider-banner-textos .slider-banner-titulo {
    font-size: 1.875rem;
    line-height: 1;
  }
}

/* ===================================================================
   ACESSIBILIDADE — o que o AccessMonitor exige
   =================================================================== */

/* Cabeçalhos de página com imagem de fundo: quando a imagem não carrega
   (o servidor de origem do site antigo falha), o texto branco ficava
   sobre o cinza claro do `bg-dark-04` e o contraste caía para 1.9:1.
   A cor escura de reserva garante 12:1 em qualquer circunstância e não
   se nota quando a imagem carrega, porque fica por baixo dela. */
.bg-image,
.bg-image-gradient-black-top_ {
  background-color: #282c30;
}

.bg-image .bg-dark-04,
.bg-image-gradient-black-top_ .bg-dark-04 {
  background: rgba(40, 44, 48, 0.72);
}

/* Foco visível em tudo o que se alcança com o Tab.
   O tema original tem `a:focus, button:focus { outline: 0 }`, o que apaga
   o indicador de foco e deixa quem navega por teclado sem saber onde está.
   Esta regra vem depois e repõe-no. O `:focus-visible` mantém o anel
   escondido nos cliques de rato, para não poluir o visual do site. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #231f20 !important;
  /* O `!important` no offset é preciso: o CSS original tem regras por
     componente (`.nav-link`, `.button`, os links do rodapé) que repõem o
     `outline-offset` a zero, e o anel ficava colado às letras. */
  outline-offset: 2px !important;
}

/* Sobre fundos escuros (cartazes, secções com imagem) o anel preto não se
   via. O branco garante contraste nos dois casos. */
.section-banner a:focus-visible,
.section-banner button:focus-visible,
.bg-image a:focus-visible,
.bg-image button:focus-visible,
.bg-image-gradient-black-top_ a:focus-visible,
.bg-image-gradient-black-top_ button:focus-visible,
.etwc-evento a:focus-visible,
.etwc-evento button:focus-visible,
.fc-evento a:focus-visible,
.fc-evento button:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px !important;
}

/* O anel de foco dentro de um cartão com imagem pode ficar cortado pelo
   `overflow: hidden`; sobe-se por cima. */
.etwc-evento a:focus-visible,
.fc-agenda-item a:focus-visible {
  position: relative;
  z-index: 3;
}

/* O campo armadilha dos formulários fica oculto, mas com rótulo válido.
   `display: none` tira-o da árvore de acessibilidade e da validação; um
   campo `type="text"` sem rótulo é erro no AccessMonitor. Por isso usa-se
   `fc-so-leitor` no rótulo e posicionamento fora do ecrã no campo. */
.fc-website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Texto que existe para leitores de ecrã, invisível na página. */
.fc-so-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* O Bootstrap põe `font-size: inherit` nos campos de formulário, e a
   regra T28 conta isso como tamanho não declarado (herda um valor que
   pode vir em px). Os campos passam a ter tamanho explícito em rem, que
   é o que o AccessMonitor aceita. */
input,
textarea,
select,
button {
  font-size: 1rem;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
button {
  font-size: 0.9375rem;
}

/* O título do slide não é um <h1> em todos os slides. A classe
   `.slider-banner-titulo` já trata do tamanho; aqui garante-se que o
   <p> não herda margens que mudem o alinhamento. */
p.slider-banner-titulo {
  text-transform: none;
}

/* ===================================================================
   Páginas interiores.
   A estrutura vem do page.php com as classes do original (.section-lg,
   col-4 / col-8). O theme-original.css já desenha tudo. Só falta
   impedir que o WordPress acrescente os seus próprios estilos.
   =================================================================== */

.pagina-conteudo h1 {
  font-size: 1.7em;
  line-height: 1.625;
}

.texto-corrido > * + * {
  margin-top: 1em;
}

.texto-corrido ul {
  padding-left: 1.2em;
}

.texto-corrido li {
  margin-bottom: 0.35em;
}

/* O conteúdo das páginas interiores começa debaixo do cabeçalho fixo, como
   no original. A regra `.header + main > .section-lg:first-child` do
   theme-original.css não apanha porque o conteúdo vem dentro do wrapper
   `.fc-conteudo-pagina`. */
.header + main > .fc-conteudo-pagina > .section:first-child,
.header + main > .fc-conteudo-pagina > .section-lg:first-child,
.header + main > .fc-conteudo-pagina > .section-banner:first-child {
  margin-top: 110px;
}

@media (max-width: 560px) {
  .header + main > .fc-conteudo-pagina > .section:first-child,
  .header + main > .fc-conteudo-pagina > .section-lg:first-child,
  .header + main > .fc-conteudo-pagina > .section-banner:first-child {
    margin-top: 70px;
  }
}

/* O alinhamento vertical do título com o texto é feito pelo
   `align-items-center` do Bootstrap, como no original. */

/* ===================================================================
   Formulários — avisos de sucesso e erro.
   O theme-original.css não prevê mensagens de estado, porque o site
   antigo mostrava um popup. Aqui é uma faixa dentro do próprio
   formulário, que lê melhor e não tapa o conteúdo.
   =================================================================== */

.fc-aviso {
  padding: 16px 20px;
  margin: 0 0 30px;
  border-left: 4px solid #231f20;
  background: #f4f4f4;
  font-size: 0.9em;
  line-height: 1.5;
}

.fc-aviso-ok {
  border-left-color: #2e7d32;
  background: #eef7ee;
}

.fc-aviso-erro {
  border-left-color: #c62828;
  background: #fdeeee;
}

/* ===================================================================
   TELEMÓVEL — o botão do menu mostra só o ícone.
   O original já esconde .textomenuicon abaixo de 560 px; a barra de
   topo deste tema tem o mesmo botão, e o texto ia a par do desenho.
   =================================================================== */
@media (max-width: 560px) {
  .header .header-toggle .textomenuicon {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }
}

/* Rótulo acessível do botão, invisível, para leitores de ecrã */
@media (max-width: 560px) {
  .header > .container > .header-toggle::after {
    content: "Menu";
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* ===================================================================
   PROGRAMAÇÃO — widget da EasyTicket
   Vive logo abaixo do slider, como uma continuação dele. O espaço em
   baixo vem da secção seguinte (`.section-fazcultura` já tem 110 px
   próprios), por isso aqui não se acrescenta mais.
   =================================================================== */

.section-programacao {
  /* O slider e o resto da home são `float: left`. Sem este clear, a
     secção começa em y=0, por baixo do slider, e o título encosta ao
     fundo dele. É este clear que cria o espaço em cima. */
  clear: both;
  position: relative;
  float: none;
  width: 100%;
  padding: 80px 0 0;
}

@media (max-width: 760px) {
  .section-programacao {
    padding: 55px 0 0;
  }
}

.etwc-programa {
  padding: 0;
}

.etwc-programa .titulo-traco {
  margin-top: 0;
  margin-bottom: 34px;
}

/* O carrossel ocupa uma linha. O overflow fica aqui, para os cartões
   poderem sair pela margem sem esticar a página.
   O `width: 100%` é obrigatório: sem ele a caixa colapsa a zero, porque
   está dentro de um contentor flex e os filhos são `flex-basis` em
   percentagem — e uma percentagem de zero é zero. Foi isto que fez os
   cartões desaparecerem. */
.etwc-carrossel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.etwc-lista {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;

  /* Esconde a barra de scroll sem tirar o deslize com o dedo. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.etwc-lista::-webkit-scrollbar {
  display: none;
}

/* Quatro cartões por vista em ecrã grande. O gap é 22 px, por isso são
   3 × 22 = 66 px a descontar. */
.etwc-evento {
  flex: 0 0 calc((100% - 66px) / 4);
  max-width: calc((100% - 66px) / 4);
  scroll-snap-align: start;

  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e6ea;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.etwc-evento:hover {
  box-shadow: 0 8px 28px rgba(22, 25, 28, 0.08);
}

@media (max-width: 991px) {
  .etwc-evento {
    flex: 0 0 calc((100% - 22px) / 2);
    max-width: calc((100% - 22px) / 2);
  }
}

@media (max-width: 760px) {
  .etwc-lista {
    gap: 16px;
  }

  .etwc-evento {
    flex: 0 0 82%;
    max-width: 82%;
  }
}

.etwc-evento-imagem {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.etwc-evento-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.etwc-evento-data {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  padding: 8px 12px;
  text-align: center;
  font-family: 'CommunityGothic', sans-serif;
  line-height: 1;
}

/* Evento de vários dias: as duas datas no mesmo bloco, empilhadas por
   um traço. O bloco cresce para baixo, sobre a imagem. */
.etwc-data-intervalo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px 10px;
}

.etwc-data-intervalo .etwc-data-ate {
  font-size: 0.6875rem;
  line-height: 1;
  color: #52565e;
}

.etwc-dia {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: #000;
}

.etwc-data-intervalo .etwc-dia {
  font-size: 1.25rem;
}

.etwc-mes {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #000;
}

.etwc-evento-corpo {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* A fonte do evento: pequena, em maiúsculas, discreta. */
.etwc-evento-fonte {
  margin: 0 0 6px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #52565e;
}

.etwc-evento-titulo {
  margin: 0 0 8px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 1.25rem;
  line-height: 25px;
  font-weight: 400;
}

.etwc-evento-titulo a {
  color: #000;
  text-decoration: none;
}

.etwc-evento-titulo a:hover {
  text-decoration: underline;
}

.etwc-evento-hora,
.etwc-evento-sessoes {
  margin: 0;
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 0.9375rem;
  line-height: 21px;
  color: #444;
}

.etwc-evento-corpo .etwc-compra {
  margin-top: auto;
  align-self: flex-start;
}

/* Setas à esquerda, ligação à agenda à direita, na mesma linha. */
.etwc-rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.etwc-setas {
  display: flex;
  gap: 8px;
  margin: 0;
}

.etwc-ver-agenda {
  font-family: 'CommunityGothic', sans-serif;
  font-size: 0.9375rem;
  letter-spacing: 0.5px;
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.etwc-ver-agenda:hover,
.etwc-ver-agenda:focus-visible {
  border-bottom-color: #000;
}

.etwc-seta {
  width: 38px;
  height: 38px;
  border: 1px solid #231f20;
  border-radius: 50%;
  background: transparent;
  color: #231f20;
  font-size: 0.9375rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.etwc-seta:hover,
.etwc-seta:focus-visible {
  background: #231f20;
  color: #fff;
}

.etwc-seta[disabled] {
  opacity: 0.25;
  cursor: default;
}

/* Esconde as setas quando não há JavaScript para as usar. */
.etwc-programa:not(.etwc-js) .etwc-setas {
  display: none;
}

/* A secção seguinte já traz 110 px de respiro próprios. Aqui retira-se
   parte, para o intervalo entre o carrossel e o texto ficar equilibrado
   com o que existe acima do título (80 px). */
.section-programacao + .section-fazcultura {
  padding-top: 70px;
}

@media (max-width: 760px) {
  .section-programacao + .section-fazcultura {
    padding-top: 50px;
  }
}

/* Evento já passado na home: mais apagado, mas sem baixar o contraste do
   texto. A opacidade no contentor punha o texto abaixo do mínimo. */
.etwc-passado .etwc-evento-imagem {
  opacity: 0.55;
}

.etwc-passado .etwc-evento-titulo a,
.etwc-passado .etwc-evento-hora,
.etwc-passado .etwc-evento-sessoes,
.etwc-passado .etwc-evento-fonte {
  color: #52565e;
}

/* ===================================================================
   PÁGINA DE EVENTO
   Cartaz em grande com o título por cima, texto à esquerda e a ficha
   prática à direita. As cores e a tipografia são as do resto do site.
   =================================================================== */

.fc-evento {
  padding-top: 110px;
}

.fc-evento-topo {
  position: relative;
  background-color: #231f20;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 90px 0 80px;
}

/* Sem imagem, o cabeçalho fica mais baixo e sem gradiente escuro. */
.fc-evento-topo:not(.fc-evento-topo-com-imagem) {
  background-color: #fdb5b5;
  color: #000;
  padding: 70px 0 60px;
}

@media (min-width: 768px) {
  .fc-evento-topo.fc-evento-topo-com-imagem {
    padding: 160px 0 120px;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
  }
}

.fc-evento-topo-conteudo {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.fc-evento-fonte {
  margin: 0 0 14px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}

.fc-evento-titulo {
  margin: 0 0 22px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 2.875rem;
  line-height: 1.1;
  font-weight: 400;
  color: inherit;
}

@media (max-width: 760px) {
  .fc-evento-titulo {
    font-size: 1.875rem;
    line-height: 1.15;
  }
}

.fc-evento-quando {
  margin: 0 0 30px;
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.4;
  opacity: 0.95;
}

.fc-evento-quando .fc-evento-hora {
  display: inline-block;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid currentColor;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 1.25rem;
}

.fc-evento-accoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Botões claros sobre a imagem escura */
.fc-evento .button-white {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.fc-evento .button-white:hover {
  background: transparent;
  color: #fff;
}

.fc-evento .button-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.fc-evento .button-outline-light:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Quando o cabeçalho não tem imagem, o fundo é claro */
.fc-evento-topo:not(.fc-evento-topo-com-imagem) .button-white {
  background: #231f20;
  border-color: #231f20;
  color: #fff;
}

.fc-evento-topo:not(.fc-evento-topo-com-imagem) .button-outline-light {
  border-color: #231f20;
  color: #231f20;
}

/* ---------- Corpo ---------- */

.fc-evento-corpo {
  padding-top: 80px;
  padding-bottom: 100px;
}

.fc-evento-texto {
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #231f20;
}

.fc-evento-texto p + p {
  margin-top: 1em;
}

/* Ficha prática */
.fc-evento-ficha {
  border: 1px solid #e2e6ea;
  padding: 36px 32px 34px;
  background: #fff;
}

.fc-evento-ficha-titulo {
  margin: 0 0 22px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #52565e;
  font-weight: 400;
}

.fc-evento-ficha-titulo-sessoes {
  margin-top: 34px;
}

.fc-evento-dados {
  margin: 0;
}

.fc-evento-dados dt {
  font-family: 'CommunityGothic', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #52565e;
  margin-top: 16px;
}

.fc-evento-dados dt:first-child {
  margin-top: 0;
}

.fc-evento-dados dd {
  margin: 4px 0 0;
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #231f20;
}

.fc-evento-sessoes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fc-evento-sessoes li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eef0f2;
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 1.0625rem;
  color: #231f20;
}

.fc-evento-sessoes li:last-child {
  border-bottom: 0;
}

.fc-sessao-hora {
  font-family: 'CommunityGothic', sans-serif;
  color: #000;
}

.fc-evento-ficha-botao {
  margin-top: 28px;
  width: 100%;
  text-align: center;
}

@media (max-width: 760px) {
  .fc-evento {
    padding-top: 70px;
  }

  .fc-evento-topo {
    padding: 60px 0 50px;
  }

  .fc-evento-corpo {
    padding-top: 50px;
    padding-bottom: 60px;
  }

  .fc-evento-ficha {
    padding: 28px 24px 26px;
  }

  .fc-evento-texto {
    font-size: 1.125rem;
  }
}


/* ===================================================================
   AGENDA COMPLETA
   Todos os eventos, em grelha, com filtro por nome. Os cartões seguem o
   desenho da home para não haver duas linguagens visuais.
   =================================================================== */

.fc-agenda {
  padding-top: 110px;
}

.fc-agenda-topo {
  padding: 40px 0 10px;
}

.fc-agenda-titulo {
  margin: 0 0 10px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 2.875rem;
  line-height: 1.1;
  font-weight: 400;
  color: #000;
}

.fc-agenda-sub {
  margin: 0;
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 1.0625rem;
  color: #52565e;
}

.fc-agenda-sep {
  margin: 0 6px;
  color: #c8ccd2;
}

.fc-agenda-corpo {
  padding-top: 30px;
  padding-bottom: 100px;
}

/* Filtro */
.fc-agenda-filtro {
  margin: 0 0 40px;
  max-width: 420px;
}

.fc-agenda-filtro label {
  display: block;
  margin-bottom: 6px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #52565e;
}

.fc-agenda-filtro-linha {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.fc-agenda-filtro input {
  flex: 1;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d8dce2;
  background: #fff;
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 1rem;
  color: #231f20;
}

.fc-agenda-filtrar {
  padding: 0 22px;
  border: 1px solid #231f20;
  background: #231f20;
  color: #fff;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.fc-agenda-filtrar:hover,
.fc-agenda-filtrar:focus-visible {
  background: #fff;
  color: #231f20;
}

.fc-agenda-filtro input:focus {
  outline: 2px solid #231f20;
  outline-offset: 1px;
}

.fc-agenda-sem,
.fc-agenda-vazio {
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 1.0625rem;
  color: #52565e;
  padding: 20px 0;
}

/* Grelha */
.fc-agenda-grelha {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 28px;
}

@media (max-width: 1100px) {
  .fc-agenda-grelha {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .fc-agenda-grelha {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .fc-agenda-grelha {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Cartão */
.fc-agenda-item {
  display: flex;
  flex-direction: column;
}

.fc-agenda-imagem {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f2f3f5;
}

.fc-agenda-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.fc-agenda-item:hover .fc-agenda-imagem img {
  transform: scale(1.03);
}

/* Data no canto, como nos cartões da home */
.fc-agenda-data {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 10px 10px;
  background: #fff;
  font-family: 'CommunityGothic', sans-serif;
  line-height: 1;
}

.fc-agenda-dia {
  font-size: 1.5rem;
  color: #000;
}

.fc-agenda-data-intervalo .fc-agenda-dia {
  font-size: 1.25rem;
}

.fc-agenda-mes {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #000;
}

.fc-agenda-ate {
  font-size: 0.6875rem;
  color: #52565e;
}

/* Informação */
.fc-agenda-info {
  padding: 16px 0 0;
}

.fc-agenda-fonte {
  margin: 0 0 5px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #52565e;
}

.fc-agenda-nome {
  margin: 0 0 8px;
  font-family: 'CommunityGothic', sans-serif;
  font-size: 1.25rem;
  line-height: 25px;
  font-weight: 400;
}

.fc-agenda-nome a {
  color: #000;
  text-decoration: none;
}

.fc-agenda-nome a:hover {
  text-decoration: underline;
}

.fc-agenda-quando,
.fc-agenda-sessoes {
  margin: 0;
  font-family: 'PlantinMTPro', Georgia, serif;
  font-size: 0.9375rem;
  line-height: 21px;
  color: #444;
}

.fc-agenda-local {
  color: #52565e;
}

/* O que já passou fica mais apagado, mas legível. A opacidade no
   contentor baixava o contraste do texto todo abaixo do mínimo; aqui
   escurece-se só a imagem e o texto fica numa cor que ainda passa. */
.fc-agenda-passado .fc-agenda-imagem {
  opacity: 0.55;
}

.fc-agenda-passado .fc-agenda-nome a,
.fc-agenda-passado .fc-agenda-quando,
.fc-agenda-passado .fc-agenda-fonte,
.fc-agenda-passado .fc-agenda-sessoes {
  color: #52565e;
}

.fc-agenda-passado .fc-agenda-data {
  opacity: 0.7;
}

@media (max-width: 760px) {
  .fc-agenda {
    padding-top: 70px;
  }

  .fc-agenda-titulo {
    font-size: 2rem;
  }

  .fc-agenda-corpo {
    padding-bottom: 60px;
  }
}
