.tv3-articles {
  --gap-row: 64px;
  --gap-column: 12px;
}
.tv3-articles__grid {
  display: grid;
  row-gap: var(--gap-row);
  column-gap: var(--gap-column);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.tv3-articles__item {
  background: transparent;
}
.tv3-articles__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tv3-articles__media {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: #111;
}
.tv3-articles__img {
  width: 100%;
  height: 182px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tv3-articles__img:hover {
  transform: scale(1.1);
}
.tv3-articles__badge {
  position: absolute;
  top: 14px;
  right: 0;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fff;
  color: #000;
  padding: 6px 10px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.tv3-articles__title {
  margin: 14px 0;
  font-size: 1.125rem;
  line-height: 100%;
  font-weight: 700;
}
.tv3-articles__date {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

/* Loader row centered */
.tv3-articles__load {
  margin-top: 32px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.tv3-articles__load .wp-block-button {
  margin: 0;
}

.tv3-popular-empty {
  font-size: 1rem;
  margin-bottom: 40px;
}

@media (max-width: 781px) {
  .tv3-articles__grid {
    --gap-row: 40px;
  }
}

@media (max-width: 425px) {
  .tv3-articles .cta_button {
    width: 100%;
  }
  .tv3-articles .cta_button .wp-block-button__link.wp-element-button {
    width: 100%;
  }
}
