/* Mobile reading order for the existing homepage. */
@media (max-width: 700px) {
  body[data-cf264-home] .cfm-desktop {
    display: none !important;
  }

  body[data-cf264-home] .cfm-inline[hidden],
  body[data-cf264-home] #kontakt .cfm-inline[hidden] {
    display: inline !important;
  }

  body[data-cf264-home] .cfm-block[hidden] {
    display: block !important;
  }

  body[data-cf264-home] .cf264-hero {
    gap: 22px;
    padding-block: 30px 28px;
  }

  body[data-cf264-home] .cf264-main .cf264-hero h1 {
    font-size: clamp(32px, 7.75vw, 40px);
  }

  body[data-cf264-home] .cf264-hero .cf264-actions {
    gap: 8px 12px;
  }

  body[data-cf264-home] .cf264-hero .cf264-button {
    gap: 14px;
    padding-inline: 15px;
  }

  body[data-cf264-home] .cf264-hero .cf264-link {
    gap: 9px;
  }

  body[data-cf264-home] .cf264-lead {
    line-height: 1.55;
    max-width: 46ch;
  }

  body[data-cf264-home] .cf264-examples {
    padding-block: 28px 36px;
  }

  body[data-cf264-home] .cf264-examples > .cf264-section-head {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body[data-cf264-home] :is(.cf264-example, .cf265-showroom) {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body[data-cf264-home] .cf264-main .cfm-example-title {
    font-size: clamp(23px, 5.6vw, 28px);
    line-height: 1.2;
    margin-bottom: 3px;
    overflow-wrap: anywhere;
    text-wrap: initial;
  }

  body[data-cf264-home] .cf264-example + .cf264-example {
    margin-top: 30px;
    padding-top: 26px;
  }

  body[data-cf264-home] .cf264-main p.cfm-description {
    max-width: 48ch;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 4px;
  }

  body[data-cf264-home] .cf264-example-copy .cf264-actions {
    margin-top: 0;
  }

  body[data-cf264-home] .cf264-film figcaption {
    min-height: 44px;
    padding-top: 0;
    font-size: 12px;
    line-height: 1.35;
  }

  body[data-cf264-home] [data-cf264-toggle] {
    padding-block: 8px;
    min-width: 52px;
    min-height: 44px;
  }

  body[data-cf264-home] .cf264-result {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding-block: 32px;
  }

  body[data-cf264-home] .cf264-map-preview {
    justify-self: start;
    width: 100%;
    max-width: 420px;
  }

  body[data-cf264-home] .cf264-map-preview > a {
    display: grid;
    place-items: center;
    border: 1px solid #cad5cd;
    border-radius: 8px;
    padding: 12px;
    background: #e2e8df;
  }

  body[data-cf264-home] .cf264-map-preview img {
    width: auto;
    height: auto;
    max-height: 232px;
    max-width: 100%;
    border: 1px solid #d5dbd5;
  }

  body[data-cf264-home] .cf264-map-preview figcaption {
    margin-top: 6px;
    font-size: 12px;
    text-align: start;
  }

  body[data-cf264-home] .cf264-more .cf264-section-head {
    margin-bottom: 20px;
  }

  body[data-cf264-home] .cf265-showroom {
    margin-block: 0 26px;
  }

  body[data-cf264-home] .cf265-showroom .cf264-film {
    justify-self: start;
  }

  body[data-cf264-home] .cf265-showroom-copy .cf264-link {
    margin-top: 0;
  }

  body[data-cf264-home] .cf264-steps {
    gap: 14px;
  }

  body[data-cf264-home] .cf264-steps p {
    margin-top: 3px;
    line-height: 1.5;
  }

  body[data-cf264-home] .cf264-more-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body[data-cf264-home] .cf264-more-grid > a {
    padding-block: 12px;
  }

  body[data-cf264-home] .cf264-more-grid p {
    margin-top: 2px;
    font-size: 14px;
  }
}
