
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #f4f4f4;
  color: #222;
  margin: 0;
  padding: 0;
}

/* News container */
.news-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.news-container h2 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

/* Breadcrumb */
.breadcrumb {
  color: #858585;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.breadcrumb a {
  color: #858585;
  text-decoration: none;
}

.breadcrumb i {
  margin: 0 5px;
  color: #858585;
  font-size: 0.9em;
}

/* News Image */
.news-main-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin: 20px 0;
}

.news-date {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 10px;
}

.news-content{
    line-height: 1.9;
    font-size: 1.1rem;
    color: #444;
}

/* News Cards */
#news-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.news-card {
  width: 300px;
  margin: 15px;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.news-card h3 {
  font-size: 1.1rem;
  margin: 10px 0 5px;
}

.card-date {
  font-size: 0.85rem;
  color: #888;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
    .news-container {
        padding: 20px;
    }

    .news-content{
        font-size: 1rem;
    }
}