/* ==========================================================================
   Card Concepts — concept 07 (colour field over copy, 45∶55, no icons)
   Sandbox only: card-concepts.html. Do not load on landings.
   Statement header matches Solutions (.bd-eco__intro).
   Self-contained: does not need base.css. Tokens used with fallbacks.
   Media well owns the top slot. First and third cards fill it with a
   looping video (not an inner img). Title stays in the copy below.
   Videos: assets/images/mp4/v1.mp4 and assets/images/mp4/v3.mp4
   ========================================================================== */

.bd-cc7,
.bd-cc7 *,
.bd-cc7 *::before,
.bd-cc7 *::after {
  box-sizing: border-box;
}

.bd-cc7 {
  --bd-cc7-radius: 12px;
  --bd-cc7-rule: #d5d7da;
  --bd-cc7-glow:
    0 0 12px rgba(16, 24, 40, 0.044),
    0 0 40px rgba(16, 24, 40, 0.044);
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
  padding: 64px 0;
  font-family: var(--bd-font, InterVariable, sans-serif);
  font-feature-settings: "liga" 1, "calt" 1, "cv02", "cv03", "cv04", "cv11";
  font-optical-sizing: auto;
  color: var(--bd-text, #000);
}

.bd-cc7 .bd-wrap {
  width: 100%;
  max-width: var(--bd-content, 1280px);
  margin-inline: auto;
}

.bd-cc7__intro {
  width: 100%;
  margin: 0 0 var(--bd-space-8, 32px);
  padding-bottom: var(--bd-space-8, 32px);
  border-bottom: 1px solid var(--bd-cc7-rule, #d5d7da);
}

.bd-cc7__eyebrow {
  margin: 0 0 var(--bd-space-2, 8px);
  font-size: var(--bd-text-sm, 14px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--bd-accent, #6434d8);
}

.bd-cc7__title {
  margin: 0;
  font-size: 32px;
  font-weight: var(--bd-weight-heading, 500);
  font-variation-settings: "wght" var(--bd-weight-heading, 500);
  line-height: 1.2;
  color: var(--bd-text, #000);
  hyphens: none;
  overflow-wrap: normal;
}

.bd-cc7__lead {
  margin: var(--bd-space-3, 12px) 0 0;
  max-width: 40rem;
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-text, #000);
}

.bd-cc7__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--bd-space-6, 24px);
  width: 100%;
  min-width: 0;
}

.bd-cc7__card {
  display: grid;
  grid-template-rows: 45fr 55fr;
  min-width: 0;
  min-height: 520px;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--bd-cc7-radius);
  padding: 0;
  background: var(--bd-surface, #fff);
  box-shadow: var(--bd-glow, var(--bd-cc7-glow));
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.bd-cc7__card:focus-visible {
  outline: 2px solid var(--bd-link, #2563EB);
  outline-offset: 3px;
}

.bd-cc7__media {
  position: relative;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background-color: var(--bd-cc7-field);
}

.bd-cc7__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.bd-cc7__card--purple {
  --bd-cc7-field: #B3B0E9;
}

.bd-cc7__card--green {
  --bd-cc7-field: #9CC7B5;
}

.bd-cc7__card--blue {
  --bd-cc7-field: #78ACE2;
}

.bd-cc7__copy {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: var(--bd-space-6, 24px);
  background: var(--bd-surface, #fff);
}

.bd-cc7__name {
  margin: 0;
  font-size: 20px;
  font-weight: var(--bd-weight-heading, 500);
  font-variation-settings: "wght" var(--bd-weight-heading, 500);
  line-height: 1.3;
  color: var(--bd-text, #000);
}

.bd-cc7__body {
  margin: var(--bd-space-3, 12px) 0 0;
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--bd-text, #000);
}

.bd-cc7__more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: var(--bd-space-2, 8px);
  margin-top: auto;
  padding-top: var(--bd-space-6, 24px);
  color: var(--bd-link, #2563EB);
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1.2;
}

.bd-cc7__more svg {
  width: 16px;
  height: 16px;
  overflow: visible;
  flex-shrink: 0;
  animation: bd-cc7-arrow 2.4s ease-in-out infinite;
}

.bd-cc7__more svg :is(path, circle, line, rect, ellipse, polyline, polygon) {
  vector-effect: non-scaling-stroke;
}

.bd-cc7__card:hover .bd-cc7__more {
  opacity: 0.7;
}

@media (max-width: 1023px) {
  .bd-cc7 {
    padding: 48px 0;
  }

  .bd-cc7__title {
    font-size: 28px;
  }

  .bd-cc7__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .bd-cc7__title {
    font-size: 24px;
  }
}

@keyframes bd-cc7-arrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bd-cc7__video {
    visibility: hidden;
  }

  .bd-cc7__more svg {
    animation: none;
  }
}
