/*
Theme Name: Liulingo
Text Domain: https://liulingo.com/
Author: Bogdan Shmarov
Author URI: https://liulingo.com/
*/

:root {
    --c-white: #fff;
    --c-blue: #4176ff;
    --c-dark-blue: #153862;
    --c-yellow: #FEDB6A;
    --c-grey: #ecf2f6;
    --c-dark-grey: #333;
    --c-dark: #27272E;
    --c-ligh-gray: #F4F4F4;
    --c-pink: #f9b9c5;
    font-size: .75em;
}
* {
    box-sizing: border-box;
}
html {
    height: 100%;
}
.scrollLock {
    overflow-y: scroll;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}
html, body {
    min-height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.3;
    color: var(--c-dark-grey);
}
main {
    flex: 1;
}
body.scroll-lock {
    overflow: hidden;
}
.front-page,
.exam-page,
.essay-php,
.landing-page {
    overflow: hidden;
}
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}
input,
textarea {
    width: 100%;
    border: unset;
    box-shadow: 0 0 6px rgb(0,0,0,.06);
    font-size: 16px;
    color: #333;
    padding: 14px 10px;
    min-height: 45px;
    border-radius: 0;
    background: #fff;
    border: 1px solid #cfcfcf7d;
}
input:focus,
textarea:focus {
    outline: unset;
}
::-webkit-input-placeholder {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    opacity: 0.5;
}
::-moz-placeholder {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    opacity: 0.5;
}
:-ms-input-placeholder {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    opacity: 0.5;
}
::-ms-input-placeholder {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    opacity: 0.5;
}
input::placeholder {
    color: #444;
    font-weight: 400;
}
p {
    margin: 0;
}
p:not([class]):not(:last-child) {
    margin-bottom: .6rem;
}
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    line-height: 1;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h5 {
    font-weight: bold;
}
img {
    max-width: 100%;
    height: auto;
}
::placeholder {
    font-size: 16px;
}
a {
    color: #777;
    text-decoration: none;
}
a:active {
    color: #ccc;
}
ul, ol {
    padding: 0;
    margin: 0;
}
li {
    padding: 0;
    margin: 0;
    list-style: none;
}
/* Classes
   LN - prefix for Liulingo;
*/
.ll-pos-r {
    position: relative;
}
.ll-t-center {
    text-align: center;
}
.ll-t-left {
    text-align: left;
}
.ll-d-flex {
    display: flex;
    flex-wrap: wrap;
}
.ll-jc-c {
    justify-content: center;
}
.ll-jc-sb {
    justify-content: space-between;
}
.ll-ai-c {
    align-items: center;
}
.ll-ai-fs {
    align-items: flex-start;
}
.ll-ai-fe {
    align-items: flex-end;
}
.ll-lh-1 {
    line-height: 1;
}
.ll-lh-16 {
    line-height: 1.6;
}
.ll-mb-16 {
    margin-bottom: 16px;
}
.ll-mb-40 {
    margin-bottom: 2.5rem;
}
.ll-mb-56 {
    margin-bottom: 3.5rem;
}
.ll-mt-16 {
    margin-top: 1rem;
}
.ll-mt-36 {
    margin-top: 2rem;
}
.ll-mt-56 {
    margin-top: 3.5rem;
}
.ll-gap-20 {
    gap: 1.25rem;
}
.ll-ws-pl {
    white-space: pre-line;
}
.ll-w100 {
    width: 100%;
}
/* Classes */
.section,
section {
    padding: 30px 0;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    transition: all .4s ease-in;
}
header.active {
    background-color: var(--c-white);
}
.header-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.burger-menu,
.image-scale-popup-close {
    display: block;
    cursor: pointer;
    user-select: none;
    width: 40px;
    position: relative;
    z-index: 5;
    padding: 8px;
}
.burger-menu span,
.image-scale-popup-close span {
    display: block;
    height: 2px;
    background: var(--c-dark-grey);
    margin-bottom: 5px;
    transition: all .35s;
}
.burger-menu.--active span {
    background-color: var(--c-white);
}
.burger-menu.--active .mobile-btn-top,
.image-scale-popup-close__top {
    transform: translateY(9px) translateX(0) rotate(45deg);
}
.burger-menu.--active .mobile-btn-middle {
    opacity: 0;
}
.burger-menu.--active .mobile-btn-bottom,
.image-scale-popup-close__bottom {
    transform: translateY(-5px) translateX(0) rotate(-45deg);
}
.container {
    /*max-width: 1260px;*/
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}
.container--fluid {
    max-width: 100%;
}
.header-menu .buttons {
    display: flex;
    align-items: center;
}
header .logo {
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 0;
    color: #fff;
}
header .logo img {
    display: inline-block;
    height: 36px;
    width: auto;
}

