﻿/* NEWS PAGE */

.news-section {
  background: #f3f6fb; /* NOT white as requested */
  padding: 60px 0;
}

/* TITLE */
.news-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 40px;
  font-size: 2rem;
}

/* LIST */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* CARD */
.news-card {
  display: flex;
  gap: 25px;
  background: white;
  padding: 20px;
  border-radius: 14px;
  align-items: center;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* HOVER EFFECT */
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* IMAGE */
.news-image {
  width: 250px;
  height: 160px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */
.news-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.news-content p {
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .news-card {
    flex-direction: column;
    text-align: center;
  }

  .news-image {
    width: 100%;
    height: 200px;
  }
}