/*
Theme Name: Profound NG
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: profound-ng
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, sticky-post, threaded-comments
 */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;

    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

html[lang="en-GB"] header.wp-block-template-part .header-uk {
    display: none;
}

html[lang="uk"] header.wp-block-template-part .header-en_GB {
    display: none;
}

html[lang="uk"] .lang-en, html[lang="en-GB"] .lang-ua {
    display: none;
}

html[lang="uk"] .lang-ua, html[lang="en-GB"] .lang-en {
    display: block;
}

html[lang="uk"] .wp-block-navigation__container:not(.teacher-menu) {
    gap: 32px;
}

html[lang="en-GB"] .wp-block-navigation__container:not(.teacher-menu) {
    gap: 32px;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0 !important;
    margin-block-end: 0;
}





.home .wp-block-post-content > .wp-block-image:first-child {
    margin-top: clamp(12px, 10vw - 32px, 60px);
    max-width: 40%;
}

@media (max-width: 1199.8px) {
    .wp-block-navigation.header-button {
        /*margin-left: auto;*/
    }
}

/*Стилі Богдана*/
.head-header {
    display: grid;
}


.wp-block-button.is-style-link .wp-block-button__link {
    padding-inline: 8px;
    border: none !important;
}

.wp-block-button.is-style-link .wp-block-button__link::before {
    content: none !important;
}



@media (max-width: 781px) {
    .has-text-align-center .has-heading-1-font-size {
        width: 887px;
        margin-top: 109px;
    }
}

.has-text-align-center .has-medium-font-size {
    width: 777px;
}


.custom-logo {
    height: 26px;
    width: auto;
}

.section-navbar {
    /* height: 45px;
    margin-top: 31px; */
}

/**header&textUnderHeader**/
@media (min-width: 781px) {
    .has-heading-1-font-size {
        margin-top: 5rem;
        margin-bottom: 11px;
    }
}

.main-center-text {
    font-weight: 400;
    padding: 0 2rem 12px;
}

.main-center-text + .wp-block-buttons {
    padding-inline: calc((100vw - var(--wp--custom--content-size)) / 2);
}

@media (max-width: 500px) {
    .main-center-text + .wp-block-buttons :where(.wp-block-button, .wp-block-button__link) {
        width: 100%;
    }
}

.wpcf7-response-output {
    display: none;
}

:where(.wp-block-button.is-style-simple-primary, .wp-block-button.is-style-simple-secondary) a:before,
:where(.wp-block-button.is-style-simple-primary, .wp-block-button.is-style-simple-secondary) button:before {
    content: none !important;
}

.wp-block-button.is-style-simple-primary p {
    display: block ruby;
}

:where(.wp-block-button.is-style-simple-primary, .wp-block-button.is-style-simple-secondary) .wp-block-button__link {
    height: 50px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding-inline: 40px;
    transition: background-color 0.2s, color 0.2s, border 0.2s;
}

.wp-block-button.is-style-simple-primary .wp-block-button__link:where(:hover, :focus) {
    background-color: #335578 !important;
    border-color: #335578 !important;
}

.wp-block-button.is-style-simple-primary .wp-block-button__link:where(:active) {
    background-color: #001B38 !important;
    border-color: #001B38 !important;
}

.wp-block-button.is-style-simple-secondary .wp-block-button__link {
    border-color: var(--wp--preset--color--almost-black);
}

.wp-block-button.is-style-simple-secondary .wp-block-button__link:where(:hover, :focus) {
    background-color: #335578 !important;
    border-color: #335578 !important;
    color: white;
}

.wp-block-button.is-style-simple-secondary .wp-block-button__link:where(:active) {
    background-color: #001B38 !important;
    border-color: #001B38 !important;
    color: white;
}

/* Disabled */
/*border: 2px solid var(--Gray-3, #828282);*/
/*background: var(--White, #FFF);*/


.main-center-text + .wp-block-buttons {
    margin-bottom: clamp(20px, 10vw - 32px, 83px);
}

/**whyWeAre**/
@media (min-width: 781px) {
    .wp-container-8-why-we {
        padding-top: 118px;
        padding-bottom: 76px;
        gap: 78px !important;
    }
}

.wp-container-7-why-we-text {
    line-height: 30px;
}

.wp-container-7-why-we-more {
    font-size: 32px;
}

.has-text-bottom-indent {
    margin-bottom: 63px;
}

@media (max-width: 781px) {
    .has-text-bottom-indent {
        padding: 0 3rem;
    }
}


@media (min-width: 781px) {
    .section-why-we-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 0.8fr 1fr;
        column-gap: 80px;

    }

    .section-why-we-2-text-1 {
        grid-column-start: 2;
        grid-row: 1/2;
    }

    .section-why-we-2-text-2 {
        grid-column-start: 2;
        grid-row: 2/3;
    }

    .section-why-we-2 figure {
        grid-row: 1/3;
        align-self: center;
    }
}

@media (max-width: 781px) {
    .section-why-we-2 {
        display: grid;
        grid-template-columns: 1fr;
    }

    .section-why-we-2-text-1 {
        grid-row-start: 1;
        padding-bottom: 20px;
    }

    .section-why-we-2-text-2 {
        paddint-top: 0 !important;
    }
}

@media (max-width: 781px) {
    .section-why-we-2 {
        grid-template-columns: 1fr;
    }

}

/**whatYouWillGet**/
@media (min-width: 781px) {
    .section-what-you-will-get {
        padding: 4rem 0 2rem 0;
    }
}


.custom-list-markers--check li {
    list-style: none;
}

.section-will-get__none-text {
    display: none;
}

/** section English for goals **/
@media (min-width: 781px) {
    .section-english-for-goals__header {
        margin-top: 130px;
        font-size: 48px;
    }
}


/**section teachers**/
.card-teacher {
    border-radius: 20px;
}

.card-teacher:hover {
    background-color: #F5C362 !important;
}

@media (min-width: 781px) {
    .card-teacher {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 39px !important;
    }
}

@media (max-width: 781px) {
    .card-teacher-border {
        gap: 7px !important;
    }
}

@media (min-width: 781px) {
    .is-style-rounded {
        border-radius: 100%;
        border: solid 5px;
        border-color: #F5C362;
        max-width: 150px;
    }
}


/** English for children**/
.section-english-for-children-text {
    gap: 80px !important;
}

.hide-caption-mobile {
    margin: 2rem 0rem 2rem 0rem;
    color: #525252 !important;
}

@media (max-width: 781px) {
    .hide-caption-mobile {
        display: none;
    }
}


.has-large-font-size {
    display: flex;
}

@media (min-width: 781px) {
    figcaption {
        display: none;
    }
}

@media (min-width: 781px) {
    .section-english-for-goals-text {
        margin-top: 150px;
        padding-bottom: 120px;
    }
}

@media (max-width: 781px) {
    .hide-caption-desktop img {
        margin-bottom: 12px;
    }
}

@media (min-width: 781px) {
    .section-english-for-children-img img {
        margin: 3rem 0rem 3rem 0rem;
    }
}

@media (max-width: 781px) {
    .section-english-for-children-img img {
        padding-bottom: 12px;
    }
}

/*  lesson*/
@media (min-width: 781px) {
    .section-english-for-childrenn {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .lesson-card-header {
        margin-top: 34px;
        font-size: 24px;
    }

    .lesson-card-price {
        margin-top: 8px;
        margin-bottom: -20px;
        font-size: 40px;
    }

    .section-lesson-hide-desktop-names {
        display: none;
    }

    .section-lesson-card-price-time {
        border-bottom: 1px solid #E2E3E6;
        padding: 1.5rem 0rem !important;
    }

}

@media (max-width: 781px) {
    .card-price-legend {
        display: none;
    }

    .section-lesson-d-n-text-bottom {
        display: none;
    }

    .card-price {
        padding: 0rem 2rem;
    }
}

.section-lesson-price {
    gap: 16px !important;
}

.section-lesson-card-price-free p {
    font-size: 15px;
}

.section-lesson-card-price-time {
    border-bottom: 1px solid #E2E3E6;
}

.section-lesson-card-price {
    border-bottom: 1px solid #E2E3E6;
    padding-bottom: 1rem;
}

/*  first card*/
@media (min-width: 781px) {
    .card-price-list-1 {
        font-size: 20px;
        line-height: 80px;
    }
}

.card-price-list {
    list-style: none;
    line-height: 50px;
}

.card-price-list-1 {
    list-style: none;

}


@media (min-width: 781px) {
    .card-price-under-header {
        padding: 20px;
    }

    .card-price-paragraph {
        font-size: 15px !important;
    }
}

/* 	reviews */
.container-of-reviews {
    display: flex;
    flex-wrap: wrap;
}

.reviews-card {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    grid-auto-rows: minmax(408px, auto);
    grid-auto-columns: minmax(340px, auto);
    flex-wrap: wrap;
    grid-gap: 34px;
    grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
    padding: 28px;
    justify-content: center;
    max-width: 1224px;
    padding-inline: 0;
}

@media (max-width: 781px) {
    .reviews-card {
        grid-gap: 16px !important;
    }
}

.cards {
    display: grid;
    background-color: #F5F6FA;
    padding: 24px 52px;
    border-radius: 12px;
    justify-items: center;
    align-content: center;
}

.review-text {
    line-height: 24px;
}


.cards {
    display: grid;
    background-color: #F5F6FA;
    padding: 24px 52px;
    border-radius: 12px;
    justify-items: center;
}

.names {
    justify-self: end;
    font-family: var(--wp--preset--font-family--manrope);
    font-size: 15px;
    font-weight: 700;
    line-height: 23px;
    letter-spacing: 0;
    text-align: left;

}

/*  reviews2*/
.wp-block-latest-comments__comment {
    display: grid;
    background-color: #F5F6FA;
    padding: 24px 52px;
    border-radius: 12px;
    justify-items: center;
}


@media (min-width: 781px) {
    .reviews-card {
        padding-bottom: 117px;
    }
}

/* Blog from heeadPage */
.section-blog-inform {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 80px !important;
    padding: 39px 0px 49px 0px;
}

.section-blog-right__rows {
    background-color: #FFFFFF;
    border-radius: 12px;
}

.section-blog-right {
    background-color: #FFFFFF;
    border-radius: 12px;
    display: grid;
    grid-gap: 21px;
}

.section-blog-right__rows {
    display: grid !important;
    grid-template-columns: 2fr 1fr;
    padding: 24px;
    border-radius: 12px;
}

.section-Blog-right-img img {
    border-radius: 12px;
    object-fit: cover;
}

.section-blog-left {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 12px;
}

.section-blog-left img {
    border-radius: 12px;
}

.section-blog-right a {
    text-decoration: none;
    color: black;
}

.section-blog-link-categories a {
    color: #828282;
}

.section-blog-right-link-categories a {
    color: #828282;
}

.accordion {
    border-bottom: 1px solid grey;
    padding: 1.5rem 0rem 0.5rem 0rem;
}

.accordion-text-and-button {
    gap: 2rem !important;
}

.accordion p {
    color: #525252;
}

.colaboration-gallery__wrap {
    height: 50px;
    animation: 10s linear infinity-loop;
    animation-iteration-count: infinite;
    width: max-content;
    will-change: transform;
}

.colaboration-gallery {
    /* 	position: absolute;
        animation: 15s linear infinity-loop;
        animation-iteration-count: infinite;

        width: max-content; */
    min-width: 100vw;
}

.colaboration-gallery:last-child {
    /* 	transform: translateX( calc( 100% + 20px) ); */
}

@keyframes infinity-loop {
    from {
        translate: 0% 0%;
    }
    to {
        translate: -50% 0%;
    }
}

.wp-block-group:has(.colaboration-gallery__wrap) {
    overflow-x: hidden;
}

.colaboration-gallery .wp-block-image img {
    width: auto;
    height: 50px;
}

.wp-block-group:has(.colaboration-gallery) h2.has-text-align-center {
    text-align: center !important;
}

@media (max-width: 576px) {
    .colaboration-gallery .wp-block-image img {
        width: auto !important;
        height: 40px !important;
    }

    .colaboration-gallery__wrap {
        height: 40px;
    }

    .colaboration-gallery {
        margin-block-start: 16px;
        gap: 24px 12px;
        padding-inline: 26px;
    }

    .wp-block-group:has(.colaboration-gallery) {
        margin-bottom: 50px !important;
    }

    .section-footer {
        padding-block-start: 24px;
    }


}

/*   TEACHER*/


/*  block left img */
.teacher-hero .wp-block-column .wp-block-post-featured-image img {
    border-radius: 12px;
    object-fit: cover;
}

.teacher-hero .wp-block-column .wp-block-columns {
    /*      display: grid !important;
        grid-template-columns: 1fr 2fr; */
    /* 	    grid-auto-rows: minmax(0px, auto);  */
    /* 	display: flex;
        flex-wrap: wrap;
        align-items: center!important; */
}

.teacher-info {
    /*     display: flex; */
    gap: 34px;
}

.img-crop-by-center img,
.img-crop-by-center {
    object-position: center !important;
}

@media (max-width: 540px) {
    .teacher-hero .wp-block-column .wp-block-post-featured-image img {
        height: 450px;
        object-fit: cover;
        object-position: center 20%;
    }
}

@media (max-width: 400px) {
    .teacher-hero .wp-block-column .wp-block-post-featured-image img {
        height: 300px;
        object-fit: cover;
    }
}

@media (min-width: 781px) {
    .teacher-hero {
        margin-top: 56px;
        /*     padding-bottom: 19px; */

    }

    .teacher-menu ul {
        gap: 12px !important;
    }

    .teacher-hero .wp-block-column figure img {
        min-height: 418px;
        /* min-width: 360px;  */
    }

    .teacher-info {
        min-height: 418px;
    }

    .teacher-hero {
        /*display: grid !important;*/
        grid-template-columns: 1fr 2fr !important;
        /*justify-content: center !important;*/
        /*align-items: center !important;*/
    }
}

/* @media(min-width: 1024px){
	.teacher-hero{
	gap: 9rem !important;
	}
	.teacher-hero .wp-block-column figure img{
	min-width: 380px;
	}
} */


/* block right text/buttons */
.teacher-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 12px;
    background-color: #F5F6FA;
    padding: 1.5rem 3rem;
}

