/*
Theme Name: Flatsome Child
Description: Giao diện Đào tạo lái xe Miền Nam
Author: Đào tạo lái xe Miền Nam
Template: flatsome
Version: 4.0.0
*/

:root {
	--dtlx-navy: #103b68;
	--dtlx-blue: #1769aa;
	--dtlx-blue-light: #eaf4fb;
	--dtlx-orange: #f58220;
	--dtlx-bg: #f7f9fc;
	--dtlx-text: #18212f;
	--dtlx-muted: #5f6b7a;
	--dtlx-border: #dce5ee;
	--dtlx-white: #fff;
	--dtlx-radius: 14px;
}

html { scroll-behavior: smooth; }
body.dtlx-site { background: var(--dtlx-bg); color: var(--dtlx-text); font-size: 16px; line-height: 1.7; }
.dtlx-site h1, .dtlx-site h2, .dtlx-site h3 { color: var(--dtlx-navy); letter-spacing: -0.025em; }
.dtlx-site h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; }
.dtlx-site h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.25; }
.dtlx-site h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.35; }
.dtlx-site :focus-visible { outline: 3px solid rgba(245, 130, 32, 0.42); outline-offset: 3px; }
.dtlx-shell { box-sizing: border-box; width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.dtlx-text-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--dtlx-navy) !important; text-decoration: none; }
.dtlx-text-logo__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--dtlx-navy); color: var(--dtlx-white); font-size: .86rem; font-weight: 800; letter-spacing: .04em; }
.dtlx-text-logo__name { display: flex; flex-direction: column; font-size: .78rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.dtlx-text-logo__name strong { color: var(--dtlx-navy); font-size: 1.12rem; }

.dtlx-footer { background: var(--dtlx-navy); color: rgba(255, 255, 255, 0.78); padding: 72px 0 24px; }
.dtlx-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.dtlx-footer h2, .dtlx-footer h3 { color: var(--dtlx-white); }
.dtlx-footer h2 { margin: 8px 0 16px; font-size: 1.8rem; }
.dtlx-footer h3 { margin: 0 0 18px; font-size: 1rem; letter-spacing: 0; }
.dtlx-footer p { margin: 0; }
.dtlx-footer a, .dtlx-footer address { display: block; color: rgba(255, 255, 255, 0.78); font-style: normal; margin: 0 0 10px; }
.dtlx-footer a:hover { color: var(--dtlx-white); }
.dtlx-footer__eyebrow { color: #8cc8f1; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; }
.dtlx-footer__bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 52px; padding-top: 22px; font-size: 0.85rem; }
.dtlx-mobile-actions { display: none; }

@media (max-width: 900px) {
	.dtlx-footer__grid { grid-template-columns: 1fr 1fr; }
	.dtlx-footer__brand, .dtlx-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
	body.dtlx-site { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.dtlx-shell { width: min(100% - 32px, 1200px); }
	.dtlx-footer { padding-top: 52px; }
	.dtlx-footer__grid { gap: 36px 24px; }
	.dtlx-footer__bottom { flex-direction: column; margin-top: 40px; }
	.dtlx-mobile-actions { position: fixed; z-index: 9999; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: .8fr .8fr 1.4fr; gap: 8px; background: rgba(255,255,255,.98); border-top: 1px solid var(--dtlx-border); box-shadow: 0 -10px 32px rgba(16,59,104,.12); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
	.dtlx-mobile-actions a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--dtlx-blue); border-radius: 10px; color: var(--dtlx-blue); font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; }
	.dtlx-mobile-actions__primary { background: var(--dtlx-orange); border-color: var(--dtlx-orange) !important; color: #241305 !important; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Homepage components, editable through UX Builder. */
.dtlx-home .row, .dtlx-section .row { max-width: 1200px; }
.dtlx-section { padding: 76px 0 !important; }
.dtlx-section--white { background: var(--dtlx-white); }
.dtlx-section--blue { background: var(--dtlx-blue-light); }
.dtlx-kicker { margin: 0 0 12px; color: var(--dtlx-blue); font-size: .78rem; font-weight: 700; letter-spacing: .11em; }
.dtlx-lead { max-width: 650px; color: var(--dtlx-muted); font-size: 1.12rem; line-height: 1.7; }
.dtlx-heading { max-width: 740px; margin-bottom: 34px; }
.dtlx-heading h2 { margin-bottom: 12px; }
.dtlx-heading p:last-child { color: var(--dtlx-muted); }
.dtlx-hero { position: relative; overflow: hidden; background: linear-gradient(105deg, #f7f9fc 0%, #eef5fa 100%); }
.dtlx-hero::before { content: ""; position: absolute; width: 360px; height: 360px; left: -210px; bottom: -230px; border: 70px solid rgba(23,105,170,.08); border-radius: 50%; }
.dtlx-hero__row { min-height: min(760px, calc(100dvh - 80px)); padding-block: 56px; }
.dtlx-hero__copy { padding-right: 48px; }
.dtlx-hero h1 { max-width: 660px; margin-bottom: 20px; }
.dtlx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 28px; }
.dtlx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 10px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform .18s ease, background-color .18s ease; }
.dtlx-btn:hover { transform: translateY(-2px); }
.dtlx-btn--primary { background: var(--dtlx-orange); color: #241305 !important; }
.dtlx-btn--secondary { border-color: var(--dtlx-blue); background: transparent; color: var(--dtlx-blue) !important; }
.dtlx-trust-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; color: var(--dtlx-muted); font-size: .92rem; list-style: none; }
.dtlx-trust-list li::before { content: "✓"; margin-right: 7px; color: var(--dtlx-blue); font-weight: 700; }
.dtlx-hero__visual { position: relative; margin: 0; }
.dtlx-hero__visual img, .dtlx-media { display: block; width: 100%; border-radius: var(--dtlx-radius); box-shadow: 0 22px 55px rgba(16,59,104,.14); object-fit: cover; }
.dtlx-hero__visual img { aspect-ratio: 3 / 2; }
.dtlx-hero__visual figcaption { margin-top: 9px; color: var(--dtlx-muted); font-size: .75rem; }
.dtlx-media { aspect-ratio: 4 / 3; }
.dtlx-media--wide { aspect-ratio: 3 / 2; }
.dtlx-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dtlx-course-grid a { min-height: 155px; padding: 24px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); color: var(--dtlx-text); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.dtlx-course-grid a:hover { transform: translateY(-3px); border-color: var(--dtlx-blue); box-shadow: 0 16px 34px rgba(16,59,104,.09); }
.dtlx-course-grid strong, .dtlx-course-grid span { display: block; }
.dtlx-course-grid strong { margin-bottom: 18px; color: var(--dtlx-navy); font-size: 1.3rem; }
.dtlx-course-grid span { color: var(--dtlx-muted); }
.dtlx-course-grid__accent { background: var(--dtlx-navy) !important; }
.dtlx-course-grid__accent strong, .dtlx-course-grid__accent span { color: var(--dtlx-white); }
.dtlx-answer, .dtlx-placeholder, .dtlx-note { border-radius: var(--dtlx-radius); }
.dtlx-answer { padding: 30px; background: var(--dtlx-white); box-shadow: 0 16px 42px rgba(16,59,104,.08); }
.dtlx-answer strong { color: var(--dtlx-navy); font-size: 1.15rem; }
.dtlx-placeholder { display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 22px; padding: 26px 30px; border: 1px solid var(--dtlx-border); background: var(--dtlx-white); }
.dtlx-placeholder strong { color: var(--dtlx-navy); }
.dtlx-placeholder span { color: var(--dtlx-muted); }
.dtlx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; counter-reset: step; list-style: none; }
.dtlx-steps li { position: relative; min-height: 120px; padding: 52px 22px 20px; border-top: 2px solid var(--dtlx-border); counter-increment: step; font-weight: 600; }
.dtlx-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 14px; color: var(--dtlx-blue); font-size: .85rem; font-weight: 700; }
.dtlx-note { margin: 22px 0; padding: 15px 18px; border-left: 4px solid var(--dtlx-orange); background: #fff6ed; color: #70411d; font-weight: 600; }
.dtlx-faq { max-width: 820px; }
.dtlx-faq details { border-bottom: 1px solid #c9dbe9; padding: 18px 0; }
.dtlx-faq summary { color: var(--dtlx-navy); font-weight: 700; cursor: pointer; }
.dtlx-faq details p { margin: 12px 0 0; color: var(--dtlx-muted); }
.dtlx-contact { background: var(--dtlx-white); }
.dtlx-contact__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.dtlx-contact__actions > a:last-child { text-align: center; }
.dtlx-coming { max-width: 820px; min-height: 480px; margin: auto; padding: 90px 24px; }

@media (max-width: 849px) {
	.dtlx-section { padding: 56px 0 !important; }
	.dtlx-hero__row { min-height: 0; padding-block: 48px; }
	.dtlx-hero__copy { padding-right: 15px; padding-bottom: 30px; }
	.dtlx-course-grid { grid-template-columns: repeat(2, 1fr); }
	.dtlx-steps { grid-template-columns: repeat(2, 1fr); }
	.dtlx-placeholder { grid-template-columns: 1fr; }
}

@media (max-width: 549px) {
	.dtlx-section { padding: 44px 0 !important; }
	.dtlx-course-grid { grid-template-columns: 1fr; }
	.dtlx-course-grid a { min-height: 128px; }
	.dtlx-actions .dtlx-btn { width: 100%; }
	.dtlx-trust-list { display: grid; }
	.dtlx-steps li { min-height: 105px; padding-inline: 12px; }
}

/* Supporting SEO and learner journey pages. */
.dtlx-support-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dtlx-support-links a { display: flex; align-items: center; min-height: 74px; padding: 17px 20px; border: 1px solid #b9d5e9; border-radius: 10px; background: var(--dtlx-white); color: var(--dtlx-navy); font-weight: 700; text-decoration: none; }
.dtlx-process-timeline { max-width: 900px; margin-inline: auto; }
.dtlx-process-timeline article { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--dtlx-border); }
.dtlx-process-timeline article:last-child { border-bottom: 0; }
.dtlx-process-timeline article > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--dtlx-navy); color: var(--dtlx-white); font-size: .84rem; font-weight: 800; }
.dtlx-process-timeline h2 { margin: 0 0 7px; font-size: 1.35rem; }
.dtlx-process-timeline p { margin: 0; color: var(--dtlx-muted); }
.dtlx-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.dtlx-check-list li { padding: 14px 16px; border-radius: 9px; background: var(--dtlx-white); color: var(--dtlx-navy); font-weight: 700; }
.dtlx-check-list li::before { content: "✓"; margin-right: 8px; color: var(--dtlx-blue); }
.dtlx-document-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dtlx-document-checklist article { padding: 28px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); }
.dtlx-document-checklist article h2 { margin-bottom: 22px; }
.dtlx-document-checklist ul { margin: 0; }
.dtlx-document-checklist li { margin-bottom: 11px; color: var(--dtlx-muted); }
.dtlx-faq--wide { max-width: 920px; }
.dtlx-faq--wide details { padding: 22px 0; }
.dtlx-faq--wide summary { font-size: 1.08rem; }

