/*
Theme Name: Profound English
Author: Merlin-1D
Author URI: https://github.com/Merlin-1D
Description:
Requires at least: 6.0
Tested up to: 6.0.2
Requires PHP: 7.4
Version: 2.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: profound-english
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;
}


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"] .wp-block-navigation__container {
    gap: 32px;
}

html[lang="en-GB"] .wp-block-navigation__container {
    gap: 32px;
}

html[lang="uk"] .profound-footer.lang-en {
    display: none;
}

html[lang="en-GB"] .profound-footer.lang-uk {
    display: none;
}


header .custom-logo-link {
    width: clamp(24px, 10vw - 32px, 48px);
}

.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;
}

.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;
}


@media (min-width: 1150px) {
    .profound-header {
        position: relative;
    }

    .profound-header > nav {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: max-content;
    }
}


.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;
}

.wp-block-button.icon-my-account {
    display: flex;
    align-content: center;
}

.wp-block-button.icon-my-account:before {
    content: '';
    width: 32px;
    display: block;
    height: 32px;
    background: url("/wp-content/themes/profound-english/assets/images/my-account.svg") center center no-repeat;
}
.wp-block-button.icon-my-account a {
    font-size: 0;
    padding: 0 !important;
    border: none !important;
    width: 32px;
    height: 32px;
    position: absolute;
    opacity: 0;
}
.wp-block-button.icon-my-account a:before {
    content: none !important;
}


.wp-block-navigation-item.icon-my-account.desktop-hidden {
    margin-bottom: 20px;
}
.wp-block-navigation-item.icon-my-account.desktop-hidden a {
    display: flex;
    gap: 8px;
    align-items: center;
}
.wp-block-navigation-item.icon-my-account.desktop-hidden a:before {
    content: '';
    width: 32px;
    display: block;
    height: 32px;
    background: url("/wp-content/themes/profound-english/assets/images/my-account.svg") center center no-repeat;
}

/*  Buttons*/
.navigation-button__start-lesson:hover:before {
    content: '';
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    z-index: -1;
    border-radius: 9px;
    transition: 1s;
    background-color: #F5C362;
}

@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;
}

.logged-in .wp-block-navigation-link-lang {
    display: none !important;
}

: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;
    }
}

@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;
}

@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;
}


/*  footer*/
@media (min-width: 576.1px) {
    .profound-footer .wp-block-group {
        position: relative;
    }

    .profound-footer .wp-block-social-links {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: max-content;
    }
}

.profound-footer nav.wp-block-navigation {
     margin-top: 50px;
}

.profound-footer .wp-block-group:last-child {
    margin-top: 100px;
}
@media (max-width: 678px) {
    .profound-footer .wp-block-group:last-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
.section-footer {
    margin: 18px 0 28px;
}

.section-footer a {
    text-decoration: none;
    color: black;
}

.only-mobile.wp-block-site-logo {
    display: none;
}

@media (max-width: 576px) {
    .profound-footer .wp-block-group:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .profound-footer nav.wp-block-navigation {
        margin-top: 19px;
        margin-bottom: 32px;
    }

    .profound-footer nav.wp-block-navigation .wp-block-navigation__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .only-mobile.wp-block-site-logo {
        display: block;
    }

    .profound-footer .wp-block-group:last-child {
        margin-top: 16px;
    }

    .profound-footer .wp-block-navigation-item__content {
        font-size: 13px;
    }
}

/*   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;
}

/*  calendar*/
.wappo_module .wclosable .wap-bf .wap-form-body .wrap-calendar div div div .wappo-box-sided .wbtn-pack {
    border-radius: 12px;

}

.wappo_module .wclosable .wap-bf .wap-form-body .wrap-calendar div div div div .wap-booking-fields .wap-field .field-required .d-flex input {
    border-radius: 12px;
}


.wappo-box-sided {
    /* padding-left: 0px !important;  */
}

.wap-bf .wap-form-body {
    margin-top: 29px !important;
    border-radius: 16px;
}

.wap-bf {
    max-width: 606px;
    margin-bottom: 72px;
    overflow: visible !important;
    border-radius: 16px;
    max-width: 550px;
}

.wap-bf .wap-head {
    display: none;
    box-shadow: 0px 0px 0px 0px !important;
}

.appointment-summary {
    display: none;
}

.calendarMonth .timezone {
    display: none;
}

/* .calendarMonth .d-flex .wbtn-secondary span {
background-color: white;
	font-size: 3rem;
} */
/* .ddays div{
	background-color: #ffffff !important;
	border-radius: 100%;
}  */
.ddays div .wbtn-secondary span:hover {
    background-color: #F5C362;
    border-radius: 100%;

}

.wap-front .d-flex {
    display: flex;
    justify-content: center !important;

}

.slotsPane .slots-panel .d-flex .hello button {
    /* height: 40px;
    width: 160px; */
    border-radius: 12px;
    background-color: #F5F6FA;
    border-color: #F5F6FA !important;
    box-shadow: none;
}

.slotsPane .slots-panel .d-flex .hello button:hover {
    background-color: #F5C362;
}

.slotsPane .slots-panel .d-flex .hello {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/*  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 {
    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;  */
}

.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 {
    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;
    background: #fff;
    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 {
    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);
}

.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;
}
body .learndash-wrapper #learndash-registration-wrapper form#loginform p {
    margin-top: 0;
    margin-bottom: 0;
}
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;
}