@media (max-width: 781px) {
    .teacher-info {
        border-radius: 0px 0px 12px 12px;
        padding: 1.5rem !important;
    }
}

.wp-site-blocks .entry-content .teacher-menu .wp-block-navigation__container li a {
    border: 2px solid #F5C362;
    border-radius: 20px;
    padding: 11px 28px;
    font-weight: 800;
}

.teacher-menu ul li a:hover,
.teacher-menu ul li a[aria-current="page"] {
    background-color: #F5C362;
}


/*  form teacher */
.form-container .form-request-default {
    grid-auto-columns: minmax(250px, 550px);
}

.form-container .form-request-default .wp-block-group .wp-block-contact-form-7-contact-form-selector .wpcf7 form {
    display: flex;
    flex-direction: column;
}

.form-container .form-request-default .wp-block-group .wp-block-contact-form-7-contact-form-selector .wpcf7 form p label {;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
}

@media (max-width: 480px) {
    .form-container .form-request-default .wp-block-group .wp-block-contact-form-7-contact-form-selector .wpcf7 form p label {;
        font-size: 16px;
    }
}

.form-container .form-request-default .wp-block-group .wp-block-contact-form-7-contact-form-selector .wpcf7 form p label input {
    box-sizing: border-box;
    width: 100%;

}

/* Teachers reviews */
.wp-block-comments-query-loop ol li .wp-block-columns .wp-block-column {
    border-radius: 20px;
    padding: 2rem 3rem;
}

.wp-block-comments-query-loop ol li .wp-block-columns .wp-block-column .wp-block-comment-edit-link a {
    text-decoration: none;
    color: #002A56;
}


.wp-block-comments-query-loop .comment-respond form .logged-in-as a {
    text-decoration: none;
    color: #002A56;
}

.wp-block-post-comments-form input:not([type=submit]),
.wp-block-post-comments-form textarea {
    border-radius: 12px;
    background-color: #F5F6FA;
    border: none;
}

.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]) {
    padding: 13px 28px;
    max-width: 400px;
}

.wp-block-post-comments-form textarea {
    padding: 28px;
    min-width: 100%;
}

/*.wp-block-comments-query-loop .comment-respond form .form-submit {*/
/*    border: 2px solid #828282;*/
/*    border-radius: 13px;*/
/*    display: inline-block;*/
/*}*/

/*.wp-block-comments-query-loop .comment-respond form .form-submit input:hover {*/
/*    background-color: #F5C362;*/
/*}*/

.wp-block-comments-query-loop .comment-respond form label {
    display: none;

}

/*  BLOG */


.blog .wp-site-blocks .wp-block-query .wp-block-post-template .post .wp-block-post-featured-image a .wp-post-image,
.archive .wp-site-blocks .wp-block-column .wp-block-query .wp-block-post-template .post .wp-block-post-featured-image a .wp-post-image {
    border-radius: 12px 12px 0px 0px;
}

.blog .wp-site-blocks .wp-block-query .wp-block-post-template .post .wp-block-post-terms,
.archive .wp-site-blocks .wp-block-query .wp-block-post-template .post .wp-block-post-terms {
    padding-left: 12px;
}

.blog .wp-block-post-template .wp-block-post h2 a,
.archive .wp-block-post-template .wp-block-post h2 a {
    padding-left: 12px;
}

.blog .wp-block-post-template .wp-block-post .is-nowrap,
.archive .wp-block-post-template .wp-block-post .is-nowrap {
    padding-bottom: 12px;
}

.blog .wp-block-post-template .wp-block-post:first-child,
.archive .wp-block-post-template .wp-block-post:first-child {
    justify-content: flex-start !important;
}

.blog .wp-block-post-template .wp-block-post:first-child img,
.archive .wp-block-post-template .wp-block-post:first-child img {
    border-radius: 12px !important;
}

.blog .wp-block-post-template .wp-block-post:first-child,
.archive .wp-block-post-template .wp-block-post:first-child {
    /* 	max-height: 800px !important; */

}

/*  links of BLOG*/
.wp-block-query-pagination-next, .wp-block-query-pagination-previous {
    text-decoration: none;
    color: #002A56;
}

.wp-block-query-pagination-numbers span {
    text-decoration: none;
    color: #002A56;
}

.wp-block-query-pagination-numbers a {
    text-decoration: none;
    color: #002A56;
}

/*  buttons of blog*/
.blog .wp-block-query .wp-block-post-template .wp-block-post:not(:first-child) .wp-block-post-excerpt__more-text,
.archive .wp-block-query .wp-block-post-template .wp-block-post:not(:first-child) .wp-block-post-excerpt__more-text {
    display: none;
}

.wp-block-post-excerpt__more-text {
    /* display: none;  */
}

/*  mobile blog version*/
@media (min-width: 781px) {
    .blog .wp-site-blocks .wp-block-query .wp-block-post-template,
    .archive .wp-site-blocks .wp-block-query .wp-block-post-template {
        grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
        /* 		grid-auto-rows: 315px; */
    }
}

@media (max-width: 781px) {
    .blog .wp-site-blocks .wp-block-query .wp-block-post-template,
    .archive .wp-site-blocks .wp-block-query .wp-block-post-template {
        display: flex !important;
        flex-direction: column;
    }
}

/*  categories of blog */
@media (max-width: 781px) {
    .blog .wp-site-blocks .wp-block-categories-list li a,
    .archive .wp-site-blocks .wp-block-categories-list li a {
        white-space: nowrap;
    }

    .blog .wp-site-blocks .wp-block-categories-list,
    .archive .wp-site-blocks .wp-block-categories-list {
        overflow-x: scroll;
        scrollbar-width: none;
    }

    .blog .wp-site-blocks .wp-block-categories-list::-webkit-scrollbar,
    .archive .wp-site-blocks .wp-block-categories-list::-webkit-scrollbar {
        display: none;
    }

    .blog .wp-site-blocks .wp-block-categories-list .cat-item,
    .archive .wp-site-blocks .wp-block-categories-list .cat-item {
        margin: 5px 0;
    }
}


/*  POST PAGE */

.single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-post-featured-image img {
    max-height: 380px;
    width: 1280px;
    left: 80px;
    top: 126px;
    border-radius: 12px;
    object-fit: cover;
}

.single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-post-featured-image {
    margin-bottom: 0 !important;
}

.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query ul {
    display: grid;
    grid-template-columns: repeat(3, 305px);
    justify-content: center;
    gap: 20px;
    margin-top: 57px;
    padding-bottom: 57px;
}

.single .wp-site-blocks .wp-container-23 {
    /*width: 100%;*/
    /*min-height: 419px;*/
}

.wp-block-post-template li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #FFFFFF;
    border-radius: 12px;
    /* 	max-width: 305px;  */
}

.premium-mentors .wp-block-post-template li {
    background-color: transparent;
}

.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .wp-block-post .is-nowrap {
    padding-bottom: 12px;
}

.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .wp-block-post .wp-block-post-featured-image a img {
    max-height: 158px;
    border-radius: 12px 12px 0px 0px;
}

.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .wp-block-post h2 {
    font-family: Manrope;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    text-align: left;
    padding-left: 12px;
    font-weight: 900;
}

.wp-block-post-template li .wp-block-post-featured-image a img {
    /* max-height: 158px;  */
    object-fit: cover;
}

.wp-block-post-template li > .wp-block-group:not(.card-teacher) {
    padding-left: 12px;
    /* 	padding-bottom: 12px;  */
}

@media (min-width: 781px) {
    .single .wp-site-blocks .wp-block-group .wp-block-columns .wp-container-9 .wp-block-post-featured-image {
        padding-top: 59px !important;
    }

    .single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-group {
        max-width: 830px;
    }

    .single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column h1 {
        max-width: 830px;
    }

    .single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-post-content {
        max-width: 830px;
    }
}

@media (max-width: 781px) {
    .single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query ul {
        margin-top: 0px;
    }
}

