/* carata 29.10: блок отзывов Яндекс Карт на главной (/local/include/crt_reviews.php). Стиль как у блоков статей (crt-art). */
.crt-rv{padding:24px 0 16px;clear:both;width:100%}
.crt-rv__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.crt-rv__title{margin:0;font-family:inherit;font-size:28px;font-weight:400;line-height:1.2;color:#1d1d1f;text-transform:none}
.crt-rv__nav{display:flex;gap:8px}
.crt-rv__arr{width:38px;height:38px;border:1px solid #1b74a8;border-radius:5px;background:#fff;color:#1b74a8;font-size:24px;line-height:1;cursor:pointer;padding:0}
.crt-rv__arr:hover{background:#1b74a8;color:#fff}
.crt-rv__arr:disabled{opacity:.35;cursor:default;background:#fff;color:#1b74a8}
.crt-rv--fits .crt-rv__arr{display:none}
.crt-rv__body{display:flex;gap:20px;align-items:stretch}
.crt-rv__sum{flex:0 0 260px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;border:1px solid #e6e8ec;border-radius:14px;background:linear-gradient(160deg,#f3f8fc 0%,#fff 70%);box-sizing:border-box}
.crt-rv__src{display:flex;align-items:center;gap:8px;font-size:14px;color:#6b7078}
.crt-rv__ya{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#fc3f1d;color:#fff;font:700 13px/1 Arial,sans-serif}
.crt-rv__score{font-size:56px;line-height:1;font-weight:500;color:#1d1d1f;margin-top:4px}
.crt-rv__stars{display:inline-flex;gap:2px}
.crt-rv__stars i{display:inline-flex}
.crt-rv__stars svg{fill:#fc0}
.crt-rv__stars i.is-off svg{fill:#dfe2e6}
.crt-rv__sum .crt-rv__stars svg{width:20px;height:20px}
.crt-rv__counts{font-size:14px;color:#6b7078;text-decoration:none}
.crt-rv__counts:hover{color:#1b74a8}
.crt-rv__btn{display:block;width:100%;box-sizing:border-box;text-align:center;padding:9px 14px;border:1px solid #1b74a8;border-radius:5px;color:#1b74a8;background:#fff;font-size:15px;text-decoration:none;transition:background .2s,color .2s}
.crt-rv__btn:hover{background:#1b74a8;color:#fff;text-decoration:none}
.crt-rv__btn--main{margin-top:auto;background:#1b74a8;color:#fff}
.crt-rv__btn--main:hover{background:#155d87;border-color:#155d87}
.crt-rv__track{flex:1;min-width:0;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 2px 6px}
.crt-rv__track::-webkit-scrollbar{display:none}
.crt-rv__card{flex:0 0 calc((100% - 32px)/3);min-width:240px;scroll-snap-align:start;display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #e6e8ec;border-radius:14px;background:#fff;box-sizing:border-box;transition:box-shadow .25s,border-color .25s}
.crt-rv__card:hover{border-color:#cfe3f1;box-shadow:0 10px 28px rgba(20,60,100,.10)}
.crt-rv__who{display:flex;align-items:center;gap:12px}
.crt-rv__ava{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:0 0 44px;background:#eaf3f9}
.crt-rv__ava--txt{display:inline-flex;align-items:center;justify-content:center;color:#1b74a8;font-weight:500;font-size:18px}
.crt-rv__name{font-weight:500;font-size:16px;color:#1d1d1f;line-height:1.3}
.crt-rv__date{font-size:13px;color:#6b7078}
.crt-rv__text{margin:0;font-size:15px;line-height:1.5;color:#33363a;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.crt-rv__more{margin-top:auto;font-size:14px;color:#1b74a8;text-decoration:none}
.crt-rv__more:hover{text-decoration:underline}
@media (max-width:1199px){.crt-rv__card{flex-basis:calc((100% - 16px)/2)}}
@media (max-width:767px){
.crt-rv__title{font-size:22px}
.crt-rv__arr{display:none}
.crt-rv__body{flex-direction:column;gap:12px}
.crt-rv__sum{flex:none;width:100%;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"src src" "score stars" "score counts" "main main" "all all";column-gap:14px;row-gap:6px;align-items:center;padding:16px}
.crt-rv__src{grid-area:src}.crt-rv__score{grid-area:score;font-size:48px;margin:0}.crt-rv__sum .crt-rv__stars{grid-area:stars;align-self:end}.crt-rv__counts{grid-area:counts;align-self:start}
.crt-rv__btn--main{grid-area:main;margin-top:8px}.crt-rv__sum .crt-rv__btn:not(.crt-rv__btn--main){grid-area:all}
.crt-rv__track{gap:12px}
.crt-rv__card{flex-basis:85%;min-width:0}
}
