/*
Theme Name:   Quang Phan Child
Theme URI:    https://quangphanacademy.vn
Description:  Child theme cua Astra cho Quang Phan Academy (LearnPress). Dua tren kien truc astra-child cua duongk.vn.
Author:       Quang Phan Academy
Template:     astra
Version:      1.0.20
Text Domain:  quangphan-child
*/

/* ==============================================================
   MỤC LỤC
   --------------------------------------------------------------
    1. Design tokens (biến màu)
    2. Base / reset
    3. Layout: container, khoảng cách, lưới, khung trang
    4. Thành phần dùng chung: nút, thẻ, chip/tab, chữ, breadcrumb,
       ảnh chân dung, icon box, feedback, tiêu đề trang
    5. Hộp CTA cuối trang
    6. Header / thanh điều hướng (+ menu mobile)
    7. Footer
    8. Thẻ khóa học, bảng giá, đánh giá sao (functions.php)
    9. Chuyển động: reveal, trễ hiệu ứng, floating
   10. Trang Chủ (page-quangphan-home.php)
   11. Trang Khóa học (list-courses-template.php)
   12. Chi tiết khóa học (learnpress/content-single-course.php)
   13. Trang Về thầy Quang (page-quangphan-about.php)
   14. Trang Feedback (page-quangphan-feedback.php)
   15. Trang Đăng nhập / Đăng ký (page-quangphan-login.php)
   16. Trạng thái (is-hidden ...)

   QUY ƯỚC
   - Không viết style="" trực tiếp trong template PHP: mọi kiểu dáng
     nằm ở file này, đặt tên class theo BEM rút gọn:
       <trang|thành-phần>__<phần-tử>   ví dụ: home-hero__title
       <thành-phần>--<biến-thể>        ví dụ: qp-section--gray
   - Tiền tố: qp-* dùng chung nhiều trang | home-/about-/feedback-/
     courses-/detail-/login-* dành riêng từng trang | pad-* = khoảng
     đệm của container (số = trên / ngang / dưới, đơn vị px).
   - Selector luôn có tiền tố .qp (hoặc .container.<class>) để độ ưu
     tiên cao hơn CSS mặc định của Astra và mobile.css.
   - Ngoại lệ DUY NHẤT còn inline: độ rộng % thanh tiến độ bài học
     (learnpress/content-single-item.php) vì là giá trị tính động.
   - Responsive nằm ở assets/css/mobile.css; giao diện bài học / khóa
     học / hồ sơ LearnPress nằm ở assets/css/learnpress-*.css.
   ============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==============================================================
   1. DESIGN TOKENS
   Biến màu dùng toàn site. Đổi màu thương hiệu tại đây.
   ============================================================== */

:root {
  --navy:#002342;
  --navy2:#01315C;
  --blue:#0073B9;
  --blue-dark:#01598F;
  --gray-bg:#F5F7F8;
  --white:#FFFFFF;
  --text:#1F2426;
  --text2:#5B6670;
  --mint:#E1F5E6;
  --mint-text:#1F7A3D;
  --gold:#F2C230;
  --green:#2FBC97;
  --step1:#0073B9;
  --step2:#14A7C9;
  --step3:#2FBC97;
  --step4:#79C143;
  --step5:#F5C518;
  --step6:#F4941E;
  --step7:#EA5B2E;
  --border:#E3E8EB;
}


/* ==============================================================
   2. BASE / RESET
   Reset nhẹ, chỉ áp dụng trong .qp để không làm vỡ admin / Astra.
   ============================================================== */

.ast-container {
  max-width: 100%;
  padding:unset;
}

body {
  background:var(--white);
  color:var(--text);
  font-family:'Plus Jakarta Sans',system-ui,sans-serif;
}

.qp h1,
.qp h2,
.qp h3,
.qp h4,
#learn-press-profile h1,
#learn-press-profile h2,
#learn-press-profile h3 {
  font-family:'Plus Jakarta Sans',system-ui,sans-serif;
  margin:0;
  font-weight:800;
  letter-spacing:-0.01em;
}

.qp img {
  max-width:100%;
  display:block;
}

.qp a {
  color:var(--blue);
  text-decoration:none;
}

.qp a:hover {
  color:var(--blue-dark);
}


/* ==============================================================
   3. LAYOUT
   3.1 Container  3.2 Khoảng đệm container (pad-*)  3.3 Nền section & khung trang  3.4 Lưới
   ============================================================== */

/* 3.1 Container */

.qp .container {
  max-width:1200px;
  margin:0 auto;
}


/* 3.2 + 3.3 Khoảng đệm, nền section, khung trang */

/* Padding container: trên 0 / ngang 40 / dưới 100 */
.qp .container.pad-0-40-100 {
  padding:0 40px 100px;
}

/* Padding container: trên 24 / ngang 40 / dưới 100 */
.qp .container.pad-24-40-100 {
  padding:24px 40px 100px;
}

/* Padding container: trên 24 / ngang 40 / dưới 96 */
.qp .container.pad-24-40-96 {
  padding:24px 40px 96px;
}

/* Nền xanh navy cho cả section */
.qp .qp-section--navy {
  background:var(--navy);
}

/* Nền xám nhạt cho cả section */
.qp .qp-section--gray {
  background:var(--gray-bg);
}

/* Khung nền trang con (Khóa học, Feedback): nền xám, cao tối thiểu 60vh */
.qp .qp-page-shell {
  background:var(--gray-bg);
  min-height:60vh;
}

/* Dải hero nền navy (Trang chủ, Về thầy Quang) */
.qp .qp-hero {
  background:var(--navy);
  position:relative;
  overflow:hidden;
}

/* Cắt phần nội dung tràn (thẻ có ảnh bo góc) */
.qp .qp-overflow-hidden {
  overflow:hidden;
}

/* Chiếm hết phần rộng còn lại trong flex row */
.qp .qp-fill {
  flex:1;
}

/* Lật dọc đường viền răng cưa .torn */
.qp .qp-torn--flip {
  transform:scaleY(-1);
}

/* 3.4 Lưới */

.qp .grid-3 {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.qp .grid-2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.qp .hero-grid {
  display:grid;
  grid-template-columns:1fr 460px;
  gap:64px;
  align-items:center;
}

.qp .about-grid {
  display:grid;
  grid-template-columns:420px 1fr;
  gap:56px;
  align-items:center;
}

.qp .detail-grid {
  display:grid;
  grid-template-columns:1fr 380px;
  gap:56px;
  align-items:start;
}

.qp .footer-grid {
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
}

.qp .text-center {
  text-align:center;
}

.qp .mx-auto {
  margin-left:auto;
  margin-right:auto;
}


/* ==============================================================
   4. THÀNH PHẦN DÙNG CHUNG
   ============================================================== */

/* 4.1 Nút */

.qp .btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:16px 30px;
  border-radius:999px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  border:2px solid transparent;
  font-family:'Plus Jakarta Sans',sans-serif;
  white-space:nowrap;
  transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease,color .22s ease,border-color .22s ease;
}

