.tcat-page .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Content */
.tcat-content {
  padding: 40px 0 64px;
}

.tcat-intro {
  margin: 0 auto 24px;
  text-align: center;
}
.wysiwyg h* {
  margin: 0 0 18px;
  color: #3b2b1e;
  text-decoration: none;
}
.wysiwyg p {
  margin: 0 0 12px;
  color: #5b4c40;
}
.wysiwyg ul {
  margin: 0;
  padding-left: 18px;
}
.wysiwyg li {
  margin: 6px 0;
}
.wysiwyg a {
  margin: 0 0 12px;
  color: #3b2b1e;
  text-decoration: underline;
}

/* Grid cards (kaip screenshot) */
.tcat-grid {
  display: grid;
  gap: 16px;
}

.tcat-grid[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tcat-card {
  border-radius: 18px;
  overflow: hidden;
  background: #eeddcc;
}

.tcat-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}
.tcat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.tcat-card__media:hover img {
  transform: scale(1.03);
}

.tcat-card__title {
  margin: 0;
  padding: 24px 20px 32px 20px;
  text-align: center;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 2.8px;
}

.tcat-card__title a {
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
}
.tcat-card__title a:hover {
  opacity: 0.7;
}

.tcat-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0.6;
}

/* Pagination */
.tcat-pagination {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.tcat-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 5px 5px;
  margin: 0 4px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.55);
}
.tcat-pagination .page-numbers.current {
  background: #8b6749;
  border-color: rgba(0, 0, 0, 0.18);
  color: #ededed;
}

@media (max-width: 980px) {
  .tcat-grid[data-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .tcat-grid {
    grid-template-columns: 1fr !important;
  }
}
 