@media (max-width: 991px) {
    .single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query ul {
        grid-template-columns: repeat( auto-fit, minmax(305px, 1fr) );
        padding: 1rem;
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query ul {
        padding: 2rem;
    }

    .single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-post-featured-image img {
        max-height: 150px !important;
    }

    .single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-post-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

.wp-block-post-terms {
    display: flex;
    /* 	gap: 6px;   */
    flex-wrap: wrap;

}

.wp-block-post-terms a {
    text-decoration: none;
    color: #002A56;
}

.wp-block-post-terms span {
    display: none;
}

.single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-post-content .wp-block-quote p {
    text-align: center;
}


.wp-block-quote.has-text-align-center.is-style-default {
    position: relative;
    padding-left: clamp(1.5rem, 8vw - 2rem, 5rem);;
    padding-right: clamp(1.5rem, 8vw - 2rem, 5rem);;
}

.single .wp-block-post-content .wp-block-quote p::before {
    content: url(../img/skob.svg);
    position: absolute;
    left: 0;
    top: 0;
}

.single .wp-block-post-content .wp-block-quote p::after {
    content: url(../img/skob.svg);
    position: absolute;
    transform: rotate(180deg);
    right: 0;
    top: 0;
}

@media (max-width: 767.8px) {
    .single .wp-block-post-content .wp-block-quote p::before {
        left: -14px;
        top: -10px;
    }

    .single .wp-block-post-content .wp-block-quote p::after {
        right: -14px;
        top: -10px;
    }
}


.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .post .wp-block-post-title a {
    font-family: Manrope;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    /* text-align: left; */
    font-weight: 900;
}

/*  categories*/
.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .post .wp-block-post-terms a:before {
    content: "#";
}

.single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-group .wp-block-post-terms a:before {
    content: "#";
}


.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .post .wp-block-post-terms {
    padding-left: 12px;
}

.single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-group .is-vertical .wp-block-post-date time {
    color: #002A56;
}

.single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-group .is-vertical .wp-block-post-author .wp-block-post-author__content p {
    font-size: 18px;
    font-weight: 700;
}


.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .post .wp-block-post-terms a {
    color: #002A56;
}

.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .wp-block-post .is-nowrap .has-text-color .wp-block-post-author__content p {
    color: #002A56;
    font-size: 12px;
    font-weight: 500;
}

.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .wp-block-post .is-nowrap .has-text-color time {
    color: #002A56;
}

.single .wp-site-blocks .wp-block-group .wp-block-columns .wp-block-column .wp-block-group .is-vertical .wp-block-post-author .wp-block-post-author__avatar img {
    border-radius: 100%;
}

.single-post .wp-block-post-date {
    font-size: 15px;
}

.single-post .wp-block-query .wp-block-post-terms {
    gap: 8px;
}

.single-post-info .wp-block-post-terms {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: end;
}

.single-post-info {
    position: relative;
}

.single-post-info .wp-block-post-date {
    position: absolute;
    bottom: 0;
    left: 64px;
}

@media (max-width: 768px) {
    .single-post .wp-block-post-author__avatar,
    .single-post .wp-block-post-author__avatar .avatar {
        height: 36px;
        width: 36px;
    }

    .single-post .wp-block-post-date {
        font-size: 11px;
    }

    .single-post-info .wp-block-post-terms {
        gap: 8px;
        font-size: 14px;
    }

    .single-post .single-post-info .wp-block-post-date {
        left: 52px;
    }

    .wp-block-quote.has-text-align-center.is-style-default {
        margin-top: 38px;
        margin-bottom: 20px;
    }

    .single-post .wp-block-query .wp-block-post-terms a,
    .single-post .wp-block-query p.wp-block-post-author__name,
    .single-post .wp-block-query .wp-block-post-date time {
        color: var(--wp--preset--color--gray) !important;
    }

    .single-post-info .wp-block-post-author .wp-block-post-author__content p {
        font-size: 14px !important;
    }

    .single-post-info .wp-block-post-author .wp-block-post-date time {
        text-transform: uppercase;
        font-size: 11px !important;
    }

    .single-post-info .wp-block-post-date {
        bottom: 10px;
    }

    .wp-block-post-author__name {
        margin-top: -3px;
    }
}

/*Кінець стилів Богдана*/

/*Стилі Деніса*/


ul.wp-block-categories-list {
    display: flex;
    list-style: none;
    padding: 0;
}

ul.wp-block-categories-list li a {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 150%;
    color: var(--wp--preset--color--blue);
    padding: 3px 10px;
    border: 1px solid var(--wp--preset--color--blue);
    border-radius: 6px;
    margin-right: 11px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

ul.wp-block-categories-list li a::before {
    content: "#";
}

body.blog .wp-block-post-template,
body.archive .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 40px 20px;
}

body.blog .wp-block-post-template .wp-block-post,
body.archive .wp-block-post-template .wp-block-post {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    justify-content: flex-start;
}

:where(.blog, .archive) .wp-block-post-excerpt {
    margin-bottom: auto;
}

body.blog .wp-block-post-terms__separator,
body.archive .wp-block-post-terms__separator {
    display: none;
}

body.blog .wp-block-post-template .wp-block-post h2,
body.archive .wp-block-post-template .wp-block-post h2 {
    font-size: var(--wp--custom--nav-font-size);
    line-height: 150%;
}

body.blog .wp-block-post-template .wp-block-post h2 a,
body.archive .wp-block-post-template .wp-block-post h2 a {
    color: var(--wp--preset--color--almost-black);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: var(--wp--custom--nav-font-size);
    line-height: 150%;
}

body.blog .wp-block-post-template .wp-block-post:not(:first-child) .wp-block-post-excerpt__excerpt,
body.archive .wp-block-post-template .wp-block-post:not(:first-child) .wp-block-post-excerpt__excerpt {
    display: none;
}

body.blog .wp-block-post-template .wp-block-post .taxonomy-category a,
body.archive .wp-block-post-template .wp-block-post .taxonomy-category a {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--wp--preset--color--gray);
    margin-right: 8px;
    text-decoration: none;
    text-transform: uppercase;
}

body.blog .wp-block-post-template .wp-block-post .taxonomy-category a::before,
body.archive .wp-block-post-template .wp-block-post .taxonomy-category a::before {
    content: "#";
}

.wp-block-post-template li > .wp-block-group:not(.card-teacher) {
    padding-left: 12px;
}

@media (min-width: 768px) {
    body.blog .wp-block-post-template .wp-block-post:first-child,
    body.archive .wp-block-post-template .wp-block-post:first-child {
        grid-column: auto / span 2;
        grid-row: auto / span 2;
        padding: 25px;
    }

    body.blog .wp-block-post-template .wp-block-post:first-child .wp-block-post-excerpt,
    body.archive .wp-block-post-template .wp-block-post:first-child .wp-block-post-excerpt {
        padding: 0 12px;
    }

    .blog .wp-block-post-template .wp-block-post:first-child .is-nowrap,
    .archive .wp-block-post-template .wp-block-post:first-child .is-nowrap {
        display: none;
    }
}

@media (max-width: 767px) {

    body.blog .wp-block-post-template,
    body.archive .wp-block-post-template {
        gap: 20px;
    }

    body.blog .wp-block-post-template .wp-block-post .wp-block-post-excerpt__excerpt,
    body.archive .wp-block-post-template .wp-block-post .wp-block-post-excerpt__excerpt {
        display: none;
    }

    .wp-block-post-excerpt__more-text {
        display: none;
    }

    body.blog .wp-block-post-template .wp-block-post:first-child,
    body.archive .wp-block-post-template .wp-block-post:first-child {
        padding: 0;
    }
}

.select2.select2-container .select2-selection {
    background-color: var(--wp--preset--color--light-gray);
    border-radius: 16px !important;
    padding: 13px 28px;
    font-family: 'Manrope', sans-serif;
    border: none;
    font-style: normal;
    font-weight: 400;
    font-size: var(--wp--preset--font-size--normal);
    line-height: 150%;
    color: var(--wp--preset--color--almost-black);
    min-height: 50px;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
    color: var(--wp--preset--color--gray);
    padding: 0;
    font-size: var(--wp--preset--font-size--normal);
    line-height: 28px;
    text-indent: initial;
}

.option_selected + .select2.select2-container .select2-selection .select2-selection__rendered {
    color: var(--wp--preset--color--almost-black);
    font-weight: 600;
}

.select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow[role="presentation"] {
    background: url("/wp-content/themes/profound-english/assets/images/arrow-down-thin.svg") no-repeat center;
    height: 50px;
    width: 42px;
    z-index: 1;
    top: 0;
    right: 0;
    transition: 0.2s;
}

.select2-container--open .select2-selection--single .select2-selection__arrow[role="presentation"] {
    transform: rotate(180deg);
}

.select2-container--open .select2-dropdown.select2-dropdown--below {
    margin-top: calc(3px + var(--wp-admin--admin-bar--height, 0px));
}

.select2-container .select2-dropdown .select2-results ul {
    border-radius: 16px;
    box-shadow: 0 8px 10px var(--wp--preset--color--cyan-bluish-gray);
    max-height: unset;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option {
    padding: 13px 28px;
    transition: 0.2s;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option:not(:last-child) {
    border-bottom: solid 1px #8282822e;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--wp--preset--color--light-gray);
    color: var(--wp--preset--color--almost-black);
    font-weight: 650;
}

.select2-container--default .select2-results__option--selected {
    background-color: var(--wp--preset--color--light-yellow) !important;
}

.select2-container .select2-dropdown {
    background: transparent;
    border: none;
    margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
    padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
    outline: none !important;
    border: none !important;
    border-bottom: none !important;
    padding: 4px 6px !important;
    border-radius: 0;
}

.select2-container .select2-dropdown .select2-results {
    padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
    background-color: var(--wp--preset--color--light-gray);
    border: none;
}

textarea {
    resize: none;
    min-height: 48px;
}

input::placeholder, textarea::placeholder {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: var(--wp--preset--font-size--normal);
    line-height: 150%;
    color: var(--wp--preset--color--gray);
    opacity: 1;
}

.wp-block-post-author__name {
    font-size: 12px;
}

/*Кінець стилів Деніса*/

.wp-block-columns, .wp-block-post-content .woocommerce, .section-navbar .profound-header {
    display: flex;
    width: var(--wp--custom--content-size);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-columns.alignfull {
    width: 100%;
    max-width: unset;
}

.wp-block-image figcaption {
    color: var(--wp--preset--color--caption);
    font-size: var(--wp--preset--font-size--caption);
}

.content-size-large {
    max-width: var(--wp--custom--content-size-large);
}

.content-size-medium {
    max-width: var(--wp--custom--content-size-medium);
}

.content-size-small {
    max-width: var(--wp--custom--content-size-small);
}

.wp-block-column {
    margin-left: auto !important;
    margin-right: auto !important;
}

.entry-content.wp-block-post-content > h1, .entry-content.wp-block-post-content > h2, .entry-content.wp-block-post-content > h3 {
    max-width: var(--wp--custom--content-size);
    margin-left: auto;
    margin-right: auto;
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-button__link,
.wp-block-post-excerpt__more-link {
    position: relative;
    z-index: 0;
    padding: 7px 24px;
    color: var(--wp--preset--color--almost-black);
}

.wp-block-post-excerpt__more-link {
    border-radius: 12px;
    border-color: var(--wp--preset--color--blue);
    border-width: 2px;
    border-style: solid;
    text-decoration: none;
}

.wp-block-button__link:active,
.wp-block-button__link:focus,
.wp-block-button__link:hover,
.wp-block-button__link:visited,
.wp-block-post-excerpt__more-link:active,
.wp-block-post-excerpt__more-link:focus,
.wp-block-post-excerpt__more-link:hover,
.wp-block-post-excerpt__more-link:visited {
    color: var(--wp--preset--color--almost-black);
}

.wp-block-button__link:before,
.wp-block-post-excerpt__more-link:before {
    content: '';
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    z-index: -1;
    top: 2px;
    left: 2px;
    border-radius: 9px;
    transition: var(--wp--custom--transition);
}

.wp-block-button__link:hover::before,
.wp-block-post-excerpt__more-link:hover::before {
    background-color: var(--wp--preset--color--light-yellow);
}

.wp-block-button__link:active::before,
.wp-block-post-excerpt__more-link:active::before {
    background-color: var(--wp--preset--color--yellow);
}

.wp-block-button__link:disabled,
a.wp-block-button__link:where(:not([href])),
.wp-block-post-excerpt__more-link:disabled,
.wp-block-post-excerpt__more-link:where(:not([href])) {
    border-color: var(--wp--preset--color--gray);
    color: var(--wp--preset--color--gray);
}

@media (max-width: 767.8px) {
    .wp-block-button__link,
    .wp-block-button__link:visited,
    .wp-block-post-excerpt__more-link,
    .wp-block-post-excerpt__more-link:visited {
        color: var(--wp--preset--color--blue);
        border-color: var(--wp--preset--color--blue);
    }

    .wp-block-button__link:before,
    .wp-block-post-excerpt__more-link:before {
        content: '';
        width: calc(100% - 2px);
        height: calc(100% - 2px);
        top: 1px;
        left: 1px;
        border-radius: 10px;
    }

    .wp-block-button__link:hover::before,
    .wp-block-button__link:active::before,
    .wp-block-post-excerpt__more-link:hover::before,
    .wp-block-post-excerpt__more-link:active::before {
        background-color: var(--wp--preset--color--blue);
    }

    .wp-block-button__link:active,
    .wp-block-button__link:focus,
    .wp-block-button__link:hover,
    .wp-block-post-excerpt__more-link:active,
    .wp-block-post-excerpt__more-link:focus,
    .wp-block-post-excerpt__more-link:hover {
        color: var(--wp--preset--color--white);
    }
}

.wp-block-latest-comments__comment-meta {
    color: transparent;
}

.wp-block-latest-comments__comment-meta .wp-block-latest-comments__comment-link {
    color: transparent;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.wp-block-latest-comments__comment-author {
    color: var(--wp--preset--color--almost-black);
    text-decoration: none;
}

.wp-block-latest-comments__comment article {
    display: flex;
    flex-direction: column-reverse;
}

html.has-modal-open body:before {
    content: '';
    z-index: 10;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--wp--preset--color--gray);
    opacity: 0.3;
}

.accordion p {
    overflow: hidden;
    transition: 0.5s max-height;
    will-change: max-height;
}

.accordion p.hide {
    max-height: 0 !important;
}

#teachers.wp-block-columns {
    overflow-x: hidden;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-block: 0;
}

.section-Teacher-slider {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-teacher--buttons {
    margin-top: 24px;
}

@media (min-width: 767.8px) {
    #teachers.wp-block-columns {
        padding-top: 73px;
        padding-bottom: 73px;
    }

    .teachers-scroller {
        max-width: none !important;
        overflow-x: scroll;
        overflow-y: hidden;
        scrollbar-width: none;
        margin-block: 0;
    }

    .teachers-scroller::-webkit-scrollbar {
        display: none; /* for Chrome, Safari, and Opera */
    }

    .teachers-scroller .card-teacher .wp-block-button__link {
        border-color: transparent;
        color: transparent;
    }

    .teachers-scroller .card-teacher:hover .wp-block-button__link, .teachers-scroller .card-teacher .wp-block-button__link:hover {
        border-color: var(--wp--preset--color--blue);
        color: var(--wp--preset--color--almost-black);
    }

    .section-Teacher-slider {
        max-width: none;
        flex-direction: row;
        padding-left: calc((100% - var(--wp--custom--content-size)) / 2);
        padding-right: calc((100% - var(--wp--custom--content-size)) / 2);
        width: max-content;
        padding-top: 50px;
    }

    .wp-block-group.card-teacher {
        width: 422px;
    }

    .card-teacher--buttons {
        margin-top: 28px;
    }
}

.wp-block-group.card-teacher p:last-of-type {
    margin-bottom: auto;
}

.custom-list-markers--check {
    padding-left: 62px;
}

.custom-list-markers--check li {
    position: relative;
    margin-bottom: 36px;
}

.custom-list-markers--check li:first-child {
    margin-bottom: 48px;
}

.custom-list-markers--check li::before {
    content: '';
    position: absolute;
    left: -62px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 50px;
    background-image: url('/wp-content/themes/profound-english/assets/img/marker-check.svg');
    background-size: contain;
}

@media (max-width: 991.8px) {
    .custom-list-markers--check {
        padding-left: 40px;
    }

    .custom-list-markers--check li {
        margin-bottom: 16px;
    }

    .custom-list-markers--check li:first-child {
        margin-bottom: 22px;
    }

    .custom-list-markers--check li::before {
        height: 32px;
        width: 32px;
        left: -40px;
    }
}


.wp-block-group.section-english-for-goals {
    justify-content: space-between !important;
    gap: 20px 40px;
    max-width: var(--wp--custom--content-size);
    margin-left: auto;
    margin-right: auto;
    padding: 68px 0 76px;
}

.wp-block-group.section-english-for-goals__header {
    margin-top: 60px;
    margin-bottom: 0;
}

.wp-block-group.section-english-for-goals .has-large-font-size {
    position: relative;
    margin-left: 44px;
}

.wp-block-group.section-english-for-goals p > img {
    position: absolute;
    top: 50%;
    left: -44px;
    transform: translateY(-50%);
}

@media (max-width: 991.8px) {
    .wp-block-group.section-english-for-goals {
        flex-direction: column;
        align-items: start;
        padding: 32px 0 60px;
        gap: 12px 46px;
    }
}

button.accordion-toggle,
button.slider-nav {
    position: relative;
    padding: 0;
    border: solid 3px var(--wp--preset--color--almost-black);
    border-radius: 50%;
    background-color: transparent;
}

button.accordion-toggle {
    min-width: 27px;
    width: 27px;
    height: 27px;
    margin: 4px;
    cursor: pointer;
}

button.accordion-toggle:before,
button.slider-nav:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
}

button.accordion-toggle:after,
button.slider-nav:after {
    content: '';
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
}

button.accordion-toggle:after {
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}

button.slider-nav:after {
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
}


button.accordion-toggle:hover:after,
button.accordion-toggle:focus:after,
button.slider-nav:hover:after,
button.slider-nav:focus:after {
    background-color: var(--wp--preset--color--light-yellow);
}

button.accordion-toggle:active:after,
button.slider-nav:active:after {
    background-color: var(--wp--preset--color--yellow);
}

button.accordion-toggle:before {
    background-image: url("/wp-content/themes/profound-english/assets/images/plus.svg");
}

button.accordion-toggle.active:before {
    background-image: url("/wp-content/themes/profound-english/assets/images/minus.svg");
}

button.slider-nav.slider-nav--left:before {
    background-image: url("/wp-content/themes/profound-english/assets/images/arrow-left.svg");
    background-position-x: 47%;
    background-size: 33%;
}

button.slider-nav.slider-nav--right:before {
    background-image: url("/wp-content/themes/profound-english/assets/images/arrow-right.svg");
    background-position-x: 53%;
    background-size: 33%;
}

button.slider-nav {
    width: 38px;
    height: 38px;
    margin: 4px;
}

button.slider-nav--left {
    margin-right: 20px;
}

@media (max-width: 767.8px) {
    button.slider-nav {
        display: none;
    }
}

.wp-block-post .taxonomy-category {
    color: var(--wp--preset--color--gray);
}

.wp-block-post .taxonomy-category a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--wp--preset--color--gray);
    font-size: var(--wp--preset--font-size--caption);
}

.wp-block-post .wp-block-post-title a {
    text-decoration: none;
    color: var(--wp--preset--color--almost-black);
}

.price-section .card-price-legend {
    display: grid;
    grid-template-rows: repeat(4, 80px);
    /*     justify-content: end;
        align-content: end; */
    max-width: 202px;
    margin-right: -16px !important;
    width: 100%;
    margin-left: calc(25% - 202px) !important;
    margin-top: 172px;
}

.price-section .card-price-legend p {
    border-top: solid 2px #E2E3E6;
    font-size: var(--wp--preset--font-size--medium) !important;
    margin: 0;
    padding: 24px 16px 24px 0;
    display: inline-flex;
    padding: 0;
    align-items: center;
}


.price-section h2 {
    margin-bottom: 54px;
}

.price-section .card-price {
    text-align: center;
    border-radius: 12px;
}

.price-section .card-price h3:first-child {
    margin-top: 39px;
    margin-bottom: 8px;
    white-space: nowrap;
}

.price-section .card-price h3:nth-child(2) {
    margin: 0 0 38px;
}

.price-section .card-price p {
    margin: 0;
    max-height: 80px;
    border-top: solid 2px #E2E3E6;
}

.price-section .card-price p:nth-child(even) {
    padding-block: 25px;
}

.price-section .card-price p:last-of-type {
    font-size: 15px !important;
    padding-block: 17px;
    text-align: start;
    max-height: none;
}

.price-section .card-price > * {
    padding-inline: 39px;
}

@media (max-width: 1199.8px) {
    .price-section h2 {
        margin-bottom: 40px;
    }

    .price-section .card-price h3:first-child {
        margin-top: 26px;
        margin-bottom: 14px;
    }

    .price-section .card-price h3:nth-child(2) {
        margin: 0 0 24px;
    }

    .price-section .card-price p:nth-child(even) {
        border-top: none;
        padding-block: 4px 13px;
    }

    .price-section .card-price p:last-of-type {
        font-size: 14px !important;
        padding-block: 12px 26px;
    }

    .price-section .card-price > * {
        padding-inline: 14px;
    }


    .card-price h3 {
        text-align: start;
    }

    .price-section .card-price-legend {
        display: none;
    }

    .price-section .card-price {
        text-align: start;
        padding: 0 22px 14px;
    }

    .price-section .card-price p:nth-child(odd) {
        padding-top: 12px;
    }

    .price-section .card-price p:empty {
        display: none;
    }
}

@media (min-width: 1199.8px) {
    .price-section .card-price p:nth-child(odd):not(:last-of-type) {
        display: none;
    }
}



.faq-buttons {
    margin-top: 3rem;
    margin-bottom: 9rem;
}

@media (max-width: 767.8px) {
    .faq-buttons {
        margin-top: 1.5rem;
        margin-bottom: 3.75rem;
    }
}

@media (min-width: 782px) {
    .wp-block-columns .section-what-you-will-get {
        gap: 63px;
    }

    .section-will-get-text > * {
        max-width: 502px;
    }

    .wp-block-columns.section-english-for-childrenn {
        gap: 80px;
    }

    .section-english-for-children-text > * {
        max-width: 480px;
        margin-left: auto !important;
    }
}

.wp-block-latest-comments__comment {
    display: grid;
    background-color: #F5F6FA;
    padding: 24px 52px;
    border-radius: 12px;
    justify-items: center;
    grid-template-rows: min-content;
}

.wp-block-latest-comments__comment article {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    margin-top: 35px;
    margin-bottom: auto;
    height: calc(100% - 35px);
    width: 100%;
}

.wp-block-latest-comments .avatar, .wp-block-latest-comments__comment-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

.wp-block-latest-comments__comment p {
    margin-top: 0;
}

.wp-block-latest-comments__comment p::before {
    content: url('/wp-content/themes/profound-english/assets/img/skob.svg');
    position: absolute;
    left: -24px;
    top: -35px;
}

.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt, .has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta {
    margin-left: 0;
}

.wp-block-latest-comments__comment-meta {
    pointer-events: none;
}

.wp-block-latest-comments__comment-meta .wp-block-latest-comments__comment-author {
    position: absolute;
    pointer-events: auto;
    right: 0;
    font-size: 15px;
    font-weight: 700;
}

.wp-block-latest-comments__comment-meta .wp-block-latest-comments__comment-author:before {
    content: '-';
    pointer-events: none;
}

.section-blog-left figure {
    margin-top: 0;
}

.section-blog-left figure img {
    aspect-ratio: 19/9;
}

@media (max-width: 781px) {
    .wp-block-columns.section-blog-inform {
        gap: 12px !important;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 767.8px) {
    .section-blog-right {
        gap: 12px;
    }

    .section-Blog-right-img.wp-block-post-featured-image {
        width: auto !important;
    }

    .section-Blog-right-img img {
        border-radius: 8px;
        aspect-ratio: 10/9;
        height: auto !important;
    }

    .wp-block-group.section-blog-right__rows .is-vertical.wp-block-group {
        gap: 0;
    }
}

.section-blog-inform .wp-block-column:not(.section-blog-left) .wp-block-query,
.section-blog-right {
    height: 100%;
}

.section-blog-right__rows {
    /*margin-inline: auto;*/
}

.section-blog-inform .taxonomy-category {
    display: initial;
}

.section-blog-inform .taxonomy-category .wp-block-post-terms__separator {
    display: initial;
}

.wp-block-post-excerpt__more-text {
    margin-top: 40px;
    margin-bottom: 0;
}

.section-blog-left .wp-block-post-excerpt__excerpt {
    margin: 0;
}


.wp-block-columns h2.offset-heading {
    padding-left: clamp(0rem, 18vw - 9rem, 7.25rem);;
}

@media (max-width: 767.8px) {
    h1.has-text-align-center,
    h2.has-text-align-center,
    .has-heading-1-font-size,
    .main-center-text {
        text-align: left;
    }

    .main-center-text {
        font-size: 15px !important;
    }

    .main-center-text br {
        display: none;
    }

    .wp-block-image figcaption {
        text-align: left;
        font-size: 12px;
    }

    .reviews-card.wp-block-latest-comments {
        grid-auto-rows: auto;
    }
}

body.blog .wp-block-post-template .wp-block-post:first-child img,
body.archive .wp-block-post-template .wp-block-post:first-child img {
    aspect-ratio: 580/335;
}

body.blog .wp-block-post-template .wp-block-post:not(:first-child) img,
body.archive .wp-block-post-template .wp-block-post:not(:first-child) img {
    aspect-ratio: 305/158;
}

.single-post .wp-block-post-author__avatar {
    height: 48px;
}

.single-post h1.wp-block-post-title {
    margin-top: 33px;
}

.wp-block-quote.has-text-align-center.is-style-default p {
    font-size: var(--wp--preset--font-size--x-large);
}

.wp-block-quote.has-text-align-center.is-style-default {
    margin-top: 103px;
    margin-bottom: 96px;
}

.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .wp-block-post h2 + div {
    margin-top: 23px;
}

.single .wp-site-blocks .wp-block-columns .wp-block-column .wp-block-query .wp-block-post-template .wp-block-post h2 {
    margin: 8px 0 auto;
}

.blog .ul.wp-block-categories-list .cat-item a,
.archive .ul.wp-block-categories-list .cat-item a {
    white-space: nowrap;
}

.blog ul.wp-block-categories-list,
.archive ul.wp-block-categories-list {
    overflow-x: scroll;
    scrollbar-width: none;
}

.blog ul.wp-block-categories-list::-webkit-scrollbar,
.archive ul.wp-block-categories-list::-webkit-scrollbar {
    display: none;
}

.blog ul.wp-block-categories-list .cat-item,
.archive ul.wp-block-categories-list .cat-item {
    margin: 5px 0;
}

.form-request {
    display: none;
    /*height: 503px;*/
    gap: 8px;
    margin-bottom: 50px;
}

.form-request.show {
    display: grid;
}

.form-request-default {
    grid-template-rows: 102px auto;
}

.form-request-success {
    grid-template-rows: 160px 335px;
}

.form-request .has-white-background-color {
    border-radius: 16px;
}

.form-request p.has-white-background-color {
    margin-block: auto;
    padding-block: 36px;
}

.form-request-success p.has-white-background-color {
    padding-block: 65px;
}

.form-request-success div.has-white-background-color {
    display: flex;
    flex-direction: column;
}

.form-request-success div.has-white-background-color p {
    margin-top: 99px;
    margin-bottom: 38px;
}

.form-request-success div.has-white-background-color button {
    margin-bottom: 122px;
    margin-inline: auto;
    padding: 4px 60px;
    background-color: var(--wp--preset--color--white);
    border: solid 2px var(--wp--preset--color--blue);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
}

.form-request .wpcf7-response-output {
    display: none;
}

.wpcf7-submit.wp-block-button__link:focus {
    color: var(--wp--preset--color--gray);
}

@media (max-width: 500px) {
    .form-request-default {
        grid-template-rows: 146px 496px;
        height: 650px;
    }

    .form-request.form-request-success {
        grid-template-rows: 146px 496px;
        height: 650px;
    }

    .form-request p.has-white-background-color {
        padding-block: 43px;
    }

    .form-request-success p.has-white-background-color {
        padding-block: 57px;
    }
}

#finish-booking .wp-block-contact-form-7-contact-form-selector {
    margin-top: 42px;
    margin-bottom: 75px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form-control, .select2.select2-container {
    margin-top: 4px;
    margin-bottom: 20px;
}

.wpcf7-submit,
.form-submit .submit.wp-block-button__link {
    width: auto;
    padding: 9px 45px;
    line-height: 24px;
    font-size: 20px;
    font-weight: 600;
    color: var(--wp--preset--color--gray);
    background-color: transparent;
    border: 2px solid var(--wp--preset--color--gray);
    border-radius: 12px;
    transition: var(--wp--custom--transition);
}

.form-submit .submit.wp-block-button__link:before {
    /*display: none !important;*/
}

@media (max-width: 500px) {
    .wpcf7-submit,
    .form-submit .submit.wp-block-button__link {
        font-weight: 700;
        font-size: 15px;
        padding: 5px 28px;
    }
}

.wpcf7-submit.wp-block-button__link:hover {
    color: var(--wp--preset--color--almost-black);
}

label {
    font-weight: 700;
}

.select2-container {
    max-width: 516px;
}

.confirm-popup-wrapper {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    justify-items: center;
    align-items: center;
    background-color: rgba(130, 130, 130, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.confirm-popup-wrapper.show {
    opacity: 1;
    pointer-events: auto;
}

.confirm-popup {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 20px;
    width: 100%;
    max-width: min(95%, 400px);
    padding: 43px;
    background-color: var(--wp--preset--color--light-gray);
    border-radius: 20px;
}

.confirm-popup h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.confirm-popup p {
    font-size: 18px;
    text-indent: initial;
}



.booking-form .wpcf7-response-output {
    display: none;
}

.page:not(.home) .wp-block-post-featured-image {
    margin-bottom: 0;
}

.form-request.form-request-success {
    grid-auto-columns: minmax(250px, 550px);
}

.single-publication-info {
    min-width: 150px;
}

.teacher-hero .wp-block-post-featured-image {
    margin: 0;
}

select.select2-hidden-accessible {
    visibility: hidden;
}

.teacher-hero .wp-block-column:not(.teacher-info),
.teacher-hero .wp-block-post-featured-image,
.teacher-hero img {
    height: 100%;
}

#wpadminbar.mobile .quicklinks {
    display: flex;
    justify-content: space-between;
    overflow-x: scroll;
    overflow-y: hidden;
}

#wpadminbar.mobile .ab-top-menu {
    display: flex;
}

#wpadminbar .screen-reader-shortcut {
    left: -1000em;
}

button.button {
    font-weight: 600;
    background-color: var(--wp--preset--color--white);
    border-radius: 12px;
    border-color: var(--wp--preset--color--blue);
    border-width: 2px;
    border-style: solid;
    padding: 9px 45px;
    color: var(--wp--preset--color--almost-black);
    font-size: var(--wp--custom--nav-font-size);
    transition: var(--wp--custom--transition);
}

.button--gray {
    font-weight: 600;
    border-color: var(--wp--preset--color--gray);
    color: var(--wp--preset--color--gray);
}

.button--gray:hover {
    border-color: var(--wp--preset--color--blue) !important;
    color: var(--wp--preset--color--almost-black) !important;
}

.single-hero-image {
    margin-top: clamp(1.25rem, 4vw, 3.125rem);
}

.home .wp-block-post-content h1 {
    margin-top: clamp(2.25rem, 9vw, 6.875rem);
}

.blog h1,
.archive h1 {
    margin-top: clamp(1.25rem, 4vw + 0.25rem, 3.5rem);
}

.gap-0 {
    gap: 0;
}

.card-clubs {
    padding: clamp(1rem, 0.6vw + 1rem, 1.5rem);
}

.card-club--buttons {
    width: 100%;
    padding: 1rem;
}


/* Сині кнопки */
.blue-button a {
    color: var(--wp--preset--color--blue);
    border-color: var(--wp--preset--color--blue);
}

.blue-button a:before {
    content: '';
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    top: 1px;
    left: 1px;
    border-radius: 10px;
}

.blue-button a:hover::before,
.blue-button a:active::before {
    background-color: var(--wp--preset--color--blue);
}

.blue-button a:active,
.blue-button:hover a {
    color: var(--wp--preset--color--white) !important;
}

#clubs {
    margin-bottom: 0;
}

