/* Article-only navigation. No shared reading, comments, hero or report rules. */
.bp-story-layout {
  --bp-block-green: #386650;
  --bp-block-terracotta: #b64d2c;
  --bp-block-border: #dce4dc;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 308px;
  grid-template-areas: "main sidebar" "related related";
  column-gap: 48px;
  row-gap: var(--bp-section-space, 64px);
  align-items: start;
}

.bp-story-layout > .bp-story-main-column {
  grid-area: main;
  min-width: 0;
}

.bp-story-layout > .bp-story-main-column > :is(.bp-entry-content, .bp-single-footer, .bp-comments) {
  width: 100%;
  max-width: 820px;
  margin-inline: 0;
}

.bp-story-layout > .bp-story-main-column > .bp-single-footer {
  margin-top: 24px;
}

.bp-story-layout > .bp-related {
  grid-area: related;
  min-width: 0;
  padding-top: 32px;
  border-top: 1px solid var(--bp-block-border);
}

.bp-story-layout > .bp-story-sidebar {
  grid-area: sidebar;
  min-width: 0;
  align-self: stretch;
  padding-top: var(--bp-content-start-space, 64px);
}

.bp-story-layout.bp-story-layout--no-reports {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "main" "related";
}

.bp-story-layout--no-reports > .bp-story-main-column {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.bp-story-layout .bp-block-kicker {
  margin: 0 0 10px;
  color: var(--bp-block-green);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.bp-story-layout .bp-block-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 44px;
  color: var(--bp-block-green);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 5px;
}

.bp-story-layout .bp-block-all-link:hover {
  color: var(--bp-block-terracotta);
  text-decoration: underline;
}

.bp-story-layout .bp-block-all-link :is(svg, .bp-link-arrow) {
  flex-shrink: 0;
}

.bp-story-layout a:focus-visible {
  outline: 3px solid var(--bp-block-terracotta);
  outline-offset: 5px;
}

.bp-story-layout .bp-related-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 25px;
}

.bp-story-layout .bp-related-heading > div {
  min-width: 0;
}

.bp-story-layout .bp-related-heading h2 {
  margin: 0;
  color: var(--bp-ink, #202322);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.bp-story-layout .bp-related-heading > .bp-block-all-link {
  flex-shrink: 0;
}

.bp-story-layout .bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bp-story-layout .bp-related-card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--bp-block-border);
  border-radius: 14px;
  background: #fff;
  transition: border-color .18s ease;
}

.bp-story-layout .bp-related-card-link {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  border-radius: inherit;
  color: var(--bp-ink, #202322);
  text-decoration: none;
}

.bp-story-layout .bp-related-card:hover {
  border-color: #a5b8a8;
}

.bp-story-layout .bp-related-card-link:hover {
  color: var(--bp-ink, #202322);
}

.bp-story-layout .bp-related-card-link:focus-visible {
  outline: 3px solid var(--bp-block-terracotta);
  outline-offset: 5px;
}

.bp-story-layout .bp-related-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 13px 13px 0 0;
  background: #edf1eb;
}

.bp-story-layout .bp-related-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.bp-story-layout .bp-related-card-link:hover .bp-related-image > img {
  transform: scale(1.025);
}

.bp-story-layout .bp-related-card-body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px 22px 23px;
}

