/* Ordinary reading/navigation links within the selected Ulimi design system. */
.ux-shortcuts {
  display:flex; flex-wrap:wrap; align-items:center; gap:4px 24px;
  margin:20px 0 0; padding:0; color:inherit;
}
.ux-context-link {
  display:inline-flex; align-items:center; min-height:44px; max-width:100%;
  padding:8px 0; color:inherit; font:600 14px/1.5 Inter,sans-serif;
  text-decoration:none; text-wrap:pretty; overflow-wrap:anywhere;
}
.ux-context-link:hover { opacity:.75; }
.ux-context-link:focus-visible {
  outline:2px solid currentColor; outline-offset:5px;
}
.audit-home .ux-studio-context {
  max-width:55ch; margin:24px auto 4px; color:inherit;
  font:400 17px/1.65 Inter,sans-serif; text-wrap:pretty;
}
.audit-home .about-agency-content > .ux-shortcuts { justify-content:center; }
.audit-home .hero-agency .audit-hero-title { display:block; }

/* Move, rather than repeat, the original article facts ahead of its artwork. */
main.main-wrapper[data-subpage-hero] .ux-article-opening .audit-hero-copy { gap:0; }
main.main-wrapper[data-subpage-hero] .ux-article-opening .ux-article-metadata {
  width:100%; margin:18px 0 0; color:#29372d;
}
main.main-wrapper[data-subpage-hero] .ux-article-opening .journal-head-meta {
  display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:center;
  gap:4px 16px; margin:0; padding:0;
  color:inherit; font:500 13px/1.5 Inter,sans-serif;
}
main.main-wrapper[data-subpage-hero] .ux-article-opening .journal-author {
  display:block; width:100%; margin:6px 0 0; padding:0;
  color:inherit;
}
main.main-wrapper[data-subpage-hero] .ux-article-opening .journal-author-name {
  margin:0; font:500 13px/1.5 Inter,sans-serif;
}
main.main-wrapper[data-subpage-hero] .ux-article-opening .audit-hero-summary { margin:24px 0 0; }
main.main-wrapper[data-subpage-hero] .audit-page-hero .ux-shortcuts { margin:20px 0 0; }
#article-reading-start, #article-contents { scroll-margin-top:104px; }
#article-reading-start:focus { outline:none; }

main.main-wrapper[data-subpage-design="themes"] .ux-theme-index-jump { margin-top:12px; }

/* Keep the brief, actual inquiry and its action together after the shared hero. */
main.main-wrapper[data-subpage-design="theme"][data-subpage-hero] .audit-hero-context {
  padding-block:clamp(24px, 3vw, 44px);
}
main.main-wrapper[data-subpage-design="theme"] .audit-hero-context .audit-hero-context-meta {
  align-items:center; row-gap:4px; margin-bottom:16px;
}
main.main-wrapper[data-subpage-design="theme"] .audit-hero-context-meta .detail-crumb-link {
  display:inline-flex; align-items:center; min-height:44px;
}
main.main-wrapper[data-subpage-design="theme"] .audit-hero-context .audit-hero-context-heading { margin-bottom:12px; }
main.main-wrapper[data-subpage-design="theme"] .audit-hero-context .u-inquiry .detail-eyebrow { margin-bottom:10px; }
main.main-wrapper[data-subpage-design="theme"] .audit-hero-context .audit-inquiry-example { margin-top:16px; padding-top:12px; }
main.main-wrapper[data-subpage-design="theme"] .audit-hero-context .ux-theme-limits {
  margin-top:12px; color:var(--u-muted); font-size:14px;
}
main.main-wrapper[data-subpage-design="theme"] .ux-theme-enquiry {
  display:inline-flex; align-items:center; gap:14px; max-width:100%; min-height:44px;
  margin-top:16px; padding:6px 6px 6px 16px;
  background:#29372d; color:#f3f2e9; border-radius:999px;
  font:600 14px/1.35 Inter,sans-serif; text-decoration:none;
}
main.main-wrapper[data-subpage-design="theme"] .ux-theme-enquiry:hover { background:#526247; }
main.main-wrapper[data-subpage-design="theme"] .ux-theme-enquiry-mark {
  display:block; flex:0 0 32px; height:32px; background:#aebca0; border-radius:50%;
}
.audit-hero-context .ux-theme-support {
  margin:28px 0 0; padding:24px 0 0;
  border-top:1px solid rgba(41,55,45,.24);
}
.audit-hero-context .ux-theme-support h3 {
  margin:0 0 12px; color:inherit; font:700 20px/1.25 Syne,sans-serif;
  letter-spacing:-.02em;
}
.audit-hero-context .ux-theme-support .ux-shortcuts { margin-top:12px; }
main.main-wrapper[data-subpage-design="theme"] .audit-theme-navigation > a {
  min-height:44px; align-content:center;
}
main.main-wrapper[data-subpage-design="theme"] .u-related .container-large > .button.is-link {
  min-height:44px; margin:12px 0 0; padding-inline:0;
}
.ux-cross-page-link { margin:24px 0 0; padding:0; color:inherit; }

/* Keep the active underline visible when the native hover animation ends. */
.nav_link.ux-current-route .nav-text { font-weight:700; }
.nav_link.ux-current-route .link_line { transform:scaleX(1) !important; }
.nav-overlay-link.ux-current-route .nav-overlay-link-text {
  text-decoration:underline .08em var(--dark-grey-color);
  text-underline-offset:.22em;
}
@media(max-width:991px) {
  .nav_link.ux-current-route .nav-text {
    text-decoration:underline .12em #687951;
    text-underline-offset:.22em;
  }
}
@media(max-width:767px) {
  .ux-shortcuts { column-gap:20px; }
  .audit-home .ux-studio-context { max-width:35ch; font-size:16px; }
  main.main-wrapper[data-subpage-hero] .audit-page-hero .ux-shortcuts { margin-top:16px; }
  main.main-wrapper[data-subpage-design="theme"] .u-related .journal-card-agency {
    display:grid; grid-template-columns:clamp(72px, 26vw, 108px) minmax(0, 1fr);
    align-items:start; gap:14px;
  }
  main.main-wrapper[data-subpage-design="theme"] .u-related .journal-card-agency-image-wrap {
    width:100%; aspect-ratio:1; border-radius:12px;
  }
  main.main-wrapper[data-subpage-design="theme"] .u-related .journal-card-agency-body { min-width:0; padding:0; }
  main.main-wrapper[data-subpage-design="theme"] .u-related .journal-card-agency-title {
    font-size:clamp(17px, 4.5vw, 20px); text-wrap:pretty; overflow-wrap:anywhere;
  }
  main.main-wrapper[data-subpage-design="theme"] .u-related .journal-card-agency-body > .text-size-regular { margin-top:8px; }
}
/* The Journal intro repeats the hero and is withdrawn. Keep a quiet paper
   gap between the hero and the unchanged publication heading/cards. */
main.main-wrapper[data-subpage-design="articles"] .detail-section.is-flush.u-journal-listing {
  padding-top:64px; background:#f3f2e9;
}
@media(max-width:767px) {
  main.main-wrapper[data-subpage-design="articles"] .detail-section.is-flush.u-journal-listing { padding-top:48px; }
}
