/* v13: Gatherings form left, workshop photo right; shared top/bottom alignment. */
@media (min-width: 1024px) {
  [data-testid="gatherings-page"] .casa-gathering-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: 2rem;
  }
  [data-testid="gatherings-page"] .casa-gathering-form-column {order: 1; min-height: 0; align-self: stretch; display: flex;}
  [data-testid="gatherings-page"] .casa-gathering-visual-column {order: 2; min-height: 0; align-self: stretch; display: flex;}
  [data-testid="gatherings-page"] .casa-gathering-form-column > [data-testid="gatherings-enquiry"] {
    flex: 1 1 auto; height: 100%; min-height: 100%; box-sizing: border-box;
  }
  [data-testid="gatherings-page"] .casa-gathering-visual-column .casa-gathering-lead {
    display: flex; flex-direction: column; flex: 1 1 auto; height: 100%; min-height: 0;
    box-sizing: border-box; margin: 0;
  }
  [data-testid="gatherings-page"] .casa-gathering-visual-column .casa-gathering-lead .casa-print-image {
    display: block; width: 100%; height: 0; min-height: 0; flex: 1 1 0;
    object-fit: cover; object-position: center 38%;
  }
  [data-testid="gatherings-page"] .casa-gathering-visual-column .casa-gathering-lead figcaption {flex-shrink:0;}
}
@media (max-width: 1023px) {
  [data-testid="gatherings-page"] .casa-gathering-form-column {order:1;}
  [data-testid="gatherings-page"] .casa-gathering-visual-column {order:2;}
  [data-testid="gatherings-page"] .casa-gathering-layout {display:flex;flex-direction:column;align-items:stretch;}
  [data-testid="gatherings-page"] .casa-gathering-visual-column .casa-gathering-lead .casa-print-image {height:auto;flex:none;}
}
