

/* Start:/bitrix/templates/tm_rule/components/bitrix/catalog.section.list/portfolio_main/style.css?16789540231376*/
.content {
  width: 100% !important;
  max-width: 933px;
}

.projects__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  list-style: none;
}

.projects__item {
  display: grid;
  width: 100%;
  max-width: 100%;
  margin-bottom: 28px;
  grid-template-columns: 2fr 1fr;
  column-gap: 30px;
}

.projects__item-link {
  cursor: pointer;
  text-decoration: none;
}

.projects__item-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}


.projects__item-title {
  margin-bottom: 15px;
}

.projects__item-title-link {
  margin-top: 0;
  padding: 3px 5px 3px 10px;
  cursor: pointer;
  text-decoration: none;
  color: #2D0909;
  background: #DDD9DA;
  font-size: 18px;
  font-weight: bold;
}

.projects__item-description p {
  font-size: 16px;

}

.projects__item-description p:not(:last-child) {
  margin-bottom: 5px;
}

.projects__item-title-link:hover,
.projects__item-title-link:focus {
  background-color: #2D0909;
  color: #DDD9DA;
}

.projects__item-link:hover .projects__item-img,
.projects__item-link:focus .projects__item-img {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .projects__item {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 660px) {
  .projects__item {
    margin-bottom: 45px;
    grid-template-columns: 1fr;
  }

  .projects__item-left {
    margin-bottom: 10px;
  }
}
/* End */
/* /bitrix/templates/tm_rule/components/bitrix/catalog.section.list/portfolio_main/style.css?16789540231376 */
