@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
  --primary:     #904d00;
  --primary-lo:  #ffdcc3;
  --primary-bg:  #fff1e9;
  --accent:      #ff8c00;
  --accent2:     #fcd400;
  --surface:     #fff8f5;
  --surface-lo:  #fff1e9;
  --surface-var: #f3dfd1;
  --on-surface:  #241912;
  --on-muted:    #564334;
  --outline:     #ddc1ae;
  --white:       #ffffff;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --container: 1280px;
  --font: 'Quicksand', -apple-system, sans-serif;
  --t: 0.2s ease;
}

.ab*,.ab*::before,.ab*::after { box-sizing: border-box; margin: 0; padding: 0; }
.ab { font-family: var(--font); color: var(--on-surface); background: var(--surface); }
.ab a { text-decoration: none; color: inherit; }
.ab img { display: block; max-width: 100%; }
.ab ul { list-style: none; }

.ab-wrap { max-width: var(--container); margin: 0 auto; padding: 0; min-height: 520px;width:var(--container);
    
    align-items: center;}
.ab-section { padding: 80px 0; }
.ab-section--lo { background: var(--surface-lo); }
.ab-section--dark {
  background: linear-gradient(135deg, #2d1800 0%, #4a2700 100%);
  color: var(--white);
}

.section-gioi-thieu .ab-wrap{
	display: grid;
    grid-auto-flow: row;
    gap: 10px;
    grid-template-columns: 35% 65%;
    align-items: center;
}
/* ── BUTTONS ── */
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: var(--r-md);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; border: none; white-space: nowrap;
  transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.ab-btn:hover { transform: translateY(-2px); }
.ab-btn--primary { background: var(--primary); color: var(--white) !important; }
.ab-btn--primary:hover { background: #7a4100; }
.ab-btn--outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.ab-btn--outline:hover { background: var(--primary-bg); }
.ab-btn--white { background: var(--white); color: var(--primary); }
.ab-btn--white:hover { background: var(--primary-bg); }
.ab-btn--ghost {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.ab-btn--ghost:hover { background: rgba(255,255,255,.2); }

/* ── SECTION HEADER ── */
.ab-hdr--center { text-align: center; }
.ab-hdr__eyebrow {
  display: inline-block; padding: 4px 14px;
  background: var(--primary-bg); color: var(--primary);
  border-radius: 999px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; 
}
.ab-hdr__title { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.2;  }
.ab-hdr__sub { font-size: 15px; color: var(--on-muted); line-height: 1.7; max-width: 560px; }
.ab-hdr--center .ab-hdr__sub { margin: 0 auto; }

/* ── HERO ── */
.ab-hero {
  position: relative; min-height: 520px;
  background: var(--surface-lo);
}
.ab-hero .ab-wrap{
}
.ab-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ab-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,248,245,1) 0%,
    rgba(255,248,245,.9) 40%,
    rgba(255,248,245,.2) 100%
  );
}
.ab-hero__body { position: relative; z-index: 1; width: 100%; padding: 100px 0; max-width: 1140px;}
.ab-hero__inner { max-width: 600px; }
.ab-hero__badge {
  display: inline-block; padding: 5px 16px;
  background: var(--accent); color: var(--white);
  border-radius: 999px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px;
}
.ab-hero__title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  letter-spacing: -.02em; color: var(--primary);
  line-height: 1.1; margin-bottom: 20px;
}
.ab-hero__desc {
  font-size: 16px; color: var(--on-muted);
  line-height: 1.5; margin-bottom: 36px; max-width: 500px;
}
.ab-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── INTRO (video + text) ── */
.ab-intro__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.ab-intro__media {
  border-radius: var(--r-xl); 
  aspect-ratio: 16/10; background: var(--surface-var);
  position: relative; box-shadow: 0 16px 48px rgba(144,77,0,.12);
}
.ab-intro__media iframe,
.ab-intro__media video {
  width: 100%; height: 100%; border: none; display: block;
}
.ab-intro__media-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(160deg, var(--surface-var), var(--primary-lo));
  color: var(--on-muted); font-size: 14px;
	border-radius:20px;
}
.ab-intro__media-placeholder svg { opacity: .4; }
.ab-intro__content { display: flex; flex-direction: column; gap: 20px; }
.ab-intro__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 8px;
}
.ab-intro__stat {
  background: var(--surface-lo); border-radius: var(--r-md);
  padding: 16px; text-align: center;
  border: 1px solid var(--outline);
}
.ab-intro__stat-num {
  font-size: 22px; font-weight: 800; color: var(--primary);
  line-height: 1; margin-bottom: 4px;
}
.ab-intro__stat-label { font-size: 11px; color: var(--on-muted); font-weight: 600; }
.ab-intro__text { font-size: 15px; color: var(--on-muted); line-height: 1.5; }

