/* Cases */
.cases-hero {
  position: relative;
  display: grid;
  min-height: 244px;
  place-items: center;
  color: var(--color-reverse-text);
  background-image: linear-gradient(var(--overlay-dark-40), var(--overlay-dark-40)), var(--cases-hero-image);
  background-position: center 34%;
  background-size: cover;
}
.cases-hero__inner { display: grid; min-height: inherit; place-items: center; }
.cases-hero__copy { max-width: var(--container-narrow); text-align: center; }
.cases-hero h1 { margin-bottom: 20px; color: inherit; font-size: 40px; }
.cases-hero p { margin-bottom: 0; }
.cases-voices { padding-block: 48px; background: var(--color-subtle-background); }
.cases-voices__inner { display: flex; flex-direction: column; gap: 48px; }
.cases-section-heading { display: flex; max-width: var(--container-narrow); flex-direction: column; gap: 20px; }
.cases-section-heading > * { margin-bottom: 0; }
.cases-section-heading h2 { font-size: 36px; }
.cases-voice-grid { display: grid; gap: 20px; }
.cases-voice-card { display: flex; padding: 16px; overflow: hidden; flex-direction: column; gap: 8px; border: 1px solid #d8dee2; border-radius: 8px; background: var(--color-surface); }
.cases-voice-card__media { position: relative; width: 100%; aspect-ratio: 295 / 190; overflow: hidden; }
.cases-voice-card__media img { position: absolute; height: auto; max-width: none; transform: none; image-orientation: none; }
.cases-voice-card__media--rotated img { transform: rotate(90deg); transform-origin: top left; }
.cases-voice-card:nth-child(1) .cases-voice-card__media img { top: -169.47%; left: -93.90%; width: 287.46%; }
.cases-voice-card:nth-child(2) .cases-voice-card__media img { top: -211.58%; left: -109.83%; width: 325.76%; }
.cases-voice-card:nth-child(3) .cases-voice-card__media img { top: -133.68%; left: 177.29%; width: 287.80%; }
.cases-voice-card:nth-child(4) .cases-voice-card__media img { top: -161.05%; left: 179.66%; width: 288.47%; }
.cases-voice-card:nth-child(5) .cases-voice-card__media img { top: 0; left: -11.86%; width: 111.53%; }
.cases-voice-card__body { display: flex; padding: 0; flex-direction: column; gap: 8px; }
.cases-voice-card__body > * { margin-bottom: 0; }
.cases-voice-card h3 { font-size: 18px; line-height: 1.4; }
.cases-voice-card__person { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cases-voice-card__person p { margin-bottom: 0; }
.cases-voice-card__person p:first-child { padding: 4px 10px; color: var(--color-surface); background: var(--color-main-blue); font-size: 14px; font-weight: 700; }
.cases-voice-card__person p:last-child { font-size: 20px; }
.cases-voice-card__body > p:last-child { font-size: 14px; }

.cases-videos { padding-block: 48px; background: var(--color-surface); }
.cases-videos__inner { display: flex; flex-direction: column; gap: 48px; }
.cases-video-heading { display: flex; max-width: var(--container-narrow); margin-inline: auto; flex-direction: column; gap: 12px; text-align: center; }
.cases-video-heading > * { margin-bottom: 0; }
.cases-video-heading > p:first-child { font-size: 20px; font-weight: 700; }
.cases-video-heading h2 { font-size: 36px; }
.cases-video-heading > p:not(:first-child) { font-size: 16px; }
.cases-video-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cases-video-categories button { min-width: 0; min-height: 44px; padding: 6px 8px; border: 3px solid var(--color-main-blue); border-radius: 30px; color: var(--color-text); background: var(--color-surface); cursor: pointer; }
.cases-video-categories button[aria-pressed="true"] { color: var(--color-surface); background: var(--color-main-blue); font-weight: 700; }
.cases-video-grid { display: grid; gap: 20px; }
.cases-video-card[hidden] { display: none; }
.cases-video-card { display: flex; padding: 12px; flex-direction: column; gap: 8px; border: 1px solid #d8dee2; border-radius: 8px; }
.cases-video-card h3 { margin-bottom: 0; color: var(--color-main-blue); font-size: 18px; line-height: 1.4; }
.cases-video-card h3 span { white-space: nowrap; }
.cases-video-card h3 { order: 2; }
.cases-video-card button { order: 1; }
.cases-video-card button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #000; cursor: pointer; }
.cases-video-card button img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 240ms ease; }
.cases-video-card button:hover img { transform: scale(1.025); }
.cases-video-card button span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); border-radius: 50%; background: rgb(212 62 9 / 92%); box-shadow: 0 8px 24px rgb(0 0 0 / 28%); }
.cases-video-card button span::after { position: absolute; top: 50%; left: 53%; transform: translate(-42%, -50%); border-width: 8px 0 8px 14px; border-style: solid; border-color: transparent transparent transparent #fff; content: ""; }

@media (min-width: 768px) {
  .cases-voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .cases-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .cases-video-card { padding: 0; gap: 10px; border: 0; border-radius: 0; }
  .cases-video-card h3 { order: 1; }
  .cases-video-card button { order: 2; }
}
@media (min-width: 1024px) {
  .cases-hero { min-height: 368px; }
  .cases-hero h1 { font-size: 60px; }
  .cases-hero p { font-size: 20px; }
  .cases-voices,
  .cases-videos { padding-block: 112px; }
  .cases-voices__inner { gap: 50px; }
  .cases-section-heading h2 { font-size: 60px; }
  .cases-section-heading p { font-size: 20px; }
  .cases-voice-grid { gap: 48px; }
  .cases-voice-card { display: grid; min-height: 400px; padding: 0; grid-template-columns: 284px minmax(0, 1fr); gap: 0; }
  .cases-voice-card__media { width: 284px; height: 100%; min-height: 400px; aspect-ratio: auto; }
  .cases-voice-card:nth-child(1) .cases-voice-card__media img { top: -438px; left: -460px; width: 1204px; }
  .cases-voice-card:nth-child(2) .cases-voice-card__media img { top: -549px; left: -520px; width: 1346px; }
  .cases-voice-card:nth-child(3) .cases-voice-card__media img { top: -382px; left: 709px; width: 1280px; }
  .cases-voice-card:nth-child(4) .cases-voice-card__media img { top: -424px; left: 700px; width: 1230px; }
  .cases-voice-card:nth-child(5) .cases-voice-card__media img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
  .cases-voice-card__body { padding: 20px 15px 20px 24px; }
  .cases-voice-card h3 { font-size: 26px; }
  .cases-video-heading { gap: 18px; }
  .cases-video-heading > p:first-child { font-size: 26px; }
  .cases-video-heading h2 { font-size: 60px; }
  .cases-video-heading > p:not(:first-child) { font-size: 16px; }
  .cases-video-categories button { min-width: 160px; min-height: 70px; font-size: 20px; }
  .cases-video-card h3 { font-size: 26px; }
}
