/* The archive image abuts the About hero. Only remove the inherited figure
   inset: the photograph, focal point, aspect ratio and caption remain intact. */
body[data-page="about"] main > .about-hero + figure.panorama {
  padding-block-start: 0;
}

/* These are destination links, not ARIA tabs or primary action buttons.
   Keep the existing desktop layout; the phone uses one quiet editorial index. */
@media (max-width: 700px) {
  body[data-page="about"] main > nav.organization-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin-block: 4px 14px;
    border-block-end: 1px solid rgba(170, 194, 212, .27);
  }
  body[data-page="about"] #main > nav.organization-shortcuts > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: .4rem .2rem .55rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #c6d5df;
    font-size: .875rem !important;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
    transform: none;
    transition: none;
  }
  body[data-page="about"] #main > nav.organization-shortcuts > a[aria-current] {
    color: #f3d6a8;
  }
  body[data-page="about"] #main > nav.organization-shortcuts > a[aria-current]::after {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    inset-block-end: -1px;
    inline-size: 1.5rem;
    block-size: 2px;
    background: currentColor;
    transform: translateX(-50%);
  }
  @media (hover:hover) {
    body[data-page="about"] #main > nav.organization-shortcuts > a:hover {
      color: #fff;
      text-decoration: underline;
      text-underline-offset: .24em;
    }
  }
  body[data-page="about"] #main > nav.organization-shortcuts > a:is(:active:where(:not([data-miva-touch-pending])),.is-touch-pressed,.is-interaction-pressed) {
    color: #fff !important;
    background: #142637 !important;
    box-shadow: none !important;
    transform: none;
  }
  body[data-page="about"] #main > nav.organization-shortcuts > a:focus-visible {
    outline: 2px solid #e6eff7;
    outline-offset: -3px;
    box-shadow: none;
  }
  @media (forced-colors:active) {
    body[data-page="about"] #main > nav.organization-shortcuts > a[aria-current]::after {
      background: CanvasText;
    }
  }
}

/* The four links stay in document flow. At the smallest widths use two
   rows so committee labels remain readable even with enlarged text. */
@media (max-width: 359px) {
  body[data-page="about"] main > nav.organization-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 701px) {
  body[data-page="about"] main > nav.organization-shortcuts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.5rem, 2vw, 2rem);
    padding-block: 0;
  }
  body[data-page="about"] #main > nav.organization-shortcuts > a {
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    background: transparent;
    border: 0;
    border-block-end: 1px solid #b5d5e638;
    border-radius: 0;
    padding: .35rem 0;
  }
  body[data-page="about"] #main > nav.organization-shortcuts > a[aria-current] {
    color: #f3d6a8;
    border-color: currentColor;
  }
}
body[data-page="about"] #main :is(#purpose,#association,#committees-2027,#competition-2027,#gala-2027,#organization-entry,#organization-page-title) {
  scroll-margin-block-start: clamp(88px, 13vh, 132px);
}
