@media screen and (max-width: 1440px) {

    #logo h3 {
        padding-left: 1rem;
    }

    #main-menu {
        margin-right: 1rem;
    }

    body #main-menu ul li a {
        font-size: 19px;
    }

    h1 {
        font-size: 4rem;
    }

    .lecture-thumbnail-wrapper:before,
    .program-thumbnail-wrapper:before {
        height: 403px;
    }

    /* Tanácsadás */

    /*.right-wide .wide-text,
    .left-wide .wide-text {
        padding-left: 1rem;
        padding-right: 1rem;
    }*/

    .home #top-head h3 {
        right: 0;
        padding-left: 1rem;
        margin: 0;
    }

    .front-services h2 {
        font-size: 2.6rem;
    }

    .event-time p,
    .location-line p {
        font-size: 18px;
    }

    .front-hero .wp-block-column:first-of-type {
        display: flex;
        align-items: stretch;
        overflow: hidden;
    }

    .front-hero .wp-block-column:first-of-type figure {
        /* margin: 0; */
        flex: 0 0 auto;
    }

    .front-hero .wp-block-column:first-of-type figure img {
        height: 100%;
        width: auto;
        object-fit: cover;
        margin-left: -2rem;
        margin-bottom: -10rem;
    }

    .front-hero .wp-block-columns {
        gap: 5rem;
    }

    .hero-box {
        width: 100%;
    }

}

@media screen and (max-width: 1367px) {

    .front-me:after {
        height: 70px;
    }

    header .content-box {
        width: 100%;
    }

    .front-hero .wp-block-columns {
        gap: 1rem;
    }
}

@media screen and (max-width: 1280px) {

    #main-menu {
        margin-right: 0;
    }

    h1 {
        font-size: 3.6rem;
    }

    #front-hero-col2 {
        margin-left: 3rem;
        flex-basis: 55% !important;
    }

    .front-me:after {
        height: 50px;
    }

    .lecture-thumbnail-wrapper:before,
    .program-thumbnail-wrapper:before {
        height: 365px;
    }

    .front-services h2 {
        font-size: 2.5rem;
    }

    .front-me .wp-block-columns {
        align-items: flex-end !important;
    }

    .front-hero .wp-block-column:first-of-type figure img {
        margin-bottom: -6rem;
    }


    .event-time p,
    .location-line p {
        font-size: 16px;
    }

}

