/* Стили для сообщений формы подписки */
.subscribe-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.subscribe-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.subscribe-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.article .has-cyan-bluish-gray-background-color {
    background: #f6f6f6 !important;
}
.article div.has-background.image,
.article p.has-background.image {
    padding-left: 100px;
    position: relative;
}
.article .image.has-background img,
.article .image.has-background svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 50px;
    width: 68px;
    height: auto;
}
.wp-block-pullquote {
    margin: 0;
    padding: 0 !important;
}
.article ol,
.article ul {
    margin-bottom: 64px;
}

.article {
    font-size: 18px;
}
.article > header {
    font-style: italic;
}
.article > p {
    margin-bottom: 18px;
    /* margin-bottom: 0; */
}
.article h2 + iframe {
    margin-top: -20px;
}
.article > iframe {
    max-width: 100%;
    background-color: #eee;
}
.article > iframe {
    margin-bottom: 64px;
}
.article h2 {
    margin-top: 64px;
}
.article h3 {
    margin-top: 20px;
}
.article .owl-carousel .owl-item img {
    width: 100% !important;
    max-width: 100%;
}
.article .card-row {
    cursor: pointer;
}
.article  .card-row__image {
    margin-bottom: 0 !important;
}
.article .card-row a {
    color: #333;
    text-decoration: none;
}
.article__tags a::before {
    content: "#";
}
.article .card-row {
    text-decoration: none;
}
.article .app-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 64px 0;
}
.article .app-wrapper a:hover path[fill="#000"] {
    fill: #2d2d2d;
}
.article .app-wrapper svg {
    height: 72px;
    width: auto;
}
.breadcrumbs span,
.breadcrumbs a {
    color: #999;
}
.breadcrumbs > span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}
.article .wp-block-buttons {
    margin: 64px 0;
}
.article .wp-element-button {
    border-radius: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    padding: 12px 20px;
}
.article .wp-block-button.icon-arrow-right .wp-element-button {
    position: relative;
    gap: 12px;
}
.article .wp-block-button.icon-arrow-right .wp-element-button::after {
    top: 1px;
    content: "";
    position: relative;
    width: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMjQnIGhlaWdodD0nMjQnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4NCiAgPHBhdGggZD0nTTMuNzUgMTJIMjAuMjUnIHN0cm9rZT0nI0ZGRkZGRicgc3Ryb2tlLXdpZHRoPScxLjUnIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPg0KICA8cGF0aCBkPSdNMTMuNSA1LjI1TDIwLjI1IDEyTDEzLjUgMTguNzUnIHN0cm9rZT0nI0ZGRkZGRicgc3Ryb2tlLXdpZHRoPScxLjUnIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcgc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcvPg0KPC9zdmc+DQo=);
    display: inline-block;
    vertical-align: -2px;
    margin: 0 0 0 11px;
    height: 17px;
}
.article .wp-element-button:hover {
    transition: background-color 0.3s;
    background-color: #bb0719 !important;
}

article > p .iframe-wrapper {
    margin-bottom: 34px;
}

.breadcrumbs {
    color: #ccc; font-size: 12px;
}
.breadcrumbs a.taxonomy  {
    color: #666; font-size: 12px;
}

.page-home .card.card-small .card__image img {
    max-height: 67px;
}

