/* A readable church emblem and the patron saint in the existing about section. */
.brand .church-mark {
  display: block;
  flex: 0 0 auto;
  width: 92px;
  height: 69px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-header .brand,
.footer .brand,
.menu-brand { gap: 14px; }

.site-header .brand-name,
.footer .brand-name,
.menu-brand .brand-name {
  color: #3e494c;
  font: 600 1.75rem/1.15 var(--sans);
  letter-spacing: -.04em;
}

.site-header .brand-location,
.footer .brand-location,
.menu-brand .brand-location {
  color: #49796c;
  margin-top: 5px;
  font: 500 .75rem/1.35 var(--sans);
  letter-spacing: .02em;
}

.home-page .header-inner,
.inner-page .header-inner {
  width: min(1320px, calc(100% - 64px));
  gap: 22px;
}

.home-page .desktop-nav,
.inner-page .desktop-nav { gap: 20px; }
.site-header .desktop-nav a { font-size: .875rem; }
.site-header .header-actions { flex-shrink: 0; }
.site-header .header-donate { white-space: nowrap; }

.about {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(48px, 6vw, 90px);
}

.about-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .85fr);
  gap: 24px;
  padding: 0;
  isolation: isolate;
}

.about-photo {
  grid-area: 1 / 1 / 2 / 3;
  height: clamp(390px, 35vw, 490px);
  margin-right: 48px;
  border-radius: 4px;
}

.about-photo img { object-position: 52% center; }

.about-note {
  grid-area: 2 / 1;
  position: static;
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 12px;
  font: 400 .9375rem/1.65 var(--sans);
  color: #52665c;
}
.about-note .icon { width: 23px; height: 34px; }

.matrona-portrait {
  grid-area: 1 / 2 / 3 / 3;
  align-self: end;
  justify-self: end;
  z-index: 1;
  width: 100%;
  max-width: 242px;
  margin: 0;
  padding: 10px 10px 12px;
  border: 1px solid #ddd7c8;
  border-radius: 3px;
  background: #fffdf8;
  box-shadow: 0 12px 30px #2c3b2f18;
}

.matrona-portrait > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  /* Show the complete icon, including the halo and original border. */
  object-fit: contain;
}

.matrona-portrait figcaption { padding: 12px 1px 0; text-align: center; }
.matrona-caption {
  display: block;
  color: #36584e;
  font: 400 .875rem/1.5 var(--sans);
}
.matrona-caption strong { font-weight: 600; }
.matrona-credit {
  display: block;
  margin-top: 8px;
  color: #62695f;
  font: 400 .75rem/1.55 var(--sans);
}
.matrona-credit a { text-decoration: underline; text-underline-offset: 3px; }
.matrona-credit a:hover { color: #36584e; }

.about-copy { min-width: 0; }
.about-copy > p { font-size: 1rem; }
.about-copy > .lead { font-size: 1.125rem; }

/* Remove the remaining italic shorthands from the previous design. */
em, .hero-location, .about-note, .life-top > span, .help-side p {
  font-style: normal;
}

@media (max-width: 1440px) {
  .site-header .header-telegram { display: none; }
  .home-page .desktop-nav, .inner-page .desktop-nav { gap: 16px; }
}

@media (max-width: 1280px) {
  .home-page .desktop-nav, .inner-page .desktop-nav { display: none; }
  .site-header .menu-button { display: flex; }
  .site-header .header-telegram { display: inline-flex; }
}

@media (max-width: 960px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .about-visual { width: min(630px, 100%); justify-self: center; }
  .about-copy { grid-row: auto; width: min(680px, 100%); justify-self: center; }
  .about-photo { height: 460px; }
}

@media (max-width: 700px) {
  .home-page .header-inner, .inner-page .header-inner {
    width: calc(100% - 32px);
    gap: 12px;
  }
  .site-header .brand .church-mark { width: 68px; height: 51px; }
  .site-header .brand, .menu-brand { gap: 10px; }
  .site-header .brand-name, .menu-brand .brand-name { font-size: 1.4rem; }
  .site-header .brand-location, .menu-brand .brand-location {
    font-size: .75rem;
    letter-spacing: 0;
  }
  .site-header .header-telegram { display: none; }
  .site-header .header-donate { display: none; }
  .menu-brand .church-mark { width: 60px; height: 45px; }
  .footer .church-mark { width: 78px; height: 59px; }
  .footer .brand { gap: 10px; }
  .footer .brand-name { font-size: 1.5rem; }
  .footer-main { gap: 24px 10px; }
  .about-visual {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 46%);
    gap: 18px 16px;
    margin-bottom: 0;
  }
  .about-photo { height: 360px; margin-right: 28px; }
  .about-note { font-size: .875rem; line-height: 1.7; }
  .about-note .icon { display: none; }
  .matrona-portrait { padding: 7px 7px 10px; }
  .matrona-portrait figcaption { padding-top: 10px; }
  .matrona-credit { margin-top: 6px; }
  .about { gap: 34px; }
  .about-copy > .lead { font-size: 1.0625rem; }
  .about-copy > p { font-size: 1rem; }
  .about-copy .text-link { font-size: .875rem; }
}

@media (max-width: 360px) {
  .site-header .brand .church-mark { width: 58px; height: 44px; }
  .site-header .brand-name { font-size: 1.3rem; }
  .about-photo { height: 320px; }
  .footer-main .brand { width: 100%; }
  .footer-top { margin-left: 0; }
}

@media print {
  .about-visual { display: none; }
}
