/*
 * Culture & Career page. Plain sections in place of the theme rows: nothing fades in on scroll,
 * so all text is always visible. Sections: intro, culture film, testimonial videos, employee
 * benefits, photo gallery.
 */

.mq-culture {
  color: #000000;
}

.mq-culture .section-eyebrow {
  margin: 0 0 8px;
  text-align: center;
}

.mq-culture h1,
.mq-culture h2 {
  margin: 0 0 24px;
  text-align: center;
  color: #000000;
}

/* ---- Intro */
.mq-culture__intro {
  max-width: 920px;
  margin: 0 auto;
  padding: 96px 0 56px;
}

.mq-culture__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.mq-culture__columns p,
.mq-culture__lead {
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 30px;
}

.mq-culture__lead {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Culture film */
.mq-culture__film {
  max-width: 1055px;
  margin: 0 auto;
}

.mq-culture__film video {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.mq-culture__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 0 0;
}

/* ---- Employee benefits: four cards with a large number behind each title. */
.mq-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.mq-benefit {
  position: relative;
  margin: 0;
  padding: 32px 24px;
  list-style: none;
  background-color: #f7f7f7;
  border-radius: 6px;
}

.mq-benefit__number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: Avenir-Medium;
  font-size: 56px;
  line-height: 1;
  color: #1b6f6b; /* 5.5:1 on the card's #f7f7f7 */
}

.mq-benefit img {
  position: relative;
  display: block;
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
}

.mq-culture .mq-benefit h3 {
  margin: 0 0 10px;
  font-family: Avenir-Medium;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: #000000;
}

.mq-benefit p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  color: #222222;
}

@media only screen and (max-width: 999px) {
  .mq-culture__intro {
    padding: 56px 0 40px;
  }

  .mq-culture__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mq-culture__section {
    padding-top: 64px;
  }

  .mq-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 690px) {
  .mq-benefits {
    grid-template-columns: 1fr;
  }
}


.mq-videos {
  padding: 6vw 0 calc(6vw + 180px);
}

.mq-videos .mq-videos__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  column-gap: 80px;
  row-gap: 80px;
  max-width: 784px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.mq-videos .mq-video {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Staggered columns: the right-hand card sits lower than the left one. */
.mq-videos .mq-video:nth-child(even) {
  transform: translateY(180px);
}

.mq-videos .mq-video__link {
  position: relative;
  display: block;
}

.mq-videos .mq-video__link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 357 / 475;
  object-fit: cover;
}

/* White icon on dark brand green/teal: 5.4:1 or better. The white ring keeps the button
   distinguishable from the photo behind it (1.4.11). */
.mq-videos .mq-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 94px;
  margin: -47px 0 0 -47px;
  border-radius: 50%;
  background: linear-gradient(133deg, #1e7a3c 0%, #1b6f6b 100%);
  box-shadow: 0 0 0 3px #ffffff;
  transition: transform 0.2s ease;
}

.mq-videos .mq-video__play svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
  fill: #ffffff;
}

.mq-videos .mq-video__link:hover .mq-video__play,
.mq-videos .mq-video__link:focus-visible .mq-video__play {
  transform: scale(1.1);
}

.mq-videos .mq-video__quote {
  margin: 24px 0 8px;
  font-family: Avenir-Medium;
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: normal;
  color: #000000;
}

@media only screen and (max-width: 999px) {
  .mq-videos {
    padding: 48px 0;
  }

  .mq-videos .mq-videos__list {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .mq-videos .mq-video:nth-child(even) {
    transform: none;
  }

  .mq-videos .mq-video__quote {
    font-size: 21.6px;
    line-height: 25.2px;
  }
}

@media only screen and (max-width: 690px) {
  .mq-videos {
    padding: 24px 0;
  }

  .mq-videos .mq-video__play {
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
  }

  .mq-videos .mq-video__play svg {
    width: 20px;
    height: 20px;
  }
}


.mq-gallery {
  max-width: 1055px;
  margin: 0 auto;
  padding: 48px 0 10vw;
}

.mq-gallery__row {
  display: grid;
  align-items: start;
  column-gap: 24px;
}

.mq-gallery__row + .mq-gallery__row {
  margin-top: 40px;
}

.mq-gallery__row--wide-tall {
  grid-template-columns: 2fr 1fr;
  align-items: center;
}

.mq-gallery__row--istanbul,
.mq-gallery__row--halves {
  grid-template-columns: 1fr 1fr;
}

.mq-gallery__row--thirds {
  grid-template-columns: repeat(3, 1fr);
}

.mq-gallery__row--full {
  grid-template-columns: 1fr;
}

.mq-gallery__stack .mq-photo + .mq-photo {
  margin-top: 40px;
}

.mq-gallery .mq-photo {
  margin: 0;
  padding: 0;
}

.mq-gallery .mq-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.mq-gallery .mq-photo figcaption {
  margin: 5px 0 0;
  font-family: Avenir-Book;
  font-size: 12px;
  line-height: 30px;
  letter-spacing: 0.05em;
  text-align: left;
  color: #595959;
}

@media only screen and (max-width: 690px) {
  .mq-gallery {
    padding: 20px 0 40px;
  }

  .mq-gallery__row,
  .mq-gallery__row--wide-tall,
  .mq-gallery__row--istanbul,
  .mq-gallery__row--halves,
  .mq-gallery__row--thirds {
    grid-template-columns: 1fr;
    row-gap: 25px;
  }

  .mq-gallery__row + .mq-gallery__row,
  .mq-gallery__stack .mq-photo + .mq-photo {
    margin-top: 25px;
  }

  .mq-gallery .mq-photo figcaption {
    line-height: 27px;
  }
}