.menu-item-has-children > a:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: 6px;
    width: 10px;
    background: url('/wp-content/uploads/2023/08/arrow-down-icon-gray.svg') no-repeat center / cover;
}
.menu-item-has-children:hover > a:after {
    transform: rotate(180deg) translateY(4px);
}
.column-menu a:hover {
    border-color: inherit;
}
/* Component */
.button {
    display: inline-block;
    font-size: 18px;
    background: #4176ff;
    padding: 16px 26px;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color .3s ease-in;
}
.button:hover {
    background-color: #3161dd;
}
.button--sm {
    padding: 9px 20px;
    text-transform: lowercase;
}
.button--transparent {
    border-color: var(--c-dark-blue);
    color: var(--c-dark-blue);
    background-color: transparent;
}
.button--transparent:hover {
    box-shadow: 0 4px 10px rgba(21,56,98,.3);
}
.button--blue {
    border-color: var(--c-dark-blue);
    color: var(--c-dark-blue);
}
.button--blue:hover {
    box-shadow: 0 4px 20px rgba(21,56,98,.3);
}
.button--pink {
    background-color: #f9b9c5;
}
.button--pink:hover {
    background-color: #ea9baa;
}
.button-text {
    padding: 12px 46px;
}
.button-arrow {
    display: flex;
    align-self: stretch;
    background-color: var(--c-white);
    padding: 14px 20px;
    line-height: 1;
    border-radius: 0 12px 12px 0;
}
.title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    font-weight: 700;
}
/* Component */
.benefits {
    position: relative;
    z-index: 1;
}
.benefits-item__image {
    width: auto;
    height: 66px;
    object-fit: contain;
}
.benefits-item__title {
    font-size: 1.6rem;
    margin: .9rem 0 1.2rem;
    font-weight: 700;
}
.benefits-item__text {
    font-size: 1.1rem;
    color: #ffffff7a;
}
.benefits .circle,
.benefits .line {
    z-index: -1;
}
.benefits .circle.border {
    top: 0;
    left: 300px;
    margin-top: 20px;
    max-width: 458px;
    width: 100%;
    border: 1px solid #eeeeee1c;
}
.benefits .circle-md {
    top: 148px;
    right: 156px;
    max-width: 258px;
    width: 100%;
    background-color: rgba(238,238,238,.17);
}
.benefits .circle-sm {
    bottom: 40px;
    left: 144px;
    max-width: 120px;
    width: 100%;
    background-color: rgba(238,238,238,.17);
}
div.benefits .line {
    position: absolute;
    top: 187px;
    left: 360px;
    width: 1px;
    height: 381px;
    background-color: rgba(238, 238, 238, .11);
    transform: rotate( 53deg );
    z-index: -2;
}
.page-404-php {
    text-align: center;
    padding-top: 50px;
}
div.first-screen {
    padding: 100px 0 70px;
    position: relative;
    z-index: 2;
    /*min-height: 100vh;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*flex-wrap: wrap;*/
}
.first-screen .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    row-gap: 40px;
    column-gap: 40px;
}
.first-screen .title .circle-lg {
    left: 40%;
    background: #ecf2f6;
    transform: translate(15%, -45%);
    z-index: -1;
}
.first-screen-form {
    width: 100%;
}
.first-screen .row .text-block {
    width: 100%;
    position: relative;
    z-index: 0;
}
.first-screen .title {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    color: #333;
}
.first-screen .text-tooltip {
    position: relative;
    font-size: 24px;
    z-index: 1;
    background-color: #4176ff91;
    color: #fff;
    border-radius: 6px;
    padding: 10px 13px;
    margin: 0 auto 20px;
    width: fit-content;
    max-width: 275px;
}
.first-screen .content-block {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.first-screen .text-content {
    position: relative;
    z-index: 1;
    min-width: 260px;
}
.first-screen .row .text {
    max-width: calc(100% - 15px);
    position: relative;
    z-index: 1;
}
.first-screen__man {
    position: relative;
    z-index: 1;
}
.circle {
    position: absolute;
    display: block;
    width: 100%;
    border-radius: 50%;
}
.circle:after {
    content: '';
    display: block;
    padding-top: 100%;
}
.first-screen .title .circle-sm {
    top: -48px;
    left: -54px;
    width: 120px;
    background: #fedb6a;
    border-radius: 50%;
    z-index: -1;
}
.first-screen .text__circle-lg {
    width: 125%;
    left: 10px;
    top: 145px;
    background: #4176FF;
}
.first-screen .text__circle-md {
    bottom: -95px;
    left: -57%;
    width: 127px;
    background: #fedb6a;
    border-radius: 50%;
    z-index: 1;
}
.first-screen .text__circle-sm {
    bottom: 41px;
    right: -50px;
    width: 80px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    z-index: 1;
}
.first-screen .text__circle-xs {
    bottom: -75px;
    right: 145px;
    width: 50px;
    background: rgba(255,255,255,.7);
    border-radius: 50%;
    z-index: 1;
}
.benefits {
    background-color: var(--c-dark);
    color: var(--c-white);
}
.benefits-title {
    font-size: 3.125rem;
    margin-bottom: 60px;
    text-align: right;
}
.slider-course .glide__slide {
    height: auto;
}
.slider-course__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 36px 10px;
    background: #DCF8FF;
    border-radius: 24px;
}
.slider-course__icon-wrap {
    width: 100%;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    background: #F9B9C5;
    border-radius: 50%;
    position: relative;
}
.slider-course__icon-wrap::after {
    content: '';
    display: block;
    padding-top: 100%;
}
.slider-course__image {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.slider-course__text-content {
    padding: 30px 34px;
    background: #fff;
    border-radius: 24px;
    margin-top: 24px;
    flex: 100%;
}
.slider-course__title {
    color: var(--c-dark-grey);
    font-weight: 500;
    font-size: 1.8em;
    margin-bottom: .6rem;
}
.slider-course__text {
    font-size: 16px;
    line-height: 1.6;
    color: #999FAE;
}

.single-php-section {
    margin-top: 40px;
}
.single-php-section h1,
.single-php-section h2,
.single-php-section h3,
.single-php-section h3 {
    margin: revert;
}
.single-php-section .post-image {
    border-radius: 15px;
}
.single-php__container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
}
.sidebar-single {
    background-color: var(--c-white);
    padding: 20px;
    width: 100%;
    box-shadow: 0 0 6px rgba(0,0,0,.15);
    border-radius: 15px;
    text-align: center;
}
.sidebar-single__bulb {
    max-width: 80px;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-25%);
    transition: .3s width ease-in-out, .3s top ease-in-out;
}
.sidebar-single__arrow {
    position: absolute;
    top: -35px;
    right: -54px;
    width: 85px;
    rotate: 58deg;
    animation: arrow-animation 4s ease infinite;
    transition: .3s width ease-in-out, .3s top ease-in-out, .3s right ease-in-out, .3s rotate ease-in-out;
}
.sidebar-scroll .sidebar-single__arrow {
    top: -6px;
    right: -47px;
    width: 71px;
    rotate: 75deg;
}
.sidebar-single__title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 0.6rem;
}
.sidebar-single__lists {
    margin-bottom: 20px;
}
.sidebar-single__list {
    position: relative;
}
.sidebar-single__list::after,
.sidebar-single__list:nth-child(5n):after {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #F9B9C5;
}
.sidebar-single__list:nth-child(2n):after,
.sidebar-single__list:nth-child(6n):after {
    background-color: #4176FF;
}
.sidebar-single__list:nth-child(3n):after {
    background-color: #ffe141;
}
.sidebar-single__list:nth-child(4n):after,
.sidebar-single__list:nth-child(7n):after  {
    background-color: #8479ba;
}
.sidebar-single__list {
    margin-bottom: 0.2rem;
    font-size: 14px;
}
.single-php-section .single-post-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 16px 0 16px;
}
.single-content__inner {
    background-color: var(--c-white);
    padding: 40px;
    box-shadow: 0 0 6px rgba(0,0,0,.15);
    border-radius: 15px;
}
.course {
    position: relative;
    z-index: 1;
}
.course .circle-lg {
    position: absolute;
    top: -1%;
    right: -14%;
    height: 500px;
    width: 500px;
    background: #f9b9c5;
    border-radius: 50%;
    z-index: -1;
}
.course .glide__arrows,
.banner .glide__arrows,
.benefits .glide__arrows,
.banner-test-english .glide__arrows {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 14px;
}
.course-button {
    margin-top: 30px;
}
.course .glide__arrow--left,
.banner .glide__arrow--left,
.benefits  .glide__arrow--left,
.banner-test-english  .glide__arrow--left,
.course .glide__arrow--right,
.banner .glide__arrow--right,
.benefits  .glide__arrow--right,
.banner-test-english  .glide__arrow--right {
    position: static;
    background: #f9b9c5;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    padding: 6px;
    padding-bottom: 2px;
    transition: background-color .4s ease-in;
    transform: unset;
}
.banner .glide__arrow--left,
.banner-test-english  .glide__arrow--left,
.banner .glide__arrow--right,
.banner-test-english .glide__arrow--right {
    background-color: var(--c-blue);
}
.benefits .glide__arrow--left,
.benefits .glide__arrow--right {
    background-color: #bfbfc3;
}
.teacher-trial-info .circle-lg {
    position: absolute;
    right: -47%;
    left: unset;
    width: 300px;
    height: 301px;
    top: -9px;
    background-color: var(--c-blue);
    z-index: -1;
}
.teacher-trial-info .circle-md {
    position: absolute;
    top: 66%;
    left: 43%;
    width: 100px;
    height: 100px;
    background-color: var(--c-blue);
    z-index: -1;
}
.teacher-teachers-info .circle-lg {
    position: absolute;
    top: 71%;
    right: 9%;
    width: 170px;
    height: 170px;
    background-color: #f9b9c5;
    z-index: -1;
}
.teacher-class-duration-info .circle-md {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 85px;
    height: 85px;
    background-color: #ffdfa0;
    z-index: -1;
}
.teacher-class-duration-info .circle-sm {
    position: absolute;
    bottom: -5%;
    left: 27%;
    width: 60px;
    height: 60px;
    background-color: #ffdfa0;
    z-index: -1;
}

