/* Shared content bounds, independent of the original ImageGen canvas sizes. */
body.dss-designed-page{--dss-content:1280px;--dss-gutter:clamp(20px,3vw,48px);--max:var(--dss-content)}
body.dss-designed-page :is(
 #dss-utility>.container,#dss-header>.container,.site-footer>.container,
 main .container:not(.prose),.home9-container,.hs20-container,.he21-container,
 .te22-container,.df15-container,.ue23-container,.sv13-container,
 .b2b-container,.about-container,.contact-container
){width:calc(100% - 2 * var(--dss-gutter));max-width:var(--dss-content);margin-inline:auto;min-width:0}
body.dss-designed-page :is(.hero-copy,.sv13-hero-copy,.b2b-hero-copy,.about-hero-copy,.contact-hero-copy){min-width:0}
body.dss-designed-page :is(.breadcrumbs,.sv13-breadcrumb,.b2b-breadcrumb,.about-breadcrumb,.contact-breadcrumb){flex-wrap:wrap;row-gap:6px}
body.dss-designed-page :is(h1,h2,h3){overflow-wrap:break-word}
body.dss-designed-page .footer-bottom{flex-wrap:wrap}

/* Keep the home headline and photograph at a readable scale on wide monitors. */
body.home .hero-main{height:auto;min-height:620px;padding:0}
body.home .hero-main .hero-container{padding-block:76px}
body.home .hero-main .hero-copy{width:60%;max-width:760px}
body.home .hero-main h1{font-size:clamp(52px,5.6vw,88px);line-height:1.04;margin-bottom:24px;letter-spacing:-.045em}
body.home .hero-main h2{font-size:clamp(24px,2.1vw,32px);line-height:1.25;max-width:23em;margin-bottom:18px}
body.home .hero-main .hero-intro{font-size:18px;line-height:1.65;max-width:580px;margin-bottom:28px}
body.home .hero-main .hero-visual{inset:0;width:100%;max-width:1536px;margin-inline:auto}
body.home .hero-main .hero-visual img{object-position:center top}
body.home .hero-main .actions{flex-wrap:wrap;gap:14px}
body.home .hero-main .actions .btn{font-size:16px;min-width:0;min-height:54px;padding:15px 23px;gap:16px;border-radius:7px;white-space:normal}
body.home .hero-main .btn .icon{width:22px;height:22px}
body.home .hero-main .hero-checks{font-size:13px;gap:12px 22px;margin-top:28px}
body.home .hero-main .hero-checks li{gap:9px}
body.home .hero-main .hero-checks .icon{width:28px;height:28px;padding:6px}

/* Hero media stays inside the same bounds as its text and the sections below. */
body.dss-designed-page .about-hero-photo{width:100%;max-width:100%;margin-inline:0;overflow:hidden;border-radius:8px}
body.dss-designed-page .contact-hero-photo{width:100%;max-width:100%;margin-inline:0}
body.dss-designed-page .b2b-hero-photo{width:100%;max-width:100%;margin-inline:0;object-fit:contain}
body.dss-designed-page .sv13-page .sv13-hero-grid{grid-template-columns:minmax(0,46fr) minmax(0,54fr)}
body.dss-page-kontaktai{--cu:clamp(1px,.105vw,1.5px)}

