/* =========================================================
   DQ EDU — Frontend stylesheet (thuần CSS, không dùng framework/plugin ngoài)
   Màu sắc/typography tham chiếu theo custom properties do theme.json sinh ra:
   var(--wp--preset--color--brand-700) v.v.
   ========================================================= */

*, *::before, *::after {
	box-sizing: border-box;
}

/* Khử khoảng trắng (block-gap) mặc định giữa các section chính, header và footer */
.wp-site-blocks > *,
.wp-site-blocks > * + * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

:root {
	--dq-radius: 12px;
	--dq-radius-sm: 8px;
	--dq-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
	--dq-shadow-md: 0 6px 16px rgba(15, 23, 42, .08);
	--dq-shadow-lg: 0 16px 32px rgba(15, 23, 42, .12);
	--dq-container: 1180px;
}

/* Đảm bảo thuộc tính [hidden] luôn thắng mọi rule display: flex/block khác trong file này */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { cursor: pointer; }
button { cursor: pointer; font-family: inherit; }

.dq-container { max-width: var(--dq-container); margin-inline: auto; padding-inline: 1.25rem; }
.dq-section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--brand-600);
	outline-offset: 2px;
	border-radius: 4px;
}

.dq-eyebrow {
	display: inline-block;
	color: var(--wp--preset--color--brand-700);
	font-weight: 700;
	font-size: .8125rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-bottom: .5rem;
}

/* ---------- Headings (Ghi đè font chữ tiêu đề đậm và lớn hơn) ---------- */
h1, .h1, h1.wp-block-heading {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.25rem, 5vw, 3.25rem) !important;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--slate-900);
	margin-top: 0;
	margin-bottom: 1rem;
}
h2, .h2, h2.wp-block-heading {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--wp--preset--color--slate-900);
	margin-top: 0;
	margin-bottom: 1rem;
}
h3, .h3, h3.wp-block-heading {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
	font-weight: 700;
	line-height: 1.25;
	color: var(--wp--preset--color--slate-900);
	margin-top: 0;
	margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.dq-btn, .wp-block-button__link, .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	border-radius: var(--dq-radius-sm);
	font-weight: 600;
	padding: .8rem 1.5rem;
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
	cursor: pointer;
	border: 2px solid transparent;
	text-decoration: none;
	line-height: 1.2;
}
.dq-btn--primary, .is-style-fill .wp-block-button__link {
	background: var(--wp--preset--color--brand-700);
	color: #fff;
}
.dq-btn--primary:hover, .is-style-fill .wp-block-button__link:hover { background: var(--wp--preset--color--brand-800); color: #fff; }
.dq-btn--secondary, .is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--wp--preset--color--brand-700);
	color: var(--wp--preset--color--brand-700) !important;
}
.dq-btn--secondary:hover, .is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--brand-50); }
.dq-btn--accent { background: var(--wp--preset--color--accent-600); color: #fff; }
.dq-btn--accent:hover { background: var(--wp--preset--color--accent-700, #7E221A); }
.dq-btn--ghost { background: var(--wp--preset--color--slate-50); color: var(--wp--preset--color--slate-500); }
.dq-btn--block { width: 100%; }
.dq-btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.dq-btn--xs { padding: .45rem .9rem; font-size: .8125rem; }
.dq-btn:disabled { opacity: .55; cursor: not-allowed; }
.dq-link-arrow { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; color: var(--wp--preset--color--brand-700); text-decoration: none; }
.dq-link-arrow:hover { text-decoration: underline; }

/* ---------- Icons ---------- */
.dq-icon { width: 22px; height: 22px; flex-shrink: 0; }
.dq-icon--xs { width: 15px; height: 15px; }
.dq-icon--sm { width: 18px; height: 18px; }
.dq-icon--lg { width: 30px; height: 30px; }
.dq-icon--xl { width: 44px; height: 44px; }
.dq-icon--brand { color: var(--wp--preset--color--brand-600); }
.dq-icon--accent { color: var(--wp--preset--color--brand-600); }

/* ---------- Header ---------- */
.dq-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--wp--preset--color--slate-200); transition: box-shadow 200ms ease; }
.dq-header.is-scrolled { box-shadow: var(--dq-shadow-sm); }
.dq-header__topbar { border-bottom: 1px solid var(--wp--preset--color--slate-50); display: none; }
.dq-header__topbar-inner { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; padding-block: .4rem; font-size: .8125rem; color: var(--wp--preset--color--slate-500); }
.dq-topbar-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--wp--preset--color--slate-500); text-decoration: none; }
.dq-topbar-link:hover { color: var(--wp--preset--color--brand-700); }
.dq-topbar-link-inner { color: inherit; text-decoration: none; font-weight: 600; }
.dq-topbar-link-inner:hover { color: var(--wp--preset--color--brand-700); text-decoration: underline; }
.dq-topbar-sep { color: var(--wp--preset--color--slate-200); }
@media (min-width: 1024px) { .dq-header__topbar { display: block; } }

