/* Section lưới bài viết (bai-viet-luoi.js) */

.tv-section-posts {
  overflow: hidden;
}

.tv-section-posts .swiper-wrapper {
  align-items: stretch;
}

.tv-section-posts .elementor-posts-item {
  display: flex;
  height: auto;
}

.tv-section-posts .article-post,
.tv-section-posts .post-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.tv-section-posts .post-image {
  flex-shrink: 0;
}

.tv-section-posts .post-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.tv-section-posts .entry-button {
  margin-top: auto;
}

.tv-section-posts .post-thumbnail {
  aspect-ratio: 37 / 24;
  overflow: hidden;
}

.tv-section-posts .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv-post-excerpt {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--tv-chu);
}

.tv-section-posts .meta-category,
.tv-section-posts .meta-author {
  font-size: 0.82rem;
  color: var(--tv-chu-mo);
}

@media (max-width: 767px) {
  .tv-section-posts .post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    font-size: 0.78rem;
  }
}

.tv-posts-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.tv-posts-cta .elementor-button {
  background-color: var(--tv-do);
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
}

.tv-posts-cta .elementor-button:hover,
.tv-posts-cta .elementor-button:focus {
  background-color: var(--tv-do-dam);
  color: #fff;
}

@media (max-width: 767px) {
  .tv-section-posts.elementor-element-9eb06bf {
    --padding-top: 64px;
    --padding-bottom: 64px;
    --padding-left: 16px;
    --padding-right: 16px;
  }

  .tv-section-posts .elementor-element-fba9791 {
    margin-bottom: 40px;
  }
}
