/* Scoped to the owned Portfolio gallery; no extra slider library. */
.acp-gallery.acp-gallery--slider .acp-gallery-grid{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#538697 #cbdfe6;overscroll-behavior-x:contain;padding-block:3px 14px}
.acp-gallery--slider .acp-gallery-grid>.acp-gallery-link{flex:0 0 100%;min-width:0;scroll-snap-align:center;scroll-snap-stop:always}
.acp-gallery--slider .acp-gallery-grid img{aspect-ratio:2.2;max-height:min(50vh,520px);min-height:260px;border:1px solid #bed5df}
.acp-gallery--slider[data-slider-ready=true] .acp-gallery-grid{scrollbar-width:none}
.acp-gallery--slider[data-slider-ready=true] .acp-gallery-grid::-webkit-scrollbar{display:none}
.acp-gallery--slider .acp-gallery-link>span{display:block;text-align:end;padding-inline:4px}
.acp-gallery--slider .acp-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-block-start:8px}
.acp-gallery--slider .acp-gallery-controls[hidden]{display:none}
.acp-gallery--slider .acp-gallery-buttons{display:flex;align-items:center;gap:16px;flex:none}
.acp-gallery--slider .acp-gallery-buttons button{width:48px;height:48px;padding:0;border:1px solid #87aab8;border-radius:50%;background:transparent;color:#006a7f;font-size:25px;line-height:1;cursor:pointer;transition:background .2s,color .2s}
.acp-gallery--slider .acp-gallery-buttons button:hover:not(:disabled){background:#006a7f;color:#defdff}
.acp-gallery--slider .acp-gallery-buttons button:disabled{opacity:.3;cursor:default}
.acp-gallery--slider .acp-gallery-count{font-size:14px;font-variant-numeric:tabular-nums;color:#3b5a6b;white-space:nowrap}
.acp-gallery--slider .acp-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;max-width:70%;padding:5px;scrollbar-width:thin}
.acp-gallery--slider .acp-gallery-thumbs button{width:72px;height:58px;flex:none;padding:4px;background:#d0e3eb;border:2px solid transparent;border-radius:9px;cursor:pointer;opacity:.65}
.acp-gallery--slider .acp-gallery-thumbs button[aria-current=true]{border-color:#006a7f;opacity:1;background:#fff}
.acp-gallery--slider .acp-gallery-thumbs img{width:100%;height:100%;object-fit:contain;display:block;border-radius:4px}
.acp-gallery--slider :is(button,.acp-gallery-grid):focus-visible{outline:3px solid #006a7f;outline-offset:3px}
.acp-portfolio .acp-card-title a{display:inline;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:.19em;transition:color .2s,text-decoration-color .2s}
.acp-portfolio .acp-card-title a:is(:hover,:focus-visible){text-decoration-color:currentColor}
@media(max-width:767px){.acp-gallery--slider .acp-gallery-grid img{aspect-ratio:1.12;min-height:0;max-height:480px}.acp-gallery--slider .acp-gallery-controls{align-items:flex-start;gap:12px}.acp-gallery--slider .acp-gallery-buttons{gap:10px}.acp-gallery--slider .acp-gallery-buttons button{width:44px;height:44px}.acp-gallery--slider .acp-gallery-thumbs{max-width:52%}.acp-gallery--slider .acp-gallery-thumbs button{width:54px;height:44px}}
@media(prefers-reduced-motion:reduce){.acp-gallery--slider *,.acp-portfolio .acp-card-title a{transition:none}}
