﻿.news-page {
  position: relative;
}

.news-page .news-page__images {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.news-page .news-page__swiper {
  position: relative;
  width: 100%;
  height: 300px;
}

.news-page .news-page__swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-page .news-page__swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-page .news-page__swiper-slide img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
  overflow: hidden;
}

.news-page .news-page__swiper-button-prev,
.news-page .news-page__swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-page .news-page__swiper-button-prev {
  left: 20px;
}

.news-page .news-page__swiper-button-next {
  right: 20px;
}

.news-page .news-page__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.news-page .news-page__title {
  color: #051c2b;
  font-family: "Geologica", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  margin: 0;
  text-align: center;
  text-wrap: pretty;
}

.news-page .news-page__breadcrumbs {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
}

.news-page .news-page__breadcrumbs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-page .news-page__breadcrumbs-item {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-page .news-page__breadcrumbs-item > a,
.news-page .news-page__breadcrumbs-item > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #051c2b;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 200;
  line-height: 24px;
  text-decoration: none !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.news-page .news-page__breadcrumbs-item > a:hover,
.news-page .news-page__breadcrumbs-item > a:focus {
  color: #5691c8;
  text-decoration: underline !important;
}

.news-page .news-page__breadcrumbs-separator {
  font-size: 14px;
}

.news-page .news-page__main {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.news-page .news-page__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-page .news-page__date {
  color: #64748b;
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 200;
  line-height: 24px;
  margin: 0;
}

.news-page .news-page__content {
  color: #334155;
  font-family: "Geologica", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 200;
  line-height: 28px;
  margin: 0;
  text-wrap: pretty;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: hidden;
}

.news-page .news-page__content > *:first-child {
  margin-top: 0 !important;
}

.news-page .news-page__content > *:last-child {
  margin-bottom: 0 !important;
}

@media (width <= 768px) {
  .news-page .news-page__images {
    margin-bottom: 35px;
  }

  .news-page .news-page__swiper {
    height: 265px;
  }

  .news-page .news-page__header {
    gap: 20px;
    align-items: flex-start;
  }

  .news-page .news-page__title {
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px;
    max-width: 512px;
    text-align: left;
  }

  .news-page .news-page__main {
    margin-top: 40px;
    gap: 35px;
  }
}