.woocommerce form .form-row {
    margin-bottom: 28px;
}

.woocommerce form .form-row label {
    padding-left: 16px;
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: var(--wp--custom--nav-font-size);
    line-height: 150%;
    color: var(--wp--preset--color--almost-black);
    margin-bottom: 8px;
    position: relative !important;
    clip-path: none;
    height: auto;
    width: 100%;
}

@media (max-width: 767px) {
    .woocommerce form .form-row label {
        padding-left: 8px;
    }
}

.woocommerce form .form-row.woocommerce-invalid label {
    color: var(--wp--preset--color--almost-black);
}

.woocommerce form .form-row.woocommerce-invalid input {
    border: 2px solid #EB5757 !important;
    color: #EB5757;
}

.woocommerce form .form-row.woocommerce-invalid input::placeholder {
    color: #EB5757;
}

.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;
}

@media (min-width: 1149.8px) {
    .profound-header .wp-block-navigation-item__label {
        transition: var(--wp--custom--transition);
    }

    .profound-header .wp-block-navigation-item__label:hover {
        font-weight: 600;
    }

    .desktop-hidden {
        display: none !important;
    }
}

@media (max-width: 1149.8px) {
    .mobile-hidden {
        display: none !important;
    }

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
        align-content: center;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
        position: fixed;
    }

    .profound-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
        --navigation-layout-justification-setting: flex-start;
        gap: 8px;
    }

    .profound-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        padding-top: 0;
    }

    .profound-header .wp-block-navigation__responsive-container {
        /*top: 20px;*/
        /*right: 20px;*/
        /*left: initial;*/
        /*bottom: initial;*/
        /*border-radius: 20px;*/
        padding: 56px 20px 28px;
    }

    .profound-header .wp-block-navigation-item:not(.navbar-button) {
        height: 36px;
    }

    .wp-block-navigation__responsive-container-close {
        right: 0;
        top: -36px;
    }

    .wp-block-navigation__container.is-responsive.items-justified-left.header-button.wp-block-navigation {
        width: 100%;
    }

    .navbar-button {
        min-width: 100%;
        max-width: 500px;
    }

    .navbar-button a {
        width: 100%;
        text-align: center;
    }

    .navbar-button .wp-block-navigation-item__content {
        position: relative;
        z-index: 0;
        padding: 6px 13px !important;
        color: var(--wp--preset--color--almost-black);
        border: solid 2px var(--wp--preset--color--blue);
        border-radius: 10px;
    }

    .navbar-button .wp-block-navigation-item__content:before {
        content: '';
        position: absolute;
        z-index: -1;
        transition: var(--wp--custom--transition);
        width: calc(100% - 2px);
        height: calc(100% - 2px);
        top: 1px;
        left: 1px;
        border-radius: 8px;
    }

    .navbar-button .wp-block-navigation-item__content:where(:active, :focus, :hover) {
        color: var(--wp--preset--color--blue);
    }

    .navbar-button .wp-block-navigation-item__content:where(:active, :hover)::before {
        background-color: var(--wp--preset--color--yellow);
    }

    .navbar-button--blue .wp-block-navigation-item__content {
        color: var(--wp--preset--color--white) !important;
        border: solid 1px var(--wp--preset--color--blue);
        background-color: var(--wp--preset--color--blue);
    }

    .navbar-button--blue .wp-block-navigation-item__content:where(:active, :focus, :hover) {
        color: var(--wp--preset--color--blue) !important;
    }

    .navbar-button--blue .wp-block-navigation-item__content:where(:active, :hover)::before {
        background-color: var(--wp--preset--color--white);
    }

    .wp-block-navigation__responsive-container-open svg {
        display: none;
    }
    .wp-block-navigation__responsive-container-close svg {
        display: none;
    }

    .wp-block-navigation__responsive-container-open {
        width: 32px;
        height: 32px;
        background: url("/wp-content/themes/profound-english/assets/images/burger.svg") center center no-repeat;
    }

    .wp-block-navigation__responsive-container-close {
        width: 32px;
        height: 32px;
        background: url("/wp-content/themes/profound-english/assets/images/close.svg") center center no-repeat;
    }
}

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;
}

