/* Thermax TSA landing page add-on (kept outside the app build, served by nginx from shared/addons). */

/* "Read more" popup: full photo on the left (sets the height, never cropped), title and full text on the right. */
html.tsa-modal-open{overflow:hidden}
.tsa-modal{width:min(980px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);margin:auto;padding:0;border:0;border-radius:.5rem;background:#fff;color:#111;box-shadow:0 24px 64px rgba(0,0,0,.35);overflow:hidden}
.tsa-modal::backdrop{background:rgba(0,0,0,.65)}
.tsa-modal__inner{display:grid;grid-template-columns:1fr;max-height:calc(100vh - 32px);overflow:auto;overscroll-behavior:contain}
.tsa-modal__media[hidden]{display:none}
.tsa-modal__media img{display:block;width:100%;height:auto}
.tsa-modal__body{padding:1.5rem 1.5rem 1.75rem}
.tsa-modal__title{margin:0 2.5rem .75rem 0;font-size:1.5rem;line-height:1.25;color:#111}
.tsa-modal__text{margin:0;font-size:1rem;line-height:1.7;color:#4a4a4a}
.tsa-modal__close{position:absolute;top:.75rem;right:.75rem;z-index:2;display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border:0;border-radius:50%;background:rgba(17,17,17,.8);color:#fff;font-size:1.6rem;line-height:1;cursor:pointer;transition:background .2s ease}
.tsa-modal__close:hover{background:#da291c}
.tsa-modal__close:focus-visible{outline:2px solid #da291c;outline-offset:2px}
@media (min-width:768px){
.tsa-modal__inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden}
.tsa-modal__media{align-self:start}
.tsa-modal__media img{max-height:calc(100vh - 32px);object-fit:contain}
.tsa-modal__body{height:0;min-height:100%;padding:2rem 2rem 1.75rem;overflow:auto;overscroll-behavior:contain}
.tsa-modal__text{line-height:1.65}
.tsa-modal__inner.no-media{grid-template-columns:1fr}
.tsa-modal__inner.no-media .tsa-modal__body{height:auto;min-height:0;max-height:calc(100vh - 32px)}
.tsa-modal__title{font-size:1.65rem;margin-bottom:.6rem}
}

/* Less space above the "High Purity Systems" and "Additional Solutions" headings. */
#solutions{padding-top:clamp(2.5rem,2rem + 1.5vw,3.5rem);padding-bottom:0}
#solutions-2{padding-top:clamp(2.5rem,2rem + 1.5vw,3.5rem)}
.section.apart{padding-bottom:clamp(2.5rem,2rem + 1.5vw,3.5rem)}