.dq-header__main { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.dq-logo, .custom-logo-link { display: inline-flex; cursor: pointer; }
.dq-logo-svg, .custom-logo { height: 34px; width: auto; max-width: 240px; object-fit: contain; }
@media (min-width: 640px) { .dq-logo-svg, .custom-logo { height: 40px; } }

.dq-nav { display: none; align-items: center; gap: 1.75rem; }
.dq-nav__link { position: relative; padding-block: .4rem; font-size: .9375rem; font-weight: 500; color: var(--wp--preset--color--slate-900); text-decoration: none; }
.dq-nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--wp--preset--color--brand-700); transform: scaleX(0); transform-origin: left; transition: transform 200ms ease; }
.dq-nav__link:hover, .dq-nav__link.is-active { color: var(--wp--preset--color--brand-700); }
.dq-nav__link:hover::after, .dq-nav__link.is-active::after { transform: scaleX(1); }
@media (min-width: 1024px) { .dq-nav { display: flex; } }

.dq-header__actions { display: none; }
@media (min-width: 1024px) { .dq-header__actions { display: flex; align-items: center; gap: .75rem; } }

.dq-mobile-toggle { background: none; border: none; padding: .4rem; color: var(--wp--preset--color--slate-900); }
@media (min-width: 1024px) { .dq-mobile-toggle { display: none; } }

