.SubpageList {
  padding: clamp(2rem, 7vw, 7rem) 0;
  color: #fff;
}

.SubpageList--secondary {
  background: var(--colorSecondaryBg);
}

.SubpageList.pt-0 {
  padding-top: 0;
}

.SubpageList.pb-0 {
  padding-bottom: 0;
}

.SubpageList-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
}

.SubpageList-title {
  padding-bottom: clamp(2rem, 4vw, 4rem);
  margin: 0;
  color: #000;
  text-align: center;
}

.SubpageList-subTitle {
  text-align: center;
  margin-bottom: clamp(3rem, 9vw, 7rem);
}

.SubpageList-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.5vw, 1.3rem);
}

.SubpageList-list--flex {
  display: flex;
  flex-wrap: wrap;
}

.SubpageList-list--justifyCenter {
  justify-content: center;
}

.location_externalContent_Projects_Realitnisystem_Content_ViewTextPage .SubpageList-list,
.location_externalContent_Projects_Realitnisystem_Content_ViewPagePravek .SubpageList-list {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 75rem) {
  .location_externalContent_Projects_Realitnisystem_Content_ViewTextPage .SubpageList-list,
  .location_externalContent_Projects_Realitnisystem_Content_ViewPagePravek .SubpageList-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 40rem) {
  .location_externalContent_Projects_Realitnisystem_Content_ViewTextPage .SubpageList-list,
  .location_externalContent_Projects_Realitnisystem_Content_ViewPagePravek .SubpageList-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.SubpageList-list--flex .SubpageList-item {
  flex: 0 0 30%;
}

.SubpageList--lastItemBig .SubpageItem:last-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(1rem, 1.5vw, 1.3rem);
  place-items: center;
  background: no-repeat right/auto 100% url("/frontend/images/realitni_system_1.png"), #fff;
  overflow: hidden;
}

.SubpageList--lastItemBig .SubpageItem:last-child .SubpageItem-frame {
  max-width: 37rem;
  background: #fff;
  box-shadow: 0 0 10px 10px #fff;
}

@media (max-width: 75rem) {
  .SubpageList--lastItemBig .SubpageItem:last-child {
    grid-template-columns: 1fr 1fr;
  }
  .SubpageList--lastItemBig .SubpageItem:last-child .SubpageItem-frame {
    max-width: 37rem;
  }
}

@media (max-width: 40rem) {
  .SubpageList--lastItemBig .SubpageItem {
    max-width: 32rem;
    justify-self: center;
  }
  .SubpageList--lastItemBig .SubpageItem:last-child {
    grid-template-columns: 1fr;
  }
  .SubpageList--lastItemBig .SubpageItem:last-child .SubpageItem-frame {
    max-width: unset;
    background: #fff;
  }
}

@media (max-width: 75rem) {
  .SubpageList-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .SubpageList-list--flex .SubpageList-item {
    flex-basis: 48%;
  }
}

@media (max-width: 40rem) {
  .SubpageList-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .SubpageList-list--flex .SubpageList-item {
    flex-basis: 100%;
  }
}

/*# sourceMappingURL=subpage-list.min.css.map */
