/* ==========================================================================
   Menkar Dự án tiêu biểu Banner (.banerduan)
   ========================================================================== */

.banerduan {
  width: 100%;
}

.banerduan .menkar-project-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 700px;
  margin-left: -50vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 37, 75, 0.96) 0%, rgba(5, 37, 75, 0.86) 40%, rgba(5, 37, 75, 0.08) 55%, rgba(5, 37, 75, 0.18) 100%),
    url("../../images/banners/menkar-du-an-banner.jpg") right center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.banerduan .menkar-project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(248, 176, 32, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Gióng thẳng từ mép logo đến mép nút Tư vấn ngay (chuẩn container 1490px của theme) */
.banerduan .menkar-project-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1490px;
  margin: 0 auto;
  padding: 60px 15px;
  box-sizing: border-box;
}

.banerduan .menkar-project-hero__content {
  width: min(100%, 750px);
}

.banerduan .menkar-project-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid rgba(248, 176, 32, 0.45);
  border-radius: 999px;
  background: rgba(248, 176, 32, 0.12);
  backdrop-filter: blur(8px);
  color: #f8b020;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.banerduan .menkar-project-hero__badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f8b020;
  box-shadow: 0 0 10px #f8b020;
  animation: menkarPulse 2s infinite ease-in-out;
}

@keyframes menkarPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

.banerduan .menkar-project-hero__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Chữ vàng đồng nhất #f8b020, không dùng gradient */
.banerduan .menkar-project-hero__title .highlight {
  color: #f8b020;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

.banerduan .menkar-project-hero__desc {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
}

/* Khối hành động & tính năng: gióng thẳng hàng từ mép 2 nút CTA xuống */
.banerduan .menkar-project-hero__action-box {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  max-width: 100%;
}

/* 2 nút CTA: kiểu dáng, kích thước và màu sắc chuẩn theo mẫu hình 2 */
.banerduan .menkar-project-hero__actions {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 24px;
}

.banerduan .menkar-project-hero__actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  height: 42px;
  line-height: 40px;
  padding: 0 24px;
  margin: 0;
  border-radius: 10px !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Nút 1: Vàng đặc #f8b020, chữ trắng, bo góc 10px */
.banerduan .menkar-project-hero__actions .button.primary {
  background-color: #f8b020 !important;
  border: 1px solid #f8b020 !important;
  color: #ffffff !important;
  box-shadow: none;
}

.banerduan .menkar-project-hero__actions .button.primary:hover {
  background-color: #e59f15 !important;
  border-color: #e59f15 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(248, 176, 32, 0.35);
}

/* Nút 2: Viền trắng 2px, nền trong suốt, chữ trắng, bo góc 10px */
.banerduan .menkar-project-hero__actions .button.white.is-outline {
  background-color: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  box-shadow: none;
}

.banerduan .menkar-project-hero__actions .button.white.is-outline:hover {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #05254b !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

/* 4 nút tính năng: chiều ngang khớp 100% từ mép trái nút 1 sang mép phải nút 2 */
.banerduan .menkar-project-hero__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.banerduan .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(5, 37, 75, 0.55);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.95);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  box-sizing: border-box;
}

.banertailieu .feature-item span:last-child,
.banerduan .feature-item span:last-child {
  white-space: nowrap;
}

.banerduan .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #f8b020;
  font-size: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .banerduan .menkar-project-hero {
    min-height: 480px;
    background:
      linear-gradient(90deg, rgba(5, 37, 75, 0.97) 0%, rgba(5, 37, 75, 0.92) 100%),
      url("../../images/banners/menkar-du-an-banner.jpg") center / cover no-repeat;
  }

  .banerduan .menkar-project-hero__inner {
    padding: 44px 15px;
  }

  .banerduan .menkar-project-hero__content {
    width: 100%;
  }

  .banerduan .menkar-project-hero__features {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .banerduan .menkar-project-hero {
    min-height: auto;
    padding: 20px 0;
  }

  .banerduan .menkar-project-hero__inner {
    padding: 28px 15px;
  }

  .banerduan .menkar-project-hero__title {
    font-size: 26px;
  }

  .banerduan .menkar-project-hero__desc {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .banerduan .menkar-project-hero__action-box {
    width: 100%;
  }

  .banerduan .menkar-project-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .banerduan .menkar-project-hero__actions .button {
    width: 100%;
    justify-content: center;
    padding: 0 16px;
    font-size: 13.5px;
    white-space: nowrap;
  }

  .banerduan .menkar-project-hero__features {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .banerduan .feature-item {
    white-space: normal;
  }
}
