/* Reset & Base Card Styling */
.article-card {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 6px; /* Sudut tidak terlalu bulat untuk kesan profesional */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 100%; /* Melebar utuh mengikuti kontainer */
  
}

/* Image Section */
.card-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #111;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15) brightness(0.85); /* Efek low-light elegan */
  transition: transform 0.4s ease;
}

.article-card:hover .card-img {
  transform: scale(1.03);
}

/* Content Section */
.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tipografi Profesional: Ukuran font diperkecil & spasi dirapatkan */
.card-title {
  font-size: 1.1rem; 
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.card-subtitle {
  font-size: 0.8rem;
  color: #666666;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accordion-item {
  border-bottom: 1px solid #f0f0f0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #222222;
  cursor: pointer;
  text-align: left;
  letter-spacing: -0.02em;
}

.accordion-icon {
  font-size: 1rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: #444;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel p {
  padding-bottom: 14px;
  font-size: 0.8rem;
  color: #555555;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Active State */
.accordion-toggle.active .accordion-icon {
  transform: rotate(45deg);
  color: #111;
}

/* --- RESPONSIVE DESKTOP --- */
@media (min-width: 768px) {
  .article-card {
    flex-direction: row;
    max-width: 100%; /* Memastikan lebar penuh di layar besar */
    min-height: 300px; 
  }

  .card-image-wrapper {
    width: 45%; /* Proporsi gambar */
    height: auto; 
  }

  .card-content {
    width: 55%; /* Proporsi teks */
    padding: 32px 48px;
  }
}
/* 2. KHUSUS MOBILE (Layar HP di bawah 768px) */
@media (max-width: 767px) {
  .article-card {
    flex-direction: column; /* Gambar di atas, teks di bawah */
  }
  .card-image-wrapper {
    width: 100%;
    height: 100%;
  }
}