/* ==========================================================================
   Dạy Lái Xe HCM — tinh chỉnh giao diện 1.15.0 (nạp sau main.css, chỉ khi dlx_ui_v2() – xem inc/ui.php)
   Mỗi nhóm có mã U01…U16 khớp CHANGES.md: muốn bỏ nhóm nào thì xoá nguyên khối có mã đó.
   Không đổi bố cục thông tin, chữ, link hay heading; chỉ cách trình bày.
   ========================================================================== */

:root {
	/* U14 · Nhịp khối: 44px mỗi phía dồn 12 khối thành một mảng dài → 36–64px theo bề rộng. */
	--dlx-sy: clamp(36px, 5vw, 64px);
	--dlx-ease: cubic-bezier(.2, .7, .2, 1);
	--dlx-zebra: #F8FAFE;
	/* Màu viền focus riêng: --dlx-focus bị hero ghi đè thành "57%" (điểm nhìn ảnh điện thoại, style inline) → trong hero
	   outline: 3px solid var(--dlx-focus) không hợp lệ, hai nút CTA của hero mất viền focus ở bản 1.14.0. */
	--dlx-ring: #F05A0F;
}
.dlx :focus-visible { outline: 3px solid var(--dlx-ring); }

/* ---------- U01 · Nhãn trên tiêu đề (eyebrow): bỏ IN HOA giãn chữ màu cam → nhãn chữ thường có gạch cam ngắn ---------- */
.dlx .dlx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--dlx-text-2); }
.dlx .dlx-eyebrow::before { content: ''; flex: none; width: 18px; height: 2px; border-radius: 2px; background: var(--dlx-accent); }
.dlx .dlx-heading--center .dlx-eyebrow { align-self: center; }
@media (max-width: 639px) {
	.dlx .dlx-hero .dlx-eyebrow { gap: 8px; font-size: 12.5px; letter-spacing: 0; }
	.dlx .dlx-hero .dlx-eyebrow::before { width: 14px; }
}
@media (max-width: 360px) { .dlx .dlx-hero .dlx-eyebrow { font-size: 12px; } }

/* ---------- U02 · Chuyển động: bỏ hiện dần từng khối khi cuộn và ánh sáng lướt nút lặp vô hạn; giữ màn vào của hero ---------- */
@media (prefers-reduced-motion: no-preference) {
	.dlx-anim :is(.dlx-heading, .dlx-btn-wrap, .dlx-sched, .dlx-notice, .dlx-cta, .dlx-why__img, .dlx-rail > *, .dlx-prices__grid > *, .dlx-fac > *, .dlx-why__item, .dlx-faq .accordion-item):not(.is-in) { opacity: 1; }
	.dlx-anim :is(.dlx-heading, .dlx-btn-wrap, .dlx-sched, .dlx-notice, .dlx-cta, .dlx-why__img, .dlx-rail > *, .dlx-prices__grid > *, .dlx-fac > *, .dlx-why__item, .dlx-faq .accordion-item).is-in { animation: none; }
	.dlx-anim .dlx-btn--glow::after { content: none; animation: none; }
}

/* ---------- U03 · Nút: bước lên khi rê, lún khi bấm; bóng cam nhẹ, chỉ ở nút chính ---------- */
.dlx .dlx-btn { transition: background-color .15s, color .15s, border-color .15s, box-shadow .2s, transform .18s var(--dlx-ease); }
.dlx .dlx-btn--glow { box-shadow: 0 8px 18px -8px rgba(194, 68, 0, .55); }
@media (prefers-reduced-motion: no-preference) {
	@media (hover: hover) {
		.dlx .dlx-btn:hover { transform: translateY(-1px); }
		.dlx a.dlx-btn--primary:hover, .dlx button.dlx-btn--primary:hover { box-shadow: 0 10px 22px -10px rgba(194, 68, 0, .6); }
	}
	.dlx .dlx-btn:active { transform: translateY(0) scale(.98); transition-duration: .06s; }
}
/* Viền focus của nút cách mép 3px để không dính vào nền nút. */
.dlx a.dlx-btn:focus-visible, .dlx button.dlx-btn:focus-visible { outline: 3px solid var(--dlx-ring); outline-offset: 3px; }
/* Nút header: 40 → 44px (vùng chạm). */
.dlx #masthead .dlx-btn--sm, .dlx .mobile-sidebar .dlx-btn--sm { height: 44px; padding: 0 18px; }

