/* ==========================================================================
   DCI VIỆT NAM — CUSTOM PAGES DESIGN SYSTEM & STYLESHEET
   Includes:
   1. Design Tokens, Typography & Layout Helpers
   2. Page Giới Thiệu (About Us - Seeds Philosophy, Transformation Canvas)
   3. Page Liên Hệ (Contact - Quick Cards, Interactive Form, FAQ Accordion)
   4. Page Danh Sách Giảng Viên (Instructors List & Live Filter Tabs)
   5. Page Chi Tiết Giảng Viên (Instructor Profile, Achievements & Stats)
   6. Page Danh Sách Cảm Nhận Học Viên (Testimonials Grid & Topic Filters)
   7. Page Chi Tiết Cảm Nhận Học Viên (Story Detail, Pull-Quote, Info-Box)
   ========================================================================== */

:root {
  --dci-navy: #101477;
  --dci-navy-dark: #0a0e5c;
  --dci-navy-deep: #12244d;
  --dci-navy-2: #1c3568;
  --dci-blue-accent: #1a229a;
  --dci-cyan: #06bbcc;
  --dci-gold: #c9a227;
  --dci-gold-light: #e8c767;
  --dci-gold-soft: #f0ddb0;
  --dci-orange: #ee8c1c;
  --dci-orange-hover: #d87b12;
  --dci-ink: #1e293b;
  --dci-text-dim: #64748b;
  --dci-line: rgba(18, 36, 77, 0.12);
  --dci-bg-cream: #faf7f1;
  --dci-bg-soft: #f2ebda;
  --dci-font-head: 'Montserrat', sans-serif;
  --dci-font-sans: 'Be Vietnam Pro', 'Roboto', sans-serif;
}

/* Base Wrapper for all custom pages to isolate styles from Divi constraints */
.dci-custom-page {
  font-family: var(--dci-font-sans);
  color: var(--dci-ink);
  background: #ffffff;
  line-height: 1.65;
  width: 100%;
  overflow-x: hidden;
}

.dci-custom-page * {
  box-sizing: border-box;
}

.dci-custom-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.dci-custom-page a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

.dci-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Global Page Hero (Standardized across pages) */
.dci-page-hero {
  background: linear-gradient(135deg, var(--dci-navy-dark) 0%, var(--dci-navy) 60%, var(--dci-navy-2) 100%);
  color: #ffffff;
  padding: 85px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dci-page-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 199, 103, 0.22), transparent 70%);
  pointer-events: none;
}

.dci-page-hero .dci-eyebrow {
  display: inline-block;
  color: var(--dci-gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.dci-page-hero h1 {
  font-family: var(--dci-font-head);
  font-size: clamp(28px, 4.2vw, 42px);
  color: #ffffff !important;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.dci-page-hero p.dci-hero-lead {
  max-width: 660px;
  margin: 0 auto;
  color: #d1d9e6;
  font-size: 16px;
  line-height: 1.6;
}

/* Common Breadcrumb */
.dci-breadcrumb-wrap {
  background: #f8fafc;
  border-bottom: 1px solid #eef2f6;
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--dci-text-dim);
}

.dci-breadcrumb-wrap a {
  color: var(--dci-navy);
  font-weight: 600;
}

.dci-breadcrumb-wrap a:hover {
  color: var(--dci-orange);
}

.dci-breadcrumb-wrap span.sep {
  margin: 0 8px;
  color: #cbd5e1;
}

/* Common Buttons */
.dci-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
}

.dci-btn-orange {
  background: var(--dci-orange);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(238, 140, 28, 0.32);
}

.dci-btn-orange:hover {
  background: var(--dci-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 140, 28, 0.45);
}

.dci-btn-gold {
  background: linear-gradient(120deg, var(--dci-gold-light), var(--dci-gold));
  color: #2a1f04 !important;
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.3);
}

.dci-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.45);
}

.dci-btn-outline {
  border: 1.5px solid #ffffff;
  color: #ffffff !important;
  background: transparent;
}

.dci-btn-outline:hover {
  background: #ffffff;
  color: var(--dci-navy) !important;
}

