/* Reset & Base Styles */
.news-grid .news-card .news-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #f2f2f2;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background-color: #f5f7fa;
    color: #333;
  }
  
  .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
  }
  
  /* Section Title */
  .section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #0066cc;
  }
  
  /* News Grid */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
  }
  
  /* News Card */
  .news-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .news-card:hover {
    transform: translateY(-5px);
  }
  
  .news-img {
    width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  }
  
  /* News Content */
  .news-content {
    padding: 20px;
  }
  
  .news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
  }
  
  .news-category {
    font-weight: bold;
    color: #00aa66;
  }
  
  .news-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 10px 0;
  }
  
  .news-summary {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
  }
  
  /* Read More */
  .read-more {
    display: inline-block;
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .read-more:hover {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
  }
  
  /* Modal Styles (already inline in your HTML, but move to CSS file if preferred) */
  #news-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
  }
  
  #news-modal .modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Responsive Tweaks */
  @media (max-width: 768px) {
    .section-title {
      font-size: 24px;
    }
  
    .news-title {
      font-size: 16px;
    }
  
    .news-summary {
      font-size: 13px;
    }
  
    .read-more {
      padding: 6px 12px;
      font-size: 13px;
    }
  
    #news-modal .modal-content {
      width: 90%;
      padding: 20px;
    }
  }
  