.dq-mobile-menu { border-top: 1px solid var(--wp--preset--color--slate-200); background: #fff; padding: .75rem 1.25rem 1.25rem; }
@media (min-width: 1024px) { .dq-mobile-menu { display: none !important; } }
.dq-mobile-menu__link { display: block; padding: .8rem .5rem; border-radius: var(--dq-radius-sm); font-weight: 500; color: var(--wp--preset--color--slate-900); text-decoration: none; }
.dq-mobile-menu__link:hover, .dq-mobile-menu__link.is-active { background: var(--wp--preset--color--brand-50); color: var(--wp--preset--color--brand-700); }
.dq-mobile-menu__cta { width: 100%; margin-top: .75rem; }

/* ---------- Hero ---------- */
.dq-hero { padding-block: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.dq-hero__inner { align-items: center; }
.dq-hero__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.dq-text-brand { color: var(--wp--preset--color--brand-700); }
.dq-hero__desc { font-size: 1.0625rem; color: var(--wp--preset--color--slate-500); max-width: 46ch; margin-bottom: 1.75rem; }
.dq-hero__actions { margin-bottom: 1.25rem; }
.dq-hero__trust { font-size: .875rem; color: var(--wp--preset--color--slate-500); }

.dq-hero__visual { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; width: 100%; }
.dq-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; z-index: 0; box-shadow: var(--dq-shadow-lg); border: 4px solid #ffffff; }
.dq-hero__blob { display: none; }
.dq-hero__card { position: absolute; z-index: 2; background: #fff; border-radius: var(--dq-radius); box-shadow: var(--dq-shadow-lg); padding: 1rem 1.25rem; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.dq-hero__card:hover { transform: translateY(-5px); }
.dq-hero__card--1 { top: -20px; left: -10px; }
.dq-hero__card--2 { bottom: -20px; right: -10px; }
.dq-hero__card-num { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.75rem; color: var(--wp--preset--color--brand-700); }
.dq-hero__card-label { font-size: .875rem; color: var(--wp--preset--color--slate-500); }

/* ---------- Stats band ---------- */
.dq-stats { padding-block: 2.5rem; }
.dq-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 768px) { .dq-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.dq-stats__item { display: flex; flex-direction: column; gap: .25rem; }
.dq-stats__num { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.25rem); color: #fff; }
.dq-stats__label { color: var(--wp--preset--color--brand-100); font-size: .9rem; }

/* ---------- Section head ---------- */
.dq-section__head { margin-bottom: 2.5rem; text-align: center; }
.dq-section__head--split { text-align: left; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.dq-section__head--split h2 { margin: 0; }

/* ---------- Why choose ---------- */
.dq-why-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .dq-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dq-why-grid { grid-template-columns: repeat(4, 1fr); } }
.dq-why-card { background: #fff; border: 1px solid var(--wp--preset--color--slate-200); border-radius: var(--dq-radius); padding: 1.75rem 1.5rem; transition: box-shadow 200ms ease, transform 200ms ease; }
.dq-why-card:hover { box-shadow: var(--dq-shadow-md); transform: translateY(-2px); }
.dq-why-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--wp--preset--color--brand-50); color: var(--wp--preset--color--brand-700); margin-bottom: 1rem; }
.dq-why-card h3 { font-size: 1.0625rem; margin: 0 0 .5rem; }
.dq-why-card p { color: var(--wp--preset--color--slate-500); font-size: .9375rem; margin: 0; }

/* ---------- Filter pills & select dropdowns ---------- */
.dq-schedule__filters { margin-bottom: 1.5rem; }
.dq-filter-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.dq-pill { border: 1px solid var(--wp--preset--color--slate-200); background: #fff; color: var(--wp--preset--color--slate-500); border-radius: 999px; padding: .5rem 1.1rem; font-size: .875rem; font-weight: 600; transition: all 200ms ease; }
.dq-pill:hover { border-color: var(--wp--preset--color--brand-300); color: var(--wp--preset--color--brand-700); }
.dq-pill.is-active { background: var(--wp--preset--color--brand-700); border-color: var(--wp--preset--color--brand-700); color: #fff; }

.dq-filter-select-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.dq-filter-select-wrapper { display: flex; flex-direction: column; gap: .4rem; flex: 1; min-width: 240px; }
.dq-filter-select-label { font-size: .8125rem; font-weight: 700; color: var(--wp--preset--color--slate-500); text-transform: uppercase; letter-spacing: .05em; }
.dq-filter-select {
	width: 100%;
	border: 1px solid var(--wp--preset--color--slate-200);
	border-radius: var(--dq-radius-sm);
	padding: .65rem 1rem;
	font-size: .9375rem;
	font-family: inherit;
	background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") no-repeat right .75rem center/1.25rem;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: border-color 200ms ease, box-shadow 200ms ease;
	padding-right: 2.25rem;
}
.dq-filter-select:focus {
	outline: none;
	border-color: var(--wp--preset--color--brand-600);
	box-shadow: 0 0 0 3px var(--wp--preset--color--brand-100);
}
.dq-filter-empty, .dq-empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--wp--preset--color--slate-500); background: var(--wp--preset--color--slate-50); border-radius: var(--dq-radius); }

/* ---------- Course grid / cards ---------- */
.dq-course-grid__list { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.75rem; }
@media (min-width: 640px) { .dq-course-grid__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dq-course-grid__list { grid-template-columns: repeat(var(--dq-cols, 3), 1fr); } }

.dq-course-card { background: #fff; border: 1px solid var(--wp--preset--color--slate-200); border-radius: var(--dq-radius); overflow: hidden; box-shadow: var(--dq-shadow-sm); transition: box-shadow 200ms ease, transform 200ms ease; display: flex; flex-direction: column; }
.dq-course-card:hover { box-shadow: var(--dq-shadow-lg); transform: translateY(-3px); }
.dq-course-card__media { position: relative; display: block; aspect-ratio: 16/10.5; background: linear-gradient(135deg, var(--wp--preset--color--brand-50), var(--wp--preset--color--brand-100)); overflow: hidden; }
.dq-course-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dq-course-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--wp--preset--color--brand-500); }
.dq-course-card__tag { position: absolute; top: .75rem; left: .75rem; }
.dq-course-card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.dq-course-card__title { font-size: 1.1rem; margin: 0; line-height: 1.35; }
.dq-course-card__title a { color: var(--wp--preset--color--slate-900); text-decoration: none; }
.dq-course-card__title a:hover { color: var(--wp--preset--color--brand-700); }
.dq-course-card__excerpt { font-size: .9rem; color: var(--wp--preset--color--slate-500); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dq-course-card__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .9rem; font-size: .8125rem; color: var(--wp--preset--color--slate-500); }
.dq-course-card__meta li { display: flex; align-items: center; gap: .35rem; }
.dq-course-card__footer { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--wp--preset--color--slate-200); display: flex; align-items: center; justify-content: space-between; }
.dq-course-card__price { font-weight: 700; color: var(--wp--preset--color--brand-700); }

