/* ── Section wrapper ─────────────────────────────────────── */
.sq-section {
  width: 100%;
  padding: 2.5% 5%;         /* matches your gallery side padding */
  box-sizing: border-box;
}
 
/* ── Individual row ──────────────────────────────────────── */
.sq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: stretch;  /* image and text block grow to same height */
  margin: 0;             /* zero margin so image corners touch row to row */
}
 
/* Even rows flip the order: image right, text left */
.sq-row:nth-child(odd)  { direction: ltr; }
.sq-row:nth-child(even) { direction: rtl; }
 
/* Reset direction on children so text reads normally */
.sq-row:nth-child(even) .sq-text,
.sq-row:nth-child(even) .sq-image { direction: ltr; }
 
/* ── Image cell ──────────────────────────────────────────── */
.sq-image {
  overflow: hidden;
  line-height: 0;        /* removes inline gap below img */
  min-height: 320px;
}
 
.sq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
 
.sq-image:hover img {
  transform: scale(1.03);
}
 
/* ── Text cell ───────────────────────────────────────────── */
.sq-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
  box-sizing: border-box;
}
 
.sq-text h2 {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1rem 0;
  color:lightgray;
}
 
.sq-text p {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1.25rem 0;
  color: white;
}
 
.sq-text p:last-child {
  margin-bottom: 0;
}
 
/* Optional call-to-action link inside a row */
.sq-cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border: 2px solid currentColor;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
 
.sq-cta:hover {
  background: currentColor;
}
 
.sq-cta:hover span {
  /* invert text on hover — wrap your CTA text in a <span> */
  color: #fff;
  mix-blend-mode: difference;
}
 
/* ── Responsive — stack on mobile ────────────────────────── */
@media (max-width: 768px) {
  .sq-row {
    grid-template-columns: 1fr;
    direction: ltr !important;  /* reset RTL flip on mobile */
  }
 
  /* On mobile, always show image first then text */
  .sq-image { order: 1; min-height: 260px; }
  .sq-text  { order: 2; padding: 2rem 1.5rem; }
 
  .sq-text h2 { font-size: 1.3rem; }
}
 
@media (max-width: 480px) {
  .sq-section { padding: 0 4%; }
  .sq-text { padding: 1.75rem 1.25rem; }
  .sq-image { min-height: 220px; }
}