.teacher-trial-info,
.teacher-teachers-info,
.teacher-class-duration-info {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}
.teacher-online {
    position: relative;
    z-index: 1;
    /*overflow: hidden;*/
}
.teacher-online__container {
    max-width: 1200px;
}
.teacher-online__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.teacher-online__text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 460px;
}
.teacher-trial-info__text-content,
.teacher-trial-info__image,
.teacher-teachers-info-slider,
.teacher-teachers-info__text-content,
.teacher-class-duration-info__image,
.teacher-class-duration-info__text-content{
    width: 100%;
}
.teacher-teachers-info-slider__item {
    background-color: var(--c-white);
    border-radius: 14px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    /*margin: 34px 0;*/
    transition: all .3s ease-in-out;
    box-shadow: 0 0 6px rgba(0,0,0,.15);
}
.teacher-online .glide__slide .teacher-teachers-info-slider__item {
    transform: scale(.9);
    height: 100%;
}
.teacher-online .glide__slide {
    transition: .3s ease-in-out all;
    height: auto;
    padding: 34px 0;
}
.teacher-online .glide__slide--active {
    position: relative;
    z-index: 1;
}
.teacher-teachers-info-slider__image {
    max-width: 100%;
    aspect-ratio: 1/ 1;
    border-radius: 50%;
    object-fit: cover;
}
.teacher-teachers-info-slider__title {
    color: var(--c-blue);
    font-weight: 700;
}
.teacher-teachers-info-slider__text-content {
    font-size: 14px;
}
.teacher-teachers-info-slider__experience {
    margin: 8px 0 6px;
}
.teacher-teachers-info-slider__experience,
.teacher-teachers-info-slider__educate {
    color: var(--c-dark);
}
.teacher-teachers-info-slider__educate {
    font-size: 14px;
}
.teacher-class-duration-blocks {
    text-align: center;
    width: 100%;
}
.teacher-class-duration-blocks__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 25px;
    background-color: #dcf8ff;
    gap: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}