.card-clubs h3 {
    margin-top: 0.925rem;
}

.card-clubs h4 {
    margin-top: 0.5rem;
}

.card-clubs > p + div {
    margin-top: 1.5rem;
}

.card-clubs figure {
    width: 100px;
    height: 100px;
}

@media (max-width: 768px) {
    .card-clubs figure {
        width: 60px;
        height: 60px;
    }
}

.card-clubs .is-nowrap.is-layout-flex.wp-block-group {
    margin-bottom: 0.5rem;
}

.club_mb-2 {
    margin-bottom: 2rem;
}

.club_gap-4 {
    gap: 4rem;
}

@media (max-width: 768px) {
    .club_mb-2 {
        margin-bottom: 1rem;
    }

    .club_gap-4 {
        gap: 2rem;
    }
}

[aria-current] .wp-block-navigation-item__label {
    display: grid;
    gap: 10px;
    grid-auto-flow: column;
    align-items: center;
}

[aria-current] .wp-block-navigation-item__label:before {
    width: 32px;
    height: 28px;
    display: block;
}

.speaking_club_icon [aria-current] .wp-block-navigation-item__label:before {
    width: 32px;
    content: url("/wp-content/themes/profound-english/assets/images/ChatsCircle.svg");
}

.reading_club_icon [aria-current] .wp-block-navigation-item__label:before {
    content: url("/wp-content/themes/profound-english/assets/images/Books.svg");
}

