/* v1.6.7 8px Border Radius Edition */
.tgp-container {
  max-width: 1200px;
  margin: 0 auto;
}
.tgp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.tgp-card {
  margin: 0;
  background: #fff;
  border-radius: 8px; /* updated */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tgp-card .tgp-link, .tgp-card img {
  display: block;
  width: 100%;
  height: auto;
}
.tgp-card img.tgp-img {
  border-radius: 8px; /* updated */
  aspect-ratio: 4/2.5;
  object-fit: cover;
  border: 1px solid #e5e5e5;
}
@media (max-width: 768px) {
  .tgp-card img.tgp-img {
    border: none;
    height: 250px;
    object-fit: cover;
  }
}
.tgp-caption {
  text-align: center;
  padding: 12px 8px 14px;
  font-weight: normal;
  font-style: normal;
  color: #111;
}
.tgp-swiper {
  width: 100%;
  padding: 0 10%;
}
.tgp-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}
.tgp-swiper .tgp-card {
  width: 100%;
}
.tgp-empty {
  opacity: 0.7;
  font-style: italic;
}
@media (max-width: 768px) {
  .tgp-swiper .swiper-slide {
    width: 60%;
  }
}
