﻿/* STAGE34CV_HOME_CARD_DENSITY_3COL_START */
html body.dh-home-premium-page {
  zoom: 1 !important;
  margin: 0 !important;
  background: #ffffff !important;
  color: #07140d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dh-home-premium {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  padding: 28px 0 0;
}

.dh-home-premium-nav {
  display: grid;
  grid-template-columns: 240px 1fr minmax(340px, 430px);
  align-items: center;
  gap: 36px;
  min-height: 58px;
  margin-bottom: 24px;
}

.dh-home-premium-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: min(100%, 220px);
  min-height: 36px;
  padding-left: 0;
  color: #082116;
  text-decoration: none;
  font-weight: 950;
  font-size: 1.18rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}



.dh-home-premium-nav nav {
  display: flex;
  justify-content: center;
  gap: 44px;
}

.dh-home-premium-nav nav a {
  color: #13241b;
  text-decoration: none;
  font-weight: 850;
  font-size: 0.95rem;
}

.dh-home-premium-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(8, 20, 13, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 20, 13, 0.06);
}

.dh-home-premium-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.dh-home-premium-hero {
  display: grid;
  grid-template-columns: 0.37fr 0.63fr;
  min-height: 455px;
  overflow: hidden;
  border-radius: 22px;
  background: #06351f;
  box-shadow: 0 24px 70px rgba(8, 20, 13, 0.14);
}

.dh-home-premium-hero__copy {
  padding: 56px 52px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(68, 139, 100, 0.34), transparent 36%),
    linear-gradient(135deg, #083d27 0%, #042314 100%);
}

.dh-home-premium-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: #9bd7b7;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.dh-home-premium-hero h1 {
  margin: 0;
  max-width: 430px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 4.2vw, 4.95rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.dh-home-premium-hero p {
  max-width: 420px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.62;
}

.dh-home-premium-actions {
  display: grid;
  gap: 14px;
  max-width: 300px;
  margin-top: 36px;
}

.dh-home-premium-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 950;
  font-size: 1rem;
}

.dh-home-premium-btn--primary {
  color: #062015;
  background: #fff;
}

.dh-home-premium-btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.dh-home-premium-hero__image {
  display: block;
  min-height: 455px;
  background: rgba(255, 255, 255, 0.06);
}

.dh-home-premium-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.dh-home-premium-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: calc(100% - 96px);
  margin: 24px auto 38px;
}

.dh-home-premium-stat {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas: "icon value" "icon label";
  align-items: center;
  gap: 0 16px;
  min-height: 92px;
  padding: 18px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(8, 20, 13, 0.10);
  box-shadow: 0 14px 42px rgba(8, 20, 13, 0.08);
}

.dh-home-premium-stat__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #063f2b;
}

.dh-home-premium-stat__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dh-home-premium-stat strong {
  grid-area: value;
  color: #082116;
  font-size: 1.42rem;
  font-weight: 700;
}

.dh-home-premium-stat small {
  grid-area: label;
  color: rgba(8, 20, 13, 0.62);
  font-size: 0.95rem;
}

.dh-home-premium-list {
  margin-top: 22px;
}

.dh-home-premium-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  margin-bottom: 28px;
}

.dh-home-premium-section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.dh-home-premium-section-head p {
  margin: 10px 0 0;
  color: rgba(8, 20, 13, 0.64);
}

.dh-home-premium-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dh-home-premium-filters button {
  min-height: 38px;
  border: 1px solid rgba(8, 20, 13, 0.16);
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  cursor: pointer;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(8, 20, 13, 0.05);
}

.dh-home-premium-filters button.is-active {
  background: #063f2b;
  color: #fff;
  border-color: #063f2b;
}

.dh-home-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.dh-home-premium-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  overflow: hidden;
  border-radius: 17px;
  background: #fff;
  border: 1px solid rgba(8, 20, 13, 0.10);
  box-shadow: 0 18px 48px rgba(8, 20, 13, 0.08);
}

.dh-home-premium-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(8, 20, 13, 0.06);
}