.serials_club_icon [aria-current] .wp-block-navigation-item__label:before {
    content: url("/wp-content/themes/profound-english/assets/images/Popcorn.svg");
}

.club-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 12px;
    background-color: #F5F6FA;
    padding: 2rem 3rem;
    gap: 40px;
}

@media (max-width: 781px) {
    .club-info {
        padding: 1.5rem;
        gap: 23px;
    }
}

@media (min-width: 781px) {
    .club-info {
        margin-top: 56px;
    }
}

.mtph9_tooltip {
    /*   position: fixed;
     top: -1000px;
      left: -1000px; */
    position: absolute;
    top:45px;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 9;
    pointer-events: none;
}

.mtph9_tooltip_inner {
    position: relative;
    display: block;
    background-color: var(--wp--preset--color--almost-black);
    color: var(--wp--preset--color--white);
    padding: 0.5em;
    font-size: var(--wp--preset--font-size--small);
    border-radius: 0.5em;
}

.mtph9_tooltip_inner:before {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -4.5px;
    margin-top: -9px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--wp--preset--color--almost-black) transparent;
}

.mtph9_tooltip--visible {
    opacity: 1;
}

#community .section-why-we-2 .wp-block-gallery.has-nested-images figure.wp-block-image {
    width: auto;
    max-width: max-content;
}

.section-why-we-2 .wp-block-gallery.has-nested-images figure.wp-block-image img {
    max-height: 120px;
    object-fit: contain;
    object-position: left;
}

.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.section-footer {
    margin-top: auto;
}

.wp-block-columns.mtph9_advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2rem;
}

@media (max-width: 375px) {
    .wp-block-columns.mtph9_advantages {
        grid-template-columns: initial;
    }
}

.mtph9_advantages .wp-block-column {
    border-radius: 15px;
    padding: 2em 3em;
    background-color: white;
    transition: background-color 0.3s;
    cursor: pointer;
}

.mtph9_advantages .wp-block-column:hover {
    background-color: var(--wp--preset--color--light-yellow);
}

.mtph9_advantages .wp-block-column > :where(h2, h3, h4, h5) {
    margin-top: 0;
    margin-bottom: 12px;
}

.mtph9_advantages .wp-block-column > p {
    margin-bottom: 0;
}

.heading-margin-12 {
    margin-bottom: 12px;
}

.mtph9_steps {
    flex-wrap: wrap !important;
    gap: 2em;
}

.mtph9_steps .wp-block-column > :where(h2, h3, h4, h5) {
    margin-top: 0;
    margin-bottom: 12px;
}

.mtph9_steps .wp-block-column > p {
    margin: 0;
    white-space: nowrap;
}

.mtph9_steps .wp-block-column {
    border-radius: 15px;
    padding: 2em 3em;
    min-width: min(330px, 100%);
    background-color: white;
    transition: background-color 0.3s;
    cursor: pointer;
}

.mtph9_steps .wp-block-column:hover {
    background-color: var(--wp--preset--color--yellow);
}

.grid-align-center {
    display: grid;
    align-content: center;
}