/* ---------- U04 · Một màu hành động: nút theo từng ca trong lịch học chuyển sang viền xanh (cam dành cho nút chính) ---------- */
.dlx :is(.dlx-sched__table, .dlx-sched__card) a.dlx-btn--primary { border-color: var(--dlx-primary); background: #fff; color: var(--dlx-primary); box-shadow: none; }
.dlx :is(.dlx-sched__table, .dlx-sched__card) a.dlx-btn--primary:hover,
.dlx :is(.dlx-sched__table, .dlx-sched__card) a.dlx-btn--primary:focus-visible { border-color: var(--dlx-primary-h); background: var(--dlx-tint); color: var(--dlx-primary-h); box-shadow: none; }
.dlx .dlx-sched__table .dlx-btn { height: 38px; }
/* Huy hiệu số năm kinh nghiệm của giảng viên: cam → navy (4 huy hiệu cam liền nhau tranh với nút đăng ký). */
.dlx .dlx-teacher .dlx-badge { background: var(--dlx-ink); }

/* ---------- U05 · Thẻ: nằm yên chỉ có viền; bóng dành cho thứ nổi (thanh chỉ số, thẻ học phí, hộp thoại) và thẻ đang rê ---------- */
.dlx :is(.dlx-course, .dlx-step, .dlx-price:not(.dlx-price--featured), .dlx-review, .dlx-post, .dlx-ccard, .dlx-cbox, .dlx-sbox, .dlx-sched__card, .dlx-sched__table, .dlx-why__item, .dlx-prose__toc, .dlx-twait__card) { box-shadow: none; }
.dlx .dlx-tsteps li { box-shadow: none; }
.dlx .dlx-price--featured { box-shadow: 0 18px 40px -18px rgba(11, 27, 77, .28); }
/* Khối không phải link thì không nhấc khi rê (trước: bước quy trình, giảng viên, chip "Vì sao" nhấc/đổ bóng như nút). */
.dlx .dlx-step:hover, .dlx .dlx-teacher:hover { transform: none; box-shadow: none; }
.dlx .dlx-why__item:hover { box-shadow: none; }
/* Thẻ là link: nhấc 2px + bóng; ảnh phóng 1.03 trong khung. */
.dlx :is(.dlx-course, .dlx-post, .dlx-ccard, .dlx-twait__card) { transition: box-shadow .25s var(--dlx-ease), transform .25s var(--dlx-ease), border-color .2s; }
.dlx :is(.dlx-course, .dlx-post, .dlx-ccard, .dlx-twait__card):hover { border-color: var(--dlx-line-2); box-shadow: 0 14px 30px -14px rgba(11, 27, 77, .22); transform: translateY(-2px); }
.dlx .dlx-ccard:hover, .dlx .dlx-twait__card:hover { border-color: var(--dlx-primary); }
.dlx .dlx-course__media, .dlx .dlx-post__media { overflow: hidden; }
.dlx .dlx-course__media img, .dlx .dlx-post__media img { transition: transform .5s var(--dlx-ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.dlx .dlx-course:hover .dlx-course__media img, .dlx .dlx-post:hover .dlx-post__media img { transform: scale(1.03); }
	.dlx .dlx-prow:hover .dlx-prow__media img { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) { .dlx :is(.dlx-course, .dlx-post, .dlx-ccard, .dlx-twait__card):hover { transform: none; } }

/* ---------- U06 · Thẻ khóa học: cả thẻ bấm được; "Chi tiết khóa học →" thành link chữ thay 8 nút viền giống nhau ---------- */
.dlx .dlx-course__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.dlx .dlx-course__text { font-size: 15px; }
.dlx :is(.dlx-course__title, .dlx-post__title, .dlx-prow__title) { text-wrap: balance; }
.dlx a.dlx-course__btn, .dlx a.dlx-btn--outline.dlx-course__btn { position: relative; z-index: 2; align-self: flex-start; height: auto; min-height: 32px; margin-top: auto; padding: 0; border: 0; background: none; color: var(--dlx-primary); font-size: 15px; }
.dlx a.dlx-course__btn:hover, .dlx a.dlx-course__btn:focus-visible { background: none; color: var(--dlx-primary-h); transform: none; }
.dlx a.dlx-course__btn span { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.dlx .dlx-course:hover a.dlx-course__btn span, .dlx a.dlx-course__btn:focus-visible span { text-decoration-color: currentColor; }
.dlx .dlx-course__body { gap: 10px; padding: 18px 20px 18px; }

/* ---------- U07 · Chữ: sàn cỡ chữ cho người đọc mọi lứa tuổi; dòng tiêu đề đủ chỗ cho dấu chồng tiếng Việt ---------- */
.dlx .dlx-hero__title { line-height: 1.18; }
/* Tiêu đề khối lớn hơn một bậc khi nhãn phía trên đã dịu đi: thứ bậc rõ bằng cỡ chữ thay vì màu cam. */
.dlx .dlx-title { font-size: clamp(26px, 2.9vw, 40px); }
/* Máy tính bảng: chữ hero không đè lên người trong ảnh. */
@media (min-width: 640px) and (max-width: 1099px) {
	.dlx .dlx-hero__copy { max-width: min(460px, 60%); }
	.dlx .dlx-hero__media::after { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .94) 52%, rgba(255, 255, 255, 0) 80%), linear-gradient(0deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 22%); }
}
.dlx .dlx-hero__checks li > span:last-child { font-size: 14px; }
.dlx .dlx-crumbs ol { font-size: 14px; }
.dlx .dlx-sched__table tbody th span { font-size: 14px; }
.dlx .dlx-post__meta { font-size: 14px; }
.dlx .dlx-faq .accordion-inner { font-size: 16px; color: var(--dlx-text); }
.dlx .dlx-heading__text { max-width: 480px; }
.dlx .dlx-cprice__note, .dlx .dlx-dlg__text, .dlx .dlx-lead__note { font-size: 14px; }
@media (max-width: 639px) {
	.dlx .dlx-hero__mtext { font-size: 14.5px; }
	.dlx .dlx-stat__tx span { font-size: 12px; }
	.dlx .dlx-appbar a { font-size: 12px; }
	.dlx .dlx-rail--m-grid2 .dlx-meta { font-size: 13px; }
	.dlx .dlx-rail--m-grid2 .dlx-course__title { font-size: 15px; }
	.dlx .dlx-rail--m-grid2 .dlx-badge { font-size: 12px; }
	.dlx .dlx-sched__day span, .dlx .dlx-sched__day b { font-size: 13.5px; }
	.dlx .dlx-rail--m-list .dlx-step p { font-size: 14.5px; }
	.dlx .dlx-faq .accordion-inner { font-size: 15.5px; }
}

/* ---------- U18 · Khối đăng ký tư vấn (máy tính ≥1000px): ảnh cô gái không bị cắt ----------
   Ảnh gốc có người sát mép trái; khung canh giữa (50%) nên khi khung cao hơn tỉ lệ ảnh (1000–1300px) phần trái bị cắt,
   ở 1024px mất hẳn người. Neo ảnh theo mép trái + đẩy khung sang phải, mép trái mờ dần vào nền xanh nhạt. */
@media (min-width: 1000px) {
	.dlx .dlx-cta__media { left: clamp(20px, 3.5vw, 56px); width: calc(62% - clamp(20px, 3.5vw, 56px)); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px); mask-image: linear-gradient(90deg, transparent 0, #000 56px); }
	.dlx .dlx-cta__media img { object-position: 0% 40%; }
}

/* ---------- U08b · "Vì sao chọn" trên máy tính bảng (640–1099px): vòng cung như máy tính – ảnh tròn giữa, 3 chip mỗi bên ---------- */
@media (min-width: 640px) and (max-width: 1099px) {
	.dlx .dlx-why { grid-template-columns: minmax(0, 1fr) clamp(170px, 24vw, 250px) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 14px 16px; }
	.dlx .dlx-why__img { grid-column: 2; grid-row: 1 / span 3; width: 100%; margin: 0; padding: 8px; }
	.dlx .dlx-why__circle { border-width: 6px; }
	.dlx .dlx-why__item { gap: 12px; padding: 12px 12px 12px 18px; }
	.dlx .dlx-why__item:nth-child(n+4) { padding: 12px 18px 12px 12px; }
	.dlx .dlx-why__item:nth-child(-n+3) { grid-column: 1; }
	.dlx .dlx-why__item:nth-child(n+4) { grid-column: 3; }
	.dlx .dlx-why__item:nth-child(1), .dlx .dlx-why__item:nth-child(4) { grid-row: 1; }
	.dlx .dlx-why__item:nth-child(2), .dlx .dlx-why__item:nth-child(5) { grid-row: 2; }
	.dlx .dlx-why__item:nth-child(3), .dlx .dlx-why__item:nth-child(6) { grid-row: 3; }
	/* Chip trên/dưới dịch về phía ảnh thành vòng cung (máy tính dịch 32px). */
	.dlx .dlx-why__item:nth-child(1), .dlx .dlx-why__item:nth-child(3) { transform: translateX(16px); }
	.dlx .dlx-why__item:nth-child(4), .dlx .dlx-why__item:nth-child(6) { transform: translateX(-16px); }
	.dlx .dlx-why__ic { width: 40px; height: 40px; }
	.dlx .dlx-why__tx strong { font-size: 15px; text-wrap: balance; }
	.dlx .dlx-why__tx span { font-size: 13.5px; line-height: 1.4; text-wrap: balance; }
}
/* Máy tính bảng nhỏ (640–819px): chip hẹp → ảnh nhỏ hơn, chỉ giữ dòng chữ đậm để chip vẫn là viên thuốc 1–2 dòng. */
@media (min-width: 640px) and (max-width: 819px) {
	.dlx .dlx-why { grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 14px 12px; }
	.dlx .dlx-why__tx span { display: none; }
	.dlx .dlx-why__item { padding: 10px 10px 10px 16px; }
	.dlx .dlx-why__item:nth-child(n+4) { padding: 10px 16px 10px 10px; }
	.dlx .dlx-why__item:nth-child(1), .dlx .dlx-why__item:nth-child(3) { transform: translateX(12px); }
	.dlx .dlx-why__item:nth-child(4), .dlx .dlx-why__item:nth-child(6) { transform: translateX(-12px); }
}

/* ---------- U08 · "Vì sao chọn" trên điện thoại: ảnh trên, lưới 2 cột chữ đủ câu (trước: chip 12.5px, "Xe đời / mới") ---------- */
@media (max-width: 639px) {
	.dlx .dlx-why { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 10px; }
	.dlx .dlx-why__img { grid-column: 1 / -1; grid-row: 1; width: 150px; margin-bottom: 6px; padding: 6px; }
	/* Thứ tự DOM: chữ rồi icon → row-reverse đưa icon sang trái; flex-end (trong row-reverse là mép trái) giữ cụm sát trái. */
	.dlx .dlx-why__item, .dlx .dlx-why__item:nth-child(n+4) { flex-direction: row-reverse; justify-content: flex-end; gap: 10px; padding: 12px; border-radius: 14px; text-align: left; }
	.dlx .dlx-why__item:nth-child(-n+3) { grid-column: 1; }
	.dlx .dlx-why__item:nth-child(n+4) { grid-column: 2; }
	.dlx .dlx-why__item:nth-child(1), .dlx .dlx-why__item:nth-child(4) { grid-row: 2; }
	.dlx .dlx-why__item:nth-child(2), .dlx .dlx-why__item:nth-child(5) { grid-row: 3; }
	.dlx .dlx-why__item:nth-child(3), .dlx .dlx-why__item:nth-child(6) { grid-row: 4; }
	.dlx .dlx-why__ic { width: 34px; height: 34px; }
	.dlx .dlx-why__ic .dlx-icon { width: 17px; height: 17px; }
	.dlx .dlx-why__tx strong { font-size: 14px; line-height: 1.3; text-wrap: balance; }
	.dlx .dlx-why__s, .dlx .dlx-why__tx:has(.dlx-why__s) .dlx-why__s { display: none; }
	.dlx .dlx-why__tx:has(.dlx-why__s) .dlx-why__t { display: block; }
}

/* ---------- U09 · Bảng trong bài viết: hết chữ đè cột, khung có viền, cuộn ngang có bóng báo hiệu ở điện thoại ---------- */
.dlx .dlx-prose :is(.wp-block-table, .dlx-table) {
	margin: 4px 0 26px; overflow-x: auto; border: 1px solid var(--dlx-line); border-radius: 14px;
	/* Bóng mờ ở mép còn nội dung cuộn tới (lớp trắng cuộn theo bảng che bóng khi đã ở đầu/cuối). */
	background:
		linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)) left / 32px 100% no-repeat local,
		linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)) right / 32px 100% no-repeat local,
		linear-gradient(90deg, rgba(11, 27, 77, .14), rgba(11, 27, 77, 0)) left / 12px 100% no-repeat scroll,
		linear-gradient(270deg, rgba(11, 27, 77, .14), rgba(11, 27, 77, 0)) right / 12px 100% no-repeat scroll,
		#fff;
	-webkit-overflow-scrolling: touch;
}
.dlx .dlx-prose .wp-block-table table { border: 0; }
.dlx .dlx-prose .wp-block-table thead { border-bottom: 0; }
.dlx .dlx-prose table { font-variant-numeric: tabular-nums; }
.dlx .dlx-prose td:first-child, .dlx .dlx-prose td:last-child { white-space: normal; }
.dlx .dlx-prose th, .dlx .dlx-prose td { padding: 12px 16px; }
.dlx .dlx-prose thead th { background: var(--dlx-tint); font-size: 14.5px; line-height: 1.4; vertical-align: bottom; }
.dlx .dlx-prose tbody tr:nth-child(even) td { background: var(--dlx-zebra); }
.dlx .dlx-prose td:first-child { min-width: 4.5em; }
.dlx .dlx-prose .wp-block-table figcaption { margin: 0; padding: 10px 16px; border-top: 1px solid var(--dlx-line); text-align: left; }
@media (max-width: 639px) {
	.dlx .dlx-prose th, .dlx .dlx-prose td { padding: 10px 12px; }
	/* Bảng nhiều cột: đủ rộng để cột giữa không vỡ thành 2 chữ một dòng; khung cuộn ngang. */
	.dlx .dlx-prose table:has(tr > :nth-child(3)) { min-width: 500px; }
	.dlx .dlx-prose table:has(tr > :nth-child(4)) { min-width: 620px; }
	.dlx .dlx-prose table:has(tr > :nth-child(5)) { min-width: 720px; }
}