.teacher-class-duration-block-item {
    width: 100%;
    padding: 16px 10px;
    background-color: var(--c-white);
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,.15);
    text-align: center;
}
.teacher-class-duration-block-item:nth-child(3n) {
    background-color: #93c9fa;
    color: var(--c-white);
}
.teacher-class-duration-block-item__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
}
.teacher-class-duration-block-item__text ul,
.teacher-class-duration-block-item__text ol {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.teacher-class-duration-block-item__text li {
    position: relative;
    margin-bottom: 0.2rem;
    font-size: 14px;
    padding-left: 14px;
    width: fit-content;
}
.teacher-class-duration-block-item__text li::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #4176FF;
}
.teacher-class-duration-block-item__text li:nth-child(even)::after {
    background-color: #F9B9C5;
}
.teacher-class-duration-block-item__price {
    margin: 12px 0 10px;
    font-weight: 600;
    color: var(--c-pink);
}
.teacher-class-duration-block-item__under-price {
    font-size: 14px;
    color: #6b6b6b;
}
.button-post-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}
.button-post-row a:not(.button) {
    color: var(--c-blue);
    font-size: 18px;
}
.button-post-row .prev,
.button-post-row .next {
    position: relative;
}
.button-post-row .prev:before {
    content: url('/wp-content/uploads/2023/08/left-arrow.svg');
    padding-right: 6px;
    display: inline-block;
    width: 18px;
    transform: translateY(3px);
}
.button-post-row .next:after {
    content: url('/wp-content/uploads/2023/08/left-arrow.svg');
    padding-right: 6px;
    display: inline-block;
    transform: rotate(180deg) translateY(3px);
    width: 18px;
}
.video {
    position: relative;
    background-color: var(--c-grey);
    z-index: 1;
}
.video__title,
.video__subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--c-dark-grey);
}
.video-item__video {
    object-fit: cover;
    object-position: top center;
    width: 100%;
    height: 400px;
    border-radius: 25px;
}
.video__title {
    text-align: left;
}
.video__text {
    max-width: calc(50% - 40px);
    line-height: 1.6;
    font-size: 18px;
    margin-bottom: 40px;
}
.video .circle-md {
    width: 200px;
    bottom: -65px;
    right: -135px;
    background: #4176FF;
    border-radius: 50%;
    z-index: -1;
}
.video .circle-lg {
    width: 100%;
    background: rgba(108,141,255,.08);
    z-index: -2;
    max-width: 600px;
    top: 7%;
    left: -13%;
}
.video .glide__slide {
    filter: blur(1px);
    opacity: 0.8;
    transform: scale3d(0.85, 0.85, 1);
    transition: all 0.2s linear;
}
.slider-video {
    width: 100%;
    margin: 0 auto;
}
.video .glide__arrow {
    background: #f9b9c5;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    padding: 6px;
    padding-bottom: 2px;
    transition: background-color .4s ease-in;
}
.video .glide__arrow--left {
    left: -1.5rem;
}
.video .glide__arrow--right {
    right: -1.5rem;
}
.video .glide__slide--previous {
    transform: translate3d(76%, 0px, 0px) scale3d(0.85, 0.85, 1);
    transform-style: preserve-3d;
}
.video .glide__slide--following {
    transform: translate3d(-76%, 0px, 0px) scale3d(0.85, 0.85, 1);
    transform-style: preserve-3d;
}
.video .glide__slide--active {
    opacity: 1;
    filter: none;
    transform: scale(1);
    z-index: 1;
}
.single-teachers-php {
    overflow: hidden;
}
.single-teachers-php .circle {
    z-index: -1;
}
div.single-teachers-hero {
    position: relative;
    margin-top: 24px;
    padding-bottom: 40px;
}
.single-teachers-hero .circle-md {
    content: "";
    width: 600px;
    right: -15%;
    top: -45px;
    background: #dce1f8;
    border-radius: 50%;
    z-index: -1;
}
.single-teachers-hero .circle-xs {
    top: 49px;
    left: -23px;
    width: 118px;
    background: #fedb6a;
    border-radius: 50%;
    z-index: -1;
}
.single-teachers-hero__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
    padding: 30px 25px;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    background: #ecf2f678;
}
.single-teachers-content__wrap {
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    margin-bottom: 30px;
    line-height: 1.6;
    background: var(--c-blue);
    color: #fff;
}
.single-teachers-content__wrap li {
    position: relative;
    margin-bottom: 0.2rem;
    font-size: 14px;
}
.single-teachers-content__wrap ul {
    margin-top: 20px;
    margin-left: 10px;
}
.single-teachers-content__wrap li {
    padding-left: 24px;
}
.single-teachers-content__wrap li:not(:last-child) {
    margin-bottom: .4rem;
}
.single-teachers-content__wrap li::after {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #F9B9C5;
}
.single-teachers-content__wrap li:nth-child(2n):after {
    background-color: #dce1f8;
}
.single-teachers-hero__video {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}
.single-teachers-hero__title {
    font-size: 2.5rem;
    display: inline-block;
    font-weight: 700;
    border-bottom: 8px solid #5a5a5d;
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.single-teachers-hero__text-content {
    width: 100%;
    color: #5a5a5d;
}
.single-teachers-hero-info {
    font-size: 18px;
    line-height: 1.6;
}
.single-teachers-hero-info:not(:last-child) {
    margin-bottom: .8rem;
}
.single-teachers-hero-certificate {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}
.scale-popup-image {
    cursor: pointer;
    transition: .3s ease-in-out transform;
}
.scale-popup-image:hover {
    transform: scale(1.05);
}
.single-teachers-hero-certificate__image {
    height: 120px;
    width: auto;
    object-fit: cover;
}
.image-scale-popup-wrap {
    position: relative;
    cursor: pointer;
}
.image-scale-popup {
    justify-content: center;
    align-items: center;
    display: none;
    opacity: 0;
    position: fixed;
    overflow: hidden;
    padding: 50px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: #222;
    background-color: rgba(0,0,0,.8);
    transition: opacity .3s ease;
}
.image-scale-popup.--show {
    display: flex;
    opacity: 1;
}
.image-scale-popup-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('/wp-content/uploads/2023/07/magnifying-search-lenses-tool.svg') no-repeat center / cover;
    width: 28px;
    height: 28px;
    opacity: .4;
    transition: transform .3s ease-in-out, opacity .3s ease-in-out;
}
.image-scale-popup-wrap:hover:after {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
}
.image-scale-popup-close {
    height: 40px;
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 50px;
    background: #bababa26;
}
.image-scale-popup-close span {
    background: var(--c-white);
}
.image-scale-popup-close__bottom {
    transform: translateY(4px) translateX(0) rotate(-45deg);
}
.image-scale-popup-close__top {
    transform: translateY(11px) translateX(0) rotate(45deg);
}
.banner-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    color: var(--c-white);
}
.banner__content {
    text-align: center;
    width: 100%;
}
.banner__form {
    width: 100%;
    background-color: #eee;
}
.banner-title {
    font-size: 3rem;
}
.banner-text {
    font-size: 20px;
    line-height: 1.6;
    margin: 1rem 0 3rem;
    color: #ffffffb3;
}
.banner-wrap {
    background-color: var(--c-pink);
    padding: 30px 25px;
    border-radius: 60px;
}
.banner-slider {
    height: 100%;
}
.banner-item__image {
    aspect-ratio: 1.4 / 1;
}
.banner-test-english__wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    z-index: 1;
    background: var(--c-yellow);
    padding: 60px 34px;
    border-radius: 60px;
}
.banner-test-english .button {
    margin-top: 26px;
}
.banner-test-english__title {
    margin-bottom: 18px;
}
.banner-test-english__text {
    font-size: 22px;
    line-height: 1.6;
}
.banner-test-english__text-content {
    width: 100%;
}
.banner-test-english__slider {
    width: 100%;
}
.banner-test-english__title {
    text-align: left;
}
.banner-test-english-slide__header {
    background-color: var(--c-blue);
    padding: 10px 15px;
    color: var(--c-white);
    text-align: center;
}
.banner-test-english-slide__text {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    flex: auto;
}
.banner-test-english-slide__title {
    font-size: 70px;
}
.banner-test-english-slide__subtitle {
    color: #ffffffa8;
}
.banner-test-english-slide__text li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}
.banner-test-english-slide__text li::after {
    content: "";
    position: absolute;
    background: url('http://liulingo-test.writemyessayfor.me/wp-content/uploads/2023/07/check-mark.svg') no-repeat center / cover;
    width: 14px;
    height: 14px;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
}
.banner-test-english-slide__text li:not(:last-child) {
    margin-bottom: .8rem;
}
.banner-test-english .glide__slide {
    height: auto;
    padding: 12px 4px;
}
.banner-test-english-slide__inner {
    height: 100%;
    box-shadow: 0 0 8px rgba(0,0,0,.15);
    background-color: var(--c-white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.banner-test-english {
    position: relative;
    z-index: 1;
}
.banner-test-english .circle-md {
    max-width: 400px;
    width: 100%;
    background: #ecf2f6;
    left: -14%;
    bottom: -8%;
}
.banner-test-english .circle {
    z-index: -1;
}
.banner-test-english .circle-blue-top {
    top: -50px;
    right: 20%;
    max-width: 100px;
    width: 100%;
    background: #4176ff;
}
.banner-test-english .circle-pink-top {
    top: 50px;
    right: 41%;
    max-width: 34px;
    width: 100%;
    background: #8aa8f5;
}
.banner-test-english .circle-pink-left {
    top: 67px;
    left: 26px;
    max-width: 37px;
    width: 100%;
    background: #fd94a7;
}
.banner-test-english .circle-light-blue-top {
    top: 224px;
    right: 18%;
    max-width: 65px;
    width: 100%;
    background: #fd94a7;
}
.banner-test-english .circle-pink-bottom {
    bottom: -15px;
    left: 18%;
    max-width: 50px;
    width: 100%;
    background: pink;
}
.banner-test-english .circle-blue-bottom {
    bottom: 90px;
    left: 40%;
    max-width: 30px;
    width: 100%;
    background: #8aa8f5;
    z-index: 1;
}
.banner-test-english .circle-pink-bottom-right {
    bottom: 30px;
    right: 18%;
    max-width: 70px;
    width: 100%;
    background: #4176ff;
    z-index: 1;
}

.steps-learn-english {
    position: relative;
}
.steps-learn-english .circle-lg {
    top: -21%;
    left: 21%;
    max-width: calc(100% + 300px);
    width: 100%;
    background: rgba(108,141,255,.08);
    z-index: -1;
}
.steps-learn-english__title {
    text-align: left;
    color: var(--c-blue);
    white-space: pre-line;
    margin-bottom: 3.4rem;
    font-size: 3.4rem;
}
.steps-learn-english__row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.steps-learn-english-lists {
    width: 100%;
}
.steps-learn-english-image {
    width: 100%;
}
.steps-learn-english-list {
    display: flex;
    gap: 24px;
}
.steps-learn-english__image {
    padding: 0 50px;
}
.steps-learn-english-list:not(:last-child) {
    margin-bottom: 2.4rem;
}
.steps-learn-english-lists__num {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--c-white);
    background: #ffdfa0;
    border-radius: 50%;
}
.steps-learn-english-list:nth-of-type(2) .steps-learn-english-lists__num  {
    background: #f9b9c5;
}
.steps-learn-english-list:nth-of-type(3) .steps-learn-english-lists__num  {
    background: #92c9fa;
}
.steps-learn-english-list:nth-of-type(4) .steps-learn-english-lists__num  {
    background: #fedb6a;
}
.steps-learn-english-lists__title {
    font-size: 28px;
    color: var(--c-dark-grey);
    font-weight: 400;
}
.steps-learn-english__button {
    margin-top: 30px;
}
.steps-learn-english-lists__text {
    line-height: 1.6;
    margin-top: .5rem;
    max-width: 428px;
    font-size: 1.2rem;
}
.faq {
    position: relative;
    z-index: 1;
}
.faq__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.faq-image-block {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex: 1;
    margin-right: 50px;
    align-items: flex-start;
}
.faq-tab {
    max-width: 650px;
    width: 100%;
}
.faq-tab-item {
    background: #ECF2F6;
    cursor: pointer;
    margin: 12px 0;
    border: 0.5px solid #dedede;
    border-radius: 6px;
    padding: 2px;
    font-size: 18px;
}
.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #33363E;
    padding: 20px 12px 20px 14px;
    border-radius: inherit;
}
.faq-header h3 {
    font-weight: 400;
}
.tab-indicator {
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 24px;
    flex-shrink: 0;
    border-radius: 2px;
}
.faq-tab-item.--show .tab-indicator::before,
.faq-tab-item:hover .tab-indicator::before,
.faq-tab-item:hover .tab-indicator::after {
    background: var(--c-white);
}
.tab-indicator::before,
.tab-indicator::after {
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #33363E;
}
.tab-indicator::before {
    width: 80%;
    height: 2px;
}
.tab-indicator::after {
    width: 2px;
    height: 80%;
}
.faq-body {
    color: #525660;
    display: none;
    padding: 24px 36px 24px 14px
}
.faq-tab-item.--show .faq-body {
    display: block;
}