.dh-home-premium-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dh-home-premium-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: #063f2b;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dh-home-premium-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.dh-home-premium-card h3 {
  margin: 0;
  color: #08140d;
  font-size: 1.48rem;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.dh-home-premium-card h3 a {
  color: inherit;
  text-decoration: none;
}

.dh-home-premium-card p {
  margin: 0;
  color: rgba(8, 20, 13, 0.68);
  line-height: 1.55;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dh-home-premium-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.dh-home-premium-card__metrics .dh-home-premium-stat {
  grid-template-columns: 22px 1fr;
  grid-template-areas: "icon value" "icon label";
  min-height: 46px;
  padding: 8px 9px;
  gap: 0 7px;
  border-radius: 9px;
  background: #f6f7f4;
  box-shadow: none;
}

.dh-home-premium-card__metrics .dh-home-premium-stat__icon {
  width: 20px;
  height: 20px;
}

.dh-home-premium-card__metrics .dh-home-premium-stat__icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.65;
}

.dh-home-premium-card__metrics .dh-home-premium-stat strong {
  font-size: 0.76rem;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dh-home-premium-card__metrics .dh-home-premium-stat small {
  font-size: 0.62rem;
  line-height: 1.1;
  text-transform: lowercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dh-home-premium-card__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid rgba(8, 20, 13, 0.10);
}

.dh-home-premium-card__bottom strong {
  display: block;
  color: #063f2b;
  font-size: 1.35rem;
}

.dh-home-premium-card__bottom small {
  color: rgba(8, 20, 13, 0.55);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.dh-home-premium-card__bottom a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 124px;
  min-height: 40px;
  border-radius: 8px;
  color: #fff;
  background: #063f2b;
  text-decoration: none;
  font-weight: 950;
}

.dh-home-premium-empty {
  padding: 28px;
  border-radius: 18px;
  border: 1px dashed rgba(8, 20, 13, 0.24);
  background: rgba(255, 255, 255, 0.65);
}



@media (max-width: 1180px) {
  .dh-home-premium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dh-home-premium-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dh-home-premium {
    width: min(100% - 28px, 1320px);
  }

  .dh-home-premium-nav,
  .dh-home-premium-hero,
  .dh-home-premium-section-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dh-home-premium-grid,
  .dh-home-premium-stats {
    grid-template-columns: 1fr;
  }
}
/* STAGE34CV_HOME_CARD_DENSITY_3COL_END */




/* STAGE34CX_HOME_STATS_STRADDLE_HERO_START */
/*
  HOME_PAGE_PREMIUM:
  stat cards majÄ… nachodziÄ‡ na zielony dĂłĹ‚ hero i spadaÄ‡ pod banner.
  To jest finalna zasada szablonu, nie plaster.
*/

.dh-home-premium-hero {
  position: relative !important;
  z-index: 1 !important;
  margin-bottom: 0 !important;
}

.dh-home-premium-stats {
  position: relative !important;
  z-index: 8 !important;
  width: calc(100% - 112px) !important;
  margin: -72px auto 56px !important;
  gap: 30px !important;
}

.dh-home-premium-stats > .dh-home-premium-stat {
  min-height: 92px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(8, 20, 13, 0.10) !important;
  box-shadow: 0 22px 58px rgba(8, 20, 13, 0.14) !important;
  backdrop-filter: blur(10px) !important;
}

@media (max-width: 1180px) {
  .dh-home-premium-stats {
    width: calc(100% - 56px) !important;
    margin: -58px auto 46px !important;
  }
}

@media (max-width: 760px) {
  .dh-home-premium-stats {
    width: 100% !important;
    margin: 18px 0 34px !important;
  }
}
/* STAGE34CX_HOME_STATS_STRADDLE_HERO_END */

/* STAGE34CZ_HOME_SECTION_SEARCH_SUGGESTIONS_START */
/*
  HOME_PAGE_PREMIUM:
  - filtry w sekcji inwestycji sÄ… przesuniÄ™te bliĹĽej Ĺ›rodka,
  - wyszukiwarka jest po prawej stronie tej samej sekcji,
  - podpowiedzi lokalizacji pochodzÄ… z kart inwestycji/renderowanych danych.
*/

.dh-home-premium-nav {
  grid-template-columns: 240px 1fr !important;
}

.dh-home-premium-nav > .dh-home-premium-search {
  display: none !important;
}

.dh-home-premium-section-head {
  display: grid !important;
  grid-template-columns: auto minmax(620px, 1fr) !important;
  align-items: center !important;
  gap: 28px !important;
}

.dh-home-premium-section-title h2 {
  margin: 0 !important;
}

.dh-home-premium-section-tools {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 420px) !important;
  align-items: center !important;
  gap: 18px !important;
  justify-self: end !important;
  width: min(820px, 100%) !important;
}