/* ---------- U10 · Trang bài viết: mục lục sang cột phải dính khi cuộn (≥1200px); gọn hơn dưới 1200px; mục đang đọc tô xanh (ui.js) ---------- */
/* Cột đọc 760 → 700px (≈80 ký tự/dòng ở 17px thay vì ~90). */
.dlx .dlx-article { max-width: 700px; }
.dlx .dlx-prose__toc { padding: 16px 18px; }
.dlx .dlx-prose__toc summary { font-size: 15px; }
.dlx .dlx-prose__toc ol { gap: 0; margin-top: 8px; }
.dlx .dlx-prose__toc a { padding: 8px 10px; font-size: 15px; line-height: 1.45; }
.dlx .dlx-prose__toc a[aria-current] { background: var(--dlx-tint); color: var(--dlx-primary); font-weight: 600; }
@media (min-width: 1200px) {
	.dlx .dlx-article:has(> .dlx-article__toc) { display: grid; grid-template-columns: minmax(0, 700px) 264px; column-gap: 64px; row-gap: 0; align-items: start; max-width: 1028px; }
	.dlx .dlx-article:has(> .dlx-article__toc) > * { grid-column: 1; margin-top: 0; margin-bottom: 14px; }
	.dlx .dlx-article:has(> .dlx-article__toc) > .dlx-article__img { margin: 6px 0 22px; }
	.dlx .dlx-article:has(> .dlx-article__toc) > .dlx-article__body { margin-bottom: 0; }
	/* Hàng ngầm rỗng cao 0 (row-gap 0) nên kéo cột phải qua 12 hàng không tạo khoảng trống. */
	.dlx .dlx-article > .dlx-article__toc { grid-column: 2; grid-row: 1 / span 12; position: sticky; top: calc(var(--dlx-stick, 0px) + 28px); max-height: calc(100vh - var(--dlx-stick, 0px) - 56px); margin: 0; padding: 4px 0 0; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 0; background: none; transition: top .2s; }
	.dlx .dlx-article > .dlx-article__toc summary { padding: 0 0 4px 14px; font-size: 14px; color: var(--dlx-ink); pointer-events: none; }
	.dlx .dlx-article > .dlx-article__toc ol { margin-top: 6px; padding-left: 0; border-left: 1px solid var(--dlx-line); }
	.dlx .dlx-article > .dlx-article__toc a { margin-left: -1px; padding: 7px 10px 7px 14px; border-left: 2px solid transparent; border-radius: 0; font-size: 14px; }
	.dlx .dlx-article > .dlx-article__toc a:hover { background: none; color: var(--dlx-primary); }
	.dlx .dlx-article > .dlx-article__toc a[aria-current] { border-left-color: var(--dlx-primary); background: none; }
}