/* ── MISSION & VISION ── */
.ab-mv__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-bottom: 40px;
}
.ab-mv__card {
  border-radius: var(--r-xl); padding: 40px;
  position: relative; overflow: hidden;
}
.ab-mv__card--mission {
  background: var(--primary);
  color: var(--white);
}
.ab-mv__card--vision {
  background: var(--white);
  border: 2px solid var(--outline);
  color: var(--on-surface);
}
.ab-mv__icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px;
}
.ab-mv__card--mission .ab-mv__icon { background: rgba(255,255,255,.15); color: var(--white); }
.ab-mv__card--vision .ab-mv__icon { background: var(--primary-bg); color: var(--primary); }
.ab-mv__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 10px; opacity: .7;
}
.ab-mv__title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.ab-mv__text { font-size: 14px; line-height: 1.75; opacity: .85; }

.ab-values__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.ab-value {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--outline); padding: 24px;
  transition: box-shadow var(--t), transform var(--t);
}
.ab-value:hover { box-shadow: 0 8px 24px rgba(144,77,0,.08); transform: translateY(-2px); }
.ab-value__icon {
  width: 44px; height: 44px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.ab-value__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.ab-value__desc { font-size: 13px; color: var(--on-muted); line-height: 1.65; }

/* ── HÌNH THỨC HỌC ── */
.ab-modes__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.ab-mode {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--outline);
  background: var(--white);
  transition: box-shadow var(--t), transform var(--t);
}
.ab-mode:hover { box-shadow: 0 12px 32px rgba(144,77,0,.1); transform: translateY(-3px); }
.ab-mode__head {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--outline);
  display: flex; align-items: center; gap: 16px;
}
.ab-mode__head--online { background: linear-gradient(135deg, var(--primary-bg), var(--surface-lo)); }
.ab-mode__head--offline { background: linear-gradient(135deg, #fff9e6, #fff3cc); }
.ab-mode__icon {
  width: 56px; height: 56px; border-radius: var(--r-lg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.ab-mode__head--online .ab-mode__icon { background: var(--primary); color: var(--white); }
.ab-mode__head--offline .ab-mode__icon { background: var(--accent2); color: #221b00; }
.ab-mode__name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.ab-mode__tagline { font-size: 13px; color: var(--on-muted); }
.ab-mode__body { padding: 28px 32px; }
.ab-mode__list { display: flex; flex-direction: column; gap: 12px; }
.ab-mode__item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--on-muted); line-height: 1.6;
}
.ab-mode__dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; margin-top: 1px;
}

/* ── GIÁO VIÊN ── */
.ab-tutors__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ab-tutor {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--outline); overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.ab-tutor:hover { box-shadow: 0 12px 32px rgba(144,77,0,.1); transform: translateY(-3px); }
.ab-tutor__img {
  aspect-ratio: 3/4; overflow: hidden; background: var(--surface-var);
}
.ab-tutor__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ab-tutor:hover .ab-tutor__img img { transform: scale(1.04); }
.ab-tutor__body { padding: 20px; }
.ab-tutor__name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.ab-tutor__role {
  display: inline-block; padding: 3px 10px;
  background: var(--primary-bg); color: var(--primary);
  border-radius: 999px; font-size: 11px; font-weight: 700;
  margin-bottom: 12px;
}
.ab-tutor__desc { font-size: 13px; color: var(--on-muted); line-height: 1.65; }

/* ── CẤU TRÚC KHÓA HỌC ── */
.ab-course__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.ab-course__item {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--outline); padding: 28px;
  transition: box-shadow var(--t), transform var(--t);
}
.ab-course__item:hover { box-shadow: 0 8px 24px rgba(144,77,0,.08); transform: translateY(-2px); }
.ab-course__num {
  width: 48px; height: 48px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.ab-course__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.ab-course__desc { font-size: 14px; color: var(--on-muted); line-height: 1.7; }

/* ── LỢI ÍCH ── */
.ab-benefits__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.ab-benefit {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--outline); padding: 32px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: box-shadow var(--t), transform var(--t);
}
.ab-benefit:hover { box-shadow: 0 8px 24px rgba(144,77,0,.08); transform: translateY(-2px); }
.ab-benefit__icon {
  width: 52px; height: 52px; border-radius: var(--r-lg); flex-shrink: 0;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.ab-benefit__num {
  font-size: 11px; font-weight: 800; color: var(--primary);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; opacity: .6;
}
.ab-benefit__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ab-benefit__desc { font-size: 14px; color: var(--on-muted); line-height: 1.7; }

/* ── CTA ── */
.ab-cta {
  background: linear-gradient(135deg, #ff8c00 0%, #904d00 60%, #6b2f00 100%);
  border-radius: var(--r-xl); padding: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; position: relative; overflow: hidden;
  box-shadow: 0 20px 56px rgba(144,77,0,.28); flex-wrap: wrap;
}
.ab-cta::before {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -150px; right: -100px; pointer-events: none;
}
.ab-cta::after {
  content: ''; position: absolute;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  bottom: -100px; left: 200px; pointer-events: none;
}
.ab-cta__text { position: relative; z-index: 1; flex: 1; min-width: 280px; }
.ab-cta__title {
  font-size: clamp(24px, 3vw, 40px); font-weight: 700;
  color: var(--white); letter-spacing: -.02em;
  margin-bottom: 14px; line-height: 1.2;
}
.ab-cta__desc {
  font-size: 16px; color: rgba(255,255,255,.85);
  margin-bottom: 32px; line-height: 1.7; max-width: 480px;
}
.ab-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .ab-intro__grid      { grid-template-columns: 1fr; gap: 40px; }
  .ab-tutors__grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .ab-wrap             { padding: 0 20px; }
  .ab-section          { padding: 56px 0; }
  .ab-hero__body       { padding: 64px 0; }
  .ab-mv__grid         { grid-template-columns: 1fr; }
  .ab-values__grid     { grid-template-columns: 1fr; }
  .ab-modes__grid      { grid-template-columns: 1fr; }
  .ab-tutors__grid     { grid-template-columns: 1fr; }
  .ab-course__grid     { grid-template-columns: 1fr; }
  .ab-benefits__grid   { grid-template-columns: 1fr; }
  .ab-cta              { padding: 48px 32px; flex-direction: column; }
  .ab-intro__stats     { grid-template-columns: repeat(1, 1fr); }
	.section-gioi-thieu .ab-wrap{grid-template-columns: 100%;}
}
.ebc-hero__body{
	max-width:1140px;
}
/* ===== BLOG TOP BANNER ===== */
.blog-post-topbanner {
  display: flex !important;
  gap: 6px;
  margin-bottom: 2rem;
}

/* Cột trái */
.col-post-left { flex: 1; }

/* Cột phải */
.col-post-right {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  gap: 6px;
}

/* 2 bài nhỏ hàng dưới */
.blog-2-post {
  display: flex !important;
  gap: 6px;
  flex: 1;
}

.blog-2-post .item_blog_page { flex: 1; min-width: 0; }

/* ===== CARD CHUNG: ảnh fill + overlay ===== */
.blog-post-topbanner .item_blog_page {
  position: relative !important;
  overflow: hidden;
  border-radius: 6px;
  display: block !important;
	height:100%;
}

.blog-post-topbanner .figure-big {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
	height:100%;
}

.blog-post-topbanner .img_thumb_blogs {
  width: 100% !important;
  display: block !important;
	height:100%;
}

/* Tỉ lệ ảnh từng vị trí */
.col-post-left .img_thumb_blogs img {
  width: 100% !important;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
	height:100%;
}

.col-post-right > .item_blog_page .img_thumb_blogs img {
  width: 100% !important;
  /*aspect-ratio: 16/7;
  object-fit: cover;*/
  display: block;
}

.blog-2-post .img_thumb_blogs img {
  width: 100% !important;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* ===== OVERLAY: date + title đè lên ảnh ===== */
.blog-post-topbanner .content_item_blogs {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0, transparent 60%);
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  padding: .85rem !important;
  margin: 0 !important;
  width: auto !important;
	color:white;
}

.blog-post-topbanner .blog_home_title {
  margin: 0 !important;
  padding: 0 !important;
}

.blog-post-topbanner .news_home_content_short_info {
  margin: 0 !important;
  padding: 0 !important;
}

.blog-post-topbanner .news_home_content_short_info{
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.col-post-left .news_home_content_short_info a { font-size: 15px; }
.col-post-right > .item_blog_page .news_home_content_short_info a { font-size: 14px; }
.blog-2-post .news_home_content_short_info a { font-size: 12px; -webkit-line-clamp: 2; }

/* Date */
.blog-post-topbanner .content_day_blog {
  font-size: 11px !important;
  color: rgba(255,255,255,.8) !important;
  margin: 0 0 5px !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hover zoom */
.blog-post-topbanner .img_thumb_blogs img {
  transition: transform .35s ease;
}
.blog-post-topbanner .item_blog_page:hover .img_thumb_blogs img {
  transform: scale(1.04);
}

/* Ẩn các thứ không cần */
.blog-post-topbanner .summary_item_blog,
.blog-post-topbanner .xemthem_ { display: none !important; }

/* Responsive */
@media (max-width: 767px) {
  .blog-post-topbanner { flex-direction: column !important; }
  .col-post-right      { display: flex !important;flex-wrap: nowrap; }
.blog-post-topbanner{
			margin-top:60px !important;
			margin-bottom:1rem;
		}
	.blog-2-post{
		flex-wrap: nowrap; 
		    flex-direction: column;
	}
	.blog-list .item_blog_page .figure-big{
		flex-wrap: nowrap; 
		    flex-direction: column;
	}
}
		.blog1 .blog_home_title{
			padding: 10px;
		}
		.blog_home_title i{
			color:white;
		}
.call-mobile1 {
    position: fixed;
    top: initial !important;
    bottom: 66px;
    height: 40px;
    line-height: 40px;
    padding: 0 0px 0 0px;
    border-radius: 40px;
    color: #fff;
    left: 20px;
    z-index: 99999;
}
			.call-mobile {
    background: #ED1C24;
    top: initial !important;
    position: fixed;
    bottom: 10px;
    height: 40px;
    line-height: 40px;
    padding: 0 0px 0 0px;
    border-radius: 40px;
    color: #fff;
    left: 20px;
    z-index: 99999;
}
			.call-mobile i {
    font-size: 20px;
    line-height: 40px;
    background: #B52026;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    text-align: center;
    float: right;
}
			.call-mobile a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    margin-right: 10px;
    padding-left: 10px;
}
/* =============================================
   EDUBEE — COMPLETE CSS
   Courses + Blog + Shared components
   ============================================= */


/* ── RESET ── */
.ebc *, .ebc *::before, .ebc *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.ebc {
  font-family: var(--font);
  color: var(--on-surface);
  background: var(--surface);
}
.ebc a { text-decoration: none; color: inherit; }
.ebc img { display: block; max-width: 100%; }
.ebc ul { list-style: none; }

/* ── LAYOUT ── */
.ebc-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}
.ebc-section { padding: 72px 0; }
.ebc-section--lo { background: var(--surface-lo); }

/* ── BUTTONS ── */
.ebc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform var(--t), background var(--t);
}
.ebc-btn:hover { transform: translateY(-2px); }
.ebc-btn--primary { background: var(--primary); color: var(--white); }
.ebc-btn--primary:hover { background: #7a4100; }
.ebc-btn--outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.ebc-btn--outline:hover { background: var(--primary-bg); }
.ebc-btn--white { background: var(--white); color: var(--primary); }
.ebc-btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.ebc-btn--ghost:hover { background: rgba(255,255,255,.2); }
.ebc-btn--sm { padding: 8px 18px; font-size: 14px; }
.ebc-btn--full { width: 100%; justify-content: center; }

/* ── SECTION HEADER ── */
.ebc-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.ebc-hdr__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 6px;
}
.ebc-hdr__sub {
  font-size: 15px;
  color: var(--on-muted);
}
.ebc-hdr__count {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-muted);
  background: var(--surface-lo);
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── HERO ── */
.ebc-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface-lo);
}
.ebc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ebc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ebc-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,248,245,1) 0%,
    rgba(255,248,245,.85) 45%,
    rgba(255,248,245,.1) 100%
  );
}
.ebc-hero__body {
  position: relative;
  z-index: 1;
  width: 100%;
}
.ebc-hero__inner { max-width: 580px; }
.ebc-hero__badge {
  display: inline-block;
  padding: 4px 14px !important;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.ebc-hero__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 16px;
}
.ebc-hero__desc {
  font-size: 15px;
  color: var(--on-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

/* ── SEARCH BAR ── */
.ebc-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--outline);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: 0 4px 16px rgba(144,77,0,.08);
}
.ebc-search__in {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  min-width: 160px;
  border-right: 1px solid var(--outline);
}
.ebc-search__in input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 15px;
  color: var(--on-surface);
  width: 100%;
  margin-bottom: 0 !important;
}
.ebc-search__in input::placeholder { color: #bbb; }
.ebc-search__btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  padding: 8px 20px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin: 2px;
  transition: background var(--t);
}
.ebc-search__btn:hover { background: var(--primary); }

