.item {
  border-top: 1px solid #E8E8E8;
  margin-top: 24px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;

  .block {
    display: flex;
    flex-direction: column;
    row-gap: 16px;

    &.nopublish {
      opacity: 50%;
    }

    .date {
      font-weight: 700;
      font-size: 0.875rem;
      line-height: 18px;
      color: #86898E;
    }

    .title {
      font-weight: 400;
      font-size: 1.5rem;
      line-height: 30px;
      color: var(--second);
    }

    .photos {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-direction: row;
      flex-wrap: wrap;
      .photo {
        width: 128px;
        height: 128px;
        overflow: hidden;
        img {
          display: block;
          width: 100%;
          height: 100%;
          object-fit: cover;
          cursor: pointer;
        }
      }
    }

    .more {
      font-weight: 400;
      font-size: 1rem;
      line-height: 24px;
      color: #86898E;
      cursor: pointer;
    }
  }
}
.fullscreen {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  background-color: rgba(37, 46, 52, 60%);
  .left, .right {
    width: 72px;
    flex-grow: 0;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    .circle {
      width: 48px;
      height: 48px;
      border-radius: 100%;
      background-position: center;
      background-repeat: no-repeat;
      &:hover {
        background-color: #3e3d40;
      }
    }
  }
  .left {
    .circle {
      background-image: url('/assets/images/icons/chevron_left_white_48dp.svg');
    }
  }
  .right {
    .circle {
      background-image: url('/assets/images/icons/chevron_right_white_48dp.svg');
    }
  }
  .circle {
    align-content: center;
    justify-content: center;
  }
  .center {
    flex-grow: 1;
    display: flex;
    justify-items: center;
    justify-content: center;
    text-align: center;
    width: calc(100% - 144px);
    .title {
      color: var(--white);
      text-align: center;
      font-size: 1.125rem;
      font-style: normal;
      font-weight: 700;
      line-height: 22px;
    }
    img {
      max-width: 100%;
      width: auto;
      height: 100%;
      max-height: calc(100vh - 2 * 24px);
      cursor: pointer;
    }
  }
  .close {
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    background: url("~projects/app-root/src/assets/images/icons/close_white_24dp.svg") no-repeat center;
  }
}
@media screen and (max-width: 768px) {
  .item {
    .block {
      flex-direction: column;
      .photo {

      }
    }
  }
}
