/* Public legacy templates keep their existing controls, Bootstrap and player dependencies. */
body.bt-legacy-shell { background: #fff; color: #072548; font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; }
.bt-legacy-shell #app { overflow: visible; }
.bt-legacy-shell .bt-header, .bt-legacy-shell .bt-footer { font-family: 'Inter', sans-serif; }
.bt-legacy-page { color: #072548; font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.75; }
.bt-legacy-page *, .bt-legacy-page *::before, .bt-legacy-page *::after { box-sizing: border-box; }
.bt-legacy-page .container { width: min(1680px, calc(100% - 64px)); max-width: 1680px; padding-left: 0; padding-right: 0; }
.bt-legacy-page > section:not(.bt-legacy-content-heading) { padding-top: 52px; padding-bottom: 60px; }
.bt-legacy-page h1, .bt-legacy-page h2, .bt-legacy-page h3, .bt-legacy-page h4 { color: #072548; font-family: inherit; font-weight: 750; letter-spacing: -.025em; line-height: 1.3; }
.bt-legacy-page h1 { font-size: clamp(32px, 3.2vw, 48px); }
.bt-legacy-page h2 { font-size: clamp(26px, 2.3vw, 36px); }
.bt-legacy-page h3 { font-size: 22px; }
.bt-legacy-page p, .bt-legacy-page li { font-size: inherit; }
.bt-legacy-page p { color: #526277; line-height: 1.8; }
.bt-legacy-page a { text-underline-offset: 4px; }
.bt-legacy-page a:hover { color: #034fc0; }
.bt-legacy-page a:focus-visible, .bt-legacy-page button:focus-visible, .bt-legacy-page input:focus-visible, .bt-legacy-page select:focus-visible, .bt-legacy-page textarea:focus-visible { outline: 3px solid #f7b84b; outline-offset: 3px; }
.bt-legacy-page .bt-legacy-content-heading { padding: 38px 0 0; margin: 0; background: #fff !important; border: 0; }
.bt-legacy-page .bt-legacy-content-heading .blakish-overlay { display: none; }
.bt-legacy-page .bt-legacy-content-heading .page-breadcrumb-content { position: static; padding: 0; text-align: left !important; }
.bt-legacy-page .bt-legacy-content-heading .breadcrumb-head { margin: 0; color: #072548; font-size: clamp(28px, 2.5vw, 40px); }
.bt-legacy-page .bt-legacy-content-heading .breadcrumb-head span { color: inherit; font-weight: inherit; }
.bt-legacy-page .short-filter-tab { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding: 18px 22px; border: 1px solid #e4eaf3; border-radius: 14px; background: #f6f9fe; }
.bt-legacy-page .short-filter-tab .shorting-filter { display: flex !important; align-items: center; flex-wrap: wrap; gap: 14px; width: auto !important; float: none !important; margin: 0 !important; }
.bt-legacy-page .shorting-filter > span { font-size: 14px; font-weight: 600; }
.bt-legacy-page .shorting-filter select { width: 190px !important; }
.bt-legacy-page .tab-button { margin-bottom: 0; }
.bt-legacy-page .product-tab { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.bt-legacy-page .product-tab > li { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 15px; border: 1px solid #d6e2f2; border-radius: 8px; color: #526277; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.4; }
.bt-legacy-page .product-tab > li.active { background: #0565e8; border-color: #0565e8; color: #fff; }
.bt-legacy-page .best-course-area > .row { row-gap: 28px; }
.bt-legacy-page .best-course-pic-text { display: flex; flex-direction: column; height: 100%; padding: 0; margin: 0; overflow: hidden; border: 1px solid #e4eaf3; border-radius: 16px; background: #fff; box-shadow: 0 7px 24px #10284908; }
.bt-legacy-page .best-course-pic { flex-shrink: 0; min-height: 220px; height: auto; aspect-ratio: 1.6; border-radius: 0; background-color: #eaf1fb; background-position: center; background-repeat: no-repeat; background-size: cover; overflow: hidden; }
.bt-legacy-page .best-course-pic .blakish-overlay { background: linear-gradient(0deg, #03182d99, transparent 65%); opacity: 1; }
.bt-legacy-page .best-course-text { position: static; padding: 24px !important; min-height: 170px; height: auto; border: 0; background: #fff; }
.bt-legacy-page .best-course-text .course-title { margin-bottom: 16px !important; }
.bt-legacy-page .best-course-text .course-title h3 { font-size: 21px; line-height: 1.45; }
.bt-legacy-page .best-course-text .course-title a { color: #072548; }
.bt-legacy-page .best-course-text .course-title a:hover { color: #0565e8; }
.bt-legacy-page .course-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 0; }
.bt-legacy-page .course-meta > span { margin: 0; color: #526277; font-size: 13px; line-height: 1.6; }
.bt-legacy-page .course-meta .course-category a { color: #0565e8; }
.bt-legacy-page .course-price, .bt-legacy-page .trend-badge-2, .bt-legacy-page .trend-badge-3 { min-height: 0; height: auto; padding: 8px 12px; border-radius: 6px; background: #0565e8; font-size: 13px; line-height: 1.5; }
.bt-legacy-page .course-price { top: 14px; right: 14px; bottom: auto; left: auto; }
.bt-legacy-page .trend-badge-2, .bt-legacy-page .trend-badge-3 { top: 14px; left: 14px; }
.bt-legacy-page .course-details-btn { bottom: 14px; right: 14px; left: auto; }
.bt-legacy-page .course-details-btn a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid #ffffff80; border-radius: 8px; background: #041c34bf; color: #fff; font-size: 13px; font-weight: 650; }
.bt-legacy-page .course-list-view { overflow-x: auto; border: 1px solid #e4eaf3; border-radius: 14px; }
.bt-legacy-page .course-list-view table { width: 100%; min-width: 660px; margin-bottom: 0; }
.bt-legacy-page .course-list-view th, .bt-legacy-page .course-list-view td { padding: 20px; border-color: #e4eaf3; }
.bt-legacy-page .course-list-view th { background: #f4f8fe; color: #072548; font-size: 14px; }
.bt-legacy-page .course-list-img { width: 110px; height: 86px; border-radius: 9px; background-size: cover; background-position: center; }
.bt-legacy-page .course-list-text h3 { font-size: 19px; }
.bt-legacy-page .side-bar { padding-left: 18px; }
.bt-legacy-page .side-bar-widget, .bt-legacy-page .course-side-bar-widget { margin-bottom: 26px; padding: 25px; border: 1px solid #e4eaf3; border-radius: 16px; background: #f8faff; }
.bt-legacy-page .widget-title { margin-bottom: 22px; font-size: 22px; line-height: 1.4; }
.bt-legacy-page .listing-filter-form { padding-bottom: 0; }
.bt-legacy-page .listing-filter-form label { display: block; color: #072548; font-size: 13px; font-weight: 650; line-height: 1.6; margin-bottom: 8px; text-transform: none; }
.bt-legacy-page .listing-filter-form input, .bt-legacy-page .listing-filter-form select, .bt-legacy-page .form-control, .bt-legacy-page .teacher-faq-form textarea { width: 100%; height: auto; min-height: 48px; padding: 11px 14px; border: 1px solid #c9d6e8; border-radius: 8px; background: #fff; color: #072548; font: inherit; font-size: 15px; }
.bt-legacy-page .teacher-faq-form textarea { min-height: 130px; }
.bt-legacy-page .genius-btn, .bt-legacy-page .nws-button { min-height: 48px; height: auto; padding: 12px 17px; border-radius: 9px; font-size: 14px; line-height: 1.6; letter-spacing: 0; text-transform: none !important; }
.bt-legacy-page .gradient-bg { background: #0565e8; }
.bt-legacy-page .nws-button button { width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; }
.bt-legacy-page .latest-news-area { margin-bottom: 24px; }
.bt-legacy-page .latest-news-thumbnile { height: 145px; background-position: center; background-size: cover; border-radius: 10px; }
.bt-legacy-page .latest-title { margin-top: 10px; font-size: 17px; line-height: 1.5; }
.bt-legacy-page .date-meta { color: #69778c; font-size: 12px; line-height: 1.7; }
.bt-legacy-page .date-meta span { display: inline-block; margin: 0 16px 7px 0; }
.bt-legacy-page .view-all-btn a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #0565e8; font-size: 14px; font-weight: 650; }
.bt-legacy-page .couse-pagination { margin-top: 36px; }
.bt-legacy-page .pagination { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; }
.bt-legacy-page .page-link { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; padding: 10px 14px; border: 1px solid #d6e2f2; border-radius: 8px; background: #fff; color: #0565e8; }
.bt-legacy-page .page-item.active .page-link { border-color: #0565e8; background: #0565e8; color: #fff; }
.bt-legacy-page .page-item.disabled .page-link { color: #7b899b; background: #f7f9fc; }
.bt-legacy-page .blog-post-img-content { height: 100%; margin-bottom: 30px; overflow: hidden; border: 1px solid #e4eaf3; border-radius: 16px; background: #fff; }
.bt-legacy-page .blog-thumnile { min-height: 250px; height: auto; aspect-ratio: 1.7; background-color: #eaf1fb; background-position: center; background-size: cover; }
.bt-legacy-page .blog-title-content { padding: 25px; }
.bt-legacy-page .blog-title-content h3 { margin-bottom: 13px; font-size: 23px; line-height: 1.4; }
.bt-legacy-page .blog-title-content h3 a { color: #072548; }
.bt-legacy-page .blog-content { color: #526277; font-size: 15px; line-height: 1.8; }
.bt-legacy-page .blog-detail-thumbnile img, .bt-legacy-page .course-single-pic img { display: block; width: 100%; max-height: 620px; height: auto; object-fit: cover; border-radius: 16px; }
.bt-legacy-page .course-details-item, .bt-legacy-page .post-content-details { padding: 0; }
.bt-legacy-page .course-details-content, .bt-legacy-page .post-content-details { color: #526277; font-size: 16px; line-height: 1.9; }
.bt-legacy-page .course-details-content h2, .bt-legacy-page .post-content-details h2 { margin: 30px 0 18px; }
.bt-legacy-page .course-details-content img, .bt-legacy-page .post-content-details img { max-width: 100%; height: auto; }
.bt-legacy-page .course-review, .bt-legacy-page .blog-comment-area, .bt-legacy-page .blog-recent-post { margin-top: 38px; padding: 28px; border: 1px solid #e4eaf3; border-radius: 16px; }
.bt-legacy-page .comment-list > li { padding: 25px 0; border-color: #e4eaf3; }
.bt-legacy-page .faq-page-tab .panel { margin-bottom: 18px; overflow: hidden; border: 1px solid #dce6f4; border-radius: 12px; background: #fff; }
.bt-legacy-page .faq-page-tab .panel-title h3 { font-size: 17px; line-height: 1.5; }
.bt-legacy-page .faq-page-tab .panel-title button { display: block; width: 100%; min-height: 60px; padding: 18px 22px; color: #072548; font: inherit; font-weight: 650; white-space: normal; text-align: left; text-decoration: none; }
.bt-legacy-page .faq-page-tab .panel-body { padding: 0 22px 22px; color: #526277; font-size: 15px; line-height: 1.8; }
.bt-legacy-page .about-btn { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.bt-legacy-page .about-btn .genius-btn { margin: 0; }
.bt-legacy-page .about-btn a { display: block; color: #fff; }
.bt-legacy-page .bt-legal-heading { padding: 44px 0 26px; }
.bt-legacy-page .bt-legal-heading h1 { margin: 0 0 16px; }
.bt-legacy-page .bt-legal-breadcrumb { display: flex; align-items: center; gap: 12px; color: #69778c; font-size: 14px; }
.bt-legacy-page .bt-legal-breadcrumb a { color: #0565e8; }
.bt-legacy-page .bt-legal-content { padding-top: 14px !important; }
.bt-legacy-page .bt-legal-prose { max-width: 1050px; padding: 32px 38px; border: 1px solid #e4eaf3; border-radius: 16px; background: #fff; box-shadow: 0 7px 24px #10284905; }
.bt-legacy-page .bt-legal-prose h2, .bt-legacy-page .bt-legal-prose h3 { margin: 28px 0 14px; }
.bt-legacy-page .bt-legal-prose p { margin-bottom: 18px; }
.bt-legacy-page .bt-legal-prose ul, .bt-legacy-page .bt-legal-prose ol { padding-left: 24px; }
.bt-legacy-page .bt-legal-prose img { max-width: 100%; height: auto; }
.bt-legacy-page .bt-legal-image { margin: 0 0 30px; }
.bt-legacy-page .bt-legal-image img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (min-width: 1280px) {
    .bt-legacy-page #course-page > .container > .row > .col-md-9, .bt-legacy-page #course-details > .container > .row > .col-md-9, .bt-legacy-page #blog-detail > .container > .row > .col-md-9, .bt-legacy-page #blog-item .blog-content-details > .row > .col-md-9 { flex: 0 0 76%; max-width: 76%; }
    .bt-legacy-page #course-page > .container > .row > .col-md-3, .bt-legacy-page #course-details > .container > .row > .col-md-3, .bt-legacy-page #blog-detail > .container > .row > .col-md-3, .bt-legacy-page #blog-item .blog-content-details > .row > .col-md-3 { flex: 0 0 24%; max-width: 24%; }
}
@media (max-width: 1279px) {
    .bt-legacy-page .container { width: calc(100% - 48px); }
    .bt-legacy-page .side-bar { padding-left: 0; }
    .bt-legacy-page .side-bar-widget, .bt-legacy-page .course-side-bar-widget { padding: 20px; }
    .bt-legacy-page .best-course-area > .row > .col-md-4 { flex: 0 0 50%; max-width: 50%; }
    .bt-legacy-page .best-course-text { padding: 21px !important; }
}
@media (max-width: 900px) {
    .bt-legacy-page #course-page > .container > .row > .col-md-9, .bt-legacy-page #course-details > .container > .row > .col-md-9, .bt-legacy-page #blog-detail > .container > .row > .col-md-9, .bt-legacy-page #blog-item .blog-content-details > .row > .col-md-9,
    .bt-legacy-page #course-page > .container > .row > .col-md-3, .bt-legacy-page #course-details > .container > .row > .col-md-3, .bt-legacy-page #blog-detail > .container > .row > .col-md-3, .bt-legacy-page #blog-item .blog-content-details > .row > .col-md-3 { flex: 0 0 100%; max-width: 100%; }
    .bt-legacy-page .side-bar { margin-top: 35px; }
    .bt-legacy-page .short-filter-tab { flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .bt-legacy-page .container { width: calc(100% - 32px); }
    .bt-legacy-page > section:not(.bt-legacy-content-heading) { padding-top: 32px; padding-bottom: 40px; }
    .bt-legacy-page .bt-legacy-content-heading { padding-top: 28px; }
    .bt-legacy-page .short-filter-tab { padding: 16px; }
    .bt-legacy-page .best-course-pic { min-height: 180px; }
    .bt-legacy-page .best-course-text .course-title h3 { font-size: 20px; }
    .bt-legacy-page .blog-thumnile { min-height: 210px; }
    .bt-legacy-page .blog-title-content { padding: 22px; }
    .bt-legacy-page .blog-title-content h3 { font-size: 21px; }
    .bt-legacy-page .course-review, .bt-legacy-page .blog-comment-area, .bt-legacy-page .blog-recent-post { padding: 22px; }
    .bt-legacy-page .bt-legal-prose { padding: 24px; }
    .bt-legacy-page .bt-legal-heading { padding-top: 30px; }
}
@media (max-width: 520px) {
    .bt-legacy-page .best-course-area > .row > .col-md-4 { flex: 0 0 100%; max-width: 100%; }
    .bt-legacy-page .best-course-pic { min-height: 220px; }
    .bt-legacy-page .shorting-filter { width: 100% !important; }
    .bt-legacy-page .shorting-filter select { width: 100% !important; }
    .bt-legacy-page .course-review, .bt-legacy-page .blog-comment-area, .bt-legacy-page .blog-recent-post { padding: 18px; }
    .bt-legacy-page .faq-page-tab .panel-title button { padding-inline: 18px; }
    .bt-legacy-page .bt-legal-prose { padding: 20px; }
}
