.lesson-banner { padding: 50px 0; min-height: 650px; background: url('/wp-content/uploads/2022/11/homepageFallbackImage-min.png') center/cover no-repeat; position: relative; display: flex; align-items: center; }
body.single-lesson .container { max-width: 1240px; padding-inline: 20px; margin-inline: auto; position: relative; }
.lesson-banner-inner { display: flex; flex-flow: column; align-items: center; }
.lesson-banner::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: transparent; background-image: linear-gradient( 180deg, #fffFFF00 17%, #000 77%); opacity: 0.61; mix-blend-mode: darken; transition: background 0.3s,border-radius 0.3s,opacity 0.3s; }
.lesson-banner-inner * { color: #fff!important; }
.lesson-banner-inner h1 { font-size: 70px; font-weight: 600; font-family: "Playfair Display"; line-height: 1.2; }
.lesson-banner-inner h2 { font-size: 35px; line-height: 1.2; margin: 20px 0; }
.lesson-banner-inner p { font-size: 16px; font-style: italic; font-weight: 600; }
.lesson-layout .layout-row { display: grid; grid-template-columns: 20fr 80fr; }
.lesson-main-content { padding: 40px 0 0 40px; border-left: 1px solid #d9d9d9; }
.cs-infos { display: none; }
.leftFloatImg figure { float: left; margin: 0 40px 0 0; }
/* Lesson Sidebar */
.lesson-sidebar { padding: 28px 16px 40px 0; }
.lesson-sidebar-heading { color: #1f2e4d; font-size: 16px; letter-spacing: 1.5px; margin-bottom: 15px; font-weight: 600; padding-bottom: 15px; border-bottom: 1px solid #d9d9d9; }
.lesson-list { display: flex; flex-direction: column; }
.lesson-item { display: block; padding: 9px 12px; color: #16294d; text-decoration: none; font-size: 14px; border-left: 3px solid transparent; }
.lesson-item:hover { background: #f0e3e961; color: #000!important; }
.lesson-item.active { background: #f0e3e961; border-left-color: #84184e; font-weight: 600; color: #000!important; }
.lesson-list a { color: #000!important; font-weight: 500; }
/* Previous / Next */
.lesson-navigation { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #d9d9d9; margin-top: 40px; padding-top: 24px; }
.lesson-navigation a { display: inline-block; padding: 10px 18px; background: #84184e; color: #fff!important; text-decoration: none!important; border-radius: 4px; font-size: 14px; font-weight: 600; }
.lesson-navigation a:hover { background: #162744; color: #fff; }
.media-box { border-top: 2px solid #84184e; border-bottom: 2px solid #84184e; padding: 0.9rem 1rem; margin: 0 0 1rem; clear: both; background: #f0e3e961; font-weight: 600; color: #000!important; }
.media-box .media-label { font-size: 14px; font-weight: 600; color: #84184e; font-family: 'Poppins'; margin: 0 0 15px; }
.media-box audio, .media-box video { width: 100%; display: block; }
.floatImageSection .elementor-widget-wrap { display: block!important; }

.single-lesson .lesson-main-content .elementor-widget-container p { line-height: 1.8; }

.single-lesson .lesson-main-content .elementor-widget-container p:not(last-child) { margin-bottom: 20px; }
.dialogue-block p { margin: 0!important; }

.dialogue-block { padding: 0 0 0 20px; border-left: 3px solid #84184e; }
.dialogue-block-bg { padding: 20px 20px 20px 20px; border-left: 3px solid #84184e; background: #f0e3e961; }

.bgBoxed { background: #f0e3e961; margin: 10px; padding: 20px; border: 2px solid #84184e; }

.bgBoxed ul { counter-reset: numbers; padding: 0 0 0 10px; }

.bgBoxed ul li { list-style: none; position: relative; padding: 0 0 0 26px; }

.bgBoxed ul li::before { content: counter(numbers) "."; counter-increment: numbers; color: #84184e; font-size: 15px; font-weight: 600; position: absolute; left: 0; top: 0; }

.bgBoxed ul li:not(:last-child) { margin: 0 0 15px; }
.lesson-layout { padding: 0 0 50px; }

@media (max-width: 767px) {
  .layout-row { grid-template-columns: 1fr!important; }
  .lesson-sidebar { padding: 28px 0 20px 0; }
  .lesson-main-content { border-left: 0; border-top: 1px solid #d9d9d9; padding: 20px 0 0 0; }
  .floatLeft { float: none!important; width: 100%!important; margin: 0!important; }
  .lesson-main-content h2 { font-size: 22px!important; line-height: 1.3!important; }
  .bgBoxed { padding: 10px!important; }
  .leftFloatImg figure { float: none; margin: 0 0 20px 0; width: 100%!important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cs-infos { display: none; }
  .lesson-layout .layout-row { grid-template-columns: 30fr 70fr; }
  .lesson-main-content { padding: 20px 0 0 20px; }
  .lesson-main-content h2 { font-size: 26px!important; line-height: 1.3!important; }
}
@media (min-width: 768px) and (max-width: 899px) {
  .leftFloatImg figure { float: none; margin: 0 0 20px 0; width: 100%!important; }
}


.left-border p {
    border-left: 3px solid #84184e;
    padding-left: 18px;
}


