.news-section {
  padding: 80px 0;
  background: #f6faff;
}

.news-heading {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.news-eyebrow {
  color: #b9004a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-heading h2 {
  color: #123b80;
  font-size: 36px;
  margin: 10px 0 12px;
}

.news-heading p {
  color: #526179;
  margin: 0;
}

.news-status {
  text-align: center;
  color: #526179;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6edf6;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(20, 66, 160, 0.08);
}

.news-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: linear-gradient(135deg, #1442a0, #3d99f5);
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.news-card time {
  color: #a50042;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-card h3 {
  margin: 12px 0;
  font-size: 20px;
  line-height: 1.35;
}

.news-card h3 a {
  color: #173a72;
}

.news-card p {
  color: #526179;
  font-size: 15px;
  line-height: 1.6;
}

.news-read-link {
  align-self: flex-start;
  margin-top: auto;
  color: #1442a0;
  font-weight: 700;
}

.news-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

.news-all-link {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid #1442a0;
  border-radius: 6px;
  color: #1442a0;
  font-weight: 700;
}

.news-all-link:hover,
.news-all-link:focus {
  background: #1442a0;
  color: #fff;
}

.news-controls {
  display: none;
}

@media (max-width: 767px) {
  .news-section {
    padding: 55px 0;
  }

  .news-heading h2 {
    font-size: 30px;
  }

  .news-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .news-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .news-footer {
    justify-content: space-between;
    gap: 15px;
  }

  .news-controls:not([hidden]) {
    display: flex;
    gap: 8px;
  }

  .news-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid #1442a0;
    border-radius: 50%;
    background: #fff;
    color: #1442a0;
    font-size: 20px;
  }

  .news-controls button:disabled {
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-grid {
    scroll-behavior: auto;
  }
}