.polylang_langswitcher {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: -54px 0 0;
    padding: 8px 12px 9px;
    background-color: var(--wp--preset--color--white);
    width: min-content;
    border: solid 1px #BDBDBD33;
    border-top-right-radius: 12px;
    position: fixed;
    bottom: 0;
    z-index: 5;
}

.polylang_langswitcher .lang-item {
    display: grid;
    justify-items: center;
    align-items: center;

    border: solid 2px transparent;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.polylang_langswitcher .lang-item.current-lang {
    border-color: var(--wp--preset--color--almost-black);
}

.polylang_langswitcher .lang-item a {
    width: 24px;
    height: 24px;
}

@media (max-width: 1149.8px) {
    .polylang_langswitcher {
        display: none;
    }
}

.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 7px;
    padding-top: 32px;
}

.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-y: scroll;
        scrollbar-width: none;
    }

    .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 140px;
}

.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: 31px 40px;
    }
}

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;
}

html[lang="uk"] .price-section .card-price-legend p:nth-child(3) {
    padding-top: 10px;
}

.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;
    }
}

.profound-footer .wp-block-social-links .wp-social-link-telegram {
    position: relative;
}

.profound-footer .wp-block-social-links .wp-social-link-telegram:before {
    content: '';
    position: absolute;
    background-color: var(--wp--preset--color--almost-black);
    z-index: -1;
    border-radius: 50%;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    margin: 3px;
}

.profound-footer .wp-block-social-links .wp-social-link-telegram svg path {
    fill: white;
}

@media (min-width: 991.8px) {
    .profound-footer .wp-block-social-links .wp-social-link svg {
        width: 38px;
        height: 38px;
    }

    .profound-footer .wp-block-social-links .wp-social-link-telegram:before {
        width: 32px;
        height: 32px;
    }
}

.woocommerce-page .woocommerce {
    flex-direction: column;
    margin-top: clamp(1.563rem, 2vw + 1rem, 4.5rem);;
}

.woocommerce-page .woocommerce .order_details {
    padding-left: 0;
}

@media (max-width: 767.8px) {
    .woocommerce-page .woocommerce .order_details {
        display: grid;
        gap: 10px;
    }

    .woocommerce-page .woocommerce .order_details li {
        border-right: 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;
        margin-left: auto;
    }

    .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;
    }
}


.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: 100px;
}

.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 {
        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-radius: var(--wp--custom--base-font);
    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: 20px;
    font-weight: 800;
}

.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-radius: var(--wp--custom--base-font);
    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: var(--wp--preset--color--light-gray);
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 12px;
    border: solid 2px transparent;
    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: var(--wp--preset--color--light-blue);
}

.calendar-schedule-slot--group_2, .calendar-schedule-slot--95 {
    background-color: var(--wp--preset--color--light-yellow);
}

.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 {
    text-indent: 28px;
    margin: 0;
}

.wpcf7-form-control, .select2.select2-container {
    margin-top: 4px;
    margin-bottom: 16px;
}

/*.wpcf7-form-control.wpcf7-textarea, */
.wpcf7-submit {
    margin-left: -28px;
}

.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 {
    position: fixed;
    display: flex;
    width: 100%;
    bottom: 0;
    background-color: var(--wp--preset--color--white);
    z-index: 1;
    transition: 0.5s cubic-bezier(.77, 0, .18, 1);
    transform: translateY(100%);
    will-change: transform;
}

.calendar-selected.show {
    position: sticky;
    transform: translateY(0);
}

.calendar-selected-container {
    width: 100%;
    max-width: var(--wp--custom--content-size-medium);
    margin: auto;
    display: flex;
    row-gap: 12px;
    justify-content: space-between;
    padding: 16px 0;
}

@media (max-width: 500px) {
    .calendar-selected-container {
        flex-direction: column;
    }
}