.qp .btn-primary {
  background:var(--blue);
  color:var(--white);
}

.qp .btn-primary:hover {
  background:var(--blue-dark);
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,115,185,0.35);
  color:var(--white);
}

.qp .btn-white {
  background:var(--white);
  color:var(--navy);
}

.qp .btn-white:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,0.18);
  color:var(--navy);
}

.qp .btn-outline-white {
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,0.55);
}

.qp .btn-outline-white:hover {
  background:rgba(255,255,255,0.12);
  border-color:rgba(255,255,255,0.85);
  transform:translateY(-2px);
  color:var(--white);
}

.qp .btn-outline {
  background:transparent;
  color:var(--navy);
  border-color:var(--border);
}

.qp .btn-outline:hover {
  border-color:var(--navy);
  background:var(--gray-bg);
}

.qp .btn-ghost {
  background:transparent;
  color:var(--navy);
  border:1.5px solid var(--border);
}

.qp .btn-ghost:hover {
  border-color:var(--navy);
  background:#F5F7F8;
}

.qp .btn-block {
  width:100%;
}

/* 4.2 Thẻ & phần tử cơ bản */

.qp .card {
  background:var(--white);
  border-radius:16px;
  box-shadow:0 2px 10px rgba(0,35,66,0.08);
  transition:transform .28s ease,box-shadow .28s ease;
}

.qp .card:hover {
  transform:translateY(-6px);
  box-shadow:0 16px 32px rgba(0,35,66,0.16);
}

.qp .card-flat {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:16px;
}

.qp .eyebrow {
  color:var(--blue);
  font-weight:700;
  font-size:13px;
  letter-spacing:0.09em;
  text-transform:uppercase;
}

.qp .badge-pill {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 16px;
  border-radius:999px;
  background:rgba(255,255,255,0.12);
  color:var(--white);
  font-size:12px;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.qp .badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 14px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--white);
}

.qp .torn {
  display:block;
  width:100%;
  height:44px;
  margin-bottom:-1px;
}

/* 4.3 Chip lọc & tab */

