body.ed-news #opening.ed-journal-heading {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  min-height: clamp(300px, 45svh, 530px);
  padding: 48px var(--ed-gutter);
  gap: 12px;
  text-align: center;
  background: #edf1e2;
}

.ed-news #opening .journal-landscape {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

body.ed-news #opening.ed-journal-heading::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  transform: none;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 20%), rgb(250 249 240 / 63%) 51%, transparent 95%);
}

body.ed-news #opening.ed-journal-heading h1 {
  max-width: 100%;
  margin: 0;
  color: #20251e;
  font-size: clamp(36px, 3.4vw, 60px);
  line-height: 1.23;
  overflow-wrap: anywhere;
}

body.ed-news #opening.ed-journal-heading > p {
  margin: 0;
  padding: 0;
  max-width: 34em;
  color: #30372c;
  font-size: 15px;
  line-height: 1.6;
}

.ed-news #updates .ed-news-grid:not(.is-filtered) .ed-news-card:not(.ed-news-feature, [hidden]) {
  display: flex;
  align-self: stretch;
}

.ed-news #updates .ed-news-grid:not(.is-filtered) .ed-news-card:not(.ed-news-feature) > a,
.ed-news #updates .ed-news-grid:not(.is-filtered) .ed-news-card:not(.ed-news-feature) > a > div {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}

.ed-news #updates .ed-news-card .ed-photo { flex: none; }

.ed-news #updates .ed-news-grid:not(.is-filtered) .ed-news-card:not(.ed-news-feature) .ed-news-read {
  margin-top: auto;
}

.ed-news #updates .ed-news-grid:not(.is-filtered) .ed-news-card:not(.ed-news-feature) > a > div > p:not(.ed-news-meta) {
  margin-bottom: 26px;
}

.ed-news #updates .ed-news-feature.journal-film-card .ed-photo {
  aspect-ratio: 2.55;
  max-height: 60svh;
}

@media (max-width: 760px) {
  body.ed-news #opening.ed-journal-heading {
    min-height: clamp(225px, 34svh, 320px);
    gap: 8px;
    padding: 36px 22px;
  }
  body.ed-news #opening.ed-journal-heading h1 { font-size: 34px; }
  body.ed-news #opening.ed-journal-heading > p { font-size: 14px; }
  .ed-news #updates .ed-news-feature.journal-film-card .ed-photo {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}

/* Keep the portrait award photograph legible in landscape news cards. */
.ed-news #updates .ed-news-card .ed-photo img[src$="/legacy-records/article-119.jpg"],
.ed-news-detail .ed-article-photo img[src$="/legacy-records/article-119.jpg"] {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(8px, 1.2vw, 18px);
  background: #f4f1eb;
  object-fit: contain;
  object-position: center;
  transform: none;
}
.ed-news #updates .ed-news-card .ed-photo img[src$="/legacy-records/article-119.jpg"] {
  height: 100%;
}
.ed-news-detail .ed-article-photo img[src$="/legacy-records/article-119.jpg"] {
  height: clamp(360px, 68svh, 760px);
  aspect-ratio: auto;
}

/* Show all four edges of the two certificates, including the dated seals. */
.ed-news #updates .ed-news-card .ed-photo img:is([src$="/document-197.jpg"], [src$="/document-206.jpg"]) {
  object-fit: contain;
  object-position: center;
  background: #f4f1eb;
  transform: none;
}
.ed-news-detail .ed-article-photo img:is([src$="/document-197.jpg"], [src$="/document-206.jpg"]) {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
