/* Public service galleries: the same restrained shapes and type scale as Apps. */
.service-gallery { background: #f6f6f6; color: #232323; }
.service-gallery .container { max-width: 1180px; }
.service-gallery p, .service-gallery li { font-size: 16px; line-height: 1.75; }
.service-gallery h2 { font-size: clamp(28px,3vw,40px); line-height: 1.2; }
.service-gallery-eyebrow { color: var(--brand-red); font-size: 14px !important; font-weight: 700; letter-spacing: .12em; margin-bottom: 14px; }
.service-gallery-hero { background: #fff; padding: 52px 0 30px; }
.service-gallery-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.service-gallery h1 { font-size: clamp(36px,4vw,54px); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 24px; }
.service-gallery .service-gallery-lead { font-size: 21px; font-weight: 600; line-height: 1.5; }
.service-gallery-hero-image { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 28px; background: #f6f6f6; }
.service-gallery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.service-gallery-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; height: 62px; box-sizing: border-box; padding: 16px 24px; background: var(--brand-red); border-radius: 14px; color: #fff; font-size: 16px; font-weight: 700; }
.service-gallery-button:hover { background: #800303; color: #fff; }
.service-gallery-catalog { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 62px; box-sizing: border-box; padding: 10px 20px; border: 1px solid #d5d5d5; border-radius: 14px; color: #232323; background: #fff; font-size: 16px; font-weight: 700; }
.service-gallery-catalog > i { color: var(--brand-red); font-size: 20px; }.service-gallery-catalog span { display: grid; gap: 2px; text-align: left; }.service-gallery-catalog small { color: #69707a; font-size: 12px; font-weight: 500; }
.service-gallery-catalog:hover { border-color: var(--brand-red); color: var(--brand-red); }
[data-site-theme="dark"] .service-gallery-catalog { background: #20252c; border-color: #424953; color: #f1f3f5; }
[data-site-theme="dark"] .service-gallery-catalog small { color: #c7c7c7; }
.service-gallery-link { color: var(--brand-red); font-size: 16px; font-weight: 600; }
.service-gallery a:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 5px; }
.service-gallery-about { padding: 64px 0; }
.service-gallery .product-gallery-overview { gap: 48px; }
.service-gallery .product-gallery-summary { border-radius: 24px; padding: 30px; }
.service-gallery .product-gallery-summary img { display: none; }
.service-gallery .product-gallery-copy h2 { font-size: 30px; }
.service-gallery .product-gallery-overview-compact { display:block; max-width:820px; margin:0; }
.service-gallery .product-gallery-overview-compact h2 { margin-bottom:18px; font-size:clamp(28px,3vw,40px); }
.service-gallery .product-gallery-brief { margin:0; color:#626973; font-size:20px; line-height:1.65; }
[data-site-theme="dark"] .service-gallery .product-gallery-brief { color:#c9cdd2; }
.service-gallery-portfolio { padding: 38px 0 56px; background: #f6f6f6; scroll-margin-top: 100px; }
.service-gallery .cms-gallery > nav { gap: 12px !important; padding: 20px 0 30px; }
.service-gallery .cms-gallery > nav .gallery-filter-tag { padding: 10px 18px; background: #f4f4f4; border: 1px solid #ddd; border-radius: 999px; font-size: 16px; color: #232323; cursor: pointer; }
.service-gallery .cms-gallery > nav .gallery-filter-tag:hover, .service-gallery .cms-gallery > nav .gallery-filter-tag.is-active { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.service-gallery .cms-gallery > section { scroll-margin-top: 110px; padding-top: 22px; }
.service-gallery .cms-gallery > section > h2 { margin-bottom: 24px; font-size: 28px; }
.service-gallery .cms-gallery .row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0; }
.service-gallery .cms-gallery figure { width: auto; max-width: none; padding: 0; margin: 0; border: 1px solid #e4e4e4; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 8px 26px rgb(0 0 0 / 4%); }
.service-gallery .cms-gallery figure > a { display: block; padding: 18px; background: #f7f7f7; }
.service-gallery .gallery-thumbnail { display: block; aspect-ratio: 1; object-fit: cover; border-radius: 12px !important; transition: transform .2s; }
.service-gallery .gallery-thumbnail.is-pending { background:linear-gradient(110deg,#eceef0 8%,#f7f8f9 18%,#eceef0 33%);background-size:220% 100%;animation:gallery-image-pending 1.35s linear infinite;opacity:.72 }
[data-site-theme=dark] .service-gallery .gallery-thumbnail.is-pending { background-image:linear-gradient(110deg,#272c33 8%,#353b44 18%,#272c33 33%) }
@keyframes gallery-image-pending { to { background-position-x:-220%; } }
.service-gallery .cms-gallery figure > a:hover img { transform: scale(1.025); }
.service-gallery figcaption { padding: 20px 22px; font-size: 18px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.service-gallery-bottom { padding: 64px 0 80px; }
.service-gallery-cta { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; border-radius: 24px; padding: 48px; background: #1d2027; color: #fff; }
.service-gallery-cta h2 { color: #fff; }
.service-gallery-cta p { color: #e0e0e0; max-width: 720px; margin-bottom: 0; }
.service-gallery-cta .service-gallery-eyebrow { color: #fff; margin-bottom: 12px; }
@media (max-width: 991px) {
 .service-gallery-hero-grid { gap: 30px; }
 .service-gallery .product-gallery-overview { grid-template-columns: 1fr; }
 .service-gallery .cms-gallery .row { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .service-gallery-cta { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
 .service-gallery-hero { padding: 36px 0 22px; }
 .service-gallery-hero-grid { grid-template-columns: 1fr; }
 .service-gallery-hero-image { max-height: 360px; }
 .service-gallery .cms-gallery .row { gap: 14px; }
 .service-gallery figcaption { padding: 14px; font-size: 16px; }
 .service-gallery .cms-gallery figure > a { padding: 8px; }
 .service-gallery-portfolio { padding: 32px 0 44px; }
 .service-gallery-cta { padding: 28px; }
}
@media (max-width: 420px) { .service-gallery .cms-gallery .row { grid-template-columns: 1fr; } }

/* Merchandise presentation controls and responsive density modes. */
.service-gallery-merchandise .gallery-view-controls { display: inline-flex; float: right; gap: 4px; width: max-content; margin: 0 0 4px 20px; padding: 4px; border: 1px solid #d9dce0; border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgb(0 0 0 / 5%); }
.service-gallery-merchandise .gallery-view-controls button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: #626973; font-size: 16px; cursor: pointer; transition: background-color .2s,color .2s; }
.service-gallery-merchandise .gallery-view-controls button:hover { color: var(--brand-red); }
.service-gallery-merchandise .gallery-view-controls button.is-active { background: var(--brand-red); color: #fff; }
.service-gallery-merchandise .gallery-view-controls button:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 2px; }
.service-gallery-merchandise .cms-gallery > nav { clear: both; }
[data-site-theme="dark"] .service-gallery-merchandise .gallery-view-controls { border-color: #424953; background: #20252c; }
[data-site-theme="dark"] .service-gallery-merchandise .gallery-view-controls button { color: #c9cdd2; }
[data-site-theme="dark"] .service-gallery-merchandise .gallery-view-controls button:hover { color: #ff7378; }
[data-site-theme="dark"] .service-gallery-merchandise .gallery-view-controls button.is-active { color: #fff; }

@media (min-width: 992px) {
 .service-gallery-merchandise .cms-gallery[data-gallery-layout="default"] .row { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; }
 .service-gallery-merchandise .cms-gallery[data-gallery-layout="half"] .row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
 .service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] .row { grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 12px; }
}
@media (min-width: 576px) and (max-width: 991px) {
 .service-gallery-merchandise .cms-gallery[data-gallery-layout="default"] .row { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
 .service-gallery-merchandise .cms-gallery[data-gallery-layout="half"] .row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
 .service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] .row { grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 12px; }
}
.service-gallery-merchandise .cms-gallery[data-gallery-layout="default"] figure { border-radius: 16px; }
.service-gallery-merchandise .cms-gallery[data-gallery-layout="default"] figure > a { padding: 10px; }
.service-gallery-merchandise .cms-gallery[data-gallery-layout="default"] figcaption { padding: 13px 14px; font-size: 15px; }
.service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] figure { display: grid; grid-template-columns: 56px minmax(0,1fr); align-items: center; min-height: 64px; border-radius: 12px; }
.service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] figure > a { width: 56px; height: 56px; padding: 6px; }
.service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] .gallery-thumbnail { width: 44px; height: 44px; aspect-ratio: 1; border-radius: 8px!important; object-fit: cover; }
.service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] figcaption { padding: 8px 12px; font-size: 14px; line-height: 1.35; }
@media (max-width: 575px) {
 .service-gallery-merchandise .gallery-view-controls { display: none; }
 .service-gallery-merchandise .cms-gallery .row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
 .service-gallery-merchandise .cms-gallery figure,.service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] figure { display: block; min-height: 0; border-radius: 12px; }
 .service-gallery-merchandise .cms-gallery figure > a,.service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] figure > a { display: block; width: auto; height: auto; padding: 5px; }
 .service-gallery-merchandise .cms-gallery .gallery-thumbnail,.service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] .gallery-thumbnail { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px!important; }
 .service-gallery-merchandise .cms-gallery figcaption,.service-gallery-merchandise .cms-gallery[data-gallery-layout="list"] figcaption { padding: 8px 7px; font-size: 12px; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) { .service-gallery .gallery-thumbnail { transition: none; } .service-gallery .gallery-thumbnail.is-pending { animation:none; } }
