/*
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;
    border-bottom: solid 1px #F5D7AB;

}

header.wp-block-template-part > .wp-block-group {
    border-bottom: solid 1px #F5D7AB;
    margin-bottom: 2px !important;
}

header .wp-block-site-logo,
header .wp-block-site-logo a,
header .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;
    }

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

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

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


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

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

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

.no-wrap {
    white-space: nowrap;
}


.wp-block-categories-list.wp-block-categories {
    list-style-type: none;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 2rem;

    font-weight: 700;
    line-height: 1;
    padding: 0;


}

.wp-block-categories-list.wp-block-categories li a {
    display: block;
    padding: 1rem 0;
    border-bottom: solid 1px;
}


.ipad .wp-block-cover__inner-container > .wp-block-group {

    background-position: bottom -40% left -80% !important;
    background-size: 80% auto !important;
    background-repeat: no-repeat;

}

.taxonomy-category.wp-block-post-terms {
    text-transform: uppercase;
    margin-top: -2.5rem;
    color: #fff !important;
}

nav.breadcrumb {
    text-transform: uppercase;
}

nav.breadcrumb a {
    color: inherit;
}

.wp-block-search__inside-wrapper {
    background: #fff;
}

.wp-block-search__inside-wrapper input {
   margin: 0!important;
}

.wp-element-button.is-style-outline.modal {
    background: transparent none;
    border-color: var(--wp--preset--color--currentColor);
    border-width: 2px;
    border-style: solid;
    color: var(--wp--preset--color--currentColor);
}

@media (min-width: 1023px) {


    .archive.category .wp-block-post-template.is-layout-grid > li:first-child {

        grid-column: span 2;
        grid-row: span 2;
    }

    .archive.category .wp-block-post-template.is-layout-grid > li:first-child h2 {

        font-size: 5rem !important;
        line-height: 1.3;
    }
}

.ipad-img {
    margin-left: 1.5rem !important
}

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

    header.wp-block-template-part + main.wp-block-group .wp-block-cover:first-of-type {
        padding-top: 8rem !important
    }

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