/* Offline-only Aceable course expansion; isolated to .ew-online */
.ew-online{background:#101e33;color:#fff;padding:72px 0}.ew-online .eyebrow{color:#ffc400}.ew-online h2{color:#fff}.ew-online p{color:#dce4ef}.ew-online-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:28px}.ew-online-card{background:#fff;color:#142238;border-radius:18px;overflow:hidden;box-shadow:0 12px 28px #0002}.ew-online-card img{width:100%;height:185px;object-fit:cover;display:block}.ew-online-card-body{padding:24px}.ew-online-card h3{color:#142238;margin:0 0 10px}.ew-online-card p{color:#41516a;margin:0 0 20px}.ew-online-card a,.ew-cta{display:inline-flex;align-items:center;gap:8px;background:#ff8500;color:#101e33!important;font-weight:750;padding:12px 18px;border-radius:9px;text-decoration:none}.ew-online-card a:hover,.ew-cta:hover{background:#ffc400}.ew-online-note{margin-top:24px;font-size:14px;color:#dce4ef}.ew-course-body{max-width:860px;margin:0 auto;padding:70px 22px}.ew-course-body h2{margin-top:32px}.ew-course-body p,.ew-course-body li{line-height:1.8}.ew-course-body .ew-panel{background:#f1f5f9;border-left:4px solid #ff8500;border-radius:12px;padding:22px;margin:25px 0}.ew-course-body .ew-panel p{margin:8px 0}.ew-course-body .ew-cta{margin-top:12px}.ew-course-body .ew-subnav{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.ew-course-body .ew-subnav a{color:#b65a00}.ew-placeholder{border:2px dashed #a5b3c7;background:#fff9e8;padding:15px;border-radius:10px;margin-top:22px;color:#5b440a}.ew-course-hero{background:#101e33;color:#fff;padding:75px 0}.ew-course-hero h1{color:#fff;max-width:850px}.ew-course-hero p{color:#dce4ef;max-width:780px}.ew-course-hero .eyebrow{color:#ffc400}@media(max-width:720px){.ew-online-grid{grid-template-columns:1fr}.ew-online{padding:46px 0}.ew-course-hero{padding:48px 0}}
.ew-v2{color:#142238;background:#f8f6ed;font-size:16px;line-height:1.7}.ew-v2 .ew-wrap{max-width:1160px;margin:auto;padding:54px 24px}.ew-v2 h1{font-size:clamp(32px,5vw,58px);line-height:1.12;margin:12px 0 20px}.ew-v2 h2{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:0 0 20px}.ew-v2 h3{font-size:21px;margin:0 0 10px}.ew-v2 p{margin:0 0 16px}.ew-v2 .hero2{background:#101e33;color:white}.ew-v2 .hero2 h1{color:white}.ew-v2 .hero2 p{color:#e4eaf4}.ew-v2 .split,.ew-v2 .tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.ew-v2 .hero2 .split{align-items:center}.ew-v2 .hero2 img{width:100%;height:340px;object-fit:cover;border-radius:20px}.ew-v2 .tag{color:#ffbd52;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:13px}.ew-v2 .tile{background:white;border:1px solid #e2e0d8;border-radius:16px;padding:24px;height:100%}.ew-v2 .tile img{width:100%;height:180px;object-fit:cover;border-radius:10px;margin-bottom:16px}.ew-v2 .band{background:#e9edf3}.ew-v2 .action{display:inline-block;background:#ff9800;color:#142238!important;padding:13px 20px;border-radius:8px;font-weight:700;text-decoration:none;margin:5px 8px 5px 0}.ew-v2 .secondary{background:white;border:1px solid #c4cbd4}.ew-v2 .steps{list-style:none;padding:0;counter-reset:step}.ew-v2 .steps li{counter-increment:step;position:relative;padding:20px 20px 20px 74px;background:white;border:1px solid #deded8;border-radius:12px;margin:12px 0}.ew-v2 .steps li:before{content:counter(step);position:absolute;left:20px;top:20px;background:#ff9800;color:#142238;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-weight:700}.ew-v2 .steps strong{display:block}.ew-v2 details{background:white;border:1px solid #ddd;border-radius:9px;padding:16px;margin:10px 0}.ew-v2 summary{cursor:pointer;font-weight:700}.ew-v2 details p{margin:12px 0 0}.ew-v2 .table-scroll{overflow-x:auto}.ew-v2 table{width:100%;border-collapse:collapse;min-width:570px;background:white}.ew-v2 th,.ew-v2 td{padding:14px;text-align:left;border-bottom:1px solid #ddd}.ew-v2 th{background:#142238;color:white}.ew-v2 .note{font-size:14px;color:#43536a}.ew-v2 .preview{border:1px dashed #9a7432;background:#fff4db;padding:18px;border-radius:10px}.ew-v2 .resources{grid-template-columns:repeat(3,minmax(0,1fr))}.ew-v2 .tile a:not(.action){color:#174a80;text-decoration:underline}.ew-online-card-body{font-size:16px!important}.ew-online-card-body h3{font-size:21px!important}.ew-online-note{font-size:14px!important}.ew-online-card-body a{font-size:15px!important;padding:12px 18px!important}@media(max-width:700px){.ew-v2 .split,.ew-v2 .tiles,.ew-v2 .resources{grid-template-columns:1fr}.ew-v2 .ew-wrap{padding:34px 18px}.ew-v2 .hero2 img{height:230px}.ew-v2 .tile{padding:18px}}
/* V3 isolated visual refresh */
.ew-v2 .hero2 img{height:380px;object-position:center}.ew-v2 .pathway-card{display:flex;flex-direction:column;gap:8px}.ew-v2 .pathway-card img{height:245px;margin:0 0 8px}.ew-v2 .pathway-card .action{align-self:flex-start;margin-top:auto}.ew-v2 .resources .tile{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:0 4px 14px #1422380b}.ew-v2 .resources .tile p{flex:1}.ew-v2 .resource-icon{width:44px;height:44px;color:#e87500;margin:0 0 8px}.ew-v2 .resources .tile a{font-weight:700}.ew-v2 .ew-wrap{padding-top:48px;padding-bottom:48px}.ew-v2 .hero2 .ew-wrap{padding-top:64px;padding-bottom:64px}.ew-v2 .steps li{box-shadow:0 3px 10px #14223808}.ew-online-card img{height:240px}.ew-v2 .tile p,.ew-v2 .steps li{font-size:16px;line-height:1.65}@media(max-width:700px){.ew-v2 .hero2 img{height:240px}.ew-v2 .pathway-card img{height:210px}.ew-v2 .hero2 .ew-wrap{padding:36px 18px}.ew-online-card img{height:210px}}
/* V3.1: approved desktop composition, scoped to teen landing page */
.ew-v31{background:#faf8f3;color:#091d38;font-size:16px;line-height:1.5}.ew-v31 .ew-wrap{max-width:1320px;padding:24px 32px}.ew-v31 h2{font-size:clamp(25px,2.5vw,34px);font-weight:800;letter-spacing:-.035em;margin-bottom:16px}.ew-v31 h3{font-weight:800;line-height:1.15}.ew-v31 .hero2{background:#071c35}.ew-v31 .hero2 .ew-wrap{padding:32px}.ew-v31 .hero2 h1{font-size:clamp(38px,4.4vw,62px);font-weight:850;letter-spacing:-.045em;margin:12px 0}.ew-v31 h1 span{color:#ffbe28}.ew-v31 .hero2 img{height:350px;object-fit:cover}.ew-v31 .hero2 p{font-size:17px;line-height:1.55}.ew-v31 .v31-benefits{display:flex;gap:18px;margin:20px 0}.ew-v31 .v31-benefits div{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.25}.ew-v31 .v31-icon{width:38px;height:38px;flex-shrink:0;color:#ff8b00}.ew-v31 .v31-benefits .v31-icon{color:#ffbe28}.ew-v31 .outline{background:transparent;border:1px solid white;color:white!important}.ew-v31 .pathway-card{display:grid;grid-template-columns:46% 1fr;gap:16px;padding:8px;align-items:stretch;box-shadow:0 3px 8px #14223812}.ew-v31 .pathway-card img{height:100%;min-height:220px;margin:0;object-fit:cover}.ew-v31 .path-copy{padding:12px 10px 10px 0;display:flex;flex-direction:column;align-items:flex-start}.ew-v31 .path-label{color:#b75b00;text-transform:uppercase;font-weight:800;font-size:12px;margin-bottom:8px}.ew-v31 .path-copy h3{font-size:23px}.ew-v31 .path-copy p{font-size:15px;line-height:1.45}.ew-v31 .path-copy .action{margin-top:auto;font-size:13px;padding:10px 13px}.ew-v31 .band{background:#e2edf6}.ew-v31 .steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin:0}.ew-v31 .steps li{padding:15px 13px;margin:0;text-align:center;font-size:14px;line-height:1.45;min-height:220px}.ew-v31 .steps li:before{left:10px;top:10px;width:28px;height:28px;color:white}.ew-v31 .steps li:not(:last-child):after{content:'→';position:absolute;right:-19px;top:45%;font-size:23px;font-weight:800;color:#10243d}.ew-v31 .steps .v31-icon{color:#e92342;display:block;margin:0 auto 10px}.ew-v31 .steps strong{font-size:17px;line-height:1.2;margin-bottom:9px}.ew-v31 .compare31 .ew-wrap{display:grid;grid-template-columns:2.2fr 1fr;gap:16px;align-items:start}.ew-v31 .compare31 h2{grid-column:1/-1;margin:0}.ew-v31 table{min-width:0;font-size:14px;border:1px solid #ddd}.ew-v31 th,.ew-v31 td{padding:9px 12px}.ew-v31 th:nth-child(2){background:#c75e00}.ew-v31 td:first-child{font-weight:700}.ew-v31 .why{border:1px solid #ddd;background:#fff9eb;border-radius:14px;padding:22px}.ew-v31 .why p{font-size:15px}.ew-v31 .road31 .ew-wrap{padding-top:0}.ew-v31 .road31 .tile{display:grid;grid-template-columns:48px 1fr;gap:6px 12px;padding:16px}.ew-v31 .road31 .tile p{grid-column:2;font-size:14px;margin:0}.ew-v31 .road31 .tile h3{margin:0}.ew-v31 .resources31 .resources{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ew-v31 .resources .tile{padding:18px 12px}.ew-v31 .resources .resource-icon{color:#e92342}.ew-v31 .resources h3{font-size:17px}.ew-v31 .resources p,.ew-v31 .resources a{font-size:14px}.ew-v31 details{padding:13px 16px;font-size:16px}.ew-v31 .faq31 summary{font-weight:800}.ew-v31 .hero2 .tag{color:#ffbe28}@media(max-width:1000px){.ew-v31 .pathway-card{grid-template-columns:1fr}.ew-v31 .pathway-card img{height:200px;min-height:0}.ew-v31 .path-copy{padding:12px}.ew-v31 .steps{grid-template-columns:repeat(3,1fr)}.ew-v31 .steps li:after{display:none}.ew-v31 .resources31 .resources{grid-template-columns:repeat(3,1fr)}.ew-v31 .compare31 .ew-wrap{grid-template-columns:1fr}}@media(max-width:700px){.ew-v31 .ew-wrap,.ew-v31 .hero2 .ew-wrap{padding:24px 18px}.ew-v31 .hero2 img{height:240px}.ew-v31 .steps,.ew-v31 .resources31 .resources{grid-template-columns:1fr}.ew-v31 .steps li{min-height:0;text-align:left;padding:18px 18px 18px 65px}.ew-v31 .steps .v31-icon{margin:0 0 8px}.ew-v31 .steps li:before{left:18px;top:18px}.ew-v31 table{min-width:520px}.ew-v31 .v31-benefits{flex-wrap:wrap}.ew-v31 .pathway-card{grid-template-columns:1fr}}

/* V3.2: consistent course detail layouts */
.ew-v32 .steps32{grid-template-columns:repeat(4,minmax(0,1fr))}.ew-v32 .features32 .tile{display:grid;grid-template-columns:48px 1fr;column-gap:14px;align-items:start;padding:22px}.ew-v32 .features32 .tile svg{grid-row:1/3}.ew-v32 .features32 .tile p{grid-column:2;margin:0}.ew-v32 .features32 .tile h3{font-size:21px}.ew-v32 .hero2 img{object-fit:cover;object-position:center}.ew-v32 .resources31 .resources{grid-template-columns:repeat(3,minmax(0,1fr))}.ew-v32 .hero2 .split{align-items:center}.ew-v32 .hero2 .action{margin-bottom:8px}.ew-v32 .steps32 li{min-height:210px}.ew-v32 .tile a.action{grid-column:2;justify-self:start}@media(max-width:1000px){.ew-v32 .steps32{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.ew-v32 .steps32,.ew-v32 .resources31 .resources{grid-template-columns:1fr}.ew-v32 .steps32 li{min-height:0}.ew-v32 .features32 .tile{grid-template-columns:38px 1fr}.ew-v32 .hero2 img{height:240px}}

/* Texas Defensive Driving — isolated layout and mobile styling */
.ew-defensive-page{color:#17243a;background:#faf9f5;font-family:inherit}.ew-defensive-page *{box-sizing:border-box}.ew-defensive-page .ew-wrap{max-width:1180px;width:calc(100% - 48px);margin-inline:auto}.ew-defensive-page h1,.ew-defensive-page h2,.ew-defensive-page h3{font-family:inherit;line-height:1.16}.ew-defensive-page h2{font-size:clamp(27px,3vw,38px);font-weight:800;margin:0 0 26px;color:#12203a}.ew-defensive-page p{line-height:1.65}.ew-dd-hero{background:linear-gradient(120deg,#0b1c33,#102b4a);color:white;padding:76px 0}.ew-dd-hero-inner{display:grid;grid-template-columns:1.08fr 0.92fr;gap:54px;align-items:center}.ew-dd-hero .eyebrow{display:block;color:#ffcb27;font-size:13px;font-weight:800;letter-spacing:.11em;margin-bottom:17px}.ew-dd-hero h1{color:white;font-size:clamp(40px,4.5vw,65px);letter-spacing:-.035em;margin:0 0 20px;font-weight:850}.ew-dd-hero h1 em{color:#ffc400;font-style:normal;display:block}.ew-dd-hero p{font-size:17px;color:#e0e9f5;max-width:610px;margin:0 0 24px}.ew-dd-hero img{display:block;width:100%;height:390px;object-fit:cover;border-radius:18px;box-shadow:0 18px 40px #0005}.ew-dd-benefits{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}.ew-dd-benefits>div{color:#fff;font-size:13px;font-weight:700;padding:9px 12px;border:1px solid #637b95;border-radius:9px;background:#ffffff0b}.ew-defensive-page a.action{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:12px 22px;background:#ffc400;color:#10213c!important;font-weight:800;border-radius:10px;text-decoration:none;margin:0 10px 8px 0;box-shadow:none}.ew-defensive-page a.action:hover{background:#ffda55}.ew-defensive-page a.action.outline{background:transparent;color:#fff!important;border:1px solid #b7c5d8}.ew-defensive-page .ew-dd-enroll a.action.outline{color:#14233b!important;border-color:#aab6c7}.ew-dd-section{padding:70px 0}.ew-dd-features{background:#faf9f5}.ew-dd-features .tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ew-dd-features .tile{background:white;padding:27px;border:1px solid #e0e4e9;border-radius:16px;box-shadow:0 8px 20px #1120380c}.ew-dd-features .tile:before{content:'✓';display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#fff3c4;color:#d18c00;font-weight:900;font-size:25px;margin-bottom:16px}.ew-dd-features .tile h3{font-size:21px;font-weight:800;color:#12203a;margin:0 0 9px}.ew-dd-features .tile p{font-size:15px;color:#46536a;margin:0}.ew-dd-steps{background:#f0f3f8}.ew-dd-steps .steps{counter-reset:dd;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;padding:0;margin:0;list-style:none}.ew-dd-steps li{counter-increment:dd;display:flex;flex-direction:column;gap:13px;background:#fff;border:1px solid #dfe4ed;border-radius:15px;padding:24px;min-height:210px;color:#536074;line-height:1.55;font-size:14px}.ew-dd-steps li:before{content:counter(dd);width:40px;height:40px;border-radius:50%;background:#ffc400;color:#12203a;display:grid;place-items:center;font-size:20px;font-weight:900}.ew-dd-steps li strong{font-size:18px;color:#10203b;line-height:1.25}.ew-dd-dark{background:linear-gradient(120deg,#10253f,#193e65);padding:58px 0;color:white}.ew-dd-dark-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}.ew-dd-dark-grid>div+div{border-left:1px solid #68809a;padding-left:48px}.ew-dd-dark h2{color:white;font-size:28px;margin:0 0 18px}.ew-dd-dark ul{padding:0;margin:0;list-style:none}.ew-dd-dark li{position:relative;padding:0 0 12px 28px;line-height:1.5}.ew-dd-dark li:before{content:'✓';color:#ffc400;position:absolute;left:0;font-weight:900}.ew-dd-faq{background:#fff}.ew-dd-faq .faqs{display:grid;gap:12px}.ew-dd-faq details{border:1px solid #dce2ea;border-radius:11px;padding:0 20px;background:#fff}.ew-dd-faq summary{cursor:pointer;font-size:17px;font-weight:750;padding:18px 0;color:#12203a}.ew-dd-faq details p{margin:0 0 20px;color:#4b596c}.ew-dd-enroll{background:#f6f7fa}.ew-dd-enroll .preview{background:white;border:1px solid #dfe4eb;border-left:5px solid #ffc400;border-radius:15px;padding:30px;margin:0 0 20px}.ew-dd-enroll .preview strong{display:block;font-size:22px;color:#13243d}.ew-dd-enroll .preview p{margin:12px 0 20px}.ew-dd-enroll .note{font-size:13px;color:#566277}.ew-dd-enroll>.ew-wrap>.note{max-width:850px}.ew-online-card img[src*="ew-defensive-driving-texas"]{object-position:center}
@media(max-width:900px){.ew-dd-hero-inner{grid-template-columns:1fr;gap:28px}.ew-dd-hero img{height:320px}.ew-dd-steps .steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ew-dd-features .tiles{grid-template-columns:1fr}.ew-dd-dark-grid{gap:28px}.ew-dd-dark-grid>div+div{padding-left:28px}}
@media(max-width:600px){.ew-defensive-page .ew-wrap{width:calc(100% - 32px)}.ew-dd-hero{padding:42px 0}.ew-dd-hero h1{font-size:38px}.ew-dd-hero p{font-size:15px}.ew-dd-hero img{height:230px}.ew-dd-section{padding:46px 0}.ew-dd-steps .steps,.ew-dd-dark-grid{grid-template-columns:1fr}.ew-dd-steps li{min-height:0}.ew-dd-dark-grid>div+div{padding-left:0;border-left:0;border-top:1px solid #68809a;padding-top:25px}.ew-defensive-page a.action{width:100%;margin-right:0}.ew-dd-enroll .preview{padding:20px}.ew-dd-faq summary{font-size:15px}}
