@import url(./style.css);
@import url(./swiper-bundle.min.css);

.head-row {
    padding: 25px 0;
    background-color: #FDFDFF;
}

.btn-1{
    margin-right: auto;
}

.head-wrapper {
    background-color: var(--blue);
    padding: 50px 0 0;
}
.head-wrapper h1 {
    color: #FFF;
    font-size: 70px;
    font-style: normal;
    font-weight: 250;
    line-height: 100%; /* 70px */
}
.tabs-panel-news {
    width: 100%;
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}
.tabs-panel-news li {
    display: flex;
    padding: 15px 30px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px 10px 0px 0px;
    background: #9FAAE9;
    cursor: pointer;
    flex-shrink: 0;
}
.tabs-panel-news li{
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.tabs-panel-news .tab-item-news.active {
    background: #FFF;
}
.tabs-panel-news li.active {
    background: #FFF;
}
.tabs-panel-news li.active {
    color: var(--blue);
}
.tabs-panel-news .tab-item-news.active {
    color: var(--blue);
}
.tabs-panel-news li:hover {
    background: #B5C0FF;
}
.tabs-panel-news li.active svg {
    stroke: var(--green);
    fill: var(--green);
}
.tab-container {
    width: 100%;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.news {
    display: flex;
    flex-direction: row;
    padding: 50px 0;
    gap: 50px;
  }

  .news__column-left,
  .news__column-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    align-self: stretch;
  }

  .news__column-right {
    flex: 1 0 0;
  }

  .thumbnail {
    display: flex;
    padding: 30px;
    gap: 30px;
    border-radius: 10px;
    background: #f8f9ff;
    box-shadow: 0px 4px 14px -6px rgba(85, 94, 144, 0.25);
  }

.news__column-right .thumbnail {
  width: 100%;
}

  .thumbnail-fresh {
    width: 442px;
    flex-direction: column;
    align-items: center;
  }

  .thumbnail-img {
    height: 170px;
    width: 170px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
  }

  .thumbnail__date-and-tag {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    gap: 30px;
    font-size: 12px;
  }

  .thumbnail__date,
  .thumbnail__tag {
    display: inline-block;
    font-weight: 500;
  }

  .thumbnail__date {
    padding: 8px 0;
  }

  .thumbnail__tag {
    padding: 8px 15px;
    border-radius: 7px;
    background: #dee2f6;
    text-transform: uppercase;
    font-weight: 500;
  }

  .thumbnail__title {
    font-size: var(--preset--font-size--large);
    font-style: normal;
    font-weight: 800;
    line-height: 130%; /* 32.5px */
  }

  .thumbnail__quote {
    font-size: var(--preset--font-size--medium);
    line-height: 170%; /* 34px */
  }

  .thumbnail__link {
    display: flex;
    padding: 15px 30px;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--purple);
    border-radius: 10px;
    margin-right: auto;
    color: var(--purple);
  }

  .thumbnail__main-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .thumbnail-regular .thumbnail-img {
    margin-bottom: auto;
  }

  .thumbnail__tag_hot {
    background-color: var(--red);
    color: #fff;
  }

  .thumbnail:hover {
    background-color: #fff;
  }
  .controls {
    justify-content: center;
  }


@media (max-width:1024px) {
    .tabs-panel-news {
        gap: 20px;
        overflow-x: scroll;
        -ms-overflow-style: none;
        scrollbar-width: 0;
        justify-content: space-between;
    }
    .tabs-panel-news::-webkit-scrollbar {
        display: none;
    }
    .tabs-panel-news li {
        flex-shrink: 0;
    }
    .news {
        flex-direction: column;
    }
    .thumbnail-fresh {
        width: 100%;
    }
}
@media (max-width:584px) {
    .thumbnail-img {
        display: none;
    }
    .thumbnail__title {
        font-size: 20px;
    }
    .thumbnail  {
        padding: 20px;
    }
    .thumbnail__date-and-tag {
        gap: 20px;
    }
}



@keyframes shiftLeft {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-15px); /* Левый сдвиг */
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(5px); /* Правый сдвиг */
    }
    100% {
        transform: translateX(0);
    }
}



@media (max-width: 768px) {
    .tabs-panel-news li {
        animation: shiftLeft 4s ease-in-out infinite; /* Продолжительность цикла 4 секунды, повторять бесконечно */
        animation-delay: 1s; /* Задержка перед началом следующего цикла 1 секунда */
    }
}
