/* Original homepage gallery format, with current copy and uniform 16:9 photos. */
body.home-page #company-capabilities{background:var(--soft)}
body.home-page #company-capabilities .supplier-profile-head{align-items:start;margin-bottom:clamp(32px,3.4vw,50px)}
body.home-page #company-capabilities .supplier-profile-head .tag{display:block;margin-bottom:17px;color:var(--orange-dark);font-size:12px;font-weight:650;line-height:1.5;letter-spacing:.12em;text-transform:uppercase}
body.home-page #company-capabilities .supplier-profile-head h2{max-width:23ch}
body.home-page #company-capabilities .supplier-profile-intro{padding-top:3px}
body.home-page #company-capabilities .supplier-video-card{margin-bottom:0}
body.home-page #company-capabilities .supplier-profile-facts span{border:1px solid var(--line);border-radius:3px;box-shadow:none;font-size:13px;font-weight:550}
body.home-page #supplierGallery{margin-top:clamp(56px,5.5vw,80px);margin-bottom:0;padding-top:clamp(34px,3.6vw,52px);border-top:1px solid #cbd3ca;overflow-anchor:none;scroll-margin-top:108px}
body.home-page #supplierGallery [hidden]{display:none!important}
body.home-page #supplierGallery .sg-gallery-intro{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:32px}
body.home-page #supplierGallery .sg-gallery-intro h3{font-size:clamp(31px,2.5vw,36px);font-weight:600;line-height:1.2;letter-spacing:-.035em}
body.home-page #supplierGallery .sg-gallery-intro>a{display:inline-flex;align-items:center;gap:20px;min-height:38px;color:var(--orange-dark);font-size:14px;font-weight:550}
body.home-page #supplierGallery .sg-gallery-intro>a:hover{text-decoration:underline;text-underline-offset:4px}
/* Keep the original adjoining angled tabs and orange active category. */
body.home-page #supplierGallery .supplier-gallery-tabs{display:flex}
body.home-page #supplierGallery .supplier-gallery-tab{display:block;flex:1;min-width:0;text-align:center;padding:18px 26px;color:#566166;font-size:16px;font-weight:600;line-height:1.4}
body.home-page #supplierGallery .supplier-gallery-tab.is-active{background:var(--orange-dark);color:#fff}
body.home-page #supplierGallery .sg-fallback-title{margin-bottom:21px;font-size:24px;font-weight:600;line-height:1.3}
body.home-page #supplierGallery.is-enhanced .sg-fallback-title{display:none}
body.home-page #supplierGallery:not(.is-enhanced) .supplier-gallery-tabs{display:none}
body.home-page #supplierGallery:not(.is-enhanced) .supplier-gallery-panel+.supplier-gallery-panel{margin-top:30px}
/* Column widths keep three 16:9 thumbnails level with the 16:9 main photograph. */
body.home-page #supplierGallery .supplier-gallery-body{display:grid;grid-template-columns:minmax(0,calc((100% - 14px) * .75 + 8.888889px)) minmax(0,1fr);align-items:start;gap:14px;padding:16px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:#fff}
body.home-page #supplierGallery .supplier-gallery-main{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:5px;background:#dce1da}
body.home-page #supplierGallery .sg-open-photo{position:absolute;inset:0;display:block;cursor:zoom-in}
body.home-page #supplierGallery .sg-feature-img{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;object-fit:cover;object-position:center;transition:none}
body.home-page #supplierGallery .supplier-gallery-main figcaption{position:absolute;right:0;bottom:0;left:0;padding:52px 26px 25px;background:linear-gradient(180deg,transparent,#080e10e0);color:#fff;pointer-events:none}
body.home-page #supplierGallery .sg-photo-title{font-size:clamp(24px,2.1vw,31px);font-weight:600;line-height:1.25;letter-spacing:-.025em}
body.home-page #supplierGallery .supplier-gallery-thumbs{position:static;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;overflow:visible;padding:0}
body.home-page #supplierGallery .sg-thumb{position:relative;display:block;flex:none;width:100%;min-width:0;min-height:0;aspect-ratio:16/9;padding:0;border:0;border-radius:4px;overflow:hidden;background:#dce1da;opacity:.62;box-shadow:none;transition:opacity .18s}
body.home-page #supplierGallery .sg-thumb img{display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;object-fit:cover;object-position:center}
body.home-page #supplierGallery .sg-thumb::after{content:"";position:absolute;inset:0;border:3px solid transparent;border-radius:4px;pointer-events:none}
body.home-page #supplierGallery .sg-thumb.is-active{opacity:1;box-shadow:none}
body.home-page #supplierGallery .sg-thumb.is-active::after{border-color:var(--orange)}
body.home-page #supplierGallery .sg-thumb:hover{opacity:1}
body.home-page #supplierGallery .sg-photo-description{max-width:62ch;margin-top:10px;color:#e5ebe8;font-size:17px;line-height:1.6}
body.home-page #supplierGallery .sg-gallery-footer{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:18px}
body.home-page #supplierGallery .sg-gallery-footer p{color:var(--muted);font-size:13px;line-height:1.7}
body.home-page #supplierGallery .sg-gallery-footer>a{display:inline-flex;align-items:center;gap:22px;min-height:38px;color:var(--orange-dark);font-size:14px;font-weight:550}
body.home-page #supplierGallery .sg-gallery-footer>a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1020px){
 body.home-page #supplierGallery .supplier-gallery-body{grid-template-columns:minmax(0,1fr)}
 body.home-page #supplierGallery .supplier-gallery-thumbs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 body.home-page #supplierGallery .sg-thumb{width:100%;flex:none;aspect-ratio:16/9}
}
@media(max-width:700px){
 body.home-page #company-capabilities .supplier-profile-head{gap:22px;margin-bottom:29px}
 body.home-page #company-capabilities .supplier-profile-head .tag{margin-bottom:14px;font-size:11px}
 body.home-page #company-capabilities .supplier-profile-head h2{font-size:32px;line-height:1.2}
 body.home-page #company-capabilities .supplier-profile-intro{padding-top:0}
 body.home-page #supplierGallery{margin-top:46px;padding-top:32px;scroll-margin-top:90px}
 body.home-page #supplierGallery .sg-gallery-intro{align-items:start;flex-direction:column;gap:11px;margin-bottom:27px}
 body.home-page #supplierGallery .sg-gallery-intro h3{font-size:30px}
 body.home-page #supplierGallery .sg-gallery-intro>a{font-size:13px;gap:16px}
 body.home-page #supplierGallery .supplier-gallery-tab{padding:15px 19px;font-size:13px;line-height:1.45}
 body.home-page #supplierGallery .supplier-gallery-body{padding:11px;gap:11px;border-radius:0 0 8px 8px}
 body.home-page #supplierGallery .supplier-gallery-main{aspect-ratio:auto;overflow:visible;border-radius:0;background:#fff}
 body.home-page #supplierGallery .sg-open-photo{position:relative;inset:auto;aspect-ratio:16/9;overflow:hidden;border-radius:3px}
 body.home-page #supplierGallery .supplier-gallery-main figcaption{position:static;padding:17px 2px 8px;background:none;color:var(--ink)}
 body.home-page #supplierGallery .sg-photo-title{font-size:23px;line-height:1.3}
 body.home-page #supplierGallery .supplier-gallery-thumbs{gap:8px}
 body.home-page #supplierGallery .sg-thumb{aspect-ratio:16/9;border-radius:2px}
 body.home-page #supplierGallery .sg-thumb::after{border-radius:2px;border-width:2px}
 body.home-page #supplierGallery .sg-photo-description{max-width:none;margin-top:8px;color:var(--muted);font-size:15px;line-height:1.65}
 body.home-page #supplierGallery .sg-gallery-footer{align-items:start;flex-direction:column;gap:9px;margin-top:16px}
 body.home-page #supplierGallery .sg-gallery-footer p{font-size:12px}
 body.home-page #supplierGallery .sg-gallery-footer>a{font-size:13px;min-height:34px}
}
@media(prefers-reduced-motion:reduce){body.home-page #supplierGallery .sg-thumb{transition:none}}
