/* Gallery list layout (Nov 2026) */
img[src$="/topside.png"],img[src$="/leftside.png"]{display:none!important}

.kg-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.kg-filters .buy_button_small{flex:1 1 160px;min-height:44px;margin:0;white-space:normal;line-height:1.2}

.kg-pager{clear:both;position:static;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:10px 0;padding:0}
.kg-pager a,.kg-pager span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 6px;box-sizing:border-box;border:1px solid #d6e2ec;border-radius:8px;background:#fff;color:#0b5a87;text-decoration:none;font-size:16px;float:none;position:static;margin:0}
.kg-pager a:hover,.kg-pager a:focus-visible{background:#eef5fa;border-color:#0b5a87}
.kg-pager .kg-cur{background:#0b5a87;border-color:#0b5a87;color:#fff;font-weight:700}
.kg-pager .kg-gap{border:0;min-width:20px;background:none;color:#667}
.kg-pager .kg-arrow{font-size:22px}
.kg-pager .kg-dis{color:#c3ccd4;border-color:#eef1f4}
@media (max-width:480px){.kg-pager{gap:3px;flex-wrap:nowrap}.kg-pager a,.kg-pager span{min-width:36px;padding:0 4px;font-size:15px}.kg-pager .kg-gap{min-width:14px;padding:0}.kg-pager .kg-far{display:none}}

.kg-grid{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
@media (min-width:700px){.kg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1000px){.kg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.kg-grid > p{grid-column:1/-1}
body .kg-grid .painting.kg-card{float:none!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid #e3e9ef;border-radius:10px;background:#fff;box-sizing:border-box;text-align:left;display:flex}
.kg-in{display:flex;flex-direction:column;width:100%;padding:8px;box-sizing:border-box}
.kg-thumb{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;background:#f4f7fa;border-radius:6px;overflow:hidden}
.kg-thumb img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain;padding:0!important;margin:0!important;border:0;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.kg-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:8px 0;font-size:15px;line-height:1.2}
.kg-meta a{color:#0b5a87;text-decoration:none;font-weight:600}
.kg-vote{display:inline-flex;align-items:center;gap:3px;color:#445;white-space:nowrap}
.kg-vote img{width:18px;height:18px}
.kg-in form{margin:auto 0 0;padding:0}
body .kg-grid .kg-in input[type=submit]{display:block;width:100%!important;min-height:44px;margin:0!important;max-width:none!important;box-sizing:border-box}
.kg-in b{display:block;margin-top:auto;font-size:14px;text-align:center}
.kg-in br{display:none}
