/* Original sticky container and original scroll-blur values; the internal hero CSS is unchanged. */
@media(min-width:1025px){
 .mf-6260>.mf-element-75ed2f24{filter:blur(var(--mf-project-blur,0px))}
 .mf-6260>.mf-element-75ed2f24.mf-project-hero-pinned{position:fixed;top:0;bottom:auto;left:var(--mf-pin-left,0px);width:var(--mf-pin-width,100%);margin-top:0;margin-bottom:0}
}
.mf-project-hero-spacer{width:100%;padding:0;margin:0;border:0;visibility:hidden;pointer-events:none}
/* Related projects use the same card composition as the catalogue. */
.mf-6260 .mf-5077{min-width:0}
.mf-6260 .mf-5077 .mf-element.mfpro-project-card{position:relative;width:100%;min-width:0;background:#fff!important;border:1px solid #e7e4de;border-radius:12px;overflow:hidden;--border-radius:12px;--gap:0px;box-shadow:0 3px 14px #17181706}
.mf-6260 .mf-5077 .mfpro-project-card>.e-con-inner{gap:0!important}
.mf-6260 .mf-5077 .mf-element-0e64ad1{border-radius:0;--border-radius:0px}
.mf-6260 .mf-5077 .mf-element.mf-element-3a8c1e7c{transform:none!important}
.mf-6260 .mf-5077 .mf-element.mf-element-3a8c1e7c img{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;border-radius:0;transition:transform .7s cubic-bezier(.22,.61,.36,1)}
.mf-6260 .mf-5077 .mfpro-project-card:hover img,.mf-6260 .mf-5077 .mfpro-project-card:focus-visible img{transform:scale(1.04)}
.mf-6260 .mf-5077 .mf-element.mf-element-63c03f23{--margin-bottom:0px;--gap:0px;position:absolute;bottom:66px;left:14px;right:14px;width:auto;pointer-events:none}
.mf-6260 .mf-5077 .mf-element-3146d416 .mf-heading-title{color:#fff!important;font-size:20px!important;text-shadow:0 1px 5px #000c;font-weight:600;line-height:1.15}
.mf-6260 .mf-5077 .mf-element-1de03d42{display:none}
.mf-6260 .mf-5077 .mf-element.mf-element-28bb8bfa{height:52px;padding:12px 10px!important;margin:0!important;display:flex;align-items:center;background:#fff}
.mf-6260 .mf-5077 .mf-element-28bb8bfa .mf-icon-list-items{display:flex;flex-wrap:nowrap;width:100%;margin:0!important;gap:0;justify-content:center;align-items:center}
.mf-6260 .mf-5077 .mf-element-28bb8bfa .mf-icon-list-item{display:flex;flex:1 1 auto;justify-content:center;align-items:center;margin:0!important;padding:0 7px!important;border-right:1px dashed #d4cfc5;white-space:nowrap}
.mf-6260 .mf-5077 .mf-element-28bb8bfa .mf-icon-list-item:last-child{border-right:0}
.mf-6260 .mf-5077 .mf-element-28bb8bfa .mf-icon-list-item:after{display:none}
@media(max-width:1100px){.mf-6260 .mf-5077 .mf-element-28bb8bfa .mf-icon-list-text{font-size:10px!important}}
@media(max-width:1024px){.mf-6260 .mf-5077 .mf-element-3146d416 .mf-heading-title{font-size:21px!important}.mf-6260 .mf-5077 .mf-element-28bb8bfa .mf-icon-list-text{font-size:11px!important}}
@media(max-width:370px){.mf-6260 .mf-5077 .mf-element-28bb8bfa .mf-icon-list-item{padding:0 5px!important}.mf-6260 .mf-5077 .mf-element-28bb8bfa .mf-icon-list-text{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.mf-6260 .mf-5077 .mf-element-3a8c1e7c img{transition:none}}

/* Separate related projects using the same warm paper background as the homepage carousel. */
.mf-6260 .mf-element.mf-element-3aec08e2:not(.mf-motion-effects-element-type-background){background-color:#faf9f6}

/* The PDF helper has no visible page content; do not reserve a band above the footer. */
.mf-6260>.mf-element.mf-element-2e6eb9a{display:none!important}
/* The full mobile tab section is white, including the outer gutters. */
@media(max-width:1024px){.mf-6260>.mf-element.mf-element-5cff0703{background:#fff!important}}

/* Keep the original light paper behind mobile navigation, with white tab content below. */
@media(max-width:1024px){
 .mf-6260 .mf-element-5cff0703 .e-n-tabs-heading{border-top:1px dashed #d4cfc5;border-bottom:1px dashed #d4cfc5;background:#eeece6;width:calc(100% + 40px);margin:0 -20px;padding:16px 20px;box-sizing:border-box}
}

/* Neutral tab states, independent of the base theme's pink button hover. */
.mf-6260 .mf-element.mf-element-4b49ad9 .e-n-tabs-heading .e-n-tab-title[aria-selected="false"]:hover,
.mf-6260 .mf-element.mf-element-4b49ad9 .e-n-tabs-heading .e-n-tab-title[aria-selected="false"]:focus{background:#e3e0d9!important;color:#111!important;border-color:#cfcac1!important}
.mf-6260 .mf-element.mf-element-4b49ad9 .e-n-tabs-heading .e-n-tab-title[aria-selected="true"],
.mf-6260 .mf-element.mf-element-4b49ad9 .e-n-tabs-heading .e-n-tab-title[aria-selected="true"]:hover,
.mf-6260 .mf-element.mf-element-4b49ad9 .e-n-tabs-heading .e-n-tab-title[aria-selected="true"]:focus{background:#111!important;color:#fff!important;border-color:#111!important}

/* Breathing room after the inquiry form on phones. */
@media(max-width:1024px){.mf-6260 .mf-element.js-doc-card{margin-top:32px!important}}

/* White inquiry section contrasts with the related projects above it. */
.mf-6260>.mf-element.mf-element-e012a03{background-color:#fff!important}

/* A compact desktop rhythm, preserving the approved mobile spacing. */
@media(min-width:1025px){
 .mf-6260 .mf-element.mf-element-3aec08e2,
 .mf-6260 .mf-element.mf-element-e012a03{--padding-top:64px;--padding-bottom:64px}
 .mf-6260 .mf-element.mf-element-741b98e5{--padding-top:48px;--padding-bottom:48px}
 .mf-6260 .mf-element.mf-element-4b49ad9{padding-bottom:24px}
 .mf-6260 .e-n-tabs-content>[role=tabpanel]{--padding-bottom:24px}
}
@media(min-width:1025px){
 .mf-6260 .mf-element.mf-element-8fc98b3>.mf-widget-container{padding-top:12px}
}

/* Floor plans: one 6:7 frame for every project; the drawing is scaled to fit with an even margin (bounds measured in PHP). */
/* The widget needs a definite width, otherwise the mobile flex column collapses the frame to zero height. */
.mf-6260 .mf-element.mf-element-3f497b56{width:100%}
.mf-6260 .mf-floor{position:relative;display:block;width:100%;aspect-ratio:6/7;overflow:hidden;background:#fff;--a:.857143}
.mf-6260 .mf-element.mf-element-3f497b56 .mf-floor img,.mf-6260 #pudorys .mf-floor img{position:absolute;inset:0;width:100%;height:100%!important;max-width:none;max-height:none;object-fit:contain!important;object-position:center}
.mf-6260 .mf-element.mf-element-3f497b56 .mf-floor.is-trimmed img,.mf-6260 #pudorys .mf-floor.is-trimmed img{
 --s:min(1 / var(--fw), var(--r) / (var(--a) * var(--fh)));
 inset:auto;
 left:calc(((1 - var(--fw) * var(--s)) / 2 - var(--fx) * var(--s)) * 100%);
 top:calc(((1 / var(--a) - var(--fh) * var(--s) / var(--r)) / 2 - var(--fy) * var(--s) / var(--r)) * var(--a) * 100%);
 width:calc(var(--s) * 100%);height:auto!important}

/* Detail tabs: the same distance between each tab's heading and its content (about 33 px to the first line or image). */
.mf-6260 .mf-element.mf-element-26571abc,.mf-6260 .mf-element.mf-element-3d4194ea,.mf-6260 .mf-element.mf-element-75d36b7c,.mf-6260 .mf-element.mf-element-2b67df7b{--padding-bottom:0px;padding-bottom:0!important;margin-bottom:0!important}
.mf-6260 .mfrooms,.mf-6260 .mfspec,.mf-6260 .mfcost{padding-top:0!important}
.mf-6260 .mf-element.mf-element-5e34373a{margin-top:13px}

/* No divider between the inquiry text and its form card; the form follows the text by 32 px. */
.mf-6260 .mf-element.mf-element-881f9db{display:none!important}
.mf-6260 .mf-element.mf-element-8bce562{margin-top:12px}

/* Project documentation card: stronger shading behind the copy, a softly blurred photo and brighter secondary text. */
.mf-6260 .mf-element.mf-element-5270f44{isolation:isolate}
.mf-6260 .mf-element.mf-element-5270f44::before{background-color:transparent!important;background-image:linear-gradient(100deg,rgba(8,8,8,.9) 0%,rgba(8,8,8,.82) 42%,rgba(8,8,8,.55) 75%,rgba(8,8,8,.4) 100%)!important;opacity:1!important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.mf-6260 .mf-element-5270f44 .mf-element-b0d5d5d .mf-heading-title,.mf-6260 .mf-element-5270f44 .mf-element-b0d1161 .mf-heading-title{color:rgba(255,255,255,.75)!important}
.mf-6260 .mf-element-5270f44 .mf-element-7014229,.mf-6260 .mf-element-5270f44 .mf-element-7014229 p{color:rgba(255,255,255,.9)!important}
.mf-6260 .mf-element-5270f44 .mf-heading-title,.mf-6260 .mf-element-5270f44 .mf-element-7014229 p,.mf-6260 .mf-element-5270f44 .mf-icon-list-text{text-shadow:0 1px 12px rgba(0,0,0,.35)}
@media(max-width:1024px){
 .mf-6260 .mf-element.mf-element-5270f44::before{background-image:linear-gradient(180deg,rgba(8,8,8,.88) 0%,rgba(8,8,8,.8) 60%,rgba(8,8,8,.7) 100%)!important}
}

/* Inquiry section on desktop: the heading sits above the form; the documentation card scrolls with the content and stops
   level with the form, which is stretched to the card's height (the message field takes up the extra space). */
@media(min-width:1025px){
 .mf-6260 .mf-element-e012a03>.e-con-inner{display:grid!important;grid-template-columns:minmax(0,551fr) minmax(0,599fr);grid-auto-rows:auto;column-gap:150px;row-gap:20px;align-items:stretch}
 .mf-6260 .mf-element.mf-element-e613b15{display:contents!important}
 .mf-6260 .mf-element-e613b15>*{grid-column:1}
 .mf-6260 .mf-element.mf-element-8bce562{grid-row:4;margin-top:12px;display:flex!important;flex-direction:column;min-height:var(--mf-doc-card-h,0px)}
 /* The card column spans the whole section; the card follows the scroll and comes to rest beside the form. */
 .mf-6260 .mf-element.mf-element-80bba74{grid-column:2;grid-row:1/5;align-self:stretch;display:block!important;width:auto!important;max-width:none}
 .mf-6260 .mf-element.mf-element-5270f44{position:sticky!important;top:110px}
 .mf-6260 .mf-element-8bce562 .mf-form{flex:1;display:flex;flex-direction:column}
 .mf-6260 .mf-element-8bce562 .mf-form-fields-wrapper{flex:1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto 1fr auto;margin:0!important;column-gap:24px}
 .mf-6260 .mf-element-8bce562 .mf-form-fields-wrapper>.mf-field-group{width:auto!important;max-width:none!important;padding:0!important;grid-column:1/-1}
 .mf-6260 .mf-element-8bce562 .mf-field-group-meno{grid-column:1!important}
 .mf-6260 .mf-element-8bce562 .mf-field-group-priezvisko{grid-column:2!important}
 .mf-6260 .mf-element-8bce562 .mf-field-type-hidden{display:none!important}
 .mf-6260 .mf-element-8bce562 .mf-field-group-sprava{display:flex;flex-direction:column;align-items:stretch!important;text-align:left}
 .mf-6260 .mf-element-8bce562 .mf-field-group-sprava textarea{flex:1;height:auto}
}
