/*
Theme Name: Privielle
Theme URI: https://frontendtanfolyam.hu/
Author: FrontendTanfolyam
Author URI: https://frontendtanfolyam.hu/pocsik-emese-frontend-fejleszto/
Description: Basic Block Theme by Emese Pocsik
Tags: one-column, custom-colors, custom-menu
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: privielle
*/
@media screen and (max-width: 1199px) {
    body {
        font-size: 16px;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
}

header.wp-block-template-part {
    position: relative;
    z-index: 100;
}

.wp-block-site-logo,
.wp-block-site-logo a,
.wp-block-site-logo a img {
    width: 250px !important;
    z-index: 2;
}

.page-template-page-hero header.wp-block-template-part {
    position: absolute;
    width: 100%;
}

.page-template-page-hero header.wp-block-template-part > div {
    background: none !important;
}

.wc-block-mini-cart__badge {
    color: var(--wp--preset--color--primary);
}

iframe {
    margin: 0;
    display: block;
}

.wp-element-button {
    transition: all 0.2s ease-in-out;
}

.wp-element-button:hover {
    transform: translateY(-3px);
}

@media (min-width: 1320px) {
    header.wp-block-template-part .wp-block-navigation__responsive-container-content {
        margin-left: -3rem;
    }

    .wp-block-site-logo {
        position: absolute;
        top: 3.25rem;
        left: 50%;
        margin-left: -125px;
    }
}

@media (max-width: 1319px) {
    header.wp-block-template-part .are-vertically-aligned-center > .wp-block-column:last-of-type {
        flex-basis: max-content !important;
    }

    .wp-block-site-logo,
    .wp-block-site-logo a,
    .wp-block-site-logo a img {
        width: 200px !important;
        text-align: left;
    }

    .wp-block-navigation__responsive-container-content .wp-block-spacer {
        display: none;
    }
}

#mlb2-28891960.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
    max-width: 100% !important;
}

#mlb2-28891960.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
#mlb2-28891960.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
    padding: 0 !important;
}

.wp-block-query-pagination-numbers {
    display: flex;
    gap: 0.5rem;
    font-size: smaller;
}

.wp-block-query-pagination-numbers span,
.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination-next-arrow {
    display: block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 3rem;
    text-align: center;
}

.wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination-next-arrow {
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--primary);
}

.wp-block-query-pagination-numbers a:hover,
.wp-block-query-pagination-previous-arrow:hover,
.wp-block-query-pagination-next-arrow:hover {
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--primary);
}

.wp-block-query-pagination-numbers .current {
    background: var(--wp--preset--color--primary);
    color: #fff;
}

body.single-post h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
}

.wp-block-post {
    position: relative;
}

.archive .taxonomy-post_tag.wp-block-post-terms {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
}