@media (max-width: 849px) {
	.dtlx-support-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 549px) {
	.dtlx-support-links, .dtlx-check-list, .dtlx-document-checklist { grid-template-columns: 1fr; }
	.dtlx-process-timeline article { grid-template-columns: 52px 1fr; gap: 14px; }
	.dtlx-process-timeline article > span { width: 42px; height: 42px; }
}

/* Trust and transparency pages. */
.dtlx-trust-hero { padding: 72px 0 !important; background: linear-gradient(105deg, var(--dtlx-blue-light), #f8fbfd); }
.dtlx-trust-image { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--dtlx-radius); object-fit: cover; box-shadow: 0 22px 55px rgba(16,59,104,.14); }
.dtlx-trust-image--wide { aspect-ratio: 3 / 2; }
.dtlx-fact-grid, .dtlx-license-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); overflow: hidden; background: var(--dtlx-white); }
.dtlx-fact-grid > div, .dtlx-license-grid > div { min-height: 120px; padding: 24px; border-right: 1px solid var(--dtlx-border); border-bottom: 1px solid var(--dtlx-border); }
.dtlx-fact-grid > div:nth-child(2n), .dtlx-license-grid > div:nth-child(2n) { border-right: 0; }
.dtlx-fact-grid > div:nth-last-child(-n+2), .dtlx-license-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.dtlx-fact-grid strong, .dtlx-fact-grid span, .dtlx-license-grid strong, .dtlx-license-grid span { display: block; }
.dtlx-fact-grid strong, .dtlx-license-grid strong { margin-bottom: 17px; color: var(--dtlx-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.dtlx-fact-grid span, .dtlx-license-grid span { color: var(--dtlx-navy); font-weight: 700; }
.dtlx-trust-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dtlx-trust-links a { min-height: 150px; padding: 24px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); color: var(--dtlx-navy); text-decoration: none; }
.dtlx-trust-links strong, .dtlx-trust-links span { display: block; }
.dtlx-trust-links strong { margin-bottom: 28px; }
.dtlx-trust-links span { color: var(--dtlx-muted); }
.dtlx-document-placeholder, .dtlx-empty-review { display: grid; place-items: center; min-height: 330px; padding: 35px; border: 1px dashed #abc5d8; border-radius: var(--dtlx-radius); background: var(--dtlx-blue-light); text-align: center; }
.dtlx-document-placeholder strong, .dtlx-empty-review strong { color: var(--dtlx-navy); }
.dtlx-document-placeholder span, .dtlx-empty-review span { max-width: 650px; color: var(--dtlx-muted); }
.dtlx-profile-grid, .dtlx-vehicle-grid, .dtlx-facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.dtlx-profile-grid article, .dtlx-vehicle-grid article, .dtlx-facility-grid article { padding: 20px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); }
.dtlx-avatar-placeholder, .dtlx-vehicle-grid article > div, .dtlx-facility-grid article > div { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--dtlx-blue-light); color: var(--dtlx-blue); font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.dtlx-profile-grid h3, .dtlx-vehicle-grid h3, .dtlx-facility-grid h2 { margin: 20px 0 10px; }
.dtlx-profile-grid p, .dtlx-vehicle-grid p, .dtlx-facility-grid p { color: var(--dtlx-muted); }
.dtlx-gallery-placeholders { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.dtlx-gallery-placeholders > div { display: grid; place-items: center; min-height: 230px; border: 1px dashed #abc5d8; border-radius: var(--dtlx-radius); background: var(--dtlx-blue-light); color: var(--dtlx-blue); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-align: center; }

@media (max-width: 849px) {
	.dtlx-trust-hero { padding: 54px 0 !important; }
	.dtlx-trust-links, .dtlx-profile-grid, .dtlx-vehicle-grid, .dtlx-facility-grid { grid-template-columns: repeat(2, 1fr); }
	.dtlx-gallery-placeholders { grid-template-columns: 1fr 1fr; }
	.dtlx-gallery-placeholders > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 549px) {
	.dtlx-trust-hero { padding: 44px 0 !important; }
	.dtlx-fact-grid, .dtlx-license-grid, .dtlx-trust-links, .dtlx-profile-grid, .dtlx-vehicle-grid, .dtlx-facility-grid, .dtlx-gallery-placeholders { grid-template-columns: 1fr; }
	.dtlx-fact-grid > div, .dtlx-license-grid > div, .dtlx-fact-grid > div:nth-child(2n), .dtlx-license-grid > div:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--dtlx-border); }
	.dtlx-fact-grid > div:last-child, .dtlx-license-grid > div:last-child { border-bottom: 0; }
	.dtlx-gallery-placeholders > div:first-child { grid-column: auto; }
}

/* Upgrade, fee, schedule and contact pages. */
.dtlx-upgrade-hero, .dtlx-simple-hero { padding: 74px 0 !important; background: linear-gradient(105deg, var(--dtlx-blue-light), #f8fbfd); }
.dtlx-simple-hero .row { min-height: 300px; align-items: center; }
.dtlx-route-card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 28px; border-radius: var(--dtlx-radius); background: var(--dtlx-white); box-shadow: 0 18px 48px rgba(16,59,104,.1); text-align: center; }
.dtlx-route-card span:first-child { grid-column: 1; }
.dtlx-route-card strong:nth-of-type(1) { grid-column: 1; }
.dtlx-route-card i { grid-column: 2; grid-row: 1 / 3; color: var(--dtlx-orange); font-size: 1.6rem; font-style: normal; }
.dtlx-route-card span:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.dtlx-route-card strong:nth-of-type(2) { grid-column: 3; grid-row: 2; }
.dtlx-route-card span { color: var(--dtlx-muted); font-size: .78rem; }
.dtlx-route-card strong { color: var(--dtlx-navy); font-size: 2rem; }
.dtlx-upgrade-checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dtlx-upgrade-checks > div { padding: 22px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); }
.dtlx-upgrade-checks strong, .dtlx-upgrade-checks span { display: block; }
.dtlx-upgrade-checks strong { margin-bottom: 24px; color: var(--dtlx-navy); }
.dtlx-upgrade-checks span { color: var(--dtlx-muted); font-size: .8rem; font-weight: 700; }
.dtlx-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dtlx-route-grid a { display: grid; grid-template-columns: auto auto 1fr; align-items: center; min-height: 150px; padding: 25px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); color: var(--dtlx-navy); text-decoration: none; }
.dtlx-route-grid span, .dtlx-route-grid strong { font-size: 1.5rem; }
.dtlx-route-grid i { padding-inline: 12px; color: var(--dtlx-orange); font-style: normal; }
.dtlx-route-grid small { grid-column: 1 / -1; margin-top: 18px; color: var(--dtlx-blue); font-weight: 700; }
.dtlx-table-responsive { overflow-x: auto; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); }
.dtlx-table-responsive table { width: 100%; min-width: 820px; margin: 0; border-collapse: collapse; }
.dtlx-table-responsive th { background: var(--dtlx-navy); color: var(--dtlx-white); text-transform: none; letter-spacing: 0; }
.dtlx-table-responsive th, .dtlx-table-responsive td { padding: 18px; border: 0; border-bottom: 1px solid var(--dtlx-border); text-align: left; }
.dtlx-table-responsive tbody tr:last-child td { border-bottom: 0; }
.dtlx-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.dtlx-filter-bar button { min-width: 54px; min-height: 42px; padding: 0 16px; border: 1px solid var(--dtlx-border); border-radius: 9px; background: var(--dtlx-white); color: var(--dtlx-navy); font-weight: 700; }
.dtlx-filter-bar button.is-active { border-color: var(--dtlx-navy); background: var(--dtlx-navy); color: var(--dtlx-white); }
.dtlx-schedule-empty { display: grid; place-items: center; min-height: 330px; padding: 35px; border: 1px dashed #b3c9db; border-radius: var(--dtlx-radius); background: var(--dtlx-white); text-align: center; }
.dtlx-schedule-empty strong { color: var(--dtlx-navy); }
.dtlx-schedule-empty p { color: var(--dtlx-muted); }
.dtlx-contact-form, .dtlx-contact-card { padding: 30px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); }
.dtlx-contact-card { background: var(--dtlx-blue-light); }
.dtlx-contact-card a { font-weight: 700; }
.dtlx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dtlx-form label { margin: 0; color: var(--dtlx-navy); font-weight: 700; }
.dtlx-form .dtlx-form__message, .dtlx-form .wpcf7-acceptance, .dtlx-form .wpcf7-submit, .dtlx-form__privacy { grid-column: 1 / -1; }
.dtlx-form input:not([type="checkbox"]), .dtlx-form select, .dtlx-form textarea { width: 100%; margin-top: 7px; border: 1px solid #b8c9d8; border-radius: 9px; background: var(--dtlx-white); box-shadow: none; }
.dtlx-form input:not([type="checkbox"]), .dtlx-form select { height: 48px; }
.dtlx-form textarea { min-height: 120px; resize: vertical; }
.dtlx-form input:focus, .dtlx-form select:focus, .dtlx-form textarea:focus { border-color: var(--dtlx-blue); box-shadow: 0 0 0 3px rgba(23,105,170,.14); }
.dtlx-form .wpcf7-submit { min-height: 50px; margin: 0; border-radius: 9px; background: var(--dtlx-orange); color: #241305; }
.dtlx-form .wpcf7-not-valid-tip { margin-top: 6px; color: #a22828; font-size: .82rem; font-weight: 600; }
.dtlx-form .wpcf7-not-valid { border-color: #bd3e3e !important; }
.dtlx-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 9px; color: var(--dtlx-muted); font-size: .9rem; font-weight: 500; }
.dtlx-form .wpcf7-acceptance input { margin-top: 5px; }
.dtlx-form__privacy { margin: -6px 0 0; color: var(--dtlx-muted); font-size: .82rem; }
.dtlx-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: 9px; }

@media (max-width: 849px) {
	.dtlx-upgrade-hero, .dtlx-simple-hero { padding: 54px 0 !important; }
	.dtlx-upgrade-checks, .dtlx-route-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 549px) {
	.dtlx-upgrade-hero, .dtlx-simple-hero { padding: 44px 0 !important; }
	.dtlx-upgrade-checks, .dtlx-route-grid, .dtlx-form { grid-template-columns: 1fr; }
	.dtlx-form .dtlx-form__message, .dtlx-form .wpcf7-acceptance, .dtlx-form .wpcf7-submit, .dtlx-form__privacy { grid-column: auto; }
	.dtlx-route-card { margin-top: 20px; }
}

/* Reusable money page system. */
.dtlx-money-hero, .dtlx-money-section, .dtlx-money-cta { padding: 72px 0 !important; }
.dtlx-money-hero { background: linear-gradient(105deg, var(--dtlx-blue-light), #f8fbfd); }
.dtlx-money-hero__row { min-height: 580px; }
.dtlx-money-hero__image { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--dtlx-radius); object-fit: cover; box-shadow: 0 22px 55px rgba(16,59,104,.14); }
.dtlx-image-note { margin: 8px 0 0; color: var(--dtlx-muted); font-size: .75rem; }
.dtlx-money-section { background: var(--dtlx-bg); }
.dtlx-money-section--white { background: var(--dtlx-white); }
.dtlx-money-section--blue, .dtlx-money-section--answer { background: var(--dtlx-blue-light); }
.dtlx-quick-answer { max-width: 820px; padding-left: 26px; border-left: 5px solid var(--dtlx-orange); }
.dtlx-quick-answer h2 { margin-bottom: 12px; }
.dtlx-quick-answer p:last-child { margin: 0; color: var(--dtlx-muted); font-size: 1.06rem; }
.dtlx-money-heading { max-width: 760px; margin-bottom: 30px; }
.dtlx-money-heading p { color: var(--dtlx-muted); }
.dtlx-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); overflow: hidden; background: var(--dtlx-white); }
.dtlx-info-grid > div { min-height: 132px; padding: 25px; border-right: 1px solid var(--dtlx-border); }
.dtlx-info-grid > div:last-child { border-right: 0; }
.dtlx-info-grid strong, .dtlx-info-grid span { display: block; }
.dtlx-info-grid strong { margin-bottom: 18px; color: var(--dtlx-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.dtlx-info-grid span { color: var(--dtlx-navy); font-weight: 700; }
.dtlx-legal-placeholder { margin-top: 22px; padding: 18px; border: 1px dashed #b3c9db; border-radius: 10px; background: var(--dtlx-blue-light); color: var(--dtlx-navy); font-weight: 700; }
.dtlx-program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dtlx-program-grid > div { padding: 26px 22px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); }
.dtlx-program-grid span { color: var(--dtlx-blue); font-size: .78rem; font-weight: 800; }
.dtlx-program-grid h3 { margin: 28px 0 10px; }
.dtlx-program-grid p { margin: 0; color: var(--dtlx-muted); }
.dtlx-inline-links { display: flex; flex-wrap: wrap; gap: 10px; }
.dtlx-inline-links a { padding: 12px 17px; border: 1px solid #b9d5e9; border-radius: 10px; background: var(--dtlx-white); color: var(--dtlx-navy); font-weight: 700; text-decoration: none; }
.dtlx-price-placeholder { min-height: 210px; padding: 26px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); }
.dtlx-price-placeholder strong { color: var(--dtlx-navy); }
.dtlx-price-placeholder p { color: var(--dtlx-muted); }
.dtlx-register-steps { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; counter-reset: register-step; list-style: none; }
.dtlx-register-steps li { position: relative; padding: 48px 18px 18px; border-top: 2px solid var(--dtlx-border); counter-increment: register-step; font-weight: 700; }
.dtlx-register-steps li::before { content: counter(register-step); position: absolute; top: -17px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dtlx-blue); color: var(--dtlx-white); font-size: .8rem; }
.dtlx-trust-panel { padding: 28px; border-radius: var(--dtlx-radius); background: var(--dtlx-navy); color: rgba(255,255,255,.82); }
.dtlx-trust-panel strong { color: var(--dtlx-white); font-size: 1.15rem; }
.dtlx-trust-panel ul { margin: 18px 0 0; }
.dtlx-review-block { padding: 30px; border: 1px solid var(--dtlx-border); border-radius: var(--dtlx-radius); background: var(--dtlx-white); }
.dtlx-review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dtlx-review-grid p { margin: 0; color: var(--dtlx-muted); }
.dtlx-review-grid strong { color: var(--dtlx-navy); }
.dtlx-money-cta { background: var(--dtlx-navy); color: rgba(255,255,255,.8); }
.dtlx-money-cta h2, .dtlx-money-cta .dtlx-kicker { color: var(--dtlx-white); }
.dtlx-money-cta .dtlx-btn--secondary { border-color: #9bc6e5; color: var(--dtlx-white) !important; }

@media (max-width: 849px) {
	.dtlx-money-hero, .dtlx-money-section, .dtlx-money-cta { padding: 54px 0 !important; }
	.dtlx-money-hero__row { min-height: 0; }
	.dtlx-info-grid, .dtlx-program-grid { grid-template-columns: repeat(2, 1fr); }
	.dtlx-info-grid > div:nth-child(2) { border-right: 0; }
	.dtlx-info-grid > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--dtlx-border); }
	.dtlx-register-steps { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
	.dtlx-review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 549px) {
	.dtlx-money-hero, .dtlx-money-section, .dtlx-money-cta { padding: 44px 0 !important; }
	.dtlx-info-grid, .dtlx-program-grid, .dtlx-review-grid { grid-template-columns: 1fr; }
	.dtlx-info-grid > div, .dtlx-info-grid > div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--dtlx-border); }
	.dtlx-info-grid > div:last-child { grid-column: auto; border-bottom: 0; border-top: 0; }
	.dtlx-register-steps { grid-template-columns: repeat(2, 1fr); }
}

