/* Keep long Russian headings inside cards at intermediate widths and zoom. */
.why-grid h3,.partner-grid h3{overflow-wrap:anywhere;hyphens:auto}
.partner-grid article{padding:clamp(24px,2vw,36px)}
@media(min-width:861px) and (max-width:1280px){.why-grid{grid-template-columns:minmax(0,1fr)}.why-grid article{grid-template-columns:110px 1px minmax(0,1fr);column-gap:28px}.why-grid h3,.why-grid p{max-width:none}}
@media(max-width:360px){.hero-features{grid-template-columns:minmax(0,1fr)}}
/* Keep the first-visit notice clear of the desktop offer and its buttons. */
@media(min-width:1001px){.cookie-notice{left:auto;right:20px;bottom:20px;width:370px;max-width:calc(100vw - 40px);padding:16px;background:#fff}.cookie-notice p{font-size:12px;line-height:1.45;font-weight:400}.cookie-notice button{min-height:38px;margin-top:10px;font-size:13px}}

/* Intrinsic card heights must include both the photo and all of its text. */
.texture-grid{--texture-gap:clamp(18px,2vw,28px);display:flex;flex-wrap:wrap;gap:var(--texture-gap)}
.texture-grid article{display:block;min-height:0;flex:0 0 calc((100% - 2 * var(--texture-gap))/3)}
.texture-grid img{flex:none}
@media(max-width:1180px){.texture-grid article{flex-basis:calc((100% - var(--texture-gap))/2)}}
@media(max-width:860px){.texture-grid article{flex-basis:100%}}
@media(max-width:1180px){.selection-form{width:min(100%,640px);justify-self:center}}
@media(max-width:860px){
 .about{--about-photo-height:clamp(260px,95vw,480px);min-height:0;padding-top:calc(var(--about-photo-height) + 28px);background:#f7f7f7}
 .about::before{inset:0 0 auto;height:var(--about-photo-height);background:url('assets/optimized/7-2.webp') center 35%/cover no-repeat}
 .about-copy{padding-top:0}
}
.hero .eyebrow{margin-bottom:16px;line-height:1.4}
.hero h1{margin-top:0}
@media(max-width:600px){
 .site-modal-content{padding:52px 20px 24px}
 .site-modal h2{font-size:28px;overflow-wrap:break-word}
 .modal-form label{font-size:16px}
 .modal-form input,.modal-form textarea{font-size:16px;min-height:50px;padding:12px 14px}
 .modal-form textarea{min-height:100px}
 .modal-submit{font-size:18px;min-height:52px;white-space:normal}
 .cookie-notice{padding:14px;max-height:calc(100dvh - 100px);overflow:auto}
 .cookie-notice p{font-size:12px;line-height:1.4;font-weight:400}
 .cookie-notice button{font-size:14px;min-height:44px;margin-top:10px}
}