.article__info--chips {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.has-primary-background-color {
    background-color: #BB0719;
}
.has-secondary-background-color {
    background-color: #EDB218;
}
.has-secondary-2-background-color {
    background-color: #27CD41;
}
.has-secondary-3-background-color {
    background-color: #15600C;
}
.has-secondary-4-background-color {
    background-color: #49CF00;
}
.has-surface-alt-background-color {
    background-color: #F6F6F6;
}
.has-surface-inverse-background-color {
    background-color: #232323;
}
.has-muted-background-color {
    background-color: #828282;
}
.has-primary-color {
    color: #BB0719;
}
.has-secondary-color {
    color: #EDB218;
}
.has-secondary-2-color {
    color: #27CD41;
}
.has-secondary-3-color {
    color: #15600C;
}
.has-secondary-4-color {
    color: #49CF00;
}
.has-surface-alt-color {
    color: #F6F6F6;
}
.has-surface-inverse-color {
    color: #232323;
}
.has-muted-color {
    color: #828282;
}

.article .article__author {
    cursor: pointer;
}

.block-politics .container p {
    margin: 0 0 24px 0;
}
.block-politics .container a {
    text-decoration: underline;
}
.block-politics .container a:hover {
    text-decoration: none;
}
form input {
    transition: all 0.3s ease;
}
form input:not(:placeholder-shown) {
    color: #333333;
}   
form input:not(:placeholder-shown):focus {
    outline: none;
}

/* .header-blog__menu > li.submenu a::after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(../img/svg/arrow-down.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    vertical-align: 0px;
    margin: 0 0 0 2px;
} */

@media (max-width: 767px) {
    .only-desktop {
        display: none;
    }
}
@media (min-width: 768px) {
    .only-mobile {
        display: none;
    }
}

/*
* Top offer
*/
.top-offer {
    background-color: #000000;
    text-align: center;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 0;
}
main, header, footer {
    position: relative;
    z-index: 1;
}
header {
    z-index: 9;
}
main {
    background-color: #ffffff;
}
.top-offer img {
    width: auto;
    height: 100px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .top-offer {
        height: 100px;
        text-align: center;
    }
    .top-offer img {
        height: 100%;
    }
}

i.bc-separator {
    display: inline-block;
    width: 14px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuMjUgMy4zNjM3N0w5LjYyNSA3LjczODc3TDUuMjUgMTIuMTEzOCIgc3Ryb2tlPSIjODI4MjgyIiBzdHJva2Utd2lkdGg9IjEuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=); 
}

.form-group .iti {
    width: 100%;
}