/* 2026 layout polish: full-width surfaces with a comfortable content frame. */
.dtlx-site {
	overflow-x: clip;
}

.dtlx-site #main > .page-wrapper,
.dtlx-site #main > .page-wrapper > .row,
.dtlx-site .row-main,
.dtlx-site .page-inner {
	max-width: 100%;
}

.dtlx-site section.section[class*="dtlx-"] {
	left: 50%;
	width: 100vw;
	max-width: none;
	margin-left: -50vw;
}

.dtlx-site section.section[class*="dtlx-"] > .section-content > .row {
	width: min(1248px, calc(100% - 64px));
	max-width: 1248px;
	margin-inline: auto;
}

.dtlx-site section.section[class*="dtlx-"] > .section-content > .row > .col {
	padding-inline: 24px;
}

.dtlx-site .dtlx-section,
.dtlx-site .dtlx-money-section,
.dtlx-site .dtlx-money-hero,
.dtlx-site .dtlx-money-cta,
.dtlx-site .dtlx-trust-hero,
.dtlx-site .dtlx-upgrade-hero,
.dtlx-site .dtlx-simple-hero {
	padding-block: clamp(64px, 7vw, 104px) !important;
}

.dtlx-site .dtlx-hero__row,
.dtlx-site .dtlx-money-hero__row {
	align-items: center;
}

