/* =============================================
   INFO TABS – FIXED  (/gioi-thieu)
   ============================================= */

/* ---------- Hero Banner ---------- */
.itabs-hero {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  position: relative;
  line-height: 0;
}
/* gradient overlay removed */
.itabs-hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
}


/* ---------- Tab Navigation ---------- */
.itabs-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 0;
  /* border-bottom removed */
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.itabs-nav::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.itabs-tab {
  display: flex;
  width: auto;
  height: 48px;
  padding: 0 12px;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid #FFB96E;
  background: rgba(255, 185, 110, 0.10);
  color: #FFF;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  text-transform: none;
  justify-content: center;
  margin: 0;
}
.itabs-tab:hover {
  border-color: #FFB800;
  color: #FFB800;
  background: rgba(255,184,0,.08);
}
.itabs-tab.active {
  border-color: #FFB96E;
  background: #FFB96E;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
}

.itabs-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Layout: Content + Sidebar ---------- */
.itabs-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

/* ---------- Content Panel ---------- */
.itabs-content {
  min-width: 0; /* prevent grid blowout */
}

.itabs-panel {
  background: #381A00;
  border-radius: 14px;
  padding: 26px 20px;
  color: #e0d6cc;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.itabs-panel[hidden] {
  display: none;
}
.itabs-panel h1,
.itabs-panel h2,
.itabs-panel h3,
.itabs-panel h4 {
  color: #FFB800;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
}
.itabs-panel h2 { font-size: 22px; }
.itabs-panel h3 { font-size: 18px; }
.itabs-panel p {
  margin-bottom: 16px;
  color: #e0d6cc;
}
.itabs-panel a {
  color: #FFB800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.itabs-panel a:hover {
  color: #fff;
}
.itabs-panel img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}
.itabs-panel ul,
.itabs-panel ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.itabs-panel li {
  margin-bottom: 6px;
}

.itabs-empty {
  color: #888;
  font-style: italic;
  text-align: center;
  padding: 40px 0;
}

/* ---------- Sidebar ---------- */
.itabs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}
.itabs-sidebar .widget {
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
}
.itabs-sidebar .widget img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ---------- Page wrapper override ---------- */
#info-tabs-page {
  background: #231000;
  padding-bottom: 48px;
}
#info-tabs-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .itabs-layout {
    grid-template-columns: 1fr;
  }
  .itabs-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .itabs-sidebar .widget {
    flex: 1 1 45%;
    min-width: 200px;
  }
}

@media (max-width: 600px) {
  .itabs-nav {
    gap: 6px;
    padding: 12px 0 16px;
  }
  .itabs-tab {
    display: flex;
    width: auto;
    height: 40px;
    padding: 0 12px;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 13px;
  }
  .itabs-icon {
    width: 14px;
    height: 14px;
  }
  .itabs-panel {
    padding: 20px 16px;
    font-size: 14px;
    border-radius: 10px;
  }
  .itabs-sidebar .widget {
    flex: 1 1 100%;
  }
}
