/* Layout styles for the base page template.
 * Extracted from content/templates/layouts/default/page.html
 */

.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.item-card {
  flex: 1 1 325px;
  min-width: 325px;
  max-width: 500px;
  box-sizing: border-box;
}

.user-card {
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 250px;
  box-sizing: border-box;
}

.subcategory-section {
  width: 100%;
  margin-bottom: 2rem;
}

/* Larger images for desktop view in modals */
@media (min-width: 768px) {
  .modal-body img.img-fluid {
    max-height: 250px !important;
  }
}

/* Even larger for very large screens */
@media (min-width: 1200px) {
  .modal-body img.img-fluid {
    max-height: 300px !important;
  }
}
