/* Phone-only refinements. Desktop presentation is intentionally unaffected. */
@media (max-width: 700px) {
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header .hero-copy {
    left: 20px;
    right: 20px;
    top: 28px;
    bottom: auto;
    width: calc(100% - 40px);
    max-width: none;
    padding: 0;
    margin: 0;
  }
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header .inner-title-panel {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header .inner-title-panel > p {
    font-size: clamp(14px, 4vw, 18px) !important;
    line-height: 1.3;
    letter-spacing: 0 !important;
    white-space: nowrap;
    margin-bottom: 14px;
  }
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header .hero-copy h1 {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header.mobile-single-line-title .hero-copy h1 {
    white-space: nowrap;
  }

  /* Fill the header with the photograph rather than a blank upper panel.
     A shorter phone crop keeps the people and right-hand equipment in frame. */
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header:is(.mobile-company-header, .mobile-load-bank-header, .services-full-head-header, .certificate-inspection-header, .contact-full-portrait, .mobile-technical-header) {
    display: block;
    height: clamp(300px, 90vw, 380px) !important;
    min-height: 0;
  }
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header:is(.mobile-company-header, .mobile-load-bank-header, .services-full-head-header, .certificate-inspection-header, .contact-full-portrait, .mobile-technical-header) > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: right center !important;
  }
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header.services-full-head-header > img {
    object-position: right top !important;
  }

  /* Match label, product-title and link baselines across each product row. */
  body.cinematic-site .product-grid > .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  body.cinematic-site .product-grid > .product-card > .card-image {
    height: 210px;
    min-height: 210px;
    flex: 0 0 210px;
  }
  body.cinematic-site .product-grid > .product-card > .card-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px 12px;
  }
  body.cinematic-site .product-grid > .product-card .card-copy .eyebrow {
    min-height: 4.35em;
    margin: 0 0 12px;
    line-height: 1.45 !important;
  }
  body.cinematic-site .product-grid > .product-card .card-copy h3 {
    min-height: 2.4em;
    margin: 0 0 20px;
    line-height: 1.2;
  }
  body.cinematic-site .product-grid > .product-card .read-more {
    margin-top: auto;
  }

  /* Fit product-section links across the phone without horizontal scrolling. */
  body.cinematic-site .product-jump > .wrap {
    display: flex;
    flex-wrap: nowrap;
    width: calc(100% - 24px);
    gap: 6px;
    justify-content: space-between;
    overflow: visible;
  }
  body.cinematic-site .product-jump a {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    padding: 18px 0;
  }

  body.cinematic-site .product-jump a:last-child { margin-left: 0; }
  body.cinematic-site .page-hero.split-hero.room-header.clear-photo-header:is(.contact-full-portrait, .mobile-technical-header) > img {
    object-position: right top !important;
  }

  /* Preserve the complete comparison as labelled records on narrow screens. */
  body.cinematic-site .detail-content .technical-table-scroll { overflow: visible; }
  body.cinematic-site main .mobile-product-table,
  body.cinematic-site main .mobile-product-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  body.cinematic-site main .mobile-product-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  body.cinematic-site main .mobile-product-table tbody tr {
    display: block;
    margin: 0 0 20px;
    border: 1px solid #d8e2e8;
    background: #fff;
  }
  body.cinematic-site main .mobile-product-table tbody :is(th, td) {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 12px;
    width: 100%;
    min-width: 0 !important;
    box-sizing: border-box;
    padding: 12px;
    font-size: 16px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: left;
  }
  body.cinematic-site main .mobile-product-table tbody :is(th, td)::before {
    content: attr(data-label);
    font-weight: 700;
  }
  body.cinematic-site main .mobile-product-table tbody tr > :last-child { border-bottom: 0; }
}
@media (max-width: 360px) {
  body.cinematic-site .product-jump a { font-size: 13px; }
}
