@charset "UTF-8";
/* Миксины состояний */
.news__list {
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 1017px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap; }
  .news__list--inner {
    padding-bottom: 0; 
    min-height: 0;
    display: flex;
    justify-content: flex-start;
    gap: 20px; }
    @media (max-width: 1023px) {
      .news__list--inner {
        gap: 0px; } }
    @media (max-width: 767px) {
      .news__list--inner {
        margin: 0;
        margin-bottom: 11px;
        gap: 0px; } }
    .news__list--inner .news__item {
      margin-bottom: 30px; }
      @media (max-width: 767px) {
        .news__list--inner .news__item {
          margin-bottom: 19px; } }
  .news__list--text {
    flex-direction: column; }
    @media (max-width: 767px) {
      .news__list--text {
        flex-direction: row;
        margin-top: 40px; } }
  @media (max-width: 1399px) {
    .news__list {
      min-height: auto; } }
  @media (max-width: 1023px) {
    .news__list {
      flex-wrap: wrap;
      max-height: none; } }
  @media (max-width: 767px) {
    .news__list:not(.news__list--inner) {
      padding-left: 10px;
      flex-wrap: nowrap; } }

.news__item {
  position: relative;
  max-width: 270px;
  max-height: 314px;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 30px; }
  .news__item.news__item--one-news {
    padding: 0;
    padding-bottom: 26px;
    border: 1px solid #d7d7e0;
    transition: opacity, border-color 0.4s; }
    .news__item.news__item--one-news:hover, .news__item.news__item--one-news:focus, .news__item.news__item--one-news:active {
      border-width: 1px;
      border-style: solid;
      border-color: #38393f; }
    .news__item.news__item--one-news.disabled {
      opacity: 0.6; }
    @media (max-width: 1023px) {
      .news__item.news__item--one-news {
        min-height: 350px; } }
    @media (max-width: 767px) {
      .news__item.news__item--one-news {
        min-height: 316px; } }
  .news__item.news__item--one-news a {
    height: 100%;
    text-decoration: none !important; }
    .news__item.news__item--one-news a:hover, .news__item.news__item--one-news a:focus {
      opacity: 1; }
  @media (max-width: 1399px) {
    .news__item {
      width: calc(50% - 30px);
      max-height: 100%;
      max-width: 100%;
      padding-top: 0;
      padding-bottom: 0; } }
  @media (max-width: 1023px) {
    .news__item {
      width: calc(50% - 10px);
      margin-right: 5px;
      margin-left: 5px;
      margin-bottom: 10px; }
      .news__item:nth-child(4n+4) {
        margin-right: 5px; } }
  @media (max-width: 767px) {
    .news__item {
      width: 100%;
      flex-shrink: 0;
      margin: 0;
      padding-bottom: 0; }
      .news__item:nth-child(4n+4) {
        margin-right: 19px; } }

.news__list a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.4s;
  display: block; }
  .news__list a:hover, .news__list a:focus {
    opacity: 0.7; }
  .news__list a:active {
    opacity: 0.5; }
  .news__list a.disabled {
    opacity: 0.6; }
  .news__list a--card:last-child .news__content {
    margin-bottom: 0; }

.news__content {
  margin-bottom: 34px; }
  @media (max-width: 1399px) {
    .news__content {
      margin-bottom: 20px; } }

.news__info {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-right: 24px;
  position: absolute;
  bottom: 10px;
  width: 100%; }
  .news__info time {
    flex-shrink: 0;
    text-transform: lowercase; }

.news__item-img {
  background-color: #000;
  margin-bottom: 17px;
  overflow: hidden;
  height: 151px; }
  .news__item-img img {
    object-fit: cover; }
  @media (max-width: 767px) {
    .news__item-img {
      width: 100%;
      margin-bottom: 19px; } }

.news__content {
  margin-bottom: 17px; }
  @media (max-width: 767px) {
    .news__content {
      width: 100%;
      margin-bottom: 19px; } }

.news__item-img {
  background-color: #000;
  margin-bottom: 17px;
  overflow: hidden;
  height: 0;
  padding-top: 56.6%;
  position: relative; }
  .news__item-img img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover; }
  @media (max-width: 767px) {
    .news__item-img {
      width: 100%;
      margin-bottom: 19px; } }

.news__content h3 {
  margin: 0;
  margin-bottom: 7px;
  padding: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: inherit; }
  @media (max-width: 1399px) {
    .news__content h3 {
      font-size: 15px;
      line-height: 1.2; } }

.news__content time {
  margin: 0;
  margin-top: auto;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: #84848c; }

.news__item--one-news .news__content {
  padding-top: 0;
  padding-right: 0;
  margin-bottom: 7px; }
.news__item--one-news .news__content h3 {
  margin-bottom: 10px;
  padding: 0 24px 0 24px; }
.news__item--one-news .news__content time {
  padding: 0;
  margin-right: auto; }
.news__item--one-news .news__info {
  padding-left: 24px;
  justify-content: flex-end; }
.news__item--one-news .news__tags span {
  padding: 1px 10px 2px; }
@media (max-width: 1399px) {
  .news__item--one-news .news__content h3 {
    padding: 0 15px;
    margin-bottom: 25px; }
  .news__item--one-news .news__info {
    padding-left: 15px;
    padding-right: 15px; }
  .news__item--one-news .news__info time {
    margin-bottom: 10px; } }
@media (max-width: 767px) {
  .news__item--one-news .news__content h3 {
    padding: 0 23px;
    line-height: 1.4; }
  .news__item--one-news .news__info {
    align-items: flex-end;
    padding-left: 23px;
    padding-right: 25px; }
  .news__item--one-news .news__info time {
    margin-bottom: 5px;
    margin-top: 0; } }

.news__tags {
  position: relative;
  padding-top: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  overflow: hidden; }
  .news__tags span {
    position: relative;
    z-index: 1;
    margin-left: 9px;
    font-family: inherit;
    font-size: 11px;
    line-height: 15px;
    font-weight: 400;
    color: #fff; }
  .news__tags span::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #b3b3c0;
    z-index: -1;
    transform: skewX(-28deg); }
  .news__tags span:last-child::before {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    width: 50%;
    height: 100%;
    background-color: #b3b3c0;
    z-index: -1; }

/*# sourceMappingURL=style.css.map */
