/* Only on the routes where the mobile component was reviewed. */
.bc-atlas-labels { display: none; }
.responsibility-mobile-label { display: none; }
#responsibility-matrix .responsibility-matrix tbody th {
  background: transparent;
  color: inherit;
  font-weight: inherit;
}

@media (max-width: 540px) {
  .bc-atlas-compact .bc-atlas-svg-label { display: none; }
  .bc-atlas-labels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: -6px auto 0;
    color: #dfedf8;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
  }
  #seller-order-story .seller-story-branches {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 0;
  }
  #seller-order-story .seller-story-branches::before,
  #seller-order-story .seller-story-branches::after { display: none; }
  .bc-service-layout figure.bc-service-consolidation-map figcaption {
    display: grid;
    gap: 5px;
    font-size: 15px;
  }
  .bc-service-layout .bc-service-consolidation-map figcaption span:last-child {
    max-width: none;
    text-align: start;
  }
  body.eu-taste-pilot.europe-route-page .eu-network-proof__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  body.eu-taste-pilot.europe-route-page .eu-network-proof__facts > div,
  body.eu-taste-pilot.europe-route-page .eu-network-proof__facts > div:nth-child(3) {
    display: block;
    grid-column: auto;
    padding: 14px 0;
    border: 0;
  }
  body.eu-taste-pilot.europe-route-page .eu-network-proof__facts > div + div {
    border-top: 1px solid #cfdbdf;
  }
  body.eu-taste-pilot.europe-route-page .eu-network-proof__facts > div:nth-child(3) dd {
    margin-top: 10px;
  }
  body #responsibility-matrix table.responsibility-matrix,
  body #responsibility-matrix .responsibility-matrix :is(tbody, tr, th, td) {
    display: block;
    width: 100%;
  }
  body #responsibility-matrix table.responsibility-matrix {
    font-size: 1rem;
    line-height: 1.5;
  }
  #responsibility-matrix .responsibility-matrix thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  body #responsibility-matrix .responsibility-matrix tbody > tr {
    padding: 14px 0;
    border-top: 1px solid #c4d5df;
  }
  body #responsibility-matrix .responsibility-matrix tbody :is(th, td) {
    border: 0;
    background: transparent;
    padding: 4px 0;
    overflow-wrap: break-word;
  }
  body #responsibility-matrix .responsibility-matrix tbody th {
    font-size: 1.125rem;
    font-weight: 700;
  }
  #responsibility-matrix .responsibility-mobile-label {
    display: block;
    font-weight: 650;
    color: #123e57;
  }
}

@media (max-width: 460px) {
  .ddp-destination { grid-template-columns: minmax(0, 1fr); }
  .ddp-field.ddp-packing { grid-column: 1 / -1; }
  .ddp-submit-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 420px) {
  #seller-order-story .seller-story-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile repair. The approved desktop layout and both contact destinations stay in place. */
.sample-us-fit { scroll-margin-top: 24px; }

@media (max-width: 700px) {
  body.sample-us-page .sample-us-hero { padding-block: 24px 20px; }
  .sample-us-hero__grid { gap: 22px; }
  body.sample-us-page .sample-us-hero h1 {
    margin-block: 0 12px;
    letter-spacing: -.034em;
  }
  .sample-us-hero__actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 16px;
  }
  body.sample-us-page .sample-us-hero__actions .button {
    min-height: 44px;
    padding-block: 9px;
  }
  .sample-us-hero__actions p { margin-top: 5px; }
  body.sample-us-page .sample-us-fit {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }
  body.sample-us-page .sample-us-fit img {
    height: clamp(218px, 82vw, 328px);
    object-position: center 45%;
  }
  body.sample-us-page .sample-us-fit figcaption {
    padding: 0;
    color: #415665;
    font-size: 16px;
    line-height: 1.55;
  }
  .sample-us-fit figcaption > strong { display: block; color: #122b3b; font-size: 18px; }
}

/* Graft the approved mobile presentation onto the current public markup. */
.us-mobile-copy,
.canada-route-page .ca-route-band__steps > li > svg,
body .article #receiving-plan > figure.bc-service-consolidation-map { display: none; }

@media (max-width: 720px) {
  body.canada-route-page .ca-route-band__steps > li {
    grid-template-columns: 24px 1.5rem minmax(0, 1fr);
    grid-template-areas: "icon number label" "value value value";
    gap: 4px 10px;
  }
  body.canada-route-page .ca-route-band__steps > li > svg {
    display: block;
    grid-area: icon;
    width: 24px;
    height: 24px;
    color: #07668a;
  }
  body.canada-route-page .ca-route-band__steps > li > span { grid-area: number; }
  body.canada-route-page .ca-route-band__steps > li > small { grid-area: label; }
  body.canada-route-page .ca-route-band__steps > li > strong { grid-area: value; }
}

@media (max-width: 700px) {
  .sample-us-hero__text > .us-overline,
  .sample-us-hero__text .us-desktop-copy { display: none; }
  .sample-us-hero__text .us-mobile-copy { display: inline; }
}

@media (max-width: 540px) {
  body .article #receiving-plan > figure.bc-service-consolidation-map {
    display: block;
    margin: 1rem 0 1.25rem;
    padding: clamp(.75rem, 2.8vw, 1.45rem);
    background: #081f2f;
    color: #eaf7ff;
    border: 0;
    border-radius: 1rem;
  }
  #receiving-plan .bc-service-consolidation-map svg { display: block; width: 100%; height: auto; }
  #receiving-plan .bc-service-consolidation-base { stroke: #638ca6; }
  #receiving-plan .bc-service-consolidation-flow { stroke: #96d7f4; }
  #receiving-plan .bc-service-consolidation-symbols { stroke: #eaf7ff; }
  body .article #receiving-plan > figure.bc-service-consolidation-map figcaption {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: .35rem .3rem 0;
    font-size: 15px;
    line-height: 1.45;
    color: #b4dcef;
    background: transparent;
    border: 0;
  }
}
