/* Human House — block-editor-friendly site tweaks */

.hh-page-cover.wp-block-cover {
    min-height: 52vh;
}

.hh-page-cover .wp-block-cover__inner-container,
.hh-page-cover .wp-block-cover__inner-container h1,
.hh-page-cover .wp-block-cover__inner-container p {
    color: #fff !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hh-motto {
    font-style: italic;
    font-weight: 400 !important;
    letter-spacing: -0.02em;
}

.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
    width: 100% !important;
    max-width: 100% !important;
}

.wpforms-container .wpforms-submit-container {
    margin-top: 0.5rem;
}

.hh-phone-line {
    margin-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.hh-contact-phone {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin: 0;
}

.hh-contact-phone a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.hh-footer,
.hh-footer.wp-block-group {
    background: #111111 !important;
    color: #f3f0ea;
}

.hh-footer a {
    color: #d4c4a8 !important;
    text-decoration: none;
}

.hh-footer a:hover {
    color: #ffffff !important;
}

.hh-footer-logo {
    margin: 0 0 0.75rem;
}

.hh-footer-logo img {
    width: 148px !important;
    height: auto !important;
    display: block;
}

.hh-footer-left p,
.hh-footer-right p {
    margin: 0 0 0.35rem;
    font-size: 16px;
    line-height: 1.5;
    color: #f3f0ea;
}

.hh-footer-right p {
    text-align: right;
}

.hh-footer-columns.wp-block-columns {
    align-items: flex-start !important;
    margin-bottom: 0 !important;
}

.hh-footer-left .hh-footer-logo {
    margin-bottom: 0.85rem;
}

.hh-footer-brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hh-footer-copy {
    margin-top: 0.9rem !important;
    font-size: 13px !important;
    color: #9a9388 !important;
}

.hh-footer-legal {
    margin-top: 0.7rem !important;
    font-size: 13px !important;
    line-height: 1.65;
}

.hh-footer-legal a {
    white-space: nowrap;
}

.hh-footer-fund.wp-block-image,
.hh-footer-fund {
    margin: 1.75rem auto 0 !important;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hh-footer-fund img {
    width: 300px !important;
    max-width: min(300px, 100%) !important;
    height: auto !important;
}

.hh-footer .hh-footer-ingatlan-logo {
    background: #ffffff !important;
    border-radius: 9999px !important;
    padding: 3px 28px !important;
    line-height: 0 !important;
    margin: 0 0 0.5rem auto !important;
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
}

.hh-footer .hh-footer-ingatlan-logo a {
    display: block !important;
    line-height: 0 !important;
}

.hh-footer .hh-footer-ingatlan-logo img {
    display: block !important;
    border-radius: 0 !important;
    width: 180px !important;
    height: auto !important;
}

.hh-legal h2,
.hh-legal h3 {
    margin-top: 1.6rem;
}

.hh-legal table {
    width: 100%;
}

body:not(.home) .hh-page-cover.wp-block-cover {
    background-color: #102132 !important;
}

body:not(.home) .wp-site-blocks {
    position: relative;
}

body:not(.home) .wp-site-blocks > header,
body:not(.home) header.wp-block-template-part {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    width: 100%;
    background-color: rgba(16, 33, 50, 0.51);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body:not(.home) .superbthemes-navigation-004 {
    background: transparent !important;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

body:not(.home) .wp-block-navigation a,
body:not(.home) .wp-block-navigation-item__content {
    color: #fff !important;
}

body:not(.home) .superbthemes-navigation-004-columns-logo {
    flex-shrink: 0;
}

body:not(.home) .superbthemes-navigation-004-columns-logo .wp-block-image,
body:not(.home) .superbthemes-navigation-004-columns-logo img {
    width: auto !important;
    height: auto !important;
    max-height: 58px;
    max-width: 170px;
    object-fit: contain;
}

body.home .sticky-block {
    position: relative;
    z-index: 1;
    height: 550px;
    isolation: auto;
    background-color: #111111;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.home .sticky-block .child-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100% !important;
    z-index: 1;
}

body.home .sticky-block > .wp-block-columns:first-child {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 !important;
    gap: 0 !important;
    z-index: 350;
    align-items: stretch !important;
}

body.home .sticky-block .frontra {
    position: relative !important;
    top: 0;
    left: 0;
    width: 150%;
    max-width: none;
    z-index: 300;
    background-color: rgba(16, 33, 50, 0.51);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
}

body.home .sticky-block .frontra.is-layout-constrained > .wp-block-template-part,
body.home .sticky-block .frontra.is-layout-constrained > header {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.home .superbthemes-navigation-004 {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: calc(60px + var(--wp--preset--spacing--superbspacing-medium)) !important;
    background: transparent !important;
}

body.home .sticky-block .frontra a,
body.home .sticky-block .frontra .wp-block-navigation {
    pointer-events: auto;
}

body.home .wp-block-navigation a {
    pointer-events: auto;
    z-index: 400;
    color: #fff !important;
}

body.home .sticky-block > .wp-block-columns:first-child > .wp-block-column.is-vertically-aligned-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch !important;
    z-index: 500;
    pointer-events: auto;
}

body.home .phone-number {
    position: relative;
    z-index: 500;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.15;
}

body.home .wp-site-blocks > .superbthemes-navigation-004 {
    display: none !important;
}

body.home .hh-ingatlancom-bar,
body.home #lista {
    background: #111111 !important;
    width: 100% !important;
    max-width: none !important;
}

body.home .hh-ingatlancom-bar {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
    position: relative !important;
    cursor: pointer !important;
}

body.home .hh-ingatlancom-bar .hh-ingatlancom-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    display: block !important;
}

body.home .hh-ingatlancom-bar h3,
body.home .hh-ingatlancom-bar .wp-block-heading {
    color: #f3f0ea !important;
}

body.home .hh-ingatlancom-bar .wp-block-image {
    background: #ffffff !important;
    border-radius: 9999px !important;
    padding: 3px 28px !important;
    line-height: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
}

body.home .hh-ingatlancom-bar .wp-block-image img {
    display: block !important;
    border-radius: 0 !important;
}

.hh-hs-video.wp-block-cover {
    min-height: 72vh !important;
    max-height: none;
    overflow: hidden;
}

.hh-hs-video > .wp-block-cover__background,
.hh-hs-video .wp-block-cover__background.has-background-dim,
.hh-hs-video .wp-block-cover__background.has-background-dim-50 {
    background-color: transparent !important;
    background-image: linear-gradient(
        to right,
        rgba(16, 33, 50, 0.78) 0%,
        rgba(16, 33, 50, 0.42) 28%,
        rgba(16, 33, 50, 0.12) 46%,
        rgba(16, 33, 50, 0) 62%
    ) !important;
    opacity: 1 !important;
}

.hh-hs-video .wp-block-cover__inner-container {
    max-width: 780px;
    margin-left: 6vw;
    margin-right: auto;
    text-align: left;
}

.hh-hs-title {
    font-size: clamp(3.4rem, 9vw, 7.2rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.04em;
    font-weight: 600 !important;
    margin: 0 0 0.35rem !important;
}

.hh-hs-sub {
    font-size: clamp(1.15rem, 2.3vw, 1.75rem) !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    margin: 0 0 1rem !important;
}

.hh-hs-video .wp-block-cover__video-background {
    object-fit: cover;
    object-position: center center;
}

.hh-hs-video .wp-block-cover__inner-container h2,
.hh-hs-video .wp-block-cover__inner-container p {
    color: #fff !important;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.wp-block-button__link,
.wp-element-button,
div.wpforms-container .wpforms-submit {
    background-color: #d4c4a8 !important;
    color: #102132 !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: #d4c4a8 !important;
    color: #102132 !important;
    border: none !important;
}

#kapcsolat .wp-block-button__link,
#kapcsolat .wpforms-submit,
div.wpforms-container .wpforms-submit,
[style*="#d4c4a8"] .wp-block-button__link,
[style*="#d4c4a8"] .wp-block-button.is-style-outline .wp-block-button__link,
[style*="#d4c4a8"] .wpforms-submit {
    background-color: #ffffff !important;
    color: #102132 !important;
}

.wp-block-button__link:hover,
.wp-element-button:hover,
div.wpforms-container .wpforms-submit:hover {
    filter: brightness(0.96);
}

.hh-eladna-ctas {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 782px) {
    .hh-contact-phone {
        font-size: 1.35rem;
        white-space: normal;
    }

    body:not(.home) .superbthemes-navigation-004 {
        max-width: 94%;
    }

    .hh-footer-right p,
    .hh-footer-left p {
        text-align: left;
    }
}

.hh-teaser-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.hhi-wrap--empty {
    max-width: 720px;
    margin: 1.5rem auto;
    text-align: center;
    padding: 1.5rem;
}

@media (max-width: 782px) {
    body.home .superbthemes-navigation-004 {
        padding-left: var(--wp--preset--spacing--superbspacing-medium);
    }

    body.home .sticky-block .frontra {
        width: 100%;
    }

    body.home .sticky-block > .wp-block-columns:first-child > .wp-block-column.is-vertically-aligned-bottom {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        padding-right: 12px;
    }

    .phone-number {
        font-size: 18px !important;
        text-align: right;
    }

    .hh-hs-video .wp-block-cover__inner-container {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
        max-width: none;
    }

    .hh-eladna-ctas {
        justify-content: center;
    }
}


.hh-footer .hh-footer-social {
    margin: 0.35rem 0 0.75rem !important;
    justify-content: flex-end !important;
}

.hh-footer .hh-footer-social .wp-block-social-link a {
    color: #f3f0ea !important;
}

.hh-footer .hh-footer-social .wp-block-social-link a:hover {
    color: #d4c4a8 !important;
}

.hh-footer .hh-footer-social .wp-social-link svg {
    width: 1.35em !important;
    height: 1.35em !important;
}


/* CookieYes: no floating revisit cookie button */
.cky-btn-revisit-wrapper,
.cky-revisit-bottom-left,
.cky-revisit-bottom-right,
.cky-btn-revisit,
#cookie-law-info-again,
.cli-widget {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* GTranslate flag at end of menu row */
.hh-menu-translate {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 1rem !important;
    line-height: 0 !important;
}
.hh-menu-translate .gt_switcher,
.hh-menu-translate .gtranslate_wrapper,
.hh-menu-translate a {
    display: inline-flex !important;
    align-items: center !important;
}
.hh-menu-translate img {
    width: 22px !important;
    height: auto !important;
    border-radius: 2px !important;
}
.superbthemes-navigation-004 .wp-block-navigation,
.superbthemes-navigation-004 .hh-nav-with-lang {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}


.superbthemes-navigation-004-columns-button {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding-right: 1.25rem !important;
}
.hh-menu-translate {
    margin-left: 0 !important;
}
.hh-menu-translate .gt_container,
.hh-menu-translate .gtranslate_wrapper {
    text-align: right !important;
}
