.tt-categories-section {
  display: grid;
  grid-template-columns: [col1] 1fr [col2] 1fr [col-end] 1fr [col-end];
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 2rem;
  margin-top: 2rem;
  border-bottom: 3px solid #e49a24;
}

.tt-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09); */
  border-radius: 18px;
  /* width: clamp(200px, 1fr, 400px); */
  padding: clamp(1rem, 2vw, 1.5rem);
  color: #f5f1e8;
}

.tt-card-body {
  /* background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09); */
  border-radius: 12px;
  padding: clamp(1rem, 2vw, 1.5rem);
  color: #f5f1e8;
}

.tt-card-body .tt-card-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
  margin: 0;
}

.tt-card-body .card-title a {
  color: inherit;
  text-decoration: none;
}

.tt-card-body .card-title a:hover,
.tt-card-body .card-title a:focus {
  text-decoration: none;
}

.tt-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #3d3d3d;
}

.tt-card-img.stones {
  background-image: url("../../assets/img/stones.png");
  background-size: 60% auto;
  background-repeat: no-repeat;
  background-position: center;
  border: 0px;
}
.tt-card-img.splashes {
  background-image: url("../../assets/img/splashes.png");
  background-size: 50% auto;
  background-repeat: no-repeat;
  background-position: center;
  border: 0px;
}
.tt-card-img.ripples {
  background-image: url("../../assets/img/ripples.png");
  background-size: 45% auto;
  background-repeat: no-repeat;
  background-position: center;
  border: 0px;
}

.tt-card-body .tt-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.82);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* Number of lines to show before truncating */
  line-clamp: 3; /* For non-webkit browsers */
  overflow: hidden;
}

.tt-latest-category-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  padding: 3rem 4rem;
  width: 100%;
  background: #ffffff;
}

.tt-post-card {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 18px;
  padding-bottom: 0.5rem;
  color: #f5f1e8;
  border-bottom: 1px dotted #ccc;
}

.tt-post-card__category {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #d49a3a !important;
  margin-bottom: 0.2rem;
}

.tt-card-header {
  display: grid;
  grid-template-columns: [box-start]50% [box-end]50%;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.5rem;
}

.tt-post-card__title {
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #192022;
}

.tt-post-card__title a {
  color: inherit;
  text-decoration: none !important;
}

.tt-post-card__title a:hover,
.tt-post-card__title a:focus {
  text-decoration: none !important;
}
.tt-post-card__image-container {
  border: 1px solid #eee;
  aspect-ratio: 6 / 4;
}

.tt-post-card__image-link {
  display: block;
  margin: 0 0 1rem;
  border-radius: 14px;
  overflow: hidden;
}

.tt-post-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tt-card-content__container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0px;
  height: 100%;
}

.tt-post-card__tag {
  display: none;
  font-size: 0.78rem;
  line-height: 1;
  color: #f2c46d;
  border: 1px solid rgba(242, 196, 109, 0.4);
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  margin-bottom: 0.8rem;
}

.tt-post-card__date {
  font-size: 0.75rem;
  color: #8f9294d1;
  margin-bottom: 0px;
}

.tt-post-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #151e23d1;
  margin-bottom: 0.5rem;
}

.tt-post-card__read-more {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #586b76d1;
  text-align: right;
  text-transform: uppercase;
  text-decoration: none !important;
  margin-bottom: 0.5rem !important;
}

.tt-post-card__read-more:hover,
.tt-post-card__read-more:focus {
  text-decoration: none !important;
}

.tt-latest-posts-empty {
  color: inherit;

  opacity: 0.75;
}

@media (max-width: 800px) {
  .tt-latest-category-posts {
    grid-template-columns: 1fr;
  }
}