.dh-home-premium-section-tools .dh-home-premium-filters {
  justify-content: center !important;
}

.dh-home-premium-section-search {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(8, 20, 13, 0.16) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(8, 20, 13, 0.06) !important;
}

.dh-home-premium-section-search span {
  color: rgba(8, 20, 13, 0.58) !important;
}

.dh-home-premium-section-search input {
  width: 100% !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  font: inherit !important;
  color: #08140d !important;
}

.dh-home-premium-location-suggestions {
  position: absolute !important;
  z-index: 20 !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  padding: 8px !important;
  border: 1px solid rgba(8, 20, 13, 0.12) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(8, 20, 13, 0.14) !important;
}

.dh-home-premium-location-suggestions button {
  display: block !important;
  width: 100% !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #08140d !important;
  text-align: left !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.dh-home-premium-location-suggestions button:hover {
  background: rgba(6, 63, 43, 0.08) !important;
}

@media (max-width: 1180px) {
  .dh-home-premium-section-head {
    grid-template-columns: 1fr !important;
  }

  .dh-home-premium-section-tools {
    justify-self: stretch !important;
    width: 100% !important;
  }
}

@media (max-width: 760px) {
  .dh-home-premium-section-tools {
    grid-template-columns: 1fr !important;
  }

  .dh-home-premium-section-tools .dh-home-premium-filters {
    justify-content: flex-start !important;
  }
}
/* STAGE34CZ_HOME_SECTION_SEARCH_SUGGESTIONS_END */

/* STAGE34DA_HOME_SECTION_TOOLS_ONE_ROW_START */
/*
  HOME_PAGE_PREMIUM:
  sekcja "DostÄ™pne inwestycje" ma mieÄ‡ na desktopie jeden wiersz:
  tytuĹ‚ po lewej, filtry bliĹĽej Ĺ›rodka, wyszukiwarka po prawej.
*/

.dh-home-premium-section-head {
  display: grid !important;
  grid-template-columns: minmax(300px, max-content) 1fr !important;
  align-items: center !important;
  gap: 32px !important;
}

.dh-home-premium-section-tools {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 22px !important;
  width: 100% !important;
  justify-self: stretch !important;
}

.dh-home-premium-section-tools .dh-home-premium-filters {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

.dh-home-premium-section-tools .dh-home-premium-filters button {
  white-space: nowrap !important;
  min-height: 38px !important;
  padding: 0 16px !important;
}

.dh-home-premium-section-search {
  flex: 0 0 390px !important;
  max-width: 390px !important;
  min-width: 320px !important;
}

@media (max-width: 1180px) {
  .dh-home-premium-section-head {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .dh-home-premium-section-tools {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  .dh-home-premium-section-tools .dh-home-premium-filters {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }

  .dh-home-premium-section-search {
    flex: 1 1 320px !important;
    max-width: none !important;
  }
}
/* STAGE34DA_HOME_SECTION_TOOLS_ONE_ROW_END */

/* STAGE34DC_HOME_INVESTMENTS_PULLUP_START */
/*
  HOME_PAGE_PREMIUM:
  sekcja "DostÄ™pne inwestycje" ma zaczynaÄ‡ siÄ™ zaraz pod kafelkami hero.
  Kafelki nadal nachodzÄ… na zielony pasek hero, ale nie zostawiamy duĹĽej przerwy przed listÄ….
*/

.dh-home-premium-stats {
  margin: -72px auto 18px !important;
}

.dh-home-premium-list {
  margin-top: 0 !important;
}

.dh-home-premium-section-head {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

@media (max-width: 1180px) {
  .dh-home-premium-stats {
    margin: -58px auto 18px !important;
  }
}

@media (max-width: 760px) {
  .dh-home-premium-stats {
    margin: 18px 0 22px !important;
  }
}
/* STAGE34DC_HOME_INVESTMENTS_PULLUP_END */





/* STAGE34DE_HOME_EXTERNAL_SITE_FOOTER_FREEZE_START */
/*
  HOME_PAGE_PREMIUM nie renderuje stopki.
  Stopka jest pod spodem jako osobny host SITE_FOOTER dodawany przez mount.
*/

body.dh-home-premium-page > #dh-site-footer-slot {
  width: min(1320px, calc(100% - 72px)) !important;
  margin: 48px auto 0 !important;
}

body.dh-home-premium-page > #dh-site-footer-slot:empty {
  display: none !important;
}

@media (max-width: 760px) {
  body.dh-home-premium-page > #dh-site-footer-slot {
    width: min(100% - 28px, 1320px) !important;
    margin-top: 34px !important;
  }
}
/* STAGE34DE_HOME_EXTERNAL_SITE_FOOTER_FREEZE_END */

/* STAGE34DO_HOME_STATS_DYNAMIC_COMPACT_START */
/*
  HOME_PAGE_PREMIUM:
  Stat cards under hero are data-driven. The template must not force four cards.
  It renders as many cards as the active investment provides.
*/
.dh-home-premium-stats {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(148px, 188px)) !important;
  justify-content: center !important;
  align-items: stretch !important;
  width: calc(100% - 112px) !important;
  max-width: 880px !important;
  gap: 14px !important;
  margin: -54px auto 22px !important;
}

.dh-home-premium-stats > .dh-home-premium-stat {
  min-height: 68px !important;
  grid-template-columns: 30px 1fr !important;
  gap: 0 10px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 34px rgba(8, 20, 13, 0.10) !important;
}

.dh-home-premium-stats > .dh-home-premium-stat .dh-home-premium-stat__icon {
  width: 28px !important;
  height: 28px !important;
}

.dh-home-premium-stats > .dh-home-premium-stat .dh-home-premium-stat__icon svg {
  width: 22px !important;
  height: 22px !important;
}

.dh-home-premium-stats > .dh-home-premium-stat strong {
  font-size: 1rem !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.dh-home-premium-stats > .dh-home-premium-stat small {
  font-size: 0.72rem !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.dh-home-premium-page > header.topbar,
body.dh-home-premium-page .topbar {
  display: none !important;
}

@media (max-width: 760px) {
  .dh-home-premium-stats {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
    margin: 18px 0 22px !important;
  }
}
/* STAGE34DO_HOME_STATS_DYNAMIC_COMPACT_END */

/* STAGE34DP_HOME_HERO_STATS_OVERLAP_SIZE_START */
/*
  HOME_PAGE_PREMIUM:
  - kafelki statystyk pod hero sÄ… dynamiczne: tyle, ile podajÄ… dane inwestycji,
  - CSS nie wymusza 4 kolumn; ukĹ‚ada kafelki auto-fit,
  - kafelki sÄ… wiÄ™ksze niĹĽ w STAGE34DO,
  - gĂłrna krawÄ™dĹş kafelkĂłw zaczyna siÄ™ mniej wiÄ™cej w poĹ‚owie zielonego pasa pod zdjÄ™ciem hero.
*/

.dh-home-premium-stats {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  width: min(780px, calc(100% - 180px)) !important;
  margin: -48px auto 34px !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.dh-home-premium-stats > .dh-home-premium-stat {
  grid-template-columns: 38px 1fr !important;
  grid-template-areas: "icon value" "icon label" !important;
  min-height: 70px !important;
  padding: 13px 20px !important;
  gap: 0 13px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid rgba(8, 20, 13, 0.11) !important;
  box-shadow: 0 16px 42px rgba(8, 20, 13, 0.13) !important;
  backdrop-filter: blur(10px) !important;
}

.dh-home-premium-stats > .dh-home-premium-stat .dh-home-premium-stat__icon {
  width: 34px !important;
  height: 34px !important;
}

.dh-home-premium-stats > .dh-home-premium-stat .dh-home-premium-stat__icon svg {
  width: 23px !important;
  height: 23px !important;
  stroke-width: 1.7 !important;
}

.dh-home-premium-stats > .dh-home-premium-stat strong {
  font-size: 1rem !important;
  line-height: 1.08 !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.dh-home-premium-stats > .dh-home-premium-stat small {
  font-size: 0.68rem !important;
  line-height: 1.1 !important;
  color: rgba(8, 20, 13, 0.62) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 1180px) {
  .dh-home-premium-stats {
    width: min(680px, calc(100% - 80px)) !important;
    margin: -42px auto 30px !important;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .dh-home-premium-stats {
    width: 100% !important;
    margin: 18px 0 24px !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }

  .dh-home-premium-stats > .dh-home-premium-stat {
    min-height: 66px !important;
  }
}
/* STAGE34DP_HOME_HERO_STATS_OVERLAP_SIZE_END */



/* STAGE34DQ_HOME_PREMIUM_UTF8_STATS_POSITION_START */
/*
  HOME_PAGE_PREMIUM:
  - staty pod hero zostają dynamiczne: tyle kafelków, ile dostarczy inwestycja,
  - CSS nie wymusza 4 kolumn,
  - kafelki są wyraźnie większe niż w STAGE34DO,
  - górna krawędź kafelków wchodzi wyżej, mniej więcej w połowę zielonego pasa pod zdjęciem.
*/

.dh-home-premium-hero {
  position: relative !important;
  z-index: 1 !important;
  margin-bottom: 0 !important;
}

.dh-home-premium-stats {
  position: relative !important;
  z-index: 80 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)) !important;
  width: min(880px, calc(100% - 170px)) !important;
  margin: -84px auto 34px !important;
  gap: 18px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.dh-home-premium-stats > .dh-home-premium-stat {
  grid-template-columns: 42px 1fr !important;
  grid-template-areas: "icon value" "icon label" !important;
  min-height: 82px !important;
  padding: 16px 22px !important;
  gap: 0 14px !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(8, 20, 13, 0.11) !important;
  box-shadow: 0 18px 46px rgba(8, 20, 13, 0.14) !important;
  backdrop-filter: blur(10px) !important;
}

.dh-home-premium-stats > .dh-home-premium-stat .dh-home-premium-stat__icon {
  width: 38px !important;
  height: 38px !important;
}

.dh-home-premium-stats > .dh-home-premium-stat .dh-home-premium-stat__icon svg {
  width: 25px !important;
  height: 25px !important;
  stroke-width: 1.7 !important;
}

.dh-home-premium-stats > .dh-home-premium-stat strong {
  font-size: 1.08rem !important;
  line-height: 1.08 !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.dh-home-premium-stats > .dh-home-premium-stat small {
  font-size: 0.72rem !important;
  line-height: 1.1 !important;
  color: rgba(8, 20, 13, 0.62) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 1180px) {
  .dh-home-premium-stats {
    width: min(760px, calc(100% - 80px)) !important;
    margin: -72px auto 30px !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .dh-home-premium-stats {
    width: 100% !important;
    margin: 18px 0 24px !important;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
  }

  .dh-home-premium-stats > .dh-home-premium-stat {
    min-height: 70px !important;
  }
}
/* STAGE34DQ_HOME_PREMIUM_UTF8_STATS_POSITION_END */


/* STAGE34EI_HOME_REDUCE_STATS_TO_INVESTMENTS_GAP_START */
/*
  HOME_PAGE_PREMIUM:
  Punktowa korekta odstępu między kafelkami statystyk pod hero
  a nagłówkiem "Dostępne inwestycje".
*/

.dh-home-premium-stats {
  margin-bottom: 14px !important;
}

.dh-home-premium-investments,
.dh-home-premium-list,
.dh-home-premium-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.dh-home-premium-investments > *:first-child,
.dh-home-premium-list > *:first-child,
.dh-home-premium-section > *:first-child {
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .dh-home-premium-stats {
    margin-bottom: 12px !important;
  }
}
/* STAGE34EI_HOME_REDUCE_STATS_TO_INVESTMENTS_GAP_END */


/* STAGE34EJ_HOME_OWNED_BODY_FOOTER_FULL_WIDTH_BAND_START */
/*
  HOME_PAGE_PREMIUM owned footer:
  Footer jest tworzony przez HOME_PAGE_PREMIUM, ale root jest bezpośrednio w body,
  więc szare tło nie jest przycinane przez #app ani wrapper strony głównej.
*/

body.dh-home-premium-page {
  overflow-x: hidden !important;
}

#dh-home-premium-footer-root {
  width: 100% !important;
  max-width: none !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  display: block !important;
  background: #e3e8e2 !important;
  border-top: 1px solid rgba(6, 19, 13, 0.10) !important;
}

#dh-home-premium-footer-root[hidden],
#dh-home-premium-footer-root:empty {
  display: none !important;
}

.dh-home-premium-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #06130d !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.dh-home-premium-footer,
.dh-home-premium-footer * {
  box-sizing: border-box !important;
}

.dh-home-premium-footer__inner {
  width: min(1140px, calc(100% - 96px)) !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 7px 0 7px !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.68fr) minmax(230px, 1fr) !important;
  gap: 26px !important;
  align-items: center !important;
}

.dh-home-premium-footer__logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 2px !important;
  color: #003f2b !important;
}

.dh-home-premium-footer__logo-mark {
  width: 20px !important;
  height: 20px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0b593a !important;
  color: #ffffff !important;
  font-size: 9px !important;
  line-height: 1 !important;
}

.dh-home-premium-footer__logo span:last-child {
  display: grid !important;
  gap: 0 !important;
  line-height: 1 !important;
}

.dh-home-premium-footer__logo strong {
  display: block !important;
  font-size: 0.58rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
}

.dh-home-premium-footer__logo em {
  display: block !important;
  font-style: normal !important;
  font-size: 0.44rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
}

.dh-home-premium-footer h3 {
  margin: 0 0 2px !important;
  font-size: 0.56rem !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  color: #06130d !important;
}

.dh-home-premium-footer p {
  margin: 0 !important;
  color: rgba(6, 19, 13, 0.72) !important;
  font-size: 0.49rem !important;
  line-height: 1.18 !important;
}

.dh-home-premium-footer__copy {
  margin-top: 2px !important;
  color: rgba(6, 19, 13, 0.62) !important;
  font-size: 0.48rem !important;
}

@media (max-width: 980px) {
  #dh-home-premium-footer-root {
    margin-top: 22px !important;
  }

  .dh-home-premium-footer__inner {
    width: min(100% - 48px, 1140px) !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    padding: 8px 0 8px !important;
  }
}

@media (max-width: 560px) {
  #dh-home-premium-footer-root {
    margin-top: 20px !important;
  }

  .dh-home-premium-footer__inner {
    width: min(100% - 28px, 1140px) !important;
    padding: 8px 0 8px !important;
  }
}
/* STAGE34EJ_HOME_OWNED_BODY_FOOTER_FULL_WIDTH_BAND_END */

/* STAGE35CZ_RUDA_HOME_CARD_STAT_FIT_START */
/*
  HOME_PAGE_PREMIUM:
  - small metric cards must never let text escape outside the tile,
  - cards keep their existing typography, but text may wrap inside the tile,
  - card descriptions reserve equal height so metric rows align across neighbouring cards.
*/

.dh-home-premium-card p {
  min-height: calc(0.95rem * 1.55 * 3) !important;
}

.dh-home-premium-card__metrics {
  align-items: stretch !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat {
  min-width: 0 !important;
  min-height: 58px !important;
  overflow: hidden !important;
  align-content: center !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat strong,
.dh-home-premium-card__metrics .dh-home-premium-stat small {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat small {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
/* STAGE35CZ_RUDA_HOME_CARD_STAT_FIT_END */

/* STAGE35CZ_HOME_CARD_METRIC_ALIGNMENT_START */
/*
  HOME_PAGE_PREMIUM:
  metryki kart inwestycji maja byc rowne, nie moga wypychac tekstu poza kafelki.
  Zmiana globalna w szablonie glownej strony, nie plaster pod jedna inwestycje.
*/

.dh-home-premium-card {
  min-height: 575px !important;
}

.dh-home-premium-card__body {
  min-height: 345px !important;
}

.dh-home-premium-card__metrics {
  margin-top: auto !important;
  align-items: stretch !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat {
  min-width: 0 !important;
  min-height: 60px !important;
  height: 60px !important;
  overflow: hidden !important;
  align-content: center !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat strong,
.dh-home-premium-card__metrics .dh-home-premium-stat small {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat small {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
/* STAGE35CZ_HOME_CARD_METRIC_ALIGNMENT_END */

/* STAGE35CZ_HOME_STATS_TILE_FIT_START */
/*
  STAGE35CZ
  Global fit rules for HOME_PAGE_PREMIUM small stat tiles.
  Goal:
  - text must never escape outside the tile,
  - long labels must wrap inside the tile,
  - all tiles in the row stay visually even,
  - footer/buttons stay aligned across cards.
*/

.dh-home-premium-card__body {
  display: flex !important;
  flex-direction: column !important;
}

.dh-home-premium-card p {
  min-height: calc(0.95rem * 1.55 * 3) !important;
}

.dh-home-premium-card__metrics {
  margin-top: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat {
  min-width: 0 !important;
  min-height: 72px !important;
  padding: 10px 12px !important;
  display: grid !important;
  grid-template-columns: 14px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 8px !important;
  row-gap: 2px !important;
  align-content: center !important;
  overflow: hidden !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat svg,
.dh-home-premium-card__metrics .dh-home-premium-stat i,
.dh-home-premium-card__metrics .dh-home-premium-stat .icon {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
  justify-self: start !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat strong,
.dh-home-premium-card__metrics .dh-home-premium-stat small {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  font-size: 0.78rem !important;
  line-height: 1.05 !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat small {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  font-size: 0.66rem !important;
  line-height: 1.05 !important;
}
/* STAGE35CZ_HOME_STATS_TILE_FIT_END */

/* STAGE35CZ_HOME_STAT_TILE_LEFT_FIT_START */
/*
  STAGE35CZ:
  Fine tune small stat tiles on HOME_PAGE_PREMIUM cards.
  Problem: long values like "dwustanowiskowy" were too close to the right border.
  Fix: reduce icon column/gap/padding and give the text column a few extra pixels.
*/

.dh-home-premium-card__metrics {
  gap: 10px !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat {
  padding: 10px 8px 10px 7px !important;
  grid-template-columns: 12px minmax(0, 1fr) !important;
  column-gap: 5px !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat__icon {
  width: 13px !important;
  height: 13px !important;
  justify-self: start !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat__icon svg {
  width: 12px !important;
  height: 12px !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat strong {
  font-size: 0.75rem !important;
  line-height: 1.04 !important;
}

.dh-home-premium-card__metrics .dh-home-premium-stat small {
  font-size: 0.58rem !important;
  line-height: 1.04 !important;
}
/* STAGE35CZ_HOME_STAT_TILE_LEFT_FIT_END */


/* STAGE35DV_HOME_LOGO_OLD_ICON_REMOVED */
.dh-home-premium-logo__img {
  display: block;
  width: min(100%, 210px);
  height: auto;
  object-fit: contain;
}
