/**
 * Products archive — problem-first "Spotlights" layout (archive-product.php)
 *
 * Featured navy band, alternating image-and-story rows, client ledger.
 * Layout switches on the wrapper's own width (container queries).
 */

.fc-prods {
  container: fc-prods / inline-size;
  max-width: 1200px;
  margin: 1rem auto 0;
  color: #3e4352;
  font-family: tenon, sans-serif;
}
/* Same column as .main-content on other pages, capped so rows keep their proportions */
@media (min-width: 992px) {
  .fc-prods {
    max-width: min(90%, 1200px);
  }
}

.fc-prods .fc-prods__k {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0056f7;
}
.fc-prods .fc-prods__q {
  margin: 0;
  font-family: tenon, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #041670;
  text-wrap: balance;
}
.fc-prods .fc-prods__d {
  margin: 0;
  max-width: 54ch;
  font-size: 1.07rem;
  font-weight: 300;
  line-height: 1.6;
}

.fc-prods .fc-prods__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px 28px;
  margin: 6px 0;
}
.fc-prods .fc-prods__facts dt {
  margin-bottom: 4px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0056f7;
}
.fc-prods .fc-prods__facts dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.5;
  color: #041670;
}

/* ---------- Images ---------- */
.fc-prods .fc-prods__media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  background: #eef1f8;
}
.fc-prods .fc-prods__img {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}
.fc-prods .fc-prods__wordmark {
  padding: 16px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  color: #041670;
}

/* ---------- Clickable title and image ---------- */
.fc-prods .fc-prods__q a {
  color: inherit;
  transition: color 0.2s ease;
}
.fc-prods .fc-prods__q a:hover,
.fc-prods .fc-prods__row:has(a.fc-prods__media:hover) .fc-prods__q a {
  color: #0056f7;
}
.fc-prods .fc-prods__feature .fc-prods__q a:hover,
.fc-prods .fc-prods__feature:has(a.fc-prods__media:hover) .fc-prods__q a {
  color: #9dbcff;
}
.fc-prods a.fc-prods__media .fc-prods__img,
.fc-prods a.fc-prods__media .fc-prods__wordmark {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fc-prods a.fc-prods__media:hover .fc-prods__img,
.fc-prods a.fc-prods__media:hover .fc-prods__wordmark {
  transform: scale(1.03);
}

/* ---------- Links and buttons ---------- */
.fc-prods a {
  text-decoration: none;
  border: 0;
}
.fc-prods a:focus {
  outline: none;
}
.fc-prods a:focus-visible {
  outline: 2px solid #0056f7;
  outline-offset: 3px;
}
.fc-prods svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.fc-prods .fc-prods__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 8px;
}
.fc-prods .fc-prods__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 13px 26px;
  border-radius: 30px;
  background: #fff;
  color: #041670;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.fc-prods .fc-prods__btn:hover {
  background: #0056f7;
  color: #fff;
}
.fc-prods .fc-prods__ext,
.fc-prods .fc-prods__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: #041670;
}
.fc-prods .fc-prods__ext svg {
  width: 15px;
  height: 15px;
}
.fc-prods .fc-prods__link svg {
  transition: transform 0.25s ease;
}
.fc-prods .fc-prods__link:hover {
  color: #0056f7;
}
.fc-prods .fc-prods__link:hover svg {
  transform: translateX(4px);
}

/* ---------- Featured band ---------- */
.fc-prods .fc-prods__feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: 24px;
  background: #041670;
}
.fc-prods .fc-prods__feature-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fc-prods .fc-prods__feature .fc-prods__k {
  color: #9dbcff;
}
.fc-prods .fc-prods__feature .fc-prods__q {
  font-size: clamp(1.7rem, 2.4cqi + 1rem, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.fc-prods .fc-prods__feature .fc-prods__d {
  max-width: 52ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}
.fc-prods .fc-prods__feature .fc-prods__facts dt {
  color: #9dbcff;
}
.fc-prods .fc-prods__feature .fc-prods__facts dd,
.fc-prods .fc-prods__feature .fc-prods__ext {
  color: #fff;
}
.fc-prods .fc-prods__feature .fc-prods__ext:hover {
  color: #9dbcff;
}
.fc-prods .fc-prods__feature a:focus-visible {
  outline-color: #fff;
}
.fc-prods .fc-prods__feature-media {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}
.fc-prods .fc-prods__feature-media .fc-prods__img {
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
}
.fc-prods .fc-prods__feature-media .fc-prods__wordmark {
  color: #fff;
}

/* ---------- Alternating rows ---------- */
.fc-prods .fc-prods__list {
  margin-top: 24px;
}
.fc-prods .fc-prods__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #dde2ee;
}
.fc-prods .fc-prods__row--flip .fc-prods__row-media {
  order: 2;
}
.fc-prods .fc-prods__row-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Client ledger (list styles in fc-ledger.css) ---------- */
.fc-prods .fc-prods__ledger {
  margin-top: 64px;
}

/* Closing CTA box sits a little further from the ledger */
.fc-prods .fc-cta {
  margin-top: 64px;
}

/* ---------- Narrow: tablets and phones ---------- */
@container fc-prods (max-width: 820px) {
  .fc-prods .fc-prods__feature,
  .fc-prods .fc-prods__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .fc-prods .fc-prods__feature {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .fc-prods .fc-prods__row {
    padding: 36px 0;
  }
  .fc-prods .fc-prods__row--flip .fc-prods__row-media {
    order: 0;
  }
  .fc-prods .fc-prods__q {
    font-size: 1.45rem;
  }
  .fc-prods .fc-prods__d {
    font-size: 1rem;
  }
  .fc-prods .fc-prods__media {
    border-radius: 14px;
  }
  .fc-prods .fc-prods__img {
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
  }
  .fc-prods .fc-prods__wordmark {
    font-size: 1.5rem;
  }
  .fc-prods .fc-prods__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .fc-prods .fc-prods__btn,
  .fc-prods .fc-prods__ext {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-prods .fc-prods__btn,
  .fc-prods .fc-prods__link svg {
    transition: none;
  }
  .fc-prods .fc-prods__link:hover svg,
  .fc-prods a.fc-prods__media:hover .fc-prods__img,
  .fc-prods a.fc-prods__media:hover .fc-prods__wordmark {
    transform: none;
  }
}