/* ---------- U11 · Trang khóa học: bỏ thẻ lồng thẻ (bước lộ trình nền nhạt, không viền) ---------- */
.dlx .dlx-csteps li { border: 0; background: var(--dlx-alt); }
.dlx .dlx-chead { gap: 12px; }
.dlx .dlx-chead__facts li { padding: 12px 14px; }
.dlx .dlx-chead__facts li { font-size: 13.5px; }
/* Hộp "Chưa biết chọn khóa nào?" (trang /khoa-hoc/): viền đứt nét 2px trông như ô giữ chỗ → nền nhạt, viền liền. */
.dlx .dlx-cfinder { border: 1px solid var(--dlx-line); background: var(--dlx-alt); }

/* ---------- U12 · Hỏi đáp: bỏ số 01–08 kiểu monospace (câu hỏi không có thứ tự) ---------- */
.dlx .dlx-faq .accordion-title { grid-template-columns: minmax(0, 1fr) 34px; gap: 16px; }
.dlx .dlx-faq .accordion-title::before { content: none; }
.dlx .dlx-faq .accordion-title > span { grid-column: 1; }
.dlx .dlx-faq .accordion-title .toggle { grid-column: 2; }
.dlx .dlx-faq .accordion-inner { padding: 0 72px 22px 22px; }
@media (max-width: 639px) {
	.dlx .dlx-faq .accordion-title { grid-template-columns: minmax(0, 1fr) 34px; gap: 12px; }
	.dlx .dlx-faq .accordion-inner { padding: 0 18px 18px; }
}