.faq-tab-item.--show .faq-header,
.faq-tab-item:hover .faq-header {
    background: var(--c-blue);
    color: var(--c-white);
}
.faq-image__md {
    position: absolute;
    left: 20%;
    width: 112px;
    height: auto;
    bottom: 0;
    object-fit: cover;
}
.faq-image__sm {
    position: absolute;
    width: 45px;
    height: 72px;
    left: 20%;
    object-fit: cover;
    bottom: 225px;
}
.faq-image-block__image {
    position: relative;
    max-width: 200px;
    width: 100%;
    margin-left: auto;
    height: auto;
    flex: 1;
    min-width: 180px;
}
.blog-section__title {
    margin-bottom: 3rem;
}
.slider-blog .glide__slide {
    height: auto;
}
.slider-blog-item {
    height: 100%;
}
.slider-blog-item__title {
    font-size: 20px;
    color: var(--c-dark-grey);
    margin: 26px 0 10px;
    font-weight: 700;
}
.slider-blog-item__text {
    font-size: 18px;
    margin: 20px 0 10px;
    flex: 100%;
    max-height: 121px;
    overflow: hidden;
}
.slider-blog-item__read-more {
    font-size: 22px;
    color: var(--c-blue);
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
}
.slider-blog-item__image {
    aspect-ratio: 1 / .66;
    object-fit: cover;
    object-position: top left;
    border-radius: 10px;
    width: 100%;
    height: auto;
}
.slider-blog .glide__arrow--left,
.slider-blog .glide__arrow--right {
    position: static;
    background: #bfbfc3;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    padding: 6px;
    padding-bottom: 2px;
    transform: unset;
    transition: background-color .4s ease-in;
}
.slider-blog .glide__arrows {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

/* Bitrix Form */
.first-screen-form .b24-form-wrapper.b24-form-border-bottom {
    border: unset;
    background: transparent;
    box-shadow: 0 0 8px rgba(0,0,0,.15);
}
.first-screen .b24-form-padding-side {
    padding-left: 22px;
    padding-right: 22px;
}
.first-screen-form .b24-form-sign,
.banner-wrap .b24-form-sign {
    display: none;
}
.banner-wrap  .b24-form-wrapper.b24-form-border-bottom {
    border: unset;
}
.first-screen-form .b24-form-header {
    padding: 18px 5px 5px;
}
.first-screen-form .b24-form-control-string .b24-form-control,
.first-screen-form .b24-form-control-list .b24-form-control,
.first-screen-form .b24-form-control-select .field-item {
    height: 44px;
}
.first-screen-form .b24-form-control-text .b24-form-control {
    height: 80px;
}
.first-screen-form {
    z-index: 1;
}
.first-screen form > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px;
}
.first-screen .b24-form-field {
    max-width: calc(50% - 8px);
    width: 100%;
}
.first-screen .b24-form-field-text {
    max-width: 100%;
}
/*Pagination*/
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation.pagination {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

.page-numbers {
    font-size: 20px;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #ececec;
    margin: 1px;
}

.page-numbers:hover {
    color: #259bd4;
    background: #f8f8f8;
}

.page-numbers.current {
    color: #259bd4;
    background: #f8f8f8;
}

.next.page-numbers:hover,
.prev.page-numbers:hover {
    background: #f8f8f8;
}

.next.page-numbers:hover path,
.prev.page-numbers:hover path {
    fill: #259bd4;
}
.page-404-php {
    width: 100%;
    padding-top: 0;
    padding-bottom: 50px;
    margin-top: 50px;
}
.page-404-php .content {
    text-align: left;
}
.page-404-php .title {
    font-size: 80px;
    margin-bottom: 0;
}
.page-404-php .text {
    font-size: 28px;
}
.page-404-php .button {
    padding: 20px 40px;
    display: inline-block;
    text-align: center;
    margin: 36px 0;
    color: #fff;
}
.page-404-php .inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.page-404-php img {
    max-width: 350px;
}

.seo-text {
    position: relative;
}
.seo-text h2,
.seo-text h3 {
    margin: .8rem 0 1.2rem;
}
.seo-text__row {
    column-count: 1;
}
.seo-text-wrap.show {
    display: block;
    margin: 15px 0;
}
.seo-text-wrap.show:first-child > *:first-child {
    column-span: all;
    margin-bottom: 1.25em;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
}
.seo-text-wrap-hidden {
    display: none;
}
.seo-text-wrap-hidden.--show {
    display: block;
}
.seo-text .circle-lg {
    width: 100%;
    max-width: 800px;
    height: auto;
    top: 0;
    right: 0;
    background: #efeff2;
    z-index: -1;
}
.seo-text .circle-md {
    top: 280px;
    right: 48%;
    width: 150px;
    background: #fedb6a;
    z-index: -1;
}
.seo-text .circle-sm {
    top: 150px;
    right: 80%;
    width: 80px;
    z-index: -1;
    background: #4176ff;
}
footer {
    background-color: #1b1b1b;
}
.footer__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.footer-links {
    min-width: 180px;
}
.footer-payments {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 180px;
}
.footer-communication {
    min-width: 180px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer__subtitle {
    font-size: 24px;
    color: var(--c-white);
    font-weight: 700;
    margin-bottom: 24px;
}
.footer-address-company {
    color: #ccc;
    margin-top: 20px;
    line-height: 1.6;
    font-size: 14px;
}
.footer-communication__image {
    height: 80px;
    width: auto;
}
.footer-communication__text {
    font-size: 16px;
    color: var(--c-white);
    margin-top: 20px;
}
footer ul a {
    font-size: 18px;
    display: block;
    margin: 7px 0;
    color: #929292;
}
footer ul a[aria-current=page] {
    text-decoration: underline;
}
.archive-teachers__title {
    margin-top: 50px;
    font-size: 2.2rem;
    text-align: center;
}
.archive-teachers-php .posts {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.archive-teachers-php .post {
    width: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    border-radius: 25px;
}
.archive-teachers-php .post-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
}
.archive-teachers-php .post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 20px 25px 20px;
}
.post-description {
    flex: 1;
}
.post-image-link {
    display: inline-block;
    padding: 20px;

}
.post-experience {
    margin-bottom: .5rem;
}
.archive-teachers-php  .post:nth-of-type(1n) {
    background-color: #f6f3ec;
}
.archive-teachers-php  .post:nth-of-type(2n) {
    background-color: #fef4f5;
}
.archive-teachers-php  .post:nth-of-type(3n) {
    background-color: #f5fdff;
}
.archive-teachers-php  .post:nth-of-type(4n) {
    background-color: #f7fff5;
}
.common-archive-teachers {
    position: relative;
    overflow: hidden;
}
.common-archive-teachers .circle-lg {
    bottom: -8%;
    right: -8%;
    max-width: calc(100% + 300px);
    width: 100%;
    background: rgba(108,141,255,.08);
    z-index: -1;
}
.common-archive-teachers .circle-md {
    position: absolute;
    top: -7%;
    right: -5%;
    height: 500px;
    width: 500px;
    background: #fedb6a;
    border-radius: 50%;
    z-index: -1;
}
.common-archive-teachers .circle-sm {
    position: absolute;
    top: 20%;
    left: -5%;
    width: 300px;
    background: #4176FF;
    z-index: -1;
}
.archive-teachers-php .posts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}
.archive-teachers-php .post {
    width: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    border-radius: 25px;
}
.archive-teachers-php .post-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
}
.archive-teachers-php .post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 20px 25px 20px;
}
.post-title {
    font-size: 1.4rem;
    color: var(--c-dark-grey);
    font-weight: 700;
    margin-bottom: 1rem;
}
.post-image-link {
    display: inline-block;
    padding: 20px;

}
.post-experience {
    margin-bottom: .5rem;
}
.blog-content {
    max-width: 1160px;
}
.blog-posts {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 44px;
    column-gap: 30px;
}
.blog-posts .post-image-link {
    position: relative;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}
