.submenu-tabs-2 {
  background-color: #23a36b;
  padding: 5.5rem 0;
  position: relative;
}

.submenu-tabs-2 .container-2 {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

/* Chữ giữa nền xanh */
.main-title {
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.2;
  word-break: keep-all; /* không tách ký tự lẻ */
  white-space: nowrap;  /* không xuống dòng */
  max-width: 90%;       /* tránh tràn ra ngoài */
  overflow-wrap: break-word; /* xuống dòng khi quá dài */
}

/* 2 line trắng mờ bên trái phải */
.submenu-tabs-2 .container::before,
.submenu-tabs-2 .container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
}

.submenu-tabs-2 .container::before {
  left: 5%;
}
.submenu-tabs-2 .container::after {
  right: 5%;
}

/* Responsive cho màn nhỏ */


.creation-interview-box {
  position: relative;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 60px;
  z-index: 2;
  align-items: stretch;
  /* flex-wrap: nowrap; */
}

.creation-interview-left {
  width: 100%;
  max-width: 520px;
  /* flex: 1 1 0; */
  min-width: 250px;
}

.image-frame-popper {
  position: relative;
  display: block;
  width: 100%;
}

.image-frame-popper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  position: relative;
  z-index: 3;
}

/* Cột phải */
.creation-interview-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: start;
  width: 100%;
  max-width: 820px;
  /* flex: 1 1 0; */ /* Cho phép co và giãn */
  min-width: 300px;
}

/* Tiêu đề */
.creation-interview-title {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid #111;
  padding-bottom: 5px;
}

/* Nội dung */
.creation-interview-content {
  font-size: 18px;
  line-height: 1.7;
  border-bottom: 2px solid #111;
  font-weight: 600;
  margin-bottom: 12px;
  flex: 1;
}

.creation-interview-content p {
  margin-bottom: 30px;
  line-height: 1.7;
  font-size: 18px;
}

.creation-interview-right .creation-interview-content ul {
    list-style-type: disc;
    padding-left: 27px;
    margin-bottom: 2.0rem;
}
.creation-interview-right .creation-interview-content ul li {
    margin-bottom: 0.9rem;
    font-size: 1.0rem;
    display: block;
    position: relative;
}
.creation-interview-right .creation-interview-content ul li::before {
    content: '•';
    position: absolute;
    left: -18px;
    top: -2px;
    color: #333;
    font-size: 20px;
    line-height: 1.6;
}

.interview-heading {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
  background: #f9f9f9;
}

.interview-header {
  position: relative;
  height: 220px;
}

.interview-bg {
  position: absolute;
  width: 40%;
  height: 100%;
  z-index: 1;
  left: -15%;
  object-fit: contain;
}

/* Khung phụ đề */
.subtitle-frame-wrapper-interview {
  position: absolute;
  top: 3%;
  left: 5%;
  width: 20%;         
  max-width: 300px;      
  min-width: 120px;      
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.subtitle-frame-interview {
  width: 100%;
  height: auto;
}

.subtitle-text-interview {
  position: absolute;
  font-size: 16px;
  font-weight: bold;
  color: #003300;
  text-align: center;
  white-space: nowrap;
}

.interview-overwhole-wrapper{
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 12px 0;
  overflow: hidden;                 /* che phần tràn */
}

.interview-overwhole{
  --gap: 16px;                      /* khoảng cách giữa item */
  --items: 3;                       /* số item trên 1 khung ở desktop */
  display: flex;
  gap: var(--gap);
  overflow-x: auto;                 /* cho phép kéo ngang khi mobile */
  scroll-snap-type: x mandatory;    /* bắt dính từng item */
  -webkit-overflow-scrolling: touch;
  padding: 4px;                     /* đỡ cấn viền khi snap */
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px; /* snap mượt ở hai mép */
}
.interview-overwhole::-webkit-scrollbar{ display:none; } /* ẩn scrollbar WebKit */

.overwhole-item{
  flex: 0 0 calc((100% - (var(--items) - 1) * var(--gap)) / var(--items));
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  transition: transform .25s ease;
}
.overwhole-item:hover{ transform: translateY(-2px); }
.overwhole-item:last-child{
  scroll-snap-align: end;    /* chốt cuối không còn khoảng trắng */
}
.overwhole-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* ảnh luôn đầy khung, không méo */
  display: block;
}

/* Nút điều hướng */
.overwhole-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(231,226,226,.9);
  color: #111;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.overwhole-btn.prev{ left: 4px; }
.overwhole-btn.next{ right: 4px; }
.overwhole-btn[disabled]{ opacity:.35; pointer-events:none; }



/* Ảnh lớn khi đổi sẽ fade */
.creation-interview-left img {
  transition: opacity 0.4s ease;
  opacity: 1;
}

