@charset "UTF-8";
/**
 * @file
 * News card styles — mobile-first.
 * Figma: 26:2017 (desktop), 26:5535 (mobile).
 *
 * Mobile: 400px height, 24px radius, mobile shadow.
 * Desktop (>=992px): 516px height, 40px radius, desktop shadow.
 *
 * Badge variant:
 *   Mobile: white bg, secondary border, secondary text, 14px Bold.
 *   Desktop: accent bg, white text, 12px Medium.
 */
/* ==========================================================================
   Mobile base (xs)
   ========================================================================== */
.vel-news-card {
  border-radius: var(--vel-card-radius-mobile);
  overflow: hidden;
  box-shadow: var(--vel-shadow-sm-mobile);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vel-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vel-shadow-deep-mobile);
}

.vel-news-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.vel-news-card__image-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--vel-primary) 0%, var(--vel-secondary) 100%);
}

.vel-news-card__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Mobile gradient: Figma 19.93deg, rgb(0,38,57) 18% → rgba(0,103,162,0) 102% */
.vel-news-card__gradient {
  position: absolute;
  background: linear-gradient(19.93deg, rgb(0, 38, 57) 18%, rgba(0, 103, 162, 0) 102%);
  inset: 0;
}

.vel-news-card__gradient::after {
  content: "";
  position: absolute;
  height: 75%;
  width: 100%;
  bottom: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
}

/* Mobile: overlay covers full card, padding creates inner spacing */
.vel-news-card__overlay-content {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: var(--vel-space-md);
}

/* Mobile badge: white bg, secondary border, secondary text, 14px Bold */
.vel-news-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--vel-font-body);
  font-size: var(--vel-text-sm);
  font-weight: 700;
  color: var(--vel-secondary);
  background: var(--vel-bg-white);
  border: 2px solid var(--vel-secondary);
  border-radius: var(--vel-pill-radius);
  padding: 4px 8px;
  line-height: 20px;
}

.vel-news-card__title {
  font-family: var(--vel-font-heading);
  font-size: var(--vel-text-2xl);
  font-weight: 700;
  color: var(--vel-bg-white);
  margin: 0;
  line-height: var(--vel-leading-card-title);
}

.vel-news-card__excerpt {
  font-family: var(--vel-font-body);
  font-size: var(--vel-text-base);
  font-weight: 500;
  color: var(--vel-bg-white);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: normal;
}

.vel-news-card__meta {
  display: flex;
  gap: var(--vel-space-md);
  font-family: var(--vel-font-body);
  font-size: var(--vel-text-xs);
  font-weight: 700;
  color: var(--vel-bg-white);
  margin-top: auto;
}

.vel-news-card__date,
.vel-news-card__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  height: 16px;
}

.vel-news-card__date svg,
.vel-news-card__date img,
.vel-news-card__time svg,
.vel-news-card__time img {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  display: block;
}

/* ==========================================================================
   lg (992px) — Desktop card sizes
   ========================================================================== */
@media (min-width: 992px) {
  .vel-news-card {
    border-radius: var(--vel-card-radius-lg);
    box-shadow: var(--vel-shadow-sm);
  }
  .vel-news-card:hover {
    box-shadow: var(--vel-shadow-deep);
  }
  .vel-news-card__image-wrapper {
    height: 516px;
  }
  /* Desktop gradient: Figma 21.9deg, rgb(10,74,107) 18% → rgba(0,135,212,0) 102% */
  .vel-news-card__gradient {
    background: linear-gradient(21.9deg, rgb(10, 74, 107) 18%, rgba(0, 135, 212, 0) 102%);
  }
  /* Desktop: content anchored at bottom-left with top padding for image visibility */
  .vel-news-card__overlay-content {
    top: auto;
    bottom: 0;
    padding: 45px;
    padding-top: 150px;
  }
  /* Desktop badge: accent bg, white text, 12px Medium, no border */
  .vel-news-card__badge {
    font-size: var(--vel-text-xs);
    font-weight: 500;
    color: var(--vel-bg-white);
    background: var(--vel-accent);
    border: none;
    padding: 4px 12px;
    line-height: var(--vel-leading-meta);
  }
  .vel-news-card__excerpt {
    font-size: var(--vel-text-lg);
    line-height: normal;
  }
}
/*# sourceMappingURL=news-card.css.map */
