/* TerraStroy — TypePage / 03. Варианты формы крыши */
.tsTypeRoofShapes {
    background: #f2eeea;
    color: #252525;
    padding-block: clamp(55px, 6vw, 88px) clamp(64px, 7vw, 100px);
}
.tsTypeRoofShapesContainer { margin-inline: auto; }
.tsTypeRoofShapesHeading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(26px, 4vw, 70px);
    align-items: start;
    margin-bottom: clamp(30px, 3.2vw, 44px);
}
.tsTypeRoofShapesTitle {
    margin: 0;
    color: #252525;
    font-size: clamp(34px, 3.65vw, 50px);
    line-height: 1.13;
    font-weight: 700;
    letter-spacing: -.025em;
}
.tsTypeRoofShapesIntro {
    margin: 0;
    color: #736f6b;
    font-size: clamp(15px, 1.12vw, 17px);
    line-height: 1.55;
    text-align: right;
}
.tsTypeRoofShapesGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.75vw, 26px);
    align-items: stretch;
}
.tsTypeRoofShapesCard {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3ded9;
}
.tsTypeRoofShapesMedia {
    width: 100%;
    aspect-ratio: 1.88 / 1;
    background: #e9e1da;
    overflow: hidden;
    border-radius: 20px;
}
.tsTypeRoofShapesImage {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tsTypeRoofShapesCardContent {
    padding: clamp(22px, 2vw, 32px) clamp(18px, 1.75vw, 26px) clamp(30px, 3.5vw, 52px);
}
.tsTypeRoofShapesCardTitle {
    margin: 0 0 17px;
    color: #252525;
    font-size: clamp(23px, 2.3vw, 33px);
    font-weight: 700;
    line-height: 1.2;
}
.tsTypeRoofShapesCardDescription {
    margin: 0;
    color: #292725;
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.55;
}
@media (max-width: 1200px) {
    .tsTypeRoofShapesCard { border-radius: 17px; }
    .tsTypeRoofShapesMedia { border-radius: 16px; }
}
@media (max-width: 900px) {
    .tsTypeRoofShapesGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tsTypeRoofShapesHeading { grid-template-columns: 1fr; }
    .tsTypeRoofShapesIntro { text-align: left; }
}
@media (max-width: 700px) {
    .tsTypeRoofShapesGrid { grid-template-columns: 1fr; }
    .tsTypeRoofShapesCardContent { padding: 22px 20px 28px; }
    .tsTypeRoofShapesMedia { aspect-ratio: 1.9 / 1; }
}