.dci-btn-outline-navy {
  border: 1.5px solid var(--dci-navy);
  color: var(--dci-navy) !important;
  background: transparent;
}

.dci-btn-outline-navy:hover {
  background: var(--dci-navy);
  color: #ffffff !important;
}

/* Common CTA Band */
.dci-cta-band {
  background: linear-gradient(135deg, var(--dci-navy-dark), var(--dci-navy));
  color: #ffffff;
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.dci-cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 45%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 70%);
}

.dci-cta-band h2 {
  font-family: var(--dci-font-head);
  font-size: clamp(24px, 3.5vw, 32px);
  color: #ffffff !important;
  font-weight: 800;
  margin-bottom: 14px;
}

.dci-cta-band p {
  color: #c9d0da;
  font-size: 15.5px;
  max-width: 600px;
  margin: 0 auto 28px;
}

.dci-cta-band .dci-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   1. PAGE GIỚI THIỆU (ABOUT US)
   ========================================================================== */
.dci-about-hero {
  position: relative;
  padding: 95px 0 105px;
  background: var(--dci-bg-cream);
  overflow: hidden;
}

.dci-about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.dci-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dci-navy);
  border: 1px solid var(--dci-line);
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-weight: 700;
}

.dci-eyebrow-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dci-gold);
}

.dci-about-hero h1 {
  font-family: var(--dci-font-head);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dci-navy);
  line-height: 1.18;
  margin-bottom: 16px;
}

.dci-about-hero h1 .gold {
  background: linear-gradient(120deg, #c9a227, #e8c767);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dci-hero-tagline {
  font-size: 18px;
  color: var(--dci-navy-2);
  font-weight: 700;
  margin-bottom: 4px;
}

.dci-hero-tagline-en {
  font-style: italic;
  color: var(--dci-gold);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}

.dci-about-hero p.lead-desc {
  font-size: 15.5px;
  color: var(--dci-text-dim);
  line-height: 1.7;
  margin-bottom: 30px;
}

.dci-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dci-about-sec {
  padding: 85px 0;
}

.dci-about-sec.soft-bg {
  background: var(--dci-bg-soft);
}

.dci-sec-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dci-gold);
  font-weight: 800;
  margin-bottom: 8px;
}

.dci-sec-title {
  font-family: var(--dci-font-head);
  font-size: clamp(24px, 3.2vw, 34px);
  color: var(--dci-navy);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
}

.dci-sec-lead {
  font-size: 15.5px;
  color: var(--dci-text-dim);
  max-width: 680px;
  margin-top: 14px;
}

/* Sứ mệnh - Tầm nhìn */
.dci-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 45px;
}

.dci-mv-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 38px 34px;
  box-shadow: 0 12px 35px rgba(18, 36, 77, 0.06);
  border: 1px solid var(--dci-line);
  transition: transform 0.3s ease;
}

.dci-mv-card:hover {
  transform: translateY(-5px);
}

.dci-mv-card .ic-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dci-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(18, 36, 77, 0.2);
}

.dci-mv-card h3 {
  font-family: var(--dci-font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--dci-navy);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dci-mv-card p {
  color: var(--dci-text-dim);
  font-size: 15px;
  line-height: 1.65;
}

/* Triết lý Wisdom - Seeds - Practice */
.dci-phi-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
  margin-top: 45px;
}

.dci-phi-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dci-phi-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 10px 28px rgba(18, 36, 77, 0.06);
  border: 1px solid var(--dci-line);
  position: relative;
}

.dci-phi-num {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--dci-navy);
  color: #ffffff;
  font-family: var(--dci-font-head);
  font-weight: 800;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 4px;
}

.dci-phi-card h4 {
  font-family: var(--dci-font-head);
  font-weight: 800;
  color: var(--dci-gold);
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.dci-phi-card p {
  color: var(--dci-text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}

.dci-phi-banner {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--dci-navy), var(--dci-navy-2));
  border-radius: 12px;
  padding: 22px 28px;
  color: #ffffff;
  text-align: center;
}

