/* Отзывы2130: карточки в оформлении статей; тексты и письма сохранены. */
html body main article.testimonials>ul.ofsi-reviews-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0 24px;padding:0;list-style:none}
html body main article.testimonials>ul.ofsi-reviews-grid>li.ofsi-review-card{display:flex;flex-direction:column;float:none;width:auto;min-width:0;box-sizing:border-box;margin:0;padding:20px;border:1px solid #e2e7e9;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.05);overflow-wrap:anywhere}
html body main article.testimonials .ofsi-review-card>h2{order:-2;margin:0 0 14px;padding:0;color:#155a80;font-size:20px;line-height:1.3}
html body main article.testimonials .ofsi-review-card>img,html body main article.testimonials .ofsi-review-card>object{order:-1;display:block;float:none;width:auto;max-width:100%;height:auto;max-height:80px;object-fit:contain;object-position:left center;margin:0 0 16px}
html body main article.testimonials .ofsi-review-card>div{font-size:14px;line-height:1.55;color:#333}
html body main article.testimonials .ofsi-review-card p{margin:0 0 12px;padding:0}
html body main article.testimonials .ofsi-review-card p:last-child{margin-bottom:0}
html body main article.testimonials .ofsi-review-card>a.ofsi-review-letter{display:inline-flex;align-self:flex-start;float:none;position:static;clear:both;min-height:36px;margin:18px 0 0;padding:7px 12px;box-sizing:border-box;border:1px solid #c8dce5;border-radius:5px;color:#155a80;background:#f4f9fb;font-size:14px;line-height:20px;text-decoration:none}
html body main article.testimonials .ofsi-review-card>a.ofsi-review-letter:hover,html body main article.testimonials .ofsi-review-card>a.ofsi-review-letter:focus{background:#e8f2f6;text-decoration:underline}
@media(max-width:1100px){html body main article.testimonials>ul.ofsi-reviews-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){html body main article.testimonials>ul.ofsi-reviews-grid{gap:14px;margin-top:16px}html body main article.testimonials>ul.ofsi-reviews-grid>li.ofsi-review-card{padding:16px}html body main article.testimonials .ofsi-review-card>h2{font-size:18px}}

/* 2134: top of cards aligned with the first sidebar product; three columns on large screens. */
@media(min-width:1024px){html body main article.testimonials>ul.ofsi-reviews-grid{margin-top:3px}}
/* 2142: число колонок зависит от доступной ширины; три только шире 1100 px. Минимум (1100 - 2*20)/3; максимум три колонки. */
@media(min-width:1101px){html body main article.testimonials>ul.ofsi-reviews-grid{grid-template-columns:repeat(auto-fit,minmax(max(353.34px,calc((100% - 40px)/3)),1fr))}}

/* 2140: маркер старого списка убираем только у карточки; вложенные списки сохраняются. */
html#page-news body main article.testimonials>ul.ofsi-reviews-grid>li.ofsi-review-card::before{content:none;display:none}

/* 2146: в прежнем макете margin-bottom H1 равен -1.8px; компенсируем его без сдвига заголовка или боковой колонки. */
@media(min-width:1024px){html#page-news body:not(.ofsi-info-page) main article.testimonials>ul.ofsi-reviews-grid{margin-top:1.8px}}