.creation-interview-left img.fade-out {
  opacity: 0;
}
/* ========== Responsive ========== */


@media (max-width: 1280px) {
  .creation-interview-title {
      font-size: 25px;
  }
  .creation-interview-right .creation-interview-content p {
      font-size: 15px;
  }
  .creation-interview-right .creation-interview-content ul li {
      font-size: 0.9rem;
  }

}


/* 1024px */
@media (max-width: 1024px) {
    .interview-overwhole{ --items: 2; }
  .interview-header {
    height: 200px;
  }

  .interview-bg {
    width: 45%;
    left: -12%;
  }

  .subtitle-frame-wrapper-interview {
    top: 3%;
    left: 6%;
    width: 22%;
  }

  .subtitle-text-interview {
    font-size: 15px;
  }

  .creation-interview-title {
    margin-bottom: 18px;
  }
  .creation-interview-right .creation-interview-content p {
      margin-bottom: 20px;
  }
  .creation-interview-right .creation-interview-content ul li {
      margin-bottom: 0.7rem;
  }


  .overwhole-caption {
    font-size: 32px;
    bottom: 8px;
  }
}

/* 992px */
@media (max-width: 992px) {
  .interview-header {
    height: 180px;
  }

  .interview-bg {
    width: 50%;
    left: -15%;
  }

  .subtitle-frame-wrapper-interview {
    top: 3%;
    left: 5%;
    width: 25%;
  }

  .subtitle-text-interview {
    font-size: 14px;
  }

  .creation-interview-title {
    font-size: 18px;
  }
  .creation-interview-right .creation-interview-content p {
      font-size: 13px;
  }
  .creation-interview-right .creation-interview-content ul li {
      font-size: 0.9rem;
  }
  .interview-detail-btn {
    font-size: 16px;
  }

}


@media (max-width: 768px) {
  .interview-header {
    height: 160px;
  }

  .interview-bg {
    width: 55%;
    left: -20%;
  }

  .subtitle-frame-wrapper-interview {
    top: 2%;
    left: 5%;
    width: 28%;
  }
  .main-title {
    font-size: 24px;
    white-space: normal; /* Cho phép xuống dòng khi nhỏ */
  }
  .subtitle-text-interview {
    font-size: 14px;
  }
    .submenu-tabs-1 ul {
    flex-direction: column;
    align-items: center;
    gap:1.5rem;
  }

  .submenu-tabs-1 li a {
    width: 100%;
    max-width: 280px;
  }

   .creation-interview-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    /* padding: 0px 26px; */
  }

  .creation-interview-left,
  .creation-interview-right {
    width: 100%;
    padding: 0 1rem;
    max-width: 100%;
  }

  .creation-interview-right {
    margin-top: 0;
  }

  .creation-interview-right .creation-interview-title {
    font-size: 1.2rem;
    font-weight: 600;
  }

  .creation-interview-right .creation-interview-content p,
  .creation-interview-right .creation-interview-content ul li {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .image-frame-popper img {
    max-width: 100%;
    height: auto;
  }

  .creation-interview-right .creation-interview-content ul {
    padding-left: 18px;
    text-align: left;
  }

  .creation-interview-right .creation-interview-content ul li::before {
    font-size: 18px;
    top: -1px;
    left: -16px;
  }
  .overwhole-caption {
    font-size: 24px;
    bottom: 6px;
  }

}
@media (max-width:640px){
  .interview-overwhole{ --items: 1; --gap: 12px; }
  .overwhole-btn{ width: 36px; height: 36px; font-size: 18px; }
}
/* 600px */
@media (max-width: 600px) {
  .interview-header {
    height: 150px;
  }

  .interview-bg {
    width: 55%;
    left: -18%;
  }

  .subtitle-frame-wrapper-interview {
    top: 2%;
    left: 5%;
    width: 32%;
  }

  .subtitle-text-interview {
    font-size: 13px;
  }

}

@media (max-width: 480px) {
  .interview-header {
    height: 140px;
  }

  .subtitle-frame-wrapper-interview {
    top: 4%;
    left: 4%;
    width: 36%;
  }

  .subtitle-text-interview {
    font-size: 12px;
  }
  .creation-interview-right .creation-interview-title {
    font-size: 1rem;
  }

  .creation-interview-right .creation-interview-content p,
  .creation-interview-right .creation-interview-content ul li {
    font-size: 0.9rem;
  }

  .creation-interview-box {
    margin-bottom: 40px;
  }

}
/* 360px */
@media (max-width: 360px) {
  .interview-header {
    height: 130px;
  }

  .interview-bg {
    width: 60%;
    left: -20%;
  }

  .subtitle-frame-wrapper-interview {
    top: 4%;
    left: 4%;
    width: 38%;
  }

  .subtitle-text-interview {
    font-size: 12px;
  }
}