.dci-phi-banner .t1 {
  font-family: var(--dci-font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.dci-phi-banner .t1 span {
  color: var(--dci-gold-light);
}

.dci-phi-banner .t2 {
  font-size: 14px;
  color: #c9d2e8;
  margin-top: 4px;
}

/* Transformation Canvas 9 Ô */
.dci-canvas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.dci-canvas-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: 0 8px 24px rgba(18, 36, 77, 0.05);
  border: 1px solid var(--dci-line);
  transition: transform 0.25s ease;
}

.dci-canvas-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(18, 36, 77, 0.1);
}

.dci-canvas-ribbon {
  position: absolute;
  top: -12px;
  left: 20px;
  font-family: var(--dci-font-head);
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  background: var(--dci-navy);
  padding: 4px 14px;
  border-radius: 4px;
}

.dci-canvas-card.gold .dci-canvas-ribbon {
  background: var(--dci-gold);
}

.dci-canvas-card h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dci-navy);
  margin: 14px 0 8px;
}

.dci-canvas-card p {
  font-size: 13.5px;
  color: var(--dci-text-dim);
  line-height: 1.6;
}

/* 5 Mục tiêu cuộc đời */
.dci-goals-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.dci-goal-item {
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--dci-line);
  border-radius: 12px;
  padding: 28px 16px;
  transition: transform 0.25s ease;
}

.dci-goal-item:hover {
  transform: translateY(-4px);
  border-color: var(--dci-gold);
}

.dci-goal-item .goal-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--dci-navy);
  color: var(--dci-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}

.dci-goal-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dci-navy);
}

/* Con số DCI */
.dci-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.dci-stat-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 34px 20px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(18, 36, 77, 0.06);
  border: 1px solid var(--dci-line);
}

.dci-stat-num {
  font-family: var(--dci-font-head);
  font-weight: 800;
  font-size: 38px;
  color: var(--dci-navy);
  line-height: 1;
  margin-bottom: 8px;
}

.dci-stat-num span {
  color: var(--dci-orange);
}

.dci-stat-lbl {
  font-size: 14px;
  color: var(--dci-text-dim);
  font-weight: 600;
}

/* ==========================================================================
   2. PAGE LIÊN HỆ (CONTACT)
   ========================================================================== */
.dci-quick-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: -46px;
  position: relative;
  z-index: 10;
}

.dci-qcard {
  background: #ffffff;
  border: 1px solid var(--dci-line);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(16, 20, 119, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dci-qcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(16, 20, 119, 0.14);
}

.dci-qcard .qicon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dci-bg-cream);
  color: var(--dci-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  border: 1px solid var(--dci-gold-soft);
}

.dci-qcard h4 {
  font-size: 16px;
  color: var(--dci-navy);
  font-weight: 800;
  margin-bottom: 8px;
}

.dci-qcard p {
  font-size: 13.5px;
  color: var(--dci-text-dim);
  line-height: 1.5;
}

.dci-contact-main {
  padding: 90px 0 70px;
}

.dci-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.dci-contact-form-block {
  background: #ffffff;
  border: 1px solid var(--dci-line);
  border-radius: 14px;
  padding: 38px 36px;
  box-shadow: 0 10px 30px rgba(18, 36, 77, 0.05);
}

.dci-contact-form-block h2 {
  font-family: var(--dci-font-head);
  font-size: 26px;
  color: var(--dci-navy);
  font-weight: 800;
  margin-bottom: 8px;
}

.dci-contact-form-block .lead {
  font-size: 14.5px;
  color: var(--dci-text-dim);
  margin-bottom: 28px;
}

.dci-field-group {
  margin-bottom: 18px;
}

.dci-field-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dci-navy);
  margin-bottom: 7px;
}

.dci-field-group input,
.dci-field-group select,
.dci-field-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dbe2ea;
  border-radius: 6px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--dci-ink);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dci-field-group input:focus,
.dci-field-group select:focus,
.dci-field-group textarea:focus {
  outline: none;
  border-color: var(--dci-orange);
  box-shadow: 0 0 0 3px rgba(238, 140, 28, 0.15);
}

.dci-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dci-contact-info-block {
  background: var(--dci-bg-cream);
  border-radius: 14px;
  padding: 34px 30px;
  border: 1px solid var(--dci-line);
}

.dci-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.dci-info-row:last-child {
  margin-bottom: 0;
}

