/* Compact sharing and responsive News heroes. */
.apc-share-tools__links {
  overflow: visible;
  gap: 10px;
}
.apc-share-tools__links .apc-share-action {
  position: relative;
  display: inline-grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  min-height: 42px;
  place-items: center;
  gap: 0;
  padding: 0;
  border-radius: 50%;
}
.apc-share-tools__links .apc-share-action > span[aria-hidden="true"] {
  width: 28px;
  height: 28px;
  font-size: 11px;
  letter-spacing: -.02em;
}
.apc-share-tools__links .apc-share-action--email > span[aria-hidden="true"] { font-size: 13px; }
.apc-share-tools__links .apc-share-action--linkedin > span[aria-hidden="true"] { font-size: 9px; }
.apc-share-tools__links .apc-share-action--facebook > span[aria-hidden="true"] { font-size: 14px; }
.apc-share-tools__links .apc-share-action--instagram > span[aria-hidden="true"],
.apc-share-tools__links .apc-share-action--whatsapp > span[aria-hidden="true"] { font-size: 15px; }
.apc-share-tools__links .apc-share-action--tiktok > span[aria-hidden="true"] { font-size: 14px; }
.apc-share-tools__links .apc-share-action::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: min(190px, calc(100vw - 32px));
  padding: 7px 9px;
  color: var(--white);
  background: var(--navy-1000);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(0,25,43,.2);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity .14s ease, transform .14s ease;
}
.apc-share-tools__links .apc-share-action:hover::after,
.apc-share-tools__links .apc-share-action:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* The attached narrow view is tablet-sized: keep the editorial image beside
   the title there, but reduce it to the requested one-third column. */
@media (min-width: 681px) and (max-width: 920px) {
  .page-hero--editorial .page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr);
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
  }
  .page-hero--editorial .apc-editorial-hero-media {
    width: 100%;
    max-width: 240px;
    min-height: 0;
    aspect-ratio: .88;
    justify-self: end;
    border-radius: 48% 52% 44% 56% / 55% 43% 57% 45%;
  }
  .page-hero--editorial .apc-editorial-hero-media .apc-native-post__image {
    height: 100%;
    min-height: 0;
  }
}

/* On actual phone widths, News archive and article heroes are text-only. */
@media (max-width: 680px) {
  body.apc-key-news .page-hero .apc-page-art,
  .page-hero--editorial .apc-editorial-hero-media {
    display: none;
  }
  .page-hero--editorial .page-hero__inner {
    display: block;
  }
  .apc-share-tools__links .apc-share-action {
    flex: 0 0 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apc-share-tools__links .apc-share-action::after { transition: none; }
}
