.port219 .p219-post-gallery{margin:3rem 0;min-width:0;position:relative}
.port219 .p219-post-gallery h2{margin:0 0 1.15rem}
.port219 .p219-post-gallery__controls{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px;color:#aaa;font-size:14px}
.port219 .p219-post-gallery__controls[hidden]{display:none}
.port219 .p219-post-gallery__controls>div{display:flex;gap:8px}
.port219 .p219-post-gallery__controls button{background:#181414;color:#fff;border:1px solid #555;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font:400 32px/1 Arial,sans-serif;cursor:pointer;transition:background .2s,border-color .2s}
.port219 .p219-post-gallery__controls button:hover,.port219 .p219-post-gallery__controls button:focus-visible{background:#302015;border-color:#ff5000}
.port219 .p219-post-gallery__controls button:disabled{opacity:.35;cursor:default}
.port219 .p219-post-gallery__track{display:flex;gap:16px;align-items:flex-start;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#49403b transparent;overscroll-behavior-inline:contain;min-width:0;padding-bottom:12px}
.port219 .p219-prose .p219-post-gallery__slide{flex:0 0 84%;min-width:0;scroll-snap-align:start;margin:0}
.port219 .p219-post-gallery__slide:last-child{scroll-snap-align:end}
.port219 .p219-post-gallery__slide a{display:block;border-radius:25px;overflow:hidden;aspect-ratio:16/10;background:#140f0f;outline-offset:-3px}
.port219 .p219-prose .p219-post-gallery__slide img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;border-radius:0;margin:0;transition:transform .35s ease}
.port219 .p219-post-gallery__slide a:hover img{transform:scale(1.025)}
.port219 .p219-post-gallery__slide figcaption{font-size:14px;line-height:1.45;margin:9px 2px 0;color:#c7c3c1}
@media(max-width:767px){.port219 .p219-post-gallery{margin:2rem 0}.port219 .p219-prose .p219-post-gallery__slide{flex-basis:100%}.port219 .p219-post-gallery__slide a{border-radius:18px;aspect-ratio:4/3}.port219 .p219-post-gallery__track{gap:12px}}
@media(prefers-reduced-motion:reduce){.port219 .p219-post-gallery__slide a:hover img{transform:none}}

/* Article and gallery use the available page width. */
.port219 .p219-post-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:clamp(24px,3vw,48px);width:100%;max-width:1480px}
.port219 .p219-post-layout>div{min-width:0}
.port219 .p219-post-layout .p219-post__content{max-width:none}
.port219 .p219-post-gallery__track{scrollbar-width:none;padding-bottom:0}
.port219 .p219-post-gallery__track::-webkit-scrollbar{display:none}
.port219 .p219-prose .p219-post-gallery__slide{flex-basis:100%}
.port219 .p219-post-gallery__slide a{aspect-ratio:16/9;background:transparent}
.port219 .p219-prose .p219-post-gallery__slide img{object-fit:cover}
.port219 .p219-post-gallery__controls button{box-sizing:border-box;padding:0;position:relative;display:grid;place-items:center;font-size:0;line-height:1;background:#181414;border:1px solid #555;box-shadow:none}
.port219 .p219-post-gallery__controls button::after{content:"";display:block;width:11px;height:11px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-left:-4px}
.port219 .p219-post-gallery__controls button[data-p219-gallery-prev]::after{transform:rotate(-135deg);margin-left:4px}
.port219 .p219-post-gallery__controls button:disabled{opacity:.38;border-color:#555;box-shadow:none}
@media(max-width:767px){.port219 .p219-post-layout{grid-template-columns:minmax(0,1fr)}.port219 .p219-post-gallery__slide a{aspect-ratio:4/3}}


/* Centred SVG chevrons; the text glyph occupies no layout space. */
.port219 .p219-post-gallery__controls button{display:block}
.port219 .p219-post-gallery__controls button::after{position:absolute;top:50%;left:50%;margin:0;width:18px;height:18px;border:0;transform:translate(-50%,-50%);background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 3L12 9L6 15' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.port219 .p219-post-gallery__controls button[data-p219-gallery-prev]::after{margin:0;transform:translate(-50%,-50%) rotate(180deg)}