/* ── TEACHER CHIP ── */
.ebc-teacher {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ebc-teacher__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary-lo);
  background: var(--surface-var);
}
.ebc-teacher__avatar--sm { width: 32px; height: 32px; }
.ebc-teacher__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ebc-teacher__name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--on-surface);
  padding: 0 !important;
}
.ebc-teacher__job {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  padding: 0 !important;
}

/* ── BADGES ── */
.ebc-badge {
  display: inline-block;
  padding: 3px 9px !important;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.ebc-badge--sold { background: #444; color: var(--white); }
.ebc-badge--sale { background: #c0392b; color: var(--white); }
.ebc-badge--new  { background: var(--accent2); color: #221b00; }

/* ── PRODUCT GRID (courses) ── */
.ebc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.ebc-pcard {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--outline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow var(--t), transform var(--t);
}
.ebc-pcard:hover {
  box-shadow: 0 12px 28px rgba(144,77,0,.1);
  transform: translateY(-3px);
}
.ebc-pcard__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  z-index: 2;
}
.ebc-pcard__thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-lo);
}
.ebc-pcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ebc-pcard:hover .ebc-pcard__thumb img { transform: scale(1.05); }
.ebc-pcard__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  border-top: 3px solid var(--primary);
}
.ebc-pcard__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding: 0 !important;
}
.ebc-pcard__name a { color: var(--on-surface); transition: color var(--t); }
.ebc-pcard__name a:hover { color: var(--primary); }
.ebc-pcard__price-box {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.ebc-pcard__price {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  padding: 0 !important;
}
.ebc-pcard__price-old {
  font-size: 12px;
  color: var(--on-muted);
  text-decoration: line-through;
  padding: 0 !important;
}
.ebc-pcard__desc {
  font-size: 13px;
  color: var(--on-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.ebc-pcard__actions {
  display: flex;
  gap: 7px;
  margin-top: 4px;
}
.ebc-pcard__actions form {
  flex: 1;
  display: flex;
  margin-bottom: 0 !important;
}

/* ── BLOG GRID ── */
.ebc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.ebc-acard {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--outline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow var(--t), transform var(--t);
}
.ebc-acard:hover {
  box-shadow: 0 12px 28px rgba(144,77,0,.1);
  transform: translateY(-3px);
}
.ebc-acard__thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-lo);
}
.ebc-acard__thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .5s ease;
}
.ebc-acard:hover .ebc-acard__thumb img { transform: scale(1.05); }
.ebc-acard__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 3px solid var(--primary);
}
.ebc-acard__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ebc-acard__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.ebc-acard__date {
  font-size: 12px;
  color: var(--on-muted);
}
.ebc-acard__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  padding: 0 !important;
}
.ebc-acard__title a { color: var(--on-surface); transition: color var(--t); }
.ebc-acard__title a:hover { color: var(--primary); }
.ebc-acard__excerpt {
  font-size: 13px;
  color: var(--on-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.ebc-acard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.ebc-acard__author {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ebc-acard__author-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-var);
  border: 2px solid var(--primary-lo);
  flex-shrink: 0;
}
.ebc-acard__author-img img { width: 100%; height: 100%; object-fit: cover; }
.ebc-acard__author-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--on-muted);
}
.ebc-acard__read {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity var(--t);
}
.ebc-acard__read:hover { opacity: .75; }