/* ---------- Badges ---------- */
.dq-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .3rem .75rem; font-size: .78rem; font-weight: 700; }
.dq-badge--brand { background: var(--wp--preset--color--brand-50); color: var(--wp--preset--color--brand-700); }
.dq-badge--amber { background: #FEF3C7; color: #92400E; }
.dq-badge--gray { background: var(--wp--preset--color--slate-50); color: var(--wp--preset--color--slate-500); }
.dq-badge--red { background: var(--wp--preset--color--accent-50); color: var(--wp--preset--color--accent-600); }

/* ---------- Process steps ---------- */
.dq-steps { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.75rem; counter-reset: step; }
@media (min-width: 768px) { .dq-steps { grid-template-columns: repeat(4, 1fr); } }
.dq-step { text-align: center; padding: 1rem; }
.dq-step__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--wp--preset--color--brand-700); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 800; margin-bottom: 1rem; }
.dq-step h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.dq-step p { color: var(--wp--preset--color--slate-500); font-size: .9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.dq-testimonial-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .dq-testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.dq-testimonial { background: var(--wp--preset--color--slate-50); border-radius: var(--dq-radius); padding: 1.75rem; margin: 0; }
.dq-testimonial blockquote { margin: 0 0 1.25rem; font-size: .9375rem; color: var(--wp--preset--color--slate-900); line-height: 1.65; }
.dq-testimonial figcaption { display: flex; align-items: center; gap: .75rem; }
.dq-testimonial__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--dq-shadow-sm); }
.dq-testimonial__meta { display: flex; flex-direction: column; }
.dq-testimonial__meta strong { font-size: .9375rem; color: var(--wp--preset--color--slate-900); font-weight: 700; line-height: 1.25; }
.dq-testimonial__meta span { font-size: .8125rem; color: var(--wp--preset--color--slate-500); margin-top: .15rem; }

/* ---------- CTA band ---------- */
.dq-cta-band { padding-block: 3.5rem; }
.dq-cta-band__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.dq-cta-band__inner .wp-block-buttons { justify-content: center; margin-bottom: 0; }
.dq-cta-band__inner > *:last-child { margin-bottom: 0; }
.dq-cta-band__title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: .75rem; }
.dq-cta-band__desc { margin-bottom: 1.75rem; }

/* ---------- News cards ---------- */
.dq-news-grid { display: grid; gap: 1.75rem; }
.dq-news-card { background: #fff; border: 1px solid var(--wp--preset--color--slate-200); border-radius: var(--dq-radius); overflow: hidden; box-shadow: var(--dq-shadow-sm); transition: box-shadow 200ms ease, transform 200ms ease; }
.dq-news-card:hover { box-shadow: var(--dq-shadow-lg); transform: translateY(-3px); }
.dq-news-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--wp--preset--color--brand-50); }
.dq-news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dq-news-card__cat a { font-size: .75rem; font-weight: 700; color: var(--wp--preset--color--brand-700); text-transform: uppercase; padding-inline: 1.25rem; display: inline-block; margin-top: .9rem; text-decoration: none; }
.dq-news-card__title { padding-inline: 1.25rem; font-size: 1.05rem; margin: .5rem 0 .4rem; }
.dq-news-card__title a { color: var(--wp--preset--color--slate-900); text-decoration: none; }
.dq-news-card__title a:hover { color: var(--wp--preset--color--brand-700); }
.dq-news-card__excerpt { padding-inline: 1.25rem; color: var(--wp--preset--color--slate-500); font-size: .875rem; }
.dq-news-card__date { padding: 0 1.25rem 1.25rem; display: block; font-size: .8125rem; color: var(--wp--preset--color--slate-500); }
.dq-pagination { justify-content: center; margin-top: 2.5rem; gap: .5rem; }
.dq-pagination a, .dq-pagination span { border-radius: var(--dq-radius-sm); padding: .5rem .9rem; }

/* ---------- News carousel ---------- */
.dq-news-carousel-wrapper { position: relative; margin-inline: -1rem; padding-inline: 1rem; overflow: hidden; }
.dq-news-carousel {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	scroll-behavior: smooth;
	padding-bottom: 1.5rem;
}
.dq-news-carousel::-webkit-scrollbar { display: none; }
.dq-news-carousel .dq-news-carousel-item {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
@media (min-width: 640px) {
	.dq-news-carousel .dq-news-carousel-item {
		flex: 0 0 calc(50% - 0.75rem);
	}
}
@media (min-width: 1024px) {
	.dq-news-carousel .dq-news-carousel-item {
		flex: 0 0 calc(33.333% - 1rem);
	}
}

/* ---------- Sidebar list (blog) ---------- */
.dq-sidebar-cta { margin-bottom: 2rem; }
.dq-sidebar-cta .wp-block-button__link { width: 100%; }
.dq-sidebar-list-query .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.dq-sidebar-list-query li { padding-block: .85rem; border-bottom: 1px solid var(--wp--preset--color--slate-200); }
.dq-sidebar-list__title { font-size: .9375rem; margin: 0 0 .25rem; }
.dq-sidebar-list__title a { color: var(--wp--preset--color--slate-900); text-decoration: none; }
.dq-sidebar-list__title a:hover { color: var(--wp--preset--color--brand-700); }
.dq-sidebar-list__date { font-size: .78rem; color: var(--wp--preset--color--slate-500); }
.dq-article__title { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.dq-article__meta { gap: 1rem; color: var(--wp--preset--color--slate-500); font-size: .875rem; margin-bottom: 1.5rem; }
.dq-article__image { border-radius: var(--dq-radius); overflow: hidden; margin-bottom: 1.75rem; }
.dq-article__image img { width: 100%; object-fit: cover; }
.dq-prose { max-width: 72ch; line-height: 1.75; }
.dq-prose h2, .dq-prose h3 { margin-top: 2rem; }
.dq-prose ul, .dq-prose ol { padding-left: 1.5rem; }
.dq-prose img { border-radius: var(--dq-radius); }

/* ---------- Page hero (inner pages) ---------- */
.dq-page-hero { padding-block: 3rem; }
.dq-page-hero--sm { padding-block: 2rem; }
.dq-page-hero__desc { max-width: 62ch; color: var(--wp--preset--color--slate-500); margin-top: .5rem; margin-inline: 0 !important; }
.dq-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--wp--preset--color--slate-500); margin-bottom: .75rem; }
.dq-breadcrumb a { color: var(--wp--preset--color--slate-500); text-decoration: none; }
.dq-breadcrumb a:hover { color: var(--wp--preset--color--brand-700); }
.dq-page { max-width: 900px; margin-inline: auto; }
.dq-page__title { margin-bottom: 1.5rem; }

