/* Load after functional-repair.css and layout-repair-20261114.css. */
main>.item-article.tg-project-detail:not(.item-firstscreen){width:100%;max-width:none;margin:0;padding:32px 0 0;box-sizing:border-box}
.tg-project-detail{min-width:0}
.tg-project-detail .container{width:100%;max-width:1260px}
.tg-project-intro{padding:0 0 64px}
.tg-project-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:50px;align-items:stretch}
.tg-project-heading{display:flex;flex-direction:column;justify-content:space-between;gap:40px;min-width:0;padding:16px 0}
.tg-project-heading h1{font-size:clamp(30px,3.1vw,48px);line-height:1.15;margin:0;text-transform:none;overflow-wrap:anywhere}
.tg-project-heading .gorod{margin:0 0 20px}
.tg-project-facts{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0}
.tg-project-facts>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.tg-project-facts dt{order:2;font-size:16px;font-weight:400;line-height:1.4;color:#c2cce0}
.tg-project-facts dd{order:1;font-size:clamp(25px,2.4vw,36px);font-weight:700;line-height:1.2;margin:0;color:#fff;white-space:normal}
.tg-project-hero{position:relative;width:100%;min-width:0;min-height:0;align-self:start;aspect-ratio:1.1;background:#14253f;border-radius:30px;overflow:hidden}
.tg-project-hero .item-image{position:absolute;inset:0;float:none!important;width:100%;height:100%;margin:0!important}
.tg-project-hero img,.item-project .tg-project-hero .item-image img{display:block;width:100%;max-width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border-radius:30px}
.tg-project-work,.tg-project-gallery{width:100%;padding:64px 0}
.tg-project-work{background:transparent}
.tg-project-gallery{background:#182a4c}
.tg-project-detail h2.page-header{font-size:clamp(28px,3vw,42px);line-height:1.2;margin:0 0 32px;text-transform:none}
.tg-project-work__body{max-width:900px;font-size:18px;line-height:1.65}
.tg-project-work__body p:last-child{margin-bottom:0}
.tg-project-fixture-note{font-size:14px;line-height:1.5;color:#b7c4db}
.tg-project-gallery .row{row-gap:30px}
.tg-project-gallery .thumbnail{display:block!important;margin:0;height:100%;background:#14253f;border-radius:24px;overflow:hidden}
.tg-project-gallery .thumbnail img{display:block;width:100%;height:100%;max-height:620px;aspect-ratio:4/3;object-fit:contain;border-radius:0}
.tg-project-detail>.our-project-box{width:100%;margin:0;background:#253760;padding:64px 0}
/* The category's existing .item owns the card background. Put its padding in the link. */
.blog-service .item{padding:0}
.blog-service .tg-service-card{height:100%;gap:0;border-radius:inherit}
.blog-service .tg-service-card__link{display:flex;flex-direction:column;gap:16px;flex:1;width:100%;min-width:0;box-sizing:border-box;padding:24px;color:inherit;text-decoration:none;border-radius:inherit}
.blog-service .tg-service-card__link:hover,.blog-service .tg-service-card__link:focus-visible{color:inherit;text-decoration:none;background:rgba(108,211,255,.06)}
.blog-service .tg-service-card__link:focus-visible{outline:3px solid #6cd3ff;outline-offset:-3px}
.blog-service .tg-service-card__more{margin-top:auto;pointer-events:none}
@media(max-width:991.98px){
 main>.item-article.tg-project-detail:not(.item-firstscreen){padding:128px 0 0}.tg-project-overview{grid-template-columns:1fr;gap:28px}.tg-project-heading{gap:28px;padding:0}
 .tg-project-intro{padding-bottom:40px}.tg-project-work,.tg-project-gallery,.tg-project-detail>.our-project-box{padding:40px 0}
 .tg-project-facts{gap:16px}.tg-project-hero img,.item-project .tg-project-hero .item-image img{border-radius:20px}
 .tg-project-gallery .gall-item{flex:0 0 100%;max-width:100%}.tg-project-gallery .row{row-gap:20px}
 .tg-project-gallery .thumbnail img{max-height:none;height:auto;aspect-ratio:auto}
 .blog-service .item{padding:0}
}
