/* Editorial media, language continuity and sharing. */
.page-hero--editorial .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}
.page-hero--editorial .apc-editorial-hero-media {
  width: 100%;
  max-width: 520px;
  min-height: clamp(320px, 38vw, 520px);
  aspect-ratio: .92;
  margin: 0;
  justify-self: end;
  border-radius: 50% 50% 46% 54% / 56% 43% 57% 44%;
}
.page-hero--editorial .apc-editorial-hero-media .apc-native-post__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.apc-news-language-switch {
  display: flex;
  width: min(1040px, 100%);
  min-height: 44px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.apc-news-language-switch > span:first-child {
  margin-right: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.apc-news-language-switch a,
.apc-news-language-switch .is-missing {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-900, var(--navy-1000));
  background: var(--white);
  font-size: 12px;
  text-decoration: none;
}
.apc-news-language-switch a:hover,
.apc-news-language-switch a:focus-visible {
  border-color: var(--orange-600);
  box-shadow: 0 0 0 3px rgba(243, 146, 0, .13);
}
.apc-news-language-switch .is-current {
  border-color: var(--navy-1000);
  color: var(--white);
  background: var(--navy-1000);
}
.apc-news-language-switch .is-missing { opacity: .45; }
.apc-news-language-switch .apc-language-flag { width: 20px; height: 14px; }

.apc-share-tools {
  padding: clamp(30px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper-cool);
}
.apc-share-tools__inner {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.8fr);
  gap: 28px 50px;
  align-items: center;
}
.apc-share-tools__inner > div:first-child p { margin: 0; }
.apc-share-tools__inner > div:first-child .eyebrow { margin-bottom: 5px; }
.apc-share-tools__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.apc-share-tools__links a,
.apc-share-tools__links button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-900, var(--navy-1000));
  background: var(--white);
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.apc-share-tools__links a:hover,
.apc-share-tools__links a:focus-visible,
.apc-share-tools__links button:hover,
.apc-share-tools__links button:focus-visible {
  border-color: var(--orange-600);
  transform: translateY(-1px);
}
.apc-share-tools__links span[aria-hidden="true"] {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-1000);
  font-size: 10px;
  font-weight: 900;
}
.apc-share-tools__links .apc-share-tools__rss span { background: var(--orange-600); }
.apc-share-tools__status {
  grid-column: 2;
  min-height: 18px;
  margin: -18px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.apc-legacy-notice {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}
.apc-legacy-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 46, .76);
  backdrop-filter: blur(6px);
}
.apc-legacy-notice__dialog {
  position: relative;
  width: min(560px, 100%);
  box-sizing: border-box;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 36px 100px rgba(0, 24, 42, .38);
}
.apc-legacy-notice__dialog h2 { margin: 5px 0 14px; color: var(--navy-1000); }
.apc-legacy-notice__dialog > p:not(.eyebrow) { margin: 0 0 26px; color: var(--ink-soft); }
.apc-legacy-notice__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--navy-1000);
  background: var(--paper-cool);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.apc-legacy-notice__dialog > .button--primary {
  position: static;
  width: auto;
  height: auto;
  padding: 12px 19px;
  border: 1px solid var(--orange-600);
  font-size: 13px;
}
body.apc-legacy-notice-open { overflow: hidden; }

@media (max-width: 920px) {
  .page-hero--editorial .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero--editorial .apc-editorial-hero-media {
    width: min(520px, 100%);
    min-height: 300px;
    justify-self: start;
  }
  .apc-share-tools__inner { grid-template-columns: 1fr; }
  .apc-share-tools__links { justify-content: flex-start; }
  .apc-share-tools__status { grid-column: 1; margin-top: -16px; text-align: left; }
}
@media (max-width: 520px) {
  .page-hero--editorial .apc-editorial-hero-media { min-height: 260px; border-radius: 28px 28px 46% 28px; }
  .apc-share-tools__links a,
  .apc-share-tools__links button { flex: 1 1 calc(50% - 8px); justify-content: center; }
  .apc-legacy-notice { padding: 12px; }
  .apc-legacy-notice__dialog { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .apc-share-tools__links a,
  .apc-share-tools__links button { transition: none; }
}
