/* Production components layered on the approved Természetközel design.
   The admin uses its own layout and never loads these styles. */
.hero-visual > picture,
.photo-button > picture {
    display: block;
    width: 100%;
    height: 100%;
}
/* The original garden stays at its smaller 4:3 size, above the decorative
   outpainted side extension. The extension is only fetched on wide screens. */
.hero-visual {
    overflow: hidden;
}
.hero-visual > .hero-extension {
    display: none;
}
@media (min-width: 700px) {
    .hero-visual > picture:not(.hero-extension) {
        position: absolute;
        right: max(0px, calc((100vw - 1440px) / 2));
        bottom: 0;
        display: flex;
        align-items: flex-end;
        width: auto;
        max-width: 100%;
        height: 100%;
        aspect-ratio: 4 / 3;
        mask-image: linear-gradient(
            90deg,
            transparent,
            #000 8%,
            #000 92%,
            transparent
        );
    }
    .hero-photo {
        height: auto;
        object-fit: contain;
        object-position: right bottom;
    }
    .hero-shade {
        background:
            linear-gradient(
                90deg,
                rgba(15, 39, 23, 0.78),
                rgba(15, 39, 23, 0.63) 27%,
                rgba(15, 39, 23, 0.12) 55%,
                transparent 65%
            ),
            linear-gradient(
                180deg,
                rgba(15, 39, 23, 0.28),
                transparent 22%,
                transparent 86%,
                var(--cream)
            );
    }
    .hero-shade:after {
        height: 105px;
    }
}
@media (min-width: 1000px) {
    .hero-visual > .hero-extension {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
    }
    .hero-extension img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 30% center;
    }
}
@media (min-width: 700px) and (max-width: 979px) {
    .hero-photo {
        mask-image: linear-gradient(180deg, transparent, #000 20%);
    }
}
@media (min-width: 1200px) {
    .paper-note {
        right: max(32px, calc((100vw - 1344px) / 2));
    }
}
/* Keep the original over the panorama's central area on ultrawide displays. */
@media (min-width: 2000px) {
    .hero-visual > picture:not(.hero-extension) {
        left: 30%;
        right: auto;
        transform: translateX(-5%);
    }
}
@media (min-width: 2595px) {
    .hero-visual > picture:not(.hero-extension) {
        top: 50%;
        bottom: auto;
        left: 50%;
        width: calc(100% * 4 / 9);
        height: auto;
        transform: translate(-50%, -50%);
    }
}
.sr-only,
.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.anchor-alias {
    display: block;
    height: 0;
    scroll-margin-top: 96px;
}
.text-link[data-open] {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    background: none;
    padding-left: 0;
    padding-right: 0;
}
.footer-parcel {
    font-size: 10px;
    color: #b7c6b1;
}
.form-row label span {
    font-weight: 400;
    color: var(--muted);
}
.field-help {
    font-size: 10px;
    line-height: 1.7;
    color: #59664f;
    margin-top: 5px;
}
.form-notice,
.local-notice {
    font-size: 11px;
    line-height: 1.8;
    margin: 17px 0;
    color: #53614d;
}
.form-notice a,
.form-privacy a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.local-notice {
    padding: 10px 12px;
    border-left: 3px solid #83936a;
    background: #edf0e5;
}
.field-error {
    font-size: 11px;
    line-height: 1.6;
    color: #91342d;
    margin-top: 5px;
    overflow-wrap: anywhere;
}
.field-error:empty {
    display: none;
}
.form-row [aria-invalid="true"] {
    border-color: #91342d;
}
.form-message.is-error {
    border-color: #be7871;
    background: #fff4ef;
    color: #702e27;
}
.form-message {
    overflow-wrap: anywhere;
}
.form-message:focus {
    outline: 2px solid var(--terra);
    outline-offset: 3px;
}
.submit-btn:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}
.form-card > .form-privacy {
    font-size: 10px;
    text-align: center;
    margin: 15px 0 0;
}
.form-card,
.contact-copy {
    min-width: 0;
}
/* Native full-resolution viewer: the image scrolls at its intrinsic size. */
.lb-stage.is-zoomed {
    display: block;
    overflow: auto;
    padding: 0;
}
.lb-stage.is-zoomed .lb-image {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}
.lb-stage.is-zoomed .lb-arrow {
    display: none;
}
.lb-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 22px 16px;
}
.lb-actions button {
    font-size: 12px;
    padding: 9px 12px;
    border: 1px solid #a1ad8d;
    border-radius: 4px;
    background: var(--paper);
}
.lb-actions button:hover {
    background: var(--sage);
}
.modal {
    margin: auto;
}
/* Production public documents share the navigation, typography and footer. */
.public-document .site-header {
    position: relative;
    color: var(--ink);
    background: var(--cream);
    border-color: var(--line);
}
.public-document .site-header.scrolled {
    position: fixed;
    background: #faf8efee;
}
.public-document:has(.site-header.scrolled) {
    padding-top: 88px;
}
.legal-page {
    max-width: 850px;
    padding-top: 70px;
    padding-bottom: 90px;
    min-height: 65vh;
}
.legal-page .eyebrow {
    margin-bottom: 18px;
}
.legal-page h1 {
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 30px;
}
.legal-page h2 {
    font-size: 29px;
    letter-spacing: -0.6px;
    margin: 35px 0 14px;
}
.legal-page p,
.legal-page dd {
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.legal-page p {
    margin-bottom: 18px;
}
.legal-page a:not(.btn) {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.legal-page dt {
    font-weight: 700;
    margin-top: 16px;
}
.legal-page dd {
    margin: 4px 0 18px;
}
/* Choices and text are unchanged; only the shared public skin is applied. */
.consent-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 70;
    max-width: 1120px;
    max-height: 85dvh;
    overflow: auto;
    margin: auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 8px 50px #172b2240;
}
.consent-banner h2,
.consent-dialog h2 {
    font-size: 27px;
    letter-spacing: -0.6px;
    margin-bottom: 12px;
}
.consent-banner p,
.consent-dialog p {
    font-size: 13px;
    line-height: 1.7;
}
.consent-banner a {
    text-decoration: underline;
}
.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.consent-actions .btn {
    flex: 1;
    white-space: normal;
    min-width: 135px;
}
.consent-dialog {
    width: min(620px, calc(100% - 32px));
    max-height: 85dvh;
    overflow: auto;
    margin: auto;
    padding: 30px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.consent-dialog::backdrop {
    background: #0d1f15e8;
    backdrop-filter: blur(5px);
}
.consent-option {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-top: 20px;
}
.consent-option input {
    width: 22px;
    min-height: 22px;
    height: 22px;
    flex-shrink: 0;
    accent-color: var(--forest);
}
.mobile-cta.is-hidden,
.modal-open .mobile-cta,
body:has(.consent-banner:not([hidden])) .mobile-cta {
    visibility: hidden;
    pointer-events: none;
    transform: translateY(110%);
}
.mobile-cta:not(.is-hidden) {
    transform: translateY(0);
}
@media (max-width: 979px) {
    .public-document:has(.site-header.scrolled) {
        padding-top: 77px;
    }
}
@media (max-width: 699px) {
    .hero-visual > picture {
        height: auto;
    }
    .public-document:has(.site-header.scrolled) {
        padding-top: 68px;
    }
    .legal-page {
        padding-top: 42px;
    }
    .consent-banner {
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        padding: 20px;
    }
    .consent-actions {
        gap: 8px;
    }
    .consent-actions .btn {
        font-size: 11px;
        padding: 11px;
        min-width: 120px;
    }
    .consent-dialog {
        padding: 24px;
    }
    .lb-actions {
        padding: 0 14px 12px;
        gap: 6px;
    }
    .lb-actions button {
        font-size: 10px;
    }
    .lb-stage {
        height: 58dvh;
    }
    .contact-price strong {
        white-space: nowrap;
    }
    .footer-parcel {
        width: 100%;
        font-size: 10px;
        line-height: 1.8;
    }
    .mobile-cta small {
        max-width: 150px;
        line-height: 1.5;
    }
}
@media print {
    .site-header,
    .mobile-cta,
    .consent-banner,
    .consent-dialog,
    .modal,
    .hero-actions,
    .hero-photo-cta,
    .form-card,
    .footer-links {
        display: none !important;
    }
    .section {
        padding: 30px 0;
    }
    .contact {
        break-inside: avoid;
    }
}
/* Small-label AA contrast corrections; retain the approved sizes and main palette. */
.hero-price span{color:#fff4e4}
.intro-handwritten{color:#667345}
.gallery-section .eyebrow.terra,.location-copy .eyebrow.terra{color:#ae492e}
.gallery-section .section-heading>p,.gallery-counter,.gallery-footer p{color:#626d60}
.location-address small{color:#637055}