.calendar-selected-values {
    font-size: 16px;
    margin: auto 0;
}

.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--gray);
}

.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;
}
.wpcf7-form p > button {
    margin-left: -28px;
}

.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;
    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;
}

/* learndash */
.learndash-course-grid2 {
	width: var(--wp--custom--content-size);
	max-width: 100%;
    margin: 22px auto 60px;
}

.learndash-wrapper .ld-expand-button.ld-button-alternate .ld-text {
    white-space: nowrap;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading h3 {
    font-size: var(--wp--preset--font-size--heading-3);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item {
    margin: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid grey;
    padding: 1.5rem 0rem 0.5rem 0rem;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-course-title,
.wp-site-blocks .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-content {
    font-size: var(--wp--preset--font-size--x-large) !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name,
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name:hover {
    align-items: center;
    color: var(--wp--preset--color--almost-black) !important;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-expanded {
    margin-top: 1em;
    margin-bottom: 1em;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
    padding: 0;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-item-title {
    font-size: var(--wp--preset--font-size--x-large) !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-title .ld-item-components,
body .learndash-wrapper .ld-modal .ld-modal-text,
body .learndash-wrapper .ld-modal label,
body .learndash-wrapper .ld-modal a.ld-forgot-password-link {
    color: var(--wp--preset--color--almost-black) !important;
    font-size: var(--wp--preset--font-size--small) !important;
    line-height: 1.5em !important;
    font-weight: 500;
}
body .learndash-wrapper .ld-modal .ld-login-modal-register .ld-modal-text {
    color: #fff !important;
    margin-bottom: 1em;
}
.learndash-wrapper .ld-modal .login-username:before,
.learndash-wrapper .ld-modal .login-password:before {
    display: none !important;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-status-icon {
    margin-top: 0;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button,
body .learndash-wrapper .ld-modal .ld-modal-closer {
    min-width: 27px;
    width: 27px;
    height: 27px;
    margin: 4px;
    cursor: pointer;
    position: relative;
    padding: 0;
    border: solid 3px var(--wp--preset--color--almost-black);
    border-radius: 50%;
    background-color: transparent !important;
}
body .learndash-wrapper .ld-modal .ld-modal-closer {
    position: absolute;
    right: 1em;
    top: 1em;
    border: solid 3px var(--wp--preset--color--almost-white);
    background-color: #fff !important;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button span,
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button .ld-icon {
    display: none;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button:focus:after,
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button:hover:after,
body .learndash-wrapper .ld-modal .ld-modal-closer:hover:after {
    background-color: var(--wp--preset--color--light-yellow);
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button:before,
body .learndash-wrapper .ld-modal .ld-modal-closer:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("/wp-content/themes/profound-english/assets/images/plus.svg");
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button:after,
body .learndash-wrapper .ld-modal .ld-modal-closer:after {
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    content: '';
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
}

.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button.ld-expanded:before {
    background-image: url("/wp-content/themes/profound-english/assets/images/minus.svg");
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-expanded .ld-progress {
    background-color: var(--wp--preset--color--light-gray) !important;
}
.wp-site-blocks .learndash-wrapper .ld-status-incomplete.ld-status-icon {
    border-color: var(--wp--preset--color--almost-black) !important;
}
.wp-site-blocks .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled {
    background: var(--wp--preset--color--light-gray) !important;
}
.wp-site-blocks .learndash-wrapper .ld-secondary-in-progress-icon {
    border-left-color: var(--wp--preset--color--yellow) !important;
    border-top-color: var(--wp--preset--color--yellow) !important;
}
.wp-site-blocks .learndash-wrapper .ld-status-in-progress {
    border-color: initial;
}
.wp-site-blocks .learndash-wrapper .ld-button .ld-icon {
    display: none;
}
.wp-site-blocks .learndash-wrapper .ld-button {
    border: 0;
    background-color: transparent !important;
}
.wp-site-blocks .learndash-wrapper #ld-profile .ld-item-list-item-preview .ld-status,
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button,
.wp-site-blocks .learndash-wrapper .ld-course-status .ld-status.ld-status-progress,
.learndash-wrapper .ld-breadcrumbs .ld-status.ld-status-progress,
.wp-site-blocks .learndash-wrapper .ld-button {
    position: relative;
    padding: 7px 24px !important;
    display: inline-block;
    text-align: center;
    background-color: var(--wp--preset--color--white) !important;
    border-radius: 12px !important;
    border-color: var(--wp--preset--color--blue) !important;
    border-width: 2px;
    border-style: solid;
    color: var(--wp--preset--color--almost-black) !important;
    margin: 0;
    z-index: 0;
    width: auto;
}

.learndash-wrapper .ld-course-status-action .ld-button:not(.ld-button-reverse):not(.learndash-link-previous-incomplete):not(.ld-button-transparent) {
    background-color: transparent !important;
    border: none !important;
    font-weight: 600;
}
body .learndash-wrapper .ld-login-modal .ld-login-modal-register .ld-button:hover {
    box-shadow: none !important;
    background: none !important;
    color: var(--wp--preset--color--almost-black) !important;
}
.learndash-wrapper .form-button {
    position: relative;
    background-color: var(--wp--preset--color--white);
    display: inline-block;
    z-index: 0;
    border-radius: 12px !important;
    border-color: var(--wp--preset--color--blue) !important;
    border-width: 2px;
    border-style: solid;
}
.learndash-wrapper .form-button #btn-join,
.learndash-wrapper .form-button #wp-submit,
.learndash-wrapper .ld-login-modal-register a.ld-button,
body .learndash-wrapper .ldregister #wp-submit,
body .learndash-wrapper #learndash-reset-password-wrapper form input[type=submit] {
    margin: 0 !important;
    position: relative;
    padding: 7px 24px !important;
    display: inline-block;
    text-align: center;
    background-color: transparent !important;
    color: var(--wp--preset--color--almost-black) !important;
    z-index: 0;
    width: auto;
    font-weight: 500 !important;
    font-size: var(--wp--custom--nav-font-size) !important;
    line-height: 1.25em;
    opacity: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
    border: 0 !important;
}
body .learndash-wrapper .ld-modal .login-remember label,
body .learndash-wrapper #learndash-registration-wrapper #loginform .login-remember label {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 1em !important;
}
body .learndash-wrapper .ld-modal .login-remember label input,
body .learndash-wrapper #learndash-registration-wrapper #loginform .login-remember label input {
    width: auto;
    margin: 0 0 0 5px;
}
body .learndash-wrapper .ld-modal .login-submit {
    margin-bottom: 1em !important;
}
.wp-site-blocks .learndash-wrapper #ld-profile .ld-item-list-item-preview .ld-status:before,
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button:before,
.wp-site-blocks .learndash-wrapper .ld-course-status .ld-status.ld-status-progress:before,
.learndash-wrapper .ld-breadcrumbs .ld-status.ld-status-progress:before,
.wp-site-blocks .learndash-wrapper .ld-button:before,
.learndash-wrapper .form-button: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);
    background-color: transparent;
}
.wp-site-blocks .learndash-wrapper #ld-profile .ld-item-list-item-preview .ld-status:hover:before,
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button:hover:before,
.wp-site-blocks .learndash-wrapper .ld-course-status .ld-status.ld-status-progress:hover:before,
.learndash-wrapper .ld-breadcrumbs .ld-status.ld-status-progress:hover:before,
.wp-site-blocks .learndash-wrapper .ld-button:hover:before,
.learndash-wrapper .form-button:hover:before {
    background-color: var(--wp--preset--color--yellow);
}

.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button {
    font-size: var(--wp--custom--nav-font-size);
    font-weight: 500;
    opacity: 1 !important;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button .ld-text {
    font-size: var(--wp--custom--nav-font-size) !important;
}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button:before,
.learndash-wrapper .form-button:before {
    background-color: inherit;

}
.wp-site-blocks .learndash-wrapper .ld-item-list .ld-section-heading .ld-item-list-actions .ld-expand-button:hover:before,
.learndash-wrapper .form-button:hover:before,
.learndash-wrapper .ld-modal .ld-button:hover:before {
    background-color: var(--wp--preset--color--yellow);
}
.wp-site-blocks .learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-percentage,
.wp-site-blocks .learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-lesson-details .ld-lesson-list-progress,
.wp-site-blocks .learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-lesson-details .ld-lesson-list-steps,
.wp-site-blocks .learndash-wrapper .ld-table-list .ld-table-list-header .ld-table-list-title .ld-text,
.wp-site-blocks .learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-item .ld-table-list-item-preview .ld-topic-title,
.wp-site-blocks .learndash-wrapper .ld-item-list.ld-lesson-list .ld-topic-list .ld-table-list-item .ld-table-list-item-quiz .ld-item-title {
    color: var(--wp--preset--color--almost-black) !important;
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.5em;
    text-transform: none;
}
.wp-site-blocks .learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
    background: var(--wp--preset--color--yellow) !important;
}
.wp-site-blocks .learndash-wrapper .ld-profile-summary .ld-profile-card .ld-profile-avatar {
    border-color: var(--wp--preset--color--yellow) !important;
    margin-bottom: .5em;
}
.wp-site-blocks .learndash-wrapper .ld-profile-summary .ld-profile-card .ld-profile-edit-link {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.5em;
    color: var(--wp--preset--color--almost-black) !important;
}
.wp-site-blocks .learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-label,
.wp-site-blocks .learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-steps {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.5em;
    text-transform: none !important;
}
.wp-site-blocks .learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat span {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.5em;
    color: var(--wp--preset--color--almost-black) !important;
}
.wp-site-blocks .learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat strong {
    font-size: var(--wp--preset--font-size--x-large) !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.wp-site-blocks .learndash-wrapper #ld-profile button.ld-icon-search.ld-icon {
    color: var(--wp--preset--color--almost-black) !important;
    margin: 0;
}
.wp-site-blocks .learndash-wrapper .ld-course-status.ld-course-status-enrolled {
    background-color: var(--wp--preset--color--light-gray);
}
.wp-site-blocks .learndash-wrapper .ld-item-list.ld-course-list .ld-section-heading h2,
.wp-site-blocks .learndash-wrapper .ld-item-list.ld-lesson-list .ld-section-heading h2 {
    font-size: var(--wp--preset--font-size--heading-3);
}
.wp-site-blocks .learndash-wrapper .ld-item-list.ld-lesson-list .ld-lesson-section-heading {
    font-size: var(--wp--preset--font-size--x-large) !important;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.wp-site-blocks .learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments span a,
.wp-site-blocks .learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back,
.wp-site-blocks .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-label {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.5em;
    color: var(--wp--preset--color--almost-black) !important;
}
.wp-site-blocks .learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back {
    margin-top: 1em;
}
.wp-site-blocks .learndash-wrapper .ld-breadcrumbs {
    background-color: var(--wp--preset--color--light-gray);
}
.wp-site-blocks .learndash-wrapper #quiz_continue_link,
.wp-site-blocks .learndash-wrapper .ld-secondary-background,
.wp-site-blocks .learndash-wrapper .learndash_mark_complete_button,
.wp-site-blocks .learndash-wrapper #learndash_mark_complete_button,
.wp-site-blocks .learndash-wrapper .ld-status-complete,
.wp-site-blocks .learndash-wrapper .ld-alert-success .ld-button,
.wp-site-blocks .learndash-wrapper .ld-alert-success .ld-buttonld-alert-icon {
    background-color: var(--wp--preset--color--yellow) !important;
}
.wp-site-blocks .learndash-wrapper .ld-primary-background,
.wp-site-blocks .learndash-wrapper .ld-lesson-status {
    background-color: var(--wp--preset--color--light-gray) !important;
    color: var(--wp--preset--color--almost-black) !important;
}
.wp-site-blocks .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-price {
    font-size: var(--wp--preset--font-size--x-large) !important;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--wp--preset--color--almost-black) !important;
}
.wp-site-blocks .learndash-wrapper .ld-text {
    font-size: var(--wp--preset--font-size--small) !important;
    line-height: 1.5em !important;
    color: var(--wp--preset--color--almost-black) !important;
}
body .learndash-wrapper a {
    color: var(--wp--preset--color--almost-black) !important;
}
body .learndash-wrapper a:hover {
    text-decoration: none !important;
}
.wp-site-blocks .learndash-wrapper .ld-course-status-action form {
    margin-bottom: .5em;
    width: 100%;
}
body .learndash-wrapper .ld-modal .ld-login-modal-register {
    background: var(--wp--preset--color--almost-black) !important;
}
body .ld-modal #loginform {
    width: 100% !important;
}
body .ld-modal .ld-modal-heading {
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    font-size: var(--wp--preset--font-size--heading-2) !important;
    margin: 0 0 .5em 0;
}
body #learndash-tooltips .ld-tooltip {
    background-color: #f9c063 !important;
}

.ld-course-step-back {
    margin-top: 1rem;
}

.learndash-block-inner .items-wrapper.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(305px, 1fr)) !important;
    gap: 40px 20px;
}
@media (max-width: 375px) {
    .learndash-block-inner .items-wrapper.grid {
        grid-template-columns: initial !important;
    }
}

.learndash-block-inner .sfwd-courses .thumbnail img {
    max-width: 100%;
    max-height: 158px;
    height: auto;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.learndash-block-inner .sfwd-courses {
    background-color: var(--wp--preset--color--white);
    border-radius: 10px 10px 16px 16px;
    transition: background-color 0.3s;
}

.learndash-block-inner .sfwd-courses:hover {
    background-color: var(--wp--preset--color--light-yellow);
}

.learndash-block-inner .sfwd-courses .content {
    display: grid;
    gap: 0.5em;
    padding: 0 16px 16px;
}

.learndash-block-inner .sfwd-courses .entry-title {
    margin: 0;
    font-size: 20px;
}
.learndash-block-inner .sfwd-courses .entry-title a {
    font-size: 20px;
    color: var(--wp--preset--color--almost-black);
    text-decoration: none !important;
}
.learndash-block-inner .sfwd-courses .meta:not(.price-wrapper) {
    margin-top: 8px;
    grid-row: 1;
}
.learndash-block-inner .sfwd-courses .meta .author {
    display: none;
}
.learndash-block-inner .sfwd-courses .meta .categories {
    color: var(--wp--preset--color--gray);
}

.learndash-block-inner .sfwd-courses .meta .author img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
}

.learndash-block-inner .entry-content p {
    margin: 0;
}

.learndash-block-inner .price-wrapper {
    display: flex;
    column-gap: 1ch;
    font-size: 14px;
    margin-top: 14px;
}


.learndash-block-inner .sfwd-courses .content .button {
    margin-top: 1em;
}

.learndash-block-inner a[role="button"] {
    display: inline-block;
    background-color: white;
    border-radius: 12px;
    border-color: var(--wp--preset--color--blue);
    border-bottom: 2px solid var(--wp--preset--color--blue) !important;
    border-width: 2px;
    border-style: solid;
    color: var(--wp--preset--color--almost-black);
    font-size: var(--wp--custom--nav-font-size);
    position: relative;
    z-index: 0;
    padding: 7px 24px;
    width: 100%;
    text-align: center;
    text-decoration: none !important;
}

.learndash-block-inner a[role="button"]:visited,
.learndash-block-inner a[role="button"]:hover,
.learndash-block-inner a[role="button"]:focus,
.learndash-block-inner a[role="button"]:active {
    color: var(--wp--preset--color--almost-black);
}

.learndash-block-inner a[role="button"]: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);
}

.learndash-block-inner a[role="button"]:hover::before {
    background-color: var(--wp--preset--color--light-yellow);
}

.post-type-archive-sfwd-courses .section-footer {
    margin-top: 2em;
}

.post-type-archive-sfwd-courses .wp-site-blocks > h1,
.post-type-archive-sfwd-courses .wp-site-blocks > p {
    margin-left: 28px;
    margin-right: 28px;
}

.post-type-archive-sfwd-courses .wp-site-blocks > p {
    max-width: clamp(400px, 60vw, 800px);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.8px) {
    .post-type-archive-sfwd-courses .wp-site-blocks > p {
        margin-left: 28px;
        margin-right: 28px;
        text-align: left;
    }
}


#learndash-reset-password-wrapper {
    display: grid;
}

.registration-login-form,
#learndash-registration-wrapper {
    display: grid;
}
#loginform,
.ldregister,
#learndash-reset-password-wrapper form {
    max-width: 516px;
    width: 100%;
}
@media (max-width: 576px) {
    #loginform,
    .ldregister,
    #learndash-reset-password-wrapper form {
        max-width: 100%;
    }
}

