.home-news {
  padding: 3.5rem 0 3.75rem;
}

.home-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.home-news-header .home-section-title {
  font-size: clamp(1.7rem, 2.3vw, 2rem);
}

.home-news-link-all {
  margin-left: auto;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  position: relative;
}

.home-news-link-all:hover {
  color: var(--accent-dark);
}

.home-news-cards-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.home-news-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.home-news-card {
  background: #ffffff;
  overflow: hidden;
  border: 2px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
}

.home-news-image-wrap {
  position: relative;
  height: 50%;
  overflow: hidden;
  padding: 15px 15px 0 15px;
}

.home-news-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-news-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.home-news-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 0.4rem;
}

.home-news-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: #4363af;
  margin-bottom: 0.5rem;
}

.home-news-excerpt {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.home-news-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
  background: white;
}

.home-news-arrow:hover:not(:disabled) {
  opacity: 0.85;
}

.home-news-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.home-news-arrow-icon {
  display: block;
}

.home-news-arrow-left .home-news-arrow-icon {
  transform: scaleX(-1);
}

.home-news-arrow-left {
  margin-left: 0.25rem;
}

.home-news-arrow-right {
  margin-right: 0.25rem;
}

/* Индикаторы: точки и таймер */
.home-news-indicators {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.home-news-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.home-news-dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
  padding: 0;
  border: 2px solid var(--accent, #4363af);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.home-news-dot:hover {
  background: rgba(67, 99, 175, 0.35);
}

.home-news-dot--active {
  background: var(--accent, #4363af);
  transform: scale(1.15);
}

.home-news-timer-track {
  width: 100%;
  max-width: 120px;
  height: 3px;
  background: rgba(148, 163, 184, 0.35);
  border-radius: 0;
  overflow: hidden;
}

.home-news-timer-fill {
  height: 100%;
  background: var(--accent, #4363af);
  border-radius: 0;
  transition: width 0.05s linear;
}

.home-news-read-more {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.home-news-read-more:hover {
  color: var(--accent-dark);
}

.home-news-read-more-icon {
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .home-news-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-news-arrow {
    display: none;
  }
}

/* Полная страница новостей: все карточки в той же сетке, без карусели */
.home-news--full-page {
  padding-top: 0.5rem;
}

.home-news--full-page .home-news-cards-wrap {
  display: block;
}

.home-news--full-page .home-news-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .home-news--full-page .home-news-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-news--full-page .home-news-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .home-news {
    padding: 2.75rem 0 3rem;
  }

  .home-news--full-page {
    padding-top: 0;
  }
}

