/* Real photography: keep faces unobstructed and captions outside the image. */
body.service-aligned .service-photo-panel {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 16px auto !important;
  transform: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}
body.service-aligned .service-photo-panel::before,
body.service-aligned .service-photo-panel::after { display: none !important; }
body.service-aligned .service-photo {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9eadf;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(14, 60, 35, .1);
}
body.service-aligned .service-photo img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  filter: none !important;
  border-radius: 0 !important;
  animation: none !important;
}
body.service-aligned .service-photo.portrait { max-width: 400px; margin-inline: auto; }
body.service-aligned .service-photo.portrait img { aspect-ratio: 4 / 5; }
body.service-aligned .service-photo figcaption {
  padding: 18px 22px;
  color: #155a35;
  font: 600 15px/1.6 'Plus Jakarta Sans', Arial, sans-serif;
  text-align: left;
}
body.service-aligned :is(.seo-sec4-grid, .seo-sec5-steps-grid, .sec8-category-grid) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}
body.service-aligned :is(.seo-sec4-grid, .seo-sec5-steps-grid) > * {
  grid-column: auto !important;
  min-width: 0;
}
body.service-aligned .meta-faq-card.active .meta-faq-card-body { max-height: none !important; }
body.service-aligned .google-why-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 40px !important;
  align-items: center !important;
}
body.service-aligned .google-why-middle { grid-column: 1 / -1 !important; grid-row: 2 !important; }
body.service-aligned .google-why-visual-col { grid-column: 2 !important; grid-row: 1 !important; }
body.service-aligned .why-strategy-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px !important; }
body.service-aligned :is(.sec8-cat-card, .measure-metric-card) { min-width: 0; padding: 24px !important; }
body.service-aligned .sec8-cat-card { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
body.service-aligned .cat-text-box { min-width: 0; }
@media (max-width: 991px) {
  body.service-aligned :is(.section2-grid, .google-capabilities-top-row, .process-header-row, .google-why-grid, .website-visual-split-row, .seo-sec2-grid, .seo-sec3-grid-layout, .seo-sec4-top-row, .seo-sec5-top-row, .seo-sec6-top-row, .seo-sec7-grid, .seo-sec8-header-row, .seo-sec9-grid, .seo-sec10-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }
  body.service-aligned .google-why-visual-col { grid-column: 1 !important; grid-row: 2 !important; }
  body.service-aligned .google-why-middle { grid-column: 1 !important; grid-row: 3 !important; }
}
@media (max-width: 600px) {
  body.service-aligned :is(.seo-sec4-grid, .seo-sec5-steps-grid, .sec8-category-grid, .measure-cards-grid, .why-strategy-cards-grid) { grid-template-columns: minmax(0, 1fr) !important; }
  body.service-aligned .service-photo { border-radius: 18px; }
  body.service-aligned .service-photo figcaption { padding: 15px 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.service-aligned *, body.service-aligned *::before, body.service-aligned *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
