/* Only the added quote portrait and its requested CTA clearance. */
.lx #work-quote .work-top-line {
  margin-bottom: 36px;
}

.lx #work-quote .work-bottom-line {
  margin-top: 36px;
}

.lx #work-quote .work-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.lx #work-quote .work-photo {
  width: 100%;
  max-width: 420px;
  min-width: 0;
  margin: 12px auto 0;
}

.lx #work-quote .work-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.lx #work-quote .work-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(212, 177, 102, .55);
  pointer-events: none;
}

.lx #work-quote .work-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 2px;
}

.lx #work-quote .work-photo figcaption {
  margin-top: 24px;
  color: #D4B166;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
}

.lx #work-quote .work-quote-copy {
  min-width: 0;
  text-align: center;
}

.lx #work-quote .work-quote-copy .quote {
  text-align: inherit;
}

@media (min-width: 768px) {
  .lx #work-quote .work-content {
    grid-template-columns: minmax(0, 9fr) minmax(0, 11fr);
    gap: 48px;
  }

  .lx #work-quote .work-photo {
    max-width: 380px;
    margin: 0 auto;
  }

  .lx #work-quote .work-quote-copy {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .lx #work-quote .work-content {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 64px;
  }
}

@media (max-width: 767px) {
  /* Preserve the CTA's existing visibility/checkout logic. The opaque quote
     section paints above it only where they overlap, protecting photo/caption.
     The original sticky header remains above both. */
  .lx #work-quote {
    position: relative;
    z-index: 1;
  }

  .lx #stickyBar {
    z-index: 0;
  }
}