.taxonomy-post_tag.wp-block-post-terms {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.single .taxonomy-post_tag.wp-block-post-terms {
    justify-content: center;
}

.taxonomy-post_tag .wp-block-post-terms__separator {
    display: none;
}

.wp-block-term-description {
    max-width: var(--wp--style--global--wide-size);
}

.iphone {
    position: relative;
}

.iphone .wp-block-cover {
    overflow: initial;
    max-width: 480px;
}

.iphone .wp-block-cover > img,
.iphone .wp-block-cover .wp-block-cover__background {
    border-radius: 2rem;
}

.iphone .wp-block-cover:before {
    position: absolute;
    content: "";
    width: 6rem;
    height: 2rem;
    background: var(--wp--preset--color--border) !important;
    right: 50%;
    margin-right: -50px;
    top: 1rem;
    z-index: 2;
    border-radius: 60px;
    pointer-events: none;
}

.iphone .wp-block-cover:after {
    position: absolute;
    content: "";
    width: calc(100% + 40px);
    height: calc(100% - 10vw);
    left: -20px;
    top: 10vw;
    z-index: 2;
    background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 502 238" version="1.1" xml:space="preserve" style="fill:rgb(217,217,217);fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g transform="matrix(1,0,0,1,-0.001,2.27374e-13)"><path d="M12.221,174.316C12.221,172.631 10.851,171.26 9.161,171.26L3.051,171.26C1.371,171.26 0.001,172.631 0.001,174.316L0.001,234.944C0.001,236.629 1.371,238 3.051,238L9.161,238C10.851,238 12.221,236.629 12.221,234.944L12.221,174.316ZM502,3.06C502,1.37 500.63,0 498.94,0L492.83,0C491.15,0 489.78,1.37 489.78,3.06L489.78,188.7C489.78,190.39 491.15,191.76 492.83,191.76L498.94,191.76C500.63,191.76 502,190.39 502,188.7L502,3.06ZM12.221,89.065C12.221,87.38 10.851,86.009 9.161,86.009L3.051,86.009C1.371,86.009 0.001,87.38 0.001,89.065L0.001,149.693C0.001,151.378 1.371,152.749 3.051,152.749L9.161,152.749C10.851,152.749 12.221,151.378 12.221,149.693L12.221,89.065ZM12.221,3.055C12.221,1.369 10.851,-0 9.161,-0L3.051,-0C1.371,-0 0.001,1.369 0.001,3.055L0.001,34.074C0.001,35.759 1.371,37.13 3.051,37.13L9.161,37.13C10.851,37.13 12.221,35.759 12.221,34.074L12.221,3.055Z"/></g></svg>');
    background-position: top center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.bubble:before {
    position: absolute;
    content: "";
    width: 1rem;
    height: 1.5rem;
    right: 1rem;
    top: calc(-1.5rem + 1px);
    z-index: 100;
    background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 15 25" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;"><g transform="matrix(1,0,0,1,-39.5,-69.5)"><g transform="matrix(0.150266,0,0,0.15,26.8807,54.9231)"><path d="M180.475,100.513L87.307,260.513L180.475,260.513L180.475,100.513Z" style="fill:rgb(255,255,255);"/></g><g transform="matrix(0.15,0,0,0.15,27.8821,53.772)"><path d="M174.12,108.187L80.786,268.187L174.12,108.187Z" style="fill:none;stroke:rgb(217,217,217);stroke-width:5px;"/></g><g transform="matrix(0.15,0,0,0.15,29.0909,54.3551)"><path d="M166.061,104.3L166.061,264.3" style="fill:none;stroke:rgb(217,217,217);stroke-width:5px;"/></g></g></svg>');
    background-position: top center;
    background-repeat: no-repeat;
}

@media (max-width: 1023px) {
    .negative {
        margin: auto !important;
    }

    h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]) {
        writing-mode: horizontal-tb !important;
        text-align: center !important;
        rotate: 0deg !important;
    }

    h1 br,
    h2 br,
    h3 br,
    p br {
        display: none;
    }

    .wp-block-spacer {
        --wp--preset--spacing--xxl: 1rem;
        --wp--preset--spacing--xxxl: 1rem;
    }

    body {
        --wp--preset--spacing--xxl: 1.5rem;
    }

    footer.wp-block-template-part .wp-block-group {
        justify-content: center;
    }

    .iphone h2 {
        font-size: 14vw !important;
    }

    .iphone .wp-block-columns:first-of-type {
        order: 10;
        margin-top: 2rem !important;
    }

    .iphone .wp-block-cover-is-layout-constrained {
        display: flex;
        flex-direction: column;
        margin-top: 4rem !important;
    }
}

.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
    max-width: 100% !important;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
    padding: 0 !important;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .custom-checkbox .custom-control-label::after,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedPermissions .ml-form-embedPermissionsOptionsCheckbox .label-description::after,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-interestGroupsRow .ml-form-interestGroupsRowCheckbox .label-description::after,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description::after,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedPermissions .ml-form-embedPermissionsOptionsCheckbox .label-description::before,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-interestGroupsRow .ml-form-interestGroupsRowCheckbox .label-description::before,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow .label-description::before {
    content: none !important;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedPermissions .ml-form-embedPermissionsOptionsCheckbox label {
    padding-left: 2rem !important;
    text-align: left;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow input[type="checkbox"],
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedPermissions .ml-form-embedPermissionsOptionsCheckbox input[type="checkbox"] {
    z-index: 0 !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    margin-left: -2rem !important;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
    background-color: var(--wp--preset--color--secondary) !important;
    color: var(--wp--preset--color--primary) !important;
    outline: solid 5px var(--wp--preset--color--secondary);
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--secondary) !important;
    outline: solid 5px var(--wp--preset--color--primary);
}