
.ytpg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ytpg-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.ytpg-item:hover {
  transform: translateY(-3px);
}

.ytpg-item img {
  width: 100%;
  height: auto;
  display: block;
}

.ytpg-title {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  text-align: center;
}

.ytpg-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.ytpg-pagination .page-num,
.ytpg-pagination .page-info {
  padding: 0.5rem 0.8rem;
  background: white; /*#A2AD86;*/
  color: #4d4d4d; /*#4f4c4c;*/
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ytpg-pagination .page-num:hover {
  text-decoration: underline;
}

.ytpg-pagination .page-num.active {
  font-weight: bold;
  background: #4f4c4c;
  color: white;
}

.ytpg-pagination .page-dots {
  padding: 0.5rem;
  color: #777;
}

/* Load More Button Styling */
.ytpg-loadmore-button {
  display: block;
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  background-color: white;
  color: #333333;
  border: 1px solid #4d4d4d;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ytpg-loadmore-button:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
