/* Stage10L Wycena condense CSS
 * This stylesheet narrows spacing on the individual pricing page to avoid
 * excessive whitespace on non-mobile devices. The goal is to maintain
 * readability while reducing the visual footprint of sections like the
 * benefits grid and form container. It is included via
 * drr-stage10l-wycena-condense.css and loaded only for this page.
 */

@media (min-width: 768px) {
  /* Narrow the horizontal padding and gap within the benefits grid */
  .portraits-benefits .benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .portraits-benefits .benefit-card {
    flex: 1 1 calc(33% - 20px);
    max-width: calc(33% - 20px);
    padding: 15px;
  }

  /* Adjust the overall form container width on larger screens */
  .contact-form-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px;
  }
}

/* Ensure cards take full width on mobile devices while maintaining spacing */
@media (max-width: 767px) {
  .portraits-benefits .benefit-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 10px;
  }
}