.post-excerpt-container {
  container-type: inline-size;
}

.post-excerpt {
  display: flex;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: var(--rounded);
  background: var(--surface);
  overflow: hidden;
  box-shadow: none;
  transition: border-color var(--transition), background var(--transition);
}

.post-excerpt:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--primary-soft);
  background: var(--surface-alt);
}

.post-excerpt-image {
  position: relative;
  width: 200px;
  flex-shrink: 0;
  background: var(--surface-alt);
}

.post-excerpt-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-excerpt-text {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 18px;
  text-align: left;
}

.post-excerpt-text > * {
  margin: 0 !important;
}

.post-excerpt-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.post-excerpt-header > a {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--heading);
  font-size: 1.08rem;
  font-weight: var(--bold);
  text-decoration: none;
}

.post-featured-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  background: color-mix(in srgb, var(--primary) 18%, var(--surface-alt));
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: lowercase;
}

.post-excerpt-text > div:not(.post-excerpt-header) {
  justify-content: flex-start;
}

.post-excerpt-body {
  width: 100%;
}

.post-excerpt-body > * {
  margin: 0;
}

@container (max-width: 800px) {
  .post-excerpt {
    flex-direction: column;
  }
  .post-excerpt-image {
    width: unset;
    height: 200px;
  }
}

/*# sourceMappingURL=post-excerpt.css.map */