/* K&M Invest | 21.10.2026 | Punktowa poprawka wąskiego desktopu / szerokiego tabletu.
 * Tablet 1101–1400px: skład tekstu w naturalnych kolumnach zamiast absolutnych pozycji 1920px.
 * Rozdzielczości <=1100 zachowane poza 3 wyraźnie wskazanymi błędami.
 * Pełny desktop >=1401 i telefon <=700 bez zmian.
 */
@media (min-width:1101px) and (max-width:1400px) {
  /* HOME HERO + PARAMETRY – przejście na bardziej kompaktowy układ. */
  body.home.km-site-page .km-home-hero {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:610px!important;
    height:auto!important;
    padding:45px 0 50px!important;
  }
  body.home.km-site-page .km-home-hero > .km-hero__background {
    position:absolute!important;inset:0!important;
    width:100%!important;height:100%!important;object-fit:cover!important;
  }
  body.home.km-site-page .km-home-hero .km-hero__content {
    position:relative!important;inset:auto!important;
    width:min(100% - 48px,1050px)!important;
    max-width:1050px!important;
    padding:0!important;margin:0 auto!important;
  }
  body.home.km-site-page .km-home-hero .km-hero__badge {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    display:block!important;width:150px!important;height:150px!important;
    transform:none!important;margin:0 auto 22px!important;
  }
  body.home.km-site-page .km-home-hero h1 {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    transform:none!important;width:100%!important;height:auto!important;
    max-width:100%!important;white-space:normal!important;
    font-size:clamp(46px,4.5vw,60px)!important;
    line-height:1.1!important;letter-spacing:-.03em!important;
  }
  body.home.km-site-page .km-home-hero p {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    transform:none!important;width:min(100%,850px)!important;height:auto!important;
    max-width:850px!important;margin:22px auto 0!important;
    font-size:clamp(18px,1.7vw,21px)!important;line-height:1.45!important;
  }
  body.home.km-site-page .km-home-hero__actions {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    transform:none!important;display:flex!important;justify-content:center!important;
    width:320px!important;max-width:100%!important;height:auto!important;
    margin:28px auto 0!important;
  }
  body.home.km-site-page .km-home-hero__actions > .km-pill {
    width:100%!important;min-width:0!important;flex:0 1 100%!important;
    height:62px!important;min-height:62px!important;
    gap:12px!important;padding:0 7px 0 24px!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    font-size:15px!important;
  }
  body.home.km-site-page .km-home-hero__actions > .km-pill > span:first-child {white-space:nowrap!important;}
  body.home.km-site-page .km-home-hero__actions > .km-pill .km-pill__circle {
    width:48px!important;height:48px!important;flex:0 0 48px!important;
  }
  body.home.km-site-page .km-facts {height:auto!important;min-height:0!important;}
  body.home.km-site-page .km-facts__inner {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:min(calc(100% - 64px),1050px)!important;max-width:1050px!important;
    height:auto!important;gap:0!important;padding:20px 0!important;margin:0 auto!important;
  }
  body.home.km-site-page .km-fact {
    min-width:0!important;min-height:110px!important;
    padding:14px 24px!important;border-right:0!important;
  }
  body.home.km-site-page .km-fact:nth-child(odd) {border-right:1px solid rgba(255,255,255,.4)!important;}
  body.home.km-site-page .km-fact span {font-size:15px!important;margin-bottom:3px!important;}
  body.home.km-site-page .km-fact strong {
    font-size:clamp(32px,3.4vw,43px)!important;
    line-height:1.3!important;white-space:normal!important;
  }
  body.home.km-site-page .km-fact::after {display:none!important;}

  /* HOME / Symfonia Park — panel tekstu nie jest przykrywany renderem. */
  body.home.km-site-page .km-home-project {height:auto!important;min-height:0!important;padding:65px 0 10px!important;overflow:hidden!important;}
  body.home.km-site-page .km-home-project__inner {
    position:relative!important;display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;
    align-items:start!important;gap:42px!important;
    width:min(calc(100% - 64px),1080px)!important;max-width:1080px!important;
    height:auto!important;min-height:0!important;margin:0 auto!important;
  }
  body.home.km-site-page .km-home-project__badge-col {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    width:auto!important;height:auto!important;max-width:none!important;
  }
  body.home.km-site-page .km-badge-square {width:190px!important;height:190px!important;max-width:100%!important;}
  body.home.km-site-page .km-home-project .km-badge-square img {width:100%!important;height:100%!important;}
  body.home.km-site-page .km-home-project__badge-col > .km-pill {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    width:220px!important;max-width:100%!important;height:58px!important;
    margin:40px 0 0!important;font-size:14px!important;
  }
  body.home.km-site-page .km-home-project__copy {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    width:auto!important;max-width:100%!important;height:auto!important;min-width:0!important;
  }
  body.home.km-site-page .km-home-project__copy h2 {font-size:42px!important;line-height:1.15!important;}
  body.home.km-site-page .km-home-project__copy h3 {font-size:22px!important;line-height:1.35!important;}
  body.home.km-site-page .km-home-project__copy p {font-size:16px!important;line-height:1.55!important;}
  body.home.km-site-page .km-home-project__building {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    display:block!important;width:min(720px,80%)!important;max-width:100%!important;
    height:auto!important;object-fit:contain!important;
    margin:12px 0 0 auto!important;
  }

  /* HOME / Mrągowo – stabilna siatka, zdjęcie w kolumnie zamiast na tekście. */
  body.home.km-site-page .km-home-intro {height:auto!important;min-height:0!important;padding:50px 0 70px!important;overflow:hidden!important;}
  body.home.km-site-page .km-home-intro__inner {
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:40px!important;align-items:start!important;
    width:min(calc(100% - 64px),1200px)!important;max-width:1200px!important;
    height:auto!important;min-height:0!important;margin:0 auto!important;
  }
  body.home.km-site-page .km-home-intro__copy,
  body.home.km-site-page .km-home-intro__media {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    width:auto!important;max-width:100%!important;height:auto!important;min-width:0!important;
  }
  body.home.km-site-page .km-home-intro__copy h2 {font-size:clamp(36px,3.1vw,42px)!important;line-height:1.12!important;}
  body.home.km-site-page .km-home-intro__copy p {font-size:16px!important;line-height:1.55!important;}
  body.home.km-site-page .km-home-intro__photo {
    position:relative!important;inset:auto!important;overflow:hidden!important;
    width:100%!important;height:auto!important;aspect-ratio:792 / 522!important;
  }
  body.home.km-site-page .km-home-intro__photo > img {
    position:absolute!important;inset:0!important;left:0!important;top:0!important;
    display:block!important;width:100%!important;height:100%!important;
    max-width:100%!important;object-fit:cover!important;
  }
  body.home.km-site-page .km-home-intro__media > .km-home-intro__lines {display:none!important;}

  /* HOME / Doświadczenie – 2 kolumny zamiast tekstu wystającego za ekran. */
  body.home.km-site-page .km-experience {height:auto!important;min-height:0!important;padding:65px 0!important;overflow:hidden!important;}
  body.home.km-site-page .km-experience__inner {
    display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;
    gap:60px!important;align-items:start!important;
    width:min(calc(100% - 64px),1080px)!important;max-width:1080px!important;
    height:auto!important;min-height:0!important;margin:0 auto!important;
  }
  body.home.km-site-page .km-experience__mark,
  body.home.km-site-page .km-experience__copy {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    width:auto!important;max-width:100%!important;height:auto!important;min-width:0!important;
  }
  body.home.km-site-page .km-experience__mark img {display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;}
  body.home.km-site-page .km-experience h2 {font-size:clamp(36px,3.3vw,44px)!important;line-height:1.22!important;}
  body.home.km-site-page .km-experience p {max-width:100%!important;font-size:16px!important;line-height:1.55!important;}
  body.home.km-site-page .km-experience__copy > .km-pill {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    width:220px!important;max-width:100%!important;height:60px!important;
    margin:24px 0 0!important;
  }
}

/* Formularz – tablet i wąski desktop: zgoda w pełnej szerokości,
 * przycisk w kolejnym rzędzie zamiast nakładania i ściskania regulaminu. */
@media (min-width:701px) and (max-width:1400px) {
  body.km-site-page .km-contact-section .km-form__bottom {
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    position:relative!important;min-height:134px!important;height:auto!important;
    margin-top:14px!important;gap:18px!important;
  }
  body.km-site-page .km-contact-section .km-form__bottom .km-form__consent {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    display:block!important;width:100%!important;max-width:100%!important;
    margin:0!important;min-width:0!important;
  }
  body.km-site-page .km-contact-section .km-form__consent .wpcf7-list-item > label {
    display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;
    align-items:start!important;gap:12px!important;
    height:auto!important;min-height:40px!important;
    font-size:12px!important;line-height:1.45!important;
  }
  body.km-site-page .km-contact-section .km-form__consent input[type=checkbox] {
    width:28px!important;height:28px!important;
  }
  body.km-site-page .km-contact-section .km-form__bottom button.km-pill--form {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    flex:0 0 auto!important;min-height:56px!important;height:56px!important;
    width:190px!important;max-width:100%!important;
    margin:0!important;padding:0 7px 0 23px!important;
  }
  body.km-site-page .km-contact-section .km-form__bottom button.km-pill--form .km-pill__circle {
    width:44px!important;height:44px!important;flex:0 0 44px!important;
  }
}

/* O inwestycji – jedynie omyłkowo doklejony, brązowy badge sekcji lokalizacji.
 * Biały badge w Hero (.km-hero__badge) zachowujemy! */
@media (min-width:701px) and (max-width:1400px) {
  body.page-id-47 .km-invest-location__badge {display:none!important;}
}

/* Budynek 1 i 2 – sekcja kosztów na tablecie: prawdziwy układ jednokolumnowy. */
@media (min-width:701px) and (max-width:1400px) {
  body.km-building-page .km-costs {height:auto!important;padding:56px 0 65px!important;}
  body.km-building-page .km-costs > .km-shell,
  body.km-building-page .km-costs .km-shell {width:min(calc(100% - 48px),900px)!important;max-width:900px!important;}
  body.km-building-page .km-costs__grid {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:34px!important;align-items:start!important;
  }
  body.km-building-page .km-costs__copy {width:100%!important;min-width:0!important;max-width:100%!important;font-size:16px!important;line-height:1.55!important;}
  body.km-building-page .km-costs h2 {
    font-size:clamp(32px,4vw,43px)!important;line-height:1.13!important;
    max-width:750px!important;margin:0 0 28px!important;
  }
  body.km-building-page .km-costs__copy li {margin:0 0 10px!important;}
  body.km-building-page .km-costs__grid > img {
    display:block!important;width:100%!important;max-width:100%!important;
    height:auto!important;aspect-ratio:792 / 522!important;
    object-fit:cover!important;
  }
}

/* ===============================================================
 * K&M Invest | 21.10.2026 | Etap 2: HOME 821–1100; Inwestycja 821–1200.
 * Nie dotykamy mobile <=820 ani większych, zaakceptowanych widoków.
 * Uzupełnienie poprzedniej poprawki laptop/tablet, wyłącznie CSS.
 * =============================================================== */
@media (min-width:821px) and (max-width:1100px) {
  /* HOME — Hero w jednej, naturalnie wyśrodkowanej kolumnie.
     Znak w całości widoczny, tekst i CTA nie są absolutnie pozycjonowane. */
  body.home.km-site-page .km-home-hero {
    display:flex!important;align-items:center!important;justify-content:center!important;
    box-sizing:border-box!important;min-height:640px!important;height:auto!important;
    padding:44px 0 48px!important;
  }
  body.home.km-site-page .km-home-hero > .km-hero__background {
    position:absolute!important;inset:0!important;top:0!important;
    width:100%!important;height:100%!important;object-fit:cover!important;
  }
  body.home.km-site-page .km-home-hero .km-hero__content {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    width:calc(100% - 56px)!important;max-width:1020px!important;
    height:auto!important;padding:0!important;margin:0 auto!important;
  }
  body.home.km-site-page .km-home-hero .km-hero__badge {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    display:block!important;width:138px!important;height:138px!important;
    transform:none!important;margin:0 auto 24px!important;
  }
  body.home.km-site-page .km-home-hero h1 {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;
    margin:0 auto!important;font-size:clamp(40px,4.9vw,53px)!important;
    line-height:1.15!important;letter-spacing:-.03em!important;white-space:normal!important;
  }
  body.home.km-site-page .km-home-hero p {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    transform:none!important;width:min(100%,820px)!important;max-width:820px!important;
    height:auto!important;margin:22px auto 0!important;
    font-size:clamp(17px,1.85vw,20px)!important;line-height:1.48!important;
  }
  body.home.km-site-page .km-home-hero__actions {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    transform:none!important;display:flex!important;justify-content:center!important;
    width:min(100%,320px)!important;height:auto!important;margin:28px auto 0!important;
  }
  body.home.km-site-page .km-home-hero__actions > .km-pill {
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;min-width:0!important;flex:0 1 100%!important;
    height:62px!important;min-height:62px!important;gap:8px!important;
    padding:0 7px 0 20px!important;font-size:15px!important;
  }
  body.home.km-site-page .km-home-hero__actions > .km-pill > span:first-child {white-space:nowrap!important;}
  body.home.km-site-page .km-home-hero__actions .km-pill__circle {
    width:48px!important;height:48px!important;flex:0 0 48px!important;
  }

  /* HOME — parametry 2 × 2 (zamiast uciętej czwartej kolumny). */
  body.home.km-site-page .km-facts {height:auto!important;min-height:0!important;overflow:visible!important;}
  body.home.km-site-page .km-facts__inner {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:minmax(112px,auto)!important;gap:0!important;
    width:100%!important;max-width:100%!important;height:auto!important;
    margin:0 auto!important;padding:0 22px!important;box-sizing:border-box!important;
  }
  body.home.km-site-page .km-fact {
    position:relative!important;display:flex!important;flex-direction:column!important;
    justify-content:center!important;min-width:0!important;height:auto!important;min-height:112px!important;
    padding:17px clamp(18px,3.2vw,36px)!important;
    border:0!important;border-bottom:1px solid rgba(255,255,255,.35)!important;
  }
  body.home.km-site-page .km-fact:nth-child(odd) {border-right:1px solid rgba(255,255,255,.4)!important;}
  body.home.km-site-page .km-fact:nth-child(n+3) {border-bottom:0!important;}
  body.home.km-site-page .km-fact::after {display:none!important;}
  body.home.km-site-page .km-fact span {
    margin:0 0 5px!important;font-size:clamp(12px,1.55vw,16px)!important;line-height:1.35!important;
  }
  body.home.km-site-page .km-fact strong {
    display:block!important;font-size:clamp(27px,3.6vw,37px)!important;
    line-height:1.22!important;white-space:nowrap!important;letter-spacing:-.02em!important;
  }

  /* HOME — Doświadczenie: usuń sztywną wysokość oraz pustkę pod CTA. */
  body.home.km-site-page .km-experience {
    box-sizing:border-box!important;height:auto!important;min-height:0!important;
    padding:60px 0 62px!important;overflow:hidden!important;
  }
  body.home.km-site-page .km-experience__inner {
    display:grid!important;grid-template-columns:minmax(180px,240px) minmax(0,1fr)!important;
    align-items:center!important;gap:clamp(30px,5vw,56px)!important;
    width:calc(100% - 72px)!important;max-width:990px!important;
    min-height:0!important;height:auto!important;margin:0 auto!important;padding:0!important;
  }
  body.home.km-site-page .km-experience__mark,
  body.home.km-site-page .km-experience__copy {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    width:100%!important;max-width:100%!important;height:auto!important;min-width:0!important;
    margin:0!important;
  }
  body.home.km-site-page .km-experience__mark img {
    display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;
  }
  body.home.km-site-page .km-experience h2 {
    margin:0 0 20px!important;font-size:clamp(34px,4.2vw,45px)!important;
    line-height:1.2!important;letter-spacing:-.025em!important;
  }
  body.home.km-site-page .km-experience p {
    max-width:100%!important;margin:0 0 15px!important;
    font-size:clamp(15px,1.65vw,17px)!important;line-height:1.55!important;
  }
  body.home.km-site-page .km-experience__copy > .km-pill {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    width:230px!important;max-width:100%!important;height:60px!important;
    margin:24px 0 0!important;
  }

  /* home end */
}

@media (min-width:821px) and (max-width:1200px) {
  /* O INWESTYCJI — „Wybierz budynek” nie może przylepiać się nad zdjęciami.
     Duplikat desktopowego przełącznika zastępują widoczne linki pod wizualizacją. */
  body.page-id-47.km-site-page .km-sticky-switch {display:none!important;}
  body.page-id-47.km-site-page .km-building-picker__mobile-links {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;width:min(100%,600px)!important;margin:22px auto 0!important;
  }
  body.page-id-47.km-site-page .km-building-picker__mobile-links a {
    box-sizing:border-box!important;display:flex!important;align-items:center!important;
    justify-content:space-between!important;min-width:0!important;min-height:56px!important;
    padding:0 7px 0 18px!important;border:1.5px solid #a38b4b!important;
    border-radius:999px!important;background:#fff!important;color:#a38b4b!important;
    font-size:15px!important;line-height:1.15!important;font-weight:700!important;text-decoration:none!important;
  }
  body.page-id-47.km-site-page .km-building-picker__mobile-links a span[aria-hidden="true"] {display:none!important;}
  body.page-id-47.km-site-page .km-building-picker__mobile-links a::after {
    content:"";display:block;width:42px;height:42px;flex:0 0 42px;border-radius:50%;
    background-color:#a38b4b;background-repeat:no-repeat;background-position:center;background-size:17px 17px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3 15L15 3M6 3h9v9' stroke='%23FFFFFF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  /* O INWESTYCJI — „5 kondygnacji z windą”: pionowo i w normalnym przepływie.
     Żadna z sekcji nie wyjeżdża na siebie na małym laptopie. */
  body.page-id-47.km-site-page .km-invest-floors {
    box-sizing:border-box!important;height:auto!important;min-height:0!important;
    padding:50px 0 66px!important;background:#fff!important;overflow:visible!important;
  }
  body.page-id-47.km-site-page .km-invest-floors__inner {
    position:relative!important;display:flex!important;flex-direction:column!important;
    width:min(calc(100% - 48px),900px)!important;max-width:900px!important;
    height:auto!important;min-height:0!important;margin:0 auto!important;
  }
  body.page-id-47.km-site-page .km-invest-floors__image {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    display:block!important;order:1!important;width:100%!important;max-width:100%!important;
    height:auto!important;max-height:470px!important;aspect-ratio:792 / 522!important;
    margin:0!important;object-fit:cover!important;z-index:1!important;
  }
  body.page-id-47.km-site-page .km-invest-floors__panel {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    box-sizing:border-box!important;order:2!important;width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;margin:0!important;padding:44px clamp(26px,5vw,56px) 48px!important;
    background:#6a4533!important;color:#c7b292!important;
  }
  body.page-id-47.km-site-page .km-invest-floors__copy {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    width:100%!important;max-width:100%!important;height:auto!important;
    margin:0!important;padding:0!important;
  }
  body.page-id-47.km-site-page .km-invest-floors__copy h2 {
    font-size:clamp(34px,4.3vw,44px)!important;line-height:1.17!important;
    margin:0 0 22px!important;
  }
  body.page-id-47.km-site-page .km-invest-floors__copy p {
    font-size:16px!important;line-height:1.6!important;margin:0 0 16px!important;
  }
}

/* K&M INVEST | 21.10.2026 | Domknięcie RWD 821–1100 px.
   Pośredni tablet/laptop: biały układ tekst + fotografia jak w akceptowanym mobile.
   TYLKO strona główna i O inwestycji. Nie zmieniamy <=820 ani >=1101. */
@media (min-width:821px) and (max-width:1100px) {
  /* O INWESTYCJI — białe sekcje: tekst PRZED fotografią, bez wąskich kolumn. */
  body.page-id-47.km-site-page .km-invest-intro,
  body.page-id-47.km-site-page .km-invest-outdoor,
  body.page-id-47.km-site-page .km-invest-everyday,
  body.page-id-47.km-site-page .km-invest-tastes,
  body.page-id-47.km-site-page .km-invest-standard {
    position:relative!important;
    box-sizing:border-box!important;
    height:auto!important;min-height:0!important;
    padding:50px 0 58px!important;
    margin:0!important;
    overflow:visible!important;
  }
  body.page-id-47.km-site-page .km-invest-intro__inner,
  body.page-id-47.km-site-page .km-invest-outdoor__inner,
  body.page-id-47.km-site-page .km-invest-everyday__inner,
  body.page-id-47.km-site-page .km-invest-tastes__inner,
  body.page-id-47.km-site-page .km-invest-standard__inner {
    position:relative!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;
    width:min(calc(100% - 56px),760px)!important;
    max-width:760px!important;
    height:auto!important;min-height:0!important;
    gap:26px!important;margin:0 auto!important;padding:0!important;
  }
  body.page-id-47.km-site-page .km-invest-intro__copy,
  body.page-id-47.km-site-page .km-invest-outdoor__copy,
  body.page-id-47.km-site-page .km-invest-everyday__copy,
  body.page-id-47.km-site-page .km-invest-tastes__copy,
  body.page-id-47.km-site-page .km-invest-standard__copy {
    position:relative!important;inset:auto!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    order:1!important;display:block!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:0!important;
    align-self:stretch!important;
    margin:0!important;padding:0!important;
    transform:none!important;
  }
  body.page-id-47.km-site-page .km-invest-intro__media,
  body.page-id-47.km-site-page .km-invest-outdoor__image,
  body.page-id-47.km-site-page .km-invest-everyday__image,
  body.page-id-47.km-site-page .km-invest-tastes__image,
  body.page-id-47.km-site-page .km-invest-standard__image {
    position:relative!important;inset:auto!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    box-sizing:border-box!important;display:block!important;
    order:2!important;align-self:center!important;
    width:100%!important;max-width:760px!important;
    height:auto!important;max-height:none!important;
    min-height:0!important;
    aspect-ratio:792 / 522!important;
    object-fit:cover!important;
    object-position:center!important;
    margin:0!important;transform:none!important;
  }
  body.page-id-47.km-site-page .km-invest-intro__media {
    height:auto!important;aspect-ratio:auto!important;
    overflow:visible!important;
  }
  body.page-id-47.km-site-page .km-invest-intro__image {
    position:relative!important;inset:auto!important;
    display:block!important;width:100%!important;height:auto!important;
    max-height:none!important;aspect-ratio:792 / 522!important;
    object-fit:cover!important;margin:0!important;
  }
  body.page-id-47.km-site-page .km-invest-intro__lines {
    position:absolute!important;left:auto!important;top:auto!important;
    right:0!important;bottom:-27px!important;
    display:block!important;width:57%!important;max-width:57%!important;
    height:auto!important;pointer-events:none!important;
  }
  body.page-id-47.km-site-page .km-invest-main .km-invest-intro__copy h2,
  body.page-id-47.km-site-page .km-invest-main .km-invest-outdoor__copy h2,
  body.page-id-47.km-site-page .km-invest-main .km-invest-everyday__copy h2,
  body.page-id-47.km-site-page .km-invest-main .km-invest-tastes__copy h2,
  body.page-id-47.km-site-page .km-invest-main .km-invest-standard__copy h2 {
    max-width:100%!important;
    margin:0 0 23px!important;
    font-size:clamp(32px,4vw,39px)!important;
    line-height:1.17!important;
    letter-spacing:-.025em!important;
  }
  body.page-id-47.km-site-page .km-invest-intro__copy p,
  body.page-id-47.km-site-page .km-invest-outdoor__copy p,
  body.page-id-47.km-site-page .km-invest-everyday__copy p,
  body.page-id-47.km-site-page .km-invest-tastes__copy p,
  body.page-id-47.km-site-page .km-invest-standard__copy p,
  body.page-id-47.km-site-page .km-invest-standard__body li {
    max-width:100%!important;
    font-size:16px!important;line-height:1.55!important;
  }
  body.page-id-47.km-site-page .km-invest-standard__body ul,
  body.page-id-47.km-site-page .km-invest-standard__body ol {
    margin-left:0!important;padding-left:25px!important;
  }

  /* HOME — Symfonia Park: logo i tekst na pełnej szerokości, render POD opisem.
     Używamy istniejącego CTA mobile dopiero pod zdjęciem. */
  body.home.km-site-page .km-home-project {
    position:relative!important;display:flex!important;flex-direction:column!important;
    align-items:stretch!important;
    box-sizing:border-box!important;
    height:auto!important;min-height:0!important;
    padding:50px 0 52px!important;overflow:hidden!important;
  }
  body.home.km-site-page .km-home-project > .km-home-project__inner {
    position:relative!important;display:flex!important;flex-direction:column!important;
    align-items:stretch!important;
    width:min(calc(100% - 56px),760px)!important;max-width:760px!important;
    height:auto!important;min-height:0!important;
    gap:25px!important;margin:0 auto!important;padding:0!important;
  }
  body.home.km-site-page .km-home-project__badge-col {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    display:block!important;width:100%!important;height:auto!important;
    min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;
  }
  body.home.km-site-page .km-home-project .km-badge-square {
    width:175px!important;height:175px!important;max-width:100%!important;
    border-radius:50%!important;overflow:hidden!important;
    margin:0!important;
  }
  body.home.km-site-page .km-home-project .km-badge-square img {
    display:block!important;width:100%!important;height:100%!important;
    object-fit:contain!important;
  }
  body.home.km-site-page .km-home-project__badge-col > .km-pill {display:none!important;}
  body.home.km-site-page .km-home-project__copy {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    display:block!important;width:100%!important;max-width:100%!important;
    min-width:0!important;height:auto!important;
    margin:0!important;padding:0!important;
  }
  body.home.km-site-page .km-home-project__copy h2 {
    font-size:clamp(36px,4.4vw,43px)!important;line-height:1.16!important;
    margin:0 0 20px!important;
  }
  body.home.km-site-page .km-home-project__copy h3 {
    font-size:clamp(19px,2.3vw,23px)!important;line-height:1.4!important;
    margin:0 0 18px!important;
  }
  body.home.km-site-page .km-home-project__copy p {
    max-width:100%!important;font-size:16px!important;line-height:1.58!important;
    margin:0 0 17px!important;
  }
  body.home.km-site-page .km-home-project > .km-home-project__building {
    position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;
    display:block!important;align-self:center!important;
    width:min(470px,calc(100% - 56px))!important;max-width:470px!important;
    height:auto!important;max-height:none!important;
    object-fit:contain!important;object-position:center bottom!important;
    margin:12px auto 0!important;transform:none!important;
  }
  body.home.km-site-page .km-home-project > .km-home-project__mobile-cta {
    position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
    display:inline-flex!important;align-items:center!important;
    justify-content:space-between!important;align-self:center!important;
    width:min(300px,calc(100% - 56px))!important;
    height:56px!important;min-height:56px!important;
    padding:0 7px 0 20px!important;
    margin:22px auto 0!important;
    font-size:15px!important;
  }
  body.home.km-site-page .km-home-project > .km-home-project__mobile-cta .km-pill__circle {
    width:44px!important;height:44px!important;flex:0 0 44px!important;
  }
}