.dtlx-site .dtlx-heading,
.dtlx-site .dtlx-money-heading {
	margin-bottom: clamp(28px, 4vw, 46px);
}

.dtlx-site p,
.dtlx-site li {
	text-wrap: pretty;
}

.dtlx-site h1,
.dtlx-site h2,
.dtlx-site h3 {
	text-wrap: balance;
}

.dtlx-site .dtlx-lead,
.dtlx-site .dtlx-money-heading p,
.dtlx-site .dtlx-heading p {
	max-width: 66ch;
}

.dtlx-site .dtlx-course-grid,
.dtlx-site .dtlx-route-grid,
.dtlx-site .dtlx-program-grid,
.dtlx-site .dtlx-profile-grid,
.dtlx-site .dtlx-vehicle-grid,
.dtlx-site .dtlx-facility-grid,
.dtlx-site .dtlx-support-links {
	gap: clamp(16px, 2vw, 24px);
}

.dtlx-site .dtlx-course-grid a,
.dtlx-site .dtlx-route-grid a,
.dtlx-site .dtlx-program-grid > div,
.dtlx-site .dtlx-profile-grid article,
.dtlx-site .dtlx-vehicle-grid article,
.dtlx-site .dtlx-facility-grid article,
.dtlx-site .dtlx-support-links a,
.dtlx-site .dtlx-upgrade-checks > div,
.dtlx-site .dtlx-contact-form,
.dtlx-site .dtlx-contact-card {
	padding: clamp(22px, 2.4vw, 34px);
}

