:host.touched a {
  background-color: var(--theme-hack-bg-color, #f6f8f9);

  .read {
    background-color: var(--theme-hack-bg-color, #f6f8f9);
  }
}

.event-item {
  cursor: pointer;

  position: relative;

  display: block;

  width: 100%;
  margin-bottom: 10px;

  background: var(--app-bg-color-l1);
  border-radius: 10px;

  &__container {
    overflow: hidden;
    padding: 6px 10px 14px;
  }

  .text {
    overflow: hidden;

    font-size: 11px;
    font-weight: 400;
    color: #60747c;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header {
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--color-gray-222);

    &__container {
      display: flex;
      align-items: center;
      justify-content: space-between;

      width: 100%;
      margin-bottom: 4px;
      padding-top: 5px;
      padding-right: 5px;
      padding-bottom: 0;
    }

    &__name {
      padding-right: 5px;
    }

    &__wrapper-action {
      display: flex;
      align-items: center;
      align-self: flex-start;
    }

    &__modified {
      padding-right: 20px;
      font-size: 12px;
    }

    &__toggle-read {
      width: 7px;
      height: 7px;
      margin-right: 3px;

      background: #3f82d8;
      border-radius: 20px;

      &::before {
        content: '';

        position: absolute;
        top: 0;
        right: 0;

        width: 22px;
        height: 22px;
        margin-right: -3px;
      }

      &:hover {
        outline: 1px solid var(--color-gray-ddd);
        outline-offset: 6px;
      }
    }
  }

  .body {
    display: flex;
    margin-bottom: 15px;
    font-size: 12px;

    &__comments {
      padding: 0 20px 5px;
      font-size: 14px;
      color: black;
    }
  }

  .read {
    visibility: hidden;
    background: #f6f8f9;
    border: none;
    outline: 1px solid var(--color-gray-ddd);
    outline-offset: 6px;

    &:hover {
      outline-offset: 6px;
    }
  }

  &:hover {
    background: #f6f8f9;

    .header__toggle-read {
      visibility: visible;
    }
  }
}
