/* ===================================== */
/* VIDEO SECTION */
/* ===================================== */

.career-video-section {
  width: 100%;

  padding: 30px 90px 120px;

  background: #f4f5f7;

  overflow: hidden;

  position: relative;
}

/* subtle glow */

.career-video-section::before {
  content: "";

  width: 520px;
  height: 520px;

  border-radius: 50%;

  background:
    radial-gradient(
      rgba(227,6,19,0.05),
      transparent 70%
    );

  position: absolute;

  bottom: -180px;
  left: -180px;

  z-index: 0;

  pointer-events: none;
}

/* ===================================== */
/* CONTAINER */
/* ===================================== */

.career-video-container {
  width: 100%;

  max-width: 1100px;

  margin: 0 auto;

  position: relative;

  z-index: 2;
}

/* ===================================== */
/* HEADER */
/* ===================================== */

.career-video-header {
  text-align: center;

  margin-bottom: 45px;

  animation:
    fadeUp 0.9s ease;
}

.career-video-header h2 {
  font-size: 58px;

  line-height: 1.1;

  font-weight: 800;

  color: #10264a;

  margin: 0;

  letter-spacing: -1px;
}

/* ===================================== */
/* VIDEO WRAPPER */
/* ===================================== */

.video-wrapper {
  position: relative;

  width: 100%;

  padding-bottom: 56.25%;

  height: 0;

  overflow: hidden;

  border-radius: 32px;

  background: #000000;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.12);

  transform: translateY(0);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;

  animation:
    fadeUp 1.1s ease;
}

/* hover effect */

.video-wrapper:hover {
  transform:
    translateY(-6px);

  box-shadow:
    0 32px 80px rgba(0,0,0,0.16);
}

/* ===================================== */
/* IFRAME */
/* ===================================== */

.video-wrapper iframe {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  border: 0;

  border-radius: 32px;
}

/* ===================================== */
/* ANIMATION */
/* ===================================== */

@keyframes fadeUp {

  from {
    opacity: 0;

    transform:
      translateY(40px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}

/* ===================================== */
/* LARGE TABLET */
/* ===================================== */

@media (max-width: 1200px) {

  .career-video-section {
    padding: 20px 60px 100px;
  }

  .career-video-header h2 {
    font-size: 50px;
  }

}

/* ===================================== */
/* TABLET */
/* ===================================== */

@media (max-width: 992px) {

  .career-video-section {
    padding: 10px 45px 90px;
  }

  .career-video-header {
    margin-bottom: 38px;
  }

  .career-video-header h2 {
    font-size: 42px;
  }

}

/* ===================================== */
/* MOBILE */
/* ===================================== */

@media (max-width: 768px) {

  .career-video-section {
    padding: 0 24px 80px;
  }

  .career-video-header {
    margin-bottom: 28px;
  }

  .career-video-header h2 {
    font-size: 34px;

    line-height: 1.2;
  }

  .video-wrapper {
    border-radius: 22px;
  }

  .video-wrapper iframe {
    border-radius: 22px;
  }

}

/* ===================================== */
/* SMALL MOBILE */
/* ===================================== */

@media (max-width: 480px) {

  .career-video-section {
    padding: 0 18px 70px;
  }

  .career-video-header h2 {
    font-size: 28px;
  }

  .video-wrapper {
    border-radius: 16px;
  }

  .video-wrapper iframe {
    border-radius: 16px;
  }

}