

/* Start:/local/templates/new_5_0/assets/css/news-detail.css?175181187614990*/
.page-header__banner {
  display: none;
}

.page-header {
  margin-bottom: 24px;
}

.section-title {
 margin-bottom: 42px;
}

/*article*/

.article__content {
  padding: 80px 100px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 300;
  line-height: 124%;
  background-color: var(--color-white);
}

.article__section {
  margin-bottom: 80px;
}

.article__title {
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 700;
}

.article__action {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.article__share {
  line-height: 1;
}

.article__date {
  font-size: 14px;
  line-height: 1;
  color: var(--color-dull-grey);
}

.article__banner {
  margin-bottom: 24px;
  width: 100%;
  aspect-ratio: 980 / 419;
  border-radius: 10px;
  overflow: hidden;
}

.article__banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article h2 {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
}

.article__toc-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article__toc-list {
  font-size: 14px;
}

.article__toc-list a {
  transition: color .3s ease-in-out;
}

.article__toc-list a:hover {
  color: var(--color-blue-klein);
}

.article__text a {
  color: var(--color-blue-klein);
}

.article__text h2:not(:first-child) {
  margin-top: 80px;
}

.article__text * {
  margin-bottom: 21px;
}

.article__text ul {
  padding: 0;
}

.article__text li {
  margin-bottom: 10px;
  line-height: 118%;
}

.article__text ul li {
  position: relative;
  padding-left: 30px;
}

.article__text ul li::marker {
  content: none;
}

.article__text ul li::before {
  content: "\25CB";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 14px;
  line-height: 100%;
  color: var(--color-blue-klein);
}

.article__text ol {
  padding-left: 16px;
}

.article__text ol li {
  padding-left: 6px;
}

.article__text ol li::marker {
  color: var(--color-blue-klein);
}


.article__author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.article__author-photo {
  width: 100px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
}

.article__author-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.article__author-name {
  font-size: 16px;
  font-weight: 700;
}

/* Стили для изображений в содержимом статьи */
.article__image-link {
  display: inline-block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: zoom-in;
}

.article__image-link:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(52, 117, 201, 0.3);
}

.article__image-link::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background-color: rgba(52, 117, 201, 0.8);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.article__image-link:hover::after {
  opacity: 1;
}

.article__image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Стили для изображений в тексте статьи */
.article__text .article__image-link {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  width: fit-content;
}

.article__text .article__image {
  max-height: 400px;
  object-fit: cover;
}

/* Адаптивные стили для изображений в контенте */
@media (max-width: 768px) {
  .article__text .article__image {
    max-height: 300px;
  }
  
  .article__image-link::after {
    width: 18px;
    height: 18px;
    background-size: 10px 10px;
  }
}

@media (max-width: 576px) {
  .article__text .article__image {
    max-height: 250px;
  }
  
  .article__image-link::after {
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background-size: 8px 8px;
  }
}


/*comments*/

.comments__container {
  margin-bottom: 42px;
}

.comments__title {
  margin-bottom: 40px;
}

.comments__form-block {
  padding: 42px 100px;
  width: 100%;
  border-radius: 10px;
  background-color: var(--color-white);
}

.comments__form-title {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  color: var(--color-black);
}

.comments__form-descr {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: var(--color-black);
}

.comments__form-input {
  margin-bottom: 10px;
  padding: 5px 45px;
  width: 100%;
  height: 54px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  background-color: var(--color-smoky-white);
}

.comments__form-input:hover {
  background-color: var(--color-smoky-white);
}

.comments__form-input::placeholder {
  color: var(--color-blue-klein-60);
}

.comments__form-label {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 0;
  height: 0;
}

.comments__form-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.comments__form-user-info {
  margin-bottom: 29px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
}

.comments__form-user-name {
  font-weight: 700;
}

.comments__form-author {
  font-weight: 700;
}

.comments__form-discl {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-dull-grey);
}