.dci-info-row .ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dci-navy);
  color: var(--dci-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dci-info-row strong {
  display: block;
  font-size: 15px;
  color: var(--dci-navy);
  margin-bottom: 4px;
}

.dci-info-row span {
  font-size: 14px;
  color: var(--dci-text-dim);
  line-height: 1.5;
}

.dci-social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.dci-social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dci-line);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--dci-navy);
  transition: all 0.2s ease;
}

.dci-social-row a:hover {
  background: var(--dci-navy);
  color: #ffffff;
  border-color: var(--dci-navy);
}

.dci-contact-map {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dci-line);
  box-shadow: 0 6px 18px rgba(18, 36, 77, 0.05);
}

/* FAQ Accordion */
.dci-faq-sec {
  background: #f8fafc;
  padding: 80px 0;
  border-top: 1px solid #eef2f6;
}

.dci-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px 26px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.dci-faq-item.open {
  border-color: var(--dci-navy);
  box-shadow: 0 4px 16px rgba(16, 20, 119, 0.06);
}

.dci-faq-item .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--dci-navy);
  font-weight: 700;
  user-select: none;
}

.dci-faq-item .faq-q .icon-toggle {
  font-size: 20px;
  color: var(--dci-orange);
  font-weight: 700;
}

.dci-faq-item .faq-a {
  font-size: 14.5px;
  color: var(--dci-text-dim);
  margin-top: 14px;
  display: none;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.dci-faq-item.open .faq-a {
  display: block;
}

/* ==========================================================================
   3. PAGE DANH SÁCH GIẢNG VIÊN (INSTRUCTORS LIST)
   ========================================================================== */
.dci-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 38px 0 10px;
  margin-bottom: 45px;
  border-bottom: 1px solid #e2e8f0;
}

.dci-filter-btn {
  background: none;
  border: 1.5px solid #cbd5e1;
  color: var(--dci-text-dim);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dci-filter-btn.active,
.dci-filter-btn:hover {
  background: var(--dci-navy);
  border-color: var(--dci-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 20, 119, 0.2);
}

.dci-instructors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 85px;
}

.dci-instructor-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.dci-instructor-card:hover {
  box-shadow: 0 16px 36px rgba(16, 20, 119, 0.12);
  transform: translateY(-4px);
  border-color: #cbd5e1;
}

.dci-instructor-card .card-photo {
  aspect-ratio: 3/4;
  background: #eef1f5;
  position: relative;
  overflow: hidden;
}

.dci-instructor-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.dci-instructor-card:hover .card-photo img {
  transform: scale(1.05);
}

.dci-instructor-card .card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dci-orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dci-instructor-card .card-body {
  padding: 22px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dci-instructor-card h3 {
  color: var(--dci-navy);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.dci-instructor-card .role {
  color: var(--dci-orange);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dci-instructor-card .desc {
  color: var(--dci-text-dim);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.dci-instructor-card .card-link {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--dci-navy);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dci-instructor-card .card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.dci-instructor-card:hover .card-link::after {
  transform: translateX(4px);
}

/* ==========================================================================
   4. PAGE CHI TIẾT GIẢNG VIÊN (INSTRUCTOR PROFILE)
   ========================================================================== */
.dci-profile-hero {
  background: linear-gradient(145deg, var(--dci-navy-dark) 0%, var(--dci-navy) 60%, var(--dci-navy-2) 100%);
  color: #ffffff;
  padding: 65px 0 75px;
  position: relative;
  overflow: hidden;
}

.dci-profile-hero-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 50px;
  align-items: center;
}

.dci-profile-avatar {
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  background: #1d2b45;
}

.dci-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.dci-profile-role-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: var(--dci-gold-light);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.dci-profile-hero h1 {
  font-family: var(--dci-font-head);
  font-size: clamp(30px, 4vw, 42px);
  color: #ffffff !important;
  font-weight: 800;
  margin-bottom: 8px;
}

.dci-profile-hero .hero-title {
  color: var(--dci-gold-light);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

.dci-profile-hero .hero-sub {
  color: #d1d9e6;
  font-size: 15.5px;
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.dci-profile-stats-strip {
  background: var(--dci-bg-cream);
  padding: 34px 0;
  border-bottom: 1px solid var(--dci-line);
}

.dci-profile-stats-grid {
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-wrap: wrap;
  gap: 24px;
}

.dci-profile-stats-grid .stat-item strong {
  display: block;
  font-family: var(--dci-font-head);
  font-size: 30px;
  color: var(--dci-navy);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.dci-profile-stats-grid .stat-item span {
  font-size: 14px;
  color: var(--dci-text-dim);
  font-weight: 600;
}

.dci-profile-section {
  padding: 70px 0;
}

.dci-profile-section.soft-bg {
  background: var(--dci-bg-cream);
}

.dci-profile-section h2 {
  font-family: var(--dci-font-head);
  font-size: 26px;
  color: var(--dci-navy);
  font-weight: 800;
  margin-bottom: 22px;
}

.dci-bio-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--dci-ink);
  margin-bottom: 18px;
  max-width: 820px;
}

.dci-achieve-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
  margin-top: 10px;
}

.dci-achieve-list li {
  font-size: 15px;
  padding-left: 28px;
  position: relative;
  color: var(--dci-ink);
  line-height: 1.5;
}

.dci-achieve-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--dci-orange);
  font-weight: 800;
  font-size: 18px;
}

.dci-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dci-course-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(18, 36, 77, 0.05);
  transition: transform 0.25s ease;
}

