/* ==================== */
/* === SEMINAR LIST === */

.seminar-list {
  display: block;
}

.seminar-list__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(0, 22rem));
  justify-content: center;
}
.seminar-list__grid.-with-title {
  padding-top: 60px;
}
.seminar-list__grid.-with-text {
  padding-top: 5rem;
}

.seminar-item {
  position: relative;
  max-width: 100%;
  width: 22rem;
  /* min-height: 25rem; */
  display: flex;
  flex-direction: column;
  overflow: hidden;

  font-size: 1.25rem;

  box-shadow: 2px 4px 0.625rem rgba(0,0,0,0.1);
}
.seminar-item__header,
.seminar-item__description,
.seminar-item__infolines {
  padding: 1rem 1.5rem;
}

.seminar-item__image {
  width: 100%;
  /* height: auto; */
  height: 8.8rem;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center center;
}

.seminar-item__format {
  position: absolute;
  top: 0;
  right: 0;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  color: #404040;
  /* font-size: 1.125rem; */
  font-size: 1rem;

  width: max-content;
  background-color: #f6f5f4;
  border-top-right-radius: inherit;
  line-height: 1.1;
}
.seminar-item__format-info {
  display: flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
}
.seminar-item__format-icon {
  /* width: 20px;
  height: 20px; */
  width: 18px;
  height: 18px;
  filter: invert(100%) sepia() brightness(0.3);
}

.seminar-item__header {
  height: min-content;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.seminar-item__image + .seminar-item__header {
  padding-top: 1.5rem;
  padding-bottom: 0rem;
}
.seminar-item__image + .seminar-item__header + .seminar-item__description {
  padding-top: 0.75rem;
}
.seminar-item__header:first-child {
  min-height: 5.3rem;
  background-color: var(--bg-color, transparent);
  padding-bottom: 1rem;
}
.seminar-item__title {
  font-size: 1.375rem;
  line-height: 1.2;
}

.seminar-item__description {
  height: 100%;
}

.seminar-item__infolines {
  list-style: none;
  margin-bottom: 0;
  padding-top: 0.25rem;
}
.seminar-item__infoline {
  padding: 0.5rem 0;
}
.seminar-item__infoline.-bordered {
  border-top: 1px solid #ECEBE9;
  font-size: 1.15rem;
}
.seminar-item__infoline.-bordered:last-child {
  border-bottom: 1px solid #ECEBE9;
}

.seminar-item__date {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.125rem;
}

.seminar-item__footer {
  display: flex;
  align-items: flex-end;
}

.seminar-item__link,
.seminar-item__linkplaceholder {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0.75rem;
  padding-top: 0.5rem;
  width: 100%;
  height: 4.2rem;
  display: flex;
  align-items: end;
}
.seminar-item__link {
  font-weight: 600;
  text-decoration-thickness: 1px;
}
.seminar-item__linkplaceholder {
  line-height: 1.3;
}
.seminar-item__icon {
  max-height: 1rem;
  display: block;
  align-self: center;
  justify-self: center;
}

.seminar-item__pricetag {
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.8);
  padding-right: 2rem;
  padding-left: 1.75rem;
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
  border-top-left-radius: 1rem;
  text-align: center;
}
.seminar-item__price {
  white-space: nowrap;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.1em;
}
.seminar-item__vat {
  white-space: nowrap;
  font-size: 0.9rem;
}