/* ---------- Course detail ---------- */
.dq-course-hero-image { border-radius: var(--dq-radius); overflow: hidden; margin-bottom: 1.75rem; }
.dq-course-hero-image img { width: 100%; object-fit: cover; }
.dq-course-meta { position: sticky; top: 96px; background: #fff; border: 1px solid var(--wp--preset--color--slate-200); border-radius: var(--dq-radius); padding: 1.5rem; box-shadow: var(--dq-shadow-sm); display: flex; flex-direction: column; }
.dq-course-meta__price-label { font-size: .8125rem; color: var(--wp--preset--color--slate-500); margin: 0; }
.dq-course-meta__price { font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; font-weight: 800; color: var(--wp--preset--color--brand-700); margin: 0 0 1.25rem; }
.dq-course-meta__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
.dq-course-meta__list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--wp--preset--color--slate-900); }
.dq-course-meta__call { margin-top: .75rem; padding: .65rem 1rem; font-size: .9rem; }

/* ---------- Schedule table ---------- */
.dq-schedule__table { display: flex; flex-direction: column; border: 1px solid var(--wp--preset--color--slate-200); border-radius: var(--dq-radius); overflow: hidden; }
.dq-schedule__head { display: none; }
@media (min-width: 900px) {
	.dq-schedule__head, .dq-schedule__row { display: grid; grid-template-columns: 2.2fr 1fr 1.4fr 1fr .9fr; gap: 1rem; align-items: center; padding: 1.25rem 1.5rem; }
	.dq-schedule__table--with-course .dq-schedule__head, .dq-schedule__table--with-course .dq-schedule__row { grid-template-columns: 1.9fr 1.5fr 1fr 1.3fr 1fr .9fr; }
	.dq-schedule__head { background: var(--wp--preset--color--slate-50); font-size: .8125rem; font-weight: 700; color: var(--wp--preset--color--slate-500); text-transform: uppercase; letter-spacing: .03em; }
	.dq-schedule__row + .dq-schedule__row { border-top: 1px solid var(--wp--preset--color--slate-200); }
	.dq-schedule__row [data-label] { font-size: .9rem; }
}
@media (max-width: 899.98px) {
	.dq-schedule__row { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.25rem; }
	.dq-schedule__row + .dq-schedule__row { border-top: 1px solid var(--wp--preset--color--slate-200); }
	.dq-schedule__row [data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--wp--preset--color--slate-500); }
	.dq-schedule__action { margin-top: .4rem; }
}
/* Hàng bấm được -> trỏ tới trang khoá học */
.dq-schedule__row--link { cursor: pointer; transition: background-color .15s ease; }
.dq-schedule__row--link:hover { background: var(--wp--preset--color--slate-50); }
.dq-schedule__course-name a { color: var(--wp--preset--color--slate-900); text-decoration: none; font-weight: 600; }
.dq-schedule__row--link:hover .dq-schedule__course-name a { color: var(--wp--preset--color--brand-700); text-decoration: underline; }
.dq-schedule__course strong { display: block; font-size: 0.95rem; font-weight: 700; line-height: 1.4; color: var(--wp--preset--color--slate-900); }
.dq-schedule__course strong a { color: inherit; text-decoration: none; }
.dq-schedule__course strong a:hover { color: var(--wp--preset--color--brand-700); }
.dq-schedule__course em { display: block; font-style: normal; font-size: .8125rem; color: var(--wp--preset--color--slate-500); margin-top: 0.25rem; }

