/* Homepage and factory editorial layouts; the core catalogue styles remain shared. */
.home-collection .featured-grid{align-items:stretch}
.home-collection .product-card,.home-collection .product-card>a{height:100%}
.home-collection .product-card>a{display:flex;flex-direction:column}
.home-collection .card-body{display:flex;flex-direction:column;flex:1}
.home-collection .card-bottom{margin-top:auto}
.home-collection .product-image{aspect-ratio:1;background:var(--white);flex-shrink:0}
.home-factory{padding-top:0}
.home-factory-grid{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:clamp(32px,6vw,80px)}
.home-factory-photo{margin:0}
.home-factory-photo>a{display:block}
.home-factory-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.home-factory-photo figcaption{margin-top:10px;color:var(--muted);font-size:.8125rem}
.home-factory-copy .lead{max-width:470px;margin-bottom:28px}
.home-procurement .section-heading>div{max-width:690px}
.home-procurement .section-heading .text-link{flex-shrink:0}
.home-procurement .steps{gap:32px}
.home-procurement .step{border-top-color:var(--accent)}
.home-procurement .number{margin-bottom:18px;letter-spacing:.08em}
.home-procurement .step h3{font-weight:600;margin-bottom:10px}
.factory-intro{margin-bottom:48px}
.factory-intro--split{display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(30px,5vw,64px);align-items:center}
.factory-intro .factory-hero{min-width:0;margin:0}
.factory-intro .factory-hero img{width:100%;height:auto;aspect-ratio:16/10;max-height:440px;object-fit:cover}
.factory-photo-link{display:block}
.factory-intro .factory-hero figcaption{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;font-size:.8125rem}
.factory-original-link{font-size:.8125rem;text-decoration-thickness:1px}
.factory-intro-copy>p:first-child{font-size:1.125rem;line-height:1.8}
.factory-intro-copy .factory-entity{font-size:.9375rem;margin:24px 0 0}
.factory-page .factory-content>h2:first-child{margin-top:0}
.factory-page .factory-content .wp-block-columns{gap:30px;margin-bottom:32px}
.factory-page .factory-content .wp-block-image img{aspect-ratio:16/10;max-height:340px;object-fit:cover}
.factory-page>.actions{padding-top:8px}
@media(min-width:1001px){
    .home-collection .featured-grid--five{grid-template-columns:repeat(6,minmax(0,1fr));gap:28px}
    .home-collection .featured-grid--five>.product-card{grid-column:span 2}
    .home-collection .featured-grid--five>.product-card:nth-child(-n+2){grid-column:span 3}
}
@media(min-width:761px) and (max-width:1000px){
    .home-collection .featured-grid--five{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
    .home-collection .featured-grid--five>.product-card{grid-column:span 2}
    .home-collection .featured-grid--five>.product-card:nth-child(-n+2){grid-column:span 3}
    .home-collection .featured-grid--five .card-body{padding:17px}
    .home-procurement .section-heading{align-items:start;flex-direction:column;gap:18px}
}
@media(max-width:760px){
    .home-collection .featured-grid--five{grid-template-columns:repeat(2,minmax(0,1fr))}
    .home-collection .featured-grid--five>.product-card:last-child{grid-column:1/-1}
    .home-factory-grid{grid-template-columns:1fr;gap:28px}
    .home-factory-photo img{aspect-ratio:16/10}
    .home-factory-copy .lead{max-width:none;font-size:1rem;margin-bottom:22px}
    .home-procurement .section-heading .text-link{flex-shrink:1}
    .home-procurement .steps{gap:24px}
    .home-procurement .step{padding-top:18px}
    .home-procurement .step .number{margin-bottom:10px}
    .factory-intro{margin-bottom:32px}
    .factory-intro--split{grid-template-columns:1fr;gap:24px}
    .factory-intro-copy>p:first-child{font-size:1rem;line-height:1.75}
    .factory-intro-copy>p:last-child{margin-bottom:0}
    .factory-page .factory-content .wp-block-columns{gap:26px;margin-bottom:26px}
    .factory-page .factory-content .wp-block-image img{max-height:none}
}
@media(max-width:430px){
    .home-collection .featured-grid--five{grid-template-columns:1fr}
    .home-collection .featured-grid--five>.product-card:last-child{grid-column:auto}
    .home-collection .product-image{aspect-ratio:1}
}
