

/* Start:/local/templates/lit-uv/components/bitrix/news/objects_with_filter/style.css?17618323036577*/
.objectspage__title:has(+ .objects-gallery) {
  margin-bottom: 0;
}

.objects-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
  padding: 0;
  list-style: none;
  margin-block: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(89, 113, 217, 0.33);
}

.objects-gallery__link {
  display: grid;
  gap: 20px;
}

.objects-gallery__link:hover .objects-gallery__img {
  scale: 1.1;
}

.objects-gallery__media {
  border-radius: 20px;
  overflow: hidden;
}

.objects-gallery__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 784/412;
  object-fit: cover;
  transition: scale 0.6s ease-in-out;
}

.objects-gallery__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.objects-gallery__text {
  display: grid;
  gap: 12px;
}

.objects-gallery__title {
  font-size: 26px;
  font-weight: 600;
  line-height: 120%;
  color: #152051;
}

.objects-gallery__description {
  font-size: 18px;
  font-weight: 300;
  line-height: 150%;
  color: #475074;
}

.objects-gallery__tag {
  padding: 8px 16px;
  border-radius: 60px;
  border: 1px solid rgba(89, 113, 217, 0.33);
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  text-transform: uppercase;
  color: #4a73e7;
}

@media (max-width: 768px) {
  .objects-gallery {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    gap: 24px;
    padding-right: 16px;
    margin-right: -16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .objects-gallery::-webkit-scrollbar {
    display: none;
  }

  .objects-gallery__item {
    flex-shrink: 0;
    max-width: 272px;
    width: 100%;
  }

  .objects-gallery__info {
    gap: 24px;
  }

  .objects-gallery__title {
    font-size: 20px;
  }

  .objects-gallery__link {
    gap: 16px;
  }

  .objects-gallery__img {
    aspect-ratio: 272/148;
    object-fit: cover;
  }

  .objects-gallery__description {
    font-size: 16px;
  }

  .objects-gallery__tag {
    width: fit-content;
  }
}

.objects-title {
  margin-bottom: 40px;
}

.object-grid {
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  list-style: none;
}

.object-grid__item {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.object-grid__item:hover .object-grid__detail {
  transform: translateY(-100%);
}

.object-grid__item:hover .object-grid__preview-info {
  opacity: 0;
}

.object-grid__img {
  width: 100%;
  height: auto;
  aspect-ratio: 512/280;
  object-fit: cover;
}

.object-grid__preview {
  border-radius: 12px;
  overflow: hidden;
}

.object-grid__preview-info {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  /*background: #f7f8fc;*/
  background: rgba(247, 248, 252, 0.7);
}

.object-grid__preview-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 120%;
  color: #152051;
}

.object-grid__preview-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  /*color: rgba(35, 50, 116, 0.9);*/
  color: rgba(45, 65, 140, 1);
}

.object-grid__detail {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(89, 113, 217, 0.33);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background-color: #fff;
  overflow: hidden auto;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
  background: rgba(247, 248, 252, 0.7);
}

.object-grid__detail-head {
  display: grid;
  gap: 4px;
}

.object-grid__detail-title {
  color: #152051;
  font-size: 20px;
  font-weight: 600;
  line-height: 120%;
}

.object-grid__detail-tag {
  width: fit-content;
  padding: 8px 14px;
  border-radius: 60px;
  border: 1px solid rgba(89, 113, 217, 0.33);
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  text-transform: uppercase;
  color: #4a73e7;
}

.object-grid__detail-body {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.object-grid__detail-info {
  display: grid;
  gap: 20px;
}

.object-grid__detail-location {
  font-size: 18px;
  font-weight: 600;
  line-height: 28.8px;
  color: #152051;
}

.object-grid__detail-date {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  color: rgba(35, 50, 116, 0.6);
}

.object-grid__detail-power {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  color: var(--color-blue-29, #394059);
}

.object-grid__detail-link {
  padding: 20px 28px;
  border: 1px solid rgba(89, 113, 217, 0.33);
  border-radius: 60px;
  font-size: 15px;
  font-weight: 600;
  line-height: 120%;
  background-color: transparent;
  text-transform: uppercase;
  transition: background-color 0.3s ease-in-out;
  color: #152051;
}

.object-grid__detail-link:hover {
  background-color: rgba(89, 113, 217, 0.33);
}

@media (min-width: 1850px) {
  body:has(.object-grid) .catalogepage__sidebar {
    width: 472px;
  }
  body:has(.object-grid) .catsidelist ul {
    display: flex;
    flex-direction: column;
  }

  .container:has(.object-grid) {
    padding: 0;
  }
}

@media (max-width: 1440px) {
  .object-grid {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .object-grid {
    gap: 20px;
  }

  .object-grid__preview {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .object-grid__preview-info {
    display: none;
  }

  .object-grid__img {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
  }

  .object-grid__detail {
    position: relative;
    left: unset;
    top: unset;
    transform: none !important;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
  }

  .object-grid__detail-body {
    grid-template-columns: 1fr;
  }

  .object-grid__detail-title,
  .object-grid__detail-location,
  .object-grid__detail-date,
  .object-grid__detail-power {
    color: inherit;
  }

  .object-grid__detail-tag {
    background-color: #fff;
  }

  .object-grid__detail-link {
    width: fit-content;
    border-color: #fff;
    padding: 20px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 120%;
    color: inherit;
  }
}

@media (max-width: 450px) {
  .object-grid {
    grid-template-columns: 1fr;
  }
}

/* End */
/* /local/templates/lit-uv/components/bitrix/news/objects_with_filter/style.css?17618323036577 */