.comments__form-discl a {
  font-weight: 700;
  color: var(--color-blue-klein);
}

.comments__form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 7px 0;
  padding: 5px 22px;
  height: 54px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
  background-color: var(--color-blue-klein);
  white-space: nowrap;
}

.comments__text {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 122%;
}

.comments__user-name, .comments__date {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 122%;
  color: var(--color-dull-grey);
}

.comments__date {
  margin-bottom: 24px;
}

.comments__btn {
  margin-bottom: 42px;
  width: fit-content;
  font-size: 14px;
  font-weight: 300;
  line-height: 122%;
  color: var(--color-blue-klein);
}

.comments__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}

.comments__item:last-child {
  margin-bottom: 0;
}


.comments__item * {
  order: 1;
}

.comments__answer-lable {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 122%;
}

.comments__answer-block {
  display: flex;
  gap: 21px;
  margin-bottom: 30px;
}

.comments__answer-block:last-child {
  margin-bottom: 0;
}

.comments__answer-avatar {
  align-self: flex-start;
  width: 78px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}

.comments__answer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comments__answer-expert-name {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 122%;
}

.comments__answer-comment {
  font-size: 16px;
  font-weight: 300;
  line-height: 150%;
}


.comments__answer-form {
  display: flex;
  gap: 21px;
  margin-bottom: 42px;
}

.comments__answer-title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 122%;
  color: var(--color-dull-grey);
}

.comments__answer-input {
  margin-bottom: 10px;
  padding: 0 45px;
  width: 100%;
  height: 54px;
  border: 1px solid var(--color-dull-grey);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
}

.comments__answer-input::placeholder {
  color: var(--color-blue-klein-60);
}

.comments__answer-name {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
}

.comments__answer-form .comments__form-discl {
  margin-bottom: 10px;
}

.comments__answer-btn-block{
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.comments__answer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 54px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
  background-color: var(--color-blue-klein);
}

.comments__answer-btn-white{
  color: var(--color-blue-klein);
  border: 1px solid var(--color-blue-klein);
  background-color: var(--color-white);
}


@media (max-width:1199px) {

}

@media (max-width:1024px) {

  /*article*/

  .article__content {
    padding: 60px 60px;
  }

  .article__title {
    font-size: 28px;
  }

  /*comments*/

  .comments__form-block {
    padding: 42px 60px;
  }

}

@media (max-width:767px) {

  /*article*/

  .article__section {
    margin-bottom: 60px;
  }

  .article__title {
    font-size: 24px;
  }

  .article__content {
    padding: 60px 40px;
    font-size: 14px;
  }

  .article h2 {
    font-size: 20px;
  }

  .article__toc-list {
    gap: 10px;
  }

  .article__text li {
    margin-bottom: 20px;
  }

  /*comments*/

  .comments__form-block {
    padding: 40px 40px;
  }

  .comments__form-input {
    padding: 5px 29px;
  }

  .comments__form-bottom {
    flex-direction: column;
  }

  .comments__form-btn {
    margin: 0;
    width: fit-content;
  }

  .comments__date {
    order: 0;
    margin-bottom: 10px;
  }

  .comments__answer-input {
    padding: 0 29px;
    border-radius: 4px;
    font-size: 14px;
  }

  .comments__answer-btn {
    font-size: 14px;
  }

}

