/* Beer Cave layout system. Reuse the same edges, reading measure and photo treatment. */
body.uc-unified #main-content.uc-beer-aligned {
 --line-content:min(1340px,calc(100% - 2 * clamp(16px,3.25vw,46px)));
 --photo-gap:clamp(22px,4vw,60px);
}
body.uc-unified #main-content.uc-beer-aligned > :is(#overview,#equipment,#components,#reach-why,#beer-merchandising,#installation-detail,#after-sales,#service,#planner,#related-products,.uc-product-story) > :is(.wrap,.planner-grid),
body.uc-unified #main-content.uc-beer-aligned > #product-questions {
 width:var(--line-content);max-width:none;margin-inline:auto;box-sizing:border-box;
}
body.uc-unified #main-content.uc-beer-aligned #overview .family-opening {
 display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;
 align-items:center;row-gap:clamp(10px,1.2vw,17px);
 padding:clamp(29px,3.3vw,50px) clamp(14px,3vw,40px);
 text-align:center;
}
body.uc-unified #main-content.uc-beer-aligned #overview .family-opening > :is(h1,p,.button) {
 grid-area:auto;position:static;transform:none;justify-self:center;text-align:center;float:none;
}
body.uc-unified #main-content.uc-beer-aligned #overview .family-opening > h1 {
 margin:0;max-width:100%;font-size:clamp(2rem,4.75vw,4.65rem);line-height:1.04;text-wrap:balance;
}
body.uc-unified #main-content.uc-beer-aligned #overview .family-opening > p {
 margin:0;width:auto;max-width:54ch;
}
body.uc-unified #main-content.uc-beer-aligned #overview .family-opening > .button {
 margin:2px 0 0;
}
body.uc-unified #main-content.uc-beer-aligned > :is(#equipment.final-feature,.uc-product-story) {
 padding-block:clamp(34px,4.2vw,60px);
}
body.uc-unified #main-content.uc-beer-aligned > #equipment.final-feature > .wrap,
body.uc-unified #main-content.uc-beer-aligned > .uc-product-story .uc-story-feature {
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--photo-gap);align-items:center;
}
body.uc-unified #main-content.uc-beer-aligned > .uc-product-story > .uc-story-wrap {display:block}
body.uc-unified #main-content.uc-beer-aligned > #equipment.final-feature :is(.final-feature-copy,.final-feature-media),
body.uc-unified #main-content.uc-beer-aligned > .uc-product-story :is(.uc-story-intro,figure) {
 min-width:0;margin:0;
}
body.uc-unified #main-content.uc-beer-aligned > :is(#equipment.final-feature,.uc-product-story) :is(.final-feature-copy,.uc-story-intro) h2 {
 max-width:19ch;font-size:clamp(1.9rem,3.45vw,3.4rem);line-height:1.08;letter-spacing:-.045em;
 text-wrap:pretty;margin:0;
}
body.uc-unified #main-content.uc-beer-aligned > :is(#equipment.final-feature,.uc-product-story) :is(.final-feature-copy,.uc-story-intro) > p {
 margin-top:clamp(10px,1.3vw,18px);max-width:53ch;
}
body.uc-unified #main-content.uc-beer-aligned[data-product-template="reach-in"] :is(#equipment .reach-fit-photo,#reach-why .reach-story-visual) {
 width:min(100%,500px);justify-self:center;
}
body.uc-unified #main-content.uc-beer-aligned[data-product-template="produce"] #equipment .produce-project-media {
 width:min(100%,350px);justify-self:center;
}
body.uc-unified #main-content.uc-beer-aligned[data-product-template="reach-in"] :is(.reach-fit-photo,.reach-story-visual) img,
body.uc-unified #main-content.uc-beer-aligned[data-product-template="produce"] #equipment .produce-project-media img {
 display:block;width:100%;height:auto;object-fit:contain;max-height:none;
}
@media(max-width:860px){
 body.uc-unified #main-content.uc-beer-aligned > #equipment.final-feature > .wrap,
 body.uc-unified #main-content.uc-beer-aligned > .uc-product-story .uc-story-feature {grid-template-columns:minmax(0,1fr)}
 body.uc-unified #main-content.uc-beer-aligned > .uc-product-story .uc-story-points {grid-template-columns:minmax(0,1fr)}
 body.uc-unified #main-content.uc-beer-aligned[data-product-template="produce"] #equipment .produce-project-media {width:min(100%,295px)}
}