/* ── PAGINATION ── */
.ebc-pagination {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.ebc-pagination .pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.ebc-pagination .pagination li a,
.ebc-pagination .pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--outline);
  transition: background var(--t), color var(--t);
}
.ebc-pagination .pagination li.active span,
.ebc-pagination .pagination li a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.ebc-pagination .pagination li.disabled a {
  pointer-events: none;
  opacity: .4;
}

/* ── ROADMAP ── */
.ebc-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.ebc-roadmap::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--surface-var);
  z-index: 0;
}
.ebc-roadmap__step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.ebc-roadmap__num {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(144,77,0,.12);
  transition: transform var(--t), background var(--t), color var(--t);
}
.ebc-roadmap__step--active .ebc-roadmap__num {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(144,77,0,.3);
}
.ebc-roadmap__step:hover .ebc-roadmap__num { transform: scale(1.1); }
.ebc-roadmap__title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.ebc-roadmap__desc { font-size: 13px; color: var(--on-muted); line-height: 1.65; }

/* ── SECTION CENTER ── */
.ebc-section-center { text-align: center; margin-bottom: 56px; }
.ebc-section-center h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.ebc-section-center p {
  font-size: 15px;
  color: var(--on-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ── CTA FIRE ── */
.ebc-cta-fire {
  background: linear-gradient(135deg, #ff8c00 0%, #ba1a1a 100%);
  border-radius: var(--r-xl);
  padding: 64px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(144,77,0,.25);
  flex-wrap: wrap;
}
.ebc-cta-fire__bg-icon {
  position: absolute;
  right: -60px;
  top: -60px;
  font-size: 280px;
  color: rgba(255,255,255,.07);
  pointer-events: none;
  line-height: 1;
}
.ebc-cta-fire__text {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 260px;
}
.ebc-cta-fire__title {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.ebc-cta-fire__desc {
  font-size: 17px;
  color: rgba(255,255,255,.88);
  margin-bottom: 28px;
  line-height: 1.65;
}
.ebc-cta-fire__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── RATING BOX ── */
.ebc-rating {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  text-align: center;
  color: var(--white);
  min-width: 200px;
  flex-shrink: 0;
}
.ebc-rating__num { font-size: 44px; font-weight: 800; margin-bottom: 8px; }
.ebc-rating__sub { font-size: 12px; opacity: .8; line-height: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .ebc-grid        { grid-template-columns: repeat(2, 1fr); }
  .ebc-blog-grid   { grid-template-columns: repeat(2, 1fr); }
  .ebc-roadmap     { grid-template-columns: 1fr 1fr; }
  .ebc-roadmap::before { display: none; }
}

@media (max-width: 768px) {
  .ebc-wrap        { padding: 0 20px; }
  .ebc-section     { padding: 48px 0; }
  .ebc-hero__body  { padding: 48px 0; }
  .ebc-grid        { grid-template-columns: 1fr; }
  .ebc-blog-grid   { grid-template-columns: 1fr; }
  .ebc-roadmap     { grid-template-columns: 1fr; }
  .ebc-cta-fire    { padding: 40px 28px; flex-direction: column; }
  .ebc-cta-fire__btns { flex-direction: column; }
  .ebc-search      { flex-direction: column; }
  .ebc-search__in  { border-right: none; border-bottom: 1px solid var(--outline); }
  .ebc-hdr         { flex-direction: column; align-items: flex-start; }
}
/* khóa học */
.ebc-hero__body{position:relative;z-index:1;width:100%;padding:80px 0}

/*home */
.hero_home{
	float:left;
	width:100%;
	background:#F8F3EF;
	padding:70px 0 90px;
	position:relative;
}

.hero_home .hero_wrap{
	width:95%;
	max-width:1280px;
	margin:0 auto;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:70px;
}

/* LEFT */

.hero_home .hero_left{
	flex:1;
}

.hero_home .hero_badge{
	display:inline-block;
	padding:10px 18px;
	background:#FFD84B;
	color:#6B5300;
	border-radius:40px;
	font-size:14px;
	font-weight:600;
	margin-bottom:30px;
}

.hero_home .hero_title{
	font-size:60px;
	line-height:74px;
	font-weight:700;
	color:#241C16;
	margin:0 0 25px;
	letter-spacing:-1px;
}

.hero_home .hero_title span{
	display:block;
	color:#B5671B;
}

.hero_home .hero_desc{
	max-width:560px;
	font-size:22px;
	line-height:38px;
	color:#72665C;
	margin-bottom:42px;
}

.hero_home .hero_buttons{
	display:flex;
	align-items:center;
	gap:20px;
}

.hero_home .btn_start{
	display:inline-block;
	height:58px;
	line-height:58px;
	padding:0 42px;
	background:#FF7A00;
	border-radius:14px;
	color:#fff;
	font-size:18px;
	font-weight:600;
	text-decoration:none;
	transition:.3s;
}

.hero_home .btn_start:hover{
	background:#E76D00;
	color:#fff;
}

.hero_home .btn_more{
	display:inline-block;
	height:58px;
	line-height:54px;
	padding:0 42px;
	border:2px solid #B5671B;
	border-radius:14px;
	background:transparent;
	color:#B5671B;
	font-size:18px;
	font-weight:700;
	text-decoration:none;
	transition:.3s;
}

.hero_home .btn_more:hover{
	background:#B5671B;
	color:#fff;
}

/* RIGHT */

.hero_home .hero_right{
	flex:1;
}

.hero_home .hero_img{
	background:#fff;
	padding:8px;
	border-radius:24px;
	box-shadow:0 18px 35px rgba(0,0,0,.08);
}

.hero_home .hero_img img{
	width:100%;
	display:block;
	border-radius:18px;
}

/* MOBILE */

@media(max-width:991px){

.hero_home .hero_wrap{
	flex-direction:column;
	text-align:center;
	gap:40px;
}

.hero_home .hero_title{
	font-size:48px;
	line-height:58px;
}

.hero_home .hero_desc{
	font-size:18px;
	line-height:32px;
	margin:0 auto 30px;
}

.hero_home .hero_buttons{
	justify-content:center;
	flex-wrap:wrap;
}

}

@media(max-width:576px){

.hero_home{
	padding:50px 0;
}

.hero_home .hero_title{
	font-size:38px;
	line-height:46px;
}

.hero_home .hero_buttons{
	flex-direction:column;
}

.hero_home .btn_start,
.hero_home .btn_more{
	width:100%;
	text-align:center;
}

}
/* STATS SECTION */

.home_stats{
	float:left;
	width:100%;
	background:#F8F3EF;
	padding:0 0 80px;
}

.home_stats .stats_wrap{
	width:95%;
	max-width:1280px;
	margin:0 auto;
	display:flex;
	gap:15px;
	justify-content:space-between;
}

.home_stats .stats_item{
	flex:1;
	background:#fff;
	border-radius:26px;
	padding:34px 20px;
	text-align:center;
	box-shadow:0 8px 20px rgba(0,0,0,.03);
	transition:.3s;
}

.home_stats .stats_item:hover{
	transform:translateY(-4px);
	box-shadow:0 18px 35px rgba(0,0,0,.08);
}

.home_stats .stats_icon{
	width:80px;
	height:80px;
	margin:0 auto 22px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:18px;
	font-weight:700;
}

.home_stats .icon_1{
	background:#FCE6C9;
	color:#C8841D;
}

.home_stats .icon_2{
	background:#F7EDB5;
	color:#9D8A13;
}

.home_stats .icon_3{
	background:#D9F0FF;
	color:#2B93D9;
}

.home_stats .icon_4{
	background:#FFE0E0;
	color:#E25353;
}

.home_stats .stats_number{
	font-size:35px;
	font-weight:700;
	line-height:1;
	color:#241C16;
	margin-bottom:10px;
}

.home_stats .stats_text{
	font-size:15px;
	line-height:28px;
	color:#8A817A;
	text-transform:uppercase;
	letter-spacing:.5px;
	font-weight: 600;
}

/* MOBILE */

@media(max-width:991px){

.home_stats .stats_wrap{
	flex-wrap:wrap;
}

.home_stats .stats_item{
	width:calc(50% - 12px);
	flex:none;
}

}

@media(max-width:576px){

.home_stats{
	padding:0 0 50px;
}

.home_stats .stats_wrap{
	flex-direction:row;
	gap:10px;
}

.home_stats .stats_item{
	width:calc(50% - 5px);
}

.home_stats .stats_number{
	font-size:30px;
}

}