/* SHP Stage 3 Batch A — helper CSS only. Do not edit the theme. */

/* A1: Homepage Why Choose — add Move-In card in the photo slot, photo moves to a third row. */
@media (min-width: 769px) {
  .why-choose__grid {
    grid-template-rows: minmax(220px, auto) minmax(200px, auto) minmax(200px, auto);
  }
  .why-choose__spotlight {
    grid-row: 1 / 4;
  }
  .why-choose__card--move-in {
    grid-column: 3;
    grid-row: 2;
  }
  .why-choose__photo-wrap {
    grid-column: 2 / 4;
    grid-row: 3;
  }
}

/* A5: 7-card services grid on homepage and city pages only (.shp-seven-grid).
   Do not apply to the /services/ hub (.shp-hub-services). */
@media (min-width: 1200px) {
  .services__grid.shp-seven-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 14px;
  }
  .services__grid.shp-seven-grid > .service-card {
    flex: 0 1 calc((100% - 42px) / 4);
    max-width: calc((100% - 42px) / 4);
    min-width: 0;
  }
}
@media (min-width: 769px) and (max-width: 1199px) {
  .services__grid.shp-seven-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }
  .services__grid.shp-seven-grid > .service-card:last-child {
    grid-column: 1 / -1;
    max-width: calc((100% - 14px) / 2);
    width: 100%;
    justify-self: center;
  }
}
@media (max-width: 768px) {
  .services__grid.shp-seven-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
}
.services__grid.shp-seven-grid .service-card__image--woodrot {
  object-position: center center;
}
