/* Keep article-specific comp details isolated from the other science pages. */
#MainContent:has(.amyloid-beta-references) {
  .wp-hero {
    position: relative;
  }

  .wp-hero__headline {
    text-wrap: balance;
  }

  .wp-hero__back {
    color: var(--wp-coral);
    left: 4.4rem;
    position: absolute;
    top: 3rem;
    z-index: 2;
  }

  .wp-figure:not(:has(img)) {
    display: none;
  }

  .wp-table-section .wp-measure {
    max-width: var(--wp-measure);
  }

  .wp-table__box {
    background: color-mix(in srgb, var(--wp-ecru) 35%, var(--wp-coral));
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  .wp-table {
    border: 1px solid var(--wp-mushroom);
    table-layout: fixed;
  }

  .wp-table__col-head,
  .wp-table__row-head,
  .wp-table__cell {
    border: 1px solid var(--wp-mushroom);
    font-family: var(--wp-font-body);
    font-size: 1.4rem;
    font-weight: var(--weight-medium);
    letter-spacing: normal;
    line-height: 1.5;
    overflow-wrap: break-word;
    padding: 1.2rem;
    text-transform: none;
    vertical-align: top;
  }

  .wp-table__col-head {
    background: var(--wp-ecru);
    font-weight: var(--weight-bold);
  }

  .wp-table__caption {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .wp-prose--where-bevimi-fits .wp-prose__copy {
    border-block: 1px solid var(--wp-espresso);
    padding-block: 4.2rem;
  }

  .wp-references {
    padding-bottom: 12rem;
  }

  @media screen and (max-width: 749px) {
    .wp-figure__image--crop {
      height: auto;
    }
  }

  @media screen and (min-width: 750px) {
    .wp-hero {
      padding-top: 3rem;
    }

    .wp-hero__back {
      left: 9rem;
      top: 7rem;
    }

    .wp-hero__content {
      max-width: 110rem;
    }

    .wp-body > * + h3 {
      margin-top: 8rem;
    }

    .wp-prose:has(#what-is-amyloid-beta) .wp-prose__inner {
      gap: 8rem;
    }

    .wp-table-section .wp-heading {
      font-size: 2.4rem;
    }

    .wp-references {
      padding-bottom: 24rem;
    }
  }

  @media screen and (max-width: 989px) {
    .wp-table--scroll {
      min-width: 64rem;
    }

    .wp-table--scroll .wp-table__row-head {
      background: color-mix(in srgb, var(--wp-ecru) 35%, var(--wp-coral));
      position: static;
      z-index: auto;
    }
  }
}
