/* ===== Fix header: ẩn site-title trùng (logo đã có chữ) + menu 1 hàng ===== */
.site-header .ast-site-title-wrap{ display:none !important; }
#ast-desktop-header .main-header-menu{ flex-wrap:nowrap; white-space:nowrap; }
#ast-desktop-header .site-primary-header-wrap .site-branding{ flex:0 0 auto; }

/* ===== Logo nhỏ lại ===== */
.site-header .custom-logo,
.site-logo-img img{ max-height:46px !important; width:auto !important; height:auto !important; }

/* ===== Ẩn tiêu đề trang "Trang chủ" ở trang chủ ===== */
body.home .entry-title,
body.home header.entry-header,
body.home .ast-single-entry-banner,
body.page-id-17 .entry-header,
body.page-id-17 .entry-title{ display:none !important; }

/* ===== HERO đầu trang khóa học (theo mẫu) ===== */
.tutor-course-details-header{ display:none !important; }
.tbb-hero{ margin:0 0 8px; }
.tbb-crumb{ font-size:15px; color:#94a3b8; margin-bottom:18px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.tbb-crumb a{ color:#64748b; text-decoration:none; }
.tbb-crumb a:hover{ color:#1c64f2; }
.tbb-crumb span{ color:#cbd5e1; }
.tbb-crumb .tbb-crumb-cur{ color:#334155; }
.tbb-hero-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-bottom:18px; font-size:15px; color:#475569; }
.tbb-pill-cat{ background:#fde7ef; color:#e5397f; font-weight:600; padding:5px 14px; border-radius:999px; font-size:14px; }
.tbb-pill-tag{ background:#eef1f5; color:#475569; font-weight:600; padding:5px 14px; border-radius:999px; font-size:14px; }
.tbb-meta-year{ font-weight:700; color:#334155; }
.tbb-meta-rate{ color:#334155; } .tbb-meta-rate b{ color:#0f172a; } .tbb-meta-rate{ }
.tbb-meta-rate::first-letter{}
.tbb-meta-rate{ color:#334155; }
.tbb-meta-rate{}
.tbb-meta-rate b{ color:#0f172a; }
.tbb-meta-rate{ display:inline-flex; align-items:center; gap:4px; }
.tbb-meta-rate{ color:#334155; }
.tbb-meta-rate{}
.tbb-meta-view b{ color:#0f172a; }
.tbb-hero-title{ font-size:44px; line-height:1.15; font-weight:800; color:#0f172a; margin:0 0 18px; letter-spacing:-.5px; }
.tbb-hero-sub{ font-size:19px; line-height:1.6; color:#475569; margin:0 0 22px; max-width:760px; }
.tbb-hero-checks{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.tbb-hero-checks li{ display:flex; align-items:center; gap:12px; font-size:17px; color:#334155; }
.tbb-hero-checks .tbb-hc{ flex:0 0 auto; width:26px; height:26px; border-radius:50%; background:#eafbf1; color:#16a34a; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; }
.tbb-meta-rate{ color:#334155; }
@media (max-width:600px){
  .tbb-hero-title{ font-size:30px; }
  .tbb-hero-sub{ font-size:16px; }
}

/* Ẩn widget benefits mặc định của Tutor ("Bạn sẽ học được gì?") */
.tutor-course-details-widget-col-2{display:none !important;}

/* ===== Video giới thiệu (child theme) — căn giữa 16:9 ===== */
.tbb-myvideo{ width:min(900px,94vw); margin:40px auto 8px; }
.tbb-myvideo h2{ text-align:center; font-size:26px; font-weight:800; margin:0 0 20px; color:#0f172a; }
.tbb-myvideo .fr{ position:relative; padding-bottom:56.25%; border-radius:16px; overflow:hidden; box-shadow:0 10px 30px rgba(15,23,42,.14); background:#000; }
.tbb-myvideo iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ===== Trang thanh toán: 2 cột ngang nhau (thông tin | đơn hàng) ===== */
@media (min-width:783px){
  .woocommerce-checkout form.checkout{ display:grid !important; grid-template-columns:1fr 1fr; gap:24px 44px; align-items:start; }
  .woocommerce-checkout form.checkout #customer_details{ grid-column:1; grid-row:1 / span 2; width:auto !important; float:none !important; margin:0 !important; }
  .woocommerce-checkout form.checkout #order_review_heading{ grid-column:2; grid-row:1; margin-top:0 !important; }
  .woocommerce-checkout form.checkout #order_review{ grid-column:2; grid-row:2; width:auto !important; float:none !important; margin:0 !important; }
  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2{ width:100% !important; float:none !important; }
}

/* ===== Fix heading "Đơn hàng của bạn" + card đơn hàng gọn gàng ===== */
.woocommerce-checkout form.checkout #order_review_heading{
  border:none !important; background:none !important; box-shadow:none !important;
  padding:0 0 14px !important; margin:0 !important;
  font-size:20px !important; font-weight:800 !important; color:#0f172a !important; white-space:normal;
}
.woocommerce-checkout form.checkout #order_review{
  border:1px solid #e5e7eb !important; border-radius:14px !important;
  padding:20px 22px !important; background:#fff !important;
  box-shadow:0 3px 12px rgba(15,23,42,.05) !important;
}
.woocommerce-checkout form.checkout #order_review .shop_table{ margin:0 !important; }

/* ===== Canh 2 tiêu đề checkout bằng đỉnh ===== */
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #customer_details .woocommerce-billing-fields > h3{ padding-top:0 !important; margin-top:0 !important; }
.woocommerce-checkout form.checkout #order_review_heading{ padding-top:0 !important; margin-top:0 !important; line-height:1.3 !important; }
