

:root {
  --p-gap: calc(50 * var(--vmin));
  --p-blue: #2a82e4;
}

.section-title {
  display: none;
}

.news-banner {

  overflow: hidden;
}

.news-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.news-main {
  padding-top: calc(120 * var(--vmin));
  padding-bottom: calc(150 * var(--vmin));
}

.news-main__layout {
  display: grid;
  grid-template-columns: calc(400 * var(--vmin)) minmax(0, 1fr);
  gap: calc(90 * var(--vmin));
  align-items: start;
}

.acc {
  margin-top: calc(34 * var(--vmin));
  border-bottom: 1px solid var(--c-border);
}

.acc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: calc(13 * var(--vmin)) 0;
  font-size: calc(16 * var(--vmin));
  color: var(--c-text-dark);
  transition: color 0.25s;
}

.acc-item .icon {
  flex-shrink: 0;
  color: #b5b5b5;
  transition: transform 0.25s, color 0.25s;
}

.acc-item:hover {
  color: var(--c-green);
}

.acc-item:hover .icon {
  color: var(--c-green);
  transform: translateX(calc(4 * var(--vmin)));
}

.acc-item.is-active {
  color: var(--c-green);
}

.acc-item.is-active .icon {
  color: var(--c-green);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(60 * var(--vmin)) calc(30 * var(--vmin));
  min-height: calc(840 * var(--vmin));
  scroll-margin-top: calc(var(--header-h) + calc(20 * var(--vmin)));
}

.news-grid .news-card {
  opacity: 0;
}

.news-aside .acc,
.news-progress {
  opacity: 0;
}

.news-card .thumb {
  overflow: hidden;
}

.news-card .thumb img {
  width: 100%;
  aspect-ratio: 377 / 212;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .thumb img {
  transform: scale(1.06);
}

.news-card__title {
  margin-top: calc(24 * var(--vmin));
  font-size: calc(20 * var(--vmin));
  font-weight: bold;
  color: var(--c-text-dark);
  line-height: 1.5;
}

.news-card__desc {
  margin-top: calc(12 * var(--vmin));
  font-size: calc(14 * var(--vmin));
  color: #666666;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--vmin));
  margin-top: calc(18 * var(--vmin));
  font-size: calc(14 * var(--vmin));
  color: var(--p-blue);
}

.news-card__more .icon {
  transition: transform 0.25s;
}

.news-card__more:hover .icon {
  transform: translateX(calc(4 * var(--vmin)));
}

.news-card {
  position: relative;
  cursor: pointer;
}

.news-card__more::after {
  content: "";
  position: absolute;
  inset: 0;
}

.news-progress {
  display: flex;
  align-items: center;
  gap: calc(40 * var(--vmin));
  margin-top: calc(70 * var(--vmin));
}

.news-progress__track {
  flex: 1;
  height: calc(4 * var(--vmin));
  border-radius: var(--radius-pill);
  background: #e5e5e5;
  overflow: hidden;
}

.news-progress__bar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--c-green);
  transition: width 0.3s ease;
}

.news-progress__btns {
  display: flex;
  gap: calc(20 * var(--vmin));
}

.news-progress__btns button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(36 * var(--vmin));
  height: calc(36 * var(--vmin));
  color: var(--c-green);
  transition: color 0.25s, opacity 0.25s;
}

.news-progress__btns button:disabled {
  color: #c9c9c9;
  cursor: default;
}

@media (max-width: 1400px) {
  .news-main__layout {
    grid-template-columns: calc(340 * var(--vmin)) minmax(0, 1fr);
    gap: calc(50 * var(--vmin));
  }

  .news-grid {
    gap: calc(50 * var(--vmin)) var(--p-gap);
  }
}

@media (max-width: 1200px) {
  .news-main {
    padding-top: calc(80 * var(--vmin));
  }

  .news-main__layout {
    grid-template-columns: 1fr;
    gap: calc(44 * var(--vmin));
  }

  .news-main__layout > .news-aside {
    padding-right: var(--container-pad);
  }

  .news-banner {

  }
}

@media (max-width: 768px) {
  .news-banner {

  }

  .news-main {
    padding-top: calc(60 * var(--vmin));
    padding-bottom: calc(80 * var(--vmin));
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-progress {
    margin-top: calc(40 * var(--vmin));
  }
}
