/* Scoped to the project examples on /design. */
body.page-design .design-technical-preview{display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:1fr 1fr;gap:8px;width:100%;max-width:440px;aspect-ratio:4/3;padding:12px 12px 35px;border:1px solid #e2e8e9;border-radius:18px;background:#f1f5f5;box-sizing:border-box}
body.page-design .design-technical-preview a{display:flex;flex-direction:column;align-items:center;min-width:0;min-height:0;overflow:hidden;background:#fff;border-radius:9px;text-decoration:none;color:#526871;padding:6px}
body.page-design .design-technical-preview a:first-child{grid-row:1/3}
body.page-design .design-technical-preview img{display:block;min-height:0;flex:1;width:100%;height:0;object-fit:contain}
body.page-design .design-technical-preview span{display:block;flex:none;font-size:10px;line-height:1.5;padding:3px 0 0;font-weight:600}
body.page-design .design-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
body.page-design .design-project-grid>.DesignPortfolioBlock{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0;padding:20px;gap:14px!important;justify-content:flex-start;border:1px solid #e0e8eb;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(28,50,64,.055)}
body.page-design .design-project-grid>.DesignPortfolioBlock>img{display:block;width:100%;height:270px;max-width:none;object-fit:contain;background:#fff;border-radius:10px}
body.page-design .design-project-grid .TextDesignPortfolioBlock{height:auto;min-height:0;gap:10px;flex:1}
body.page-design .design-project-grid .TextDesignPortfolioBlock h3,body.page-design .design-project-grid .TextDesignPortfolioBlock>.text-bold{margin:0;font-size:21px;line-height:1.3;color:#1c3240}
body.page-design .design-project-grid .TextDesignPortfolioBlock>.text-overflow-2{font-size:14px;line-height:1.6;margin:0}
body.page-design .design-project-grid .DesignPortfolioBlock>p{margin:0;font-size:10px;font-weight:650;letter-spacing:.07em;line-height:1.5;color:#607780;text-transform:uppercase}
body.page-design .design-project-grid .BtnPortfolio{margin-top:auto;width:100%;min-height:48px}
body.page-design .design-project-story{font-size:13px;font-weight:600;line-height:1.5;min-height:36px;display:flex;align-items:center;justify-content:space-between;color:#1c3240;text-decoration:underline;text-underline-offset:4px}
body.page-design .design-project-grid a:focus-visible,body.page-design .design-technical-preview a:focus-visible{outline:3px solid #609caf;outline-offset:4px}
body.page-design #portfolioModalMainImage[src*="/img/blog/projects/"],body.page-design .portfolio-modal__thumb[src*="/img/blog/projects/"]{object-fit:contain!important;background:#fff}
@media(max-width:991.98px){body.page-design .design-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:575.98px){body.page-design .design-project-grid{grid-template-columns:1fr;gap:20px}body.page-design .design-project-grid>.DesignPortfolioBlock{padding:18px}body.page-design .design-project-grid>.DesignPortfolioBlock>img{height:290px}body.page-design .design-project-grid .TextDesignPortfolioBlock h3,body.page-design .design-project-grid .TextDesignPortfolioBlock>.text-bold{font-size:22px}}