.blog-posts .post-image-link__image {
    right: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
}
.blog-post {
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    border-radius: 15px;
}
.blog-posts .post-text-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 15px 20px;
}
.blog-posts .post-title {
    font-weight: 600;
    font-size: 20px;
    margin: 12px 0 10px;
}
.blog-posts .post-text {
    font-size: 18px;
    line-height: 1.6;
    max-height: 85px;
    overflow: hidden;
    margin: 0 0 10px;
    flex: 100%;
}
.post-read-more {
    align-self: center;
    margin-top: 8px;
    font-size: 16px;
    padding: 14px 20px;
}
.index-php {
    margin-top: 40px;
}
.landing-video__container {
    text-align: center;
}
.landing-video-wrap {
    display: inline-block;
    position: relative;
    z-index: 1;
    /*display: flex;*/
    /*justify-content: center;*/
    margin-top: 30px;
}
.landing-video__video {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    width: 596px;
    /*height: 350px;*/
    bottom: 14%;
    width: calc(100% - 28%);
    height: auto;
}
.landing-video__image {
    display: block;
    pointer-events: none;
}
.banner-landing-wrap {
    background-color: #ffdfa0;
    padding: 30px 25px;
    border-radius: 60px;
    color: var(--c-white);
}
.banner-landing__title {
    position: relative;
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 1.8rem;
}
.banner-landing__title::before {
    position: absolute;
    content: "";
    bottom: 0;
    width: 50px;
    height: 6px;
    background: #ffeddd;
    margin: 20px 0;
    left: 50%;
    transform: translateX(-50%);
}
.banner-landing__text {
    font-size: 1.2rem;
    line-height: 1.6;
}

.we-chat-widget {
    position: fixed;
    bottom: 138px;
    right: 56px;
    z-index: 10;
}
.we-chat-widget__button {
    width: 56px;
    height: 56px;
    padding: 14px;
    background: #8bc34a;
    border-radius: 50%;
    cursor: pointer;
}
.we-chat-widget__image {
    width: 100%;
    height: auto;
}
.we-chat-widget__content {
    display: none;
    position: absolute;
    bottom: calc(100% + 20px);
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.3);
    padding: 48px 20px 20px;
    right: 0;
    max-width: 310px;
    width: max-content;
    min-height: 110px;
    border-radius: 14px;
}
.we-chat-widget__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.we-chat-widget__content.--show {
    display: block;
}
.we-chat-widget__close:after, .we-chat-widget__close:before {
    content: "";
    left: 0;
    display: block;
    height: 2px;
    background: #333;
}
.we-chat-widget__close:before {
    position: absolute;
    top: 0;
    width: 100%;
    transform: translateY(9px) translateX(0) rotate(45deg);
}
.we-chat-widget__close:after {
    position: absolute;
    top: 14px;
    width: 100%;
    transform: translateY(-5px) translateX(0) rotate(-45deg);
}
.we-chat-widget__qr-code {
    margin-top: 14px;
}