.dci-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(18, 36, 77, 0.1);
}

.dci-course-card .course-thumb {
  aspect-ratio: 16/10;
  background: #eef2f6;
  position: relative;
  overflow: hidden;
}

.dci-course-card .course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dci-course-card .course-body {
  padding: 22px;
}

.dci-course-card h4 {
  font-size: 16.5px;
  color: var(--dci-navy);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.dci-course-card .meta {
  font-size: 13px;
  color: var(--dci-text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dci-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.dci-testi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 6px 20px rgba(18, 36, 77, 0.04);
}

.dci-testi-card p.quote {
  font-size: 15px;
  font-style: italic;
  color: var(--dci-ink);
  line-height: 1.65;
  margin-bottom: 18px;
}

.dci-testi-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dci-testi-card .who-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  overflow: hidden;
}

.dci-testi-card .who-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dci-testi-card .who-info strong {
  display: block;
  font-size: 14.5px;
  color: var(--dci-navy);
}

.dci-testi-card .who-info span {
  font-size: 13px;
  color: var(--dci-text-dim);
}

/* ==========================================================================
   5. PAGE DANH SÁCH CẢM NHẬN HỌC VIÊN (TESTIMONIALS LIST)
   ========================================================================== */
.dci-camnhan-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.dci-camnhan-stats .stat-item strong {
  display: block;
  font-family: var(--dci-font-head);
  font-size: 28px;
  color: var(--dci-gold-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.dci-camnhan-stats .stat-item span {
  font-size: 13px;
  color: #c9d2e8;
}

.dci-camnhan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 45px;
}

.dci-camnhan-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dci-camnhan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(16, 20, 119, 0.12);
}

.dci-camnhan-card .story-photo {
  aspect-ratio: 16/10;
  background: #eef1f5;
  position: relative;
  overflow: hidden;
}

.dci-camnhan-card .story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dci-camnhan-card:hover .story-photo img {
  transform: scale(1.05);
}

.dci-camnhan-card .topic-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dci-orange);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 2;
}

.dci-camnhan-card .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 20, 119, 0.35);
  color: #ffffff;
  font-size: 32px;
  transition: background 0.2s ease;
}

.dci-camnhan-card:hover .play-btn {
  background: rgba(16, 20, 119, 0.2);
}

.dci-camnhan-card .story-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dci-camnhan-card .story-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--dci-ink);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 70px;
}

.dci-camnhan-card .who-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.dci-camnhan-card .who-wrap .dot-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
}

.dci-camnhan-card .who-wrap .dot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dci-camnhan-card .who-wrap strong {
  display: block;
  font-size: 14px;
  color: var(--dci-navy);
}

.dci-camnhan-card .who-wrap span {
  font-size: 12.5px;
  color: var(--dci-text-dim);
}

