/* XAG stacked boxes: every box in one column has the same width and the same left and right edges (shared content width, up to 1320px).
   .xag-fullbox on an info box or form card lifts its own narrow cap (max-width) and fills the column; .xag-stack-row puts the column beside an optional side strip. */
.xag-fullbox { width: 100%; max-width: none !important; box-sizing: border-box; margin-inline: 0 !important; }
.xag-stack-row { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.xag-stack-main { flex: 1 1 560px; min-width: 0; display: grid; gap: 24px; }
.xag-stack-side { flex: 0 0 240px; max-width: 240px; min-width: 0; }
.about-org { font-weight: 700; margin: 0 0 12px; }
.about-sub { margin: 0 0 12px; }
.about-form { display: grid; gap: 12px 16px; }
.about-form > * { margin: 0; min-width: 0; }
.about-form .btn { width: auto; justify-self: start; min-width: 160px; }
@media (min-width: 900px) {
  .about-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-form > h2, .about-form > .form-group:nth-of-type(4), .about-form > .form-group:nth-of-type(6), .about-form > .btn, .about-form > p { grid-column: 1 / -1; }
}
@media (max-width: 899px) { .xag-stack-side { flex: 1 1 100%; max-width: none; } }
@media (max-width: 899px) { .xag-stack-side .xag-photo-sidebar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }

/* PHOTO ROW: a row of photo tiles across the full content width (About). Equal tiles, ONE fixed aspect ratio, no empty column beside the text; same 3 across on phones. */
.xag-photo-row { margin: 0 0 var(--xag-sp-4); }
.xag-photo-row .xag-photo-sidebar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--xag-sp-3); }
.xag-photo-row .xag-photo-sidebar .xps-box { aspect-ratio: 2 / 1; }
@media (max-width: 899px) { .xag-photo-row .xag-photo-sidebar { gap: 8px; } .xag-photo-row .xag-photo-sidebar .xps-box { aspect-ratio: 4 / 3; } }
