.tora-gallery{background:#f6f5f2;padding:64px 32px}
.tora-gallery-inner{max-width:1536px;margin-inline:auto}
.tora-gallery-heading{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:32px}
.tora-gallery-heading>div{max-width:680px}
.tora-gallery-heading :is(h1,h2){margin-bottom:16px}
.tora-gallery-heading>div>p:last-child{color:#60646a}
.tora-gallery-all{display:inline-flex;align-items:center;gap:24px;font:500 14px/20px Chivo,sans-serif;color:#181818;text-decoration:none;border-bottom:1px solid #181818;padding-bottom:8px;white-space:nowrap}
.tora-gallery-all span{font-size:24px}.tora-gallery-all:hover{color:#9b4c00}
.tora-gallery-total{font-size:14px;line-height:20px;color:#60646a;font-variant-numeric:tabular-nums;white-space:nowrap}
.tora-gallery-grid{columns:4;column-gap:16px}
.tora-gallery-card{display:inline-block;width:100%;vertical-align:top;break-inside:avoid;margin:0 0 16px;background:#fff;border:1px solid #e5e1db;border-radius:8px;overflow:hidden}
.tora-gallery-card[hidden]{display:none}
.tora-gallery-photo{display:block;position:relative;background:#e5e1db;overflow:hidden;color:#fff;text-decoration:none}
.tora-gallery-photo img{display:block;width:100%;max-width:100%;height:auto;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.tora-gallery-photo:hover img{transform:scale(1.025)}
.tora-gallery-photo-count{position:absolute;right:12px;bottom:12px;background:#181818;color:#fff;padding:8px 12px;display:inline-flex;align-items:center;gap:8px;border-radius:4px;font:500 12px/16px Chivo,sans-serif;pointer-events:none}
.tora-gallery-copy{padding:24px}
.tora-gallery .tora-gallery-owner{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:16px;margin-bottom:16px}
.tora-gallery-owner strong{font-size:14px;line-height:20px;font-weight:600;color:#181818}.tora-gallery-owner span{color:#60646a}
.tora-gallery-copy h3{font-size:24px;line-height:32px;margin-bottom:8px}
.tora-gallery .tora-gallery-description{font-size:14px;line-height:20px;color:#60646a;overflow-wrap:anywhere}
.tora-gallery-more{text-align:center;margin-top:24px}.tora-gallery-more p{margin-top:12px;font-size:12px;line-height:16px;color:#60646a}
.tora-gallery [hidden]{display:none!important}
.tora-gallery-end{margin-top:64px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}.tora-gallery-end p{font:600 36px/40px 'Barlow Condensed',sans-serif;margin-right:auto}
.tora-gallery-empty{padding:32px;background:#fff;border-radius:8px}
.tora-gallery-dialog{inset:0;width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:8px;background:#181818;color:#fff;overflow:hidden;font-family:Chivo,sans-serif;box-sizing:border-box}
.tora-gallery-dialog::backdrop{background:rgba(0,0,0,.88)}
.tora-gallery-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px}
.tora-gallery-dialog-bar p{font:500 16px/24px Chivo,sans-serif;margin:0;color:#fff}
.tora-gallery-dialog button{padding:0;display:grid;place-items:center;width:44px;height:44px;border:1px solid #60646a;border-radius:4px;background:#272727;color:#fff;font:400 24px/32px Chivo,sans-serif;cursor:pointer;flex-shrink:0}
.tora-gallery-dialog button:hover{background:#313131}.tora-gallery-dialog button:active{transform:translateY(1px)}
.tora-gallery-dialog :is(a,button):focus-visible{outline:2px solid #ff8a00;outline-offset:2px}
.tora-gallery-stage{position:relative;display:grid;place-items:center;height:min(72dvh,760px);min-height:180px;background:#000}
.tora-gallery-stage img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;display:block}
.tora-gallery-stage button{position:absolute;top:calc(50% - 22px);z-index:2}
.tora-gallery-stage [data-gallery-prev]{left:12px}.tora-gallery-stage [data-gallery-next]{right:12px}
.tora-gallery-stage [data-gallery-image-status]{position:absolute;bottom:16px;max-width:calc(100% - 32px);padding:8px 12px;margin:0;background:#181818;color:#fff;font-size:14px;line-height:20px;border-radius:4px}
.tora-gallery-stage [data-gallery-image-status]:empty{display:none}
.tora-gallery-dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;font-size:14px;line-height:20px;color:#fff}
.tora-gallery-dialog-bottom a{color:#fff;text-decoration:underline;text-underline-offset:4px}
.tora-gallery-dialog [hidden]{display:none!important}
html.tora-gallery-open{overflow:hidden}
@media(min-width:1600px){.tora-gallery-full .tora-gallery-grid{columns:5}}
@media(max-width:1199px){.tora-gallery-grid{columns:3}.tora-gallery-copy{padding:16px}}
@media(max-width:799px){.tora-gallery{padding:48px 24px}.tora-gallery-grid{columns:2}.tora-gallery-heading{align-items:start;flex-direction:column;gap:24px}.tora-gallery-end{align-items:start;flex-direction:column;margin-top:48px}}
@media(max-width:559px){.tora-gallery{padding:40px 16px}.tora-gallery-grid{columns:1}.tora-gallery-copy{padding:24px}.tora-gallery-full h1{font-size:48px;line-height:1}.tora-gallery-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.tora-gallery-stage{height:65dvh}.tora-gallery-dialog-bar p{font-size:14px;line-height:20px}.tora-gallery-dialog-bottom{font-size:12px;line-height:16px}}
@media(prefers-reduced-motion:reduce){.tora-gallery-photo img{transition:none}.tora-gallery-photo:hover img{transform:none}}

.tora-gallery-copy:has(.tora-gallery-period) .tora-gallery-owner{margin-bottom:8px}
.tora-gallery .tora-gallery-period{font-size:12px;line-height:16px;color:#60646a;margin-bottom:16px;font-variant-numeric:tabular-nums}

.tora-gallery-dialog[open]{display:flex;flex-direction:column}
.tora-gallery-dialog-bar,.tora-gallery-dialog-bottom{flex:none}
.tora-gallery-stage{flex:1 1 auto;min-height:0;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);overflow:hidden}
.aw-wordpress .tora-gallery-stage>img{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}

.tora-gallery-preview .tora-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;columns:auto;align-items:start}
.tora-gallery-preview .tora-gallery-card{display:block;margin:0;min-width:0}
@media(max-width:1199px){.tora-gallery-preview .tora-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:799px){.tora-gallery-preview .tora-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:559px){.tora-gallery-preview .tora-gallery-grid{grid-template-columns:minmax(0,1fr)}}
