/* Gallery V5 */
.gallery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:25px 14px;margin:24px 0 38px}.gallery-card{min-width:0}.gallery-link{display:block;text-decoration:none;color:#092a55}.gallery-thumb{display:block;aspect-ratio:1;overflow:hidden;background:#e6f2fc;border-radius:8px;position:relative;border:1px solid #dbe6f1}.gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}.gallery-link:hover img{transform:scale(1.035)}.gallery-placeholder{display:grid;place-content:center;text-align:center;height:100%;color:#205b94;font-weight:800;gap:5px;padding:10px}.gallery-placeholder small{font-size:11px;letter-spacing:.12em}.gallery-title{display:block;font-size:15px;font-weight:800;line-height:1.45;margin:9px 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-meta{color:#607489;font-size:12px;display:flex;gap:8px;flex-wrap:wrap}.gallery-link:focus-visible{outline:3px solid #2563a8;outline-offset:4px;border-radius:8px}.gallery-detail{border:1px solid #dbe6f1;border-radius:16px;padding:clamp(18px,4vw,44px);background:#fff;margin:22px 0}.gallery-detail h2{overflow-wrap:anywhere;font-size:clamp(24px,4vw,34px);line-height:1.35;margin:12px 0}.gallery-detail img{display:block;max-width:100%;max-height:750px;object-fit:contain;margin:22px auto;border-radius:8px}.gallery-detail .post-body{line-height:1.85;color:#203a53}.gallery-empty{grid-column:1/-1;padding:20px;color:#536b83;background:#edf6ff;border-radius:8px}.gallery-preview{width:min(220px,100%);aspect-ratio:1;object-fit:cover;border:1px solid #dbe6f1;border-radius:8px;margin:10px 0}.gallery-preview-note{font-size:12px;color:#536b83}.gallery-count{font-size:13px;color:#536b83;margin-top:12px}.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.gallery-heading h3{margin:0;font-size:20px}.board-search{margin-bottom:6px}@media(max-width:950px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}.gallery-title{font-size:14px}.gallery-meta{font-size:11px}.gallery-thumb{border-radius:6px}}