.gap-3-5 {
    gap: 3rem 5rem;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.p-0 {
    padding: 0 !important;
}

.toggler-button {
    min-width: 150px;
    white-space: nowrap;
}

.toggler-button.active a:before {
    background-color: var(--wp--preset--color--yellow);
}

.button-toggled.hidden:not(.block-editor-block-list__block) {
    display: none;
}

.mt-48 {
    margin-top: 48px !important;
}

.mt-2 {
    margin-top: 20px !important;
}

:where(.blog, .archive) .wp-block-query .wp-block-post .taxonomy-category {
    margin-top: 12px;
}

:where(.blog, .archive) .wp-block-query .wp-block-post:first-child .taxonomy-category {
    margin-top: 26px;
}

dialog {
    animation: fade-out 0.2s ease-out;
}

dialog[open] {
    animation: fade-in 0.2s ease-out;
}

dialog[open]::backdrop {
    animation: backdrop-fade-in 0.2s ease-out forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        display: none;
    }

    100% {
        opacity: 1;
        display: block;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
        display: block;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

@keyframes backdrop-fade-in {
    0% {
        background-color: rgb(0 0 0 / 0);
    }

    100% {
        background-color: rgb(0 0 0 / 0.25);
    }
}

.modal_auth[open] {
    display: flex;
    max-width: 568px;
    min-width: 540px;
    padding: 48px var(--space-11, 32px) var(--space-11, 32px) var(--space-11, 32px);
    flex-direction: column;
    align-items: center;
    gap: var(--space-11, 32px);
    border: none;
    border-radius: 20px;
    background: var(--White, #FFF);
    box-shadow: 0 15px 34.136px -16px rgba(34, 34, 34, 0.20);
}

.modal_auth__title {
    color: var(--Black, #131313);
    text-align: center;
    font-family: Manrope, sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 31.2px */
    margin: 0;
}

.modal_auth__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6, 12px);
}

.modal_auth__buttons .wp-block-button, .modal_auth__buttons .wp-block-button__link {
    width: 100%;
}

.modal_auth__info {
    color: var(--Gray-2, #4F4F4F);
    text-align: center;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    margin: 0;
}

.modal_auth__info a {
    color: var(--Gray-2, #4F4F4F);
    font-family: Manrope, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.wp-image-2444 {
    vertical-align: bottom;
    width: 20px !important;
    height: 20px;
}

.d-none {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-hide-teachers .card-teacher:nth-child(4) ~ .card-teacher {
        display: none;
    }
}

.teacher-menu {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: none;

    &::-webkit-scrollbar {
        display: none;
    }
}

.teacher-menu ul {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    width: max-content;
}

.teacher-menu ul li {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.teacher-info {
    position: relative;
}

.teacher-menu {
    user-select: none;
}

@keyframes scrollhint {
    0% {
        transform: translateX(100%);
    }
    80% {
        opacity: 1
    }
    100% {
        transform: translateX(0%);
        opacity: 0
    }
}

.card-teacher > .wp-block-group {
    width: 100%;
}


/*course card*/

.course-card-author .wp-block-post-author__avatar img {
    border-radius: 100%;
    max-height: 40px;
    max-width: 40px;
}

.course-card-author .wp-block-post-author__content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-card-author .wp-block-post-author__content .wp-block-post-author__byline {
    width: auto;
    font-size: 12px;
}

.course-card-author .wp-block-post-author__content .wp-block-post-author__name a {
    text-decoration: none;
}

.course-card-author > a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card-more {
    width: 100%;
}


/*rating*/
.comment-form-rating-label {
    display: flex;
    gap: 8px;
}

.comment-form-rating-label label {
    border: 1px solid #CBCBCB;
    border-radius: 12px;
    padding: 12px 17px;
    font-family: Manrope;
    font-size: 18px;
    font-weight: 500;
    line-height: 25.2px;
    gap: 4px;
    position: relative;
    display: flex;
    align-items: center;
}

@media ( width <= 992px) {
    .comment-form-rating-label label {
        padding: 12px 15px;
    }
}

.comment-form-rating-label label:has(input:checked) {
    background: var(--wp--preset--color--yellow);
    color: white;
    border-color: white;
}

.comment-form-rating-label label:has(input:checked) svg path {
    fill: white;
}

.comment-form-rating-label label input {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    margin: 0;
    z-index: 1;
    opacity: 0;
}
.course-card-title {
    min-height: 30px;
}
.course-card-title figure {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    font-family: Manrope;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

@media (max-width: 600px) {
    .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
        gap: 16px;
    }

    .course-card .wp-block-group:has(.course-card-title ) {
        padding-bottom: 28px !important;
    }

    .course-card .wp-block-post-excerpt__excerpt {
        font-size: 16px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* number of lines to show */
        line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .course-card-author .wp-block-post-author__name {
        margin-top: 0;
    }

    .course-archive-h1 {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }
}


[lang="en-GB"] .is-style-column-rounded-featured::before {
    content: 'Recommended'
}

.teacher-hero .wp-block-video, .teacher-hero .wp-block-video video {
    border-radius: inherit;
}

body:has(#info-modal) .teacher-hero .wp-block-post-featured-image {
    position: relative;
    cursor: pointer;
}

body:has(#info-modal) .teacher-hero .wp-block-post-featured-image:after {
    position: absolute;
    content: '';
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' fill='none'%3E%3Cg stroke='%23002A56' stroke-width='4' clip-path='url(%23a)'%3E%3Cpath fill='%23F5F6FA' stroke-miterlimit='10' d='M32 56a24 24 0 1 0 0-48 24 24 0 0 0 0 48Z'/%3E%3Cpath fill='%23002A56' stroke-linecap='round' stroke-linejoin='round' d='M43 32 27 22v20l16-10Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h64v64H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A") center no-repeat;
    display: block;
    width: 64px;
    height: 64px;
    bottom: 12px;
    right: 12px;
}

/*some dialog styling*/

.dialog--default {
    border: none;
    border-radius: 20px;
    background-color: white;
    padding: 32px 16px 40px;
    width: 100%;
    max-width: 850px;


    button[data-dialog-close] {
        display: block;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3E%3Cg stroke='%234F4F4F' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.67' clip-path='url(%23a)'%3E%3Cpath d='M25 7 7 25m18 0L7 7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h32v32H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A") center no-repeat;
        border: none;
        width: 32px;
        height: 32px;
        padding: 0;
        margin: 0 0 0 auto;
        cursor: pointer;
        transition: transform 0.2s ease-out;
    }
}

@media (width > 768px) {
    .dialog--default {
        padding: 32px 48px 56px;
    }
}

.info-modal__content {
    display: flex;
    flex-direction: column;
    gap: 24px;

    .title {
        margin: 0;
    }

    .info-modal-video {
        aspect-ratio: auto;
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }

    a.button {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 0.5ch;
        background-color: #002A56;
        color: white;
        border-radius: 12px;
        min-height: 50px;
        padding-inline: 40px;
        min-width: 290px;
        margin-block-start: 42px;
        text-decoration: none;
        text-wrap: nowrap;
        text-align: center;
    }

    .info-modal__description {
        background-color: #F5F6FA;
        border-radius: 20px;
        padding: 24px 16px 28px;

        p:first-child {
            margin-block-start: 0;
        }

        p:last-child {
            margin-block-end: 0;
        }
    }
}

@media (width > 768px) {
    .info-modal__content {
        .info-modal__description {
            padding-inline: 32px;
        }
    }
}

@media (width <= 768px) {
    .info-modal__content {
        a.button {
            width: 100%;
            text-align: center;

            span {
                display: none;
            }
        }
    }
}


/*archive mentor*/

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) h2.wp-block-heading {
    font-size: 32px;
    font-weight: 800;
    line-height: 48px;
    margin-bottom: 16px;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-site-blocks .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 0px 32px;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-site-blocks .wp-block-query .wp-block-post-template li {
    margin-block-start: 0px !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post:first-child {
    grid-column: unset !important;
    grid-row: unset !important;
    padding: 0 !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post .wp-block-post-excerpt__excerpt {
    display: -webkit-box !important
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post img {
    aspect-ratio: 200 / 240 !important;
    max-width: 200px;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-column {
    margin: 0 !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-column > a {
    margin-top: auto !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-column:has(.wp-block-post-featured-image img) {
    max-width: 200px;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-column figure {
    margin-top: 0 !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-column:has(.wp-block-post-title) {
    display: flex;
    flex-direction: column;
    background: var(--wp--preset--color--light-gray);
    border-radius: 20px;
    flex-basis: 0 !important;
    flex-grow: 1 !important;
    gap: 12px;
    max-width: 906px;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post-excerpt {
    padding: 0 !important;
    margin: 0 !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post-excerpt p {
    display: -webkit-box; /* Гнучкий контейнер для обрізання тексту */
    -webkit-box-orient: vertical; /* Установка вертикальної орієнтації */
    overflow: hidden; /* Приховує текст, що виходить за межі */
    text-overflow: ellipsis; /* Додає багатокрапку */
    -webkit-line-clamp: 3; /* Ліміт на 3 рядки */
    line-height: 1.5; /* Визначає висоту кожного рядка */
    max-height: calc(1.5em * 3); /* Обмежує висоту блоку до трьох рядків */
    max-width: 100%; /* Додаємо ширину для роботи `text-overflow` */
    word-break: break-word; /* Розриває слова для уникнення довгих рядків */
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post h2 a {
    padding: 0 !important;
    font-size: var(--wp--preset--font-size--heading-4) !important;
    font-weight: 800 !important;
    color: var(--wp--preset--color--black) !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-query-pagination {
    margin-block-start: 64px !important;
    gap: 0 !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-query-pagination:has(.wp-block-query-pagination-previous) .wp-block-query-pagination-numbers {
    margin-left: unset !important;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-query-pagination .wp-block-query-pagination-numbers {
    margin-left: auto;
}

.content-size-container {
    max-width: 1130px;
}

.mentor-back--button {
    margin-left: auto;
    margin-right: auto;
    gap: 8px;
}

.mentor-back--button a {
    font-family: Manrope;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    text-decoration: none;
    color: var(--wp--preset--color--almost-black);
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-site-blocks .wp-block-query .wp-block-post-template li {
    padding-top: 16px;
}

:root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template li .wp-block-group {
    padding-left: 0 !important;
}

.wp-block-categories-list.wp-block-categories:has(.cat-item-none) {
    display: none;
}

@media (max-width: 768px) {
    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post img {
        aspect-ratio: 1/1 !important;
    }

    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post h2 {
        margin: 0 !important;
    }

    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-column:has(.wp-block-post-featured-image img), :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category) .wp-block-post-template .wp-block-post img {
        max-width: 100%;
    }

    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-column:has(.wp-block-post-title) {
        background: none;
        padding: 0;
    }

    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-query-pagination {
        flex-direction: column;
        align-items: center;
        gap: 16px !important;
    }

    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-post-excerpt p {
        -webkit-line-clamp: 4; /* Ліміт на 3 рядки */
        max-height: calc(1.5em * 4); /* Обмежує висоту блоку до трьох рядків */
        font-size: 16px !important;
    }

    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-query-pagination .wp-block-query-pagination-numbers {
        margin-left: unset;
    }

    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-post-template .wp-block-column > a {
        width: 100%;
        text-align: center;
    }

    :root :where(.post-type-archive-mentor-schedule, .tax-mentor_category, .tag) .wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
        margin-inline-start: unset;
    }

    .wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child {
        margin-inline-end: unset;
    }

    .mentor-back--button {
        display: none !important;
    }
}


.loop-mentors-row .wp-block-post-template {
    display: flex;
    gap: 16px;
}

.card-teacher--image {
    max-width: 150px;
}

@media (width < 768px) {
    .loop-mentors-row .wp-block-post-template {
        flex-direction: column;
    }

    .card-teacher--image {
        max-width: 80px;
    }

    .card-teacher {
        padding: 24px;
    }
}

.loop-mentors-row .wp-block-post {
    margin-block-start: 0;
    border-radius: 20px;
}

.loop-mentors-row .wp-block-post .wp-block-group {
    height: 100%;
}

.loop-mentors-row .wp-block-post .wp-block-post-excerpt {
    margin-block-end: auto;
}

.cover-more-mentors {
    background-color: white;
    min-width: min(422px, 100%);
}
.cover-more-mentors img {
    object-fit: contain !important;
}

body.home {
    overflow-x: hidden;
}

/* New important */
.wp-block-group.section-english-for-goals > p.has-background > img {
    position: unset;
    margin-inline-end: 8px;
    transform: unset;
}

.wp-block-group.section-english-for-goals > p.has-background {
    padding: 24px;
    border-radius: 16px;
    line-height: 1.7em;
    margin-inline: 0;
}

@media (width < 992px) {
    .wp-block-group.section-english-for-goals > p.has-background {
        width: 100%;
    }
}

@media (width >= 992px) {
    .how-sign-up .wp-block-group {
        flex-direction: row-reverse;
        justify-content: space-between
    }
}

:root :where(p > img, p > a > img) {
    margin-inline-end: 0.5ch;
    vertical-align: bottom;
}

.wpcf7-form button {
    max-width: 516px;
}
/* New important - END */

/*   Mentors Page */

.hide-on-desktop {
    display: none!important;
}

.premium-mentors,
.main-mentors {
    max-height: 642px;
    overflow-y: scroll;
}
.main-mentors {
    scrollbar-width: thin;
    scrollbar-color: #EBECF0 transparent;
}
.premium-mentors {
    scrollbar-width: thin;
    scrollbar-color: #677B94 transparent;
}
.main-mentors::-webkit-scrollbar,
.premium-mentors::-webkit-scrollbar
{
    width: 8px;
}
.main-mentors::-webkit-scrollbar-thumb,
.premium-mentors::-webkit-scrollbar-thumb{
    background-color: #EBECF0;
    border-radius: 100px;
}
.main-mentors::-webkit-scrollbar-track,
.premium-mentors::-webkit-scrollbar-track{
    background: #F5F6FA;
}
.main-mentors::-webkit-scrollbar-button,
.premium-mentors::-webkit-scrollbar-button {
    display: none;
    height: 0;
    width: 0;
}
.members-card-list {
    list-style: none;
    padding-left: 0px;
}
.members-card-list li {
    background: url('/wp-content/uploads/2025/07/check.png') no-repeat left center;
    background-size: 16px 16px;
    padding-left: 24px;
}
.premium-cards .members-card-list li {
    background: url('/wp-content/uploads/2025/07/check-white.png') no-repeat left center;
    background-size: 16px 16px;
}
.premium-badges {
    position: absolute;
    top:-48px;
    right:10px;
}
.mobile-price-accordion {
    display:none;
}

@media (max-width: 1300px) {
    .mentors-blocks {
        flex-direction:column;
        margin-top: 10px!important;
    }
    .mentors-blocks .main-cards,
    .mentors-blocks .premium-cards,
    .page-id-4484 h1 {
        width:80%;
    }
    .main-mentors ul li .mentor-image,
    .premium-mentors ul li .mentor-image{
        flex-grow: 1!important;
        flex-shrink: 0!important;
    }
    .main-mentors ul li .mentor-content,
    .premium-mentors ul li .mentor-content{
        flex-basis: auto!important;
    }
}
@media (max-width: 900px) {
    .mentors-blocks .main-cards,
    .mentors-blocks .premium-cards,
    .page-id-4484 h1 {
        width:100%;
    }
    .main-mentors ul li > div,
    .premium-mentors ul li > div{
        padding-right: 12px!important;
    }
}
@media (max-width: 767px) {
    .page-id-4484 h1 {
        font-size: 32px!important;
    }
    .page-id-4484 .main-section,
    .page-id-4740 .main-section{
        padding-top: 0px!important;
        padding-left: 16px!important;
        padding-right: 16px!important;
    }
    .page-id-4484 .mentors-blocks,
    .page-id-4740 .mentors-blocks {
        gap:20px!important;
        margin-top: 0px !important;
    }
    .page-id-17 .mentors-blocks, .page-id-4691 .mentors-blocks {width:100%}
    .page-id-4484 .cta-section {
        padding-bottom: 40px!important;
        padding-left: 16px!important;
        padding-right: 16px!important;
    }
    .main-cards,
    .premium-cards {
        padding: 16px!important;
    }
    .main-cards h2,
    .premium-cards h2,
    .cta-section h2 {
        font-size: 24px!important;
    }
    .main-cards h4,
    .premium-cards h4 {
        font-size: 20px!important;
    }
    .main-cards h2 img,
    .premium-cards h2 img {
        width: 24px!important;
    }
    .main-cards ul,
    .premium-cards ul,
    .cta-section p{
        font-size: 14px!important;
    }
    .page-id-4484 .main-cards ul,
    .page-id-4740 .main-cards ul{
        margin-top: 7px;

        li {margin-bottom:4px!important;}
    }
    .wp-container-core-group-is-layout-1026f38c > * + *,
    .premium-cards > div .wp-block-buttons{
        margin-block-start: 0px;
    }
    .premium-cards > div > ul {margin-block-start: 7px;}
    .page-id-4484 .main-cards,
    .page-id-4740 .main-cards,
    .page-id-4484 .premium-cards,
    .page-id-4740 .premium-cards{
        .wp-block-button a {
            padding-top: 10px!important;
            padding-bottom: 10px!important;
        }
    }
    .members-card-list li,
    .premium-cards .members-card-list li {
        background-size: 12px 12px;
        padding-left: 20px;
    }
    .card-prices {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .card-prices > div {
        display: flex;
        gap:8px;
        flex-basis: auto!important;
        width: 100%;
        justify-content: space-between;
    }
    .card-prices > div p {
        font-size: 16px!important;
        margin-top: 0px!important;
    }
    .mentor-image {
        flex-basis: 100px!important;
    }
    .mentor-image figure,
    .mentor-image img{
        width: 100px!important;
        height: 130px!important;
    }
    .premium-mentors, .main-mentors {
        max-height: 445px;
    }
    .main-mentors ul li > div,
    .premium-mentors ul li > div {
        min-height: 120px!important;
        padding-right: 6px!important;
    }
    .main-mentors ul li > div > div,
    .premium-mentors ul li > div > div {
        column-gap: 8px!important;
    }
    .mentor-content {
        padding-right: 8px!important;
        padding-left: 8px!important;
    }
    .mentor-content > div {
        min-height: 120px!important;
        padding-top: 8px!important;
        padding-bottom: 8px!important;
    }
    .mentor-content h5 {
        font-size: 16px!important;
        font-weight: 600!important;
    }
    .mentor-content > div > div {
        font-size: 14px!important;
        margin-top: 4px!important;
    }
    .wp-container-core-post-template-is-layout-f82b0345 > * + * {
        margin-block-start: 0px!important;
    }
    .hide-on-desktop {
        display: block!important;
    }
    .hide-on-mobile {
        display: none!important;
    }
    .premium-badges {
        top:-41px;
        right:5px;
        width: 58px!important;
    }
    .page-id-4484 .main-section,
    .page-id-4740 .main-section {
        background-color: #fff!important;

        .main-cards {
            background-color: #F5F6FA!important;
        }
        .posts-slider .swiper-pagination {
            margin-top: 10px!important;
        }
    }
    .mobile-price-accordion {
        display:block;
        margin-top:10px;

        .wp-block-accordion-panel {
            margin-block-start: 4px!important;
        }

        .wp-block-accordion-heading__toggle {
            justify-content:flex-end;

            &:hover {
                span {
                    text-decoration:none!important;
                }

            }
        }
        .wp-block-accordion-heading__toggle-title {
            display: flex;
            justify-content: space-between;
            align-items: center;

            code {
                font-family: inherit!important;
                font-weight: 700;
                font-style: Bold;
                font-size: 20px;
                leading-trim: NONE;
                line-height: 150%;
                letter-spacing: 0%;

            }
            strong {
                font-weight:400!important;
            }
        }

        .wp-block-accordion-heading__toggle-icon {
            font-size: 0 !important;
            position: relative;
            display: inline-block;
            width: 20px;
            height: 20px;

            &:before {
                content: "";
                position: absolute;
                top:2px;
                left:2px;
                width:16px;
                height:16px;
                background: url(https://profound-english.community/wp-content/uploads/2026/03/CaretDown.svg) no-repeat center / cover;
                transition: transform 0.3s ease;
            }
        }

        .wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
            transform: rotate(180deg);
        }
        .wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title strong {
            color: #EC390E;
        }
        .wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
            filter: brightness(0) saturate(100%) invert(26%) sepia(75%) saturate(3703%) hue-rotate(359deg) brightness(97%) contrast(92%);
        }
    }

    .mobile-price-accordion__premium {
        .wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title strong {
            color: #F5C445;
        }
        .wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
            filter: brightness(0) saturate(100%) invert(96%) sepia(89%) saturate(3742%) hue-rotate(320deg) brightness(100%) contrast(93%);
        }
        .wp-block-accordion-heading__toggle-icon {
            &:before {
                filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7488%) hue-rotate(355deg) brightness(103%) contrast(106%);
            }
        }
    }

    .posts-slider .wp-block-post-template li {
        background-color: transparent;
    }
    .posts-slider .mentor-content  {
        background-color: #fff !important;
        border: 1px solid #E0E0E0;
        min-height:130px;
    }
    .posts-slider .swiper-pagination .swiper-pagination-bullet{
        background-color:#7A91AA!important;
    }
    .posts-slider .swiper-pagination .swiper-pagination-bullet-active{
        width:24px;
        background-color:#7A91AA!important;
        border-radius: 8px;
    }
}

/* Archive Tags Mentors */

.tag .profound-header {
    display: flex;
    width: var(--wp--custom--content-size);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.tag-main-en .premium-loop,
.tag-main .premium-loop,
.tag-main-en .premium-title,
.tag-main .premium-title {
    display: none!important;
}
.tag-premium .main-loop,
.tag-premium .main-title,
.tag-premium-en .main-loop,
.tag-premium-en .main-title {
    display: none!important;
}
.tag h2 a {
    text-decoration: none!important;
}
.tag ul.wp-block-categories-list li a {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight:700;
    line-height: 1.2em;
    color: #000;
    padding: 5px 16px;
    border-radius: 8px;
    margin-right: 12px;
    text-transform: uppercase;
}
.tag ul.wp-block-categories-list .cat-item {
    margin: 7px 0;
}
:root :where(.tag .wp-block-query .is-layout-constrained) > :first-child {
    margin-block-start: 24px;
}
:root :where(.tag .is-layout-flex) {
    gap: 12px;
}
.tag-premium .mentor-content,
.tag-premium-en .mentor-content {
    position: relative;
}
.tag .mentor-content {
    max-width: 100%!important;
}
.tag.tag-premium .mentor-content:after,
.tag.tag-premium-en .mentor-content:after {
    position: absolute;
    content: '';
    top:0;
    right:40px;
    width: 60px;
    height: 65px;
    background: url(/wp-content/uploads/2025/07/Boader-Badges.png) no-repeat center / cover;
}

@media (max-width: 781px) {
    .tag .wp-site-blocks .wp-block-categories-list .cat-item {
        margin: 7px 0;
    }
}
@media (max-width: 768px) {
    .tag header {
        border-bottom: 1px solid #E0E0E0;
    }
    :root :where(.tag) .wp-block-post-template .wp-block-post img {
        aspect-ratio: 5 / 6 !important;
        max-width: 100%;
    }
    .tag h2 {
        font-size: 24px!important;
        margin-top: 0!important;

        img {
            width:18px!important;
        }
    }
    :root :where(.tag) .wp-site-blocks .wp-block-query ul.wp-block-post-template,
    .tag main {
        margin-block-start: 0px!important;
    }
    :root :where(.tag) .wp-site-blocks .wp-block-query .wp-block-post-template li {
        padding-top: 0px;
    }
    .tag.tag-premium .mentor-content:after,
    .tag.tag-premium-en .mentor-content:after {
        display:none;
    }
    .tag-premium .mentor-image figure,
    .tag-premium-en .mentor-image {
        position: relative;
    }
    .tag.tag-premium .mentor-image figure:after,
    .tag.tag-premium-en .mentor-image figure:after {
        position: absolute;
        content: '';
        top:0;
        right:16px;
        width: 56px;
        height: 60px;
        background: url(/wp-content/uploads/2025/07/Boader-Badges.png) no-repeat center / cover;
    }
    .tag .mentor-image figure, .tag .mentor-image img {
        width: 100% !important;
        height: auto !important;
    }
}
.all-hidden {
    display: none!important;
}
.main-loop-without-select .tag-main-select,
.premium-loop-without-select .tag-premium-select-uk,
.main-loop-without-select .tag-main-en-select,
.premium-loop-without-select .tag-premium-en-select{
    display: none!important;
}
.premium-selected ul{
    display: flex;
    flex-direction: column;
}
.premium-selected ul li.post-177,
.premium-selected ul li.post-434{
    order: 0;
}
.premium-selected ul li.post-175,
.premium-selected ul li.post-442{
    order: 1;
}
.premium-selected ul li.post-376,
.premium-selected ul li.post-455{
    order: 2;
}
.premium-selected ul li.post-2855,
.premium-selected ul li.post-2851{
    order: 3;
}
.premium-selected ul li.post-2512,
.premium-selected ul li.post-2509{
    order: 4;
}

.page-id-3194 .wp-container-core-post-template-is-layout-94684e3e li > div {
    height: 100%;
}

html[lang="en-GB"] .main-section.main-ua,
html[lang="en-GB"] .cta-section.cta-ua{
    display: none;
}

html[lang="uk"] .main-section.main-en,
html[lang="uk"] .cta-section.cta-en{
    display: none;
}
.mono-link {
    color: #fff;
    background-color: #000;
    font-size: 16px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 10px;
    text-decoration: none;
}
.mono-link:hover {
    background-color: #00000066;
}
.page-id-3194 .post-4710,
.page-id-3260 .post-4756{
    position: relative
}
.page-id-3194 .post-4710:after,
.page-id-3260 .post-4756:after{
    position: absolute;
    content: 'Для тесту до 21.01.2026';
    top: 20px;
    right: 10px;
    color: #000;
    font-size: 14px;
    background-color: #F5C362;
    padding: 7px 10px;
    border-radius: 6px;
    font-weight: 600;
}
.page-id-3260 .post-4756:after {
    content: 'For test until 21.01.2026';
}
@media screen and (max-width:1070px) {
    .postid-4710 .course-card-title,
    .postid-4756 .course-card-title{
        flex-direction: column;
        align-items: flex-start;
    }
}
.archive.tag main ul li .mentor-content {padding: 24px;}

.wp-block-navigation__responsive-container {
    padding-inline: 16px !important;
}


.autumn-none{
    display: none !important;
}

.hefo-full-width{
    width: 100% !important;
    padding: 0px !important;
}

@media (min-width: 1024px) {
    .superblockslider__slide_inner {
        padding: 0px !important;
    }
}
@media (max-width: 1024px) {
    .superblockslider__slide_inner {
        padding: 0px !important;
    }
}
/* Modal styles */
dialog.modal {
    padding: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 90vw;
    max-height: 90vh;
}

dialog.modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.modal:not(dialog):not(.is-selected, .has-child-selected) {
    display: none !important;
}


/* Calendar */
.calendar {
    margin-bottom: clamp(1.5rem, 2vw + 1rem, 2.5rem);;
}

.calendar-head-content {
    margin-top: 12px;
    margin-bottom: 24px;
}

.calendar-head {
    display: flex;
    justify-content: space-between;
    /*     flex-wrap: wrap; */
    column-gap: 40px;
    align-items: flex-start;
}

@media (max-width: 1080px) {

    .calendar-head {
        flex-wrap: wrap;
    }
}

.calendar-controls {
    display: flex;
    align-items: center;
    column-gap: 8px;
    margin-bottom: 15px;
}

.calendar-control-item {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background-color: var(--wp--preset--color--light-gray);
    cursor: pointer;
    transition: var(--wp--custom--transition);
}

.calendar-control-item:hover, .calendar-control-item:active {
    background-color: var(--wp--preset--color--white);
}

.calendar-control-item--before {
    background-image: url("/wp-content/themes/profound-english/assets/images/arrow-left-thin.svg");
}

.calendar-control-item--after {
    background-image: url("/wp-content/themes/profound-english/assets/images/arrow-right-thin.svg");
}

.calendar-control-state {
    margin: 0;
}

.calendar-body {
    /*  overflow: hidden; */
    position: relative;
}

@media (max-width: 926.8px) {
    .calendar-body {
        overflow: hidden;
        margin-inline: calc(-1 * (100vw - var(--wp--custom--content-size-medium)) / 2);
    }
}

.calendar-weeks {
    display: grid;
    align-items: start;
    will-change: transform;
    transition: var(--wp--custom--transition);
}

.calendar-week-item {
    display: grid;
    /*     row-gap: 8px; */
    grid-template-columns: 100%;
}

.calendar-week-head {
    background-color: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--gray-5);
    border-radius: 12px 12px 0 0;
    padding: 16px 36px 10px;
    overflow: hidden;
}

.calendar-day-item {
    display: grid;
    grid-auto-rows: auto 40px;
    justify-items: center;
    align-items: center;
    row-gap: 4px;
}

@media (max-width: 926.8px) {
    .calendar-week-head {
        padding: 13px 33px;
    }

    .calendar-day-item {
        grid-auto-rows: auto 32px;
    }
}

.calendar-week-controls {
    position: absolute;
    z-index: 2;
    height: 90px;
    display: grid;
    justify-content: space-between;
    width: 100%;
    grid-template-columns: 60px 60px;
    align-content: center;
    justify-items: center;
}

.calendar-week-controls--no-dates {
    height: 54px;
}

/*.calendar-week-controls.hide {*/
/*    display: none;*/
/*}*/

.calendar-week-controls .calendar-control-item {
    background-color: var(--wp--preset--color--white);
}

.calendar-week-controls .calendar-control-item:hover,
.calendar-week-controls .calendar-control-item:active {
    background-color: var(--wp--preset--color--light-gray);
}

@media (min-width: 927px) {
    .calendar-week-controls {
        display: none;
    }
}

.calendar-days, .calendar-schedule-columns {
    display: grid;
    grid-template-columns: repeat(7, minmax(92px, 120px));
    column-gap: clamp(1rem, 1vw + 0.5rem, 1.25rem);
    min-width: min-content;
    will-change: transform;
    transition: var(--wp--custom--transition);
}


.calendar-day-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--wp--preset--color--gray);
    text-transform: uppercase;
}

.calendar-day-number {
    z-index: 1;
    font-weight: 600;
}

.calendar-day-item--past .calendar-day-number {
    color: var(--wp--preset--color--gray);
}


@media (max-width: 926.8px) {
    .calendar-day-item--past + .calendar-day-item {
        color: var(--wp--preset--color--yellow);
    }
}

@media (min-width: 927px) {
    .calendar-day-item--past + .calendar-day-item .calendar-day-number {
        position: relative;
        font-weight: 800;
    }

    .calendar-day-item--past + .calendar-day-item:not(.calendar-day-item--past) .calendar-day-number::before {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--wp--preset--color--yellow);
        top: 50%;
        left: 50%;
        z-index: -1;
        transform: translate(-50%, -50%);
        box-sizing: border-box;
        display: block;
    }
}

.calendar-schedule-wrap {
    background-color: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--gray-5);
    border-radius: 0 0 12px 12px;
    padding: 19px 36px;
}

.calendar-schedule {
    /*padding: 20px 36px;
    overflow-x: hidden;*/
}

@media (max-width: 926.8px) {
    .calendar-schedule-wrap {
        padding: 19px 33px;
    }
}

.calendar-schedule-column-item {
    display: grid;
    row-gap: 8px;
    align-content: start;
}

.calendar-schedule-slot {
    position: relative;
    background-color: #FCF1D2;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 12px;
    border: solid 2px #F5C445;
    text-align: center;
    /* z-index: 1; */
    height: 42px;
    transition: var(--wp--custom--transition);
    cursor: pointer;
}

.calendar-schedule-slot--group, .calendar-schedule-slot--94 {
    background-color: #ECE5F3;
    border-color: var(--wp--preset--color--vivid-purple);
}

.calendar-schedule-slot--group_2, .calendar-schedule-slot--95, .calendar-schedule-slot--club {
    background-color: #DEEDF4;
    border-color: #0EA5E9;
}

/* .calendar-schedule-slot:hover {
    background-color: var(--wp--preset--color--light-yellow);
} */

.calendar-schedule-slot--user-selected {
    border-color: var(--wp--preset--color--blue);
    background-color: transparent;
    font-weight: 700;
}

/* .calendar-schedule-slot--user-selected:hover {
    background-color: var(--wp--preset--color--light-green);
} */

.calendar-schedule-slot:before {
    content: '';
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    z-index: -1;
    top: 2px;
    left: 2px;
    border-radius: 9px;
    background-color: transparent;
    transition: var(--wp--custom--transition);
}

/* .calendar-schedule-slot--user-selected:before {
    background-color: var(--wp--preset--color--light-green);
} */

#finish-booking .wp-block-contact-form-7-contact-form-selector {
    margin-top: 42px;
    margin-bottom: 75px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form-control, .select2.select2-container {
    margin-top: 4px;
    margin-bottom: 20px;
}

.wpcf7-submit,
.form-submit .submit.wp-block-button__link {
    width: auto;
    padding: 9px 45px;
    line-height: 24px;
    font-size: 20px;
    font-weight: 600;
    color: var(--wp--preset--color--gray);
    background-color: transparent;
    border: 2px solid var(--wp--preset--color--gray);
    border-radius: 12px;
    transition: var(--wp--custom--transition);
}

.form-submit .submit.wp-block-button__link:before {
    /*display: none !important;*/
}

@media (max-width: 500px) {
    .wpcf7-submit,
    .form-submit .submit.wp-block-button__link {
        font-weight: 700;
        font-size: 15px;
        padding: 5px 28px;
    }
}

.wpcf7-submit.wp-block-button__link:hover {
    color: var(--wp--preset--color--almost-black);
}

label {
    font-weight: 700;
}

.select2-container {
    max-width: 516px;
}

.confirm-popup-wrapper {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    justify-items: center;
    align-items: center;
    background-color: rgba(130, 130, 130, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.confirm-popup {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 20px;
    width: 100%;
    max-width: min(95%, 400px);
    padding: 43px;
    background-color: var(--wp--preset--color--light-gray);
    border-radius: 20px;
}

.confirm-popup h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.confirm-popup p {
    font-size: 18px;
    text-indent: initial;
}

.confirm-popup-wrapper.show {
    opacity: 1;
    pointer-events: auto;
}

.booking-form .wpcf7-response-output {
    display: none;
}

.calendar-selected {
    display: flex;
    width: 100%;
    background-color: var(--wp--preset--color--white);
    z-index: 1;
}

.calendar-selected-container {
    width: 100%;
    display: flex;
    row-gap: 12px;
    justify-content: space-between;

    border: solid 1px #E0E0E0;
    margin-inline: 0;
    margin-block-end: 24px;
    padding: 12px;
    border-radius: 12px;
    max-width: 516px;
}

@media (max-width: 500px) {
    .calendar-selected-container {
        flex-direction: column;
    }
}

.calendar-selected-values {
    font-size: 16px;
    margin: auto 0;
    display: inline-block;
    width: 100%;
}

.calendar-selected-link {
    margin: auto 0;
    flex-shrink: 0;
    width: max-content;

    background-color: var(--wp--preset--color--white);
    border-radius: 12px;
    border-color: var(--wp--preset--color--blue);
    border-width: 2px;
    border-style: solid;
    color: var(--wp--preset--color--almost-black);
    font-size: var(--wp--custom--nav-font-size);
}

.calendar-selected-values-text {
    color: var(--wp--preset--color--almost-black);
    width: 100%;
    flex-direction: column;
    gap: 4px;
}

.calendar-selected-item {
    display: inline-block;
    width: 100%;
}

.calendar-selected-item span:last-child {
    color: #525252;
}

.wpcf7-response-output {
    display: none;
}

.form-container .form-request-default {
    grid-auto-columns: minmax(250px, 550px);
}

.form-container .form-request-default .wp-block-group .wp-block-contact-form-7-contact-form-selector .wpcf7 form {
    display: flex;
    flex-direction: column;
}

.form-container .form-request-default .wp-block-group .wp-block-contact-form-7-contact-form-selector .wpcf7 form p label {;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
}

@media (max-width: 480px) {
    .form-container .form-request-default .wp-block-group .wp-block-contact-form-7-contact-form-selector .wpcf7 form p label {;
        font-size: 16px;
    }
}

.form-container .form-request-default .wp-block-group .wp-block-contact-form-7-contact-form-selector .wpcf7 form p label input {
    box-sizing: border-box;
    width: 100%;

}

input, textarea, .learndash-wrapper #learndash-registration-wrapper .ldregister input,
body .learndash-wrapper .ld-modal input[type="text"],
body .learndash-wrapper .ld-modal input[type="password"],
body .learndash-wrapper #learndash-reset-password-wrapper form input[type=text],
body .learndash-wrapper #learndash-registration-wrapper form#loginform input[type=text],
body .learndash-wrapper #learndash-registration-wrapper form#loginform input[type=password] {
    background-color: var(--wp--preset--color--light-gray);
    border-radius: 16px;
    padding: 13px 28px;
    font-family: 'Manrope', sans-serif;
    border: none;
    font-style: normal;
    font-weight: 600;
    font-size: var(--wp--preset--font-size--normal);
    line-height: 150%;
    color: var(--wp--preset--color--almost-black);
    width: 100%;
    max-width: 516px;
}

textarea {
    resize: none;
    min-height: 48px;
}

input::placeholder, textarea::placeholder {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: var(--wp--preset--font-size--normal);
    line-height: 150%;
    color: var(--wp--preset--color--gray);
    opacity: 1;
}

/* Calendar END */