/* =========================================================
 * MUSK ABOUT - CHUYÊN MÔN & KINH NGHIỆM QUỐC TẾ
 *
 * - Nền tràn toàn màn hình.
 * - Shape dùng CSS chung đã có.
 * - Nội dung bám theo Row / Column của Flatsome.
 * - Không tạo container hoặc max-width tổng riêng.
 * ========================================================= */

.musk-about-expertise {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  min-height: 540px;
  padding: 100px 0px 50px 0px;
  overflow: visible;
  background: transparent;
  color: #fff;
}

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

/* Ánh sáng nền nhẹ, không ảnh hưởng shape */

.musk-about-expertise::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: radial-gradient(
    ellipse at 77% 47%,
    rgba(44, 84, 205, 0.07),
    transparent 48%
    );
  transform: translateX(-50%);
  pointer-events: none;
}

/* =========================================================
 * BỐ CỤC NỘI DUNG
 *
 * Width 100% chính là chiều rộng Column của Flatsome.
 * Không tạo container và không giới hạn chiều rộng tổng.
 * ========================================================= */

.musk-about-expertise__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(0, 50%)
    minmax(0, 50%);
  align-items: center;
  width: 100%;
  gap: 50px;
}

.musk-about-expertise__content-column,
.musk-about-expertise__media-column {
  min-width: 0;
}

/* =========================================================
 * TIÊU ĐỀ
 * ========================================================= */

.musk-about-expertise__title {
  margin: 0 0 30px;
  color: black;
  font-weight: 700;
  text-transform: capitalize;
}

/* =========================================================
 * NỘI DUNG
 * ========================================================= */

.musk-about-expertise__content {
  color: #29394f;
  font-weight: 400;
}

.musk-about-expertise__content p {
  margin: 0;
}

.musk-about-expertise__content p + p {
  margin-top: 24px;
}

/* =========================================================
 * ẢNH
 * ========================================================= */

.musk-about-expertise__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #d9e1eb;
}

.musk-about-expertise__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: inherit;
  pointer-events: none;
}

.musk-about-expertise__media img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover;
  transform: translateZ(0);
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (hover: hover) {
  .musk-about-expertise__media:hover img {
    transform: scale(1.025);
  }
}

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

@media (max-width: 767px) {
  .musk-about-expertise {
    min-height: 0;
    padding: 74px 0 36px;
  }

  .musk-about-expertise__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .musk-about-expertise__title {
    margin-bottom: 23px;
    line-height: 1.15;
    letter-spacing: -0.04em;
  }

  .musk-about-expertise__content {
    line-height: 1.68;
  }

  .musk-about-expertise__content p + p {
    margin-top: 20px;
  }

  .musk-about-expertise__media {
    border-radius: 16px;
    aspect-ratio: 1.3 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .musk-about-expertise__media img {
    transition: none !important;
  }
}
