/* Compact WELD section openings and one shared project gallery. */
body.weld-inner #main-content>.wh-page-head{padding:18px 0!important}
body.weld-inner #main-content>.wh-page-head>.wh-eyebrow{display:none}
body.weld-inner #main-content>.wh-page-head>.wh-page-title-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;margin:0!important;align-items:center}
body.weld-inner #main-content>.wh-page-head h1{font-size:clamp(32px,2.8vw,44px)!important;font-weight:500!important;line-height:1.08;letter-spacing:-.035em;margin:0;max-width:none}
body.weld-inner #main-content>.wh-page-head .wh-page-intro{font-size:14px!important;line-height:1.4!important;max-width:62ch!important;margin:0!important;justify-self:end}
body.weld-inner.single #main-content>.wh-page-head>.wh-page-title-row,body.weld-inner.page-id-65 #main-content>.wh-page-head>.wh-page-title-row{grid-template-columns:1fr}
body.weld-inner #main-content>.wh-category-nav{display:flex;justify-content:space-between;flex-wrap:wrap;gap:0 22px;padding:0;margin:0 0 12px;border-block:1px solid #d8d7d7}
body.weld-inner #main-content>.wh-category-nav a{font-size:13px;padding:10px 0}
body.weld-inner.weld-collection #main-content>.wh-category-nav{margin-bottom:0}
body.weld-inner #main-content .wc-toolbar{padding:10px 0 12px}
body.weld-inner #main-content .wc-name h2{font-weight:500}
body.weld-inner #main-content .wc-grid:not(.is-index):not(.is-searching) .wc-feature h2{font-size:clamp(38px,3.7vw,62px);font-weight:700;line-height:1.04;letter-spacing:-.04em}
body.weld-inner #main-content .wc-grid:not(.is-index):not(.is-searching) .wc-feature .wc-caption{gap:22px}
body.weld-inner #main-content .wc-feature .wc-feature-label{font-weight:500;letter-spacing:.12em;margin-bottom:16px}
body.weld-inner #main-content .wc-feature .wc-meta{font-size:13px}
body.weld-inner #main-content .wc-feature .wc-caption-link{display:inline-flex;align-items:center;gap:30px;border-bottom:1px solid #231f20;padding:10px 0;font-size:13px;font-weight:500}
body.weld-inner #main-content .wc-grid.is-index .wc-caption-link,body.weld-inner #main-content .wc-grid.is-searching .wc-caption-link{border:0;padding:0}
body.weld-inner #main-content .wc-grid.is-index .wc-caption-link span,body.weld-inner #main-content .wc-grid.is-searching .wc-caption-link span{display:none}
body.weld-inner #main-content .wc-grid:not(.is-index):not(.is-searching) .wc-feature .wc-photo{width:100%;height:auto;aspect-ratio:16/9;margin-inline:auto;justify-self:center;min-height:0}
body.weld-inner #main-content .wc-grid:not(.is-index):not(.is-searching) .wc-feature .wc-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 50%}
body.weld-inner.page-id-493 #main-content .wc-grid:not(.is-index):not(.is-searching) .wc-feature .wc-photo img{object-position:50% 48%}
body.weld-inner.weld-collection #main-content>.wh-page-head>.wh-page-title-row{min-height:48px}
@media(max-width:760px){
body.weld-inner.weld-collection #main-content>.wh-page-head .wh-page-intro{min-height:34px}
body.weld-inner #main-content .wc-grid:not(.is-index):not(.is-searching) .wc-feature .wc-caption{min-height:80px}
}
body.weld-inner.page-id-691 #main-content .wj-rule{padding:9px 0}
body.weld-inner.page-id-691 #main-content .wj-grid .wj-lead{height:clamp(260px,calc(100svh - 280px),780px)}
body.weld-inner.page-id-691 #main-content .wj-grid .wj-lead h2{font-weight:500}
body.weld-inner #main-content .wp-gallery{width:100%;margin:0 0 28px;clear:both}
body.weld-inner #main-content .wp-gallery-stage{height:clamp(220px,calc(100svh - 340px),780px);position:relative;background:#fff;overflow:hidden;touch-action:pan-y}
body.weld-inner #main-content .wp-gallery-slide{position:absolute;inset:0;margin:0;display:block}
body.weld-inner #main-content .wp-gallery-slide[hidden]{display:none!important}
body.weld-inner #main-content .wp-gallery-slide a{display:block;width:100%;height:100%}
body.weld-inner #main-content .wp-gallery-slide img{display:block;width:100%!important;height:100%!important;max-width:100%;object-fit:contain;object-position:center;opacity:1!important;visibility:visible!important}
body.weld-inner #main-content .wp-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;border-bottom:1px solid #d8d7d7}
body.weld-inner #main-content .wp-gallery-actions{display:grid;grid-template-columns:66px 44px 44px;gap:8px;align-items:center;flex:none}
body.weld-inner #main-content .wp-gallery-count{font:500 12px/1.4 WeldDIN,sans-serif;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
body.weld-inner #main-content .wp-gallery button{border:0;border-radius:0;background:transparent;box-shadow:none;color:#231f20;margin:0;cursor:pointer;padding:10px;width:44px;height:44px;display:grid;place-items:center}
body.weld-inner #main-content .wp-gallery button:hover{background:#f0f0f0}
body.weld-inner #main-content .wp-gallery button:focus-visible,body.weld-inner #main-content .wp-gallery a:focus-visible{outline:2px solid #231f20;outline-offset:-2px}
body.weld-inner #main-content .wp-gallery-dots{display:flex;gap:0;overflow-x:auto;max-width:65%;align-items:center}
body.weld-inner #main-content .wp-gallery-dots button{width:28px;min-width:28px;padding:9px}
body.weld-inner #main-content .wp-gallery-dots button:after{content:"";width:5px;height:5px;border-radius:50%;border:1px solid #231f20;background:transparent}
body.weld-inner #main-content .wp-gallery-dots button[aria-pressed=true]:after{background:#231f20}
body.weld-inner #main-content .wp-gallery [hidden]{display:none!important}
body.weld-inner #main-content .wp-gallery-hint{font:400 11px/1.4 WeldDIN,sans-serif;color:#666}
body.weld-inner #main-content .wp-gallery~.port-content-wrapper{margin-top:24px;padding-top:24px}
/* Repeated story media is removed by the shared PHP renderer. */
body.weld-inner #main-content .gdl-related-portfolio .portfolio-title{font-weight:500}
@media(max-width:760px){
body.weld-inner #main-content>.wh-page-head{padding:14px 0!important}
body.weld-inner #main-content>.wh-page-head>.wh-page-title-row{display:block}
body.weld-inner #main-content>.wh-page-head h1{font-size:30px!important}
body.weld-inner #main-content>.wh-page-head .wh-page-intro{font-size:12px!important;line-height:1.4!important;margin-top:7px!important;max-width:none!important}
body.weld-inner #main-content>.wh-category-nav{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
body.weld-inner #main-content>.wh-category-nav a{padding:7px 0;font-size:12px}
body.weld-inner #main-content .wc-toolbar{padding:8px 0 10px}
body.weld-inner #main-content .wc-count{margin-bottom:4px}
body.weld-inner #main-content .wc-grid:not(.is-index):not(.is-searching) .wc-feature h2{font-size:30px}
body.weld-inner #main-content .wc-grid:not(.is-index):not(.is-searching) .wc-feature .wc-caption{gap:7px}
body.weld-inner #main-content .wc-feature .wc-caption-link span{display:none}
body.weld-inner #main-content .wc-feature .wc-caption-link{border:0;padding:0}
body.weld-inner #main-content .wc-feature .wc-meta{font-size:11px}
body.weld-inner.page-id-691 #main-content .wj-grid .wj-lead{height:clamp(260px,calc(100svh - 320px),650px)}
body.weld-inner.page-id-691 #main-content .wj-grid .wj-lead h2{font-size:clamp(26px,6.5vw,36px)}
body.weld-inner #main-content .wp-gallery-stage{height:clamp(180px,calc(100svh - 370px),580px)}
body.weld-inner #main-content .wp-gallery-controls{gap:8px}
body.weld-inner #main-content .wp-gallery-dots{max-width:calc(100% - 174px)}
body.weld-inner #main-content .wp-gallery-dots button{min-width:24px;width:24px}
}