.dci-camnhan-card .readmore {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--dci-navy);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dci-camnhan-card .readmore::after {
  content: "→";
  transition: transform 0.2s ease;
}

.dci-camnhan-card:hover .readmore::after {
  transform: translateX(4px);
}

.dci-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 85px;
}

.dci-pagination a,
.dci-pagination span {
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  color: var(--dci-text-dim);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dci-pagination a.active,
.dci-pagination span.current {
  background: var(--dci-navy);
  color: #ffffff;
  border-color: var(--dci-navy);
}

.dci-pagination a:hover:not(.active) {
  background: #f1f5f9;
  color: var(--dci-navy);
}

/* ==========================================================================
   6. PAGE CHI TIẾT CẢM NHẬN HỌC VIÊN (STORY DETAIL)
   ========================================================================== */
.dci-story-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.dci-story-hero {
  padding: 36px 0 28px;
}

.dci-story-topic {
  display: inline-block;
  background: var(--dci-orange);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.dci-story-hero h1 {
  font-family: var(--dci-font-head);
  font-size: clamp(26px, 3.8vw, 36px);
  color: var(--dci-navy);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 24px;
}

.dci-story-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.dci-story-byline .avatar-lg {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #e2e8f0;
}

.dci-story-byline .avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dci-story-byline strong {
  display: block;
  font-size: 16px;
  color: var(--dci-navy);
  margin-bottom: 2px;
}

.dci-story-byline span {
  font-size: 13.5px;
  color: var(--dci-text-dim);
}

.dci-story-media {
  margin: 36px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 20, 119, 0.1);
  position: relative;
}

.dci-story-media .frame-wrap {
  aspect-ratio: 16/9;
  background: #0f172a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dci-story-media .frame-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dci-story-media .frame-play {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(238, 140, 28, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.dci-story-media .frame-play:hover {
  transform: scale(1.1);
  background: var(--dci-orange);
}

.dci-story-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--dci-ink);
}

.dci-story-content p {
  margin-bottom: 22px;
}

.dci-pull-quote {
  border-left: 4px solid var(--dci-orange);
  background: #fdfbf7;
  padding: 24px 30px;
  margin: 40px 0;
  font-family: var(--dci-font-head);
  font-style: italic;
  font-size: 21px;
  color: var(--dci-navy);
  line-height: 1.55;
  border-radius: 0 10px 10px 0;
}

/* Hồ sơ học viên Info-Box */
.dci-info-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 48px 0;
  box-shadow: 0 10px 28px rgba(16, 20, 119, 0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
}

