
/* ========================================= */
/* BACA JUGA CARD WIDGET - CLEAN DESIGN */
/* No label, real user data, blue theme */
/* ========================================= */

.baca-juga-card-wrapper {
  position: relative;
  margin: 1.5rem 0;
}

/* Remove label completely */
.baca-juga-label {
  display: none;
}

.baca-juga-card {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s ease;
  padding: 0.75rem;
  gap: 1rem; /* Increased gap for better separation */
}

.baca-juga-card:hover {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.baca-juga-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  gap: 0.5rem;
  min-width: 0;
  height: 90px; /* FIXED HEIGHT: Matches image height */
}

.baca-juga-publisher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Author photo - circular with gradient fallback */
.baca-juga-author-photo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.baca-juga-author-name {
  font-weight: 600;
  color: #374151;
}

.baca-juga-verified {
  color: #10b981;
  font-size: 0.8rem;
}

.baca-juga-category {
  color: #9ca3af;
  font-size: 0.75rem;
}

.baca-juga-title {
  font-size: 1rem; /* Slightly larger for balance */
  font-weight: 700;
  color: #2563eb;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
  cursor: pointer;
}

.baca-juga-card:hover .baca-juga-title {
  color: #1d4ed8;
}

.baca-juga-image-container {
  position: relative;
  width: 120px; /* FIXED WIDTH: Standard size */
  min-width: 120px;
  height: 90px; /* FIXED HEIGHT: 4:3 Aspect Ratio */
  flex-shrink: 0;
  overflow: hidden;
  background-color: #e5e7eb; /* Fallback color */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 6px;
}

/* Removed .baca-juga-image rules as we use background-image now */

/* Remove overlay - keep it simple */
.baca-juga-overlay {
  display: none;
}

.baca-juga-read-more {
  display: none;
}

/* ========================================= */
/* RESPONSIVE DESIGN - STAYS HORIZONTAL */
/* ========================================= */

@media (max-width: 768px) {
  .baca-juga-card-wrapper {
    margin: 1.25rem 0;
  }

  .baca-juga-card {
    padding: 0.65rem;
    gap: 0.75rem;
  }

  /* Content matches image height */
  .baca-juga-content {
    height: 80px;
    gap: 0.25rem;
  }

  /* 4:3 Aspect Ratio for Tablet */
  .baca-juga-image-container {
    width: 106px; 
    min-width: 106px;
    height: 80px;
  }

  .baca-juga-title {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

@media (max-width: 480px) {
  .baca-juga-card {
    padding: 0.6rem;
    gap: 0.6rem;
  }

  /* Content matches image height */
  .baca-juga-content {
    height: 70px;
  }

  /* 4:3 Aspect Ratio for Mobile */
  .baca-juga-image-container {
    width: 93px;
    min-width: 93px;
    height: 70px;
    border-radius: 4px;
  }

  .baca-juga-title {
    font-size: 0.85rem;
  }

  .baca-juga-author-photo {
    width: 16px;
    height: 16px;
  }
}