/* Reviews and policy pages also used viewport-sized reference typography. */
body.dss-designed-page .hero.ref-hero{min-height:560px;height:auto;padding:0}
body.dss-designed-page .hero.ref-hero .hero-container{padding-block:32px 64px}
body.dss-designed-page .hero.ref-hero .hero-copy{width:60%}
body.dss-designed-page .hero.ref-hero h1{font-size:clamp(40px,4.5vw,64px);line-height:1.08;margin-bottom:24px}
body.dss-designed-page .hero.ref-hero .hero-intro{font-size:18px;line-height:1.65;margin-bottom:28px}
body.dss-designed-page .hero.ref-hero .eyebrow{font-size:12px;margin-bottom:20px}
body.dss-designed-page .hero.ref-hero .breadcrumbs{font-size:12px;margin-bottom:40px;gap:10px}
body.dss-designed-page .hero.ref-hero .btn,body.dss-designed-page .ref-section .btn{font-size:15px;min-height:50px;padding:14px 20px;gap:14px}
body.dss-designed-page .hero.ref-hero .actions{gap:14px;flex-wrap:wrap}
body.dss-designed-page .hero.ref-hero.hero-text{min-height:0;padding:0}
body.dss-designed-page .hero.ref-hero.hero-text .hero-copy{width:min(100%,900px)}
body.dss-designed-page .ref-section h2{font-size:clamp(28px,3vw,44px);line-height:1.2}
body.dss-designed-page .ref-family .family-card h3{font-size:clamp(26px,2.6vw,38px)}
body.dss-designed-page .ref-reviews blockquote{font-size:clamp(23px,2.2vw,30px);line-height:1.4}
body.dss-designed-page .ref-reviews figure{min-height:0;padding:28px}
body.dss-designed-page .ref-reviews figcaption{font-size:16px}
body.dss-designed-page :is(.ref-legal,.ref-cookie-content) .legal-content p{font-size:17px;line-height:1.8}
body.dss-designed-page :is(.ref-legal,.ref-cookie-content) .legal-content h2{font-size:clamp(25px,2.4vw,32px)}
body.dss-designed-page .ref-legal .legal-content .legal-title{font-size:clamp(32px,3vw,44px)}

/* Footer typography no longer scales with the screenshot reference width. */
body.dss-designed-page .site-footer.ref-footer{padding-top:56px;min-height:0}
body.dss-designed-page .site-footer.ref-footer .footer-top{grid-template-columns:minmax(0,1.2fr) repeat(3,minmax(0,1fr));gap:32px;padding-bottom:40px}
body.dss-designed-page .site-footer.ref-footer .footer-about>p{font-size:26px;line-height:1.3}
body.dss-designed-page .site-footer.ref-footer .footer-top h2{font-size:13px;line-height:1.5;margin:8px 0 22px}
body.dss-designed-page .site-footer.ref-footer .footer-top ul{gap:14px}
body.dss-designed-page .site-footer.ref-footer .footer-top li a{font-size:15px;line-height:1.65;overflow-wrap:anywhere}
body.dss-designed-page .site-footer.ref-footer .footer-contacts a{gap:10px}
body.dss-designed-page .site-footer.ref-footer .footer-contacts .icon{width:21px;height:21px}
body.dss-designed-page .site-footer.ref-footer .footer-bottom{font-size:12px;line-height:1.6;padding:24px 0;gap:16px 32px}
body.dss-designed-page .site-footer.ref-footer .footer-bottom>div{gap:12px 22px}

