/* Catedral Anglicana — V1.0.20
   Foto do Instituto Anglicano à frente do banner da Home.
   Escurecimento neutro discreto, sem sobreposição de efeitos roxos. */
.hero.cathedral-hero.cathedral-hero-instituto {
  isolation:isolate;
  background-position:center 48%;
}
/* Esta regra sobrescreve a remoção do overlay da V1.0.14,
   com uma única película preta leve para favorecer a leitura. */
.hero.cathedral-hero.cathedral-hero-instituto::before {
  content:"";
  display:block;
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:rgba(8, 11, 20, .28);
}
.hero.cathedral-hero.cathedral-hero-instituto .hero-content {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(250px,315px);
  align-items:center;
  column-gap:clamp(30px,4vw,74px);
  width:100%;
}
.hero.cathedral-hero.cathedral-hero-instituto .hero-copy {
  width:100%;
  max-width:770px;
  min-width:0;
  position:relative;
  z-index:2;
}
.hero.cathedral-hero.cathedral-hero-instituto .hero-caption {
  z-index:3;
}
.hero-instituto-feature {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  width:100%;
  max-width:315px;
  justify-self:end;
  background:#fff;
  padding:7px;
  border-radius:13px;
  box-shadow:0 24px 64px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.22);
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  transition:transform .25s ease,box-shadow .25s ease;
  position:relative;
  z-index:3;
}
.hero-instituto-feature img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:363 / 543;
  object-fit:contain;
  object-position:center;
  background:#f4f0f2;
  border-radius:8px 8px 2px 2px;
}
.hero-instituto-feature-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:46px;
  padding:10px 13px 7px;
  background:#251755;
  border-radius:0 0 7px 7px;
  color:#fff;
  font:600 12px/1.4 var(--font-catedral-titulos,Georgia,serif);
  letter-spacing:.025em;
}
.hero-instituto-feature-link span {font-size:20px;line-height:1;}
.hero-instituto-feature:hover,.hero-instituto-feature:focus-visible {
  transform:translateY(-5px);
  box-shadow:0 28px 70px rgba(0,0,0,.47),0 0 0 2px #f9e9f0;
}
.hero-instituto-feature:focus-visible {outline:3px solid #fff;outline-offset:4px;}

@media (max-width:1100px) and (min-width:801px) {
  .hero.cathedral-hero.cathedral-hero-instituto .hero-content {
    grid-template-columns:minmax(0,1fr) minmax(220px,260px);
    gap:24px;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-copy h1 {
    font-size:clamp(47px,5.7vw,65px);
  }
}
@media (max-width:800px) {
  .hero.cathedral-hero.cathedral-hero-instituto {height:auto;min-height:0;}
  .hero.cathedral-hero.cathedral-hero-instituto .hero-content {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:30px;
    padding-top:67px;
    padding-bottom:95px;
  }
  .hero.cathedral-hero.cathedral-hero-instituto .hero-copy {
    max-width:100%;
    margin:0;
    padding:0;
  }
  .hero-instituto-feature {
    width:min(100%,280px);
    max-width:280px;
    align-self:center;
    justify-self:center;
  }
  .hero.cathedral-hero.cathedral-hero-instituto::before {
    background:rgba(8,11,20,.34);
  }
}
@media (max-width:440px) {
  .hero.cathedral-hero.cathedral-hero-instituto .hero-content {
    padding-top:50px;
    padding-bottom:90px;
  }
  .hero-instituto-feature {width:min(100%,248px);}
  .hero-instituto-feature-link {font-size:11px;}
}
@media (prefers-reduced-motion:reduce) {
  .hero-instituto-feature {transition:none;}
  .hero-instituto-feature:hover {transform:none;}
}
