/* Extend the approved Gallery; images and the existing fluid viewer lead. */
.cms-project-card{min-width:0}.cms-project-card a{color:inherit;text-decoration:none;display:block;border-radius:12px}
.cms-project-card-image{position:relative;overflow:hidden;border-radius:12px;background:#e6e4de}
.cms-project-card-image img{display:block;aspect-ratio:3/2;object-fit:cover;width:100%}
.cms-project-card a:focus-visible,.cms-project-back:focus-visible{outline:3px solid #6b6000;outline-offset:6px}
.cms-gallery-heading .cms-project-total{font-size:15px;white-space:nowrap}
.cms-gallery-caption .cms-project-media-count{font-size:14px;color:#625f57}
.cms-project-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#55534e;text-decoration:underline;text-underline-offset:.2em;margin-bottom:28px}
.cms-project-heading{max-width:1000px;margin-bottom:32px}.cms-project-heading h1{font-size:clamp(36px,5vw,64px);line-height:1.08;letter-spacing:-.025em;margin:0 0 16px;text-wrap:balance}.cms-project-heading p{font-size:20px;color:#55534e;margin:0}
.cms-project-stage{background:#171613;border-radius:12px;overflow:hidden;color:#fff;margin:0}
.cms-project-stage .cms-carousel-frame{height:min(65vh,760px);min-height:260px}.cms-project-stage .cms-carousel-track,.cms-project-stage .cms-slide,.cms-project-stage figure,.cms-project-stage .cms-media-open{height:100%;margin:0;padding:0;width:100%;border:0}
.cms-project-stage .cms-slide{background:transparent}.cms-project-stage figure{position:relative;display:flex;align-items:center;justify-content:center}
.cms-gallery-page .cms-project-stage img,.cms-gallery-page .cms-project-stage video{width:100%;height:100%;object-fit:contain;aspect-ratio:auto;max-height:none;border-radius:0}
.cms-gallery-page .cms-project-stage .cms-media-open{background:transparent;border-radius:0}
.cms-project-stage .cms-carousel-controls button{display:grid;place-items:center;background:#302e29;color:#fff;border:0;box-shadow:none;border-radius:8px;width:44px;height:48px}
.cms-project-stage .cms-carousel-controls [data-step="-1"]{left:12px}.cms-project-stage .cms-carousel-controls [data-step="1"]{right:12px}
.cms-gallery-page .cms-project-stage .cms-project-video-expand{position:absolute;right:16px;top:16px;width:44px;height:44px;padding:10px;background:#302e29}
.cms-project-thumbs{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#8a8579 #eeece5;padding:14px 4px 8px}
.cms-project-thumbs button{flex:0 0 104px;width:104px;padding:3px;border:2px solid transparent;border-radius:8px;min-height:72px;background:#e6e4de;color:#22211d;cursor:pointer;touch-action:manipulation}
.cms-project-thumbs button[aria-pressed=true]{border-color:#22211d;background:#ffe400}.cms-project-thumbs button:focus-visible{outline:2px solid #22211d;outline-offset:2px}
.cms-project-thumbs img{display:block;width:100%;height:64px;object-fit:cover;border-radius:4px}.cms-project-thumbs span{display:grid;justify-items:center;gap:4px}.cms-project-thumbs small{font-size:12px}
#project-media-state{font-size:14px;color:#8b2923;min-height:0;margin:8px 0}#project-media-state:empty{display:none}
.cms-project-information{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:48px;margin-top:40px}.cms-project-information h2{font-size:24px;line-height:1.25;margin:0 0 14px}.cms-project-information p,.cms-project-information li{font-size:17px;line-height:1.65;color:#55534e;max-width:65ch;white-space:pre-line}.cms-project-information ul{padding-left:20px;list-style:disc}.cms-project-cta{margin-top:36px}
@media(hover:hover) and (pointer:fine){.cms-project-card a:hover .cms-media-expand{background:#47443c}.cms-project-thumbs button:hover{border-color:#847e70}}
@media(max-width:767px){.cms-project-heading{margin-bottom:24px}.cms-project-back{margin-bottom:20px}.cms-project-stage .cms-carousel-frame{height:42svh;min-height:220px}.cms-project-information{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:28px}.cms-project-thumbs{gap:8px}.cms-project-thumbs button{flex-basis:84px;width:84px}.cms-project-thumbs img{height:56px}.cms-project-heading p{font-size:18px}}
@media(prefers-reduced-motion:reduce){.cms-project-thumbs{scroll-behavior:auto}}