.dtlx-site .dtlx-route-grid a,
.dtlx-site .dtlx-course-grid a,
.dtlx-site .dtlx-support-links a {
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.dtlx-site .dtlx-route-grid a:hover,
.dtlx-site .dtlx-support-links a:hover {
	transform: translateY(-3px);
	border-color: #9fc5df;
	box-shadow: 0 18px 42px rgba(16, 59, 104, .1);
}

.dtlx-site .dtlx-btn:active,
.dtlx-site .dtlx-route-grid a:active,
.dtlx-site .dtlx-support-links a:active {
	transform: translateY(1px) scale(.99);
}

.dtlx-site .dtlx-table-responsive {
	box-shadow: 0 18px 46px rgba(16, 59, 104, .07);
}

@media (max-width: 849px) {
	.dtlx-site section.section[class*="dtlx-"] > .section-content > .row {
		width: calc(100% - 40px);
	}

	.dtlx-site section.section[class*="dtlx-"] > .section-content > .row > .col {
		padding-inline: 10px;
	}

	.dtlx-site .dtlx-section,
	.dtlx-site .dtlx-money-section,
	.dtlx-site .dtlx-money-hero,
	.dtlx-site .dtlx-money-cta,
	.dtlx-site .dtlx-trust-hero,
	.dtlx-site .dtlx-upgrade-hero,
	.dtlx-site .dtlx-simple-hero {
		padding-block: 64px !important;
	}

	.dtlx-site .dtlx-hero__copy {
		padding-right: 10px;
	}
}

@media (max-width: 549px) {
	.dtlx-site section.section[class*="dtlx-"] > .section-content > .row {
		width: calc(100% - 40px);
	}

	.dtlx-site section.section[class*="dtlx-"] > .section-content > .row > .col {
		padding-inline: 8px;
	}

	.dtlx-site .dtlx-section,
	.dtlx-site .dtlx-money-section,
	.dtlx-site .dtlx-money-hero,
	.dtlx-site .dtlx-money-cta,
	.dtlx-site .dtlx-trust-hero,
	.dtlx-site .dtlx-upgrade-hero,
	.dtlx-site .dtlx-simple-hero {
		padding-block: 48px !important;
	}

	.dtlx-site h1 {
		font-size: clamp(2rem, 10.5vw, 2.65rem);
		line-height: 1.1;
	}

	.dtlx-site h2 {
		font-size: clamp(1.55rem, 8vw, 2rem);
	}

	.dtlx-site .dtlx-lead {
		font-size: 1rem;
		line-height: 1.65;
	}

	.dtlx-site .dtlx-actions {
		gap: 10px;
		margin-block: 24px;
	}

	.dtlx-site .dtlx-btn {
		min-height: 52px;
		padding-inline: 18px;
	}

	.dtlx-site .dtlx-route-card,
	.dtlx-site .dtlx-answer,
	.dtlx-site .dtlx-review-block,
	.dtlx-site .dtlx-trust-panel,
	.dtlx-site .dtlx-price-placeholder,
	.dtlx-site .dtlx-contact-form,
	.dtlx-site .dtlx-contact-card {
		padding: 22px;
	}

	.dtlx-site .dtlx-route-grid a,
	.dtlx-site .dtlx-course-grid a,
	.dtlx-site .dtlx-program-grid > div,
	.dtlx-site .dtlx-profile-grid article,
	.dtlx-site .dtlx-vehicle-grid article,
	.dtlx-site .dtlx-facility-grid article {
		min-height: auto;
		padding: 22px;
	}

	.dtlx-site .dtlx-route-grid span,
	.dtlx-site .dtlx-route-grid strong {
		font-size: 1.3rem;
	}

	.dtlx-site .dtlx-register-steps {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.dtlx-site .dtlx-register-steps li {
		min-height: 76px;
		padding: 20px 18px 20px 58px;
		border-top: 0;
		border-left: 2px solid var(--dtlx-border);
	}

	.dtlx-site .dtlx-register-steps li::before {
		top: 18px;
		left: -17px;
	}

	.dtlx-site .dtlx-table-responsive {
		margin-inline: 0;
		border-radius: 10px;
	}

	.dtlx-site .dtlx-footer__grid {
		grid-template-columns: 1fr;
	}

	.dtlx-site .dtlx-footer__brand,
	.dtlx-site .dtlx-footer__contact {
		grid-column: auto;
	}
}

/* Branded 404 page. */
.dtlx-404__hero {
	position: relative;
	overflow: hidden;
	padding: clamp(76px, 9vw, 132px) 0 clamp(88px, 10vw, 148px);
	background: #edf5fa;
}
.dtlx-404__hero::after {
	content: "";
	position: absolute;
	right: -9rem;
	bottom: -13rem;
	width: 31rem;
	height: 31rem;
	border: 5rem solid rgba(23, 105, 170, .07);
	border-radius: 50%;
}
.dtlx-404__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
	align-items: center;
	gap: clamp(44px, 7vw, 100px);
}
.dtlx-404__code {
	color: var(--dtlx-navy);
	font-size: clamp(7rem, 16vw, 13rem);
	font-weight: 800;
	line-height: .78;
	letter-spacing: -.09em;
	opacity: .12;
}
.dtlx-404__content {
	max-width: 700px;
}
.dtlx-404__content h1 {
	margin-bottom: 22px;
}
.dtlx-404__help {
	padding: clamp(68px, 8vw, 112px) 0;
	background: var(--dtlx-white);
}
.dtlx-404__links {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.dtlx-404__links a {
	display: flex;
	min-height: 164px;
	padding: 26px;
	border: 1px solid var(--dtlx-border);
	border-radius: var(--dtlx-radius);
	background: var(--dtlx-bg);
	color: var(--dtlx-navy);
	text-decoration: none;
	flex-direction: column;
	justify-content: space-between;
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.dtlx-404__links a:hover {
	transform: translateY(-3px);
	border-color: #9fc5df;
	box-shadow: 0 18px 42px rgba(16, 59, 104, .1);
}
.dtlx-404__links strong,
.dtlx-404__links span {
	display: block;
}
.dtlx-404__links strong {
	font-size: 1.12rem;
}
.dtlx-404__links span {
	color: var(--dtlx-muted);
	font-size: .9rem;
}

@media (max-width: 849px) {
	.dtlx-404__layout {
		grid-template-columns: 180px 1fr;
		gap: 36px;
	}
	.dtlx-404__links {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 549px) {
	.dtlx-404__hero {
		padding: 58px 0 68px;
	}
	.dtlx-404__layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.dtlx-404__code {
		font-size: 7.5rem;
	}
	.dtlx-404__content .dtlx-actions .dtlx-btn {
		width: 100%;
	}
	.dtlx-404__help {
		padding: 58px 0 72px;
	}
	.dtlx-404__links {
		grid-template-columns: 1fr;
	}
	.dtlx-404__links a {
		min-height: 124px;
		padding: 22px;
	}
}
