@import url('https://fonts.googleapis.com/css?family=Inter:regular,500&display=swap');

@import url('https://fonts.googleapis.com/css?family=Geologica:300,regular,500,600&display=swap');

.container {
  width: 100%;
  margin: 0px auto;
  padding: 0px 20px;
}

:root {
  --primary-color:#054c73;
}

body {
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  color: #252525;
  background: #f1f4f5;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}
/* News-main */
.news-main {
  margin-top: 40px;
  margin-bottom: 40px;
}
.news-main__body {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 32px;
}
.news-main__left {
  position: relative;
  color: #fff;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}
.news-main__left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
  border-radius: 16px;
}
.news-main__left img{
  aspect-ratio: 0.53/1;
  width: 100%;
  border-radius: 16px;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -2;
  inset: 0;
}
.news-main__title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}
.news-main__text {
  font-family: 'Geologica';
  font-size: 16px;
  line-height: 150%;
  margin-bottom: 24px;
  -webkit-line-clamp: 2;
	line-clamp: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
}

.news-main__left:hover {
  color: rgba(255, 255, 255, 0.8);
}

.news-main__left:active {
  color: rgba(255, 255, 255, 0.8);
}

.link-news {
  padding: 20px 24px;
  background-color: #fff;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  border-radius: 1000px;
  position: relative;
  overflow: hidden;
}
.link-news span {
  background: linear-gradient(137deg, #009ee0 0%, #66c8ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.news-main__right {
  background: #fff;
  z-index: -1;
  border-radius: 20px;
}
.right-news-main {
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.right-news-main__top-news {
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  color: #fff;
  justify-content: flex-end;
  padding: 20px;
  align-items: flex-start;
}
.right-news-main__top-news::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
  border-radius: 16px;
}
.right-news-main__top-news img {
  aspect-ratio: 1.6/1;
  width: 100%;
  object-fit: cover;
  height: 100%;
  border-radius: 20px;
  position: absolute;
  z-index: -2;
  inset: 0;
}
.right-news-main__title-top {
  margin-bottom: 12px;
}
.title-news {
  font-size: 16px;
  font-weight: 600;
  font-family: 'Geologica';
}
.title-news--white {
  color: #fff;
}
.date-news {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.right-news-main__block {
  padding: 16px;
}
.right-news-main__item:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 16px;
}
.item-news-main {
  display: flex;
  flex-direction: column;
}
.item-news-main__category {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  background: linear-gradient(135deg, #2767e1 0%, #568efb 46.5%, #2767e1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Geologica';
}
.item-news-main__link {
  display: inline-block;
  margin-bottom: 12px;
}
.item-news-main__date {
  color: rgba(37, 37, 37, 0.5);
}

/* Last-news */
.last-news {
  margin-bottom: 20px;
}
/* .last-news__title {
  margin-bottom: 40px;
} */
.title {
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  color: #252525;
  font-family: "Geologica";
}
.last-news__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.item-news-main__image {
  display: block;
  margin-bottom: 12px;
}
.item-news-main__image img {
  width: 100%;
  aspect-ratio: 1.6/1;
  border-radius: 12px;
  object-fit: cover;
}
.news-block {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
}
.news-block__top {
  width: 100%;
  margin: 0px auto 32px;
  overflow: auto;
}
.news-block__list {
  display: flex;
  column-gap: 8px;
  overflow: auto;
  white-space: nowrap;
  margin-left: 20px;
}
.news-block__link {
  display: inline-block;
  padding: 16px 24px;
  position: relative;
  font-weight: 500;
  font-family: 'Geologica';
  color: #25252591;
  border: 1px solid #fff;
  border-radius: 1000px;
  background-color: #fff;
  z-index: 1;
  transition: color 0.3s;
}
.news-block__link::before {
  content: '';
  position: absolute;
  inset: 0;
  transition: opacity 0.3s;
  width: 100%;
  height: 100%;
  border-radius: 1000px;
  opacity: 0;
  z-index: -1;
  background: linear-gradient(137deg, #009ee0 0%, #66c8ff 100%);
}
.news-block__link.active::before{
  opacity: 1;
}
.news-block__link.active {
  color: #fff;
}
.news-block__body {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 20px;
  row-gap: 40px;
}
.item-news-main__link {
  -webkit-line-clamp: 2;
	line-clamp: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.item-news-main__text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 150%;
  -webkit-line-clamp: 3;
	line-clamp: 3;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-block__bottom {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  align-items: center;
  margin-top: 40px;
}
.news-block__more {
  border-radius: 1000px;
  padding: 20px 24px;
  background: linear-gradient(137deg, #009ee0 0%, #66c8ff 100%);
  color: #fff;
  font-weight: 500;
  font-family: 'Geologica';
  font-size: 18px;
}
.news-block__info {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Geologica';
  color: #2525256c;
}

/* News-Post */
.news-post {
  margin-top: 32px;
  margin-bottom: 80px;
}
.news-post__title {
  font-size: 32px;
  font-weight: 600;
  font-family: 'Geologica';
  line-height: 120%;
  margin-bottom: 12px;
}
.news-post__date {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 32px;
}
.news-post__image {
  margin-bottom: 32px;
}
.news-post__image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.news-post__body {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 32px;
  grid-template-areas: 'author' 'text' 'news-right';
}
.news-post__content {
  grid-area: text;
}
.news-post__text:not(:last-child) {
  margin-bottom: 16px;
}
.news-post__text h2{
  font-size: 24px;
  font-weight: 600;
  font-family: 'Geologica';
  line-height: 130%;
  margin-bottom: 12px;
}
.news-post__text p {
  font-size: 16px;
  line-height: 150%;
}
.news-post__text p:not(:last-child),
.news-post__text a:not(:last-child),
.news-post__text ul:not(:last-child),
.news-post__text ol:not(:last-child) {
  margin-bottom: 16px;
}
.news-post__text a {
  font-weight: 500;
  display: inline-block;
  font-size: 16px;
  line-height: 150%;
  background: linear-gradient(137deg, #009ee0 0%, #66c8ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.news-post__text h3 {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Geologica';
  line-height: 150%;
  margin-bottom: 12px;
}

.news-post__text ul,
.news-post__text ol{
  padding-left: 20px;
}

.news-post__text ul li {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #252525;
  list-style: disc;
}

.news-post__text ul li:not(:last-child),
.news-post__text ol li:not(:last-child) {
  margin-bottom: 8px;
}

.news-post__text ul li::marker {
  color: #009ee0;
}

.news-post__text ol li::marker {
  color: #009ee0;
  font-family: 'Arial';
  font-weight: 500;
}

.news-post__text.smaller ol li::marker {
    font-size: 17px;
}

.author-news-post {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}
.author-news-post__left {
  display: flex;
  align-items: center;
  column-gap: 8px;
}
.author-news-post__image img{
  width: 80px;
  height: 80px;
  border-radius: 10px;
}
.author-news-post__name {
  font-size: 20px;
  font-weight: 600;
  font-family: 'Geologica';
  margin-bottom: 2px;
}
.author-news-post__info {
  font-size: 14px;
  color: rgba(37, 37, 37, 0.5);
}
.author-news-post__right {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
.author-news-post__link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #e8f8ff;
  text-align: center;
  border-radius: 1000px;
  padding: 6px 12px;
  font-family: 'Geologica';
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  -webkit-text-fill-color: transparent;
}
.author-news-post__link span {
  background: linear-gradient(137deg, #009ee0 0%, #66c8ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  z-index: 1;
  overflow: hidden;
}
.news-post__info-author {
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #2767e1 0%, #568efb 46.5%, #2767e1 100%);
  grid-area: author;
}
.info-author-news__title {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  font-family: 'Geologica';
  margin-bottom: 16px;
}
.info-author-news__list {
  margin-bottom: 22px;
}
.info-author-news__item {
  display: flex;
  align-items: center;
  column-gap: 8px;
  font-size: 16px;
  color: #fff;
}
.info-author-news__item:not(:last-child) {
  margin-bottom: 12px;
}

.news-post__right {
  grid-area: news-right;
}
.right-news-main {
  background-color: #fff;
  border-radius: 16px;
}

@media (min-width:480px) {
  .container {
    max-width: 460px;
  }
  .right-news-main__top-news {
    min-height: 372px;
  }
  .date-news {
    font-size: 16px;
  }
  .last-news {
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 740px;
  }
  .right-news-main {
    flex-direction: row;
  }
  .news-main__title {
    font-size: 36px;
  }
  .news-main__text {
    font-size: 18px;
  }
  .title-news {
    font-size: 16px;
  }
  .last-news__body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
  }
  .item-news-main__image img {
    aspect-ratio: 1.77/1;
  }
  .news-block__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .news-block__top {
    max-width: 740px;
  }
  .news-post {
    margin-bottom: 100px;
  }
  .news-post__title {
    font-size: 36px;
  }
  .news-post__image img {
    aspect-ratio: 1.82/1;
  }
  .info-author-news {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
  }
  .info-author-news__list {
    display: flex;
    column-gap: 21.1px;
    margin-bottom: 0;
  }
  .info-author-news__item:not(:last-child) {
    margin-bottom: 0;
  }
  .news-post__text p:not(:last-child), .news-post__text a:not(:last-child), .news-post__text ul:not(:last-child), .news-post__text ol:not(:last-child) {
    margin-bottom: 24px;
  }
  .author-news-post__right {
    flex-direction: row;
    column-gap: 20px;
  }
  .author-news-post__link {
    flex: 1 1 auto;
  }
  .author-news-post__name {
    font-size: 24px;
  }
  .author-news-post__info {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  .news-main__left {
    min-height: 692px;
    padding: 40px;
  }
  .news-main__title {
    font-size: 44px;
    margin-bottom: 24px;
  }
  .news-main__link {
    font-size: 18px;
  }
  .title-news {
    font-size: 20px;
  }
  .right-news-main__top-news {
    min-height: 240px;
    padding: 24px;
  }
  .item-news-main__category {
    font-size: 16px;
  }
  .item-news-main__image img {
    aspect-ratio: 1.71/1;
  }
  .news-block {
    margin-bottom: 120px;
  }
  .news-block__body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .news-block__top {
    max-width: 960px;
    margin: 0px auto 40px;
  }
  .news-block__list {
    flex-wrap: wrap;
    row-gap: 24px;
  }
  .last-news {
    margin-bottom: 40px;
  }
  .author-news-post__right {
    flex-direction: column;
  }
  .author-news-post {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1360px) {
  .container {
    max-width: 1300px;
  }
  .right-news-main {
    flex-direction: column;
  }
  .news-block__body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .news-block__top {
    max-width: 1300px;
  }
  .news-post__body {
    grid-template-columns: 1fr 400px;
    grid-template-rows: 253px auto;
    column-gap: 100px;
    align-items: start;
    grid-template-areas: 'text author' 'text news-right';
  }
  .news-main__body {
    column-gap: 40px;
    grid-template-columns: 1fr 400px;
  }
  .news-post__title {
    font-size: 44px;
  }
  .news-post__date {
    font-size: 18px;
    margin-bottom: 40px;
  }
  .news-post__image img {
    aspect-ratio: 2.31/1;
  }
  .info-author-news__list {
    flex-direction: column;
  }
  .info-author-news {
    flex-direction: column;
    row-gap: 24px;
    align-items: flex-start;
  }
  .info-author-news__item:not(:last-child) {
    margin-bottom: 15px;
  }
  .info-author-news__title {
    font-size: 24px;
  }
  .info-author-news__item {
    font-size: 16px;
  }
  .info-author-news__link {
    font-size: 18px;
  }
  .news-post {
    margin-top: 40px;
    margin-bottom: 120px;
  }
  .news-post__text p,
  .news-post__text a,
  .news-post__text h3,
  .news-post__text ul li   {
    font-size: 18px;
  }
}

@media (min-width: 1560px) {
  .container {
    max-width: 1500px;
  }
  .news-block__top {
    max-width: 1500px;
  }
}


@media (any-hover: hover) {
  .news-block__link:hover {
    color: #fff;
  }
  .news-block__link:hover::before {
    opacity: 1;
  }
}




.comment__left {
    max-width: 320px;
    min-width: 94px;
    width: 43%;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-right: 1px solid #eee;
    padding-right: 10px;
}

.comment__name {
    font-size: 17px;
    margin-bottom: 8px;
}

.comment__right {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding-left: 20px;
}

.comment__for {
    color: #aaa;
}
.comment__for, .comment__phone {
    font-size: 17px;
    margin-bottom: 8px;
}

.comment__inner {
    display: flex;
}

.comment {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 16px;
    font-size: 18px;
    line-height: 150%;
}
.comment {
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.06);
}


.comment__reply {
    cursor: pointer;
}
.btn-view.active, .comment__reply, .manager__phone:hover, .play-btn:hover, .search-history a {
    color: #1975be;
}
.comment__reply {
    color: #1975BE;
}

.comment__text {
    color: #000;
    margin-bottom: 12px;
}

.from-comment-section {
  margin: 0 4% 5% 4%;
}
@media (min-width: 480px) {
  .from-comment-section {
    margin: 0 9% 5% 9%;
  }
}

@media (min-width: 1360px) {
  .from-comment-section {
    margin: 0 20% 5% 20%;
  }
}


.case-font-settings {
  font-size: 18px;
  line-height: 150%;
}

