﻿html,body{
    font-family: 'Open Sans', sans-serif;
    
}
html {
    /*background-image: url(/static/i/bg.png);*/
}
.b-html_page {
    background-image: url(/static/i/bg.png);
}
a {
    color:inherit;
    text-decoration: none;
}
.b-header {
    margin: 48px 0 0 0;
}
.b-logo {
    color: #ff2e00;
    margin: 0px 0 0 0;
    display: block;
    width: 285px;
    height: 60px;
    float: left;
}
.b-logo__img {
    /*background-color: #ff2e00;*/
    background-image: url(/static/i/logo.svg);
    background-size: cover;
    background-position: center;
    transition: 0.2s;
    width: 39px;
    height: 54px;
    margin: 0;
    float: left;
}
.b-logo__text {
    font-size: 25px;
    letter-spacing: 2px;
    line-height: 30px;
    font-weight: 300;
    width: 200px;
    height: 100%;
    margin: -6px 0 0 18px;
    float: left;
    position: relative;
    padding: 5px 13px;
    border-bottom: 1px solid rgba(0,0,0,0);
}

.b-logo:hover .b-logo__img {
    background-image: url(/static/i/logo_fill.svg?v=13);
}
.b-logo:hover .b-logo__text{
    color: #ff2e00;
}
.b-logo:hover .b-logo_bubble {
    background: white;
    border: 1px solid #ff2e00;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    padding: 5px 10px;
    margin: -7px 0px 0px 20px;
}
.b-logo:hover .b-logo_bubble:before,.b-logo:hover .b-logo_bubble:after {
    content: " ";
    width: 11px;
    height: 0;
    right: 100%;
    top: 13px;
    position: absolute;
    border-top: 13px solid transparent;
    border-right: 13px solid #ff2e00;
    border-bottom: 13px solid transparent;
}
.b-logo:hover .b-logo_bubble:after {
    right: 98.7%;
    border-right: 14px solid white;
}




