/* ===============================
   NEWS SECTION
================================ */

.news {
  padding-block: 100px;
}

.news-title {
  font-size: clamp(
    28px,
    calc(28px + (50 - 28) * ((100vw - 350px) / (1800 - 350))),
    50px
  );
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
}

/* ===============================
   SLIDER
================================ */

.news-list {
  max-width: 100%;
  overflow: hidden;
}

.news-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.8s ease;
  will-change: transform;
}

/* ===============================
   CARD
================================ */

.news-card {
  display: flex;
  flex-direction: column;
}

/* растягивает контент */
.news-card-content {
  flex-grow: 1;
  padding-inline: 8px;
  cursor: pointer;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-inline: 8px;
}

/* ===============================
   IMAGE
================================ */

.event-img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 6 / 4;
}

/* ===============================
   TEXT
================================ */

.fs_20_var {
  font-size: calc(16px + (20 - 16) * ((100vw - 350px) / (1800 - 350)));
}

.event-description {
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.color_pink {
  color: #8700c8;
}

.news-card:hover {
  border: 1px solid #8700c8;
  border-radius: 1rem;
  transition: 0.2s ease all;
}
/* ===============================
   DOT BUTTONS
================================ */

.scroll-btns {
  width: 20px;
  height: 12px;
  background-color: #0000001a;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-btns.active {
  width: 48px;
  background-color: #e78324;
}

/* ===============================
   FOOTER BUTTON
================================ */

.btn-wrapper {
  margin-top: 90px;
}

.show_btn {
  border: none;
  background: linear-gradient(to bottom, #247cf8, #0463fb);
  border-radius: 2rem;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}