:root {
  --font-14: 14px;
}

@media screen and (max-width: 992px) {
  :root {
    --font-14: 12px;
  }
}

.runda-news-list {
  padding: calc(var(--text-gap-lg) * 2) 0;
}

.runda-news-list-header h2 {
  padding-top: var(--text-gap-lg);
  color: #232323;
  font-size: var(--title-size-h2);
  font-weight: 400;
  line-height: normal;
  border-top: 1px solid #E5E5E5;
  width: fit-content;
}

.runda-news-list-header h2 b {
  color: var(--color-primary);
  font-weight: 400;
}

.runda-news-list-header p {
  color: rgba(0, 0, 0, 0.60);
  font-size: var(--text-size);
  font-weight: 400;
  line-height: normal;
  margin-top: 16px;
}

.runda-news-list-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--text-gap);
  row-gap: calc(var(--text-gap-sm) * 2);
}

.runda-news-list-item {
  border: 1px solid #E5E5E5;
  padding: 20px;
}

@media screen and (min-width:993px) {
  .runda-news-list-item:not(:nth-child(3n+1)) {
    border-left: none;
  }
}

@media screen and (min-width:577px) and (max-width:992px) {
  .runda-news-list-item:nth-child(even){
    border-left: none;
  }
}

.runda-news-list-item-image {
  width: 100%;
}

.runda-news-list-item-image img {
  width: 100%;
  aspect-ratio: 392 / 261;
  object-fit: cover;
}

.runda-news-list-item-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 27px;
}

.runda-news-list-item-name {
  color: rgba(0, 0, 0, 0.60);
  font-family: var(--font-family);
  font-size: var(--font-14);
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.runda-news-list-item-title {
  color: #232323;
  font-size: var(--title-size-h5);
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3em;
}

.runda-news-list-item-desc {
  color: #666;
  font-size: var(--text-size);
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 4.5em;
}

.runda-news-list-item-info {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3em;
}

.runda-news-list-item-info,
.runda-news-list-item-info span {
  color: rgba(0, 0, 0, 0.60);
  font-size: var(--font-14);
  font-weight: 400;
  line-height: 1.5;
}

.runda-news-list-item-date-line {
  margin: 0 8px;
  width: calc(var(--text-size) - 1px);
  height: 1px;
  background: rgba(0, 0, 0, 0.20);
  display: inline-block;
  vertical-align: middle;
}

.runda-news-list-item-btn {
  margin-top: 26px;
}

.runda-news-list-item-btn .runda-btn {
  line-height: 1.5;
}

.runda-news-list-item-btn .runda-btn svg {
  aspect-ratio: 22 / 16;
  height: var(--text-size);
}

@media screen and (max-width: 1200px) {
  .runda-news-list-item {
    padding: 16px;
  }

  .runda-news-list-item-info-wrap {
    margin-top: 20px;
    gap: 12px;
  }

  .runda-news-list-item-btn {
    margin-top: 20px;
  }
}

@media screen and (max-width: 992px) {
  .runda-news-list-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .runda-news-list-item {
    padding: 12px;
  }

  .runda-news-list-item-info-wrap {
    margin-top: 16px;
    gap: 8px;
  }

  .runda-news-list-item-btn {
    margin-top: 16px;
  }
}

@media screen and (max-width: 576px) {
  .runda-news-list-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .runda-news-list-item-info-wrap {
    margin-top: 16px;
  }

  .runda-news-list-item-title {
    height: auto;
  }

  .runda-news-list-item-desc {
    height: auto;
  }

  .runda-news-list-item-info {
    height: auto;
  }

}

/*----------------- Pagination -----------------*/

.runda-news-list-pagination {
  margin-top: var(--text-gap);
}