.b-user-bar {
    float: right;
}
.b-user-bar__signin {
    border: 1px solid #000;
    background-color: #fff;
    padding: 10px 20px;
    cursor: pointer;
}
.b-user-bar__signin:hover {
    border: 1px solid #ff1200;
    background-color: #ff1200;
    color: #fff;
}
.b-user-bar__info {
    
}
.b-user-bar__info {
   
}
.b-user-bar__profile {
    border-bottom:1px solid rgba(0,0,0,0.2);
}
.b-user-bar__profile:hover {
    border-bottom:1px solid rgba(0,0,0,0.6);
}
.b-user-bar__exit {
    background-image: url(/static/i/logout.svg);
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: contain;
    display: inline-block;
    margin: 0px 0 -10px 11px;
}
.b-modal-sign-in__BG {
    width: 100%;
    height: 100%;
    top:0;
    background-color: rgba(0,0,0,0.4);
    position:fixed;
    z-index: 1000;  
}
.b-modal-sign-in__window {
    width: 300px;
    border: 1px solid #fff;
    border-radius: 5px;
    position: fixed;
    top: calc(50vh - 200px);
    left: calc(50vw - 100px);
    background-color: #fff;
    z-index:1001;
    padding: 5px;
}
.b-modal-sign-in__wrapper {
    width: calc(100% - 5px);
}
.b-modal-sign-in__close {
    position: absolute;
    top: -21px;
    right: -17px;
    font-size: 40px;
    line-height: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 0px;
    color: #ff1200;
    display: inline-block;
    width: 32px;
    text-align: center;
}
.b-modal-sign-in__title {

}
.b-modal-sign-in__form-block {
    margin: 0 0 15px 0;
}
.b-modal-sign-in__label {

}
.b-modal-sign-in__input {
    width: 100%
}
.b-modal-sign-in__socials {

}
.b-modal-sign-in__btn-sign-in {
    border: 1px solid #ff1200;
    float: left;
    margin: 0 10px 0 0;
    padding: 5px;
    cursor: pointer;
    background-color: #ff1200;
    color: #fff; 
}
.b-modal-sign-in__btn-registration {
    border: 1px solid rgba(0,0,0,1);
    float: left;
    margin: 0 0 0 0;
    padding: 5px;
    cursor: pointer;
}
.b-modal-sign-in__social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    margin: 0 0 8px 0;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Open Sans', Arial, sans-serif;
    text-decoration: none;
    transition: background-color 0.15s, box-shadow 0.15s;
}
.b-modal-sign-in__social-item:hover {
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.b-modal-sign-in__social-item_type_google {
    background-color: #fff;
    color: #333;
}
.b-modal-sign-in__social-item_type_google:hover {
    background-color: #f7f7f7;
}
.b-modal-sign-in__social-item_type_yandex {
    background-color: #FC3F1D;
    color: #fff;
    border-color: #FC3F1D;
}
.b-modal-sign-in__social-item_type_yandex:hover {
    background-color: #e0350f;
}


















.b-main {
    margin: 48px 0 0 0;
}
.b-mainpage {

}
.b-mainpage__section1 {
    overflow: auto;
    background-image: url(/static/i/bg.png);
    box-shadow: 2px 2px 13px #bbb;
    padding: 13px 0 32px 0;
}
.b-mp-section1__lets-try-block {
    width: 830px;
    float: left;
}
.b-mp-section1__lets-try-block-title {
    font-size: 36px;
    line-height: 45px;
    font-weight: 100;
    letter-spacing: 1.8px;
}
.b-mp-section1__lets-try-block-button {
    background: #ff2e00;
    border: 1px solid #ff2e00;
    color: #fff;
    font-size: 24px;
    line-height: 41px;
    font-weight: 100;
    text-align: center;
    letter-spacing: 1px;
    width: 316px;
    padding: 0px 0px 4px 0;
    margin: 26px 0 0 0;
    display: block;
}
.b-mp-section1__lesson-example {
    width: 349px;
    margin: 8px 0 0 0;
    transition: display 0s, opacity 1s linear;
    opacity: 1;
    position: absolute;
    top:0;
    left: 0;
}
.b-mp-section1__lesson-examples {
    float: right;
    width: 349px;
    position: relative;
}
.b-mp-section1__lesson-example-img {
    background-color: #000;
    width: 120px;
    height: 160px;
    float: left;
}
.b-mp-section1__lesson-example-text {
    float: left;
    width: 208px;
    margin: -2px 0 0 20px;
}
.b-mp-section1__lesson-example-title {
    font-size: 11px;
    font-weight: 100;
    letter-spacing: 1px;
}
.b-mp-section1__lesson-example-name {
    font-size: 21px;
    line-height: 26px;
    font-weight: 100;
    letter-spacing: 1px;
}
.b-mp-section1__lesson-example-description {
    font-size: 15px;
    line-height: 18px;
    margin: 17px 0 0 0;
}
.b-mp-section1__lesson-example-link {
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.4);
    padding: 0px 4px 0 0;
    margin: 17px 0 0 0;
    display: inline-block;
}
.b-mp-section1__lesson-example-link:hover {
    border-bottom: 1px solid rgba(0,0,0,0.8);
}
.b-mainpage__section2 {
    margin-top: 140px;
    margin-bottom: 97px;
}
.b-mp-section2__title {
    text-align: center;
    font-size: 34px;
    font-weight: 100;
    letter-spacing: 1.7px;
}
.b-mp-section2__description {
    margin: 31px 0 0 0;
}
.b-mp-section2__list {
    width: 27%;
    float: left;
    padding: 0px 0 0 200px;
    counter-reset: list 0;
}
.b-mp-section2__item {
    line-height: 19px;
    font-size: 17px;
    font-weight: 100;
    letter-spacing: 1.4px;
    padding: 11px 0 0 0;
    width: 310px;
    margin: 0 0 44px 0;
}
.b-mp-section2__item:before {
    counter-increment: list;
    content: counter(list);
    color: #aeb8b6;
    font-size: 50px;
    font-weight: 100;
    line-height: 50px;
    margin: -10px 19px 0 0;
    float: left;
}
.b-mp-section2__item a {
    border-bottom: 1px solid rgba(255,46,0,0.2);
    color:#ff2e00;
}
.b-mp-section2__item a:hover {
    border-bottom: 1px solid rgba(255,46,0,0.6);
}
.b-mp-section2__illustration {
    width: 590px;
    float: right;
}
.b-mp-section2__img-bg {
    background-image: url(/static/i/pic_browser.png);
    width: 514px;
    height: 285px;
    background-size: cover;
    position: relative;
}
.b-mp-section2__img {
    width: 478px;
    height: 239px;
    position: absolute;
    top: 39px;
    left: 26px;
}
.b-mp-section2__img-description {
    font-size: 18px;
    line-height: 20px;
    font-weight: 100;
    margin: 0 0 0px 13px;
}
.b-mp-section2__button {
    border: 1px solid #ff2e00;
    background-color: #fff;
    color: #ff2e00;
    font-size: 26px;
    line-height: 41px;
    font-weight: 100;
    text-align: center;
    letter-spacing: 1px;
    width: 276px;
    padding: 0px 0px 4px 0;
    margin: 75px auto 0 auto;
    display: block;
}








