﻿/* STAGE35BH_DOMY_INDEX_LIST_AND_RESERVED_STATE
   Osobny szablon inwestycji domów. Właściciel wizualny: .dh-di-index.
   Cel: układ hero jak Mokrzyska, bez nadpisu nad listą domów, z rezerwacją jak w szablonie mieszkań.
   Nie zmienia szablonów mieszkań i nie jest plastrem pod jedną inwestycję. */

body.dh-di-index-page {
  margin: 0;
  background: #f7f6f1;
}

.dh-di-index {
  --dh-di-bg: #f7f6f1;
  --dh-di-ink: #101a14;
  --dh-di-muted: rgba(16, 26, 20, 0.68);
  --dh-di-green: #06452f;
  --dh-di-border: rgba(16, 26, 20, 0.12);
  --dh-di-card: rgba(255, 255, 255, 0.88);
  --dh-di-shadow: 0 24px 70px rgba(12, 28, 18, 0.10);
  box-sizing: border-box;
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  padding: 28px 0 20px;
  color: var(--dh-di-ink);
  background: var(--dh-di-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dh-di-index *,
.dh-di-index *::before,
.dh-di-index *::after { box-sizing: border-box; }

.dh-di-index a { color: inherit; }

.dh-di-index__title,
.dh-di-index__section-title,
.dh-di-index__location-title,
.dh-di-index__info-title,
.dh-di-index__house-title,
.dh-di-index__stat-value {
  margin: 0;
  color: var(--dh-di-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.dh-di-index__back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 18px;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-weight: 850;
}

.dh-di-index__hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(350px, 0.82fr) minmax(620px, 1.38fr);
  align-items: center;
  gap: 0;
  background: var(--dh-di-bg);
}

.dh-di-index__copy {
  min-width: 0;
  padding: 20px 36px 10px 0;
  position: relative;
  z-index: 3;
  background: var(--dh-di-bg);
}

.dh-di-index__eyebrow {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dh-di-green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.dh-di-index__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.dh-di-index__title {
  max-width: 500px;
  font-size: clamp(3.25rem, 4.5vw, 5.2rem);
  line-height: 0.92;
}

.dh-di-index__lead {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--dh-di-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.dh-di-index__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.dh-di-index__button {
  min-height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  background: var(--dh-di-green);
  border: 1px solid var(--dh-di-green);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(6, 69, 47, 0.18);
}

.dh-di-index__button--light {
  color: var(--dh-di-ink);
  background: #fff;
  border-color: var(--dh-di-border);
  box-shadow: none;
}

.dh-di-index__media {
  height: 520px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--dh-di-bg);
  isolation: isolate;
  border-radius: 0;
  box-shadow: none;
}

.dh-di-index__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, var(--dh-di-bg) 0%, rgba(247, 246, 241, 0.94) 7%, rgba(247, 246, 241, 0.62) 15%, rgba(247, 246, 241, 0.26) 24%, rgba(247, 246, 241, 0) 32%);
}

.dh-di-index__media-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

.dh-di-index__stats {
  width: min(1080px, calc(100% - 180px));
  margin: -132px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.dh-di-index__stat {
  min-height: 106px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--dh-di-border);
  border-radius: 16px;
  box-shadow: var(--dh-di-shadow);
}

.dh-di-index__stat-value {
  display: block;
  font-size: clamp(1.18rem, 1.75vw, 1.68rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.dh-di-index__stat-label {
  display: block;
  color: var(--dh-di-muted);
  font-size: 0.82rem;
  line-height: 1.15;
}

.dh-di-index__section { margin-top: -78px; }
.dh-di-index__location { margin-top: 10px; }
.dh-di-index__info { margin-top: 0; }

.dh-di-index__section-head {
  margin-bottom: 10px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.dh-di-index__section-title,
.dh-di-index__location-title {
  font-size: clamp(2.1rem, 3.1vw, 3.2rem);
  line-height: 0.98;
}

.dh-di-index__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.dh-di-index__pill {
  min-height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--dh-di-border);
  background: rgba(255,255,255,0.75);
  font-weight: 900;
  cursor: pointer;
}

.dh-di-index__pill.is-active {
  color: #fff;
  background: var(--dh-di-green);
}

.dh-di-index__houses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dh-di-index__house {
  overflow: hidden;
  border-radius: 18px;
  background: var(--dh-di-card);
  border: 1px solid var(--dh-di-border);
  box-shadow: 0 18px 48px rgba(12, 28, 18, 0.08);
}

.dh-di-index__house[hidden] { display: none; }

.dh-di-index__house-media {
  height: 178px;
  display: block;
  position: relative;
  overflow: hidden;
  background: #fbfaf7;
}

.dh-di-index__house-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dh-di-index__house-number,
.dh-di-index__house-status {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--dh-di-green);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dh-di-index__house-number { left: 14px; }
.dh-di-index__house-status { right: 14px; background: #4b5563; }

.dh-di-index__house.is-reserved {
  background: rgba(229, 231, 235, 0.92);
  border-color: rgba(107, 114, 128, 0.32);
  box-shadow: 0 14px 38px rgba(31, 41, 55, 0.08);
}

.dh-di-index__house.is-reserved .dh-di-index__house-media { background: #e5e7eb; }
.dh-di-index__house.is-reserved .dh-di-index__house-img { opacity: 0.56; filter: grayscale(1); }
.dh-di-index__house.is-reserved .dh-di-index__house-title,
.dh-di-index__house.is-reserved .dh-di-index__house-facts strong { color: #374151; }
.dh-di-index__house.is-reserved .dh-di-index__house-link { color: #374151; border-color: rgba(75, 85, 99, 0.32); background: rgba(255, 255, 255, 0.72); }

.dh-di-index__house-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.dh-di-index__house-title {
  font-size: 1.18rem;
  line-height: 1.12;
}

.dh-di-index__house-title a,
.dh-di-index__house-link { text-decoration: none; }

.dh-di-index__house-meta {
  min-height: 42px;
  margin: 0;
  color: var(--dh-di-muted);
  line-height: 1.45;
}

.dh-di-index__house-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-top: auto;
  color: var(--dh-di-muted);
}

.dh-di-index__house-facts strong {
  color: var(--dh-di-green);
  font-size: 1.18rem;
  font-weight: 950;
}

.dh-di-index__house-link {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dh-di-green);
  border: 1px solid rgba(6, 69, 47, 0.28);
  font-weight: 900;
  background: rgba(255,255,255,0.78);
}

.dh-di-index__location {
  display: grid;
  grid-template-columns: 0.78fr 1.5fr;
  align-items: start;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--dh-di-border);
  box-shadow: 0 20px 54px rgba(12, 28, 18, 0.08);
}

.dh-di-index__location-copy { padding: 20px 28px 16px; }
.dh-di-index__location .dh-di-index__eyebrow { margin-bottom: 10px; }
.dh-di-index__location-title { font-size: clamp(1.8rem, 2.45vw, 2.55rem); }
.dh-di-index__location-text { margin: 10px 0 0; color: var(--dh-di-muted); font-size: 0.86rem; line-height: 1.38; }
.dh-di-index__location-list,
.dh-di-index__info-list { margin: 10px 0 0; padding-left: 18px; color: var(--dh-di-muted); font-size: 0.82rem; line-height: 1.42; }
.dh-di-index__list-item + .dh-di-index__list-item { margin-top: 8px; }
.dh-di-index__location-media { min-height: 220px; margin: 0; overflow: hidden; background: #edf2e9; }
.dh-di-index__location-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dh-di-index__info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dh-di-index__info-card {
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--dh-di-border);
}

.dh-di-index__info-title {
  margin-bottom: 9px;
  font-size: 1.24rem;
}

@media (max-width: 1180px) {
  .dh-di-index { width: min(100% - 48px, 1320px); }

  .dh-di-index__hero,
  .dh-di-index__location {
    grid-template-columns: 1fr;
  }

  .dh-di-index__copy { padding: 42px 28px 30px; }
  .dh-di-index__media { height: 420px; }

  .dh-di-index__stats,
  .dh-di-index__houses,
  .dh-di-index__info {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dh-di-index__stats { margin: 24px 0 48px; }
  .dh-di-index__section { margin-top: 0; }
}

@media (max-width: 720px) {
  .dh-di-index {
    width: min(100% - 28px, 1320px);
    padding-top: 22px;
  }

  .dh-di-index__title { font-size: 3.25rem; }

  .dh-di-index__stats,
  .dh-di-index__houses,
  .dh-di-index__info {
    grid-template-columns: 1fr;
  }

  .dh-di-index__section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .dh-di-index__pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 3px;
  }

  .dh-di-index__pill {
    flex: 0 0 auto;
  }
}

/* STAGE35CN_06 — text overflow / card resilience.
   Additive only: min-width:0 lets flex/grid children shrink; overflow-wrap wraps
   text that would otherwise overflow. No existing layout property is changed. */
.dh-di-index__house,
.dh-di-index__house-body,
.dh-di-index__house-facts,
.dh-di-index__stat { min-width: 0; }

.dh-di-index__house-title,
.dh-di-index__house-meta,
.dh-di-index__house-facts,
.dh-di-index__house-facts strong,
.dh-di-index__stat-value,
.dh-di-index__stat-label {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.dh-di-index__house-number,
.dh-di-index__house-status {
  max-width: calc(100% - 28px);
  overflow-wrap: anywhere;
  word-break: normal;
}
/* STAGE35EO_DOMY_INDEX_FOUR_COLUMN_GRID
   Owner template change: active house estate index uses 4 cards per row on desktop.
   Breakpoints below 1180px and 720px keep existing 2/1-column responsive behavior. */

/* STAGE35FK_DOMY_INDEX_CTA_CONTRAST_AND_STAT_ORDER
   Owner template fix: keep the primary CTA readable and lock stat cards to label-over-value. */
.dh-di-index .dh-di-index__button:not(.dh-di-index__button--light),
.dh-di-index .dh-di-index__button:not(.dh-di-index__button--light):visited,
.dh-di-index .dh-di-index__button:not(.dh-di-index__button--light):hover,
.dh-di-index .dh-di-index__button:not(.dh-di-index__button--light):focus-visible,
.dh-di-index .dh-di-index__button:not(.dh-di-index__button--light) span {
  color: #fff;
}

.dh-di-index .dh-di-index__stat-label { order: 1; }
.dh-di-index .dh-di-index__stat-value { order: 2; }

/* STAGE35FP_DOMY_INDEX_HOUSE_CARD_META_LINES
   Owner template extension: when data provides cardMetaLines, house-card meta can render as controlled lines. */
.dh-di-index__house-meta--stacked {
  display: grid;
  gap: 3px;
}

.dh-di-index__house-meta-line {
  display: block;
}

/* STAGE35FQ_DOMY_INDEX_LOCATION_GALLERY_AND_CARD_GAP
   Owner template extension: location sections can render a data-provided gallery, and stacked
   house-card meta keeps garage, plot and price visually connected. */
.dh-di-index__house-meta--stacked {
  min-height: 0;
  gap: 2px;
  line-height: 1.34;
}

.dh-di-index__house-meta--stacked + .dh-di-index__house-facts {
  margin-top: 0;
}

.dh-di-index__location {
  align-items: stretch;
}

.dh-di-index__location-gallery {
  min-height: 320px;
  height: 100%;
  display: grid;
  gap: 0;
  background: #edf2e9;
}

.dh-di-index__location-gallery--1 {
  grid-template-columns: 1fr;
}

.dh-di-index__location-gallery--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dh-di-index__location-gallery--3 {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.dh-di-index__location-gallery--3 .dh-di-index__location-gallery-item:first-child {
  grid-row: span 2;
}

.dh-di-index__location-gallery-item {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: #edf2e9;
}

.dh-di-index__location-gallery-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1180px) {
  .dh-di-index__location-gallery { min-height: 260px; }
  .dh-di-index__location-gallery-item { min-height: 220px; }
}

@media (max-width: 720px) {
  .dh-di-index__location-gallery--2,
  .dh-di-index__location-gallery--3 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .dh-di-index__location-gallery--3 .dh-di-index__location-gallery-item:first-child {
    grid-row: auto;
  }
}

/* STAGE35FZ_DOMY_INDEX_MOBILE_HIDE_HERO_MEDIA_STATS
   Main DOMY_INWESTYCJA_INDEX template: on phones, keep sales copy and CTA,
   but hide the decorative hero image and stat tiles to shorten the first view. */
@media (max-width: 720px) {
  .dh-di-index__hero {
    min-height: 0;
    display: block;
  }

  .dh-di-index__media,
  .dh-di-index__stats {
    display: none !important;
  }

  .dh-di-index__section {
    margin-top: 20px;
  }
}

/* STAGE35GB_DOMY_INDEX_HOUSE_CTA_GREEN
   Main DOMY_INWESTYCJA_INDEX template: house-card CTA must be a visible
   green action. Navigation remains limited to this button by renderer guards. */
.dh-di-index__house-link,
.dh-di-index__house-link:visited,
.dh-di-index__house-link:hover,
.dh-di-index__house-link:focus-visible {
  color: #ffffff !important;
  background: var(--dh-di-green) !important;
  border-color: var(--dh-di-green) !important;
}

.dh-di-index__house-link span {
  color: #ffffff !important;
}

.dh-di-index__house.is-reserved .dh-di-index__house-link,
.dh-di-index__house.is-reserved .dh-di-index__house-link:visited,
.dh-di-index__house.is-reserved .dh-di-index__house-link:hover,
.dh-di-index__house.is-reserved .dh-di-index__house-link:focus-visible {
  color: #ffffff !important;
  background: #4b5563 !important;
  border-color: #4b5563 !important;
}

/* STAGE35GD_DOMY_INDEX_MOBILE_HOUSE_MEDIA_FIT
   Main DOMY_INWESTYCJA_INDEX template: on phones, house-card media should
   keep a real image proportion instead of inheriting the desktop strip height. */
@media (max-width: 720px) {
  .dh-di-index__house-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .dh-di-index__house-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* STAGE35GE_DOMY_INDEX_SECTION_GAPS
   Main DOMY_INWESTYCJA_INDEX template: vertical distance between owner
   sections should match the visual rhythm of card gaps, not create trenches. */
.dh-di-index {
  --dh-di-section-gap: 18px;
}

.dh-di-index > .dh-di-index__section + .dh-di-index__location,
.dh-di-index > .dh-di-index__location + .dh-di-index__info {
  margin-top: var(--dh-di-section-gap) !important;
}

@media (max-width: 720px) {
  .dh-di-index {
    --dh-di-section-gap: 16px;
  }

  .dh-di-index__houses,
  .dh-di-index__info {
    gap: var(--dh-di-section-gap);
  }
}

/* STAGE35GF_DOMY_INDEX_COMPACT_HERO_RHYTHM
   Main DOMY_INWESTYCJA_INDEX template: hero copy sits directly under back link,
   and the jump from CTA to the house list stays compact on desktop and mobile. */
.dh-di-index__hero {
  align-items: start;
  min-height: 460px;
}

.dh-di-index__copy {
  padding-top: 4px;
}

.dh-di-index__section {
  margin-top: -118px;
}

@media (max-width: 1180px) {
  .dh-di-index__copy {
    padding: 10px 0 18px;
  }

  .dh-di-index__section {
    margin-top: 14px;
  }
}

@media (max-width: 720px) {
  .dh-di-index__back {
    margin-bottom: 6px;
    padding-left: 0;
  }

  .dh-di-index__copy {
    padding: 6px 0 12px;
  }

  .dh-di-index__lead {
    margin-top: 14px;
  }

  .dh-di-index__actions {
    margin-top: 16px;
  }

  .dh-di-index__section {
    margin-top: 10px;
  }

  .dh-di-index__section-head {
    gap: 12px;
    margin-bottom: 14px;
  }
}
/* STAGE35GG_DOMY_INDEX_BALANCED_HERO_RHYTHM
   Main DOMY_INWESTYCJA_INDEX template: desktop list no longer overlaps hero,
   while mobile keeps CTA-to-house-list rhythm tight after hidden hero media/stats. */
.dh-di-index__hero {
  min-height: 500px;
}

.dh-di-index__section {
  margin-top: -68px;
}

@media (max-width: 1180px) {
  .dh-di-index__hero {
    min-height: 0;
  }

  .dh-di-index__copy {
    padding: 8px 0 10px;
  }

  .dh-di-index__section {
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .dh-di-index__back {
    margin-bottom: 4px;
    padding-left: 0;
  }

  .dh-di-index__copy {
    padding: 4px 0 6px;
  }

  .dh-di-index__lead {
    margin-top: 12px;
  }

  .dh-di-index__actions {
    margin-top: 12px;
  }

  .dh-di-index__section {
    margin-top: 4px;
  }

  .dh-di-index__section-head {
    gap: 10px;
    margin-bottom: 12px;
  }
}
/* STAGE35GJ_DOMY_INDEX_MOBILE_HIDE_HERO_CTA
   Main DOMY_INWESTYCJA_INDEX template: on phones remove the hero CTA
   and place the house list directly under the hero text with a controlled gap. */
@media (max-width: 720px) {
  .dh-di-index__hero {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dh-di-index__copy {
    padding: 4px 0 0 !important;
  }

  .dh-di-index__actions {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dh-di-index__media,
  .dh-di-index__stats {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .dh-di-index__section {
    margin-top: 18px !important;
  }

  .dh-di-index__section-head {
    margin-bottom: 10px !important;
  }
}
/* STAGE35GN_DOMY_INDEX_ACTIVE_LOCATION_GALLERY
   Main DOMY_INWESTYCJA_INDEX template: location media is one active image with thumbs below. */
.dh-di-index__location-gallery--active {
  display: block;
}

.dh-di-index__location-gallery-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dh-di-index__location-gallery-main {
  width: 100%;
}

.dh-di-index__location-gallery-panel {
  display: none;
  margin: 0;
}

.dh-di-index__location-gallery-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--1:checked) .dh-di-index__location-gallery-panel--1,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--2:checked) .dh-di-index__location-gallery-panel--2,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--3:checked) .dh-di-index__location-gallery-panel--3,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--4:checked) .dh-di-index__location-gallery-panel--4,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--5:checked) .dh-di-index__location-gallery-panel--5,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--6:checked) .dh-di-index__location-gallery-panel--6 {
  display: block;
}

.dh-di-index__location-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

/* STAGE35IB_LOCATION_GALLERY_THUMBS_FILL_TILE
   Miniaturki w DOMY_INWESTYCJA_INDEX wypełniają cały kafelek bez wewnętrznych marginesów. */
.dh-di-index__location-gallery-thumb {
  flex: 0 0 96px;
  aspect-ratio: 16 / 10;
  padding: 0 !important;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  line-height: 0;
}

.dh-di-index__location-gallery-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover !important;
}

.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--1:checked) .dh-di-index__location-gallery-thumb--1,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--2:checked) .dh-di-index__location-gallery-thumb--2,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--3:checked) .dh-di-index__location-gallery-thumb--3,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--4:checked) .dh-di-index__location-gallery-thumb--4,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--5:checked) .dh-di-index__location-gallery-thumb--5,
.dh-di-index__location-gallery--active:has(.dh-di-index__location-gallery-input--6:checked) .dh-di-index__location-gallery-thumb--6 {
  border-color: #0b4a31;
}

@media (max-width: 720px) {
  .dh-di-index__location-gallery-panel img {
    border-radius: 8px;
  }

  .dh-di-index__location-gallery-thumbs {
    gap: 8px;
    margin-top: 8px;
  }

  .dh-di-index__location-gallery-thumb {
    flex-basis: 88px;
  }
}
/* STAGE35GO_LOCATION_GALLERY_LIGHTBOX_CURSOR */
.dh-di-index__location-gallery-main-img {
  cursor: zoom-in;
}
