/* Here and Now v5.38 — desktop mosaic only.
   Keep service card titles clearly above the compact rate footer.
   The price is anchored at bottom-right, just left of the existing open arrow.
   Rail/carousel, tablet and mobile are intentionally unchanged. */
@media (min-width: 1051px) {
  .gallery-viewport.is-grid .photo.service-card .photo-open h2 {
    bottom: 106px;
    left: 24px;
    right: 24px;
    font-size: clamp(23px, 2.2vw, 34px);
    line-height: 1.08;
    overflow-wrap: break-word;
  }
  .gallery-viewport.is-grid .photo.service-card .service-cover-rate {
    display: block;
    position: absolute;
    left: auto;
    right: 72px;
    bottom: 25px;
    width: max-content;
    max-width: calc(100% - 116px);
    margin: 0;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    background: rgba(16,49,35,.74);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.14;
    text-align: right;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
    box-sizing: border-box;
  }
  .gallery-viewport.is-grid .photo.service-card .service-cover-rate small {
    display: block;
    color: #f4f8f1;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 450;
    line-height: 1.3;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .gallery-viewport.is-grid .photo.service-card .photo-arrow {
    right: 17px;
    bottom: 24px;
  }
}