@media screen and (max-width: 1024px) {





    .home header {
        background: var(--alabaster);
    }

    .home main {
        margin-top: 0;
    }

    .hero-box {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .mobil-head {
        border-bottom: 1px solid var(--ecru);
    }



    #front-hero-col2 {
        order: 1;
    }

    #front-hero-col2 {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .front-system .colums-text,
    .front-services .colums-text,
    .front-balance .colums-text,
    .front-me .colums-text,
    .front-group .colums-text {
        display: block;
    }

    .front-system-col1 {
        padding-bottom: 1rem;
    }

    .front-services-col1,
    .front-balance-col1 {
        padding-bottom: 5rem;
    }

    .front-me-img {
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
        margin-bottom: 5rem !important;
    }

    .front-me-img:before {
        left: 20%;
        width: 60%;
    }

    .front-me-img figure {
        width: 100%;
    }

    .front-me:after {
        height: 100px;
    }

    .front-me .btn-1 {
        margin-bottom: 10.25rem;
    }

    .front-group .wp-block-columns {
        padding: 0;
        padding-bottom: 5rem;
    }


    .front-group-img {
        width: 70%;
        margin: 0 auto !important;
        margin-top: 10rem !important;
    }

    .front-group-img:before {
        top: -25%;
        height: 150%;
    }

    #copyright .column-2 {
        margin-top: 1rem;
        padding-bottom: 1rem;
        display: block;
    }

    #copyright .column-2>div {
        width: 100%;
    }

    #designers {
        text-align: center;
        margin-top: 3rem;
    }

    #copyright ul {
        display: block;
        margin-top: 1rem;
        text-align: center;
    }

    .front-me h3 {
        padding-bottom: 1rem;
        padding-top: 0;
        border-bottom: 1px solid var(--ecru);
    }

    .front-me h5 {
        padding-top: 1rem;
    }

    .front-group h3 {
        padding-top: 0;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--ecru);
    }

    .front-group p:first-of-type {
        padding-top: 1rem;
    }


    .mentoring-programs-group,
    body .wp-block-cb-faqs,
    .treatment-relax-group {
        width: 100%;
    }


    .subhero img,
    .concept-hero img {
        position: relative;
        padding-left: 0;
        padding-right: 0;
        width: 100vw !important;
    }

    .top-subhero h1:before {
        left: 50%;
        transform: translate(-50%, -50%);
    }



    .ticket-item {
        background: var(--light-alabaster);
        padding: 2.25rem 1.5rem;
    }

    .lectures-list.column-3>div,
    .programs-list.column-3>div,
    .ticket-types .column-3>div,
    .concept-cols.column-3>div,
    .own-concept-box .column-3>div {
        width: calc((100% - (1 * var(--gap))) / 2);
    }

    .lecture-thumbnail-wrapper img,
    .program-thumbnail-wrapper img {
        width: 100%;
    }

    .lecture-thumbnail-wrapper:before,
    .program-thumbnail-wrapper:before {
        height: 475px;
    }

    .popular p {
        margin-right: 10px;
        font-size: 14px;
    }

    .event-box {
        display: block;
    }


    .wellfeeling .wp-block-columns {
        align-items: normal !important;
    }


    .why-wellbeing-group {
        width: 100%;
    }

    .front-group:before {
        display: none;
    }

    .decor-line {
        display: none;
    }

}


@media screen and (max-width: 960px) {


    .lecture-thumbnail-wrapper:before,
    .program-thumbnail-wrapper:before {
        height: 433px;
    }

    /* Tanácsadás */

    .ticket-item h5 {
        font-size: 1.3rem;
    }

    .ticket-types .wp-block-columns .wp-block-column:first-of-type,
    .ticket-types .wp-block-columns .wp-block-column:nth-of-type(2) {
        margin-bottom: 2rem;
    }

    .mentoring-programs section.full-wide {
        padding-top: 0;
    }

    body .wp-block-cb-faqs {
        width: 100%;
    }

}



@media screen and (max-width: 960px) {

    .front-me-img:before {
        left: 18.5%;
        width: 63%;
    }
}

@media screen and (max-width: 912px) {

    .lecture-thumbnail-wrapper:before,
    .program-thumbnail-wrapper:before {
        height: 403px;
    }
}

@media screen and (max-width: 820px) {

    .front-me-img:before {
        left: 12.5%;
        width: 75%;
    }

    .lecture-thumbnail-wrapper:before,
    .program-thumbnail-wrapper:before {
        height: 375px;
    }

    .lecture-details,
    .program-details {
        margin: -7rem 1.25rem 0 1.25rem;
    }
}

