/* Shared sections use one DOM tree. The page styles scope layout aliases to
   their viewport; data-rwd-only marks a structural branch specific to a view. */
.rwd-fragment { display: contents; }
@media (width > 767px) {
  [data-rwd-only="sp"] { display: none !important; }
  [data-rwd-pc-flat], [data-rwd-flat="pc"] { display: contents !important; }
  [style*="--rwd-pc-"] {
    --rwd-home-font-size: var(--rwd-pc-home-font-size);
    --rwd-illustration-height: var(--rwd-pc-illustration-height);
    --rwd-illustration-width: var(--rwd-pc-illustration-width);
    --rwd-illustration-x: var(--rwd-pc-illustration-x);
    --rwd-illustration-y: var(--rwd-pc-illustration-y);
    --rwd-line-tracking: var(--rwd-pc-line-tracking);
    --rwd-background-image: var(--rwd-pc-background-image);
    --rwd-font-size: var(--rwd-pc-font-size);
    --rwd-height: var(--rwd-pc-height);
    --rwd-width: var(--rwd-pc-width);
  }
}
@media (max-width: 767px) {
  [data-rwd-only="pc"] { display: none !important; }
  [data-rwd-sp-flat], [data-rwd-flat="sp"] { display: contents !important; }
  [style*="--rwd-sp-"] {
    --rwd-home-font-size: var(--rwd-sp-home-font-size);
    --rwd-illustration-height: var(--rwd-sp-illustration-height);
    --rwd-illustration-width: var(--rwd-sp-illustration-width);
    --rwd-illustration-x: var(--rwd-sp-illustration-x);
    --rwd-illustration-y: var(--rwd-sp-illustration-y);
    --rwd-line-tracking: var(--rwd-sp-line-tracking);
    --rwd-background-image: var(--rwd-sp-background-image);
    --rwd-font-size: var(--rwd-sp-font-size);
    --rwd-height: var(--rwd-sp-height);
    --rwd-width: var(--rwd-sp-width);
  }
}
@media (max-width: 767px) {
  #main .features__breadcrumb-caption { height:calc(9 * var(--features-unit)); }
  #main .features__consultation-badge { height:calc(13 * var(--features-unit)); }
  #main .line__points-subtitle { --line-tracking:calc(1.28 * var(--line-unit)); }

  :is(.home__consult-scroll, .features__consult-scroll, .line__cards) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  :is(.features__consult-scroll, .line__cards) > div {
    width: 100%;
  }

  :is(.home__consult-scroll, .features__consult-scroll > div, .line__cards > div) > div {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
  }
}

/* Keep the desktop wording on one line while retaining the mobile line breaks. */
@media (width > 767px) {
  .shared-mobile-text-runs > span {
    display: inline;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
  }
}
