/* Keep the navigation over the full-height opening image on public pages. */
.public-page, .gallery-page { position: relative; }
.public-page > .gallery-page-header,
.gallery-page > .gallery-page-header {
  position: absolute;
  z-index: 15;
  inset: 0 0 auto;
  background: transparent;
}
.public-page > .public-page-hero { min-height: 412px; padding-top: 160px; }
.gallery-page > .gallery-page-hero { min-height: 467px; padding-top: 157px; }
.contact-page > .contact-page-hero { min-height: 412px; padding: 160px 0 70px; color: #fff; background: #071c65; }
.contact-page-hero::before,
.agenda-page-hero::before { background: linear-gradient(90deg,rgba(3,15,68,.96),rgba(8,29,91,.86) 48%,rgba(3,16,68,.48)),url("fachada-reitoria-atual.jpg") center 48%/cover; }
.contact-page-hero-copy { width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.contact-page-hero h1 { max-width: 820px; margin: 11px 0 10px; font: 400 clamp(2.7rem,5.5vw,4.7rem)/1.02 var(--serif); letter-spacing: -.045em; }
.contact-page-hero p,
.contact-page-hero .contact-page-hero-lead { max-width: 620px; margin: 0 0 20px; color: rgba(255,255,255,.9); font: 400 .94rem/1.65 var(--sans); }
.contact-page-hero-actions { margin: 22px 0 12px; }

#reitoria-sao-miguel { position: relative; display: block; min-height: 400px; }
#reitoria-sao-miguel .reitoria-feature-copy { position: relative; z-index: 1; width: 63%; min-height: 400px; }
#reitoria-sao-miguel .reitoria-feature-symbol { position: absolute; inset: 0 0 0 auto; display: block; width: 70%; min-height: 0; padding: 0; background: none; }
#reitoria-sao-miguel .reitoria-feature-symbol::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#fff 0%,#fff 32%,rgba(255,255,255,.98) 40%,rgba(255,255,255,.9) 44%,rgba(255,255,255,.4) 51%,transparent 62%); }
#reitoria-sao-miguel .reitoria-feature-symbol img { width: 100%; height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: center; border: 0; border-radius: 0; box-shadow: none; }

@media (max-width: 760px) {
  #reitoria-sao-miguel .reitoria-feature-copy { width: 100%; min-height: 0; }
  #reitoria-sao-miguel .reitoria-feature-symbol { position: relative; inset: auto; width: 100%; height: 320px; }
  #reitoria-sao-miguel .reitoria-feature-symbol::after { background: linear-gradient(180deg,#fff 0%,rgba(255,255,255,.5) 12%,transparent 35%); }
}

@media (max-width: 720px) {
  .public-page > .public-page-hero { min-height: 380px; padding-top: 140px; }
  .gallery-page > .gallery-page-hero { min-height: 425px; padding-top: 140px; }
  .contact-page > .contact-page-hero { min-height: 0; padding-top: 140px; }
}
