.sanyu-editorial-page{max-width:1100px;margin:0 auto;padding:42px 28px 72px;color:#26323d}
.sanyu-editorial-page h1,.sanyu-editorial-page h2,.sanyu-editorial-page h3{color:#0b2b40;line-height:1.2}
.sanyu-editorial-page h1{font-size:clamp(2.15rem,4vw,3.25rem);margin:0 0 22px;letter-spacing:-.025em}
.sanyu-editorial-page h2{font-size:clamp(1.7rem,3vw,2.25rem);margin:0 0 18px;letter-spacing:-.018em}
.sanyu-editorial-page h3{font-size:1.18rem;margin:0 0 12px}
.sanyu-editorial-page p,.sanyu-editorial-page li{font-size:1.05rem;line-height:1.75}
.sanyu-editorial-page p{margin:0 0 16px}
.sanyu-editorial-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:48px;align-items:center;padding:22px 0 70px}
.sanyu-editorial-hero-text{display:block;max-width:900px;padding-bottom:55px}
.sanyu-editorial-hero-media,.sanyu-editorial-media{margin:0;overflow:hidden;border-radius:8px;background:#f3f4f5}
.sanyu-editorial-image{display:block;width:100%;height:auto;object-fit:contain}
.sanyu-editorial-hero-media .sanyu-editorial-image{aspect-ratio:3/2;object-fit:cover}
.sanyu-editorial-section{padding:62px 0;border-top:1px solid #e8eaec}
.sanyu-editorial-text-section{max-width:860px}
.sanyu-section-heading{margin:0 0 25px}
.sanyu-red-rule{display:block;width:46px;height:4px;background:#d71920;border-radius:2px;margin:0 0 17px}
.sanyu-section-intro{max-width:850px;margin-bottom:28px!important}
.sanyu-editorial-split{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);gap:54px;align-items:center}
.sanyu-process-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sanyu-process-card{padding:24px 25px;border:1px solid #e4e7e9;border-radius:8px;background:#fff}
.sanyu-process-card p{font-size:1rem;margin:0}
.sanyu-process-card-wide{grid-column:1/-1}
.sanyu-photo-grid{display:grid;gap:22px}
.sanyu-photo-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.sanyu-photo-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.sanyu-photo-card{margin:0;min-width:0}
.sanyu-photo-card .sanyu-editorial-image{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:7px;background:#f2f3f4}
.sanyu-photo-card figcaption{padding:11px 2px 0;color:#4b5660;font-size:.92rem}
.sanyu-portrait-media{max-width:440px;margin-left:auto}
.sanyu-portrait-media .sanyu-editorial-image{aspect-ratio:4/5;object-fit:contain}
.sanyu-oem-colors-section{display:block}
.sanyu-oem-colors-section .sanyu-editorial-copy{max-width:820px}
.sanyu-oem-colors-photo{width:min(100%,520px);aspect-ratio:4/3;margin:26px auto 0;display:flex;align-items:center;justify-content:center;overflow:visible;background:transparent}
.sanyu-oem-colors-photo .sanyu-oem-colors-image{width:100%;height:auto;max-width:100%;aspect-ratio:4/3;object-fit:contain;transform:none}
.sanyu-logo-examples{max-width:900px}
.sanyu-photo-card-portrait .sanyu-editorial-image{aspect-ratio:4/5;object-fit:contain;background:#f6f6f6}
.sanyu-inquiry-guide ol{padding-left:1.35rem;margin:10px 0 20px}
.sanyu-inquiry-guide li{padding-left:.3rem;margin:0 0 7px}
.sanyu-faq-list{border-top:1px solid #e3e6e8}
.sanyu-faq-list details{border-bottom:1px solid #e3e6e8;padding:18px 4px}
.sanyu-faq-list summary{cursor:pointer;color:#172f40;font-size:1.08rem;font-weight:700;list-style:none;padding-right:35px;position:relative}
.sanyu-faq-list summary::-webkit-details-marker{display:none}
.sanyu-faq-list summary:after{content:'+';position:absolute;right:6px;top:-4px;color:#d71920;font-size:1.5rem;font-weight:400}
.sanyu-faq-list details[open] summary:after{content:'−'}
.sanyu-faq-list details p{padding:14px 0 0;margin:0}
.sanyu-editorial-cta{border-top:1px solid #e8eaec;text-align:center;padding:62px 0 10px;max-width:850px;margin:0 auto}
.sanyu-editorial-cta .sanyu-red-rule{margin:0 auto 17px}
.sanyu-editorial-cta p{max-width:720px;margin:0 auto 24px}
.sanyu-editorial-cta .button{min-height:48px;padding:12px 26px}
@media(max-width:760px){.sanyu-editorial-page{padding:27px 19px 48px}.sanyu-editorial-hero,.sanyu-editorial-split{grid-template-columns:1fr;gap:24px;padding:16px 0 42px}.sanyu-editorial-hero-media{order:2}.sanyu-editorial-section{padding:40px 0}.sanyu-process-grid,.sanyu-photo-grid-two,.sanyu-photo-grid-three{grid-template-columns:1fr}.sanyu-process-card-wide{grid-column:auto}.sanyu-photo-card .sanyu-editorial-image{aspect-ratio:4/3;object-fit:contain}.sanyu-portrait-media{max-width:100%;margin:0}.sanyu-editorial-page p,.sanyu-editorial-page li{font-size:1rem}.sanyu-editorial-cta{padding-top:42px}}

/* Factory-only content-sized layout corrections (Phase 4C-2A hotfix). */
.sanyu-factory-page{max-width:1240px;padding-top:24px}
.sanyu-factory-page .sanyu-editorial-copy{max-width:760px}
.sanyu-factory-page .sanyu-editorial-hero{min-height:0;height:auto;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:start;gap:32px;margin:0;padding:0 0 32px}
.sanyu-factory-page .sanyu-editorial-section{min-height:0;height:auto;padding:40px 0}
.sanyu-factory-page .sanyu-editorial-hero-media{min-height:0;height:auto;overflow:visible;background:transparent}
.sanyu-factory-page .sanyu-editorial-hero-media .sanyu-editorial-image,.sanyu-factory-page .sanyu-photo-card .sanyu-editorial-image{display:block;width:100%;max-width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:contain;background:transparent}
.sanyu-factory-page .sanyu-photo-grid-two{align-items:start;align-content:start;grid-auto-rows:min-content;gap:24px}
.sanyu-factory-page .sanyu-photo-card{min-height:0;height:auto;align-self:start;background:transparent}
.sanyu-factory-page .sanyu-factory-gallery-grid{grid-template-columns:minmax(0,640px);justify-content:center;align-items:start;align-content:start;grid-auto-rows:min-content;height:auto;min-height:0}
@media(max-width:760px){.sanyu-factory-page{padding-top:18px}.sanyu-factory-page .sanyu-editorial-hero{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;padding:0 0 26px}.sanyu-factory-page .sanyu-editorial-section{padding:30px 0}.sanyu-factory-page .sanyu-photo-grid-two{gap:18px}}

/* Keep the verified Metal work-area photo with its process description. */
.sanyu-factory-page .sanyu-process-grid{align-items:start}
.sanyu-factory-page .sanyu-process-photo{width:100%;max-width:440px;margin:18px 0 0}
.sanyu-factory-page .sanyu-process-photo .sanyu-editorial-image.sanyu-factory-image-metal-process{display:block;width:100%;max-width:100%;height:auto;min-height:0;aspect-ratio:4 / 3;object-fit:contain;background:transparent;border-radius:7px}
.sanyu-factory-page .sanyu-process-photo .sanyu-editorial-image.sanyu-factory-image-pvc-process{display:block;width:100%;max-width:100%;height:auto;min-height:0;aspect-ratio:4 / 3;object-fit:contain;background:transparent;border-radius:7px}
.sanyu-factory-page .sanyu-process-photo .sanyu-editorial-image.sanyu-factory-image-acrylic-process,.sanyu-factory-page .sanyu-process-photo .sanyu-editorial-image.sanyu-factory-image-injection-process,.sanyu-factory-page .sanyu-process-photo .sanyu-editorial-image.sanyu-factory-image-resin-process{display:block;width:100%;max-width:100%;height:auto;min-height:0;aspect-ratio:4 / 3;object-fit:contain;background:transparent;border-radius:7px}
.sanyu-factory-page .sanyu-process-photo figcaption{padding:9px 2px 0;color:#4b5660;font-size:.92rem}
@media(max-width:760px){.sanyu-factory-page .sanyu-editorial-section{padding:26px 0}.sanyu-factory-page .sanyu-process-grid{gap:12px}.sanyu-factory-page .sanyu-process-card{padding:18px}}

/* Factory-only lazy-image sizing fix: cancel size containment and preserve each
   verified source ratio so the images reserve a nonzero box before decoding. */
.sanyu-factory-page img.sanyu-editorial-image[loading="lazy"][sizes^="auto" i]{content-visibility:visible;contain:none!important;contain-intrinsic-size:none}
.sanyu-factory-page .sanyu-editorial-hero-media .sanyu-editorial-image.sanyu-factory-image-hero{aspect-ratio:457 / 304}
.sanyu-factory-page .sanyu-photo-card .sanyu-editorial-image.sanyu-factory-image-warehouse{aspect-ratio:2 / 1}
.sanyu-factory-page .sanyu-photo-card .sanyu-editorial-image.sanyu-factory-image-shipping{aspect-ratio:243 / 146}
/* Desktop-only alignment for the Injection-Molding photo; mobile order and spacing remain unchanged. */
@media (min-width: 761px) { .sanyu-factory-page .sanyu-factory-image-injection-process { margin-top: 10px; } }
