/* School settings complement the native product views on these two listings. */
.lifestyle-product .detail>.gallery{align-self:start}
.lifestyle-product .gallery .main.gallery-zoom:has(img[src*="/assets/product-lifestyle/"]){height:auto;aspect-ratio:3/2;background:#e7e9df;box-shadow:0 12px 32px #29302112}
.lifestyle-product .gallery .main img[src*="/assets/product-lifestyle/"]{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#e7e9df;padding:0}
.lifestyle-product .gallery .product-thumb:has(img[src*="/assets/product-lifestyle/"]){background:#e7e9df}
.lifestyle-product .gallery .product-thumb img[src*="/assets/product-lifestyle/"]{object-fit:cover;background:#e7e9df}
.lifestyle-product .lifestyle-gallery-note{font-size:12px;line-height:1.75;color:#64705a;margin:16px 0 0;max-width:54ch}
.lifestyle-product .lifestyle-product-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px 24px;margin:23px 0 28px}
.lifestyle-product .lifestyle-product-actions>.cta{margin:0}
.lifestyle-product .lifestyle-school-link{display:inline-flex;gap:12px;align-items:center;font-size:13px;line-height:1.7;font-weight:600;color:#424e3b;text-decoration:underline;text-underline-offset:4px}
.lifestyle-product .lifestyle-school-link:hover{color:var(--accent-dark)}
.lifestyle-product .lifestyle-school-story{padding:70px 0 78px;background:#e9ede2;border-top:1px solid #d9dfd0;scroll-margin-top:110px}
.lifestyle-product .lifestyle-story-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);align-items:center;gap:54px}
.lifestyle-product .lifestyle-story-grid>*{min-width:0}
.lifestyle-product .lifestyle-school-photo{margin:0;background:#dce2d3;border:1px solid #d3dbcb;border-radius:17px;overflow:hidden;box-shadow:0 18px 40px #2734210c}
.lifestyle-product .lifestyle-school-photo>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.lifestyle-product .lifestyle-school-photo>figcaption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px 18px;padding:14px 18px;background:#f1f3eb;font-size:11px;line-height:1.7;color:#606e55}
.lifestyle-product .lifestyle-school-photo>figcaption>a{color:#495d3d;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.lifestyle-product .lifestyle-story-kicker{font-size:10px;font-weight:750;line-height:1.8;text-transform:uppercase;letter-spacing:.14em;color:#b13c24;margin:0 0 13px}
.lifestyle-product .lifestyle-story-copy>h2{font-size:clamp(30px,3.1vw,41px);line-height:1.13;letter-spacing:-.04em;font-weight:800;max-width:16ch;margin:0;color:#1b2417;overflow-wrap:break-word}
.lifestyle-product .lifestyle-story-lead{font-size:14px;line-height:1.85;color:#58674c;margin:22px 0 25px;max-width:47ch}
.lifestyle-product .lifestyle-story-steps{list-style:none;display:grid;margin:0;padding:0;counter-reset:lifestyle-step}
.lifestyle-product .lifestyle-story-steps>li{display:grid;grid-template-columns:23px minmax(0,1fr);gap:13px;padding:16px 0;border-top:1px solid #cad4c0;counter-increment:lifestyle-step}
.lifestyle-product .lifestyle-story-steps>li:before{content:"0" counter(lifestyle-step);font-size:10px;line-height:2.2;font-weight:700;color:#af492c}
.lifestyle-product .lifestyle-story-steps strong{display:block;font-size:14px;line-height:1.6;font-weight:650;color:#33422a}
.lifestyle-product .lifestyle-story-steps p{font-size:12px;line-height:1.8;margin:5px 0 0;color:#627056}
.lifestyle-product .lifestyle-story-note{font-size:11px;line-height:1.85;color:#69775e;margin:20px 0 0;max-width:49ch}
.lifestyle-product .lifestyle-school-story a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:1000px){
 .lifestyle-product .lifestyle-story-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px}
 .lifestyle-product .lifestyle-story-copy>h2{font-size:32px}
}
@media(max-width:800px){
 .lifestyle-product .lifestyle-school-story{padding:48px 0 52px}
 .lifestyle-product .lifestyle-story-grid{grid-template-columns:minmax(0,1fr);gap:30px}
 .lifestyle-product .lifestyle-story-copy>h2{font-size:clamp(30px,5vw,39px);max-width:20ch}
 .lifestyle-product .lifestyle-story-lead,.lifestyle-product .lifestyle-story-note{max-width:67ch}
 .lifestyle-product .lifestyle-story-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
 .lifestyle-product .lifestyle-story-steps>li{display:block}
 .lifestyle-product .lifestyle-story-steps>li:before{display:block;margin-bottom:9px}
}
@media(max-width:600px){
 .lifestyle-product .lifestyle-product-actions{gap:16px;margin-top:21px}
 .lifestyle-product .lifestyle-product-actions>.cta{width:100%;text-align:center}
 .lifestyle-product .lifestyle-school-link{padding:3px 0}
 .lifestyle-product .lifestyle-gallery-note{font-size:11px;margin-top:13px}
 .lifestyle-product .lifestyle-school-photo{border-radius:12px}
 .lifestyle-product .lifestyle-school-photo>figcaption{padding:12px 14px;font-size:10px;gap:8px}
 .lifestyle-product .lifestyle-story-steps{grid-template-columns:minmax(0,1fr);gap:0}
 .lifestyle-product .lifestyle-story-steps>li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:14px;padding:18px 0}
 .lifestyle-product .lifestyle-story-steps>li:before{margin:0}
 .lifestyle-product .lifestyle-story-lead{font-size:13px;line-height:1.85}
}