/* Flip card */
.teacher-page-seo {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.flip-card {
    background-color: transparent;
    height: 200px;
    perspective: 1000px;
    flex: 1 0 calc(25% - 20px);
    min-width: 250px;
    width: 100%;
    margin: 10px;
    cursor: pointer;
    border-radius: 10px;
}
.teacher-page-seo--five .flip-card {
    flex: 1 0 calc(20% - 20px);
    min-width: 200px;
}
.teacher-page-seo--five .flip-card-back {
    font-size: 14px;
}
.teacher-page-seo--five .flip-card {
    height: 240px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: ease-in transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 10px;
}
.flip-card:hover .flip-card-inner,
.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}
.flip-card-front {
    background-color: #bbb;
    display: flex;
    justify-content: center;
    align-self: center;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    border-radius: 10px;
    transform-style: preserve-3d;
    z-index: 1;
    color: var(--c-white);
}
.flip-card-front__num {
    font-size: 3rem;
    font-weight: 600;
}
.flip-card-front__title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: .4rem;
}
.flip-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .4;
    background: linear-gradient(181deg,#483c3c4d 54.46%,#0000002b 89.85%);
    z-index: -1;
}
.flip-card .flip-card-front {
    background: #4176ff;
}
/* Style the back side */
.flip-card-back {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    background-color: var(--c-pink);
    color: white;
    transform: rotateY(180deg);
    padding: 30px 24px;
    overflow: auto;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    border-radius: 10px;
}
/* End Flip card */
.teacher-page-seo-row-2,
.teacher-page-seo-row-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
.teacher-page-seo-row-2 > div {
    width: 100%;
}
.teacher-page-seo-row-3 > div {
    width: 100%;
}
.teacher-page-seo h2,
.teacher-page-seo h3 {
    font-size: 1.3rem;
    margin-block-start: 1em;
    margin-block-end: 1em;
}
.teacher-page-seo p {
    margin-bottom: 0.6rem
}
.teacher-page-seo img {
    margin: 20px auto;
    display: block;
}
.teacher-page-seo-text-column {
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    padding: 25px;
    border-radius: 60px;
}

