/* Galerias documentais WikiGoiás. Componentes alinhados ao dossiê Sebastião Parreira. */
.wg-path-photo{display:block;width:100%;height:180px;object-fit:cover;object-position:center;border-radius:12px 12px 0 0;margin:-16px -16px 13px;max-width:calc(100% + 32px);}
.wg-story-paths{align-items:stretch}.wg-story-path{overflow:hidden;min-width:0;display:block;padding:16px!important;}
.wg-acervo{margin-block:34px}.wg-acervo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px;}
.wg-acervo-grid figure{background:#fff;border:1px solid #d8e5f2;border-radius:16px;overflow:hidden;margin:0;box-shadow:0 6px 20px rgba(14,52,97,.06)}
.wg-acervo-grid img{display:block;width:100%;height:218px;object-fit:cover;object-position:center;}
.wg-acervo-grid figcaption{font:400 15px/1.55 system-ui,-apple-system,'Segoe UI',sans-serif;padding:12px 14px;color:#374962;}
.wg-acervo-archive-link{display:inline-flex;margin-top:20px;border:1px solid #bfd5ec;padding:12px 16px;border-radius:999px;color:#0759a5;font-weight:750;text-decoration:none;}
.wg-acervo-main{max-width:1140px;margin:0 auto;padding:30px 22px;}.wg-acervo-heading{border-bottom:1px solid #d9e4f0;margin:15px 0 30px;padding:10px 0 25px;}
.wg-acervo-heading h1{font-weight:800;font-size:clamp(30px,4vw,50px);line-height:1.15;color:#0759a5}.wg-acervo-heading p{font-size:17px;line-height:1.6;max-width:760px;}
.wg-acervo-link{display:inline-block;padding:10px 14px;margin:6px;border:1px solid #cadcf0;border-radius:10px;color:#0759a5;text-decoration:none}
.wg-acervo-chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wg-acervo-chapters a{border:1px solid #cadcf0;border-radius:16px;padding:18px;text-decoration:none;display:grid;gap:8px;background:#f8fbff;}
.wg-acervo-chapters strong{color:#0759a5}.wg-acervo-chapters span{color:#374962;font-size:15px;line-height:1.5}
@media(max-width:850px){.wg-acervo-grid,.wg-acervo-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.wg-acervo-grid,.wg-acervo-chapters{grid-template-columns:1fr}.wg-acervo-grid img{height:auto;aspect-ratio:4/3;object-fit:cover}.wg-path-photo{height:190px}.wg-acervo-main{padding:20px 15px}}

.wg-acervo-chapter-photo{margin:25px 0 30px}.wg-acervo-chapter-photo img{display:block;width:100%;max-height:500px;object-fit:contain;background:#eff4f9;border-radius:16px}.wg-acervo-chapter-photo figcaption{padding:8px 0;color:#59697a;font-size:14px}.wg-acervo-toc{padding:20px;background:#f5f9fd;border:1px solid #d2e0ee;border-radius:12px;position:static!important;margin:16px 0 25px;}.wg-acervo-toc ul{margin:12px 0 0 20px}.wg-acervo-toc li{margin-bottom:6px}.wg-acervo-chapter-section{margin:30px 0;padding-top:12px}.wg-acervo-chapter-section p{font-size:17px;line-height:1.8;margin-bottom:16px;max-width:840px}.wg-acervo-sources li{margin:9px 0}

.wg-acervo-context-figure{margin:24px 0;max-width:900px}.wg-acervo-context-figure img{display:block;width:100%;max-height:470px;object-fit:contain;background:#edf3f9;border-radius:14px}.wg-acervo-context-figure figcaption{font-size:14px;color:#5a6d80;margin-top:8px;line-height:1.5}.wg-acervo-more{margin:22px 0;color:#0759a5;font-weight:700}


/* Retratos verticais no acervo: preservar cabeça e enquadramento sem recorte. */
.wg-acervo-grid figure.is-portrait img{height:auto;aspect-ratio:2/3;object-fit:contain;background:#eef3f8;}
.wg-acervo-grid figure.is-portrait figcaption{padding-top:12px;}
@media(max-width:560px){.wg-acervo-grid figure.is-portrait img{aspect-ratio:auto;max-height:none;}}
