/* v2.3.85 — Editorial composition alignment (development presentation only).
   Purpose: preserve the wide home hero; establish a comfortable interior heading
   inset; bring home Buildings and History copy closer to its paired visual.
   No navigation, content, font, imagery, JavaScript or metadata changes. */

@media (min-width: 951px) {
  :root {
    /* At 1440px: ~155px from the viewport edge instead of ~82px wordmark inset. */
    --dv85-editorial-heading-inset: clamp(90px, 10.8vw, 160px);
    --dv85-places-copy-offset: clamp(38px, 4.5vw, 68px);
  }

  /* Buildings, People and History: label, heading and introduction remain
     on a single common vertical axis.  Never constrain the main homepage H1. */
  .dvp45 .dv45-page-hero > .dv45-wrap {
    max-width: none;
    margin-inline: 0;
    padding-left: var(--dv85-editorial-heading-inset);
    padding-right: var(--dv84-inner-left, var(--dv78-layout-inset));
  }

  /* Stories and historical article headers share the same editorial rhythm. */
  .dvp43.dvp44-editorial .dvp43-story-intro,
  .dvp44-editorial .dv-hist .hh-inner-head {
    padding-left: var(--dv85-editorial-heading-inset);
    padding-right: var(--dv84-inner-left, var(--dv78-layout-inset));
  }

  /* Places has an accompanying photograph: move the entire copy group,
     not just the H1, without moving the image out of its grid. */
  .dvp48 .dvp48-index-hero .dvp48-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(34px, 4vw, 68px);
  }
  /* Preserve the intentional two-line Places headline when the copy column
     receives its inset; avoid leaving the final word alone on line three. */
  .dvp48 .dvp48-index-hero h1 {
    font-size: clamp(58px, 6.1vw, 112px) !important;
  }
  .dvp48 .dvp48-index-hero .dvp48-grid > :first-child {
    min-width: 0;
    padding-left: var(--dv85-places-copy-offset);
  }

  /* Interior place records: group the eyebrow, H1, and lead copy together;
     keep the full-width place image aligned to the existing editorial grid. */
  .dvp48 .dvp48-profile-heading {
    padding-left: var(--dv85-places-copy-offset);
  }
}

/* On the homepage only, the original 9vw gaps visually detached Buildings
   and History text from the adjacent photograph / selected-dates panel. */
@media (min-width: 761px) {
  .dvp44-home .dv68-buildings-home .dv44-life-grid,
  .dvp44-home .dv68-history-home .dv44-history-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    gap: clamp(34px, 4.3vw, 70px);
  }
}
@media (min-width: 900px) {
  .dvp44-home .dv68-buildings-home .dv44-life-heading,
  .dvp44-home .dv68-history-home .dv44-history-copy {
    padding-left: clamp(32px, 4.6vw, 68px);
  }
}

/* Maintain the existing stacked mobile layouts and original comfortable side
   margins. No 'desktop tab' is carried into the phone-sized composition. */
@media (max-width: 950px) {
  .dvp45 .dv45-page-hero > .dv45-wrap,
  .dvp43.dvp44-editorial .dvp43-story-intro,
  .dvp44-editorial .dv-hist .hh-inner-head {
    padding-left: var(--dv84-inner-left, var(--dv78-layout-inset, 22px));
    padding-right: var(--dv84-inner-left, var(--dv78-layout-inset, 22px));
  }
}