.online-learning {
    background-color: var(--c-grey);
}
.online-learning-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.online-learning-list {
    width: 100%;
}
.online-learning-list__wrap {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 35px;
    max-width: 164px;
    margin: 0 auto;
}
.online-learning-list__title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 20px 0 12px;
}
.online-learning-list__text {
    line-height: 1.6;
}
.online-learning-lists {
    position: relative;
    z-index: 1;
}
.online-learning-list__line {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 77%;
    height: auto;
    z-index: -1;
    display: none;
}
.privacy-section__title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.privacy-section p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}
.privacy-section h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
}
.privacy-section h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
}
.privacy-section a {
    color: var(--c-blue);
}
.privacy-section {
    margin-top: 30px;
}
.contact-page {
    margin-top: 60px;
}
.contact-page__container {
    text-align: center;
}
.contact-page-lists {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.contact-page-list {
    width: 100%;
}
.contact-page-list__image {
    height: 130px;
    width: auto;
}
.contact-page-list__title {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--c-dark);
    margin-top: 16px;
}
@media (max-width: 1023px) {
    .header-menu .header-mobile-menu {
        position: fixed;
        height: 0;
        right: 0;
        top: 0;
        visibility: hidden;
        opacity: 0;
        z-index: -1;
        background-image: linear-gradient(144deg, #4176FF 48.44%, #1c54e2 88.54%);
    }
    .header-menu li {
        margin-top: 18px;
    }
    .header-menu ul a {
        color: #fff;
        font-size: 20px;
    }
    .header-menu ul a:hover,
    .header-menu ul a[aria-current=page] {
        color: #cce5ef;
    }
    .mobile_menu_close {
        padding: 5px 10px;
        outline: none;
        user-select: none;
        position: fixed;
        top: 20px;
        right: 10px;
        cursor: pointer;
        z-index: -1;
        opacity: 0;
    }
    .header-menu.--open .mobile_menu_close {
        width: 46px;
        height: 46px;
        z-index: 3;
        opacity: 1;
        color: #666;
        transition: opacity 0.3s;
    }
    .header-menu.--open .header-mobile-menu {
        visibility: visible;
        opacity: 1;
        z-index: 2;
        height: 100%;
        min-width: 50%;
        padding: 20px 20px;
        transition: opacity 0.3s;
    }
    .mobile_menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        opacity: 0;
        visibility: hidden;
        background-color: #87acd0;
    }
    .header-menu.--open .mobile_menu_overlay {
        z-index: 1;
        opacity: 0.8;
        visibility: visible;
        transition: opacity 0.3s;
    }
    .header__button {
        margin-top: 30px;
    }
    .menu-header-menu > li {
        position: relative;
        padding: 14px 16px;
        border-bottom: 1px solid #eeeeee3b;
        cursor: pointer;
    }
    .menu-header-menu a {
        color: #fff;
        font-size: 20px;
    }
    .menu-item-has-children > .sub-menu {
        height: 0;
        overflow: hidden;
        transition: height .3s ease-in;
        margin: 12px 0 0 8px;
        display: none;
    }
    .menu-item-has-children.--open > .sub-menu {
        display: block;
        height: auto;
        padding: 0 0 0 6px;
    }
    .menu-item-has-children > a:after {
        filter: brightness(0) invert(1);
    }
    .menu-item-has-children > a:after {
        top: 24px;
        transform: unset;
    }
}
@media (max-width: 767px) {
    .page-404-php .inner {
        flex-direction: column;
    }
    .container {
        padding: 0 18px;
    }
    .benefits .circle.border,
    .benefits .circle-sm,
    div.benefits .line,
    .course .circle-lg {
        display: none;
    }
    .first-screen .row .text-block {
        order: -1;
    }
    .first-screen .text__circle-md {
        bottom: -50px;
    }
    .first-screen .text__circle-lg {
        top: 80px;
    }
}
@media (max-width: 540px) {
    .page-404-php {
        padding-bottom: 25px;
    }
    .page-404-php .content {
        text-align: center;
    }
    .page-404-php .title {
        font-size: 60px;
    }
    .page-404-php img {
        display: none;
    }
    .header-menu.--open .header-mobile-menu {
        width: 100%;
    }
    .we-chat-widget__content {
        max-width: 280px;
        right: -46px;
    }
    .first-screen .row .text-block {
        order: -1;
    }
    .first-screen__man,
    .first-screen .text__circle-md {
        display: none;
    }
    .teacher-teachers-info .circle-lg {
        left: -25%;
        width: 300px;
        height: 300px;
        top: 53%;
    }
    .steps-learn-english-image {
        order: -1;
    }
    .footer-payments {
        margin: 24px 0;
        gap: 14px;
    }
    .footer-communication .item {
        width: 100%;
    }
    .first-screen .b24-form-padding-side {
        padding: 0;
    }
    .banner-title {
        font-size: 3.4rem;
    }
}
@media (min-width: 541px) {
    .first-screen .title {
        font-size: 3.875rem;
    }
    .brands-row {
        gap: 46px;
    }
    .first-screen .title .circle-lg {
        top: 0;
        left: 0;
        width: 125%;
    }
    .teacher-class-duration-blocks__inner {
        padding: 50px;
    }
    .teacher-class-duration-block-item {
        max-width: calc(33.33% - 16px);
    }
    .slider-video {
        max-width: calc(100% - 80px);
    }
    .video .circle-md {
        width: 300px;
    }
    .faq-image-block__image {
        max-width: 268px;
    }
    .faq-image__md {
        width: 160px;
        height: 248px;
        left: 30%;
    }
    .faq-image__sm {
        bottom: 190px;
    }
    .footer-communication {
        gap: 30px;
        text-align: center;
    }
    .archive-teachers-php .post {
        max-width: calc(50% - 15px);
    }
    .banner-wrap {
        padding: 60px 50px;
    }
}
@media (min-width: 768px) {
    :root {
        font-size: .875em;
    }
    .blog-posts {
        grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    }
    .teacher-page-seo-row-2 > div {
        max-width: calc(50% - 20px);
    }
    .teacher-page-seo-row-3 > div {
        max-width: calc(33.33% - 20px);
    }
    .teacher-online-text-column {
        padding: 50px;
    }
    .teacher-page-seo-row-2,
    .teacher-page-seo-row-3 {
        gap: 20px;
    }
    .contact-page-list {
        max-width: calc(33.33% - 30px);
    }
    .first-screen-form {
        max-width: calc(50% - 20px);
    }
    .first-screen .row .text-block {
        max-width: calc(50% - 20px);
    }
    .course .circle-lg {
        top: -7%;
    }
    .teacher-trial-info__text-content,
    .teacher-trial-info__image,
    .teacher-teachers-info-slider,
    .teacher-teachers-info__text-content,
    .teacher-class-duration-info__image,
    .teacher-class-duration-info__text-content{
        max-width: calc(50% - 40px);
    }
    .teacher-class-duration-info__text-content {
        max-width: calc(40% - 40px);
    }
    .teacher-online .glide__slide--active .teacher-teachers-info-slider__item {
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(0,0,0,.2);
    }
    .teacher-class-duration-blocks {
        max-width: calc(60% - 40px);
    }
    .teacher-trial-info,
    .teacher-teachers-info,
    .teacher-class-duration-info {
        gap: 80px;
    }
    .steps-learn-english-lists {
        max-width: calc(50% - 15px);
    }
    .steps-learn-english-image {
        max-width: calc(50% - 15px);
    }
    .banner-test-english__text-content {
        max-width: calc(30% - 20px);
    }
    .banner-test-english__slider {
        max-width: calc(70% - 20px);
    }
    .banner-test-english__wrap {
        gap: 40px;
        padding: 90px 64px;
    }
    .seo-text__row {
        column-count: 2;
        column-gap: 30px;
    }
    .online-learning-list {
        max-width: calc(33.33% - 40px);
    }
    .online-learning-list__line {
        display: block;
    }
    .online-learning-list:nth-child(even) {
        margin-top: 40px;
    }
    .teacher-trial-info .circle-lg {
        top: -37%;
        right: -11%;
        width: 400px;
        height: 400px;
    }
    .banner-landing-wrap {
        padding: 50px 64px;
    }
    .banner-wrap {
        padding: 115px 64px;
    }
}
@media (min-width: 1024px) {
    .section,
    section {
        padding: 80px 0;
    }
    .header-mobile-menu {
        display: flex;
        align-items: center;
        margin-left: auto;
    }
    .menu-header-menu {
        display: flex;
        flex-wrap: wrap;
    }
    .header-menu .container {
        display: flex;
        justify-content: space-between;
    }
    .menu-header-menu > li {
        position: relative;
        text-align: center;
    }
    .menu-header-menu > li > a {
        font-size: 16px;
        text-transform: capitalize;
        display: block;
        border-bottom: 2px solid transparent;
        transition: .3s all ease-in;
        line-height: 1.3;
        color: var(--c-dark-grey);
        padding: 1.4rem 1.1rem;
        font-weight: 700;
    }
    .menu-header-menu > li.menu-item-has-children > a {
        padding-right: 1.3rem;
    }
    .menu-header-menu > li > a:hover,
    .menu-header-menu > li > a[aria-current=page] {
        color: var(--c-blue);
        border-bottom: 2px solid var(--c-blue);
    }
    .menu-header-menu > li > a:hover,
    .menu-header-menu > li > a[aria-current=page] {
        color: var(--c-blue);
    }
    .burger-menu {
        display: none;
    }
    header .button {
        margin: 0 0 0 1.75rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .steps-learn-english-lists__num {
        width: 100px;
        height: 100px;
        font-size: 32px;
    }
    .single-content {
        max-width: calc(100% - 330px - 30px);
        width: 100%;
    }
    .sidebar-single {
        position: sticky;
        top: 100px;
        max-width: 310px;
        margin-bottom: 30px;
    }
    .column-menu .sub-menu {
        position: absolute;
        margin: 0 auto;
        left: 0;
        background: #fff;
        max-width: 556px;
        padding: 20px 30px;
        z-index: 3;
        box-shadow: 0 4px 4px rgba(0,0,0,.25);
        border-radius: 0 0 6px 6px;
        display: grid;
        gap: 14px 20px;
        grid-template-columns: repeat(auto-fit, minmax(calc(33.33% - 20px), 1fr));
        text-align: left;
        opacity: 0;
        visibility: hidden;
        transition: .25s opacity ease-in-out, .3s max-height ease-in-out, .3s visibility ease-in-out;
    }
    .column-menu:hover .sub-menu {
        opacity: 1;
        visibility: visible;
    }
    .column-menu a {
        display: inline-block;
        font-weight: 600;
        font-size: 16px;
        color: var(--c-dark-blue);
        padding: 4px 10px 4px 0;
        border-bottom: 1px solid transparent;
    }
    .video .circle-md {
        width: 500px;
    }
    .banner__content {
        max-width: calc(60% - 20px);
    }
    .banner__form {
        max-width: calc(40% - 20px);
    }
    .archive-teachers-php .post {
        max-width: calc(33.33% - 30px);
    }
    .single-teachers-hero__video {
        max-width: calc(40% - 3.5rem);
    }
    .single-teachers-hero__text-content {
        max-width: calc(60% - 3.5rem);
    }
    .single-teachers-hero__wrap {
        padding: 60px 50px;
    }
    .first-screen-form {
        max-width: calc(40% - 20px);
    }
    .first-screen .row .text-block {
        max-width: calc(60% - 20px);
    }
}
@media (min-width: 1367px) {
    :root {
        font-size: 1em;
    }
}
