.vd-articles-page {
  --vd-article-dark: #0c2931;
  --vd-article-light: #ededed;
  --vd-article-accent: #ff810a;
  --vd-article-light-muted: rgba(237, 237, 237, 0.76);
  --vd-article-card-divider: rgba(237, 237, 237, 0.22);
  background: #F6F5F3;
  color: var(--vd-article-dark);
  font-family: 'Montserrat', sans-serif;
}

.vd-articles-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.vd-articles-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.vd-articles-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
}

.vd-articles-lead {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0;
}

.vd-articles-featured {
  padding: 0;
}

.vd-articles-featured__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.vd-articles-featured__link:focus-visible {
  outline: 2px solid var(--vd-article-accent);
  outline-offset: 4px;
}

.vd-articles-featured__media {
  position: relative;
  min-height: 560px;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--vd-article-dark);
  background-size: cover;
  background-position: center;
  display: block;
}

.vd-articles-featured__media--no-image {
  background-image: none;
}

.vd-articles-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 41, 49, 0.24) 0%, rgba(12, 41, 49, 0.9) 100%);
}

.vd-articles-featured__intro {
  position: absolute;
  z-index: 1;
  top: 48px;
  left: 56px;
  max-width: 520px;
  padding: 0;
  color: var(--vd-article-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.vd-articles-featured__intro .vd-articles-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: 8px;
  color: var(--vd-article-light);
}

.vd-articles-featured__intro .vd-articles-lead {
  font-size: 1.1rem;
  margin: 0;
}

.vd-articles-featured__content {
  position: absolute;
  z-index: 1;
  bottom: 48px;
  right: 56px;
  padding: 0;
  max-width: 520px;
  color: var(--vd-article-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
  align-items: flex-end;
  font-family: 'Montserrat', sans-serif;
}

.vd-articles-featured__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vd-article-light-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.vd-articles-featured__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--vd-article-light);
  text-transform: uppercase;
}

.vd-articles-list {
  padding: 48px 0 80px;
}

.vd-articles-list .vd-articles-wrap {
  max-width: 100%;
  padding: 0;
}

.vd-articles-page--category .vd-articles-intro {
  margin: 0;
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(180deg, #11313a 0%, #0c2931 100%);
  color: #f6f5f3;
}

.vd-articles-page--category .vd-articles-intro .vd-articles-wrap {
  background: none;
  border: 0;
  border-radius: 0;
  color: inherit;
  padding: clamp(20px, 3.2vw, 36px) 24px;
}

.vd-articles-page--category .vd-articles-eyebrow {
  margin: 0 0 8px;
  color: rgba(246, 245, 243, 0.8);
}

.vd-articles-page--category .vd-articles-title {
  margin: 0 0 10px;
  color: #f6f5f3;
  text-transform: uppercase;
}

.vd-articles-page--category .vd-articles-lead {
  margin: 0;
  max-width: 72ch;
  color: rgba(246, 245, 243, 0.84);
}

.vd-articles-page--category .vd-articles-lead p {
  margin: 0;
}

.vd-articles-page--category .vd-articles-back {
  margin: 18px 0 0;
  color: #f6f5f3;
  background-image: linear-gradient(#ff810a, #ff810a);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 0.25s ease;
}

.vd-articles-page--category .vd-articles-back:hover,
.vd-articles-page--category .vd-articles-back:focus,
.vd-articles-page--category .vd-articles-back:focus-visible {
  text-decoration: none;
  background-size: 100% 1px;
}

.vd-articles-page--category .vd-articles-list {
  padding-top: 0;
}

.vd-articles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.vd-articles-page .vd-articles-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--vd-article-dark);
  color: var(--vd-article-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  position: relative;
}

.vd-articles-card__action {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.vd-articles-card__action:focus-visible {
  outline: 2px solid var(--vd-article-accent);
  outline-offset: 4px;
}

.vd-articles-card__action:hover .vd-articles-card__title,
.vd-articles-card__action:focus-visible .vd-articles-card__title {
  text-decoration: none;
}

.vd-articles-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid var(--vd-article-card-divider);
}

.vd-articles-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  border-radius: 0;
  background: var(--vd-article-dark);
  max-height: 360px;
}

.vd-articles-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vd-articles-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 41, 49, 0) 0%, rgba(12, 41, 49, 0.74) 100%);
  opacity: 0.7;
}

.vd-articles-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  padding: 24px 24px 32px;
}

.vd-articles-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--vd-article-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vd-articles-card__meta span {
  color: inherit;
}

.vd-articles-card__title {
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.35;
  color: var(--vd-article-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: uppercase;
}

.vd-articles-card__title a {
  color: inherit;
  text-decoration: none;
}

.vd-articles-card__title a:hover,
.vd-articles-card__title a:focus {
  text-decoration: underline;
}

.vd-articles-page .vd-articles-card__excerpt {
  margin: 0;
  color: rgba(237, 237, 237, 0.9);
  line-height: 1.6;
  display: block;
}

.vd-articles-card__excerpt p {
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vd-articles-card__excerpt p:last-child {
  margin-bottom: 0;
}

.vd-articles-card__excerpt p + p {
  display: none;
}

.vd-articles-card__cta {
  margin-top: auto;
  font-weight: 600;
  color: var(--vd-article-light);
  text-transform: uppercase;
  width: fit-content;
  position: relative;
  display: inline-block;
  background-image: linear-gradient(var(--vd-article-accent), var(--vd-article-accent));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 0.3s ease;
  text-decoration: none;
}

.vd-articles-card__cta:hover,
.vd-articles-card__cta:focus-visible {
  background-size: 100% 1px;
}


.vd-articles-pagination {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vd-articles-pagination .page-numbers {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
}

.vd-articles-pagination .current {
  background: #111;
  color: #fff;
  border-color: #111;
}

.vd-articles-empty {
  padding: 24px 0;
  color: #0C2931;
}

.vd-articles-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  font-weight: 600;
  text-decoration: none;
}

.vd-articles-back:hover,
.vd-articles-back:focus {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .vd-articles-page--category .vd-articles-intro .vd-articles-wrap {
    padding: 18px 16px;
  }

  .vd-articles-page--category .vd-articles-title {
    margin-bottom: 8px;
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
  }

  .vd-articles-page--category .vd-articles-lead {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .vd-articles-page--category .vd-articles-back {
    margin-top: 14px;
  }

  .vd-articles-featured__media {
    min-height: 420px;
  }

  .vd-articles-featured__content {
    bottom: 32px;
    right: 28px;
    max-width: calc(100% - 56px);
  }

  .vd-articles-featured__intro {
    top: 32px;
    left: 28px;
    right: 28px;
    max-width: calc(100% - 56px);
    padding: 0;
  }

  .vd-articles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .vd-articles-card {
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .vd-articles-card__media {
    border-radius: 0;
  }

  .vd-articles-card__content {
    padding: 16px 16px 24px;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .vd-articles-card__title {
    font-size: 1.5rem;
  }

  .vd-articles-featured__title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
  }
}

@media (max-width: 480px) {
  .vd-articles-featured__media {
    min-height: 360px;
  }

  .vd-articles-featured__content {
    bottom: 24px;
    right: 20px;
    max-width: calc(100% - 40px);
  }

  .vd-articles-featured__intro {
    top: 24px;
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
    padding: 0;
  }

  .vd-articles-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