.system-error {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    width: 80%;
    height: auto;
    margin: 0 auto;
    z-index: 1000;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.iti .iti__selected-dial-code,
.block-form-price .iti  {
    color: #222222;
}

.offer-block .offer-block__right {
    max-width: 440px;
}

.article .qz-container {
    margin: 40px 0;
}
.article .qz-header h1 {
    font-size: 24px;
}
.article .qz-header p {
    font-size: 18px;
}
@media (min-width: 768px) {
    .article .qz-header h1 {
        font-size: 28px;
    }
    .article .qz-header p {
        font-size: 21px;
    }
}
@media screen and (max-width: 768px) {
    .block-price .list-price {
        padding-top: 30px;
        margin-top: -26px;
    }
}
.dbadge {
    position: absolute;
    right: -30px;
    top: -30px;
    width: 94px;
    height: 94px;
    color: #fff;
    background-image: url(../img/svg/badge.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 19;
    text-align: center;
    line-height: 1.1;
    font-size: 12px;
    transform: rotate(-15deg);
    display: flex;
    justify-content: center;
    align-items: center;
}
.dbadge b {
    font-family: "Stratos LC Web",sans-serif;
    display: inline-block;
    vertical-align: top;
    font-size: 28px;
    line-height: 0.9;
    font-weight: 700;
    margin-bottom: 0px;
    margin-top: 2px;
}

.top-offer > figure {
    display: none;
    max-height: 100px;
}
.top-offer img {
    max-height: 100px;
    width: auto;
}
@media screen and (min-width: 1025px) {
    .top-offer .desktop {
        display: block !important;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px){
    .top-offer .tablet {
        display: block !important;
    }
}
@media screen and (max-width: 768px) {
    .top-offer .mobile {
        display: block !important;
    }
}

/* Black Friday */
main.style-blackfriday {
    padding-top: 0;
}
.style-blackfriday .home-block-1 {
    background-color: #232323;
    padding: 53px 0 113px;
    background-image: url(../img/black-friday-main-bg.svg);
    background-size: 790px auto;
    background-position: 38% 96%;
    position: relative;
    overflow: hidden;
}
.style-blackfriday .container-main {
    z-index: 1;
    position: relative;
}
.style-blackfriday .home-block-1:before {
    content: " ";
    z-index: 0;
    position: absolute;
    top: 0;
    background-image: url(../img/black-friday-lights.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 426px;
    height: 227px;
    left: 36.5%;
    top: -41px;
}
.style-blackfriday .home-block-1 .h1-main {
    color: #fff;
}
.style-blackfriday .home-block-1 .h1-main span {
    color: #FFC226;
}
.style-blackfriday .home-block-1 .text-main-18 {
    color: #fff;
}
.style-blackfriday .main-block-1__right .form {
    position: relative;
}
.style-blackfriday .home-block-1 .main-block-1__right .form:before {
    content: " ";
    width: 150px;
    height: 150px;
    background-image: url(../img/black-friday-badge.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 130% auto;
    position: absolute;
    top: -42px;
    right: -43px;
}
.style-blackfriday .home-block-1 .icons-item img {
    filter: brightness(100);
}
.style-blackfriday .form-sticker {
    width: 262px;
    height: 45px;
    background-image: url(../img/black-friday-stiker.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
}
.style-blackfriday .form-sign {
    position: relative;
}
.style-blackfriday .form-sign .form-sticker {
    position: absolute;
    left: 0;
    top: -15px;
}
.list-price .price-item {
    position: relative;
}
.style-blackfriday .main-block-confetti {
    background-image: url(../img/black-friday-confetti.svg) !important;
    background-position: 16% 54px;
    background-size: 868px auto;
}

@media screen and (max-width: 1280px) {
    .style-blackfriday .home-block-1:before {
        left: initial;
        right: -70px;
    }
    .style-blackfriday .form-sign .form-sticker {
        position: relative;
        margin: 8px 0 0 0;
    }
    .style-blackfriday .form-sticker {
        left: initial;
        top: initial;
        width: 200px;
        height: 38px;
    }
    .style-blackfriday .main-block-confetti {
        background-position: 16% 18px;
        background-size: 548px auto;
    }
}
@media screen and (max-width: 768px) {
    .style-blackfriday .main-block-1__wrap {
        gap: 70px;
    }
    .style-blackfriday .home-block-1 .main-block-1__right .form:before {
        top: -42px;
        right: -3px;
        width: 100px;
        height: 100px;
    }
    .style-blackfriday .home-block-1:before {
        left: initial;
        right: -150px;
    }
    .style-blackfriday .main-block-1__right .form__title {
        max-width: 82%;
    }
}

.contacts-block .custom-checkbox {
    color: #828282;
    /* padding-top: 12px; */
}
.contacts-block .custom-checkbox a {
    color: #828282;
}
a.link-underline {
    text-decoration: underline;
}
a.link-underline:hover {
    text-decoration: none;
}
.block-price .payment-item a {
    color: rgba(255, 255, 255, 0.6);
}
.link {
    cursor: pointer;
}


@media screen and (min-width: 768px) and (max-width: 1349px) { 
    .main-block-1__image {
        height: 460px;
        bottom: 0;
        right: -130px;
    }
}
@media screen and (max-width: 768px) {
    main.main-personal-lessons .main-block-1__image {
        width: 100%;
        height: 350px;
        bottom: -1px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 374px) {
    main.main-personal-lessons .main-block-1__image {
        height: 320px;
    }
}

main.main-personal-lessons .main-block-1__image img {
    object-position: bottom;
}

@media screen and (min-width: 768px) and (max-width: 1349px) {
    .main-block-1.block-1-group.main-block-1.main-block-1-custom .main-block-1__image {
        width: 415px;
        height: 412px;        
        right: -30px;
        bottom: 0;
    }
}

.br-desktop-base {
    display: none;
}
.br-tablet {
    display: none;
}
.br-mobile-base {
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 1349px) {
    .br-tablet {
        display: inline;
    }
}
@media screen and (max-width: 767px) {
    .br-mobile-base {
        display: inline;
    }
}
@media (min-width: 1350px) {
    .br-desktop-base {
        display: inline;
    }
}

@media (min-width: 768px) {
    .block-form-group-2 .content-right {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

.block-price-group .plan-detail-item__icon.surprise::after {
    content: "🎁";
    transform: unset;
    border: unset;
    width: auto;
    height: auto;
}