.b-sections {
    margin: 85px 0 0 0;
}
.b-sections__title {
    font-size: 37px;
    line-height: 44px;
    font-weight: 100;
}
.b-sections__items {
    margin: 37px 0 0 0;
    counter-reset: list 0
}
.b-sections__item {
    font-size: 24px;
    line-height: 26px;
    font-weight: 100;
    letter-spacing: 0.4px;
    width: 350px;
    margin: 0px 75px 43px 0;
    float: left;
}
.b-sections__item:hover {
    color: #ff2e00;;
}
.b-sections__item:nth-child(3n) {
    margin: 0px 0 43px 0;
}
.b-sections__item:before {
    /*counter-increment: list;
    content: counter(list);
    color: #aeb8b6;
    font-size: 50px;
    font-weight: 100;
    line-height: 50px;
    margin: -5px 15px 0 0;
    float: left;*/
}
.b-sections__item img {
    width: 40px;
    height: 40px;
    float: left;
    margin: 0 10px 27px 0;
}










.b-lessons {
    margin: 93px 0 0 0;
}
.b-lessons__title {

}
.b-lessons__h1 {
    font-size: 26px;
    font-weight: 100;
    letter-spacing: 0.2px;
    width: 70%;
    /*float: left;*/
}
.b-lessons__h1 span {
    border-bottom: 1px dotted rgba(0,0,0,0.2);
    cursor: pointer;
}
.b-lessons__h1:hover span {
    border-bottom: 1px dotted rgba(0,0,0,0.6);
}
.b-lessons__level-changer {
    float: right;
    width: 270px;
}
.b-lessons__level-items {
    margin: 0 0 0 170px;
    padding: 3px 0 0 0;
}
.b-lessons__level-item {
    font-size: 14px;
    letter-spacing: 0.6px;
    font-weight: 100;
    margin: 0 0 3px 0;
    padding: 2px 2px 2px 0;
    cursor: pointer;
	text-align:right;
}
.b-lessons__level-item span {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
.b-lessons__level-item:hover span {
    border-bottom: 1px solid rgba(0,0,0,0.4);
}
.b-lessons__level {
    margin: 11px 0 0 0;
    font-size: 14px;
    letter-spacing: 0.6px;
    font-weight: 100;
    cursor: pointer;
}
.b-lessons__items {
    margin: 37px 0 0 0;
    counter-reset: list 0
}
.b-lessons__item {
    font-size: 19px;
    line-height: 22px;
    font-weight: 100;
    letter-spacing: 0.4px;
    width: 360px;
    margin: 10px 60px 24px 0;
    float: left;
    
}
.b-lessons__item-wrapper {
    overflow: auto;
}
.b-lessons__item:nth-child(3n) {
    margin: 10px 0 24px 0;
}
.b-lessons__item:before {
    counter-increment: list;
    content: counter(list);
    color: #aeb8b6;
    font-size: 50px;
    font-weight: 100;
    line-height: 50px;
    margin: -5px 19px 20px 0;
    float: left;
}
.b-lessons__item-link {
    float: left;
    position: relative;
    width: 78%;
}
.b-lessons__item-link span {
    border-bottom: 1px solid rgba(0,0,0,0.2);
    position: relative;
    line-height: 24px;
}
.b-lessons__item-link div  {
    display: inline-block;
    position: relative;
}
.b-lessons__item-link.b-lessons__item_mark_2 div:after  {
    content:" ";
    background-image: url(/static/i/mark_2.svg);
    background-size: cover;
    background-position: center;
    width: 20px;
    height: 20px;
    position: absolute;
    right: -25px;
    top: -7px;
}
.b-lessons__item-link.b-lessons__item_mark_1 div:after {
    content:" ";
    background-image: url(/static/i/mark_1.svg);
    background-size: cover;
    background-position: center;
    width: 20px;
    height: 20px;
    position: absolute;
    right: -25px;
    top: -7px;
}
.b-lessons__item:hover .b-lessons__item-link span{
    border-bottom: 1px solid rgba(0,0,0,0.4);
}
.b-lessons__item-description {
    font-size: 14px;
    font-weight: 100;
    letter-spacing: 0.7px;
    margin: 1px 0 0px 1px;
    float: left;
    width: 150px;
}
.b-lessons__item-video-length {
    font-size: 14px;
    font-weight: 100;
    letter-spacing: 0.7px;
    margin: 1px 0 0px 1px;
    float: left;
}
.b-lesson__topic-changer {
    float: left;
    width: 800px;
}
.b-lesson__topic-changer-list {
    padding: 10px 0 0 0;
}
.b-lesson__topic-changer-list-item {
    display: inline-block;
    margin: 0 0 10px 0;
    padding: 5px 5px 5px 0;
    border-bottom: 1px dotted rgba(0,0,0,0.2);
}
.b-lesson__topic-changer-list-item:hover {
    border-bottom: 1px dotted rgba(0,0,0,0.6);
}














.b-lesson {
    margin: 93px 0 0 0;
}
.b-lesson__title {
    font-size: 24px;
    font-weight: 100;
    letter-spacing: 1.2px;
}
.b-lesson__title_mark_0 {
    
}
.b-lesson__title_mark_1 {
    position: relative;
}
.b-lesson__title_mark_2 {
    position: relative;
}
.b-lesson__title_mark_2:after {
    content: " ";
    background-image: url(/static/i/mark_2.svg);
    background-size: cover;
    background-position: center;
    width: 20px;
    height: 17px;
    position: absolute;
    right: -23px;
    /*top: 3px;*/
}
.b-lesson__title_mark_1:after {
    content:" ";
    background-image: url(/static/i/mark_1.svg);
    background-size: cover;
    background-position: center;
    width: 20px;
    height: 17px;
    position: absolute;
    right: -23px;
    /*top: 3px;*/
}
.b-lesson__other-lessons {
    margin: 20px 0 0 0;
    display: inline-block;
    font-size: 14px;
    font-weight: 100;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
.b-lesson__other-lessons:hover {
    border-bottom: 1px solid rgba(0,0,0,0.4);
}
.b-lesson__content {
    margin: 40px 0 0 0;
}
.b-lesson__main {
    width: 560px;
    min-height: 100px;
    float: left;
}
.b-lesson__material {
    width: 480px;
    height: 270px;
}
.b-lesson__video-player {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 4px;
}
video.b-lesson__video-player {
    object-fit: contain;
}
.b-lesson__video-unavailable {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 14px;
    border-radius: 4px;
}
.b-lesson__script-button {
    border: 1px solid #181920;
    background-color: #fff;
    margin: 36px 0 0 0;
    width: 179px;
    height: 46px;
    text-align: center;
    font-size: 27px;
    font-weight: 100;
    float: left;
    cursor: pointer;
}
.b-lesson__guide-button {
    float: left;
    border: 1px solid #ff2e00;
    color: #ff2e00;
    background-color: #fff;
    cursor: pointer;
    text-align: center;
    margin: 36px 0 0 39px;
    width: 259px;
    height: 44px;
    font-size: 24px;
    padding: 2px 0 0 0;
    font-weight: 100;
    letter-spacing: 1.2px;
}
.b-lesson__test {
    margin: 81px 0 0 0;
}
.b-lesson__test-title {
    font-size: 26px;
    line-height: 26px;
    font-weight: 100;
    letter-spacing: 0.3px;
}
.b-lesson__test-description {
    margin: 13px 0 0 0;
    font-size: 22px;
    font-weight: 100;
    letter-spacing: 0.13px;
}
.b-lesson__test-answers {
    margin: 12px 0 0 0;
}
.b-lesson__test-item {
    border: 1px solid #181920;
    background-color: #fff;
    min-width: 120px;
    max-width: 240px;
    min-height: 35px;
    word-wrap: break-word;
    margin: 0 28px 28px 0;
    float: left;
    text-align: center;
    font-size: 17px;
    font-weight: 100;
    padding: 5px;
    letter-spacing: 0.3px;
    cursor: pointer;
}
.b-lesson__test-item_wrong, .b-lesson__test-item_wrong:hover {
    background-color: #ff2e00 !important;
}
.b-lesson__test-item_success, .b-lesson__test-item_success:hover{
    background-color: lightgreen !important;
}
.b-lesson__aside {
    float: left;
    margin: 0px 0 0 137px;
    /*width: 186px;*/
    width: 240px;
    min-height: 270px;
}
.b-lesson__aside-title {
    font-size: 24px;
    font-weight: 100;
    letter-spacing: 1.2px;
    margin: 0 0 30px 0;
}
.b-lesson__example {
    margin: 0 0 28px 0;
}
.b-lesson__example-title {
    font-size: 19px;
    line-height: 27px;
    font-weight: 100;
    letter-spacing: 0.8px;
}
.b-lesson__example-text {
    font-size: 15px;
    line-height: 20px;
    margin: 2px 0 0 0;
    font-weight: 100;
    letter-spacing: 0.2px;
}
.b-lesson__example-text a {
 border-bottom: 1px solid rgba(0,0,0,0.2);
} 
.b-lesson__example-text a:hover {
 border-bottom: 1px solid rgba(0,0,0,0.6);
} 
.b-lesson-guide__langs {
    overflow: auto;
    margin: 40px 0 -24px 0;
}
.b-lesson-guide__langs-flag {
    width: 32px;
    height: 32px;
    float: left;
    cursor: pointer;
    margin: 1px;
}
.b-lesson-guide__langs-en_US {
    background-image: url(/static/i/flags/flags-iso/shiny/32/US.png);
}
.b-lesson-guide__langs-en_GB {
    background-image: url(/static/i/flags/flags-iso/shiny/32/GB.png);
}
.b-lesson-guide__langs-de_DE {
    background-image: url(/static/i/flags/flags-iso/shiny/32/DE.png);
}
.b-lesson-guide__langs-ru_RU {
    background-image: url(/static/i/flags/flags-iso/shiny/32/RU.png);
}












.b-page {
    margin: 48px 0 0 0;
}
.b-page__title {
    font-size: 24px;
    font-weight: 100;
    letter-spacing: 1.2px;
}










.b-achivements {
    margin: 20px 0 0 0;
}
.b-achivements__title {
    font-size: 20px;
    font-weight: 100;
}
.b-achivements__title a {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
.b-achivements__title a:hover{
    border-bottom: 1px solid rgba(0,0,0,0.6);
}
.b-achivements__title span {
    color:#ff2e00;
}
.b-achivements__list {
    font-weight: 100;
}
.b-achivements__item {
    margin: 10px 0;
    overflow: auto;
}
.b-achivements__item img {
    width: 32px;
    height: 32px;
    float: left;
}
.b-achivements__item span {
    display: block;
    float: left;
    margin: 4px 0 0px 0px;
}










.b-footer {
    margin: 60px 0 20px 0;
}
.b-footer__line {
    border-top: 1px solid rgba(0,0,0,0.2);
    padding: 20px 0 0 0;
}
.b-footer__left {
    float: left;
}
.b-footer__left-text {
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 0.4px;
}
.b-footer__social {
    float: right;
}
.b-footer__social-item {
    float: left;
    width: 25px;
    height: 25px;
    /* border: 1px solid rgba(0,0,0,0.2); */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 3px 0 0;
}
.b-footer__social-item:last-child {
    margin: 0;
}
.b-footer__social-item_type_vk,
.b-footer__social-item_type_tg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.b-footer__social-item_type_vk:hover,
.b-footer__social-item_type_tg:hover {
    opacity: 1;
}


.printer{
background: url('/static/i/printer.png');
width: 34px;
height: 34px;
}




.g-wrapper {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.g-clearfix:after {
    content: " ";
    clear: both;
    display: table;
}
.g-button {
    cursor: pointer;
    text-align: center;
}
.g-button:before {
    /*background: #181920;*/
    background: #ff2e00;
}
.g-button_color_red {
    border: 1px solid #ff2e00;
    color: #ff2e00;
}
.g-button_color_red:before {
    background: #ff2e00;
}
.g-button_color_black {
    border: 1px solid #181920;
    color: #000000;
}
.g-button_color_black:before {
    background: #181920;
}
.g-button:hover {
    color:white;
}
.g-button_hover_red:hover {
    background: #ff2e00;
}
.g-button_effect_bounce {
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    backface-visibility: hidden;
    position: relative;
    transition-property: color;
    transition-duration: 0.5s;
}
.g-button_effect_bounce:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition-property: transform;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}
.g-button:hover.g-button_effect_bounce:before {
    transform: scaleX(1);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
.g-button_effect_curl {
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    backface-visibility: hidden;
    position: relative;
    transition-duration: 0.3s;
    transition-property: border;
}
.g-button_effect_curl:hover {
    /*border: 1px solid rgba(255,255,255,0);*/
}
.g-button_effect_curl:after {
    pointer-events: none;
    position: absolute;
    content: '';
    height: 0;
    width: 0;
    top: -1px;
    right: -1px;
    background: linear-gradient(225deg, white 45%, #aaaaaa 50%, #cccccc 56%, white 80%);
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
    transition-duration: 0.3s;
    transition-property: width, height;
}
.g-button:hover.g-button_effect_curl:after {
    width: 25px;
    height: 25px;
}
.g-hidden {
    display: none;
}
.g-opacity-hidden {
    opacity: 0;
}
.g-markdown {

}
.g-markdown h1 {
    font-weight: 100;
    font-size: 24px;
}
.g-markdown h2 {
    font-weight: 400;
    font-size: 22px;
}
.g-markdown h3 {
    font-weight: bold;
    font-size: 20px;
}
.g-markdown h4 {
    font-weight: 600;
    font-size: 20px;
}
.g-markdown h5 {
    font-weight: 400;
    font-size: 20px;
}
.g-markdown p {
    margin: 10px 0;
}
.g-markdown a {
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
.g-markdown a:hover {
    border-bottom: 1px solid rgba(0,0,0,0.6);
}
.g-markdown em {
    font-style: italic;
}
.g-markdown strong {

}
.g-markdown code {

}
.g-markdown ul {
    margin: 10px 0 10px 20px;
}
.g-markdown ul li {
    list-style: disc outside;
}
.g-markdown ol {
    margin: 10px 0 10px 20px;
}
.g-markdown ol li {
    list-style: decimal outside;
}
.g-markdown pre {

}
.g-markdown hr {

}
.g-markdown table {

}
.g-markdown table thead {

}
.g-markdown table thead tr {

}
.g-markdown table thead tr th {
    border: 1px solid #000;
    padding: 5px;
}
.g-markdown table tbody {

}
.g-markdown table tbody tr {

}
.g-markdown table tbody tr td {
    border: 1px solid #000;
    padding: 5px;
}
.g-markdown table tr {

}
.g-markdown abbr {

}
/* ===== RESPONSIVE / MOBILE ===== */
@media screen and (max-width: 1024px) {
    .g-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .b-mp-section1__lets-try-block {
        width: 100%;
        float: none;
    }
    .b-mp-section1__lesson-examples {
        float: none;
        width: 100%;
        margin: 30px 0 0 0;
        position: relative;
    }
    .b-mp-section1__lesson-example {
        position: relative;
        width: 100%;
    }
    .b-mp-section2__list {
        width: 100%;
        float: none;
        padding: 0;
    }
    .b-mp-section2__item {
        width: 100%;
    }
    .b-mp-section2__illustration {
        width: 100%;
        float: none;
        margin: 30px 0 0 0;
    }
    .b-mp-section2__img-bg {
        width: 100%;
        max-width: 514px;
        height: auto;
        aspect-ratio: 514 / 285;
    }
    .b-mp-section2__img {
        width: 93%;
        height: auto;
        aspect-ratio: 478 / 239;
    }
}

@media screen and (max-width: 768px) {
    .b-header {
        margin: 20px 0 0 0;
    }
    .g-wrapper {
        padding: 0 15px;
    }
    .b-logo {
        width: auto;
        max-width: 220px;
    }
    .b-logo__text {
        font-size: 20px;
        line-height: 25px;
        width: auto;
        margin: -4px 0 0 12px;
    }
    .b-user-bar {
        float: right;
        margin: 5px 0 0 0;
    }
    .b-user-bar__signin {
        padding: 6px 12px;
        font-size: 14px;
    }
    .b-mainpage__section1 {
        padding: 13px 0 20px 0;
    }
    .b-mp-section1__lets-try-block-title {
        font-size: 24px;
        line-height: 32px;
    }
    .b-mp-section1__lets-try-block-button {
        width: 100%;
        max-width: 316px;
        font-size: 20px;
    }
    .b-mainpage__section2 {
        margin-top: 60px;
        margin-bottom: 40px;
    }
    .b-mp-section2__title {
        font-size: 24px;
    }
    .b-lesson__video {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .b-lesson__script-button,
    .b-lesson__guide-button {
        width: 48%;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .g-wrapper {
        padding: 0 10px;
    }
    .b-header {
        margin: 10px 0 0 0;
    }
    .b-logo__text {
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 1px;
    }
    .b-mp-section1__lets-try-block-title {
        font-size: 20px;
        line-height: 28px;
    }
    .b-mp-section1__lets-try-block-button {
        font-size: 18px;
        line-height: 36px;
    }
    .b-lesson__script-button,
    .b-lesson__guide-button {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-top: 15px;
    }
    .b-lesson__example {
        flex: 1 1 100%;
    }
    .b-lesson__title {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
    .b-lessons__item:before {
        font-size: 36px;
        line-height: 36px;
    }
}


/* Fix lesson buttons overflow on small screens */
@media screen and (max-width: 540px) {
    .b-lesson__script-button,
    .b-lesson__guide-button {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-top: 10px;
        font-size: 16px;
        text-align: center;
        box-sizing: border-box;
    }
}

/* Fix quiz answer buttons on mobile */
@media screen and (max-width: 540px) {
    .b-lesson__test-answers > div {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        overflow: visible !important;
    }
    .b-lesson__test-item {
        float: none !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 100%;
        margin: 0 !important;
    }
}

/* Mobile: fix hero section gap */
@media screen and (max-width: 768px) {
    .b-mp-section1__lesson-examples {
        float: none;
        width: 100%;
        position: relative;
        margin: 20px 0 0 0;
    }
    .b-mp-section1__lesson-example {
        position: relative;
        width: 100%;
    }
    .b-mp-section1__lesson-example-img {
        width: 100px;
        height: 133px;
    }
    .b-mp-section1__lesson-example-text {
        width: calc(100% - 140px);
    }
}

/* Mobile: lesson page layout */
@media screen and (max-width: 768px) {
    .b-lesson__main {
        width: 100%;
        float: none;
    }
    .b-lesson__material {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .b-lesson__aside {
        float: none;
        width: 100%;
        margin: 30px 0 0 0;
    }
    .b-lessons__item {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    .b-lessons__level-changer {
        float: none;
        width: 100%;
        margin-top: 15px;
    }
    .b-lessons__h1 {
        width: 100%;
    }
}

/* Matryoshka heartbeat animation */
.b-logo__img {
    animation: heartbeat 2s ease-in-out infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.08); }
    28% { transform: scale(1); }
    42% { transform: scale(1.05); }
    56% { transform: scale(1); }
}

/* Mobile: illustration fix */
@media screen and (max-width: 768px) {
    .b-mp-section2__illustration {
        width: 100%;
        float: none;
        margin: 20px 0 0 0;
    }
    .b-mp-section2__img-bg {
        width: 100%;
        max-width: 514px;
        height: auto;
        aspect-ratio: 514 / 285;
        background-size: cover;
    }
    .b-mp-section2__img {
        width: 93%;
        height: auto;
        aspect-ratio: 478 / 239;
        top: 13.5%;
        left: 5%;
    }
    .b-mp-section2__img-description {
        font-size: 15px;
        line-height: 18px;
    }
}
