/* Galerías completas de IA; estilos limitados a las páginas IA. */
.ia-detail-head{grid-template-columns:minmax(0,1fr)!important;max-width:900px}
.ia-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start;margin:22px 0 42px}
.ia-gallery-grid figure{margin:0;min-width:0}
.ia-gallery-grid button{width:100%;cursor:zoom-in}
.ia-gallery-grid img{display:block;width:100%;height:300px;object-fit:contain;background:#0a1c36}
.ia-gallery-grid figcaption{font-size:16px;line-height:1.5;margin-top:10px;color:#b9cde3}
.ia-gallery-section h3{font-size:24px;margin-top:28px}
.ia-image-count,.ia-card-count,.ia-missing-image{font-size:16px;color:#b9cde3}
.ia-body .ia-featured{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.ia-body .ia-card figure img{height:220px!important;width:100%;object-fit:contain!important}
.ia-body .ia-card figure a{display:block}
.ia-body .ia-card figcaption{line-height:1.4}
.ia-gallery-nav{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:10px 0}
.ia-gallery-nav button{font:inherit;padding:8px 14px;color:#e8edf5;background:#0f2a4d;border:1px solid #90abc6;border-radius:6px;cursor:pointer}
.ia-gallery-nav button:disabled{opacity:.4;cursor:default}
.ia-gallery-nav [role=status]{min-width:60px;text-align:center}
@media(max-width:1000px){.ia-body .ia-featured{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ia-body .ia-featured{grid-template-columns:minmax(0,1fr)}.ia-gallery-grid{grid-template-columns:minmax(0,1fr);gap:26px}.ia-gallery-grid img{height:auto;max-height:520px}.ia-body .ia-card figure img{height:auto!important;max-height:280px}.ia-gallery-section .ia-wrap{padding-inline:20px}}