@media(max-width:1100px){
 body.home .hero-main{min-height:550px}
 body.home .hero-main .hero-container{padding-block:58px}
 body.home .hero-main .hero-copy{width:62%}
 body.home .hero-main .hero-visual img{object-position:right top}
 body.dss-designed-page .site-footer.ref-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}
}
@media(max-width:900px){
 body.dss-designed-page .hero.ref-hero:not(.hero-text){min-height:0;padding-bottom:320px}
 body.dss-designed-page .hero.ref-hero .hero-copy{width:100%}
 body.dss-designed-page .hero.ref-hero .hero-visual{inset:auto 0 0;height:320px;z-index:0}
 body.dss-designed-page .hero.ref-hero:not(.hero-text):after{inset:auto 0 295px;height:30px;background:linear-gradient(#fff,transparent);z-index:1}
 body.dss-designed-page .hero.ref-hero .hero-container{padding-block:24px 32px}
 body.dss-designed-page .hero.ref-hero h1{font-size:clamp(36px,6vw,48px)}
 body.home .hero-main{--home-photo-height:clamp(280px,44vw,380px);min-height:0;padding-bottom:var(--home-photo-height)}
 body.home .hero-main .hero-container{padding-block:42px 32px}
 body.home .hero-main .hero-copy{width:100%;max-width:720px}
 body.home .hero-main h1{font-size:clamp(42px,7.5vw,64px)}
 body.home .hero-main h2{font-size:clamp(23px,3.2vw,28px);max-width:26em}
 body.home .hero-main .hero-intro{max-width:640px;font-size:17px}
 body.home .hero-main .hero-visual{inset:auto 0 0;height:var(--home-photo-height);z-index:0}
 body.home .hero-main .hero-visual img{object-position:right center}
 body.home .hero-main .hero-copy{position:relative;z-index:1}
 body.dss-designed-page .sv13-page .sv13-hero-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 body.dss-designed-page .sv13-page .sv13-hero-photo{min-height:0;height:clamp(260px,48vw,410px)}
 body.dss-designed-page .sv13-page .sv13-hero h1{max-width:780px}
 body.dss-designed-page .sv13-page .sv13-intro{max-width:640px}
 body.dss-designed-page .sv13-page .sv13-actions{display:flex;flex-wrap:wrap;gap:14px}
 body.dss-designed-page .sv13-page .sv13-actions .btn{width:auto;min-width:0;flex:0 1 auto}
 body.dss-designed-page .sv13-page .sv13-hero-photo img{object-position:center top}
 body.dss-designed-page .sv13-page .sv13-breadcrumb{flex-wrap:wrap}
 body.dss-designed-page .about-hero-layout,body.dss-designed-page .contact-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);min-height:0}
 body.dss-designed-page .about-hero-copy,body.dss-designed-page .contact-hero-copy{padding:0 0 28px}
 body.dss-designed-page .about-hero-photo{min-height:0;height:clamp(270px,48vw,410px)}
 body.dss-designed-page .contact-hero-photo{height:clamp(240px,44vw,380px);object-fit:contain;margin-block:0 24px;mask-image:none}
 body.dss-designed-page .b2b-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;min-height:0}
 body.dss-designed-page .b2b-hero-photo{height:clamp(250px,48vw,400px)}
 body.dss-designed-page .ue23-container{grid-template-columns:minmax(0,1fr);gap:32px}
}
@media(max-width:600px){
 body.admin-bar #dss-header{top:0}
 body.dss-designed-page .hero.ref-hero .hero-intro{font-size:16px}
 body.home .hero-main .hero-container{padding-block:34px 28px}
 body.home .hero-main h1{font-size:clamp(36px,10.6vw,56px)}
 body.home .hero-main .hero-intro{font-size:16px}
 body.home .hero-main .actions .btn{font-size:14px;padding:14px 16px;gap:10px;flex:1 1 180px}
 body.home .hero-main .hero-checks{font-size:12px;gap:10px 16px}
 body.dss-designed-page .sv13-page .sv13-actions .btn{flex:1 1 180px}
 body.dss-designed-page .site-footer.ref-footer .footer-about,body.dss-designed-page .site-footer.ref-footer .footer-contacts{grid-column:1/-1}
 body.dss-designed-page .site-footer.ref-footer .footer-top{gap:28px 20px}
 body.dss-designed-page .site-footer.ref-footer .footer-top h2{font-size:12px}
 body.dss-designed-page .site-footer.ref-footer .footer-bottom{flex-direction:column;align-items:flex-start}
 body.dss-designed-page .dss-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;max-width:100%;min-width:0}
}
@media(max-width:360px){body.dss-designed-page{--dss-gutter:16px}}
@media print{
 body.dss-designed-page{--dss-gutter:0px}
 body.home .hero-main{min-height:0;padding:0}
 body.home .hero-main .hero-container{padding-block:20px}
 body.home .hero-main .hero-copy{width:100%}
 body.home .hero-main h1{font-size:40px}
 body.dss-designed-page .site-footer.ref-footer{display:none}
}
