/* Shared page scale; loaded after product-specific styling. */
html{scrollbar-gutter:stable}
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero{max-width:1180px;padding-block:40px}
.torni-web .tw-wrap{width:min(1180px,calc(100% - 64px));max-width:1180px;margin-inline:auto}
.torni-web .tw-pagehero,.torni-web .tw-webhero,.torni-web .tw-hero{padding-block:40px;min-height:0}
.torni-web h1,.torni-web .tw-pagehero h1,.torni-web .tw-webhero h1,.torni-web .tw-hero h1{font-size:clamp(28px,3vw,38px);line-height:1.15;letter-spacing:-.035em}
.torni-web .tw-pagehero h1{margin:14px 0 18px}
.torni-web .tw-lead,.torni-web .tw-pagehero .tw-lead,.torni-web .tw-webhero .tw-lead{font-size:16px;line-height:1.7;max-width:790px}
.torni-web .tw-section,.torni-web .tw-websites .tw-section{padding-block:40px}
.torni-web h2{font-size:clamp(25px,2.5vw,32px)}
.torni-web .tw-contactbox{max-width:none}
.torni-web .tw-webportfolio{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:621px) and (max-width:900px){.torni-web .tw-webportfolio{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.torni-web .tw-wrap{width:calc(100% - 40px)}}
@media(max-width:720px){.torni-web .tw-pagehero,.torni-web .tw-webhero,.torni-web .tw-hero,.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero{padding-block:28px}.torni-web .tw-section,.torni-web .tw-websites .tw-section{padding-block:28px}}
@media(max-width:620px){.torni-web .tw-webportfolio{grid-template-columns:1fr}}

/* Configurator gallery 1.4.5 */
.tw-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.tw-showcase-card img{display:block;width:100%;height:230px;object-fit:contain;background:#f2f6fd;border-radius:12px;margin-bottom:20px}.tw-showcase-card h2{font-size:25px}.tw-showcase-card{display:flex;flex-direction:column}.tw-showcase-card .tw-button{margin-top:auto;align-self:flex-start}.tw-showcase-detail>h1{font-size:32px;margin:24px 0 12px}.tw-showcase-detail .tw-rail-showcase .tw-wrap{width:100%;padding:0}.tw-showcase-detail>.tvc{margin:24px auto}.tw-config-actions{max-width:1180px;margin:0 auto;padding:0 24px;display:flex;flex-wrap:wrap;gap:12px}@media(max-width:640px){.tw-showcase-grid{grid-template-columns:1fr}.tw-showcase-card img{height:190px}.tw-showcase-detail>h1{font-size:26px}}

/* Four portfolio entries form a balanced grid without changing service cards. */
.torni-web .tw-webportfolio{grid-template-columns:repeat(2,minmax(0,1fr))}
.torni-web .tw-mini-total strong{font-size:19px;letter-spacing:-.03em}
@media(max-width:650px){.torni-web .tw-webportfolio{grid-template-columns:minmax(0,1fr)}}
