Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

2.8 KB
Raw Blame
.stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  --section-bleed: var(--widget-padding, 10px);
  min-width: 0;
}

.sectionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sectionTitle {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hi-text);
}

.header {
  &[data-compact] {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hi-hairline);

    .title {
      font-size: 18px;
      margin-bottom: 4px;
    }

    .meta {
      font-size: 13px;
    }
  }
}

.cover {
  aspect-ratio: 3 / 1;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--hi-radius-lg, 16px);
  background: var(--hi-inset-bg);

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.title {
  margin: 0 0 8px;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  color: var(--hi-text);

  &[data-reserve-close] {
    padding-right: 44px;
  }
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  color: var(--hi-muted);
}

.metaItem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;

  svg {
    flex-shrink: 0;
  }
}

.richText {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hi-text);
  overflow-wrap: anywhere;

  p {
    margin: 0 0 12px;
  }

  img {
    max-width: 100%;
    height: auto;
    border-radius: var(--hi-radius-sm, 10px);
  }

  a {
    color: var(--hi-accent);
  }
}

.spoilerControl {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hi-accent);
}

.card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--hi-border);
  border-radius: var(--hi-radius-lg, 16px);
  background: var(--hi-card-bg);
}

.cardIcon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hi-soft-accent);
  color: var(--hi-accent);
}

.cardBody {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cardTitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--hi-text);
  overflow-wrap: anywhere;
}

.cardText {
  font-size: 13px;
  line-height: 1.5;
  color: var(--hi-muted);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hi-accent);
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

.avatar,
.avatarPlaceholder {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.avatarPlaceholder {
  display: grid;
  place-items: center;
  background: var(--hi-soft-accent-strong);
  color: var(--hi-text);
  font-weight: 700;
}