.qp .filter-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.qp .chip-row {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.qp .chip {
  padding:11px 20px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  color:var(--text2);
  border:1.5px solid var(--border);
  cursor:pointer;
  background:var(--white);
  transition:all .2s ease;
}

.qp .chip:hover {
  border-color:var(--navy);
  color:var(--navy);
}

.qp .chip.active {
  background:var(--navy);
  color:var(--white);
  border-color:var(--navy);
}

.qp .chip.active:hover {
  color:var(--white);
}

.qp .tab-row {
  display:flex;
  align-items:center;
  gap:32px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.qp .tab {
  padding:16px 4px;
  font-weight:700;
  font-size:14px;
  color:var(--text2);
  border-bottom:3px solid transparent;
  cursor:pointer;
  white-space:nowrap;
  flex-shrink:0;
  transition:color .2s ease,border-color .2s ease;
}

.qp .tab:not(.active):hover {
  color:var(--navy);
}

.qp .tab.active {
  color:var(--navy);
  border-bottom-color:var(--blue);
}

/* 4.4 Helper chữ / khoảng cách */

/* Màu chữ nội dung chính */
.qp .qp-text-body {
  color:var(--text);
}

/* Màu chữ phụ (xám) */
.qp .qp-text-muted,
.qp a.qp-text-muted {
  color:var(--text2);
}

/* Màu chữ navy */
.qp .qp-text-navy,
.qp a.qp-text-navy {
  color:var(--navy);
}

/* Màu chữ trắng */
.qp .qp-text-white {
  color:var(--white);
}

/* Chú thích nhỏ: xám 13px (ngày khai giảng, meta gói học) */
.qp .qp-caption {
  color:var(--text2);
  font-size:13px;
  margin-top:2px;
}

/* Eyebrow: cách dưới 14px */
.qp .eyebrow--mb14 {
  margin-bottom:14px;
}

/* Eyebrow: cách dưới 12px */
.qp .eyebrow--mb12 {
  margin-bottom:12px;
}

/* Eyebrow: cách dưới 4px */
.qp .eyebrow--mb4 {
  margin-bottom:4px;
}


/* -- 4.5 Breadcrumb -- */

/* Breadcrumb trên nền tối (chi tiết khóa học, Về thầy Quang) */
.qp .qp-crumb {
  color:rgba(255,255,255,0.55);
  font-size:13px;
  margin-bottom:18px;
}

/* Link trong breadcrumb nền tối */
.qp a.qp-crumb__link {
  color:rgba(255,255,255,0.55);
}

/* Breadcrumb trên nền sáng (Feedback) */
.qp .qp-crumb--light {
  color:var(--text2);
  font-size:13px;
  margin-bottom:18px;
}


/* -- 4.6 Ảnh chân dung & placeholder ảnh -- */

/* Khung ảnh chân dung vuông 1:1 (section giới thiệu) */
.qp .qp-portrait {
  width:100%;
  aspect-ratio:1/1;
  border-radius:20px;
  background:linear-gradient(160deg,#EFF6FB,var(--white));
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

/* Ảnh lấp đầy khung, cắt giữ tỉ lệ */
.qp .qp-photo-img {
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Ảnh full chiều ngang, giữ nguyên tỉ lệ gốc */
.qp .qp-photo-img--natural {
  width:100%;
  display:block;
}

/* Chữ placeholder đặt đáy khung ảnh (nền sáng) */
.qp .qp-photo-caption {
  position:absolute;
  bottom:16px;
  left:16px;
  right:16px;
  text-align:center;
  color:var(--text2);
  font-size:12px;
}


/* -- 4.7 Icon box & chữ trong thẻ -- */

/* Ô icon vuông 48px nền xanh nhạt đầu thẻ */
.qp .qp-icon-box {
  width:48px;
  height:48px;
  border-radius:10px;
  background:#EFF6FB;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}

/* Tiêu đề thẻ (thẻ vấn đề, thẻ triết lý) */
.qp .qp-card__title {
  font-weight:700;
  font-size:17px;
  color:var(--navy);
  margin-bottom:8px;
}

/* Mô tả trong thẻ */
.qp .qp-card__text {
  color:var(--text2);
  font-size:14px;
  line-height:1.7;
}

/* Đoạn giới thiệu cuối, cách dưới 24px (Trang chủ + Về thầy Quang) */
.qp .qp-bio-text {
  color:var(--text2);
  font-size:15px;
  line-height:1.8;
  margin-bottom:24px;
}


/* -- 4.8 Thẻ rỗng & tiêu đề trang con -- */

/* Thẻ thông báo "không có kết quả" */
.qp .qp-empty-card {
  padding:40px;
  text-align:center;
  color:var(--text2);
}

/* Đoạn mô tả dưới tiêu đề trang (Khóa học, Feedback) */
.qp .qp-page-head__lead {
  color:var(--text2);
  font-size:16px;
  max-width:640px;
  line-height:1.7;
}

/* H1 tiêu đề trang (Khóa học, Feedback) */
.qp .qp-page-head__title {
  font-size:36px;
  color:var(--navy);
  margin-bottom:12px;
}


/* -- 4.9 Feedback (testimonial) -- */

/* Hàng sao 5 sao của feedback */
.qp .qp-testimonial__stars {
  color:var(--gold);
  font-size:14px;
  margin-bottom:14px;
}

/* Nội dung trích dẫn feedback */
.qp .qp-testimonial__quote {
  color:var(--text2);
  font-size:14px;
  line-height:1.7;
  margin-bottom:20px;
}

/* Tên học viên trong feedback */
.qp .qp-testimonial__name {
  font-weight:700;
  font-size:14px;
  color:var(--navy);
}

/* Chương trình/vai trò của học viên */
.qp .qp-testimonial__role {
  color:var(--text2);
  font-size:12px;
}

/* Thẻ có padding 28px (thẻ vấn đề, thẻ feedback) */
.qp .qp-card--pad {
  padding:28px;
}


/* ==============================================================
   5. HỘP CTA CUỐI TRANG
   Dùng ở Trang chủ, Về thầy Quang, Feedback: .cta-box > .qp-cta__body + nút.
   ============================================================== */

.qp .container.container-cta-box {
  padding:64px 40px 100px;
}

.qp .cta-box {
  background:var(--navy);
  border-radius:24px;
  padding:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}


/* Khối chữ bên trái hộp CTA */
.qp .qp-cta__body {
  max-width:560px;
}

/* Tiêu đề hộp CTA */
.qp .qp-cta__title {
  font-size:28px;
  color:var(--white);
  line-height:1.3;
  margin-bottom:14px;
}

/* Đoạn mô tả hộp CTA */
.qp .qp-cta__text {
  color:rgba(255,255,255,0.7);
  font-size:15px;
  line-height:1.7;
}

/* Nút lớn của hộp CTA */
.qp a.qp-cta__btn {
  padding:18px 34px;
  font-size:16px;
  flex-shrink:0;
}

/* Logo AQ Academy trong ô vuông thương hiệu (header, login) */
.qp-nav-logo img,
.qp .qp-footer__logo img {
  width:78%;
  height:78%;
  object-fit:contain;
  display:block;
}


/* ==============================================================
   6. HEADER / THANH ĐIỀU HƯỚNG
   Header nằm trong header.php và lặp lại trong các page template độc lập.
   ============================================================== */

/* Link logo + tên thương hiệu */
.qp-nav-brand a {
  display:flex;
  align-items:center;
  gap:10px;
}

.qp-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 40px;
  border-bottom:1px solid var(--border);
  background:var(--white);
  position:relative;
  z-index:50;
}

.qp-nav-brand {
  display:flex;
  align-items:center;
  gap:10px;
}

.qp-nav-logo {
  width:34px;
  height:34px;
  border-radius:6px;
  background:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:var(--white);
  font-size:16px;
  flex-shrink:0;
}

.qp-nav-wordmark {
  font-weight:800;
  font-size:19px;
  color:var(--navy);
}

.qp-nav-menu {
  display:flex;
  align-items:center;
  gap:36px;
  list-style:none;
  margin:0;
  padding:0;
}

.qp-nav-menu li {
  display:inline-flex;
}

.qp-nav-actions {
  display:flex;
  align-items:center;
  gap:14px;
}

.qp-nav-menu li a,
.qp-nav-link {
  position:relative;
  color:var(--text2);
  font-weight:700;
  font-size:15px;
  transition:color .2s ease;
}

.qp-nav-menu li a::after,
.qp-nav-link::after {
  content:'';
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--blue);
  transition:width .25s ease;
}

.qp-nav-menu li a:hover,
.qp-nav-link:hover {
  color:var(--navy);
}

.qp-nav-menu li a:hover::after,
.qp-nav-link:hover::after {
  width:100%;
}

.qp-nav-menu .current-menu-item > a,
.qp-nav-menu .current_page_item > a {
  color:var(--navy);
}

.qp-nav-burger {
  display:none;
  width:40px;
  height:40px;
  border-radius:8px;
  border:1px solid var(--border);
  align-items:center;
  justify-content:center;
  background:none;
  cursor:pointer;
}

/* .qp-nav-burger la flex container (align-items/justify-content:center) va
   <span> ben trong hoan toan rong (khong text, khong con in-flow — before/after
   la position:absolute nen khong tinh vao content). Voi 1 flex item rong nhu
   vay, engine tinh flex-basis:auto ve 0 bat ke da khai bao width:18px, khien
   thanh giua cua icon hamburger bien mat, chi con lai 2 gach (before/after,
   vi 2 cai do dung position:absolute nen khong bi flex chi phoi). Fix: khoa
   kich thuoc that su bang flex:0 0 18px (thay vi chi dua vao width) de flex
   khong duoc phep tinh lai kich thuoc ve 0. */

.qp-nav-burger span,
.qp-nav-burger span::before,
.qp-nav-burger span::after {
  content:'';
  display:block;
  width:18px;
  height:2px;
  background:var(--navy);
  position:relative;
}

.qp-nav-burger span {
  flex:0 0 18px;
}

.qp-nav-burger span::before {
  position:absolute;
  top:-6px;
}

.qp-nav-burger span::after {
  position:absolute;
  top:6px;
}

.qp-mobile-menu {
  display:none;
}


/* ==============================================================
   7. FOOTER
   Bố cục 4 cột (.footer-grid ở mục 3.4). Markup lặp ở footer.php và các page template.
   ============================================================== */

.qp-footer {
  background:var(--navy);
  padding:56px 40px 36px;
}

.qp-footer a {
  color:rgba(255,255,255,0.65);
}

.qp-footer a:hover {
  color:var(--white);
}


/* Logo + tên thương hiệu ở cột đầu */
.qp .qp-footer__brand {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}

/* Ô logo chữ Q */
.qp .qp-footer__logo {
  width:32px;
  height:32px;
  border-radius:7px;
  background:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:var(--navy);
  font-size:14px;
}

/* Chữ QUANG PHAN */
.qp .qp-footer__brand-name {
  font-weight:800;
  font-size:16px;
  color:var(--white);
}

/* Đoạn mô tả học viện */
.qp .qp-footer__about {
  color:rgba(255,255,255,0.55);
  font-size:13px;
  line-height:1.8;
}

/* Tên công ty + MST — nằm dưới mô tả học viện trong cột đầu (AQ ACADEMY) */
.qp .qp-footer__company {
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:12.5px;
  color:rgba(255,255,255,0.5);
}

/* Tiêu đề mỗi cột */
.qp .qp-footer__title {
  font-weight:700;
  font-size:13px;
  margin-bottom:14px;
  color:var(--white);
}

/* Cột danh sách link */
.qp .qp-footer__links {
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:13px;
}

/* Cột thông tin liên hệ */
.qp .qp-footer__contact {
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:13px;
  color:rgba(255,255,255,0.65);
}

/* Dòng bản quyền dưới cùng */
.qp .container.qp-footer__copyright {
  margin-top:40px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,0.12);
  color:rgba(255,255,255,0.5);
  font-size:12px;
}


/* ==============================================================
   8. THẺ KHÓA HỌC, BẢNG GIÁ, ĐÁNH GIÁ SAO
   Markup sinh từ functions.php: qp_render_course_grid_card(), qp_render_pricing_row(), qp_course_rating_box_shortcode().
   ============================================================== */

/* 8.1 Thẻ khóa học dạng lưới */

/* ===== Course card =====
   Card nam trong .grid-3/.grid-2 (display:grid) nen cac card cung 1 hang da
   TU DONG cao bang nhau (grid item mac dinh stretch). Van de la NOI DUNG BEN
   TRONG (title/mo ta/nut) khong dong bo theo hang duoc vi course-body chi la
   1 khoi padding thuong — card nao mo ta ngan se co nut nam cao hon card mo
   ta dai. Fix: bien qp-course-card + course-body thanh flex column chiem du
   chieu cao duoc grid cap, day course-footer (chua nut + gia) xuong DAY bang
   margin-top:auto — nho vay nut/gia luon thang hang nhau giua cac card dung
   1 hang, bat ke do dai mo ta khac nhau bao nhieu. */

.qp .thumb {
  width:100%;
  aspect-ratio:16/10;
  border-radius:16px 16px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  background:linear-gradient(150deg,#EFF6FB,#F5F7F8);
  flex-shrink:0;
}

.qp .thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.qp .qp-course-card {
  display:flex;
  flex-direction:column;
  height:100%;
}

.qp .course-body {
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.qp .course-title {
  font-weight:800;
  font-size:17px;
  line-height:1.3;
  color:var(--navy);
  margin-bottom:8px;
  min-height:44px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.qp .course-title a {
  color:inherit;
}

.qp .course-desc {
  color:var(--text2);
  font-size:13px;
  margin-bottom:16px;
  line-height:1.6;
  min-height:42px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.qp .course-meta {
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--text2);
  font-size:12px;
  margin-bottom:18px;
  flex-wrap:wrap;
}

.qp .course-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--border);
  padding-top:16px;
  margin-top:auto;
}

.qp .course-price {
  font-weight:800;
  font-size:18px;
  color:var(--navy);
}

/* Badge nhãn nhỏ góc trên-trái ảnh thẻ khóa học (màu nền: qp-bg-stepN) */
.qp .qp-course-card__badge {
  position:absolute;
  top:14px;
  left:14px;
}

/* 8.2 Hàng bảng giá (Trang chủ) */

.qp .pricing-list {
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:840px;
  margin:0 auto;
}

.qp .pricing-row {
  display:flex;
  align-items:center;
  gap:22px;
  padding:24px 28px;
  border:1.5px solid transparent;
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}

.qp .pricing-row:hover {
  transform:translateY(-4px) scale(1.01);
  box-shadow:0 16px 32px rgba(0,35,66,0.16);
  border-color:var(--blue);
}

.qp .pricing-price {
  text-align:right;
  flex-shrink:0;
}

/* Ô số thứ tự của hàng bảng giá (màu nền: qp-bg-stepN) */
.qp .qp-pricing__num {
  width:52px;
  height:52px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:white;
  font-size:20px;
  flex-shrink:0;
}

/* Nhãn nhỏ phía trên tên gói */
.qp .qp-pricing__label {
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.05em;
  margin-bottom:3px;
}

/* Tên gói/khóa học */
.qp .qp-pricing__title {
  color:var(--navy);
  font-weight:700;
  font-size:17px;
}

/* Link tên gói kế thừa màu chữ */
.qp a.qp-pricing__link {
  color:inherit;
}

/* Giá hiện tại */
.qp .qp-pricing__price {
  color:var(--navy);
  font-weight:800;
  font-size:18px;
  margin-bottom:8px;
}

/* Giá gốc gạch ngang */
.qp .qp-pricing__price-old {
  color:var(--text2);
  font-size:12px;
  text-decoration:line-through;
}

/* Nút GIỮ CHỖ */
.qp a.qp-pricing__btn {
  padding:10px 20px;
  font-size:13px;
}

/* Nút XEM CHI TIẾT trên thẻ khóa học */
.qp a.qp-course-card__btn {
  padding:10px 18px;
  font-size:13px;
}

/* Hàng đánh giá sao + số học viên (nền tối) */
.qp .qp-rating {
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(255,255,255,0.75);
  font-size:14px;
  flex-wrap:wrap;
}

/* Ngôi sao vàng đã tô */
.qp .qp-rating__star {
  color:#F5C518;
}

/* 8.3 Màu nền theo bước (qp_step_color() trả về step1..step7) */

.qp .qp-bg-step1 {
  background:var(--step1);
}

.qp .qp-bg-step2 {
  background:var(--step2);
}

.qp .qp-bg-step3 {
  background:var(--step3);
}

.qp .qp-bg-step4 {
  background:var(--step4);
}

.qp .qp-bg-step5 {
  background:var(--step5);
}

.qp .qp-bg-step6 {
  background:var(--step6);
}

.qp .qp-bg-step7 {
  background:var(--step7);
}


/* ==============================================================
   9. CHUYỂN ĐỘNG
   Thứ tự khai báo QUAN TRỌNG: .reveal đặt "transition" nên các class trễ (qp-delay-*) và nth-child bên dưới phải nằm sau nó.
   ============================================================== */

.qp .reveal,
.qp .reveal-left,
.qp .reveal-right {
  transition:opacity .7s cubic-bezier(.16,.8,.3,1),transform .7s cubic-bezier(.16,.8,.3,1);
}

.qp .reveal {
  opacity:0;
  transform:translateY(26px);
}

.qp .reveal-left {
  opacity:0;
  transform:translateX(-34px);
}

.qp .reveal-right {
  opacity:0;
  transform:translateX(34px);
}

.qp .reveal.is-visible,
.qp .reveal-left.is-visible,
.qp .reveal-right.is-visible {
  opacity:1;
  transform:none;
}

@keyframes qpFloatY {
  0%,
  100% {
    transform:translateY(0);
  }

  50% {
    transform:translateY(-9px);
  }
}

.qp .floating {
  animation:qpFloatY 4.5s ease-in-out infinite;
}

/* Trễ hiệu ứng reveal (gắn thêm vào phần tử có .reveal) */

.qp .qp-delay-60 {
  transition-delay:.06s;
}

.qp .qp-delay-100 {
  transition-delay:.1s;
}

.qp .qp-delay-120 {
  transition-delay:.12s;
}

.qp .qp-delay-180 {
  transition-delay:.18s;
}

.qp .qp-delay-200 {
  transition-delay:.2s;
}

.qp .qp-delay-240 {
  transition-delay:.24s;
}


/* ==============================================================
   10. TRANG CHỦ
   page-quangphan-home.php. Thứ tự: hero → vấn đề → bảng giá → feedback → đối tượng → giới thiệu.
   ============================================================== */

/* Hero: lưới, nút, ảnh, thanh uy tín */

.qp .hero-actions {
  display:flex;
  gap:16px;
}

.qp .hero-photo {
  position:relative;
  padding-bottom:60px;
}

.qp .trust-bar {
  display:flex;
  align-items:center;
  gap:40px;
  padding:28px 0 32px;
  margin-top:40px;
  border-top:1px solid rgba(255,255,255,0.12);
  color:rgba(255,255,255,0.6);
  font-size:13px;
  flex-wrap:wrap;
}

.qp .hero-photo-frame {
  transition:transform .4s ease;
}

.qp .hero-photo-frame:hover {
  transform:scale(1.015);
}


/* Chữ "Quang" chìm cỡ lớn làm nền hero */
.qp .home-hero__watermark {
  position:absolute;
  top:0;
  right:-60px;
  font-size:240px;
  font-weight:800;
  color:rgba(255,255,255,0.035);
  white-space:nowrap;
  pointer-events:none;
}

/* Khung nội dung hero */
.qp .container.home-hero__inner {
  padding:80px 40px 0;
  position:relative;
}

/* Badge "Giữ chỗ 0đ" */
.qp .home-hero__badge {
  margin-bottom:22px;
}

/* H1 hero */
.qp .home-hero__title {
  font-size:50px;
  color:var(--white);
  line-height:1.15;
  max-width:600px;
  margin-bottom:24px;
}

/* Đoạn mô tả hero */
.qp .home-hero__lead {
  color:rgba(255,255,255,0.72);
  font-size:16.5px;
  line-height:1.7;
  max-width:520px;
  margin-bottom:32px;
}

/* Hàng nút CTA trong hero */
.qp .home-hero__actions {
  margin-bottom:36px;
}

/* Bọc chung 2 nút CTA + thẻ lịch khai giảng — inline-block để tự co theo bề
   rộng nội dung rộng nhất (cụm 2 nút), rồi thẻ lịch giãn width:100% theo đó
   nên mép phải của thẻ luôn khớp đúng mép phải nút "Xem hành trình học viên" */
.qp .home-hero__cta-group {
  display:inline-block;
  max-width:100%;
}

/* Thẻ lịch khai giảng (khối lớn: đầu đề + danh sách chi tiết + nút CTA) */
.qp .home-next-class {
  display:block;
  width:100%;
  padding:22px 24px;
}

/* Hàng đầu: icon lịch + tên lớp khai giảng */
.qp .home-next-class__head {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}

/* Icon lịch trong thẻ khai giảng */
.qp .home-next-class__icon {
  width:44px;
  height:44px;
  border-radius:10px;
  background:#EFF6FB;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

/* Tên lớp khai giảng */
.qp .home-next-class__title {
  font-weight:700;
  font-size:15px;
  color:var(--navy);
}

/* Danh sách chi tiết lịch học (lịch học, hình thức, giờ giấc) */
.qp .home-next-class__list {
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:18px;
}

.qp .home-next-class__list li {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13.5px;
  line-height:1.5;
  color:var(--text2);
}

.qp .home-next-class__list svg {
  flex-shrink:0;
}

.qp .home-next-class__list strong {
  color:var(--navy);
  font-weight:700;
}

/* Nút GIỮ CHỖ trong thẻ khai giảng — full width, nằm dưới danh sách */
.qp a.home-next-class__btn {
  display:block;
  width:100%;
  text-align:center;
  padding:13px 18px;
  font-size:13.5px;
}

/* Khung ảnh chân dung dọc 4:5 trong hero */
.qp .home-hero__photo-frame {
  width:100%;
  aspect-ratio:4/5;
  border-radius:20px;
  background:linear-gradient(160deg,rgba(255,255,255,0.08),rgba(255,255,255,0.02));
  border:1px solid rgba(255,255,255,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
}

/* Chữ placeholder đáy khung ảnh hero (nền tối) */
.qp .home-hero__photo-caption {
  position:absolute;
  bottom:16px;
  left:16px;
  right:16px;
  text-align:center;
  color:rgba(255,255,255,0.5);
  font-size:12px;
}

/* Thẻ nổi "số học viên" đè góc ảnh hero */
.qp .home-hero__stat {
  position:absolute;
  left:-32px;
  bottom:24px;
  padding:18px 22px;
  display:flex;
  flex-direction:column;
  gap:2px;
}

/* Con số trong thẻ nổi */
.qp .home-hero__stat-num {
  font-weight:800;
  font-size:26px;
  color:var(--navy);
}

/* Nhãn trong thẻ nổi */
.qp .home-hero__stat-label {
  color:var(--text2);
  font-size:13px;
}

/* Dải thông số uy tín dưới hero — căn giữa vì chỉ còn 2 mục, để lệch trái
   trông mất cân đối (trước có 3 mục nên canh trái mới đều) */
.qp .container.home-hero__trust {
  padding-left:40px;
  padding-right:40px;
  justify-content:center;
}

/* Chấm tròn ngăn cách trong dải uy tín */
.qp .home-hero__dot {
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(255,255,255,0.3);
}

/* Khối tiêu đề section "Vấn đề thực tế" */
.qp .home-problem__head {
  max-width:680px;
  margin-bottom:56px;
}

/* H2 section vấn đề */
.qp .home-problem__title {
  font-size:32px;
  color:var(--navy);
  line-height:1.3;
}

/* Đoạn mô tả section vấn đề */
.qp .home-problem__lead {
  color:var(--text2);
  font-size:16px;
  margin-top:16px;
  line-height:1.7;
}

/* Khung nội dung section bảng giá */
.qp .container.home-pricing__inner {
  padding:16px 40px 96px;
}

/* Khối tiêu đề section bảng giá */
.qp .home-pricing__head {
  margin-bottom:52px;
}

/* H2 section bảng giá */
.qp .home-pricing__title {
  font-size:34px;
  color:var(--white);
}

/* Đoạn mô tả section bảng giá */
.qp .home-pricing__lead {
  color:rgba(255,255,255,0.65);
  font-size:15px;
  max-width:600px;
  margin:14px auto 0;
  line-height:1.7;
}

/* Thông báo khi chưa có khóa học */
.qp .home-pricing__empty {
  padding:30px;
  text-align:center;
  color:var(--text2);
}

/* Khối tiêu đề section feedback */
.qp .home-feedback__head {
  max-width:680px;
  margin-bottom:44px;
}

/* H2 section feedback */
.qp .home-feedback__title {
  font-size:32px;
  color:var(--navy);
}

/* Đoạn mô tả section feedback */
.qp .home-feedback__lead {
  color:var(--text2);
  font-size:15px;
  margin-top:14px;
}

/* Thẻ lớn "Bạn thuộc nhóm nào?" */
.qp .home-audience__card {
  padding:56px;
  background:linear-gradient(120deg,#EFF6FB,var(--white));
}

/* Khoảng cách dưới các khối trong thẻ đối tượng */
.qp .home-audience__block {
  margin-bottom:36px;
}

/* H2 thẻ đối tượng */
.qp .home-audience__title {
  font-size:28px;
  color:var(--navy);
}

/* Một dòng đối tượng (icon tick + chữ) */
.qp .home-audience__item {
  display:flex;
  gap:12px;
  align-items:flex-start;
}

/* Icon tick */
.qp .home-audience__check {
  flex-shrink:0;
  margin-top:2px;
}

/* Chữ mô tả đối tượng */
.qp .home-audience__text {
  color:var(--text);
  font-size:14.5px;
  line-height:1.6;
}

/* H2 section giới thiệu thầy Quang */
.qp .home-about__title {
  font-size:28px;
  color:var(--navy);
  line-height:1.3;
  margin-bottom:18px;
}

/* Thẻ số liệu nhỏ (năm KN, học viên) */
.qp .home-about__stat {
  padding:16px 18px;
}

/* Con số trong thẻ số liệu */
.qp .home-about__stat-num {
  font-weight:800;
  font-size:20px;
  color:var(--navy);
}

/* Nhãn thẻ số liệu */
.qp .home-about__stat-label {
  color:var(--text2);
  font-size:12.5px;
  margin-top:2px;
}

/* Trễ reveal theo cột cho lưới thẻ (thay cho transition-delay inline tính bằng PHP) */

.qp .home-problem__grid > .reveal:nth-child(3n+2) {
  transition-delay:.06s;
}

.qp .home-problem__grid > .reveal:nth-child(3n) {
  transition-delay:.12s;
}

.qp .home-feedback__grid > .reveal:nth-child(2) {
  transition-delay:.08s;
}

.qp .home-feedback__grid > .reveal:nth-child(3) {
  transition-delay:.16s;
}

/* Nút "Xem thêm hành trình học viên" dưới lưới video feedback trang chủ */
.qp .home-feedback__more {
  margin-top:36px;
}


/* ==============================================================
   11. TRANG KHÓA HỌC
   list-courses-template.php. Lọc/tìm kiếm chạy bằng script.js (toggle .is-hidden).
   ============================================================== */

/* Khối tiêu đề trang danh sách khóa học */
.qp .container.courses-head {
  padding:56px 40px 32px;
}

/* Thanh lọc (chip + ô tìm kiếm) */
.qp .container.courses-filter {
  padding:0 40px 32px;
}

/* Thẻ chứa ô tìm kiếm */
.qp .courses-search {
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 20px;
  width:280px;
}

/* Ô nhập tìm kiếm không viền */
.qp .courses-search__input {
  border:none;
  outline:none;
  background:none;
  color:var(--text);
  font-size:14px;
  font-family:inherit;
  width:100%;
}

/* Thông báo lưới trống (trải hết cột) */
.qp .courses-grid__empty {
  grid-column:1/-1;
  padding:40px;
  text-align:center;
  color:var(--text2);
}

/* Khối "Không tìm thấy khóa học" (ẩn mặc định, JS bật/tắt .is-hidden) */
.qp .container.courses-nomatch {
  padding:0 40px 100px;
}


/* ==============================================================
   12. CHI TIẾT KHÓA HỌC
   learnpress/content-single-course.php. Cấu trúc: hero (detail-hero__*) → nội dung + buy box (detail-body > detail-side__*).
   ============================================================== */

.qp-short-desc ul,
.qp-short-desc ol {
  margin:0;
  padding-left:20px;
}

.qp-short-desc li {
  margin-bottom:6px;
}

.qp-short-desc p {
  margin:0 0 10px;
}

.qp-short-desc p:last-child {
  margin-bottom:0;
}


/* Khung nội dung dải tiêu đề khóa học */
.qp .container.detail-hero__inner {
  padding:40px 40px 44px;
}

/* Link tên giảng viên */
.qp a.detail-hero__instructor-link {
  color:#8ECBEE;
}

/* Badge "Khóa học" nền trắng */
.qp .detail-hero__badge {
  margin-bottom:16px;
  background:var(--white);
  color:var(--navy);
}

/* H1 tên khóa học */
.qp .detail-hero__title {
  font-size:34px;
  color:var(--white);
  max-width:720px;
  line-height:1.25;
  margin-bottom:16px;
}

/* Mô tả ngắn dưới tên khóa học */
.qp .detail-hero__desc {
  color:rgba(255,255,255,0.75);
  font-size:16px;
  max-width:680px;
  line-height:1.7;
  margin-bottom:22px;
}

/* Dòng "Giảng viên: ..." */
.qp .detail-hero__instructor {
  margin-top:10px;
  color:rgba(255,255,255,0.75);
  font-size:14px;
}

/* Khung nội dung chính (2 cột nội dung + buy box) */
.qp .container.detail-body {
  padding:48px 40px 100px;
}

/* Khối "Giới thiệu khóa học" */
.qp .detail-overview {
  margin-bottom:48px;
}

/* H3 tiêu đề mục */
.qp .detail-heading {
  font-size:20px;
  color:var(--navy);
}

/* H3 tiêu đề mục, cách dưới 16px */
.qp .detail-heading--spaced {
  font-size:20px;
  color:var(--navy);
  margin-bottom:16px;
}

/* Nội dung giới thiệu khóa học */
.qp .detail-overview__body {
  color:var(--text2);
  font-size:14.5px;
  line-height:1.8;
}

/* Hàng tiêu đề + số chương/bài */
.qp .detail-curriculum__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}

/* Số chương/bài học (chữ xám nhỏ) */
.qp .detail-curriculum__count {
  color:var(--text2);
  font-size:13px;
}

/* Một chương (đường kẻ dưới) */
.qp .detail-curriculum__section {
  border-bottom:1px solid var(--border);
}

/* Hàng tên chương + số bài */
.qp .detail-curriculum__section-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 24px;
}

/* Tên chương */
.qp .detail-curriculum__section-title {
  font-weight:700;
  font-size:15px;
  color:var(--navy);
}

/* Một bài học trong chương */
.qp .detail-curriculum__lesson {
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 24px;
  color:var(--text2);
  font-size:14px;
  border-top:1px solid var(--border);
}

/* Dòng "+ N bài học khác" */
.qp .detail-curriculum__more {
  padding:10px 24px;
  color:var(--text2);
  font-size:12.5px;
  border-top:1px solid var(--border);
}

/* Thông báo chương trình đang cập nhật */
.qp .detail-curriculum__empty {
  padding:24px;
  color:var(--text2);
  font-size:14px;
}

/* Khối "Đối tượng học viên" / "Quyền lợi học viên" trong trang chi tiết khóa học */
.qp .detail-extra {
  margin-top:40px;
}

.qp .detail-extra__body {
  padding:24px;
}

.qp .detail-extra__list {
  display:flex;
  flex-direction:column;
  gap:14px;
}

.qp .detail-extra__list li {
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--text2);
  font-size:14.5px;
  line-height:1.6;
}

.qp .detail-extra__list svg {
  flex-shrink:0;
  margin-top:2px;
}

/* Ghi chú ngắn "cách đăng ký" dưới nút mua/đăng ký trong buy box */
.qp .detail-side__howto {
  color:var(--text2);
  font-size:12.5px;
  line-height:1.6;
  margin-bottom:20px;
}

/* Buy box bên phải (dính khi cuộn) */
.qp .detail-side {
  padding:24px;
  position:sticky;
  top:24px;
  box-shadow:0 4px 20px rgba(0,35,66,0.08);
}

/* Ảnh đại diện khóa học trong buy box */
.qp .detail-side__thumb {
  width:100%;
  aspect-ratio:16/10;
  border-radius:10px;
  overflow:hidden;
  margin-bottom:20px;
  background:linear-gradient(150deg,#EFF6FB,#F5F7F8);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Giá gốc gạch ngang */
.qp .detail-side__price-old {
  color:var(--text2);
  font-size:13px;
  text-decoration:line-through;
}

/* Giá hiện tại */
.qp .detail-side__price {
  font-weight:800;
  font-size:28px;
  color:var(--navy);
  margin-bottom:4px;
}

/* Ghi chú dưới giá */
.qp .detail-side__note {
  color:var(--text2);
  font-size:13px;
  margin-bottom:20px;
}

/* Nút hành động chính (Mua/Đăng ký/Học ngay) */
.qp .detail-side__cta,
.qp a.detail-side__cta {
  margin-bottom:12px;
}

/* Danh sách thông tin (cấp độ, thời lượng...) */
.qp .detail-side__facts {
  display:flex;
  flex-direction:column;
  gap:12px;
  border-top:1px solid var(--border);
  padding-top:20px;
}

/* Một dòng thông tin (nhãn - giá trị) */
.qp .detail-side__fact {
  display:flex;
  justify-content:space-between;
  font-size:13px;
}


/* ==============================================================
   13. TRANG VỀ THẦY QUANG
   page-quangphan-about.php. Thứ tự: hero → câu chuyện → dấu ấn thực tế → triết lý.
   ============================================================== */

/* Chữ "Quang" chìm cỡ lớn làm nền hero */
.qp .about-hero__watermark {
  position:absolute;
  top:0;
  right:-60px;
  font-size:220px;
  font-weight:800;
  color:rgba(255,255,255,0.035);
  white-space:nowrap;
  pointer-events:none;
}

/* Khung nội dung hero */
.qp .container.about-hero__inner {
  padding:40px 40px 64px;
  position:relative;
}

/* Eyebrow trong hero (xanh nhạt) */
.qp .about-hero__eyebrow {
  margin-bottom:14px;
  color:#8ECBEE;
}

/* H1 hero */
.qp .about-hero__title {
  font-size:40px;
  color:var(--white);
  max-width:680px;
  line-height:1.2;
  margin-bottom:16px;
}

/* Đoạn mô tả hero */
.qp .about-hero__lead {
  color:rgba(255,255,255,0.72);
  font-size:16px;
  line-height:1.75;
  max-width:620px;
}

/* Khung section "Câu chuyện" */
.qp .container.about-story {
  padding:24px 40px 80px;
}

/* H2 câu chuyện */
.qp .about-story__title {
  font-size:26px;
  color:var(--navy);
  line-height:1.3;
  margin-bottom:18px;
}

/* Đoạn văn câu chuyện */
.qp .about-story__p {
  color:var(--text2);
  font-size:15px;
  line-height:1.8;
  margin-bottom:16px;
}

/* Thẻ số liệu (năm KN, học viên, chương trình) */
.qp .about-stat {
  padding:16px 14px;
  text-align:center;
}

/* Con số trong thẻ số liệu */
.qp .about-stat__num {
  font-weight:800;
  font-size:22px;
  color:var(--navy);
}

/* Nhãn thẻ số liệu */
.qp .about-stat__label {
  color:var(--text2);
  font-size:12px;
  margin-top:2px;
}

/* Khung section "Dấu ấn thực tế" */
.qp .container.about-credentials {
  padding:0 40px 80px;
}

/* Khối tiêu đề section dấu ấn thực tế */
.qp .about-credentials__head {
  max-width:640px;
  margin-bottom:28px;
}

/* H2 dấu ấn thực tế */
.qp .about-credentials__title {
  font-size:26px;
  color:var(--navy);
  line-height:1.3;
}

/* Khối tiêu đề section triết lý */
.qp .about-values__head {
  max-width:680px;
  margin-bottom:52px;
}

/* H2 triết lý đào tạo */
.qp .about-values__title {
  font-size:30px;
  color:var(--navy);
  line-height:1.3;
}

/* Thẻ triết lý */
.qp .about-values__card {
  padding:28px;
}


/* ==============================================================
   14. TRANG FEEDBACK
   page-quangphan-feedback.php. Thẻ feedback dùng .qp-testimonial__* (mục 4.9); lọc chip bằng script.js.
   ============================================================== */

/* Khối tiêu đề trang feedback */
.qp .container.feedback-head {
  padding:56px 40px 8px;
}

/* Thanh chip lọc chương trình */
.qp .container.feedback-filter {
  padding:24px 40px 32px;
}

/* Lưới thẻ feedback */
.qp .container.feedback-grid {
  padding:0 40px 40px;
}

/* Khung video cảm nhận học viên (tỉ lệ 16:9, nhúng Vimeo thật) */
.qp .qp-feedback-video {
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:12px;
  overflow:hidden;
  background:#0C1B2A;
  margin-bottom:16px;
}

.qp .qp-feedback-video iframe {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* Khối "Chưa có feedback" (ẩn mặc định, JS bật/tắt .is-hidden) */
.qp .container.feedback-nomatch {
  padding:0 40px 40px;
}

/* Trễ reveal theo cột */
.qp .container.feedback-grid > .reveal:nth-child(3n+2) {
  transition-delay:.06s;
}

.qp .container.feedback-grid > .reveal:nth-child(3n) {
  transition-delay:.12s;
}


/* ==============================================================
   15. TRANG ĐĂNG NHẬP / ĐĂNG KÝ
   page-quangphan-login.php. Thẻ .qp-auth-* ; script.js chuyển tab & hiện/ẩn mật khẩu.
   ============================================================== */

.qp-auth-section {
  background:var(--navy);
  position:relative;
  overflow:hidden;
  min-height:calc(100vh - 76px);
  display:flex;
  align-items:center;
}

.qp-auth-section::before {
  content:'';
  position:absolute;
  top:-120px;
  right:-120px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,115,185,0.28),transparent 70%);
  pointer-events:none;
}

.qp-auth-wrap {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:56px 20px;
  position:relative;
}

.qp-auth-card {
  width:100%;
  max-width:440px;
  background:var(--white);
  border-radius:20px;
  padding:44px 40px;
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.45);
}

.qp-auth-logo {
  display:flex;
  justify-content:center;
  margin-bottom:24px;
}

.qp-auth-tabs {
  display:flex;
  border-bottom:1px solid var(--border);
  margin-bottom:28px;
}

.qp-auth-tab {
  flex:1;
  text-align:center;
  padding:0 0 14px;
  font-weight:800;
  font-size:14px;
  letter-spacing:0.02em;
  color:var(--text2);
  cursor:pointer;
  position:relative;
  background:none;
  border:none;
  font-family:inherit;
}

.qp-auth-tab.active {
  color:var(--navy);
}

.qp-auth-tab.active::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  background:var(--blue);
  border-radius:2px;
}

.qp-auth-field {
  margin-bottom:16px;
  position:relative;
}

.qp-auth-field input {
  width:100%;
  padding:14px 16px;
  border-radius:10px;
  border:1.5px solid var(--border);
  background:var(--gray-bg);
  color:var(--text);
  font-size:14.5px;
  font-family:inherit;
  outline:none;
  transition:border-color .15s,background-color .15s;
}

.qp-auth-field input::placeholder {
  color:var(--text2);
}

.qp-auth-field input:focus {
  border-color:var(--blue);
  background:var(--white);
}

.qp-auth-field .qp-auth-eye {
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--text2);
  cursor:pointer;
  font-size:16px;
  user-select:none;
}

.qp-auth-row-between {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:2px 0 22px;
  font-size:13px;
  flex-wrap:wrap;
  gap:8px;
}

.qp-auth-remember {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text2);
}

.qp-auth-remember input {
  accent-color:var(--blue);
  width:15px;
  height:15px;
}

.qp-auth-forgot {
  color:var(--blue);
  font-weight:600;
}

.qp-auth-forgot:hover {
  color:var(--blue-dark);
  text-decoration:underline;
}

.qp-auth-alt {
  text-align:center;
  margin-top:22px;
  font-size:13.5px;
  color:var(--text2);
}

.qp-auth-alt a {
  color:var(--blue);
  font-weight:700;
}

.qp-auth-alt a:hover {
  color:var(--blue-dark);
}

.qp-auth-field-hint {
  font-size:12px;
  color:var(--text2);
  margin-top:-8px;
  margin-bottom:16px;
}

.qp-auth-view {
  display:none;
}

.qp-auth-view.active {
  display:block;
}

.qp-auth-notice {
  font-size:13.5px;
  padding:10px 14px;
  border-radius:8px;
  margin-bottom:18px;
  background:#FDECEC;
  border:1px solid #F5C2C2;
  color:#B42318;
}

@media (max-width:560px) {
  .qp-auth-card {
    padding:32px 22px;
  }
}


/* Nút gửi form full chiều ngang */
.qp .login-submit {
  width:100%;
}

/* Logo chữ Q cỡ lớn trên thẻ đăng nhập */
.qp .login-logo {
  width:44px;
  height:44px;
  font-size:20px;
}


/* ==============================================================
   16. TRẠNG THÁI
   ============================================================== */

/* Ẩn phần tử (script.js bật/tắt khi lọc khóa học / feedback, thay cho style.display) */
.qp .is-hidden {
  display:none !important;
}


/* ==============================================================
   17. TRANG CHÍNH SÁCH
   page-quangphan-policy.php. Dùng chung cho cả 5 trang (Bảo mật, Thanh toán,
   Hoàn/hủy, Điều khoản, Cung cấp dịch vụ) — nội dung là WYSIWYG thường của
   WordPress (the_content()) nên cần style đủ cho h2/p/ul/ol/strong.
   ============================================================== */

/* Khối tiêu đề đầu trang chính sách */
.qp .container.policy-head {
  padding:56px 40px 32px;
}

/* Khối card bọc toàn bộ nội dung chính sách */
.qp .container.pad-0-40-100 > .policy-body {
  max-width:820px;
  margin:0 auto;
}

/* Tiêu đề cấp 2 trong nội dung chính sách (vd "1. Thông tin chúng tôi thu thập") */
.qp .policy-body h2 {
  margin:32px 0 12px;
  font-size:19px;
  color:var(--navy);
}

.qp .policy-body h2:first-child {
  margin-top:0;
}

/* Đoạn văn trong nội dung chính sách */
.qp .policy-body p {
  margin:0 0 14px;
  color:var(--text2);
  font-size:14.5px;
  line-height:1.8;
}

/* Danh sách gạch đầu dòng / đánh số trong nội dung chính sách */
.qp .policy-body ul,
.qp .policy-body ol {
  margin:0 0 14px;
  padding-left:22px;
  color:var(--text2);
  font-size:14.5px;
  line-height:1.8;
}

.qp .policy-body li {
  margin-bottom:6px;
}

.qp .policy-body strong {
  color:var(--navy);
}

