.university-event-teaser {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  background-color: #FFF;
}

.university-event-teaser__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.university-event-teaser__author {
  min-width: 0;
}

.university-event-teaser__author .user--compact .user__name:hover {
  overflow: hidden;
}

.university-event-teaser__creation-time {
  color: #8F8F8F;
  flex: 1 0 auto;
}

.university-event-teaser__creation-time.mobile {
  display: none;
}

.university-event-teaser__contextual {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.university-event-teaser__title {
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  color: #363636;
  --link-color: #363636;
  margin-bottom: 0;
}

.university-event-teaser__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.university-event-teaser__description {
  font-size: 18px;
  line-height: 28px;
}

.university-event-teaser__tags {
  display: flex;
  gap: 16px;
}

.university-event-teaser__tag {
  border-radius: 16px;
  border: 1px solid #E5E5E5;
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 3px;
  padding-left: 12px;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #363636;
}

.university-event-teaser__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
}

.university-event-teaser__sila-union-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  padding-right: 10px;
  padding-left: 10px;
  gap: 10px;
  background: #2060A5;
  font-size: 16px;
  line-height: 32px;
  color: #FFF;
}

.university-event-teaser__created-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 32px;
  color: #676767;
}

.university-event-teaser__poster img {
  width: 100%;
}

.university-event-teaser__footer {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: -6px;
}

/* Comment. */
.university-event-teaser__comments-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #8f8f8f;
}

.university-event-teaser__comments-link:hover {
  color: #2060a5;
  text-decoration: none;
}

.university-event-teaser__comments-link svg {
  flex-shrink: 0;
}

.university-event-teaser__comments-link:hover svg path {
  stroke: #2060a5;
}

.university-event-teaser__comments-link .icon-comment {
  display: flex;
  place-content: center;
  background: var(--like-icon);
  background-repeat: no-repeat;
  background-position: center;
  width: 32px;
  height: 32px;
  transition: 0.2s;
  border-radius: 32px;
}

.university-event-teaser__comments-link:hover .icon-comment {
  filter: saturate(1) opacity(1);
  background-color: rgba(32, 96, 165, 0.16);
}

.university-event-teaser__comments-link-count {
  white-space: nowrap;
  font-size: 14px;
  line-height: 24px;
}

/* Delete. */
.university-event-delete.confirmation .form-actions {
  justify-content: right;
  flex-direction: row-reverse;
}

.university-event-delete.confirmation .form-actions .button {
  min-width: 148px;
  max-width: 100%;
  justify-content: center;
}

.ui-dialog .ui-dialog-content .university-event-delete.confirmation .form-actions {
  margin-top: 24px;
}

@media (max-width: 575.98px) {
  .university-event-teaser__metadata {
    flex-flow: column;
    align-items: stretch;
    gap: 0;
  }

  .university-event-teaser__creation-time {
    display: none;
  }

  .university-event-teaser__creation-time.mobile {
    display: block;
    padding-left: calc(32px + 0.4em);
    font-size: 0.875em;
  }
}
