@font-face {
  font-family: "Veritas Aptos";
  src: url("/wp-content/themes/Veritas-Data-Research/fonts/Aptos.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Veritas Aptos";
  src: url("/wp-content/themes/Veritas-Data-Research/fonts/Aptos-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Veritas Aptos";
  src: url("/wp-content/themes/Veritas-Data-Research/fonts/Aptos-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

.insights-card,
.insights-card * { box-sizing: border-box; }
.insights-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
  background-color: #57585c;
  color: #fff;
  text-decoration: none;
  container-type: inline-size;
  --iv-primary: #d72c2e;
  --insights-card-small-size: 3.5cqw;
  font-family: "Veritas Aptos", Aptos, sans-serif;
}
.insights-card__canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  container-type: inline-size;
}
.insights-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.insights-card__content {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.insights-card__pill {
  position: absolute;
  z-index: 1;
  top: 8.6cqw;
  left: 8.3cqw;
  display: inline-flex;
  max-width: 100%;
  height: 6cqw;
  align-items: center;
  justify-content: center;
  padding: 0 4cqw;
  border-radius: 999px;
  background: #fff;
  color: #33363b;
  font-size: var(--insights-card-small-size);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.insights-card__title {
  position: absolute;
  z-index: 1;
  display: -webkit-box;
  left: 8.3cqw;
  bottom: 17.5cqw;
  width: 78cqw;
  overflow: hidden;
  color: #fff;
  font-size: 5.9cqw;
  font-weight: 700;
  line-height: 1.25;
  white-space: pre-line;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
.insights-card__date {
  position: absolute;
  z-index: 1;
  right: 8.2cqw;
  bottom: 8.1cqw;
  color: #fff;
  font-size: var(--insights-card-small-size);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.insights-card__readmore {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  background: #000;
  border-radius: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 175ms ease, visibility 175ms ease;
}
.insights-card__readmore::before {
  content: "";
  position: absolute;
  top: 15cqw;
  left: 8.3cqw;
  width: 5.2cqw;
  height: .4cqw;
  background: var(--iv-primary);
}
.insights-card__excerpt {
  position: absolute;
  top: 23.4cqw;
  left: 8.3cqw;
  width: 79cqw;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 4.7cqw;
  font-weight: 400;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
.insights-card__cta {
  position: absolute;
  right: 8.2cqw;
  bottom: 8.1cqw;
  display: inline-flex;
  align-items: center;
  gap: .8cqw;
  color: #fff;
  font-size: var(--insights-card-small-size);
  font-weight: 700;
  line-height: 1.3;
  transform-origin: right center;
  transition: color 175ms ease, transform 175ms ease;
}
.insights-card:hover .insights-card__readmore,
.insights-card:focus-visible .insights-card__readmore,
.insights-card--hover .insights-card__readmore,
.insights-card--focus .insights-card__readmore,
.insights-card--cta-hover .insights-card__readmore { opacity: 1; visibility: visible; }
.insights-card__cta:hover,
.insights-card:focus-visible .insights-card__cta,
.insights-card--focus .insights-card__cta,
.insights-card--cta-hover .insights-card__cta { color: var(--iv-primary); transform: scale(1.05); }
.insights-card:focus-visible,
.insights-card--focus { outline: 3px solid var(--iv-primary); outline-offset: -3px; }
/* Keep the inset focus indicator above the image/black layer, including
   edge-to-edge phone cards where an outside outline would be clipped. */
.insights-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 3px solid var(--iv-primary);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.insights-card:focus-visible::after,
.insights-card--focus::after { opacity: 1; }
.insights-card:hover .insights-card__readmore { visibility: visible; }
.insights-card--touch-sample .insights-card__readmore { display: none; }

@media (hover: none), (pointer: coarse) {
  .insights-card:not(.insights-card--hover):not(.insights-card--focus):not(.insights-card--cta-hover):not(:focus-visible) .insights-card__readmore { opacity: 0; visibility: hidden; }
  .insights-card:focus-visible:not(.insights-card--touch-sample) .insights-card__readmore { opacity: 1; visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .insights-card__readmore,
  .insights-card__cta { transition: none; }
  .insights-card__cta:hover,
  .insights-card:focus-visible .insights-card__cta,
  .insights-card--focus .insights-card__cta,
  .insights-card--cta-hover .insights-card__cta { transform: none; color: var(--iv-primary); }
}
