/* A code component's Shadow DOM doesn't inherit a page reset. */
.EfI7CGRKIDPzNJe_r1Xu,
.EfI7CGRKIDPzNJe_r1Xu *,
.EfI7CGRKIDPzNJe_r1Xu *::before,
.EfI7CGRKIDPzNJe_r1Xu *::after {
  box-sizing: border-box;
}

/* Ported from prototype/src/components/CaseStudyCard/CaseStudyCard.module.css. As tall as its grid cell, so a row's cards match. */
.EfI7CGRKIDPzNJe_r1Xu {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  color: var(--text-primary, #171717);
  font-family: var(--type-family-base, 'Raleway', system-ui, sans-serif);
  text-decoration: none;
  box-shadow: 0 0 0 rgb(0 0 0 / 0);
  transition:
    background-color 350ms ease,
    color 350ms ease,
    box-shadow 450ms ease,
    translate 450ms cubic-bezier(0.22, 1, 0.36, 1);
  /* Rises in as it appears (and again when Load More shows it), in turn by --i (its place in its batch). */
  animation: eytqGcbYic_nYOvqp5F_ 700ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(min(var(--i, 0), 8) * 50ms);
}

@keyframes eytqGcbYic_nYOvqp5F_ {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}

/* Hover: brand blue, the type white, lifted a little onto a soft shadow. */
.EfI7CGRKIDPzNJe_r1Xu:is(:hover, :focus-visible) {
  background: var(--action-primary-default, #0073e6);
  color: var(--text-inverse, #fff);
  box-shadow:
    0 2px 6px rgb(0 0 0 / 0.08),
    0 18px 40px rgb(0 0 0 / 0.16);
  translate: 0 -4px;
}

.EfI7CGRKIDPzNJe_r1Xu:focus-visible {
  outline: 2px solid var(--action-primary-default, #0073e6);
  outline-offset: 3px;
}

/* The photo: 410 × 220, cropped to fill (a soft grey where there is none). */
.kza90V76wbcZVGsm1a_B {
  display: block;
  overflow: hidden;
  aspect-ratio: 410 / 220;
  background: var(--neutral-200, #e5e5e5);
}

.kza90V76wbcZVGsm1a_B img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.EfI7CGRKIDPzNJe_r1Xu:is(:hover, :focus-visible) .kza90V76wbcZVGsm1a_B img {
  scale: 1.04;
}

/* The text and the chevron: 24px over, 32px around, 24px apart, from the top (so the names line up across a row). */
.lpvB2oCvegYdooEN0IR1 {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 32px 32px;
}

.ZZSFP0tLp6HD0W9qHsPb {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* The client: Heading XS's size, Regular. */
.OtI8_KTQ46Da0kbklUgy {
  margin: 0;
  font-size: var(--type-heading-xs-size, 22px);
  font-weight: 400;
  line-height: var(--type-heading-xs-lh, 29px);
  letter-spacing: var(--type-heading-xs-ls, 0);
  overflow-wrap: anywhere;
}

/* The study: Body / Default. */
.dGnYQZ38DkJ8duY1GLPc {
  font-size: var(--type-default-size, 16px);
  font-weight: var(--type-default-weight, 400);
  line-height: var(--type-default-lh, 23px);
  letter-spacing: var(--type-default-ls, 0);
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.uY1rgNtVb_t9pEjYtSM4 {
  flex: none;
  /* Centred on the name's first line. */
  margin-top: calc((var(--type-heading-xs-lh, 29px) - 14px) / 2);
  margin-right: 4px;
  transition: translate 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.EfI7CGRKIDPzNJe_r1Xu:is(:hover, :focus-visible) .uY1rgNtVb_t9pEjYtSM4 {
  translate: 4px 0;
}

@media (max-width: 767px) {
  .EfI7CGRKIDPzNJe_r1Xu {
    border-radius: 24px;
  }

  .lpvB2oCvegYdooEN0IR1 {
    padding: 20px 24px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .EfI7CGRKIDPzNJe_r1Xu,
  .kza90V76wbcZVGsm1a_B img,
  .uY1rgNtVb_t9pEjYtSM4 {
    transition: none;
    animation: none;
  }

  .EfI7CGRKIDPzNJe_r1Xu:is(:hover, :focus-visible) {
    translate: none;
  }
}