.dci-info-box .info-photo {
  background: linear-gradient(135deg, var(--dci-navy-dark), var(--dci-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dci-info-box .info-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dci-info-box .info-content {
  padding: 30px 32px;
}

.dci-info-box .info-label {
  font-size: 11.5px;
  color: var(--dci-orange);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dci-info-box h3 {
  font-family: var(--dci-font-head);
  font-size: 20px;
  color: var(--dci-navy);
  font-weight: 800;
  margin-bottom: 16px;
}

.dci-info-box .info-row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.dci-info-box .info-row:last-child {
  border-bottom: none;
}

.dci-info-box .info-row span:first-child {
  color: var(--dci-text-dim);
}

.dci-info-box .info-row span:last-child {
  color: var(--dci-navy);
  font-weight: 700;
  text-align: right;
}

.dci-story-share {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 20px;
}

.dci-story-share span {
  font-size: 14px;
  color: var(--dci-text-dim);
  font-weight: 700;
}

.dci-story-share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--dci-navy);
  transition: all 0.2s ease;
}

.dci-story-share a:hover {
  background: var(--dci-navy);
  color: #ffffff;
  border-color: var(--dci-navy);
}

/* Related stories */
.dci-related-section {
  background: var(--dci-bg-cream);
  padding: 70px 0;
  border-top: 1px solid var(--dci-line);
}

.dci-related-section h2 {
  font-family: var(--dci-font-head);
  font-size: 26px;
  color: var(--dci-navy);
  font-weight: 800;
  margin-bottom: 28px;
}

.dci-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dci-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dci-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(16, 20, 119, 0.08);
}

.dci-related-card .rel-photo {
  aspect-ratio: 16/10;
  background: #eef1f5;
  overflow: hidden;
}

.dci-related-card .rel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dci-related-card .rel-body {
  padding: 20px;
}

.dci-related-card p {
  font-size: 14px;
  font-style: italic;
  color: var(--dci-ink);
  margin-bottom: 12px;
  min-height: 52px;
  line-height: 1.55;
}

.dci-related-card strong {
  font-size: 13.5px;
  color: var(--dci-navy);
  display: block;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
  .dci-about-hero-grid,
  .dci-phi-grid,
  .dci-mv-grid,
  .dci-contact-grid,
  .dci-profile-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dci-instructors-grid,
  .dci-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dci-camnhan-grid,
  .dci-courses-grid,
  .dci-related-grid,
  .dci-canvas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dci-quick-cards {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }

  .dci-goals-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .dci-instructors-grid,
  .dci-camnhan-grid,
  .dci-courses-grid,
  .dci-related-grid,
  .dci-canvas-grid,
  .dci-stats-grid,
  .dci-testi-grid,
  .dci-quick-cards,
  .dci-field-row,
  .dci-achieve-list,
  .dci-goals-row {
    grid-template-columns: 1fr;
  }

  .dci-info-box {
    grid-template-columns: 1fr;
  }

  .dci-info-box .info-photo {
    aspect-ratio: 16/9;
  }

  .dci-profile-avatar {
    width: 180px;
    margin: 0 auto;
  }

  .dci-profile-hero-grid {
    text-align: center;
  }

  .dci-profile-stats-grid {
    justify-content: center;
  }

  .dci-page-hero h1 {
    font-size: 28px;
  }

  .dci-contact-form-block {
    padding: 24px 20px;
  }
}

/* Ảnh hero giảng viên trong Theme Builder: luôn vuông, cắt theo mặt người */
.dci-hero-photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  width: 100%;
  border-radius: 50%;
}

/* Trang Giới thiệu dựng bằng Divi Builder: mỗi block nằm trong Divi section + code module -> bỏ khung/nền/padding mặc định của Divi */
body .et_pb_section.et_pb_section:has(.dci-page-gioi-thieu),
body:not(.home) .et_pb_section_0.et_pb_section:first-of-type:has(.dci-page-gioi-thieu) {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
body .et_pb_section:has(.dci-page-gioi-thieu)::before { display: none !important; }
body .et_pb_section.et_pb_section:has(.dci-page-gioi-thieu) .et_pb_row.et_pb_row {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}
body .et_pb_section:has(.dci-page-gioi-thieu) .et_pb_column,
body .et_pb_section:has(.dci-page-gioi-thieu) .et_pb_code,
body .et_pb_section:has(.dci-page-gioi-thieu) .et_pb_code_inner {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Bỏ bóng chữ do rule banner đầu trang áp nhầm vào section đầu tiên của trang Giới thiệu */
body:not(.home) .et_pb_section_0:first-of-type .dci-page-gioi-thieu h1,
body:not(.home) .et_pb_section_0:first-of-type .dci-page-gioi-thieu p,
body .dci-page-gioi-thieu h1,
body .dci-page-gioi-thieu p { text-shadow: none !important; }

/* Trang Liên hệ dựng bằng Divi Builder (cùng cơ chế trang Giới thiệu) */
body .et_pb_section.et_pb_section:has(.dci-page-lien-he),
body:not(.home) .et_pb_section_0.et_pb_section:first-of-type:has(.dci-page-lien-he) {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
body .et_pb_section:has(.dci-page-lien-he)::before { display: none !important; }
body .et_pb_section.et_pb_section:has(.dci-page-lien-he) .et_pb_row.et_pb_row {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}
body .et_pb_section:has(.dci-page-lien-he) .et_pb_column,
body .et_pb_section:has(.dci-page-lien-he) .et_pb_code,
body .et_pb_section:has(.dci-page-lien-he) .et_pb_code_inner {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Hero (.dci-page-hero) nằm trong khối riêng: không để padding/nền banner của section đầu tiên chen vào */
body .dci-page-lien-he h1,
body .dci-page-lien-he p { text-shadow: none !important; }
