.offer {
  font-size: 1.3rem;
  border: 1px solid #fff;
  padding: 0;
  width: 100%;
  display: inline-block;
  color: #000000;
}

.offer:hover {
  border-color: #ECECEE;
  cursor: pointer;
}

.offer-description-title {
  height: 49px;
  text-transform: lowercase;
  overflow: hidden;
}

.offer-description-title::first-letter {
  text-transform: capitalize;
}

.offer-list {
  display: flex;
  justify-content: space-between;
}

.offer-list-item {
  width: 132px;
}

.offer-footer-tag {
    font-size: 0.9rem;
}

/*DESKTOP*/
@media only screen and (min-width : 1316px) {
  .home-offer {
    ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media only screen and (min-width : 768px) and (max-width : 1315px) {
  .home-offer {
    ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media only screen and (max-width : 767px) {
  .home-offer {
    ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media only screen and (min-width : 1199px) and (max-width : 1360px) {
  .offer-list {
    padding-left: 10px;
  }
}

@media only screen and (min-width : 1025px) {
  .offer-list {
    min-height: 190px;
    max-width: 1451px;
  }

  .offer {
    border-radius: 22px;
    border-color: #ffffff;
  }

  .offer-description {
    padding: 3% 4% 1%;
    flex: 1;
    min-width: 0;
  }

  .offer-image {
    width: 124px;
    height: 124px;
    border-radius: 22px;
    padding-bottom: 20px;
  }

  .offer-description-nickname {
    height: 34px;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    padding: 0;
  }

  .offer-description-age {
    height: 34px;
    font-size: 13px;
    padding: 0 10px;
    margin-bottom: 0;
  }

  .offer-description-city-date {
    line-height: 0.8rem;
    font-size: 13px;
    width: 100%;
    float: left;
  }

  .offer-description-title {
    font-size: 18px;
    padding: 0 2% 2%;
    width: 100%;
  }

}
@media only screen and (max-width : 1613px) {
  .offer-list {
    max-width: 1291px;
  }
}

@media only screen and (min-width: 1114px) {
  .offer-footer {
    padding: 1% 4% 3%;
  }
}

.display-tablet-mobile {
  display: none;
}

.offer-description--padding-desktop {
  padding-right: 0px;
}

@media only screen and (max-width : 1113px) {
  .offer-description-title {
    width: 100%;
    font-weight: 600;
    padding-left: 2%;
    padding-right: 2%;
  }

  .offer-footer {
    padding: 1% 2% 3%;
  }
  .display-desktop {
    display: none;
  }
  .display-tablet-mobile {
    display: block;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1689px) {
  .offer-description-nickname {
    max-width: 165px;
    overflow: hidden;
  }
}


/*TABLET*/
@media only screen and (max-width: 767px) {
  .offer {
    border-color: #ECECEE;
    margin-top: 5px;
  }
  .offer-description-title {
    height: 39px;
  }
}

@media only screen and (min-width: 415px) and (max-width: 1025px) {
  .offer-list-no-padding {
    min-height: unset;
  }

  .offer {
    border-radius: 12px;
  }

  .offer-description {
    padding: 3% 2% 1%;
    flex: 1;
    min-width: 0;
  }

  .offer-image {
    width: 110px;
    height: 110px;
    border-radius: 12px;
  }

  .offer-description-nickname {
    height: 34px;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
    padding: 0;
  }

  .offer-description-age {
    height: 34px;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
    padding: 0 10px;
  }

  .offer-description-city-date {
    line-height: 0.8rem;
    font-size: 13px;
    width: 100%;
    float: left;
  }

  .offer-description-title {
    font-size: 16px;
    margin-bottom: 0;
  }
}

/*MOBILE*/
@media only screen and (max-width: 414.98px) {
  .offer-list-no-padding {
    min-height: unset;
  }

  .offer {
    border-radius: 12px;
  }

  .offer-description {
    flex: 1;
    min-width: 0;
  }

  .offer-image {
    width: 110px;
    height: 110px;
    border-radius: 12px;
  }

  .offer-description-nickname {
    height: 34px;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
  }

  .offer-description-age {
    height: 15px;
    font-size: 13px;
    font-weight: 400;
    padding: 0 7px;
  }

  .offer-description-city-date {
    line-height: 0.8rem;
    font-size: 13px;
  }

  .offer-description-title {
    font-size: 16px;
  }
}

@media only screen and (min-width: 350px) and (max-width: 414.98px) {
  .offer-description {
    padding: 3% 2% 1%;
    flex: 1;
    min-width: 0;
  }
}

@media only screen and (max-width: 349px) {
  .offer-description {
    padding: 3% 0 1%;
    flex: 1;
    min-width: 0;
  }
}

.offer-image-box {
  padding: 1%;
  float: left;
}

.offer-image {
  border: 1px solid #fff;
  padding: 0;
}

.offer-description-nickname {
  line-height: 20px;
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-description-age-box {
  white-space: nowrap;
  width: 100%;
  height: 47px;
}

.offer-description .fas {
  width: 16px;
}

.offer-description-age {
  color: #ec2a4a;
  line-height: 20px;
    display: none!important;
}

.offer-description-city-date {
  color: #8A859C;
}
.offer-description-title {
  font-weight: 600;
  line-height: 20px;
  overflow-wrap: break-word;
}

.offer-footer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.offer-footer-tag {
  color: #8C899A;
  background-color: rgba(231, 229, 237, 0.4);
  padding: 4px 9px;
  border-radius: 5px;
  margin: 0;
  border: none!important;
  box-shadow: none!important;
}

.offer-footer-tag:focus {
  outline: none!important;
}

.offer a {
  text-decoration: none;
  color: #000000;
}

a:focus {
  outline: none;
}

@media only screen and (max-width: 336px) {
  .offer-list-no-padding {
    min-height: unset;
  }
}

.hide-border {
  border-color: #ffffff;
}

.hide-border:hover {
  border-color: #ffffff;
}

.city-date-icon {
  padding-right: 4px;
  margin-left: -1px;
}

.offer-footer .offer-footer-tag {
  margin: 0 0 4px 0;
}

.offer-new-layout {
  display: block;
  padding: 12px;
}

.offer-new-layout::after {
  content: "";
  display: block;
  clear: both;
}

.offer-new-layout .offer-description-title {
  padding: 0;
  margin: 0 0 12px 0;
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-transform: none;
}

.offer-new-layout .offer-description-title > span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

.offer-new-layout .offer-image-box {
  padding: 0;
  margin: 0 16px 8px 0;
}

.offer-new-layout .offer-image {
  width: 110px;
  height: 110px;
  padding: 0;
}

.offer-new-layout .offer-description {
  padding: 0;
}

.offer-new-layout .offer-description-age-box {
  width: auto;
  margin-bottom: 0;
}

.offer-new-layout .offer-description-city-date {
  width: auto;
  float: none;
  margin-bottom: 20px;
}

.offer-new-layout .offer-footer {
  display: block;
  width: auto;
  padding: 0;
  height: 38px;
  overflow: clip;
}

.offer-new-layout .offer-footer .offer-footer-tag {
  display: inline-block;
  margin: 0 6px 6px 0;
}
