.about-news {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}

.news-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
  overflow: hidden;
}

.news-header {
  padding: 14px 16px 6px 16px;
}

.news-header h2 {
  margin: 0;
}

.news-carousel {
  position: relative;
  padding: 0 44px;
}

.news-viewport {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.news-track {
  display: flex;
  will-change: transform;
  transition: transform 420ms ease;
}

.news-item {
  min-width: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

.news-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.news-desc {
  padding: 5px 2px 5px 2px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text);
}

.news-time {
  color: var(--primary);
  font-size: 0.9rem;
  padding: 0;
  margin: 2px 0 0 0;
  text-align: right;
}

.news-nav {
  position: absolute;
  top: 35%;
  transform: translateY(-35%);
  width: 25px;
  height: 30px;
  border-radius: 8px;
  border: transparent;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  transition: background 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.news-nav:hover {
  color: var(--accent);
}

.news-nav.prev { 
  left: 15px; 
}

.news-nav.next { 
  right: 15px; 
}

.news-nav.prev:hover {
  border-right: none;
}

.news-nav.next:hover {
  border-left: none;
}

.news-nav .chev {
  display: inline-block;
  --chev-offset: -3px;
  transform: translateY(var(--chev-offset));
  line-height: 1;
  pointer-events: none;
}

.news-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 12px 14px 12px;
}

.news-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.news-dot.active {
  background: var(--primary);
}

.news-dot:hover {
  border: var(--accent);
  background: var(--accent);
}

.about-news {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.about-news > .card,
.about-news > .news-block {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-carousel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  position: relative;
  padding-bottom: 10px
}

.news-viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.news-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 420ms ease;
}

.news-item {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.about-news > .card {
  padding: 20px;
  box-sizing: border-box;
}

.about-news > .card .about-block p,
.about-news > .card p {
  margin: 0;
  font-size: 1rem;
  margin-top: auto;
  margin-bottom: auto;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .about-news {
    grid-template-columns: 1fr;
  }
  .news-carousel {
    padding: 0 10px;
  }
  .news-img {
    height: 100%;
    max-height: 400px;
  }
  .news-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .news-img {
    height: 100%;
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .news-img {
    max-height: 200px;
  }
}


