:root {
  --color-primary: #7c19ee;
  --color-secondary: #f2eafd;
  --color-text-dark: #20293a;
  --color-text-gray: #6c727f; /* Adjusted to match design visual better than spec sometimes, but will stick to spec first if possible. Spec says #394150 for Gray */
  --color-bg: #fafaf9; /* Using one of the provided bg options */
  --color-white: #ffffff;
  --color-border: #e5eaf0;

  --font-sora: "Sora", sans-serif;

  --shadow-card: 0px 30px 100px 0px rgba(17, 23, 41, 0.05); /* User provided a specific shadow, let's use that one precisely */
  --shadow-user: 8px 8px 20px 0px rgba(85, 85, 85, 0.08); /* This is the requested one */
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sora);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* Card Component */
.card {
  background-color: var(--color-white);
  border-radius: 16px;
  width: 368px;
  box-shadow: var(--shadow-user);
  padding: 16px; /* Added strict padding */
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  height: 152px;
  border-radius: 12px; /* Inner radius to look good with card radius */
  overflow: hidden;
  margin-bottom: 16px; /* Gap below image */
}

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

.card-content {
  /* Removed padding as it is now on the card */
  display: flex;
  flex-direction: column;
}

/* Tag */
.tag {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-size: 0.625rem; /* 10px */
  font-weight: 600;
  padding: 4px 16px; /* Pill shape */
  border-radius: 999px;
  align-self: flex-start;
  text-transform: capitalize; /* Changed to match "Design" vs UPPERCASE */
  letter-spacing: 0px; /* Reset letter spacing */
  margin-bottom: 16px; /* Gap below tag */
}

/* Title */
.title {
  color: var(--color-text-dark);
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  line-height: 1.3; /* Adjusted line height */
  margin-bottom: 6px; /* Gap below title */
}

/* Description */
.description {
  color: var(--color-text-gray);
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px; /* Gap below description */
}

/* Footer / Author */
.footer {
  padding-top: 20px; /* Space inside footer is NOT spacing guide. The guide shows 20px from text to line? Or description to line? Let's assume margin-bottom on desc is the spacer. */
  border-top: 1px solid var(--color-border);
}

.author {
  font-size: 0.75rem; /* 12px - Small Text */
  color: var(--color-text-gray);
  font-weight: 400;
  /* No margin needed on text itself if container handles it */
}