.bp-story-layout .bp-related-meta {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 14px;
  margin: 0 0 12px;
  color: var(--bp-muted, #676d6b);
  font-size: 11px;
  line-height: 1.5;
}

.bp-story-layout .bp-related-meta > :first-child {
  color: var(--bp-block-green);
  font-weight: 500;
}

.bp-story-layout .bp-related-meta > :last-child {
  white-space: nowrap;
}

.bp-story-layout .bp-related-card h3 {
  margin: 0 0 12px;
  color: var(--bp-ink, #202322);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  transition: color .18s ease;
}

.bp-story-layout .bp-related-card-link:hover h3 {
  color: var(--bp-block-terracotta);
}

.bp-story-layout .bp-related-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0 0 20px;
  color: var(--bp-muted, #676d6b);
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.bp-story-layout .bp-related-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--bp-block-green);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.bp-story-layout .bp-story-reports {
  position: sticky;
  top: calc(var(--bp-header-height, 96px) + 22px);
  padding: 25px 23px 18px;
  border: 1px solid var(--bp-block-border);
  border-top: 3px solid var(--bp-block-green);
  border-radius: 14px;
  background: #f4f6f1;
}

.bp-story-layout .bp-story-reports h2 {
  margin: 0 0 13px;
  color: var(--bp-ink, #202322);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.bp-story-layout .bp-story-reports-intro {
  margin: 0 0 20px;
  color: var(--bp-muted, #676d6b);
  font-size: 12px;
  line-height: 1.75;
}

.bp-story-layout .bp-story-report-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bp-story-layout .bp-story-report-list > li {
  margin: 0;
  padding: 0;
  border-top: 1px solid #dce4d8;
}

.bp-story-layout .bp-story-report-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 14px;
  align-items: start;
  gap: 10px;
  min-height: 44px;
  padding: 17px 0;
  border-radius: 5px;
  color: var(--bp-ink, #202322);
  text-decoration: none;
}

.bp-story-layout .bp-story-report-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  margin-top: 1px;
  border-radius: 8px;
  background: #e6ede2;
  color: var(--bp-block-green);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.bp-story-layout .bp-story-report-copy {
  min-width: 0;
}

.bp-story-layout .bp-story-report-month {
  display: block;
  color: var(--bp-ink, #202322);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bp-story-layout .bp-story-report-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 6px 0 8px;
  color: var(--bp-muted, #676d6b);
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.bp-story-layout .bp-story-report-state {
  display: inline-block;
  color: var(--bp-block-green);
  font-size: 10px;
  line-height: 1.6;
}

.bp-story-layout .bp-story-report-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  color: var(--bp-block-green);
  transition: transform .18s ease;
}

.bp-story-layout .bp-story-report-arrow svg {
  width: 14px;
  height: 14px;
}

.bp-story-layout .bp-story-report-link:hover .bp-story-report-month {
  color: var(--bp-block-terracotta);
}

.bp-story-layout .bp-story-report-link:hover .bp-story-report-arrow {
  transform: translateX(2px);
}

.bp-story-layout .bp-story-reports > .bp-block-all-link {
  width: 100%;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid #dce4d8;
}

@media (max-width: 1100px) {
  .bp-story-layout,
  .bp-story-layout.bp-story-layout--no-reports {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "related" "sidebar";
    row-gap: 48px;
  }

  .bp-story-layout.bp-story-layout--no-reports {
    grid-template-areas: "main" "related";
  }

  .bp-story-layout > .bp-story-main-column {
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
  }

  .bp-story-layout > .bp-story-sidebar {
    padding-top: 0;
  }

  .bp-story-layout .bp-story-reports {
    position: static;
    padding: 26px 28px 18px;
  }

  .bp-story-layout .bp-story-report-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }

  .bp-story-layout .bp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* A tall sticky box must not trap its bottom links on a short screen. */
@media (min-width: 1101px) and (max-height: 920px) {
  .bp-story-layout .bp-story-reports {
    position: static;
  }
}

@media (max-width: 680px) {
  .bp-story-layout,
  .bp-story-layout.bp-story-layout--no-reports {
    row-gap: 38px;
  }

  .bp-story-layout > .bp-related {
    padding-top: 26px;
  }

  .bp-story-layout .bp-related-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .bp-story-layout .bp-related-heading h2 {
    font-size: 27px;
  }

  .bp-story-layout .bp-related-heading > .bp-block-all-link {
    min-height: 36px;
  }

  .bp-story-layout .bp-related-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .bp-story-layout .bp-related-card-body {
    padding: 19px 20px 22px;
  }

  .bp-story-layout .bp-related-card h3 {
    font-size: 21px;
  }

  .bp-story-layout .bp-story-reports {
    padding: 22px 20px 15px;
  }

  .bp-story-layout .bp-story-reports h2 {
    font-size: 25px;
  }

  .bp-story-layout .bp-story-report-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .bp-story-layout .bp-story-report-month {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .bp-story-layout .bp-related-card-body {
    padding: 17px 16px 20px;
  }

  .bp-story-layout .bp-story-reports {
    padding-inline: 16px;
  }

  .bp-story-layout .bp-story-report-link {
    grid-template-columns: 26px minmax(0, 1fr) 12px;
    gap: 8px;
  }

  .bp-story-layout .bp-story-report-number {
    min-width: 26px;
    min-height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-story-layout .bp-related-card,
  .bp-story-layout .bp-related-image > img,
  .bp-story-layout .bp-related-card h3,
  .bp-story-layout .bp-story-report-arrow {
    transition: none;
  }

  .bp-story-layout .bp-related-card-link:hover .bp-related-image > img,
  .bp-story-layout .bp-story-report-link:hover .bp-story-report-arrow {
    transform: none;
  }
}

@media print {
  .bp-story-layout,
  .bp-story-layout.bp-story-layout--no-reports {
    display: block;
    width: 100%;
  }

  .bp-story-layout > .bp-story-main-column,
  .bp-story-layout > .bp-story-main-column > :is(.bp-entry-content, .bp-single-footer, .bp-comments) {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .bp-story-layout > .bp-related,
  .bp-story-layout > .bp-story-sidebar {
    display: none;
  }
}
