/* Document types grid. Scoped to .gd-docs; inherits Manrope from the page. */
.gd-docs{--gdd-ink:#0f172a;--gdd-body:#475569;--gdd-muted:#64748b;--gdd-line:#e2e8f0;--gdd-well:#f1f5f9;--gdd-hover:#a7f3d0;--gdd-accent:#13ec80;--gdd-cols:4}
.gd-docs,.gd-docs *{box-sizing:border-box}
.gd-docs[data-cols="3"]{--gdd-cols:3}
.gd-docs__grid{display:grid;grid-template-columns:repeat(var(--gdd-cols),minmax(0,1fr));gap:16px;list-style:none!important;margin:0!important;padding:0!important}
.gd-docs__card{min-width:0;margin:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--gdd-line);border-radius:14px;overflow:hidden;transition:border-color .2s ease}
.gd-docs__well{position:relative;aspect-ratio:5/4;margin:0;padding:18px 22px;background:var(--gdd-well);border-bottom:1px solid var(--gdd-line);overflow:hidden}
.gd-docs__well img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;border:0;filter:drop-shadow(0 0 1px rgba(15,23,42,.22));transition:transform .3s ease}
.gd-docs__text{flex:1;padding:16px 18px 20px}
.gd-docs__title{margin:0 0 6px;color:var(--gdd-ink);font-size:16px;font-weight:700;line-height:1.35;letter-spacing:-.01em;text-wrap:balance}
.gd-docs__desc{margin:0;color:var(--gdd-body);font-size:14px;line-height:1.6;text-wrap:pretty}
.gd-docs__note{display:flex;align-items:center;gap:10px;margin:20px 0 0;color:var(--gdd-muted);font-size:13px;line-height:1.6}
.gd-docs__note::before{content:"";width:20px;height:2px;flex-shrink:0;background:var(--gdd-accent)}
@media (hover:hover) and (pointer:fine){.gd-docs__card:hover{border-color:var(--gdd-hover)}.gd-docs__card:hover .gd-docs__well img{transform:scale(1.03)}}
@media (max-width:1100px){.gd-docs{--gdd-cols:3}}
@media (max-width:767px){.gd-docs,.gd-docs[data-cols="3"]{--gdd-cols:2}.gd-docs__grid{gap:12px}.gd-docs__well{padding:12px 14px}.gd-docs__text{padding:14px 14px 16px}.gd-docs__title{font-size:15px}.gd-docs__desc{font-size:13.5px}}
@media (max-width:360px){.gd-docs,.gd-docs[data-cols="3"]{--gdd-cols:1}}
@media (prefers-reduced-motion:reduce){.gd-docs__card,.gd-docs__well img{transition:none}}
