/* One compact header scale for editable inner-page banners, with room to grow
   for wrapped titles, translated copy and larger user text. */
:root {
  --page-header-height: 256px;
  --page-header-padding: 32px;
  --page-header-content-gap: 32px;
  --page-header-photo-radius: 12px;
}
.page-content .inner-hero {
  padding-block: var(--page-header-padding);
}
.page-content .inner-hero-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: calc(var(--page-header-height) - 2 * var(--page-header-padding));
  gap: 48px;
}
.page-content .inner-hero-grid.no-image {
  display: flex;
  align-items: center;
}
.page-content .inner-hero-copy {
  min-width: 0;
}
.page-content .inner-hero-grid.no-image > .inner-hero-copy {
  width: 100%;
  max-width: none;
}
.page-content .inner-hero-copy .eyebrow {
  margin-bottom: 12px !important;
}
.page-content .inner-hero-copy h1 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.page-content .inner-hero-copy .lead {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 0;
}
.page-content .inner-hero-image {
  width: 320px;
  max-width: 100%;
  height: 208px;
  border-radius: var(--page-header-photo-radius);
  overflow: hidden;
  justify-self: center;
}
.page-content .inner-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* The banner already provides breathing room; avoid a second full section gap. */
.page-content .inner-hero + .section {
  padding-top: var(--page-header-content-gap);
}
/* News indexes retain a banner height; property titles fit their content
   so the home photographs follow the summary without an empty banner area. */
body .journal-index-heading,
body .home-listing-header {
  padding-block: var(--page-header-padding);
}
body .journal-index-heading {
  min-height: var(--page-header-height);
}
body .journal-index-heading h1,
body .home-listing-header h1 {
  max-width: none;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.15;
  margin-block: 0 16px;
}
@media (min-width: 1000px) {
  body .journal-index-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    column-gap: 48px;
    align-content: center;
  }
  body .journal-index-heading > :is(.eyebrow, h1, .lead) {
    grid-column: 1;
  }
  body .journal-index-heading > .lead {
    margin-bottom: 0;
  }
  body .journal-index-heading > .journal-search {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 720px) {
  :root {
    --page-header-height: 224px;
    --page-header-padding: 24px;
    --page-header-content-gap: 24px;
  }
  .page-content .inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-content .inner-hero-image {
    width: 100%;
  }
  .page-content .inner-hero-copy h1,
  body .journal-index-heading h1,
  body .home-listing-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .page-content .inner-hero-copy .lead {
    font-size: 15px;
  }
}

/* A logo is displayed intact, outside the shared photographic frame. */
.inner-hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-hero-brand img {
  width: 160px;
  height: auto;
}
@media (max-width: 720px) {
  .page-content .inner-hero-grid.has-brand {
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 16px;
  }
  .inner-hero-brand img {
    width: 64px;
  }
}
