.gpds-wrapper {
  --gpds-columns: 4;
  --gpds-gap: 20px;
  --gpds-slide-gap: 20px;
  --gpds-mobile-card-gap: 20px;
  --gpds-card-color-start: #6ca316;
  --gpds-card-color-end: #006600;
  --gpds-title-color: #ffffff;
  --gpds-desc-color: #ffffff;
  --gpds-button-color: #006600;
  --gpds-button-hover-color: #6ca316;
  --gpds-button-text-color: #ffffff;
  --gpds-pagination-bg-color: #006600;
  --gpds-pagination-text-color: #ffffff;
  --gpds-pagination-hover-color: #6ca316;
  --gpds-pagination-active-bg-color: #ffffff;
  --gpds-pagination-active-text-color: #006600;
  --gpds-slider-arrow-bg-color: #006600;
  --gpds-slider-arrow-hover-color: #6ca316;
  --gpds-slider-arrow-disabled-color: #5b7f5b;
  --gpds-slider-arrow-text-color: #ffffff;
  --gpds-slider-arrow-border-color: #ffffff;
}

.gpds-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.gpds-filter-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gpds-card-color-start), var(--gpds-card-color-end));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gpds-filter-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.gpds-filter-btn.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.gpds-grid {
  display: grid;
  grid-template-columns: repeat(var(--gpds-columns), minmax(0, 1fr));
  gap: var(--gpds-gap);
  align-items: stretch;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gpds-wrapper.gpds-is-paging .gpds-grid {
  opacity: 0.35;
  transform: translateY(6px);
}

.gpds-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  padding: 18px 18px 24px ;
  color: #ffffff;
  background:#FAFAF7;
  border:1px solid #ddd;
  *background: linear-gradient(145deg, var(--gpds-card-color-start), var(--gpds-card-color-end));
  *box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.gpds-thumb-link {
  display: block;
  margin: -18px -18px 20px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.gpds-thumb-img {
  display: block;
  width: 100%;
  height: auto;
}

.gpds-thumb-placeholder {
  width: 100%;
  min-height: 180px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
}

.gpds-title {
  margin: 0 0 10px;
  line-height: 1.3;
  font-size: 1.1rem;
}

.gpds-title a {
  color: var(--gpds-title-color);
  text-decoration: none;
}

.gpds-title a:hover {
  text-decoration: underline;
}

.gpds-desc {
  margin: 0 0 16px;
  color: var(--gpds-desc-color);
  opacity: 0.95;
}

.gpds-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 10px 14px;
  margin-top: auto;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--gpds-button-text-color);
  background-color: var(--gpds-button-color);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.gpds-button:hover {
  transform: translateY(-1px);
  color: var(--gpds-button-text-color);
  background-color: var(--gpds-button-hover-color);
}

.gpds-slide {
  width: 100%;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: var(--gpds-mobile-card-gap);
  scroll-snap-align: start;
}

.gpds-slider-mode .gpds-grid {
  display: flex;
  overflow-x: auto;
  gap: var(--gpds-slide-gap);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gpds-slider-mode .gpds-card {
  margin-bottom: 0;
}

.gpds-slider-nav {
  display: none;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
  align-items: center;
}

.gpds-slider-mode .gpds-slider-nav {
  display: flex;
}

.gpds-arrow {
  border: 1px solid var(--gpds-slider-arrow-border-color);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  color: var(--gpds-slider-arrow-text-color);
  background-color: var(--gpds-slider-arrow-bg-color);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.gpds-arrow:hover {
  transform: translateY(-2px);
  background-color: var(--gpds-slider-arrow-hover-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.gpds-arrow[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
  background-color: var(--gpds-slider-arrow-disabled-color);
  box-shadow: none;
}

.gpds-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  justify-content: center;
  align-items: center;
}

.gpds-load-more-wrap {
  margin-top: 18px;
}

.gpds-load-more {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  background-color: var(--gpds-button-color);
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.gpds-load-more:hover {
  transform: translateY(-1px);
  background-color: var(--gpds-button-hover-color);
}

.gpds-load-more[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.gpds-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--gpds-pagination-text-color);
  background: var(--gpds-pagination-bg-color);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.gpds-page-link:hover {
  transform: translateY(-2px);
  background: var(--gpds-pagination-hover-color);
  color: var(--gpds-pagination-text-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.gpds-page-link.is-current {
  background: var(--gpds-pagination-active-bg-color);
  color: var(--gpds-pagination-active-text-color);
  border-color: var(--gpds-pagination-active-bg-color);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.gpds-page-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 110px;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.gpds-page-icon {
  font-size: 0.88rem;
  line-height: 1;
}

.gpds-empty {
  color: #ffffff;
  background: linear-gradient(145deg, var(--gpds-card-color-start), var(--gpds-card-color-end));
  border-radius: 12px;
  padding: 14px;
}
