/* TESTE: retrato maior na abertura, dissolvendo em degradê.
   Só mexe na foto. Para voltar, remova a linha que carrega este arquivo no index.html
   e "foto-abertura" em ferramentas/gerar_paginas.py. */

/* luz suave atrás dela */
.abertura .retrato::before { content: ""; position: absolute; top: -4%; bottom: 0; left: -18%; right: -30%; pointer-events: none;
  background: radial-gradient(ellipse 48% 56% at 48% 42%, rgba(236,180,95,.24), rgba(151,40,82,.26) 42%, transparent 72%); }

.abertura .retrato img { top: 3%; bottom: auto; left: -4%; right: auto; width: auto; max-width: none; height: 150%;
  -webkit-mask-image: linear-gradient(180deg, #000 43%, rgba(0,0,0,.65) 54%, transparent 64.5%);
          mask-image: linear-gradient(180deg, #000 43%, rgba(0,0,0,.65) 54%, transparent 64.5%);
  filter: none; }  /* sombra projetada deixaria uma borda reta junto com a máscara */

/* telas menores de computador: a coluna é estreita, a foto cresce um pouco menos */
@media (min-width: 981px) and (max-width: 1300px) {
  .abertura .retrato img { top: 8%; left: -8%; height: 128%;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, rgba(0,0,0,.65) 61%, transparent 71.5%);
            mask-image: linear-gradient(180deg, #000 50%, rgba(0,0,0,.65) 61%, transparent 71.5%); }
}

@media (max-width: 980px) {
  .abertura .retrato::before { left: 0; right: 0; }
  .abertura .retrato img { top: 2%; left: 50%; height: 146%; translate: -46% 0;
    -webkit-mask-image: linear-gradient(180deg, #000 46%, rgba(0,0,0,.65) 57%, transparent 67%);
            mask-image: linear-gradient(180deg, #000 46%, rgba(0,0,0,.65) 57%, transparent 67%); }
}
