/* =========================================================
 * MUSK - CTA
 *
 * Element nằm trong Section / Row / Column có sẵn.
 * Không đặt container hoặc max-width tổng.
 *
 * Nút dùng hệ .musk-btn chung trong style.css. Ở đây KHÔNG
 * đặt lại màu, bo góc hay cỡ chữ cho nút.
 * ========================================================= */

.musk-cta {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  padding: 60px 0px 60px 0px;
}

.musk-cta,
.musk-cta *,
.musk-cta *::before,
.musk-cta *::after {
  box-sizing: border-box;
}

/* =========================================================
 * KHUNG
 * ========================================================= */

.musk-cta__panel {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
  background: #061428;
  color: #ffffff;
}

.musk-cta__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

/* Lớp phủ tối để chữ luôn đọc được, độ đậm chỉnh trong
   UX Builder. */

.musk-cta__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 12, 26, 0.9) 0%,
    rgba(4, 12, 26, 0.65) 50%,
    rgba(4, 12, 26, 0.9) 100%
  );
  pointer-events: none;
}

.musk-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 760px;
  padding: 70px 30px;
  margin: 0 auto;
  text-align: center;
}

/* =========================================================
 * CHỮ
 * ========================================================= */

.musk-cta__heading {
  margin: 0;
  color: #ffffff;
  text-transform: capitalize;
  font-weight: 700;
  line-height: 1.25;
}

.musk-cta__description {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.musk-cta__action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

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

@media (max-width: 767px) {
  .musk-cta {
    padding: 50px 0;
  }

  .musk-cta__panel {
    border-radius: 14px;
  }

  .musk-cta__inner {
    padding: 44px 20px;
  }

  .musk-cta__description {
    margin-top: 12px;
  }

  .musk-cta__action {
    margin-top: 24px;
  }
}
