/* =========================================
   CARDVAULT 2.0 — LATEST NEWS
========================================= */

.cv-related-news {
  padding: 55px 0 90px;
  background: #0e1218;
  color: #fff;
}

.cv-related-news .cv-browse__header {
  margin-bottom: 28px;
}

.cv-related-news .cv-section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.cv-products__view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--cv-gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cv-products__view-all:hover {
  color: #ffd477;
}

@media only screen and (max-width: 767px) {
  .cv-products__view-all {
    font-size: 11px;
    gap: 5px;
  }
}

/* Grid */

/* =========================================
   LATEST NEWS — SLIDER
========================================= */

.cv-related-news .cv-news-grid {
  display: block;
  min-width: 0;
}

.cv-related-news .cv-news-grid .slick-track {
  display: flex;
}

.cv-related-news .cv-news-grid .slick-slide {
  height: auto;
  padding: 0 10px;
}

.cv-related-news .cv-news-grid .slick-slide > div {
  height: 100%;
}

.cv-related-news .cv-news-grid .slick-list {
  margin: 0 -10px;
  padding: 4px 0 8px;
}

.cv-related-news .cv-news-grid .news-card {
  height: 100%;
}

.cv-news-slider__navigation {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.cv-news-slider__navigation button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  padding: 0;
  border: 1px solid #e9b548;
  border-radius: 50%;

  background: transparent;
  color: #e9b548;
  font-size: 22px;
  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.cv-news-slider__navigation button:hover:not(.slick-disabled) {
  background: #e9b548;
  color: #10151c;
}

.cv-news-slider__navigation button.slick-disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 767px) {
  .cv-related-news .cv-news-grid .slick-slide {
    padding: 0 6px;
  }

  .cv-related-news .cv-news-grid .slick-list {
    margin: 0 -6px;
  }
}

/* News card */

.cv-related-news .news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;

  background: #15191f;
  border: 1px solid #303039;
  border-radius: 12px;
  overflow: hidden;

  color: #fff;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.cv-related-news .news-card:hover {
  border-color: #e9b548;
  transform: translateY(-4px);
}

/* Image */

.cv-related-news .news-card__image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #20252d;
}

.cv-related-news .news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cv-related-news .news-card:hover .news-card__image img {
  transform: scale(1.05);
}

/* Content */

.cv-related-news .news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.cv-related-news .news-card__date {
  margin: 0;
}

.cv-related-news .news-category {
  margin: 0;
}

.cv-related-news .news-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.cv-related-news .news-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;

  padding: 5px 10px;
  border-radius: 4px;

  background: rgba(233, 181, 72, 0.12);
  border: 1px solid rgba(233, 181, 72, 0.25);

  color: #e9b548;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.cv-related-news .news-card__date,
.cv-related-news .news-date {
  display: block;
  margin-top: 12px;
  color: #8f98a6;
  font-size: 12px;
}

.cv-related-news .news-card h3 {
  margin: 12px 0;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}

.cv-related-news .news-card h3 a {
  color: #fff;
  text-decoration: none;
}

.cv-related-news .news-card h3 a:hover {
  color: #e9b548;
}

.cv-related-news .news-card p {
  margin: 0 0 20px;
  color: #aeb4bd;
  font-size: 13px;
  line-height: 1.65;
}

.cv-related-news .news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;

  color: #e9b548;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.cv-related-news .news-read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.cv-related-news .news-read-more:hover svg {
  transform: translateX(4px);
}

.cv-related-news .cv-news-empty {
  color: #9fa6b2;
}


/* Mobile */

@media (max-width: 767px) {
  .cv-related-news {
    padding: 35px 0 60px;
  }

  .cv-related-news .cv-section-title {
    font-size: 24px;
  }

  .cv-related-news .news-card__content {
    padding: 16px;
  }

  .cv-related-news .news-card h3 {
    font-size: 18px;
  }
}