/* ---------- U13 · Chân trang + ngăn kéo menu: vùng chạm ≥40px, cột thẳng hàng, ngăn kéo nền đặc ---------- */
.dlx .dlx-contact ul { gap: 2px; }
/* flex bỏ khoảng trắng giữa chữ "Hotline:" và link số → column-gap thay cho dấu cách. */
.dlx .dlx-contact li { display: flex; flex-wrap: wrap; align-items: center; column-gap: .3em; min-height: 40px; }
.dlx .dlx-contact a { display: inline-flex; align-items: center; column-gap: .3em; min-height: 40px; }
/* Tiêu đề cột menu (Flatsome) cao 50px, tiêu đề cột liên hệ 22px + 16px → dòng đầu hai cột lệch 12px. */
.dlx .dlx-footer .ux-menu > .ux-menu-title { min-height: 0; height: auto; padding: 0 0 16px; line-height: 1.4; } /* Flatsome ép margin: 0 !important cho con của .stack-col → dùng padding. */
.dlx .dlx-footer .ux-menu-link__link { display: flex; align-items: center; min-height: 40px; padding: 0; }
.dlx .dlx-foot-bottom a { display: inline-flex; align-items: center; min-height: 40px; }
.dlx .dlx-foot-bottom { padding: 8px 0; }
.dlx .dlx-social a { width: 44px; height: 44px; }
.dlx .off-canvas .mfp-content, .dlx .off-canvas:not(.off-canvas-center) .mfp-content { background-color: #fff; }
.dlx .mobile-sidebar .nav-sidebar > li.current-menu-item > a, .dlx .mobile-sidebar .nav-sidebar > li.current-menu-ancestor > a { background: var(--dlx-tint); color: var(--dlx-primary); }
.dlx .mobile-sidebar .nav-sidebar > li > a:hover { background: var(--dlx-alt); }

/* ---------- U15 · Bề mặt trình duyệt: bôi đen, con trỏ nhập, ô chọn, số dạng bảng, gạch chân link ---------- */
::selection { background: rgba(11, 69, 209, .18); color: var(--dlx-ink); }
body.dlx { accent-color: var(--dlx-primary); caret-color: var(--dlx-primary); }
.dlx :is(.dlx-price__amount, .dlx-cprice__amount, .dlx-stat__tx strong, .dlx-sched, .dlx-chead__facts, .dlx-hotline__tx, .dlx-ccard__value, .dlx-sched__day) { font-variant-numeric: tabular-nums; }
.dlx .dlx-prose a { text-decoration-thickness: 1px; text-decoration-color: rgba(11, 69, 209, .45); transition: text-decoration-color .15s; }
.dlx .dlx-prose a:hover { text-decoration-color: currentColor; }

/* ---------- U16 · Viền một bên → viền đủ + nền nhạt (trích dẫn trong bài, thông báo lỗi form) ---------- */
.dlx .dlx-prose blockquote { border: 1px solid var(--dlx-line); border-radius: 12px; background: var(--dlx-alt); }
.dlx .dlx-lead__msg { border: 1px solid #F3C4C4; }
.dlx-sh__new { border-left-width: 1px; }
