/* Match Where TF's compact static screenshot treatment. */
.aiafo-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.aiafo-gallery figure { min-width: 0; margin: 0; }
.aiafo-screenshot { display: block; width: min(100%, 220px); margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper, #f8f7f2); }
.aiafo-screenshot img { display: block; width: 100%; height: auto; }
.aiafo-gallery figcaption { max-width: 220px; margin: 20px auto 0; text-align: left; }
.aiafo-gallery h3 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.025em; font-weight: 620; }
.aiafo-gallery figcaption p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 760px) {
  .aiafo-gallery-grid { gap: 20px 10px; }
  .aiafo-gallery figure { display: contents; }
  .aiafo-screenshot { grid-row: 1; width: min(100%, 82px); border-radius: 10px; }
  .aiafo-gallery figure:nth-child(1) .aiafo-screenshot { grid-column: 1; }
  .aiafo-gallery figure:nth-child(2) .aiafo-screenshot { grid-column: 2; }
  .aiafo-gallery figure:nth-child(3) .aiafo-screenshot { grid-column: 3; }
  .aiafo-gallery figcaption { grid-column: 1 / -1; max-width: none; margin: 0; }
  .aiafo-gallery h3 { margin-bottom: 6px; font-size: 1.1rem; line-height: 1.3; }
}

.aiafo-tour-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin-top: 1rem; color: var(--product-accent); font-weight: 650; text-underline-offset: 0.2em; }
.aiafo-tour-link:focus-visible { outline: 3px solid var(--product-accent); outline-offset: 4px; }
.aiafo-capture-note { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
