.artikel-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.artikel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.artikel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.artikel-card .content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.artikel-card h4 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.artikel-card p {
  color: var(--gray);
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-artikel {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.btn-artikel:hover {
  gap: 10px;
  color: #ffb300;
}

.artikel-card-modern {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
}

.artikel-card-modern:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.artikel-thumb {
  position: relative;
  overflow: hidden;
}

.artikel-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.artikel-card-modern:hover img {
  transform: scale(1.08);
}

.page-artikel .artikel-thumb,
.page-home .artikel-thumb {
  position: relative;
}

.page-artikel .artikel-date,
.page-home .artikel-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
}


.page-artikel-detail .artikel-date {
  position: static;
  background: none;
  color: #6c757d;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
}

.artikel-body {
  padding: 22px;
}

.artikel-body h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.artikel-body p {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
}

.btn-artikel {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffc64b, #f39e00);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-artikel:hover {
  background: linear-gradient(135deg, #084298, #0d6efd);
  transform: translateX(4px);
}

.artikel-modal {
  border-radius: 20px;
  overflow: hidden;
}

.artikel-modal .modal-header {
  background: linear-gradient(135deg, #0d6efd, #084298);
  color: #fff;
}

.artikel-modal .modal-title {
  font-weight: 600;
}

.artikel-modal .btn-close {
  filter: invert(1);
}

.artikel-meta {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.artikel-content p {
  line-height: 1.8;
  color: #333;
}

.artikel-content ul {
  padding-left: 18px;
}

.artikel-content li {
  margin-bottom: 6px;
}

.artikel-container {
  max-width: 820px;
}

.artikel-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

.artikel-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 30px;
}

.artikel-meta i {
  margin-right: 6px;
}

.artikel-content {
  font-size: 16.5px;
  line-height: 1.9;
  color: #333;
}

.artikel-content p {
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .artikel-title {
    font-size: 26px;
  }
}

.artikel-cover {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}
