.news-detail {
  --story-content-width: 48rem;
}

.news-detail .rise-page-intro {
  padding-block: clamp(32px, 4.5vw, 64px);
  background: #eef3ed;
  color: #173c31;
  border-bottom: 1px solid #dce6db;
}

.news-detail .rise-page-intro > .rise-wrap,
.news-detail #story > .rise-wrap {
  box-sizing: content-box;
  max-width: var(--story-content-width);
  text-align: start;
}

.news-detail :is(.rise-page-title, .rise-page-lede, .story-copy) {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.news-detail .rise-page-intro .rise-eyebrow {
  margin-bottom: .65rem;
  color: #315e50;
}

.news-detail .rise-page-title {
  margin-bottom: 0;
  color: #173c31;
  font-size: clamp(1.75rem, 3.6vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -.025em;
}

.news-detail .rise-page-lede {
  margin-top: .95rem;
  margin-bottom: 0;
  color: #3e5a50;
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
}

.news-detail #story {
  padding-block: clamp(28px, 4.25vw, 58px) clamp(40px, 5.6vw, 70px);
}

.news-detail #story .rise-section-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.news-detail #story .story-feature {
  display: block;
}

.news-detail .story-copy {
  margin-block-end: 1.05em;
  color: #355047;
  font-size: clamp(1.0625rem, 1.45vw, 1.1875rem);
  line-height: 1.65;
}

.news-detail .story-list {
  padding-inline-start: 1.3rem;
}

.news-detail .story-list > li + li {
  margin-block-start: .55rem;
}

.news-detail .story-list > li::marker {
  color: var(--rise-green);
}

.news-detail .story-list .story-copy {
  margin-block-end: 0;
}

.news-detail .story-copy a {
  color: #124c40;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.news-detail .story-copy-line {
  display: block;
}

.news-detail .story-copy-line ~ .story-copy-line {
  margin-top: .55em;
}

.news-detail .story-copy-bullet {
  padding-inline-start: 1.1em;
  text-indent: -1.1em;
}

.news-detail .story-copy-line + br {
  display: none;
}

@media (min-width: 480px) and (max-width: 991.98px) and (max-height: 520px) and (orientation: landscape) {
  .news-detail .rise-page-intro {
    padding-block: clamp(14px, 4vh, 20px);
  }

  .news-detail .rise-page-lede {
    margin-top: .7rem;
  }

  .news-detail #story {
    padding-block-start: 18px;
  }

  .news-detail #story .rise-section-title {
    margin-bottom: .85rem;
  }
}

@media (min-width: 480px) and (max-width: 991.98px) and (max-height: 320px) and (orientation: landscape) {
  .news-detail .rise-page-intro {
    padding-block: 8px;
  }

  .news-detail .rise-page-intro .rise-eyebrow {
    margin-bottom: .4rem;
  }

  .news-detail .rise-page-lede {
    margin-top: .45rem;
  }

  .news-detail #story {
    padding-block-start: 12px;
  }
}

.story-media {
  --story-media-gap: clamp(12px, 1.6vw, 20px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: var(--story-media-gap);
  max-width: var(--story-content-width);
  margin: clamp(22px, 3vw, 38px) auto;
}

.story-media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: var(--story-media-gap);
}

.story-figure {
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
}

.story-media-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
}

.story-figure-academic .story-media-frame,
.story-figure-document .story-media-frame {
  padding: clamp(8px, 1.3vw, 14px);
  background: #f4f7f3;
  border: 1px solid #dce6da;
}

.news-detail #story .story-media-frame .story-image {
  display: block;
  max-width: 100%;
  max-height: min(34rem, 75vh);
  width: auto !important;
  height: auto;
  margin: 0;
  border-radius: 4px;
}

.news-detail #story .story-figure-academic .story-image,
.news-detail #story .story-figure-document .story-image {
  max-height: none;
}

.story-figure figcaption {
  margin: .55rem 0 0;
  color: #53665d;
  font-size: .875rem;
  line-height: 1.45;
}

@media (min-width: 700px) {
  .story-media:not(.story-media-arranged) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-media:not(.story-media-arranged) > :is(:only-child, .story-figure-academic) {
    grid-column: 1 / -1;
  }

  .story-media-row-paired {
    grid-template-columns: minmax(0, var(--story-first-column)) minmax(0, var(--story-second-column));
    width: 100%;
    max-width: calc(var(--story-pair-width) + var(--story-media-gap));
    margin-inline: auto;
  }

  .story-media-row-paired .story-figure {
    width: 100%;
  }

  .news-detail #story .story-media-row-paired .story-image {
    width: 100% !important;
    max-height: none;
  }
}

.story-actions {
  margin-top: clamp(22px, 3vw, 38px);
  padding-top: 1rem;
  border-top: 1px solid #dbe5dd;
}

.rise-site .story-actions .story-back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .8rem;
  border: 1px solid #cddbd2;
  border-radius: .375rem;
  background-color: #f4f7f3;
  color: var(--rise-green);
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.rise-site .story-actions a.story-back-link > .rise-link-label {
  text-decoration: none;
}

.rise-site .story-actions a.story-back-link > .rise-link-arrow {
  margin-inline: 0;
}

.rise-site .story-actions .story-back-link:hover {
  border-color: #9db7a7;
  background-color: #e8f0e8;
  color: var(--rise-green);
}

.rise-site .story-actions .story-back-link:focus-visible {
  outline: 2px solid var(--rise-green);
  outline-offset: 3px;
}

.story-photo-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.story-photo-button::after {
  position: absolute;
  right: .45rem;
  bottom: .45rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: .35rem;
  background: #124c40;
  color: #fff;
  content: '+';
  font-size: 1.2rem;
  line-height: 1;
}

.story-photo-button:focus-visible,
.story-photo-close:focus-visible,
.story-photo-original:focus-visible {
  outline: 3px solid #53945c;
  outline-offset: -3px;
}

.story-photo-dialog {
  max-width: min(76rem, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: clamp(.625rem, 3vw, 1rem);
  overscroll-behavior: contain;
  border: 1px solid #dbe5dd;
  border-radius: 8px;
  background: #fff;
  color: #0c342b;
}

.story-photo-dialog::backdrop {
  background: rgb(4 27 21 / 76%);
}

.story-photo-dialog form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: .5rem .75rem;
  margin-bottom: .75rem;
}

.story-photo-original {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  color: #124c40;
  font-weight: 600;
  text-underline-offset: .2em;
}

.story-photo-close {
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid #becfc2;
  border-radius: .35rem;
  background: #fff;
  color: #124c40;
  font: inherit;
  cursor: pointer;
}

.story-photo-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  max-height: calc(100dvh - 8rem);
  margin-inline: auto;
  object-fit: contain;
}

@media (min-width: 480px) and (max-width: 991.98px) and (max-height: 360px) and (orientation: landscape) {
  .story-photo-dialog[open] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "image actions";
    align-items: start;
    gap: 12px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 10px;
  }

  .story-photo-dialog form {
    grid-area: actions;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 0;
  }

  .story-photo-original {
    margin-right: 0;
  }

  .story-photo-dialog img {
    grid-area: image;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
  }
}
