
.dokum-card1-swiper {
    width: 90%;
    max-width: 1000px;
  }

  .dokum-card1-container {
    position: relative;
    width: 100%;
    padding-top: 50%; /* 3:2 Aspect Ratio */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }

  .dokum-card1-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .dokum-card1-container:hover img {
    transform: scale(1.1);
  }

  .dokum-card1-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
  }

  .dokum-card1-container:hover .dokum-card1-overlay {
    opacity: 1;
  }

  .dokum-card1-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }

  .dokum-card1-overlay p {
    margin-bottom: 5px;
    font-size: 1rem;
  }

  .dokum-card1-overlay .date {
    font-size: 0.9rem;
    font-style: italic;
    color: #ccc;
  }

  .sorotan-container {
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
  }
  
  .sorotan-card {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    
  }
  
  .sorotan-card:hover {
    transform: scale(1.05);
  }
  
  .sorotan-image {
    width: 350px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .sorotan-item{
    width: 100%;
    border: none;
    border-radius: 8px;
  }
  @media (max-width: 768px) {
    .sorotan-item{
        border: 1px solid black;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .sorotan-image{
        width: 100%;
        max-width: unset;
        box-shadow: unset;
    }
    .sorotan-card{
        flex-direction: column;
    }
  }
  .sorotan-description {
    bottom: 0;
    color: black;
    padding: 12px;
    text-align: center;
  }

  .sorotan-image-wrapper {
    position: relative; /* Parent dari gambar */
    overflow: hidden; /* Hindari overflow */
    border-radius: 8px; /* Sesuaikan dengan border-radius gambar */
}

.sorotan-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%; /* Menutupi gambar */
    background: rgba(0, 0, 0, 0.5); /* Overlay gelap dengan transparansi */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    opacity: 0; /* Overlay tersembunyi awalnya */
    transition: opacity 0.3s ease; /* Efek transisi */
    border-radius: 8px; /* Sesuaikan agar overlay mengikuti border gambar */
}

.sorotan-card:hover .sorotan-overlay {
    opacity: 1; /* Tampilkan overlay saat hover */
}

.sorotan-overlay h3,
.sorotan-overlay p {
    margin: 0;
    font-size: 14px;
    text-align: left;
}