/* ---------- Certificate lookup ---------- */
.dq-cert-lookup { background: #fff; border: 1px solid var(--wp--preset--color--slate-200); border-radius: var(--dq-radius); padding: 1.75rem; box-shadow: var(--dq-shadow-sm); }
.dq-cert-lookup__tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--wp--preset--color--slate-200); }
.dq-tab-btn { background: none; border: none; border-bottom: 2px solid transparent; padding: .75rem .25rem; margin-right: 1.5rem; font-weight: 600; color: var(--wp--preset--color--slate-500); }
.dq-tab-btn.is-active { color: var(--wp--preset--color--brand-700); border-color: var(--wp--preset--color--brand-700); }
.dq-cert-lookup__state { text-align: center; padding: 2rem 1rem; color: var(--wp--preset--color--slate-500); }
.dq-spinner { width: 28px; height: 28px; border: 3px solid var(--wp--preset--color--brand-100); border-top-color: var(--wp--preset--color--brand-700); border-radius: 50%; margin: 0 auto .75rem; animation: dq-spin 700ms linear infinite; }
@keyframes dq-spin { to { transform: rotate(360deg); } }
.dq-cert-lookup__result { margin-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--slate-200); padding-top: 1.5rem; }
.dq-cert-result__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.dq-cert-result__code-label { font-size: .8125rem; color: var(--wp--preset--color--slate-500); margin: 0; }
.dq-cert-result__code { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.15rem; margin: 0; }
.dq-cert-result__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; font-size: .9rem; margin-bottom: 1.25rem; }
@media (min-width: 560px) { .dq-cert-result__grid { grid-template-columns: 1fr 1fr; } }
.dq-cert-result__grid dt { color: var(--wp--preset--color--slate-500); margin-bottom: .2rem; }
.dq-cert-result__grid dd { margin: 0; font-weight: 600; }
.dq-cert-result__note { background: var(--wp--preset--color--brand-50); border: 1px solid var(--wp--preset--color--brand-100); border-radius: var(--dq-radius-sm); padding: .9rem 1.1rem; font-size: .875rem; color: var(--wp--preset--color--brand-800); margin: 0; }

.dq-info-box { background: var(--wp--preset--color--slate-50); border-radius: var(--dq-radius); padding: 1.5rem; }
.dq-info-box h3 { margin-top: 0; }
.dq-info-box__list { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; }
.dq-info-box__note { font-size: .825rem; color: var(--wp--preset--color--slate-500); margin: 0; }

