/* General Reset */
.section h2{
    
    color: black;
}
.article-card-container {
    width: 100%;
    max-width: 360px; /* Sesuaikan ukuran maksimal */
}

.article-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2; /* Rasio 3:2 */
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-card:hover {
    transform: scale(1.05);
}

.article-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transition: filter 0.3s ease-in-out;
}

.article-card:hover .article-card-bg {
    filter: brightness(0.5);
}

.article-card-content {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    color: #fff;
    transition: bottom 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.article-card:hover .article-card-content {
    bottom: 50%;
    transform: translateY(50%);
}

.article-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.article-category {
    background-color: #ffcc00;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
}

.article-date {
    font-size: 12px;
}

.article-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.article-card-description {
    opacity: 0;
    max-height: 30px;
    transition: opacity 0.3s ease-in-out;
}

.article-card:hover .article-card-description {
    opacity: 1;
}
/* Swiper JS */
.swiper-container {
    margin-top: 20px;
}

/* Pagination & Filter */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}
.filter{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    background: #FFA100;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
}
.pagination button, .filter select {
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 6px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Kolom pertama lebih lebar */
    gap: 20px;
  }
  
  .highlight-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

.section-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.section-header a{
    color: black;
}

.article-grid{
    margin: 16px 0px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}
.swiper {
    display: none;
  }
  .article-desktop-row{
    display: flex; 
    flex-direction: row; 
    gap: 16px;
    padding: 12px 0px   ;
  }
  @media (max-width: 768px) {
    .highlight-grid {
      display: none;
    }
    .article-desktop-row {
        display: none;
      }
    .swiper {
      display: block;
    }
  }