/* styleDB.css */
/* Hanya mempengaruhi elemen dalam main */
main .container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  main h2 {
    font-family: 'Poppins', sans-serif;
    color: #C02828;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
  }
  
  main h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #C02828;
  }
  
  /* Grid Container */
  main .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Card Styles */
  main .card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
  }
  
  main .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(192,40,40,0.15);
    border-color: #C02828;
  }
  
  main .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
  }
  
  main .card-body {
    padding: 1.25rem;
  }
  
  main .date {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  main .card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #333;
  }
  
  main .card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  main .card a {
    color: #C02828;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  main .card a::after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
  }
  
  main .card a:hover {
    color: #9a2020;
  }
  
  main .card a:hover::after {
    transform: translateX(3px);
  }
  
  /* Pagination */
  main .pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    flex-wrap: wrap;
  }
  
  main .pagination a {
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  main .pagination a:hover {
    background-color: rgba(192,40,40,0.1);
  }
  
  main .pagination a.active {
    background-color: #C02828;
    color: white;
    border-color: #C02828;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    main .grid-container {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }