/* ============================================================================
   The Eagles — Client feedback fixes (2026-06-25)
   Isolated override layer. Loaded LAST (after te-light-mode) so equal-specificity
   rules win. Each block is tagged with the client item number from the
   2026-06-25 feedback list. Visual-only / contrast / layout corrections.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   #3 — Cookie banner "Odrzucam" (reject) button was low-contrast / nearly
   invisible. Force a clearly readable button in BOTH dark and light modes.
   (Banner CSS lives inline in the google-ads-tracking mu-plugin; we override
   with higher specificity + !important so load order does not matter.)
   --------------------------------------------------------------------------- */
.te-cookie-consent .te-cookie-consent__reject,
html .te-cookie-consent__reject{
  background:rgba(245,239,227,.16) !important;
  color:#f7f1e6 !important;
  border:1px solid rgba(245,239,227,.5) !important;
}
.te-cookie-consent .te-cookie-consent__reject:hover,
html .te-cookie-consent__reject:hover{
  background:rgba(245,239,227,.26) !important;
}
html.te-light .te-cookie-consent__reject{
  background:#eadfc9 !important;
  color:#17130f !important;
  border:1px solid rgba(138,106,50,.55) !important;
}
html.te-light .te-cookie-consent__reject:hover{
  background:#e0d2b6 !important;
}
#te-cookie-settings.te-cookie-settings,
#te-cookie-settings.te-cookie-settings.is-visible,
.te-cookie-settings,
html.te-light #te-cookie-settings.te-cookie-settings,
html.te-light #te-cookie-settings.te-cookie-settings.is-visible,
html.te-light .te-cookie-settings{
  background:#f1d27a !important;
  background-color:#f1d27a !important;
  color:#14110a !important;
  border:1px solid rgba(20,17,10,.52) !important;
  box-shadow:0 10px 34px rgba(0,0,0,.32) !important;
  font-weight:800 !important;
}
#te-cookie-settings.te-cookie-settings:hover,
#te-cookie-settings.te-cookie-settings:focus-visible,
.te-cookie-settings:hover,
.te-cookie-settings:focus-visible,
html.te-light #te-cookie-settings.te-cookie-settings:hover,
html.te-light #te-cookie-settings.te-cookie-settings:focus-visible,
html.te-light .te-cookie-settings:hover,
html.te-light .te-cookie-settings:focus-visible{
  background:#ffd978 !important;
  background-color:#ffd978 !important;
  color:#14110a !important;
  outline:2px solid rgba(20,17,10,.35) !important;
  outline-offset:2px !important;
}

/* Contact hero: replace the primary CTA label with the main office phone on hover. */
body.page-id-12 .te-page-hero .te-brief-tabs .elementor-element-70ad262 .elementor-button{
  min-width:233px;
  white-space:nowrap;
}
body.page-id-12 .te-page-hero .te-brief-tabs .elementor-element-70ad262 .elementor-button-text{
  position:relative;
  display:inline-block;
  transition:color .16s ease;
}
body.page-id-12 .te-page-hero .te-brief-tabs .elementor-element-70ad262 .elementor-button-text::after{
  content:"+48 22 626 40 22";
  position:absolute;
  left:50%;
  top:50%;
  opacity:0;
  color:#0a0806;
  transform:translate(-50%,-50%);
  transition:opacity .16s ease;
  white-space:nowrap;
}
body.page-id-12 .te-page-hero .te-brief-tabs .elementor-element-70ad262 .elementor-button:hover .elementor-button-text,
body.page-id-12 .te-page-hero .te-brief-tabs .elementor-element-70ad262 .elementor-button:focus-visible .elementor-button-text{
  color:transparent !important;
}
body.page-id-12 .te-page-hero .te-brief-tabs .elementor-element-70ad262 .elementor-button:hover .elementor-button-text::after,
body.page-id-12 .te-page-hero .te-brief-tabs .elementor-element-70ad262 .elementor-button:focus-visible .elementor-button-text::after{
  opacity:1;
}

/* ---------------------------------------------------------------------------
   #4 — Bottom of subpages: cookie banner overlapped the mobile sticky CTA and
   the footer text ("napisy na siebie wchodzą"). Lift the cookie banner above
   the 74px sticky bar on phones so the three layers stack cleanly.
   --------------------------------------------------------------------------- */
@media(max-width:760px){
  .te-cookie-consent{
    left:12px !important;
    right:12px !important;
    max-width:none !important;
    bottom:calc(74px + 12px + env(safe-area-inset-bottom)) !important;
  }
}

/* ---------------------------------------------------------------------------
   #6 — "Co nas wyróżnia" tiles: (a) light-mode legibility safety net so no
   light text lands on a light face, (b) smaller, calmer tiles on mobile.
   --------------------------------------------------------------------------- */
/* (a) light mode — client 2026-06-30: the flip cards must follow the brand light
       palette (cream + gold), NOT a dark espresso island ("nie nasz kolor, czcionka
       trudna do odczytu"). Both faces go light with readable ink + gold accents. */
html.te-light .te-reveal-cards.te-flip-ready .te-flip__front,
html.te-light .te-reveal-cards.te-flip-ready .te-flip__back{
  background:#fffaf1 !important;
  border:1px solid rgba(138,106,50,.22) !important;
}
html.te-light .te-reveal-cards.te-flip-ready .te-flip__front,
html.te-light .te-reveal-cards.te-flip-ready .te-flip__front .elementor-widget-text-editor,
html.te-light .te-reveal-cards.te-flip-ready .te-flip__back,
html.te-light .te-reveal-cards.te-flip-ready .te-flip__back *{
  color:#3a342c !important;
}
html.te-light .te-reveal-cards.te-flip-ready .te-flip__front .elementor-heading-title,
html.te-light .te-reveal-cards.te-flip-ready .te-flip__back .elementor-heading-title{
  color:#8a6a32 !important;
}
html.te-light .te-reveal-cards.te-flip-ready .te-flip__front .te-eyebrow,
html.te-light .te-reveal-cards.te-flip-ready .te-flip__front .te-eyebrow p,
html.te-light .te-reveal-cards.te-flip-ready .te-flip__front__inner::after{
  color:#8a6a32 !important;
}
/* non-flip homepage brief tiles: ensure body copy is readable in light mode */
html.te-light .te-reveal-cards .te-brief-card p,
html.te-light .te-reveal-cards .te-brief-card li{ color:#5f5548 !important; }
body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready{
  align-items:stretch !important;
  grid-auto-rows:306px !important;
}
body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-brief-card,
body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip{
  align-self:stretch !important;
  height:306px !important;
  min-height:306px !important;
}
body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__front,
body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back{
  min-height:306px !important;
}
body.page-id-138 .elementor-element-2d36160 .elementor-heading-title{
  color:#f5efe3 !important;
  font-family:"Cormorant Garamond", Georgia, serif !important;
  font-style:italic !important;
  font-weight:400 !important;
  letter-spacing:.01em !important;
}
body.page-id-138 .elementor-element-2d36160 .elementor-heading-title span{
  color:#d7b878 !important;
  font-style:italic !important;
}
@media(max-width:900px){
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready{
    grid-auto-rows:230px !important;
  }
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-brief-card,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__front,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back{
    height:230px !important;
    min-height:230px !important;
  }
}
@media(max-width:600px){
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready{
    grid-auto-rows:220px !important;
  }
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-brief-card,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__front,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back{
    height:220px !important;
    min-height:220px !important;
  }
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__front__inner,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back__inner{
    padding:15px !important;
  }
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back .elementor-widget-text-editor,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back .elementor-widget-text-editor .elementor-widget-container,
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back .elementor-widget-text-editor p{
    font-size:.78rem !important;
    line-height:1.34 !important;
  }
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back .elementor-widget-button:not(.te-flip-cta--ghost){
    padding-top:8px !important;
  }
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back .elementor-widget-button:not(.te-flip-cta--ghost) .elementor-button{
    min-height:32px !important;
    padding:7px 10px !important;
    font-size:9px !important;
  }
  body.page-id-138 .elementor-element-777eacd.te-reveal-cards.te-flip-ready .te-flip__back__inner[data-te-hint]::after{
    margin-top:.45rem !important;
    font-size:9px !important;
  }
}

/* (b) smaller tiles on mobile (both flip and non-flip variants) */
@media(max-width:600px){
  .te-reveal-cards{ gap:12px !important; }
  .te-reveal-cards .te-brief-card{ padding:16px !important; }
  .te-reveal-cards.te-flip-ready .te-brief-card,
  .te-reveal-cards.te-flip-ready .te-flip{ min-height:180px !important; }
  .te-reveal-cards.te-flip-ready .te-flip__front__inner,
  .te-reveal-cards.te-flip-ready .te-flip__back__inner{ padding:20px 18px !important; }
  .te-reveal-cards.te-flip-ready .te-flip__front .elementor-widget-heading .elementor-heading-title{
    font-size:1.08rem !important;
  }
  .te-reveal-cards.te-flip-ready .te-flip__back .elementor-widget-text-editor p{
    font-size:.94rem !important; line-height:1.6 !important;
  }
}

/* ---------------------------------------------------------------------------
   #8 / #15 — Equal tile heights on "O agencji" and "Kontakt" (and related card
   grids). Stretch grid items and let cards fill the row height.
   --------------------------------------------------------------------------- */
.te-services-page-grid,
.te-contact-card-grid,
.te-contact-card-grid.te-services,
.te-exclusive-services__cards,
.te-credit-benefits{
  align-items:stretch !important;
}
.te-services-page-grid > *,
.te-contact-card-grid > *,
.te-exclusive-services__cards > *,
.te-credit-benefits > *,
.te-contact-card,
.te-contact-form-card,
.te-services-page-grid .te-brief-card{
  height:100% !important;
}
body.page-id-12 .te-site .te-contact-card-grid.te-services,
body.page-id-12 .te-site .te-container.te-contact-card-grid{
  align-items:stretch !important;
  align-content:stretch !important;
  grid-auto-rows:1fr !important;
}
body.page-id-12 .te-site .te-contact-card-grid.te-services > *,
body.page-id-12 .te-site .te-contact-card-grid.te-services .te-brief-card,
body.page-id-12 .te-site .te-container.te-contact-card-grid > *,
body.page-id-12 .te-site .te-container.te-contact-card-grid .te-brief-card{
  align-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  min-height:310px !important;
}
body.page-id-12 .te-site .te-contact-card-grid .te-brief-card .elementor-widget-text-editor:last-child{
  margin-top:auto !important;
}
body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid{
  align-items:stretch !important;
  align-content:stretch !important;
  grid-auto-rows:1fr !important;
}
body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid > *,
body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid .te-brief-card{
  align-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  min-height:215px !important;
}
body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid .te-brief-card .elementor-widget-text-editor{
  margin-top:auto !important;
}
@media(max-width:900px){
  body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid .te-brief-card{
    min-height:174px !important;
  }
}
@media(max-width:600px){
  body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid .te-brief-card{
    min-height:228px !important;
  }
}
@media(max-width:900px){
  body.page-id-12 .te-site .te-contact-card-grid.te-services,
  body.page-id-12 .te-site .te-container.te-contact-card-grid{
    grid-auto-rows:1fr !important;
  }
}
@media(max-width:600px){
  body.page-id-12 .te-site .te-contact-card-grid.te-services .te-brief-card,
  body.page-id-12 .te-site .te-container.te-contact-card-grid .te-brief-card{
    min-height:305px !important;
  }
}

/* ---------------------------------------------------------------------------
   #2 / #14 — Founder (Łukasz) profile card was clipped / too tall near the
   section edge on mobile, and the square EstiCRM photo was sitting inside a
   portrait "window". Apply the founder-card fix to BOTH /o-agencji/ (#138) and
   /zespol/ (#139), keep the square frame, and prevent mobile clipping.
   --------------------------------------------------------------------------- */
.te-team-profile-card{ overflow:visible !important; }
.te-team-profile-card__photo img,
.te-founder-inline img{ object-position:center center; }
body.page-id-138 .te-founder-profile-section,
body.page-id-138 .te-founder-profile-container,
body.page-id-139 .te-founder-profile-section,
body.page-id-139 .te-founder-profile-container{
  overflow:visible !important;
}
body.page-id-138 .te-team-profile-card,
body.page-id-139 .te-team-profile-card{
  grid-template-columns:minmax(230px,280px) minmax(0,1fr) !important;
  align-items:center !important;
  gap:28px !important;
  padding:28px !important;
  min-height:430px !important;
  position:relative !important;
  z-index:2 !important;
}
body.page-id-138 .te-team-profile-card__photo,
body.page-id-139 .te-team-profile-card__photo{
  width:280px !important;
  height:374px !important;
  max-width:100% !important;
  aspect-ratio:auto !important;
  align-self:center !important;
  display:grid !important;
  place-items:center !important;
  background:#15110e !important;
  overflow:hidden !important;
}
body.page-id-138 .te-team-profile-card__photo img,
body.page-id-139 .te-team-profile-card__photo img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
}
body.page-id-139 .te-team-grid-intro{
  margin-top:110px !important;
  position:relative !important;
  z-index:1 !important;
}
@media(max-width:920px){
  body.page-id-138 .te-team-profile-card,
  body.page-id-139 .te-team-profile-card{
    grid-template-columns:minmax(170px,220px) minmax(0,1fr) !important;
    min-height:345px !important;
    gap:22px !important;
    padding:24px !important;
  }
  body.page-id-138 .te-team-profile-card__photo,
  body.page-id-139 .te-team-profile-card__photo{
    width:220px !important;
    height:294px !important;
  }
  body.page-id-139 .te-team-grid-intro{
    margin-top:96px !important;
  }
}
@media(max-width:560px){
  .te-team-profile-card{ padding:18px; gap:14px; }
  .te-team-profile-card__photo{ width:min(160px,72%); aspect-ratio:4/5; }
  .te-team-profile-card h3{ font-size:1.4rem; }
  .te-team-profile-card p{ font-size:.95rem; }
  body.page-id-138 .te-founder-profile-section,
  body.page-id-139 .te-founder-profile-section{
    padding-bottom:clamp(72px,22vw,112px) !important;
  }
  body.page-id-138 .te-team-profile-card,
  body.page-id-139 .te-team-profile-card{
    grid-template-columns:1fr !important;
    min-height:0 !important;
    padding:18px !important;
    gap:16px !important;
  }
  body.page-id-138 .te-team-profile-card__photo,
  body.page-id-139 .te-team-profile-card__photo{
    width:min(280px,100%) !important;
    height:auto !important;
    aspect-ratio:1/1 !important;
    justify-self:center !important;
  }
  body.page-id-138 .te-team-profile-card p,
  body.page-id-139 .te-team-profile-card p{
    font-size:.92rem !important;
    line-height:1.5 !important;
  }
  body.page-id-139 .te-team-grid-intro{
    margin-top:118px !important;
  }
}

/* ---------------------------------------------------------------------------
   #9 — Founder card e-mail was a bare link, unlike the other "ramka" actions.
   Give it the same bordered-pill treatment as the outline button.
   --------------------------------------------------------------------------- */
.te-team-profile-card__email{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(201,168,107,.5);
  border-radius:999px;
  padding:11px 18px;
  line-height:1;
  font-size:.8rem;
  letter-spacing:.03em;
  color:var(--gold-hot,#e4c48a);
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}
.te-team-profile-card__email:hover{
  background:rgba(201,168,107,.14);
  border-color:rgba(201,168,107,.8);
}
html.te-light .te-team-profile-card__email{
  border-color:rgba(138,106,50,.5);
  color:#8a6a32;
}

/* ---------------------------------------------------------------------------
   #11 — Property carousel arrows turned PINK after click (focus/active/visited
   inherited Elementor's accent). Hard-lock the arrow colour to gold in every
   interaction state, without disturbing the gold-fill hover.
   --------------------------------------------------------------------------- */
.arrow-btn:focus,
.arrow-btn:focus-visible,
.arrow-btn:active,
.arrow-btn:visited{
  color:var(--gold,#c9a86b) !important;
  border-color:rgba(201,168,107,.35);
  outline:none;
  box-shadow:none;
}
.arrow-btn:hover:focus,
.arrow-btn:hover:active{ color:#0a0806 !important; }
.elementor-widget-button.arrow-btn .elementor-button:focus,
.elementor-widget-button.arrow-btn .elementor-button:active,
.elementor-widget-button.arrow-btn .elementor-button:visited,
.elementor-widget-button.arrow-btn:focus .elementor-button,
.elementor-widget-button.arrow-btn:active .elementor-button{
  color:var(--gold,#c9a86b) !important;
  background:transparent !important;
  box-shadow:none !important;
}
.elementor-widget-button.arrow-btn:hover .elementor-button,
.elementor-widget-button.arrow-btn:hover:focus .elementor-button,
.elementor-widget-button.arrow-btn:hover:active .elementor-button{
  color:#0a0806 !important;
}

/* ---------------------------------------------------------------------------
   #16 — Kariera application form (paired with the [the_eagles_career_form]
   shortcode). Inherits the lead-form look; only the file field needs styling.
   --------------------------------------------------------------------------- */
.te-career-form .te-career-file input[type="file"]{
  width:100%;
  color:var(--ink,#f5efe3);
  font-size:.9rem;
  padding:12px 14px;
  background:rgba(20,16,12,.55);
  border:1px dashed rgba(201,168,107,.45);
  border-radius:12px;
  cursor:pointer;
}
.te-career-form .te-career-file input[type="file"]::file-selector-button{
  margin-right:14px;
  padding:9px 14px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,var(--te-gold-light,#e4c48a),var(--te-gold,#c9a86b));
  color:#120f0a;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.72rem;
  cursor:pointer;
}
.te-career-form .te-career-file-hint{
  margin:8px 0 0;
  font-size:.78rem;
  color:rgba(245,239,227,.6);
}
html.te-light .te-career-form .te-career-file input[type="file"]{
  color:#17130f;
  background:rgba(28,20,12,.04);
  border-color:rgba(138,106,50,.4);
}
html.te-light .te-career-form .te-career-file-hint{ color:#61584d; }

/* ============================================================================
   FOLLOW-UP — codex re-audit (2026-06-25)
   Second-pass gap closure: Polish CV upload control, floating-rail phone reveal,
   homepage Google reviews band, on-page service consultation form, centered
   listing hero on mobile, lighter mobile tiles, roomier team card, and a less
   invasive mobile cookie bar. Same isolated-override discipline as above.
   ============================================================================ */

/* --- #16 (revised) — Kariera CV upload: Polish-labeled custom control. The
       native input is transparent and overlays the styled button + filename. --- */
.te-career-form .te-career-file .te-file-control{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  background:rgba(20,16,12,.55);
  border:1px dashed rgba(201,168,107,.45);
  border-radius:12px;
  cursor:pointer;
}
.te-career-form .te-career-file .te-file-control input[type="file"]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
  border:0;
  background:transparent;
  padding:0;
}
.te-career-form .te-career-file .te-file-button{
  flex:0 0 auto;
  padding:9px 16px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--te-gold-light,#e4c48a),var(--te-gold,#c9a86b));
  color:#120f0a;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.72rem;
  white-space:nowrap;
}
.te-career-form .te-career-file .te-file-name{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(245,239,227,.7);
  font-size:.85rem;
}
html.te-light .te-career-form .te-career-file .te-file-control{
  background:rgba(28,20,12,.04);
  border-color:rgba(138,106,50,.4);
}
html.te-light .te-career-form .te-career-file .te-file-name{ color:#61584d; }

/* Homepage hero video: keep the background media chrome-free if mobile WebKit
   briefly exposes native playback controls before autoplay retries complete. */
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-start-playback-button{
  display:none !important;
  -webkit-appearance:none;
  opacity:0 !important;
}

/* --- #7 — Floating rail: the consultation CTA also reveals the phone number
       (shown together with its hover label). --- */
.te-floating-rail .te-floating-rail-subtel{
  display:block;
  margin-top:3px;
  font-size:11px;
  letter-spacing:.04em;
  opacity:.85;
}
html.te-light .te-floating-rail .te-floating-rail-item{
  background:rgba(10,8,6,.72) !important;
  color:#f5efe3 !important;
  border-color:rgba(201,168,107,.34) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.22) !important;
}
html.te-light .te-floating-rail a.te-floating-rail-item:hover,
html.te-light .te-floating-rail a.te-floating-rail-item:focus-visible{
  background:var(--gold,#c9a86b) !important;
  color:#0a0806 !important;
  border-color:var(--gold,#c9a86b) !important;
}
html.te-light .te-floating-rail .te-floating-rail-label{
  background:rgba(10,8,6,.92) !important;
  color:#f5efe3 !important;
  border-color:rgba(201,168,107,.28) !important;
}
@media(max-width:900px){
  html:has(body.te-lions-source-home),
  body.te-lions-source-home{
    overflow-x:hidden !important;
  }
  body:not(.te-lp) .te-floating-rail,
  body.page-id-2420 .te-floating-rail{
    display:flex !important;
    position:fixed !important;
    top:50% !important;
    right:max(8px,env(safe-area-inset-right,0px)) !important;
    bottom:auto !important;
    left:auto !important;
    z-index:9998 !important;
    flex-direction:column !important;
    gap:6px !important;
    transform:translateY(-50%) !important;
    pointer-events:none !important;
  }
  body:not(.te-lp) .te-floating-rail .te-floating-rail-item,
  body.page-id-2420 .te-floating-rail .te-floating-rail-item{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    border-color:rgba(201,168,107,.38) !important;
    background:rgba(10,8,6,.82) !important;
    color:#f5efe3 !important;
    box-shadow:0 12px 26px rgba(0,0,0,.28) !important;
    pointer-events:auto !important;
  }
  body:not(.te-lp) .te-floating-rail svg,
  body.page-id-2420 .te-floating-rail svg{
    width:16px !important;
    height:16px !important;
  }
  body:not(.te-lp) .te-floating-rail .te-floating-rail-label,
  body.page-id-2420 .te-floating-rail .te-floating-rail-label{
    display:none !important;
  }
  body:has(#nav.te-elementor-global-nav.is-menu-open) .te-floating-rail,
  body:has(.te-elementor-global-nav.is-menu-open) .te-floating-rail{
    opacity:0 !important;
    pointer-events:none !important;
  }
}
@media(max-width:380px),(max-height:720px){
  body:not(.te-lp) .te-floating-rail,
  body.page-id-2420 .te-floating-rail{
    gap:5px !important;
    right:max(6px,env(safe-area-inset-right,0px)) !important;
  }
  body:not(.te-lp) .te-floating-rail .te-floating-rail-item,
  body.page-id-2420 .te-floating-rail .te-floating-rail-item{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
  }
  body:not(.te-lp) .te-floating-rail svg,
  body.page-id-2420 .te-floating-rail svg{
    width:15px !important;
    height:15px !important;
  }
}
@media(max-width:900px){
  html.te-light body:not(.te-lp) .te-floating-rail .te-floating-rail-item,
  html.te-light body.page-id-2420 .te-floating-rail .te-floating-rail-item{
    background:rgba(10,8,6,.82) !important;
    color:#f5efe3 !important;
    border-color:rgba(201,168,107,.38) !important;
    box-shadow:0 12px 26px rgba(0,0,0,.28) !important;
  }
}

/* --- #18 — Homepage Google reviews band. --- */
.te-home-reviews-band{
  text-align:center;
  padding-top:clamp(40px,6vw,80px);
  padding-bottom:clamp(40px,6vw,80px);
}
.te-home-reviews-band .te-eyebrow{ display:block; }
.te-home-reviews-pill{
  display:inline-flex;
  align-items:center;
  gap:16px;
  margin-top:14px;
  padding:14px 22px;
  border-radius:999px;
  background:rgba(10,8,6,.5);
  border:1px solid rgba(201,168,107,.28);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  color:inherit;
  text-decoration:none;
  transition:border-color .25s ease,transform .25s ease;
}
.te-home-reviews-pill:hover{ border-color:rgba(201,168,107,.6); transform:translateY(-2px); }
.te-home-reviews-pill .te-home-reviews-g{
  display:grid;
  place-items:center;
  width:34px;height:34px;
  border-radius:50%;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;font-size:18px;
  background:#fff;color:#4285F4;
}
.te-home-reviews-meta{ display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.2; }
.te-home-reviews-stars{ display:inline-flex;align-items:center;gap:8px;font-size:.95rem; }
.te-home-reviews-stars .star{ color:#f5b301;letter-spacing:2px; }
.te-home-reviews-count{ font-size:.72rem;letter-spacing:.04em;opacity:.75;text-transform:uppercase; }
.te-home-reviews-cta{ font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--te-gold-light,#e4c48a); }
html.te-light .te-home-reviews-pill{ background:rgba(255,255,255,.6);border-color:rgba(138,106,50,.3); }
@media(max-width:560px){
  .te-home-reviews-pill{ flex-direction:column;gap:10px;text-align:center; }
  .te-home-reviews-meta{ align-items:center; }
}

/* --- #5/#12 — On-page service consultation form: clear the fixed header when
       the CTA scrolls to it. --- */
#te-konsultacja{ scroll-margin-top:110px; }
.te-service-consult .te-form{ max-width:680px; }

/* --- #12 — Listing / single-property hero: center heading + lead on phones. --- */
@media(max-width:600px){
  .te-archive .te-page-hero .te-container,
  .te-property-single .te-page-hero .te-container{ text-align:center; }
  .te-archive .te-page-hero .te-single-media-actions,
  .te-property-single .te-page-hero .te-single-media-actions{
    justify-content:center;
  }
}

/* --- #6 (reinforced) — "Co nas wyróżnia" tiles: lighter, calmer on phones. --- */
@media(max-width:600px){
  .te-reveal-cards .te-brief-card{
    border-radius:14px !important;
    box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
  }
  .te-reveal-cards.te-flip-ready .te-brief-card,
  .te-reveal-cards.te-flip-ready .te-flip{ min-height:158px !important; }
  .te-reveal-cards .te-brief-card .te-eyebrow,
  .te-reveal-cards.te-flip-ready .te-flip__front .te-eyebrow{ font-size:.62rem !important; }
}

/* --- #14 (reinforced) — Team grid card roomier + legible on phones. --- */
@media(max-width:600px){
  .te-team-card .te-team-card-body{ padding:18px 16px 20px !important; }
  .te-team-card .te-team-role{ font-size:11px !important; margin-bottom:6px !important; }
  .te-team-card .te-team-name{ font-size:1.3rem !important; }
  .te-team-card .te-team-actions{ gap:8px !important; }
  .te-team-card .te-team-email-action,
  .te-team-card .te-team-phone-action,
  .te-team-card .te-team-profile-action{
    font-size:11px !important;
    padding-top:11px !important;
    padding-bottom:11px !important;
    letter-spacing:.04em !important;
  }
}

/* --- #3 (reinforced) — Mobile cookie bar: compact so it stops covering content
       (e.g. the founder profile on /o-agencji/). Position lift handled above. --- */
@media(max-width:760px){
  .te-cookie-consent{
    padding:11px 13px !important;
    gap:9px !important;
    border-radius:14px !important;
    box-shadow:0 16px 46px rgba(0,0,0,.5) !important;
    font-size:11.5px !important;
  }
  .te-cookie-consent__title{ font-size:12px !important; margin-bottom:2px !important; }
  .te-cookie-consent__copy{ font-size:11px !important; line-height:1.35 !important; }
  .te-cookie-consent__actions{ gap:8px !important; }
  .te-cookie-consent button{ padding:9px 10px !important; font-size:11.5px !important; min-height:40px; }
}

/* --- #9 (corrected) — Client asked for the founder e-mail "bez ramki" (without
       a frame). The first pass added a bordered pill (opposite intent); reset it
       to a clean inline link that still reads as a gold accent. --- */
.te-team-profile-card__email{
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  background:transparent !important;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color:rgba(201,168,107,.45);
}
.te-team-profile-card__email:hover{
  background:transparent !important;
  text-decoration-color:rgba(201,168,107,.9);
}
.te-team-actions .te-team-email-action--text,
.te-agent-contact-actions .te-agent-contact-link-email{
  flex:0 1 auto !important;
  min-height:0 !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  background:transparent !important;
  color:var(--gold-hot,#e4c48a) !important;
  font-size:.86rem !important;
  font-weight:500 !important;
  line-height:1.35 !important;
  letter-spacing:0 !important;
  text-align:left !important;
  text-transform:none !important;
  white-space:normal !important;
  overflow-wrap:anywhere;
  box-shadow:none !important;
}
.te-team-actions .te-team-email-action--text:hover,
.te-agent-contact-actions .te-agent-contact-link-email:hover{
  background:transparent !important;
  color:var(--gold-light,#e4c48a) !important;
}

/* ---------------------------------------------------------------------------
   Kariera page typography: the page renders from code (not Elementor), so its
   headings picked the wrong fonts (h1 Cormorant 600, h2 Montserrat). Align them
   with the other subpages: Playfair Display 300 (h1) + Cormorant Garamond 400
   (h2). Sizes already match the other pages, so only family/weight change.
   --------------------------------------------------------------------------- */
body.te-careers .te-page-hero h1{
  font-family:"Playfair Display", Georgia, serif !important;
  font-weight:300 !important;
  letter-spacing:-.01em;
}
body.te-careers .te-section h2,
body.te-careers .te-story-grid h2,
body.te-careers .te-careers-split h2,
body.te-careers .te-careers-apply h2{
  font-family:"Cormorant Garamond", Georgia, serif !important;
  font-weight:400 !important;
  letter-spacing:.005em;
}

/* Kariera imagery (HiggsField): framed media like the offer cards; works on
   both the dark and the light theme. Scaled down + centered into one calm,
   symmetric column so the photos support the copy rather than dominate it. */
body.te-careers .te-page-hero .te-container,
body.te-careers .te-section .te-container.te-page-content,
body.te-careers .te-careers-split,
body.te-careers .te-careers-media .te-container{
  max-width:880px !important;
  margin-inline:auto !important;
}
.te-careers-media{
  padding-top:clamp(10px,1.4vw,20px) !important;
  padding-bottom:clamp(10px,1.4vw,20px) !important;
}
.te-careers-figure{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(201,168,107,.28);
  box-shadow:0 22px 54px rgba(0,0,0,.28);
  background:#15100c;
}
.te-careers-figure img{ display:block; width:100%; height:100%; object-fit:cover; }
.te-careers-figure--wide{ aspect-ratio:16/9; max-width:760px; margin-inline:auto; }
.te-careers-figure--portrait{ aspect-ratio:4/5; max-width:320px; margin-inline:auto; }
.te-careers-split{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:clamp(24px,3.4vw,48px);
  align-items:center;
}
.te-careers-split__copy h2{ margin-top:0; }
@media(max-width:820px){
  .te-careers-split{ grid-template-columns:1fr; gap:20px; }
  .te-careers-figure--portrait{ max-width:300px; }
}
html.te-light .te-careers-figure{
  border-color:rgba(138,106,50,.30);
  box-shadow:0 18px 44px rgba(40,30,12,.15);
  background:#efe7d8;
}

/* Kariera desktop layout: keep the story readable in one centered column. */
body.te-careers .te-page-hero{
  height:auto !important;
  min-height:clamp(360px,40vw,460px) !important;
  padding-top:clamp(118px,10vw,150px) !important;
  padding-bottom:clamp(36px,4vw,54px) !important;
}
body.te-careers .te-section{
  padding-top:clamp(26px,3.2vw,46px) !important;
  padding-bottom:clamp(26px,3.2vw,46px) !important;
}
body.te-careers .te-page-hero .te-container,
body.te-careers .te-section > .te-container,
body.te-careers .te-section .te-container.te-page-content,
body.te-careers .te-careers-media .te-container,
body.te-careers .te-careers-split{
  left:auto !important;
  right:auto !important;
  transform:none !important;
  width:min(860px,calc(100% - 56px)) !important;
  max-width:860px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body.te-careers .te-page-hero .te-container,
body.te-careers .te-section .te-container.te-page-content,
body.te-careers .te-careers-split__copy{
  text-align:left !important;
}
body.te-careers .te-section .te-container.te-page-content{
  padding-left:0 !important;
  padding-right:0 !important;
}
body.te-careers .te-careers-media{
  padding-top:clamp(14px,1.6vw,24px) !important;
  padding-bottom:clamp(14px,1.6vw,24px) !important;
}
body.te-careers .te-careers-figure--wide{
  width:100% !important;
  max-width:760px !important;
}
body.te-careers .te-careers-split{
  grid-template-columns:1fr !important;
  gap:24px !important;
}
body.te-careers .te-careers-split .te-careers-figure--portrait{
  width:min(420px,100%) !important;
  max-width:420px !important;
  aspect-ratio:4/5 !important;
  justify-self:center !important;
}
body.te-careers .te-careers-apply .te-container.te-page-content{
  max-width:820px !important;
}
body.te-careers .te-career-form{
  width:100% !important;
  max-width:820px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
@media(min-width:1100px){
  body.te-careers .te-page-hero{
    min-height:420px !important;
    padding-bottom:42px !important;
  }
  body.te-careers .te-page-hero .te-container{
    max-width:920px !important;
  }
}
@media(max-width:600px){
  body.te-careers .te-page-hero{
    min-height:360px !important;
    padding-top:118px !important;
    padding-bottom:32px !important;
  }
}

/* Rental service hero: match team hero typography and center the copy. */
body.page-id-135 .te-page-hero .te-container,
body.page-id-135 .te-page-hero .e-con-inner,
body.page-id-136 .te-page-hero .te-container,
body.page-id-136 .te-page-hero .e-con-inner{
  text-align:center !important;
}
body.page-id-135 .te-page-hero h1,
body.page-id-135 .te-page-hero .elementor-heading-title,
body.page-id-136 .te-page-hero h1,
body.page-id-136 .te-page-hero .elementor-heading-title{
  font-family:"Playfair Display",sans-serif !important;
  font-weight:300 !important;
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body.page-id-135 .te-page-hero .elementor-heading-title .te-title-accent,
body.page-id-136 .te-page-hero .elementor-heading-title .te-title-accent{
  color:#f5efe3 !important;
  font-family:"Playfair Display",sans-serif !important;
  font-style:normal !important;
  font-weight:300 !important;
}
body.page-id-135 .te-page-hero .elementor-heading-title .te-title-script,
body.page-id-136 .te-page-hero .elementor-heading-title .te-title-script{
  color:#c9a86b !important;
  font-family:"Playfair Display","Cormorant Garamond",serif !important;
  font-style:italic !important;
  font-weight:500 !important;
}
body.page-id-135 .te-page-hero .te-lead,
body.page-id-135 .te-page-hero .elementor-widget-text-editor,
body.page-id-135 .te-page-hero .elementor-widget-text-editor p,
body.page-id-136 .te-page-hero .te-lead,
body.page-id-136 .te-page-hero .elementor-widget-text-editor,
body.page-id-136 .te-page-hero .elementor-widget-text-editor p{
  max-width:900px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}

/* Client follow-up 2026-06-30: final consistency pass for production notes. */
.te-services-page-grid .te-brief-card,
.te-exclusive-services__cards .te-brief-card{
  text-align:left !important;
}
.te-services-page-grid .te-brief-card :where(h3,h4,.elementor-heading-title),
.te-exclusive-services__cards .te-brief-card :where(h3,h4,.elementor-heading-title){
  color:#d7b878 !important;
  font-style:normal !important;
}
.te-services-page-grid .te-brief-card :where(p,li,.elementor-widget-text-editor),
.te-exclusive-services__cards .te-brief-card :where(p,li,.elementor-widget-text-editor){
  color:rgba(245,239,227,.78) !important;
  font-style:normal !important;
}
html.te-light .te-services-page-grid .te-brief-card :where(p,li,.elementor-widget-text-editor),
html.te-light .te-exclusive-services__cards .te-brief-card :where(p,li,.elementor-widget-text-editor){
  color:#5f5548 !important;
}

body.page-id-133 .te-site .te-services-page-grid{
  max-width:1040px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  align-items:stretch !important;
  gap:20px !important;
}
body.page-id-133 .te-site .te-services-page-grid > .te-brief-card{
  flex:0 1 320px !important;
  width:320px !important;
  max-width:100% !important;
  height:auto !important;
  align-self:stretch !important;
}
@media(max-width:700px){
  body.page-id-133 .te-site .te-services-page-grid > .te-brief-card{
    flex-basis:100% !important;
    width:100% !important;
  }
}

/* client 2026-06-30: light mode "Co nas wyróżnia" / shared-values tiles must be
   LIGHT (cream + gold), not dark grey ("ciemno szare, trudne do odczytu"). */
html.te-light body:not(.page-id-132) .te-site .te-shared-values article,
html.te-light body.home .te-reveal-cards .te-brief-card,
html.te-light body.page-id-138 .te-reveal-cards .te-brief-card{
  background:#fffaf1 !important;
  border-color:rgba(138,106,50,.22) !important;
  color:#3a342c !important;
  box-shadow:0 18px 44px rgba(138,106,50,.10) !important;
}
html.te-light body:not(.page-id-132) .te-site .te-shared-values article :where(h3,h4,.elementor-heading-title),
html.te-light body.home .te-reveal-cards .te-brief-card :where(h3,h4,.elementor-heading-title),
html.te-light body.page-id-138 .te-reveal-cards .te-brief-card :where(h3,h4,.elementor-heading-title){
  color:#8a6a32 !important;
}
html.te-light body:not(.page-id-132) .te-site .te-shared-values article :where(p,li,.elementor-widget-text-editor),
html.te-light body.home .te-reveal-cards .te-brief-card :where(p,li,.elementor-widget-text-editor),
html.te-light body.page-id-138 .te-reveal-cards .te-brief-card :where(p,li,.elementor-widget-text-editor){
  color:#5f5548 !important;
}

body.page-id-138 .te-reveal-cards .elementor-widget-button{
  display:none !important;
}
body.page-id-138 .te-exclusive-services__cards,
body.page-id-138 .te-exclusive-services__cards *,
body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid,
body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid *{
  font-style:normal !important;
}
html.te-light body.page-id-138 .te-exclusive-services__cards :where(h2,h3,h4,.elementor-heading-title),
html.te-light body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid :where(h2,h3,h4,.elementor-heading-title){
  color:#17130f !important;
}
html.te-light body.page-id-138 .te-exclusive-services__cards .te-brief-card :where(h3,h4,.elementor-heading-title),
html.te-light body.page-id-138 .elementor-element-ff4f3fa.te-services-page-grid .te-brief-card :where(h3,h4,.elementor-heading-title){
  color:#8a6a32 !important;
}

.te-property-badges .te-property-badge--no-commission,
.te-home-card-tags .te-property-badge--no-commission,
.te-single-offer-badges .te-property-badge--no-commission{
  display:inline-flex;
  align-items:center;
  background:#c9a86b !important;
  border:1px solid rgba(255,255,255,.22) !important;
  color:#0a0806 !important;
  font-weight:800;
}
.te-single-offer-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.te-single-offer-badges .te-property-badge--no-commission{
  border-radius:999px;
  padding:9px 13px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:11px;
}
html.te-light .te-property-card--premium .te-property-badges .te-property-badge--no-commission{
  background:#c9a86b !important;
  color:#0a0806 !important;
}
html.te-light .te-home-card-tags .te-property-badge--no-commission{
  background:#c9a86b !important;
  color:#0a0806 !important;
}

.te-home-moderated-reviews{
  padding-top:clamp(28px,3.6vw,54px) !important;
  padding-bottom:clamp(34px,4vw,62px) !important;
}
.te-home-moderated-reviews .te-reviews-google{
  width:100%;
}
.te-home-moderated-reviews .te-review-empty{
  grid-column:1/-1;
}

/* 17 — make the light/dark toggle obvious: a labelled gold pill (icon + word
   for the CURRENT mode, matching the sun/moon), shown on desktop AND mobile. */
.te-theme-toggle,
#nav.te-elementor-global-nav .te-header-language-switcher .te-theme-toggle,
.te-elementor-global-nav .te-header-language-switcher .te-theme-toggle{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:70px !important;
  max-width:none !important;
  height:34px !important;
  min-height:34px !important;
  border-radius:999px !important;
  padding:0 7px !important;
  gap:3px !important;
  border:1px solid rgba(201,168,107,.55) !important;
  background:rgba(201,168,107,.14) !important;
  box-shadow:0 0 0 1px rgba(201,168,107,.18) inset;
  color:#fff !important;
  overflow:visible !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}
.te-theme-toggle::after{
  content:"Ciemny";
  display:inline-block;
  color:#fff !important;
  font-size:8.5px;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1;
  text-transform:uppercase;
}
html.te-light .te-theme-toggle::after{
  content:"Jasny";
  color:currentColor !important;
}
.te-theme-toggle svg{
  width:14px !important;
  height:14px !important;
  flex:0 0 auto !important;
}
@media(min-width:761px){
  .te-theme-toggle,
  #nav.te-elementor-global-nav .te-header-language-switcher .te-theme-toggle,
  .te-elementor-global-nav .te-header-language-switcher .te-theme-toggle{
    min-width:56px !important;
    padding:0 8px !important;
    gap:0 !important;
  }
  .te-theme-toggle svg,
  .te-theme-toggle .te-theme-ico,
  .te-theme-toggle .te-theme-ico-sun,
  .te-theme-toggle .te-theme-ico-moon,
  html.te-light .te-theme-toggle .te-theme-ico,
  html.te-light .te-theme-toggle .te-theme-ico-sun,
  html.te-light .te-theme-toggle .te-theme-ico-moon{
    display:none !important;
  }
  .te-theme-toggle::after{
    font-size:8.5px;
    letter-spacing:.04em;
  }
}
@media(min-width:1200px){
  #nav.te-elementor-global-nav .te-header-cta-valuation,
  .te-elementor-global-nav .te-header-cta-valuation{
    margin-left:10px !important;
  }
}
@media(max-width:760px){
  .te-theme-toggle,
  #nav.te-elementor-global-nav .te-header-language-switcher .te-theme-toggle,
  .te-elementor-global-nav .te-header-language-switcher .te-theme-toggle{
    min-width:72px !important;
    max-width:none !important;
    height:34px !important;
    min-height:34px !important;
    padding:0 9px !important;
    gap:4px !important;
  }
  .te-theme-toggle::after{
    font-size:8.5px;
    letter-spacing:.04em;
  }
  .te-theme-toggle svg{
    width:15px !important;
    height:15px !important;
  }
}

body.page-id-2842 .te-credit-hero .te-team-profile-card__photo,
body.page-id-2361 .te-credit-hero .te-team-profile-card__photo{
  object-position:center top !important;
  background-position:center top !important;
}
body.page-id-2842 .te-credit-hero .te-team-profile-card__photo img,
body.page-id-2361 .te-credit-hero .te-team-profile-card__photo img{
  object-position:center top !important;
}

body.page-id-12 .te-contact-card-grid :where(.te-btn-gold,.elementor-button),
body.page-id-12 .te-form-card :where(.te-btn-gold,.elementor-button[type="submit"]){
  color:#0a0806 !important;
}
body.page-id-12 .te-contact-card-grid :where(.te-btn-outline,.te-btn-outline:visited){
  color:#d7b878 !important;
}

@media(max-width:760px){
  body.te-careers .te-page-hero .te-container,
  body.te-careers .te-section > .te-container,
  body.te-careers .te-section .te-container.te-page-content,
  body.te-careers .te-careers-media .te-container,
  body.te-careers .te-careers-split{
    width:min(100% - 28px,860px) !important;
    max-width:calc(100% - 28px) !important;
  }
  body.te-careers .te-career-form,
  body.te-careers .te-career-form *,
  body.te-careers .te-careers-apply,
  body.te-careers .te-careers-apply *{
    box-sizing:border-box;
    min-width:0;
  }
  body.te-careers .te-career-form :where(input,select,textarea,button){
    max-width:100% !important;
  }
  body.te-careers .te-career-form .te-file-control{
    grid-template-columns:auto minmax(0,1fr) !important;
  }
  body.te-careers .te-career-form .te-file-name{
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
}

/* =====================================================================
   2026-06-30 ROUND 2 — client feedback follow-up
   ===================================================================== */

/* 4 — O agencji: remove the "Poznaj szczegóły" prompt entirely (the self-link
   scrolled to the top; the info is shown after the card flips). Buttons are
   already hidden on page-id-138 above; here we also drop the front-face hint. */
body.page-id-138 .te-reveal-cards.te-flip-ready .te-flip__front__inner::after,
body.page-id-138 .te-reveal-cards .te-brief-card::after{
  content:"" !important;
  display:none !important;
  margin:0 !important;
}

/* 1/6/7 — service-tile headings stay gold in light mode too (dark gold = legible
   on the cream card). Dark-mode headings already gold via the block above. */
html.te-light .te-services-page-grid .te-brief-card :where(h3,h4,.elementor-heading-title),
html.te-light .te-exclusive-services__cards .te-brief-card :where(h3,h4,.elementor-heading-title){
  color:#8a6a32 !important;
}

/* 13 — Oferty na wyłączność: the body copy was hidden until hover (max-height:0)
   so it read as "tekst niewidoczny". Show it always, non-italic, tiles aligned. */
.te-exclusive-services__cards .te-brief-card .elementor-widget-text-editor:not(.te-eyebrow){
  max-height:none !important;
  opacity:1 !important;
  overflow:visible !important;
  transform:none !important;
  pointer-events:auto !important;
}
.te-exclusive-services__cards,
.te-exclusive-services__cards .te-brief-card{
  align-items:stretch !important;
}
.te-exclusive-services__cards .te-brief-card :where(p,li,.elementor-widget-text-editor){
  font-style:normal !important;
}
/* with everything shown, drop the expand/collapse hint */
.te-exclusive-services__cards .te-brief-card:not(:has(.elementor-widget-button))::after{
  display:none !important;
}

/* 2 — "Dlaczego warto powierzyć sprzedaż jednej agencji?": trim the oversized
   spacing between the rows/tiles. */
.te-exclusive-services__inner{
  gap:clamp(1.4rem,2.6vw,2.2rem) !important;
}
.te-exclusive-services{
  padding-top:clamp(2rem,4vw,3.2rem) !important;
  padding-bottom:clamp(2rem,4vw,3.2rem) !important;
}

/* 11/15 — advisor PHONE as a plain text link (matches the e-mail and the agent
   profile page), no gold "baton". Pairs with the team-members.php change. */
.te-team-profile-card a.te-team-profile-card__phone[href^="tel:"],
.te-team-profile-card__phone{
  display:inline !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  color:var(--gold-hot,#e4c48a) !important;
  font-weight:600;
  letter-spacing:.01em;
  text-decoration:underline !important;
  text-underline-offset:3px;
  text-decoration-color:rgba(201,168,107,.45) !important;
}
.te-team-profile-card a.te-team-profile-card__phone[href^="tel:"]:hover,
.te-team-profile-card__phone:hover{
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  transform:none !important;
  text-decoration:underline !important;
  text-decoration-color:rgba(201,168,107,.9) !important;
}
html.te-light .te-team-profile-card a.te-team-profile-card__phone[href^="tel:"],
html.te-light .te-team-profile-card__phone{
  color:#8a6a32 !important;
  text-decoration-color:rgba(138,106,50,.45) !important;
}

/* 15 — Kredyty: never crop Jan's photo (show the whole portrait). */
body.page-id-2842 .te-credit-hero .te-team-profile-card__photo img,
body.page-id-2361 .te-credit-hero .te-team-profile-card__photo img{
  object-fit:contain !important;
}

/* Home featured offers: match card/media/price-band sizing to the compact
   offer cards used on /oferty/. Body height stays content-driven. */
body.te-lions-source-home{
  --te-home-offer-card-width:calc((var(--te-container) - 84px) / 4);
}
body.te-lions-source-home .carousel > .te-home-card,
body.te-lions-source-home .te-home-carousel > .te-home-card{
  flex:0 0 var(--te-home-offer-card-width) !important;
  width:var(--te-home-offer-card-width) !important;
  max-width:var(--te-home-offer-card-width) !important;
}
@media(min-width:901px){
  body.te-lions-source-home .te-home-card .media{
    aspect-ratio:16/10 !important;
    height:auto !important;
  }
}
@media(max-width:1280px) and (min-width:901px){
  body.te-lions-source-home{
    --te-home-offer-card-width:calc((var(--te-container) - 56px) / 3);
  }
}
@media(max-width:900px){
  body.te-lions-source-home{
    --te-home-offer-card-width:calc((var(--te-container) - 36px) / 3);
  }
}
@media(max-width:847px){
  body.te-lions-source-home{
    --te-home-offer-card-width:calc((var(--te-container) - 18px) / 2);
  }
}
@media(max-width:640px){
  body.te-lions-source-home{
    --te-home-offer-card-width:var(--te-container);
  }
}
