.ec-promo,.ec-entry,.ec-academy-workspace {
  --ec-navy:#101415;
  --ec-ink:#202b2b;
  --ec-blue:#ad5a07;
  --ec-amber:#f5a51e;
  --ec-ice:#fff7e8;
  --ec-line:#e9ddc7;
  font-family:Assistant,Arial,sans-serif;
}
.ec-promo *, .ec-entry *, .ec-lesson * { box-sizing:border-box; }
.ec-promo {
  inline-size:min(1200px,calc(100% - 40px));
  margin:clamp(30px,5vw,72px) auto;
  display:grid;
  grid-template-columns:1.12fr .88fr;
  overflow:clip;
  border-radius:clamp(16px,3vw,28px);
  background:linear-gradient(122deg,#232e2b,#101415 74%);
  color:#fff;
  box-shadow:0 16px 45px #171c2026;
}
.ec-promo__body { padding:clamp(25px,5vw,65px); align-self:center; }
.ec-promo .ec-promo__eyebrow,.ec-entry .ec-promo__eyebrow { color:var(--ec-amber); margin:0 0 .65rem; font-size:.94rem; font-weight:800; }
.ec-promo h2,.ec-entry h1 { color:#fff; margin:0 0 .7rem; font-family:Rubik,Assistant,Arial,sans-serif; line-height:1.12; font-weight:800; text-wrap:balance; }
.ec-promo h2 { font-size:clamp(30px,4vw,55px); }
.ec-promo__body>p:not(.ec-promo__eyebrow) { color:#e8edeb; font-size:clamp(16px,1.55vw,20px); line-height:1.65; margin:0 0 1.3rem; max-inline-size:43ch; }
.ec-promo__image { min-block-size:300px; position:relative; overflow:clip; }
.ec-promo .ec-promo__image img {
  display:block; position:absolute; inset:0;
  width:100%; height:100% !important; max-width:none;
  object-fit:cover; object-position:50% 52%;
}
.ec-action,.ec-promo a.ec-action {
  display:inline-flex; align-items:center; justify-content:center; gap:.65rem;
  min-block-size:48px; padding:.66rem 1.15rem; border-radius:10px;
  background:var(--ec-amber); color:#171c20; border:1px solid transparent;
  font-weight:800; text-decoration:none; line-height:1.3; text-align:center;
}
.ec-action:hover,.ec-promo a.ec-action:hover { background:#ffbb47; color:#171c20; }
.ec-action--plain { background:transparent; color:#fff; border-color:#9aada4; }
.ec-action--plain:hover { background:#ffffff1a; color:#fff; }
.ec-promo a:focus-visible,.ec-entry :is(a,summary):focus-visible,.ec-lesson :is(a,summary):focus-visible { outline:3px solid #b45b0b; outline-offset:4px; }
.ec-academy-body { margin:0; }
.ec-entry { background:#fbf9f4; color:var(--ec-ink); line-height:1.65; }
.ec-entry__wrap { inline-size:min(1180px,calc(100% - 44px)); margin-inline:auto; }
.ec-entry__hero { background:linear-gradient(145deg,#27342f,#101415 70%); padding-block:clamp(35px,7vw,94px); color:#fff; }
.ec-entry__grid { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(22px,5vw,70px); align-items:center; }
.ec-entry__brand { color:#e5eee8; display:inline-block; margin-block-end:1.35rem; font-weight:800; text-decoration:none; }
.ec-entry h1 { font-size:clamp(34px,5.35vw,70px); }
.ec-entry__lead { color:#e8edeb; font-size:clamp(17px,2vw,23px); max-inline-size:42ch; margin:0 0 1rem; }
.ec-entry__grid img { display:block; inline-size:100%; block-size:auto; aspect-ratio:1.12; object-fit:cover; border-radius:20px; }
.ec-entry__actions { display:flex; flex-wrap:wrap; gap:.65rem; }
.ec-entry__facts { color:#d7e3dd; margin:1.15rem 0 0; }
.ec-entry__section { padding-block:clamp(32px,5vw,66px); }
.ec-entry__section>h2 { font:800 clamp(25px,3.5vw,42px)/1.15 Rubik,Assistant,Arial,sans-serif; margin:0 0 .6rem; }
.ec-syllabus { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; list-style:none; padding:0; }
.ec-syllabus li,.ec-entry__sample { background:#fff; border:1px solid var(--ec-line); border-radius:14px; padding:1rem 1.15rem; }
.ec-syllabus h3 { margin:0 0 .28rem; color:#234138; font-size:1.2rem; }
.ec-syllabus p { margin:0; }
.ec-entry__sample summary { color:#714007; font-weight:800; cursor:pointer; }
.ec-entry__footer { display:flex; gap:1.25rem; padding-block:1.5rem; border-block-start:1px solid var(--ec-line); }
.ec-entry .dv-course-landing [hidden] { display:none !important; }
.ec-entry .student-form-field:has(#student-register-phone),
.ec-entry .student-form-field:has(#student-register-website) { display:none; }
.ec-entry #enroll { scroll-margin-block-start:16px; }
.ec-entry :is(.student-login-panel,.student-register-panel) { border-color:#e9ddc7; }
.ec-entry #enroll,
.ec-entry #enroll :is(h2,h3,p,a,button,input,label,span,li) {
  font-family:Assistant,Arial,sans-serif !important;
}
.ec-entry #enroll :is(h2,h3) { font-weight:800; }
.ec-entry #enroll .student-access-title { color:var(--ec-ink); }
.ec-entry #enroll #student-login-password { padding-left:78px; }
.ec-entry #enroll .student-password-toggle {
  z-index:2;
  left:7px;
  width:auto;
  min-width:60px;
  min-height:42px;
  padding:0 8px;
  border:1px solid #e9ddc7;
  border-radius:8px;
  background:#fff5de;
  color:#714007;
  font-size:.86rem;
  font-weight:700;
}
.ec-entry #enroll .student-password-toggle:hover { background:#ffedc2; }
.ec-entry #enroll .student-password-toggle:focus-visible { outline:2px solid #ad5a07; outline-offset:2px; }
.ec-entry :is(.student-login-panel,.student-register-panel) button[type=submit] { background:#724108; color:#fff; border-color:#724108; }
.ec-entry :is(.student-login-panel,.student-register-panel) button[type=submit]:hover { background:#593107; color:#fff; }
.ec-entry :is(.student-login-panel,.student-register-panel) button[type=submit]:disabled { opacity:.58; }
.ec-academy-workspace,
.ec-academy-workspace .dv-app,
.ec-academy-workspace .dv-app :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,dt,dd,a,button,input,select,textarea,label,span,small,summary,figcaption,th,td),
.ec-academy-workspace .dv-app :is(.dv-brand__title,.dv-stat__value,.dv-stat__sub,.dv-progress__row,.dv-section-title,.dv-user-accordion__title,.dv-accordion__title,.dv-syllabus-card__title,.dv-course-about__text,.dv-course-instructor-card__desc),
.ec-academy-workspace .dv-app input::placeholder {
  font-family:Assistant,Arial,sans-serif !important;
}
.ec-academy-workspace .dv-app :is(.dv-dashboard-hero__title,.dv-lesson-hero__title,.dv-section-title,.dv-syllabus-card__title,.dv-lesson-quiz__title) {
  font-weight:800;
}
.ec-academy-workspace .dv-app .dv-lesson-about:has(.ec-lesson) > .dv-lesson-about__title { display:none; }
.ec-academy-workspace .dv-dashboard-hero__banner {
  background:linear-gradient(270deg,#192420 0%,#192420de 42%,#19242042 100%),url('/media/automation-academy/course-cover.jpg') center 52%/cover;
}
.ec-lesson { color:#293431; font:400 clamp(16px,1rem + .23vw,19px)/1.75 Assistant,Arial,sans-serif; text-align:start; overflow-wrap:anywhere; max-inline-size:78ch; margin-inline:auto; }
.ec-lesson section { margin-block:1.6rem; }
.ec-lesson h2 { color:#253d34; font-size:clamp(21px,2.7vw,28px); line-height:1.3; font-weight:800; margin:1.4rem 0 .65rem; }
.ec-lesson p { margin:.5rem 0 .95rem; }
.ec-lesson .ec-lesson__outcome,.ec-lesson .ec-lesson__tasks {
  background:#fff8e9; border:1px solid #eadfca; border-radius:12px; padding:.8rem 1rem;
}
.ec-lesson .ec-lesson__outcome { border-inline-start:3px solid #ad5a07; }
.ec-lesson .ec-lesson__outcome p { margin:.16rem 0; }
.ec-lesson .ec-lesson__outcome strong,.ec-lesson .ec-lesson__term strong { color:#253d34; }
.ec-lesson .ec-lesson__term { background:#f5f7f4; border-inline-start:3px solid #b1c4b5; padding:.48rem .72rem; }
.ec-lesson .ec-lesson__tasks h2 { margin:.2rem 0 .6rem; }
.ec-lesson .ec-lesson__tasks li { margin-block:.42rem; }
.ec-lesson a { color:#754008; text-decoration:underline; text-underline-offset:.19em; }
.ec-lesson :is(.ec-worked,.ec-video,.ec-capture,.ec-selfcheck,.ec-lesson__sources) {
  border:1px solid #eadfca; border-radius:12px; background:#f9f7ef; margin:1.2rem 0; overflow:hidden;
}
.ec-lesson :is(.ec-worked,.ec-video,.ec-capture) figcaption { padding:.8rem 1rem; }
.ec-lesson :is(.ec-worked,.ec-video) figcaption strong { display:block; color:#294239; line-height:1.3; }
.ec-lesson :is(.ec-worked,.ec-video) figcaption span { display:block; font-size:.88em; color:#4f5b55; }
.ec-lesson .ec-worked dl { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)); gap:.5rem; margin:0; padding:0 .9rem .9rem; }
.ec-lesson .ec-worked dl>div { border:1px solid #eadfca; border-radius:9px; padding:.62rem .72rem; background:#fff; }
.ec-lesson .ec-worked dt { color:#784404; font-weight:800; font-size:.88em; }
.ec-lesson .ec-worked dd { margin:0; }
.ec-lesson .ec-worked--flow dl>div { border-block-start:3px solid #ad5a07; }
.ec-lesson .ec-worked--screen figcaption { background:#f3ead6; border-block-end:1px solid #eadfca; margin-block-end:.65rem; }
.ec-lesson .ec-worked--contrast { border-inline-start:3px solid #b96613; }
.ec-lesson .ec-video__player>a { display:inline-block; margin:.55rem .9rem; }
.ec-lesson .ec-video iframe { display:block; width:100%; aspect-ratio:16/9; background:#101415; border:0; }
.ec-lesson .ec-capture img { display:block; inline-size:100%; block-size:auto; }
.ec-lesson .ec-capture figcaption { font-size:.86em; }
.ec-lesson :is(.ec-selfcheck,.ec-lesson__sources) { padding:.8rem 1rem; }
.ec-lesson .ec-selfcheck summary { font-weight:800; cursor:pointer; color:#714007; }
.ec-lesson .ec-lesson__sources h2 { margin:.2rem 0 .6rem; }
.ec-lesson :is(ul,ol) { padding-inline-start:1.3rem; }
@media (max-width:800px) {
  .ec-syllabus { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .ec-promo,.ec-entry__grid { grid-template-columns:minmax(0,1fr); }
  .ec-promo__image { min-block-size:230px; }
  .ec-entry__grid img { aspect-ratio:1.35; }
  .ec-syllabus { grid-template-columns:minmax(0,1fr); }
  .ec-entry__wrap { inline-size:calc(100% - 32px); }
}

.ec-promo { margin-block:clamp(32px,5vw,66px); }
.ec-promo h2,.ec-entry h1 { font-family:Assistant,Arial,sans-serif; }
.ec-promo .ec-action,.ec-entry .ec-action:not(.ec-action--plain) { background:#f5a51e; color:#171c20; }
.ec-promo .ec-action:hover,.ec-entry .ec-action:not(.ec-action--plain):hover { background:#ffbb47; color:#171c20; }
.ec-promo .ec-promo__image img { object-position:52% 50%; }
.ec-entry #enroll :is(.student-login-panel,.student-register-panel) button[type=submit] { font-weight:800; }
.ec-academy-workspace .dv-lesson-hero__bg { background:linear-gradient(118deg,#243a33,#101415) !important; }
.ec-academy-workspace .dv-app .dv-lesson-actions__complete,.ec-academy-workspace .dv-app .dv-lesson-quiz__submit { background:#f5a51e; color:#171c20; border-color:#f5a51e; }
.ec-academy-workspace .dv-app .dv-lesson-quiz__submit:disabled { opacity:.62; }
.ec-lesson .ec-worked--flow dl { counter-reset:workflow-step; }
.ec-lesson .ec-worked--flow dt::before { counter-increment:workflow-step; content:counter(workflow-step) ". "; }
.ec-lesson .ec-worked--screen dl { background:#f3ead6; padding:.65rem .9rem .9rem; margin-top:-.65rem; }
