

/* Start:/local/components/bitrix/news.list/templates/reviews_block/style.css?17557339625819*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}
/* Общие стили */
.reviews{
 width:100%;
 /* background-color: #0a0a1a; */
 background-color: #1B202C;
}
.reviews-container {
 margin: 60px auto;
 overflow: hidden;
}


.reviews-header {
 text-align: center;
 padding: 40px 0;
}

.reviews-header h2 {
 font-size: 2.2rem;
 color: white;
 margin-bottom: 10px;
 font-weight: 600;
 line-height: 36px;
}

.highlight {
    color: #2e78ff;
}

.divider {
    width: 120px;
    height: 2px;
    background: #2e78ff;
    margin: 0 auto;
}

.reviews-wrapper {
    display: flex;
    gap: 30px;
    padding: 40px;
    /* background: #0f0f1c; */
    border-radius: 20px;
    background: linear-gradient(45deg, rgba(27,41,70,1) 0%,rgba(26,35,54,1) 50%,rgba(27,32,44,1) 100%,rgba(125,185,232,1) 100%);
}

.reviews-left {
 flex-shrink: 0;
 max-width: 530px;
}

.reviews-left .reviews-text {
 font-size: 24px;
 color: #fff;
 line-height: 28px;
 margin: 0;
 margin-bottom: 16px;
 font-weight: 600;
}

.reviews-link {
 color: #2e78ff !important;
 text-decoration: underline;
 font-size: 14px;
 transition: color 0.3s;
 text-transform: uppercase;
 line-height: 16.8px;
}

.reviews-link:hover {
    color: #1a55d5;
}

.reviews-right {
 flex-grow: 1;
 min-width: 1px;
}

.review-item {
    display: none;
}

.review-user {
 display: flex;
 gap: 10px;
 margin-bottom: 31px;
 position: relative;
 padding-right: 90px;
}

.user-avatar {
 width: 50px;
 height: 50px;
 border-radius: 50%;
}
.user-info {
 flex-direction: column;
 display: flex;
 overflow: hidden;
}

.user-info strong {
color: white;
 font-weight: 600;
 font-size: 20px;
 line-height: 28px;
 margin-bottom: 5px;
 white-space: nowrap;
 text-overflow: ellipsis;
 overflow: hidden;
 width: 100%;
}

.user-date {
 font-weight: 400;
 font-size: 14px;
 line-height: 24px;
 opacity: 0.8;
 color: #fff;
}

.review-text {
 color: #fff;
 font-weight: 400;
 font-size: 16px;
 line-height: 24px;
}

.btn-view-original {
 cursor: pointer;
 transition: color 0.3s;
 font-weight: 500;
 font-size: 14px;
 line-height: 16.8px;
 text-transform: uppercase;
 text-decoration: underline;
 color: #2E78FF;
 margin-top: 30px;
}

.btn-view-original:hover {
    color: #1a55d5;
}

.reviews-controls {
 display: flex;
 justify-content: center;
 gap: 10px;
 position: absolute;
 right: 0;
 top: 0;
 z-index: 2;
}

.reviews-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background: #1a1a2a;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.reviews-controls button:hover {
    background: #2e78ff;
    color: white;
}

.swiper-button-prev.prev-review,.swiper-button-next.next-review{
 display: flex;
 align-items: center;
 justify-content: center;
 position: static;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.1);
 overflow: hidden;
 backdrop-filter: blur(30px);
 cursor: pointer;
}
.swiper-button-prev.prev-review:hover,.swiper-button-next.next-review:hover{
	    transition: All 0.2s ease;
}
.swiper-button-prev.prev-review:hover svg,.swiper-button-next.next-review:hover svg{
	fill:#ffffff;
	z-index: 1;
}
.prev-review:hover::before, .next-review:hover::before{
	opacity:1
}
.prev-review::before, .next-review::before{
    position: absolute;
    content: "";
    inset: 0;
    background: linear-gradient(158deg, #2e78ff 6.6%, #4663be 71.08%);
    opacity: 0;
    transition: .3s;
    z-index: 0;
 }
 /* --- Стили для модального окна скриншота --- */
.modal-screenshot {
  display: none; /* Скрыто по умолчанию */
  position: fixed; /* Остается на месте при прокрутке */
  z-index: 10000; /* Высокий z-index, чтобы быть поверх других элементов */
  left: 0;
  top: 0;
  width: 100%; /* Полная ширина */
  height: 100%; /* Полная высота */
  overflow: auto; /* Разрешить прокрутку, если изображение больше экрана */
  background-color: rgb(0,0,0); /* Цвет фона с запасом */
  background-color: rgba(0,0,0,0.9); /* Черный с непрозрачностью */
}

/* Контент модального окна */
.modal-screenshot-content {
    margin: auto;
    display: inline-block;
    justify-content: center; 
    align-items: center;
    height: 100%;
    text-align: center;
    width: 100%;
}

/* Изображение внутри модального окна */
.modal-screenshot-img {
    width: 80%;
    height: 100%;
    object-fit: contain; 
    vertical-align: middle;
}

/* Кнопка закрытия */
.modal-screenshot-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.modal-screenshot-close:hover,
.modal-screenshot-close:focus {
  color: #bbb;
}
/* --- Конец стилей для модального окна скриншота --- */
/* Адаптивность */
@media screen and (max-width: 1260px) {
 .reviews-left {
  max-width: 50%;
 }
 .reviews-wrapper {
  gap: 20px;
 }
}/*1260px*/
@media screen and (max-width: 1020px) {
 .reviews-wrapper {
  gap: 0;
  padding: 20px;
  flex-wrap: wrap;
 }
 .reviews-left {
  flex-shrink: 0;
  max-width: 100%;
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
 }
 .reviews-right {
  flex-grow: 1;
  min-width: 1px;
  width: 100%;
 }
}/*1020px*/

@media screen and (max-width: 720px) {
 .reviews-left .reviews-text {
  font-size: 18px;
  line-height: 22px;
 }
 .reviews-link {
  font-size: 12px;
 }
 .reviews-wrapper {
  padding: 15px 10px;
 }
}/*720px*/
/* End */
/* /local/components/bitrix/news.list/templates/reviews_block/style.css?17557339625819 */