/* ---------- Forms ---------- */
.dq-form__row { margin-bottom: 1.1rem; }
.dq-form__row label { display: block; font-size: .875rem; font-weight: 600; color: var(--wp--preset--color--slate-900); margin-bottom: .4rem; }
.dq-form__row input, .dq-form__row select, .dq-form__row textarea {
	width: 100%;
	border: 1px solid var(--wp--preset--color--slate-200);
	border-radius: var(--dq-radius-sm);
	padding: .8rem 1rem;
	font-size: 1rem;
	font-family: inherit;
	background: #fff;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.dq-form__row input:focus, .dq-form__row select:focus, .dq-form__row textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--brand-600);
	box-shadow: 0 0 0 3px var(--wp--preset--color--brand-100);
}
.dq-form__grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 560px) { .dq-form__grid-2 { grid-template-columns: 1fr 1fr; } }
.dq-form__hint { font-size: .8125rem; color: var(--wp--preset--color--slate-500); margin: .4rem 0 0; }
.dq-form__error { color: var(--wp--preset--color--accent-600); font-size: .875rem; margin: 0 0 1rem; }
.dq-form__fineprint { font-size: .78rem; color: var(--wp--preset--color--slate-500); text-align: center; margin-top: .9rem; }
.dq-required { color: var(--wp--preset--color--accent-600); }
.dq-form__honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.dq-inline-register-form { background: #fff; border: 1px solid var(--wp--preset--color--slate-200); border-radius: var(--dq-radius); padding: 1.75rem; box-shadow: var(--dq-shadow-sm); }

/* ---------- Footer ---------- */
.dq-footer { background: var(--wp--preset--color--slate-900, #0f172a); color: #cbd5e1; }
.dq-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 640px) { .dq-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .dq-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.dq-footer__desc { font-size: .875rem; color: #94a3b8; margin: 1rem 0 1.25rem; max-width: 34ch; }
.dq-footer__social { display: flex; gap: .6rem; }
.dq-social-btn { width: 36px; height: 36px; border-radius: 50%; background: #1e293b; color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color 200ms ease; }
.dq-social-btn:hover { background: var(--wp--preset--color--brand-700); }
.dq-footer__col h3 { color: #fff; font-size: 1rem; margin: 0 0 1rem; }
.dq-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.dq-footer__col a { color: #94a3b8; text-decoration: none; font-size: .9rem; }
.dq-footer__col a:hover { color: #fff; }
.dq-footer__contact li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: #94a3b8; }
.dq-footer__contact a { color: #94a3b8; }
.dq-footer__contact a:hover { color: #fff; }
.dq-footer__bottom { border-top: 1px solid #1e293b; }
.dq-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .75rem; padding-block: 1.25rem; font-size: .78rem; color: #64748b; }
@media (min-width: 640px) { .dq-footer__bottom-inner { flex-direction: row; } }
.dq-footer__legal { display: flex; gap: 1.25rem; }
.dq-footer__legal a { color: #64748b; text-decoration: none; }
.dq-footer__legal a:hover { color: #fff; }

/* ---------- Floating contact widget ---------- */
.dq-widget { position: fixed; bottom: 20px; right: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.dq-widget__actions { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.dq-widget__item { display: flex; align-items: center; gap: .75rem; background: none; border: none; padding: 0; }
.dq-widget__tooltip { background: #0f172a; color: #fff; font-size: .78rem; font-weight: 600; padding: .4rem .75rem; border-radius: var(--dq-radius-sm); opacity: 0; transition: opacity 200ms ease; white-space: nowrap; }
.dq-widget__item:hover .dq-widget__tooltip { opacity: 1; }
.dq-widget__btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--dq-shadow-lg); transition: background-color 200ms ease, transform 200ms ease; }
.dq-widget__item:hover .dq-widget__btn { transform: translateY(-2px); }
.dq-widget__btn--primary { background: var(--wp--preset--color--brand-700); }
.dq-widget__btn--zalo { background: #0068FF; }
.dq-widget__btn--accent { background: var(--wp--preset--color--accent-600); }
.dq-widget__toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--wp--preset--color--brand-700); color: #fff; border: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--dq-shadow-lg); transition: background-color 200ms ease; }
.dq-widget__toggle:hover { background: var(--wp--preset--color--brand-800); }
.dq-widget__top { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--wp--preset--color--slate-200); color: var(--wp--preset--color--slate-500); display: flex; align-items: center; justify-content: center; box-shadow: var(--dq-shadow-md); transition: color 200ms ease, border-color 200ms ease; }
.dq-widget__top:hover { color: var(--wp--preset--color--brand-700); border-color: var(--wp--preset--color--brand-300); }

/* ---------- Modal ---------- */
.dq-modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 1rem; }
.dq-modal.is-open { display: flex; }
.dq-modal__overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); cursor: pointer; }
.dq-modal__panel { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--dq-shadow-lg); max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 1.75rem; }
@media (min-width: 640px) { .dq-modal__panel { padding: 2.25rem; } }
.dq-modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--wp--preset--color--slate-500); padding: .35rem; }
.dq-modal__close:hover { color: var(--wp--preset--color--slate-900); }
.dq-modal__title { margin: 0 0 .4rem; font-size: 1.35rem; }
.dq-modal__subtitle { color: var(--wp--preset--color--slate-500); font-size: .9rem; margin: 0 0 1.5rem; }
.dq-modal__success { text-align: center; padding: 1.5rem 0; }
.dq-modal__success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--wp--preset--color--brand-50); color: var(--wp--preset--color--brand-700); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.dq-modal__success h3 { margin: 0 0 .5rem; }
.dq-modal__success p { color: var(--wp--preset--color--slate-500); margin: 0 0 1.25rem; }
body.dq-modal-open { overflow: hidden; }

/* ---------- 404 ---------- */
.dq-404 { text-align: center; padding-block: 5rem; }
.dq-404__code { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: clamp(3.5rem, 10vw, 6rem); color: var(--wp--preset--color--brand-100); margin: 0; line-height: 1; }

/* ---------- Search ---------- */
.dq-search-form { margin: 1.5rem 0 2.5rem; max-width: 480px; }
.dq-search-form input[type="search"] { border: 1px solid var(--wp--preset--color--slate-200); border-radius: var(--dq-radius-sm); padding: .75rem 1rem; }
.dq-search-form button { background: var(--wp--preset--color--brand-700); color: #fff; border-radius: var(--dq-radius-sm); padding: .75rem 1.25rem; border: none; font-weight: 600; }

/* ---------- Responsive Margins & Padding resets for mobile/tablets ---------- */
@media (max-width: 1219.98px) {
	.dq-section,
	.dq-page-hero,
	.dq-footer__grid,
	.dq-header__main {
		padding-inline: 1.25rem !important;
	}
	.dq-section .dq-container,
	.dq-page-hero .dq-container {
		padding-inline: 0 !important;
	}
}

/* ---------- Testimonial Carousel & Navigation controls ---------- */
.dq-carousel-controls { display: flex; align-items: center; gap: 1.25rem; }
.dq-carousel-nav { display: flex; gap: .5rem; }
.dq-carousel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--slate-200);
	background: #fff;
	color: var(--wp--preset--color--slate-600);
	cursor: pointer;
	transition: all 200ms ease;
	padding: 0;
}
.dq-carousel-btn:hover {
	border-color: var(--wp--preset--color--brand-700);
	color: var(--wp--preset--color--brand-700);
	background: var(--wp--preset--color--brand-50);
}
.dq-carousel-btn svg { width: 20px; height: 20px; }

.dq-testimonial-carousel-wrapper { position: relative; margin-inline: -1rem; padding-inline: 1rem; overflow: hidden; }
.dq-testimonial-carousel {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.dq-testimonial-carousel::-webkit-scrollbar { display: none; }

.dq-testimonial-carousel .dq-testimonial {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
@media (min-width: 640px) {
	.dq-testimonial-carousel .dq-testimonial {
		flex: 0 0 calc(50% - 0.75rem);
	}
}
@media (min-width: 1024px) {
	.dq-testimonial-carousel .dq-testimonial {
		flex: 0 0 calc(33.333% - 1rem);
	}
}

/* ---------- About page: Hero ---------- */
.dq-about-hero { padding-block: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.dq-about-hero__inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .dq-about-hero__inner { grid-template-columns: 1fr 1fr; gap: 3rem; } }
@media (min-width: 1024px) { .dq-about-hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }

.dq-about-hero__content h1 {
	font-size: clamp(1.85rem, 4vw, 2.75rem) !important;
	line-height: 1.18;
	margin-bottom: 1.25rem;
}
.dq-about-hero__desc {
	font-size: 1.0625rem;
	color: var(--wp--preset--color--slate-500);
	line-height: 1.7;
	margin-bottom: .75rem;
	max-width: 52ch;
}
.dq-about-hero__sub {
	font-size: .9375rem;
	color: var(--wp--preset--color--slate-500);
	margin-bottom: 1.75rem;
	font-style: italic;
}
.dq-about-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.dq-about-hero__visual { position: relative; }
.dq-about-hero__img {
	width: 100%;
	border-radius: 20px;
	box-shadow: var(--dq-shadow-lg);
	border: 4px solid #ffffff;
	object-fit: cover;
	aspect-ratio: 4/3;
	transition: transform 400ms ease;
}
.dq-about-hero__img:hover { transform: scale(1.02); }

/* ---------- About page: Vision & Mission ---------- */
.dq-vm-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 768px) { .dq-vm-grid { grid-template-columns: 1fr 1fr; } }

.dq-vm-card {
	background: var(--wp--preset--color--slate-50);
	border-radius: var(--dq-radius);
	padding: 2rem 1.75rem;
	border-left: 4px solid transparent;
	transition: box-shadow 250ms ease, transform 250ms ease, border-color 250ms ease;
}
.dq-vm-card:hover { box-shadow: var(--dq-shadow-md); transform: translateY(-3px); }
.dq-vm-card--vision { border-left-color: var(--wp--preset--color--brand-600); }
.dq-vm-card--mission { border-left-color: var(--wp--preset--color--accent-600); }
.dq-vm-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	margin-bottom: 1rem;
}
.dq-vm-card--vision .dq-vm-card__icon { background: var(--wp--preset--color--brand-100); color: var(--wp--preset--color--brand-700); }
.dq-vm-card--mission .dq-vm-card__icon { background: var(--wp--preset--color--accent-50); color: var(--wp--preset--color--accent-600); }
.dq-vm-card h3 {
	font-size: 1.25rem;
	margin: 0 0 .75rem;
	font-weight: 700;
}
.dq-vm-card p {
	color: var(--wp--preset--color--slate-500);
	font-size: .9375rem;
	line-height: 1.7;
	margin: 0;
}
.dq-vm-card p strong { color: var(--wp--preset--color--slate-900); }

/* ---------- About page: Company info ---------- */
.dq-company-info { max-width: 720px; margin-inline: auto; }
.dq-company-info__card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--slate-200);
	border-radius: var(--dq-radius);
	padding: 2rem 2.25rem;
	box-shadow: var(--dq-shadow-sm);
}
.dq-company-info__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.dq-company-info__list li {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--slate-200);
}
.dq-company-info__list li:last-child { border-bottom: none; }
.dq-company-info__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--wp--preset--color--brand-50);
	color: var(--wp--preset--color--brand-700);
	margin-top: 2px;
}
.dq-company-info__label {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--wp--preset--color--slate-500);
	margin-bottom: .2rem;
}
.dq-company-info__list strong {
	font-size: .9375rem;
	color: var(--wp--preset--color--slate-900);
	font-weight: 600;
}
.dq-company-info__list a {
	color: var(--wp--preset--color--brand-700);
	text-decoration: none;
	font-weight: 600;
}
.dq-company-info__list a:hover { text-decoration: underline; }