.learndash-wrapper #learndash-registration-wrapper .ldregister input,
.wp-site-blocks .learndash-wrapper #learndash-reset-password-wrapper form input {
    margin-top: 4px;
    margin-bottom: 16px;
}
.ldregister .learndash-registration-field label,
.wp-site-blocks .learndash-wrapper #learndash-reset-password-wrapper form label,
body .learndash-wrapper .ld-modal label,
body .learndash-wrapper .registration-login-form form label {
    text-indent: 28px;
    text-align: left;
    cursor: pointer;
}
.ldregister p,
#learndash-reset-password-wrapper form p {
    margin: 0;
}
.learndash-wrap .learndash-wrapper .ld-alert-warning {
    color: #dc3232 !important;
}
.learndash-wrap .learndash-wrapper .ld-alert .ld-alert-icon.ld-icon-alert {
    display: none;
}
.learndash-wrap .learndash-wrapper .ld-alert {
    min-height: auto !important;
}
.learndash-wrap .learndash-wrapper .ld-alert-warning {
    padding: 0;
    border: 0;
}
.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.section-footer {
    margin-top: auto;
}


.learndash-cpt .section-navbar,
.post-type-archive-sfwd-courses .section-navbar{
    margin-bottom: 31px;
}


.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;
}

.learndash-cpt .section-navbar + .wp-block-columns {
    margin-top: clamp(0rem, 8vw - 32px, 5rem);
}

