/* R5: full-site layout corrections, 2026-11-10. Copy and media unchanged. */
/* Let long bilingual role values wrap instead of increasing the grid's minimum width. */
.longi-story > * { min-width: 0; }
.longi-meta__label { flex-shrink: 0; }
.longi-meta__value { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.longi-meta__row { padding-block: 12px; }
/* Source note shares the results module's content width. */
.jetour-results > p {
  width: min(90vw, 1280px);
  margin: 0 auto 26px;
  color: rgba(245,247,251,.86);
  font-size: 14px;
  line-height: 1.8;
}
/* Grid children and long English words must respect the legal page gutters. */
.legal-page .content-hero { grid-template-columns: minmax(0, 1fr); }
.legal-page .content-hero > * { min-width: 0; overflow-wrap: anywhere; }
.legal-page .content-body a { overflow-wrap: anywhere; }
/* Each article action is a distinct wrapping target, separated from the copy. */
.dynamic-article-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 30px; }
.dynamic-article-links a { display: inline-block; max-width: 100%; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .case-scroll-cue { display: none; }
  .dynamic-article-links { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dynamic-article-links a { padding-block: 4px; }
}
/* A solid surface separates fixed navigation from scrolling body text. */
html.aero-layout-scrolled :is(header.nav, .byd-nav, .jetour-nav, .eastbay-header, .vivo-nav, .gaode-nav, .longi-nav, .aero-unified-nav) {
  background: #070707 !important;
}
/* The original footer used 3–8px non-wrapping text. Keep every line readable. */
#aero-site-icp-footer {
  position: relative; inset: auto; width: 100%; padding: 28px 24px;
  background: #070707; color: #a9a9a5; font-size: 12px; line-height: 1.7;
  gap: 10px; pointer-events: auto;
}
#aero-site-icp-footer > * {
  max-width: 1100px; white-space: normal; overflow-wrap: anywhere;
  font-size: inherit; line-height: inherit; color: inherit;
}
#aero-site-icp-footer a { display: inline-block; max-width: 100%; }
html.aero-layout-home, html.aero-layout-home body { overflow-y: auto; }
@media (max-width: 760px) {
  #aero-site-icp-footer { padding: 28px 20px calc(100px + env(safe-area-inset-bottom)); font-size: 11px; }
  .aero-mobile-nav:not(.is-open)::before {
    content: ''; position: absolute; z-index: -1; width: 100vw;
    height: calc(76px + env(safe-area-inset-bottom)); left: 50%; bottom: calc(-1 * max(14px, env(safe-area-inset-bottom)));
    transform: translateX(-50%); background: #070707; border-top: 1px solid #ffffff1a;
    pointer-events: none;
  }
}

/* The added outdoor-advertising paragraph is one full grid row, not one of 12 columns. */
.byd-assets > p { grid-column: 1 / -1; min-width: 0; max-width: 900px; line-height: 1.8; }
.byd-assets > p:not(.byd-kicker) { margin: 0 0 22px; font-size: 15px; color: #c7c5c0; }
/* Card labels must fit inside their own image rather than being cropped. */
.design-usa-work-card { container-type: inline-size; }
.design-usa-work-card span {
  right: clamp(20px, 3vw, 42px); font-size: clamp(26px, 11cqw, 60px);
  line-height: 1.05; overflow-wrap: anywhere;
}
.bigdoor-credential-copy--single-line { white-space: normal; overflow-wrap: anywhere; }
/* The oversized decorative word occupied the same space as the home introduction. */
.logo-shadow { display: none; }
.legal-page .content-body a { display: inline-block; max-width: 100%; }
@media (max-width: 760px) {
  .legal-page .content-hero h1 { font-size: clamp(30px, 9vw, 42px); line-height: 1.12; }
}
@media (max-width: 1100px) { .case-scroll-cue { display: none; } }
