/*.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}
.card img {
  width: 100%;
  border-radius: 6px;
}
.btn {
  background-color: #e63946;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover {
  background-color: #d62828;
}
*/
.taxonomy-card-grid {
  display: grid;
  /*grid-template-columns: repeat(3,1fr);*/
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.taxonomy-card-grid > .views-row {
  display: contents;
}

.taxonomy-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.taxonomy-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.taxonomy-card a {
  text-decoration: none;
  color:#3f3f3f;
}
.taxonomy-card a:hover {
  color:#3f3f3f;
}
.taxonomy-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  object-fit: cover;
}
.taxonomy-card p {
  text-align: left;
}

.taxonomy-card-footer {
  margin-top: auto; /* dorong ke bawah */
  text-align: center;
}

/* Responsif tambahan (opsional, untuk layar sangat kecil) */
@media (max-width: 480px) {
  .taxonomy-card {
    padding: 1rem;
  }
  .taxonomy-card-grid {
    gap: 12px;
  }
}

    #pesta_module_card {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        transition: 0.3s;
        max-width: 48%;
        min-width: 250px;
        margin: 5px;
        float: left;
        background-color: white;
        border-radius: 5px;
        height: auto;
    }

    #pesta_module_img {
        width: 25%;
        display: block;
        float: left;
        margin: 7px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    }

    #pesta_module_content {
        height: 225px;
        padding: 2px 16px;
    }

    #pesta_module_text {
        height: 200px;
        padding: 2px 16px;
    }

.view-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.view-title {
  text-transform: uppercase;
  font-weight: 800;
/*  font-size: 1.6rem;*/
  color: #222;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.view-title-hr {
  width: 80px;
  height: 3px;
  background-color: #c62828; /* warna merah khas News+ Lite */
  border: none;
  margin: 0 auto 2rem auto; /* center & jarak bawah */
  border-radius: 2px;
}