@media (max-width:576px) {

  .section-title {
    margin-bottom: 19px;
  }

  /*article*/

  .article__container {
    padding: 0;
  }

  .article__row {
    margin: 0;
  }

  .article__col {
    padding: 0;
  }

  .article__content {
    padding: 60px 15px;
  }

  .article__title {
    margin-bottom: 19px;
    font-size: 20px;
  }

  .article__action {
    margin-bottom: 19px;
  }

  .article__banner {
    margin-bottom: 21px;
    aspect-ratio: 328 / 200;
  }

  .article h2 {
    margin-bottom: 20px;
  }

  .article__author-photo {
    width: 105px;
  }

  .article__text * {
    margin-bottom: 19px;
  }

  /*comments*/

  .comments__container {
    margin-bottom: 60px;
    padding: 0;
  }

  .comments__row-form {
    margin: 0;
    padding: 40px 15px;
    border-radius: 10px;
    background-color: var(--color-white);
  }

  .comments__col {
    padding: 0;
  }

  .comments__form-block {
    padding: 0;
  }

  .comments__form-title {
    margin-bottom: 11px;
    font-size: 16px;
  }

  .comments__form-descr, .comments__form-input,
  .comments__form-user-info, .comments__answer-comment {
    font-size: 14px;
  }

  .comments__form-descr {
    margin-bottom: 19px;
  }

  .comments__form-input {
    margin-bottom: 24px;
    height: 42px;
    border-radius: 4px;
  }

  .comments__form-user-info {
    margin-bottom: 12px;
  }

  .comments__form-discl {
    font-size: 12px;
  }

  .comments__form-btn {
    height: 41px;
    padding: 0 18px;
    font-size: 14px;
  }

  .comments__date {
    font-size: 10px;
  }

  .comments__text {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .comments__btn, .comments__answer-form {
    margin-bottom: 20px;
  }

  .comments__answer-block {
    align-items: center;
    flex-wrap: wrap;
    column-gap: 7px;
    row-gap: 10px;
    margin-bottom: 20px;
  }

  .comments__answer-lable {
    margin-bottom: 11px;
  }

  .comments__answer-avatar {
    width: 48px;
  }

  .comments__answer-expert-name {
    margin: 0;
    width: calc(100% - 7px - 48px);
  }

  .comments__answer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
  }

  .comments__answer-input, .comments__answer-btn {
    height: 42px;
  }

  .comments__answer-btn-block {
    gap: 6px;
  }

  .comments__answer-btn {
    width: calc((100% - 6px) / 2);
  }

}

/* Стили для слайдера галереи */
.article__gallery {
  position: relative;
  margin: 0 -15px;
  padding: 0 20px;
}

.gallery__swiper {
  position: relative;
  padding: 0;
}

.gallery__swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.gallery__slide {
  flex-shrink: 0;
  width: auto;
  height: auto;
}

.gallery__link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery__link:hover {
  transform: scale(1.05);
}

.gallery__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

/* Кнопки навигации */
.gallery__button-next,
.gallery__button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-blue-klein);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.gallery__button-next:hover,
.gallery__button-prev:hover {
  background-color: var(--color-blue-klein-dark, #2658a0);
  transform: translateY(-50%) scale(1.1);
}

.gallery__button-next {
  left:unset !important;
  right: 0;
}

.gallery__button-prev {
  left: 0;
}

.gallery__button-next::after,
.gallery__button-prev::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid white;
  border-right: 2px solid white;
}

.gallery__button-next::after {
  transform: rotate(45deg);
  margin-left: -2px;
}

.gallery__button-prev::after {
  transform: rotate(-135deg);
  margin-right: -2px;
}

/* Пагинация */
.gallery__pagination {
  position: relative;
  margin-top: 30px;
  text-align: center;
}

.gallery__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: var(--color-dull-grey);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.gallery__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-blue-klein);
  transform: scale(1.2);
}

/* Адаптивные стили для галереи */
@media (max-width: 1024px) {
  .article__gallery {
    padding: 0 60px;
  }
  
  .gallery__image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .article__gallery {
    padding: 0 50px;
  }
  
  .gallery__image {
    height: 200px;
  }
  
  .gallery__button-next,
  .gallery__button-prev {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .article__gallery {
    padding: 0 45px;
  }
  
  .gallery__image {
    height: 180px;
  }
  
  .gallery__button-next,
  .gallery__button-prev {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .gallery__pagination {
    margin-top: 20px;
  }
  
  .gallery__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }
}

/* End */
/* /local/templates/new_5_0/assets/css/news-detail.css?175181187614990 */