@media screen and (max-width: 768px) {

    :root {
        --base-padding: 5rem 0;
        --top-padding: 5rem;
        --bottom-padding: 5rem;
        --four-padding: 5rem;
        --two-padding: 2.5rem;
        --three-padding: 3.5rem;
    }

    h2 {
        font-size: 2.75rem;
    }

    .front-system .wp-block-columns {
        display: block;
    }

    body .social-line1 {
        display: none;
    }

    .social-line2.wp-container-core-group-is-layout-6.wp-container-core-group-is-layout-6 {
        display: flex;
    }

    .front-services .item {
        margin-bottom: 3rem !important;
    }

    .front-services .item2 {
        margin-bottom: 4rem !important;
    }

    .front-services .item4 {
        margin-bottom: 0 !important;
    }

    .front-services-col1,
    .front-balance-col1 {
        padding-bottom: 3rem;
    }

    .front-me-img {
        margin-bottom: 3rem !important;
    }

    .front-group-img {
        margin-top: 8rem !important;
    }

    .opinion div.my_carousel .prev {
        left: 20% !important;
    }

    .opinion div.my_carousel .next {
        right: 20% !important;
    }


    /* Tanácsadás */


    .mentoring-programs-group {
        padding: var(--base-padding);
    }

    .mentors section.full-wide {
        padding-top: var(--top-padding);
        border-top: 1px solid var(--ecru);
    }

    /* .mentor-group {
        margin: 2rem 0 0 0;
    }*/

    /*.mentors .wp-block-columns {
        gap: 0;
    }*/

    .lecture-details,
    .program-details {
        margin: -5.5rem 0 0 0;
    }

    .ticket-types .column-3>div,
    .concept-cols.column-3>div,
    .own-concept-box .column-3>div {
        width: 100%;
    }

    .col-1-3.single-img {
        order: 1;
        text-align: center;
    }

    .lecture-content .col-2-3 {
        order: 2;
    }

    .single-img img {
        padding-bottom: 1.25rem;
    }

    .single .top-subhero .full-wide {
        padding-bottom: 1rem;
    }

    .lecture-content {
        padding-top: 0;
        position: relative;
    }

    .lecture-content::before {
        position: absolute;
        content: '';
        top: 0;
        background: var(--alabaster);
        height: 300px;
        width: 100%;
    }

    .treatment-relax-group {
        width: 100%;
    }

    .front-hero .wp-block-column:first-of-type figure img {
        margin-bottom: 0;
        margin-left: 0;
    }

    .me-adrienn .wp-block-columns .entire-text {
        order: 2;
    }

    .me-adrienn:before {
        display: none;
    }

    .me-adrienn .entire-text {
        position: relative;
    }

    .me-adrienn .entire-text:before {
        position: absolute;
        content: '';
        top: 2.5rem;
        left: 0;
        width: 100%;
        height: 1px;
        background: var(--ecru);
        z-index: 1;
    }

    .gyik h2 {
        margin-bottom: 1rem;
    }

}


