/* Installed DD/GY photography reuses the shared product layouts. */
.sg-photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;aspect-ratio:var(--sg-photo-ratio,4/3);padding:clamp(20px,3vw,44px);background:#dbeaf1;color:#13384e;text-align:center;overflow:hidden}
.sg-photo-placeholder>span{font-size:clamp(17px,1.4vw,23px);font-weight:650;line-height:1.4}
.sg-photo-placeholder p{font-size:14px;line-height:1.8;max-width:40ch;margin:0;color:#476477}
[data-switchgear-detail] .sg-detail-figure{margin:24px 0 0;max-width:680px}
[data-switchgear-detail] .sg-detail-figure figcaption{font-size:13px;line-height:1.6;color:#476477;margin-top:10px}
[data-switchgear-detail] .br-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-switchgear-detail] .br-document-guide{min-width:0}
[data-solution-catalog="switchgear"] .px-category-placeholder{display:flex!important;flex-direction:column;gap:16px;justify-content:center}
[data-solution-catalog="switchgear"]{padding-bottom:0}
[data-solution-catalog="switchgear"] .px-category-placeholder small{display:block;font-size:14px;line-height:1.7;font-weight:400;color:#476477;max-width:35ch}
[data-solution-catalog="switchgear"] .px-hero .px-hero-copy>p:not(.px-eyebrow){color:#c6d8e6;max-width:65ch;font-size:18px;line-height:1.7}
[data-solution-catalog="switchgear"] .sg-catalog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:28px}
[data-solution-catalog="switchgear"] .sg-catalog-actions .px-link{color:#8bebba}
[data-solution-catalog="switchgear"] .px-family-copy{display:flex;flex-direction:column}
[data-solution-catalog="switchgear"] .px-family-action{margin-top:auto;padding-top:28px}
[data-solution-catalog="switchgear"] .sg-catalog-copy{max-width:72ch;font-size:17px;line-height:1.7;color:#476477;margin:14px 0 0}
[data-solution-catalog="switchgear"] .sg-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
[data-solution-catalog="switchgear"] .sg-overview-grid article{border-top:1px solid #bfd4de;padding-top:20px;min-width:0}
[data-solution-catalog="switchgear"] .sg-overview-grid h3{font-size:22px;line-height:1.4;color:#14364c;margin:0 0 12px}
[data-solution-catalog="switchgear"] .sg-overview-grid p{font-size:16px;line-height:1.7;color:#476477;margin:0}
[data-solution-catalog="switchgear"] .sg-catalog-band{background:#eef5f8}
[data-solution-catalog="switchgear"] .sg-catalog-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
[data-solution-catalog="switchgear"] .sg-catalog-evidence figure{margin:0;min-width:0}
[data-solution-catalog="switchgear"] .sg-catalog-evidence figcaption{font-size:16px;color:#14364c;padding-top:12px}
[data-solution-catalog="switchgear"] .sg-catalog-selection select{display:block;width:100%;font:inherit;font-size:16px;min-height:48px;margin-top:12px;padding:10px;background:#fff;color:#14364c;border:1px solid #bfd4de}
[data-solution-catalog="switchgear"] .sg-catalog-selection{grid-column:1/-1;padding:0;border:0}
[data-solution-catalog="switchgear"] .px-family-card-grid article{scroll-margin-top:24px}
.sg-file-status{font-size:14px;line-height:1.6;color:#476477;margin-top:8px;overflow-wrap:anywhere}
@media(max-width:1000px){[data-solution-catalog="switchgear"] .sg-overview-grid,[data-solution-catalog="switchgear"] .sg-catalog-evidence{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){[data-switchgear-detail] .br-document-grid,[data-solution-catalog="switchgear"] .sg-overview-grid,[data-solution-catalog="switchgear"] .sg-catalog-evidence{grid-template-columns:1fr}.sg-photo-placeholder{padding:24px;gap:12px}.sg-photo-placeholder p{font-size:14px}[data-solution-catalog="switchgear"] .px-category-placeholder small{font-size:14px}[data-solution-catalog="switchgear"] .sg-catalog-actions{align-items:flex-start;flex-direction:column}}

/* Product and documentary photos share a full-bleed 4:3 frame. */
.sg-media-image{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;background:#dbeaf1}
[data-switchgear-detail] .mp-hero-photo .sg-media-image,[data-solution-catalog="switchgear"] .px-hero-visual>.sg-media-image{aspect-ratio:4/3;object-fit:cover}
[data-switchgear-detail] .sg-detail-figure .sg-media-image,[data-switchgear-detail] .mp-factory-media .sg-media-image{aspect-ratio:4/3;object-fit:cover}
[data-solution-catalog="switchgear"] .sg-catalog-evidence .sg-media-image{aspect-ratio:4/3;object-fit:cover}
[data-solution-catalog="switchgear"] .px-family-media .sg-media-image{object-fit:cover}

/* Documentary photos retain their scene and aspect ratio; videos load on demand. */
[data-switchgear-detail] .mp-factory-media .sg-media-image{aspect-ratio:4/3;object-fit:cover}
.sg-video{margin-top:14px;border-top:1px solid #bfd4de;padding-top:10px}
.sg-video summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;color:#146b42;font:inherit;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.sg-video summary::-webkit-details-marker{display:none}
.sg-video summary:focus-visible,.sg-video-link:focus-visible{outline:2px solid #146b42;outline-offset:4px}
.sg-video video{display:block;width:100%;max-height:480px;aspect-ratio:4/3;object-fit:contain;background:#13384e;margin-top:8px}
.sg-video-link{display:inline-block;margin-top:10px;font-size:13px;color:#146b42}

/* Scoped to switchgear: fill card frames without stretching devices. */
[data-solution-catalog="switchgear"] .px-family-card>.px-family-media{aspect-ratio:4/3;height:auto;overflow:hidden}
[data-solution-catalog="switchgear"] .px-family-card>.px-family-media img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;display:block}
[data-switchgear-detail] .mp-hero-photo .sg-media-image,[data-switchgear-detail] .mp-factory-media .sg-media-image,[data-solution-catalog="switchgear"] .sg-catalog-evidence .sg-media-image,[data-solution-catalog="switchgear"] .px-hero-visual>.sg-media-image{display:block;width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;object-position:center}

/* Inline workshop clip replaces only the selected catalog photo. */
[data-solution-catalog="switchgear"] .sg-catalog-evidence .sg-media-video{display:block;width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;background:#13384e}
[data-solution-catalog="switchgear"] .sg-media-video:focus-visible{outline:2px solid #146b42;outline-offset:4px}

/* Overview rhythm: seven categories form two complete rows on desktop. */
[data-solution-catalog="switchgear"] .px-public-section{padding:36px 4vw}
[data-solution-catalog="switchgear"] .px-public-heading{margin-bottom:20px;gap:16px}
[data-solution-catalog="switchgear"] .px-public-heading h2{margin-bottom:0}
[data-solution-catalog="switchgear"] .sg-catalog-copy{margin:0 0 24px}
[data-solution-catalog="switchgear"] .px-family-card-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:20px}
[data-solution-catalog="switchgear"] #switchgear-categories .px-family-card-grid{grid-auto-rows:auto}
[data-solution-catalog="switchgear"] .px-family-card-grid>.px-family-card{grid-column:span 3;min-height:0}
[data-solution-catalog="switchgear"] .px-family-card-grid>.px-family-card:nth-child(n+5){grid-column:span 4}
[data-solution-catalog="switchgear"] .px-family-card>.px-family-copy{min-height:0;padding:20px;gap:0}
[data-solution-catalog="switchgear"] .px-family-number{margin:0 0 8px}
[data-solution-catalog="switchgear"] .px-family-copy h3{font-size:20px;line-height:1.3}
[data-solution-catalog="switchgear"] .px-family-copy>.px-category-description{font-size:14px;line-height:1.6;margin:12px 0 16px}
[data-solution-catalog="switchgear"] .px-family-action{font-size:13px;min-height:36px;padding-top:0}
[data-solution-catalog="switchgear"] .sg-overview-grid article{padding-top:16px}
[data-solution-catalog="switchgear"] .sg-overview-grid h3{font-size:21px;margin-bottom:8px}
[data-solution-catalog="switchgear"] .sg-catalog-actions{margin-top:20px}
[data-solution-catalog="switchgear"] .px-public-section .sg-catalog-actions .px-link{color:#146b42}
[data-solution-catalog="switchgear"] .mp-faq{padding-top:36px;padding-bottom:36px}
/* Reuse the detail page's RFQ component and its responsive layout unchanged. */
[data-solution-catalog="switchgear"] .sg-catalog-rfq{padding-bottom:0}
[data-solution-catalog="switchgear"] .sg-catalog-selection select{margin-top:0;min-height:40px;font-size:16px;padding:8px 10px}
@media(max-width:1100px) and (min-width:601px){
 [data-solution-catalog="switchgear"] .px-family-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-solution-catalog="switchgear"] .px-family-card-grid>.px-family-card:nth-child(n){grid-column:auto}
 [data-solution-catalog="switchgear"] .px-family-card-grid>.px-family-card:last-child{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto}
 [data-solution-catalog="switchgear"] .px-family-card:last-child>.px-family-copy{grid-column:2;grid-row:1;justify-content:center}
 [data-solution-catalog="switchgear"] .px-family-card:last-child .px-family-action{margin-top:0}
}
@media(max-width:600px){
 [data-solution-catalog="switchgear"] .px-public-section{padding:28px 24px}
 [data-solution-catalog="switchgear"] .px-family-card-grid{grid-template-columns:1fr;gap:12px}
 [data-solution-catalog="switchgear"] .px-family-card-grid>.px-family-card:nth-child(n){grid-column:auto}
 [data-solution-catalog="switchgear"] .px-public-heading{margin-bottom:16px}
 [data-solution-catalog="switchgear"] .sg-overview-grid{gap:20px}
 [data-solution-catalog="switchgear"] .mp-faq{padding-top:28px;padding-bottom:28px}
 [data-solution-catalog="switchgear"] .sg-catalog-selection select{min-height:44px}
}

/* Application entry points and the three project steps have distinct roles. */
[data-solution-catalog="switchgear"] #applications{background:#eef5f8;padding-top:32px;padding-bottom:32px}
[data-solution-catalog="switchgear"] .sg-application-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
[data-solution-catalog="switchgear"] .sg-application-grid article{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;background:#fff;border:1px solid #d5e2e8}
[data-solution-catalog="switchgear"] .sg-application-icon{width:36px;height:36px;margin-bottom:16px;color:#2e7185}
[data-solution-catalog="switchgear"] :is(.sg-application-grid,.sg-scope-steps) h3{margin:0 0 10px;font-size:21px;font-weight:600;line-height:1.35;letter-spacing:-.02em;color:#123650}
[data-solution-catalog="switchgear"] :is(.sg-application-grid,.sg-scope-steps) p{margin:0;font-size:16px;line-height:1.65;color:#526b7d}
[data-solution-catalog="switchgear"] .sg-application-link{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;width:100%;margin-top:auto;padding-top:16px;font-size:14px;font-weight:600;color:#146b42;border:0}
[data-solution-catalog="switchgear"] .sg-application-link:hover{text-decoration:underline;text-underline-offset:4px}
[data-solution-catalog="switchgear"] #project-scope{background:#fff;padding-top:32px;padding-bottom:36px}
[data-solution-catalog="switchgear"] .sg-scope-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
[data-solution-catalog="switchgear"] .sg-scope-steps li{position:relative;min-width:0;padding-top:4px}
[data-solution-catalog="switchgear"] .sg-scope-steps li:not(:last-child)::after{content:"";position:absolute;left:52px;right:-12px;top:23px;height:1px;background:#cfdee5}
[data-solution-catalog="switchgear"] .sg-step-number{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b9d5cf;color:#146b42;background:#f4f9f8;font-size:13px;font-weight:650;margin-bottom:16px;border-radius:50%}
[data-solution-catalog="switchgear"] .sg-catalog-rfq .br-rfq>.br-form{grid-row:1}
[data-solution-catalog="switchgear"] .sg-catalog-rfq .br-rfq>.br-section-heading{grid-row:1}
@media(max-width:900px){
 [data-solution-catalog="switchgear"] .sg-application-grid{gap:12px}
 [data-solution-catalog="switchgear"] .sg-application-grid article{padding:20px}
 [data-solution-catalog="switchgear"] .sg-catalog-rfq .br-rfq>.br-form,[data-solution-catalog="switchgear"] .sg-catalog-rfq .br-rfq>.br-section-heading{grid-row:auto}
}
@media(max-width:700px){
 [data-solution-catalog="switchgear"] .sg-application-grid{grid-template-columns:1fr}
 [data-solution-catalog="switchgear"] .sg-application-grid article{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:16px;padding:20px}
 [data-solution-catalog="switchgear"] .sg-application-icon{grid-row:1/4;margin:0}
 [data-solution-catalog="switchgear"] .sg-application-grid :is(h3,p,a){grid-column:2}
 [data-solution-catalog="switchgear"] :is(.sg-application-grid,.sg-scope-steps) h3{font-size:19px}
 [data-solution-catalog="switchgear"] :is(.sg-application-grid,.sg-scope-steps) p{font-size:15px}
 [data-solution-catalog="switchgear"] .sg-scope-steps{grid-template-columns:1fr;gap:24px}
 [data-solution-catalog="switchgear"] .sg-scope-steps li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px;padding:0}
 [data-solution-catalog="switchgear"] .sg-scope-steps li:not(:last-child)::after{left:19px;top:48px;bottom:-16px;right:auto;width:1px;height:auto}
 [data-solution-catalog="switchgear"] .sg-step-number{margin:0}
 [data-solution-catalog="switchgear"] #applications,[data-solution-catalog="switchgear"] #project-scope{padding-top:28px;padding-bottom:28px}
}

/* Detail workshop preview uses the existing documentary photo frame. */
[data-switchgear-detail] .mp-factory-media>.sg-media-video{display:block;width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;background:#13384e}
[data-switchgear-detail] .mp-factory-media>.sg-media-video:focus-visible{outline:2px solid #146b42;outline-offset:4px}
