/* ASM & SHAREHOLDER CENTER PAGES: guide hero, "On this page" sidebar, single content column */

.asm-shareholder-page {
  background-color: var(--color-surface-subtle);
}

/* LAYOUT */

.asm-shareholder-page__layout {
  display: grid;
  width: min(100% - 2.5rem, var(--layout-content-max-width));
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
  padding-bottom: clamp(4rem, 6vw, 6rem);
  align-items: start;
  gap: 2rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .asm-shareholder-page__layout {
    width: min(100% - 8rem, var(--layout-content-max-width)); /* same rail as the guide hero copy */
    grid-template-columns: 12.5rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    padding-top: 4rem;
  }
}

.asm-shareholder-page__contents {
  min-width: 0;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .asm-shareholder-page__contents {
    position: sticky;
    top: 10rem;
  }
}

.asm-shareholder-page .article-contents {
  background-color: transparent;
}

.asm-shareholder-page__body {
  min-width: 0;
}

/* LONGFORM BLOCKS INSIDE THE COLUMN */

.asm-shareholder-page__body .longform-content {
  padding-top: 0;
  padding-bottom: 3rem;
  overflow: visible;
  background-color: transparent;
  scroll-margin-top: 10rem;
}

.asm-shareholder-page__body .longform-rich-text {
  width: 100%;
  margin: 0;
}

.asm-shareholder-page__body .longform-rich-text__prose {
  max-width: 48rem;
}

.asm-shareholder-page__body .longform-rich-text__prose:has(.info-table) {
  max-width: none; /* stockholder and dividend tables use the full column */
}

.asm-shareholder-page__body .longform-rich-text__prose:has(.info-table) > :not(.info-table) {
  max-width: min(100%, 48rem);
}

/* Charts retain their intrinsic size and a fixed light plate in both themes. */
.asm-shareholder-page__body .longform-figure--content {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.asm-shareholder-page__body .longform-figure--content .longform-figure__image {
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background-color: var(--color-surface-fixed-light);
}

.asm-shareholder-page__body .longform-figure__caption {
  padding-left: 0;
  padding-right: 0;
}

/* DOCUMENT LIST */

.asm-shareholder-page__body .content-builder-list {
  width: 100%;
  margin: 0;
  padding-top: 0;
  padding-bottom: 3rem;
  background-color: transparent;
  scroll-margin-top: 10rem;
}

.asm-shareholder-page__body .content-builder-list > * {
  width: 100%;
  max-width: 48rem;
  margin-left: 0;
  margin-right: 0;
}

.asm-shareholder-page__body .content-builder-list ul {
  display: grid;
  padding-left: 0;
  gap: 0;
  border-top: 1px solid var(--color-border-default);
  list-style: none;
}

.asm-shareholder-page__body .content-builder-list li {
  border-bottom: 1px solid var(--color-border-default);
}

.asm-shareholder-page__body .content-builder-list a {
  display: flex;
  min-height: 3rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  align-items: center;
  color: var(--color-interactive);
  font-weight: 600;
}

/* FILE LIBRARY */

.asm-shareholder-page__body .investor-disclosures {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 3rem;
  overflow: visible;
  background: transparent; /* the column already sits on the page surface */
}

.asm-shareholder-page__body .investor-disclosures__inner {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
