/*
  news
*/

  .news-section {
    
    width: 100%;
    margin-top: 0px;
    background-color: white;
  }
  
  .news-card {
    position: relative;
    max-width: fit-content;
  }

  .container-news {
    background-color: white;
    padding: 50px 150px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .news-grid {
    padding: 0 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1400px;

}

  .container-news .header-section {
    padding-bottom:50px ;
  }
  
  .news-item {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.116) 0px 0px 8px 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 300px;
    height: 360px;
    align-items: center;
    justify-content: center;
    margin: 0px auto;
    border-radius: 12px;
  }
  
  .news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .news-image {
    position: relative;
    overflow: hidden;
  }

  .news-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
  }
  
  .news-content {
    padding: 20px;
  }
  
  .news-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2e3c7e; /* Biru */
    margin-bottom: -10px;
    max-width: 240px;
  }

  .news-date {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(45grad, #ff652e, #ffa163);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}
  
  .description {
    font-size: clamp(0.9rem, 4vw, 1rem);
    color: #4c5257;
    margin-bottom: 5px;
    line-height: 20px;
    word-wrap: break-word;
  }
  
  .read-more {
    font-size: 1rem;
    color: #ff6600; /* Oranye */
    text-decoration: none;
    font-weight: bold;
  }
  
  .read-more:hover {
    text-decoration: underline;
  }

  @media (max-width:992px) {
    
  }
  @media (max-width:767px) {
    .news-grid {
      margin-left: 0px;
    }
    .news-item {
          width: 280px;
          height: 340px;
        }
  }
  @media (max-width:567px) {
    .news-item {
          width: 260px;
        }
  }