.gap-3-5 {
    gap: 3rem 5rem;
}

.mt-0 {
    margin-top: 0 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.p-0 {
    padding: 0 !important;
}


.post-type-archive-sfwd-courses h1 {
    margin-top: 80px;
    margin-bottom: 12px;
}
.post-type-archive-sfwd-courses h1 + p {
    margin-top: 0;
}
.learndash-wrapper .ld-item-list .ld-item-search .ld-closer {
    font-size: 1em !important;
    margin-top: -12px;
    padding-block: 12px;
}
.learndash-wrapper .ld-item-list .ld-item-search .ld-item-search-fields .ld-item-search-submit .ld-button {
    color: var(--wp--preset--color--blue) !important;
    background-color: white !important;
    border: solid 2px var(--wp--preset--color--blue);
    border-radius: 12px !important;
    font-size: 1em !important;
    padding-block: 12px;
    margin-top: -12px;
    transition: background-color 0.3s, color 0.3s;
}

.learndash-wrapper .ld-item-list .ld-item-search .ld-item-search-fields .ld-item-search-submit .ld-button:hover {
    color: white !important;
    background-color: var(--wp--preset--color--blue) !important;
}

.ld-achievements-leaderboard {
    display: flex;
    justify-content: center;
}

.ld-achievements-leaderboard table {
    min-width: 600px;
    max-width: 980px;
    border: none;
}

.ld-achievements-leaderboard table thead th {
    background-color: var(--wp--preset--color--blue);
    color: white;
    font-size: var(--wp--preset--font-size--medium);
    text-align: center !important;
    padding: 0.7em;
}
.ld-achievements-leaderboard table tbody tr td:first-child {
    min-width: 180px;
    padding: 0.7em;
    text-align: center !important;
}
.ld-achievements-leaderboard table tbody tr td:last-child {
    max-width: 800px;
    padding: 1em;
    gap: 1em;
    flex-wrap: wrap;
}
.ld-achievements-leaderboard table tbody tr {
    background-color: var(--wp--preset--color--light-gray);
}
.ld-achievements-leaderboard table tbody tr.odd {
    background-color: var(--wp--preset--color--light-blue);
}

.ld-achievements-leaderboard table thead th:first-child {
    border-top-left-radius: 8px;
}
.ld-achievements-leaderboard table thead th:last-child {
    border-top-right-radius: 8px;
}
.ld-achievements-leaderboard table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}
.ld-achievements-leaderboard table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}
.learndash-wrapper #learndash-registration-wrapper #btn-join, .learndash-wrapper #learndash-registration-wrapper .btn-join {
    width: 100% !important;
}
.learndash-wrapper .learndash_checkout_buttons {
    margin: 0 !important;
}
.learndash_checkout_buttons .form-button {
    margin-top: 1em;
    float: right;
}

.user-logged-out-block .learndash-wrapper {
    text-align: center;
}
.user-logged-out-block .learndash-wrapper .ld-login.ld-login.ld-login-text.ld-login-button.ld-button {
    color: var(--wp--preset--color--blue) !important;
    background-color: white !important;
    border: solid 2px var(--wp--preset--color--blue) !important;
    border-radius: 12px !important;
    font-size: 1em !important;
    padding-block: 12px;
    margin: 1em auto 0;
    transition: background-color 0.3s, color 0.3s;
}
.user-logged-out-block .learndash-wrapper .ld-login.ld-login.ld-login-text.ld-login-button.ld-button:before {
    display: none;
}


.user-logged-out-block .learndash-wrapper .ld-login.ld-login.ld-login-text.ld-login-button.ld-button:hover {
    color: white !important;
    background-color: var(--wp--preset--color--blue) !important;
}

.toggler-button {
    min-width: 150px;
}
.toggler-button.active a:before {
    background-color: var(--wp--preset--color--yellow);
}
.button-toggled.hidden {
    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%;
}