@media screen and (max-width: 540px) {

    :root {
        --base-padding: 2.9rem 0;
        --top-padding: 2.9rem;
        --bottom-padding: 2.9rem;
        --four-padding: 2.9rem;
        --two-padding: 1.5rem;
        --three-padding: 3.5rem;
    }

    h1 {
        font-size: 48px;
        line-height: 64px;
    }

    h2,
    .front-services h2,
    .front-balance h2 {
        font-size: 2.125rem;
        line-height: 3rem;
    }

    h3 {
        font-size: 1.75rem;
        line-height: 2.125rem;
    }

    h4 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    h5 {
        font-size: 1.125rem;
        line-height: 2rem;
    }

    .decor p {
        font-size: 20px;
        line-height: 32px;
    }

    body,
    p,
    .lecture-date,
    .lecture-details {
        line-height: 32px;
        font-size: 18px;
    }

    #logo a {
        margin: 1rem 0;
    }

    #logo h3 {
        font-size: 21px;
    }

    .hero-decor p {
        font-size: 26px;
        line-height: 40px;
    }

    .hero-decor strong {
        font-size: 28px;
    }

    .hero-p {
        padding: 10px 0 2.6rem 0;
    }

    .hero-box,
    .entire-text-box {
        /* padding-top: 40px;
        padding-bottom: 40px;*/
        padding: var(--base-padding);
    }

    .front-hero .wp-block-columns,
    .quality-programs .wp-block-columns {
        gap: 0;
    }

    .front-group-img {
        margin-top: 10rem !important;
        margin-bottom: 2rem !important;
    }

    .subhero .entire-text:before,
    .event-wellfeeling .entire-text:before,
    .personal-journey .entire-text:before,
    .me-adrienn .entire-text:before {
        top: 1.5rem;
    }

    .subhero::after,
    .wellfeeling:after,
    .personal-journey:after,
    .treatment-relax:after,
    .concept-hero:after,
    .event-wellfeeling .entire-text:after,
    .personal-journey .entire-text:after,
    .guid-change-programs .entire-text:after,
    .me-adrienn:after {
        bottom: 1.5rem;
    }

    .ticket-types .wp-block-columns .wp-block-column:first-of-type,
    .ticket-types .wp-block-columns .wp-block-column:nth-of-type(2) {
        margin-bottom: 1rem;
    }

    .social-line2 p {
        font-size: 16px;
    }

    .social-line .full-wide {
        padding: 1.75rem 0;
    }

    .front-system h2 {
        padding-bottom: 1rem;
    }


    .adri {
        font-size: 70px;
        padding: 0;
        margin-bottom: -1rem;
    }

    .front-services-col1 {
        padding-bottom: 2rem;
    }

    .circle1,
    .circle2,
    .circle3,
    .circle4 {
        margin-bottom: 0.75rem;
    }

    .front-services .item {
        margin-bottom: 1.5rem !important;
    }

    .front-services .item2 {
        margin-bottom: 2.5rem !important;
    }

    .front-services .item4 {
        margin-bottom: 0.5rem !important;
    }

    .opinion:before,
    .subhero::before,
    .wellfeeling::before,
    .personal-journey:before,
    .treatment-relax:before,
    .front-balance:before {
        top: 1.5rem;
    }

    .front-balance h2 {
        padding-top: 0.5rem;
    }

    .front-balance-col1 {
        padding-bottom: 1rem;
    }

    .mobile-spacer {
        height: 0.5rem !important;
    }

    .front-balance-col:where(.wp-block-columns.is-layout-flex) {
        gap: 0.5em;
    }

    .front-me h2 {
        padding-bottom: 2rem;
    }

    .front-me-img img {
        width: 85%;
    }

    .front-me-img:before {
        left: 0;
        width: 100%;
    }

    .front-me h3 {
        padding-bottom: 0.5rem;
    }

    .front-me h5 {
        padding-top: 0.5rem;
    }

    .front-me-img {
        margin-bottom: 2.5rem !important;
    }

    .front-me .btn-1 {
        margin-bottom: 9rem;
    }

    .front-group h3 {
        padding-bottom: 0.5rem;
    }

    .front-group p:first-of-type {
        padding-top: 0.5rem;
    }

    .front-group-img {
        width: 100%;

    }

    .front-group-img:before {
        top: -40%;
        height: 175%;
    }

    .placeholder1::before,
    .placeholder2::before {
        display: none;
    }

    .placeholder1::after,
    .placeholder2::after {
        position: absolute;
        content: '';
        bottom: 0;
        width: 100%;
        height: 1px;
        background: var(--ecru);
    }

    .opinion:before {
        display: none;
    }

    .opinion div.my_carousel .prev {
        left: 6% !important;
    }

    .opinion div.my_carousel .next {
        right: 6% !important;
    }

    /* Tanácsadás */


    .top-subhero section.full-wide {
        padding-bottom: 1rem;
    }

    .top-subhero p,
    .top-subhero h1 {
        text-align: left;
    }

    .top-subhero .decor span {
        margin: 0;
    }

    .top-subhero h1:before {
        left: 0;
        transform: none;
        width: 100%;
    }

    .ticket-types h2 {
        margin-bottom: 1.5rem;
    }

    .ticket-item {
        padding: 1.5rem 1rem;
    }

    .personal-journey .wp-block-columns {
        gap: 0;
    }


    .pack-p {
        margin: 1rem 0 0.75rem 0;
    }



    .ticket-types .decor p,
    .ticket-types h2,
    .mentors h2 {
        text-align: left;
    }

    .ticket-types .pack-p {
        margin-top: 2rem;
    }

    .priority-boarding .ticket-prices {
        margin-bottom: 0;
    }

    .priority-boarding {
        padding-bottom: 0;
    }

    body .wp-block-cb-faqs .faq-content {
        padding: 0 1rem;
    }

    body .faq-label h3 {
        font-size: 1.125rem;
        padding-left: 0;
    }

    body .wp-block-cb-faqs .faq-label:after {
        content: '';
        vertical-align: middle;
        display: inline-block;
        width: 1.25rem;
        height: 1.25rem;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="15" viewBox="0 0 26 15" fill="none"><path d="M24 13.5684L12.5889 2.15698L1.17749 13.5684" stroke="%23AE9C66" stroke-width="3"/></svg>') no-repeat center;
        background-size: contain;
    }

    .lectures-list.column-3>div,
    .programs-list.column-3>div,
    .ticket-types .column-3>div {
        width: 100%;
    }

    .lectures-list.column-3,
    .programs-list.column-3 {
        display: block;
    }

    .lectures-list.column-3>div,
    .programs-list.column-3>div {
        width: 100%;
    }

    .lecture-thumbnail-wrapper,
    .program-thumbnail-wrapper {
        text-align: center;
    }

    .lecture-thumbnail-wrapper-mobile,
    .program-thumbnail-wrapper-mobile {
        display: block;
    }

    .lecture-thumbnail-wrapper,
    .program-thumbnail-wrapper {
        display: none;
    }

    /*.lecture-thumbnail-wrapper img {
        clip-path: inset(0 0 9rem 0);
        margin-bottom: -9rem;
    }*/

    .lecture-details,
    .program-details {
        margin: 0 auto;
        min-width: 100%;
    }

    .lecture-item,
    .program-item {
        margin-bottom: 1.5rem;
    }

    .lecture-item:last-of-type,
    .program-item:last-of-type {
        margin-bottom: 0;
    }

    .lectures-page .subhero span:first-of-type {
        margin-right: 0;
    }

    .lectures-page .subhero span:nth-of-type(2) {
        margin-left: 0;
    }

    .single .top-subhero h1 {
        padding-bottom: 0;
        font-size: 34px;
        line-height: 2.875rem;
    }

    .top-subhero .decor p {
        margin-bottom: 0;
    }


    .lectures h2 {
        text-align: left;
        margin-bottom: 1rem;
    }

    .event-come p {
        font-size: 18px;
        line-height: 2rem;
    }

    .event-come .event-come-upper {
        padding-top: 1rem;
    }

    .event-come h3 {
        padding-bottom: 0.75rem;
        line-height: 36px;
    }

    .treatment-relax-group h2,
    .treatment-relax-group p {
        text-align: left;
    }

    .treatment-relax:after {
        bottom: 1.5rem;
    }

    .treatment-relax section.full-wide {
        padding: 3.5rem 0;
    }



    .wellbeing-concept .column-3,
    .own-concept .column-3 {
        padding-top: 2rem;
    }

    .ticket-prices {
        margin: 2rem 0 2rem 0;
    }

    .ticket-prices {
        font-size: 1.75rem;
        margin: 2rem 0 2.5rem 0;
    }

    .mentor-group-others {
        padding-top: 1rem;
    }

    .me-page .mentor-group-others{
        padding-top: var(--top-padding);
    }

    .wp-block-table.is-style-stripes tbody tr td:first-of-type {
        padding-right: 100px;
    }

}

@media screen and (max-width: 391px) {

    .location-line svg {
        min-width: 34px;
    }

    .concept-box,
    .concept-box-title {
        padding: 2rem 1rem;
        min-height: 295px;
    }

    .own-concept-box {
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 360px) {
    .front-services h2 {
        font-size: 2rem;
    }

    .wp-block-table.is-style-stripes tbody tr td:first-of-type {
        padding-right: 50px;
    }
}