/* ===================================================
PAGE BANNER (FIXED)
=================================================== */

.page-banner {
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 20px 16px;
  margin-bottom: 16px;

  background:
    linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.12)),
    url("images/cartoon-banner.jpg") center/cover no-repeat;
}

/* ===================================================
TYPE FILTER (CARTOON ONLY)
=================================================== */

.type-filter {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}

.type-filter button {
  height: 30px;
  padding: 0 14px;
  border-radius: 20px;
  border: 1px solid #555;
  background: transparent;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease;
}

.type-filter button:hover {
  border-color: #ffcc00;
  color: #ffcc00;
}

.type-filter .active {
  background: #ffcc00;
  color: #000;
  border-color: #ffcc00;
}

/* ===================================================
GRID
=================================================== */

.grid-wrap {
  padding: 0 16px 20px;   /* spacing fix */
}

.cartoon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  animation: fadeUp .4s ease both;
}

/* ===================================================
PAGINATION
=================================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 80px;
}

.pagination button {
  min-width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #444;
  background: transparent;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease;
}

.pagination button:hover {
  border-color: #ffcc00;
  color: #ffcc00;
}

.pagination .active {
  background: #ffcc00;
  color: #000;
  border-color: #ffcc00;
}

/* ===================================================
FADE ANIMATION
=================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
