.lead-grid-single, .listing-feature-text { grid-template-columns: minmax(0, 1fr); }
.photo-frame { overflow: hidden; background: #e7edf2; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.lead .photo-frame { position: absolute; inset: 0; z-index: -1; }
.secondary-story .photo-frame { min-height: 0; }
.secondary-text { display: flex; align-items: end; background: #edf2f6; }
.desk-lead .photo-frame, .reading-photo .photo-frame { aspect-ratio: 2.25; border-radius: 4px; }
.listing-feature-media .photo-frame { position: absolute; inset: 0; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding-block: 16px; border-block: 1px solid var(--line); }
.article-share__label { font-size: .85rem; font-weight: 700; margin-right: 4px; }
.article-share__button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid #c3ced8; border-radius: 4px; background: #fff; color: var(--navy); font: 700 .85rem/1.2 var(--body-font); text-decoration: none; cursor: pointer; }
.article-share__button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.article-share__status { flex-basis: 100%; font-size: .85rem; color: var(--muted); }
.article-share__status:empty { display: none; }
.article-share__url { flex-basis: 100%; min-width: 0; max-width: 100%; padding: 10px; border: 1px solid var(--line); font: inherit; }
.reading-body > * + * { margin-top: 1em; }
.reading-body h2, .reading-body h3 { line-height: 1.2; }
.reading-body blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--orange); }
.reading-body a { text-underline-offset: .18em; }
.reading-byline { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.reading-byline strong { color: var(--ink); }
.reading-gallery { margin-top: 35px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 16px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: #e7edf2; }
.gallery-grid figcaption { margin-top: .4rem; color: var(--muted); font-size: .86rem; }
.article-action, .portal-pagination { margin-top: 1.2rem; font-weight: 700; }
.portal-pagination { display: flex; flex-wrap: wrap; gap: 20px; }
.portal-video-link { display: inline-block; margin: .6rem .65rem; text-underline-offset: .25em; }
.page-heading p { margin-top: .7rem; color: var(--muted); }
.empty-content { color: var(--muted); padding-block: 14px; }
.breadcrumb-list li { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .secondary-story .photo-frame { aspect-ratio: 16 / 10; }
  .secondary-text { align-items: start; }
}

.gallery-photo-link { display: block; border-radius: 4px; cursor: zoom-in; }
.gallery-photo-link:focus-visible { outline-offset: 4px; }
html:has(.photo-viewer[open]) { overflow: hidden; }
.photo-viewer {
  width: min(1080px, calc(100% - 24px));
  height: min(820px, calc(100% - 24px));
  height: min(820px, calc(100dvh - 24px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #526779;
  border-radius: 10px;
  background: #0c1725;
  color: #fff;
  box-shadow: 0 14px 52px #071019a0;
}
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.photo-viewer::backdrop { background: #060f1ad9; }
.photo-viewer-bar, .photo-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  padding: .45rem .65rem;
  background: #122339;
}
.photo-viewer-count { padding-inline: .25rem; font-size: .86rem; font-weight: 700; }
.photo-viewer-frame {
  display: grid;
  min-height: 0;
  min-width: 0;
  padding: 6px;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.photo-viewer-frame img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-viewer-caption {
  flex: 1;
  min-width: 0;
  max-height: 22vh;
  overflow: auto;
  margin: 0;
  padding: .15rem .25rem;
  color: #e7edf5;
  text-align: center;
  overflow-wrap: anywhere;
  font-size: .88rem;
}
.photo-viewer-footer:has(.photo-viewer-caption:empty):not(:has(button)) { display: none; }
.photo-viewer-button {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0;
  border: 1px solid #536b81;
  border-radius: 6px;
  background: #1b3147;
  color: #fff;
  cursor: pointer;
}
.photo-viewer-button:hover { border-color: #ffa566; color: #ffa566; }
.photo-viewer-button:focus-visible { outline-color: #ffa566; outline-offset: 2px; }
.photo-viewer-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 540px) {
  .photo-viewer { width: calc(100% - 12px); height: calc(100dvh - 12px); }
  .photo-viewer-frame { padding: 3px; }
}
