/* file: css/featured.css */

/* ==== PAGE SHELL ======================================================= */

body.page-featured {
  /* reuse global vars from base.css */
  background: var(--bg-gradient);
  color: var(--text);
  cursor: auto; /* normal cursor on this page */
}

/* if main.js ever runs here, hide the custom cursor */
body.page-featured .cursor-dot,
body.page-featured .cursor-outline {
  display: none !important;
}

/* main container */
.featured-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.5rem 1.75rem 4rem;
}

/* optional top spacing if you use header here */
.page-header-spacer {
  height: var(--header-h);
}

/* ==== TOP TEXTS ======================================================== */

.page-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.page-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.page-intro {
  max-width: 640px;
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==== BACK LINK ======================================================== */

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #a5b4fc;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.back-link::before {
  content: "← ";
}

.back-link:hover {
  color: #c4b5fd;
  transform: translateX(-2px);
}

/* ==== FEATURED CARDS =================================================== */

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* individual project card */
.featured-card {
  background: var(--card-soft);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem 1.4rem;
}

.featured-card h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.featured-card h2 span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-left: 0.4rem;
}

.featured-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

/* bullet points */
.featured-card ul {
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.featured-card li {
  margin-bottom: 0.25rem;
}

/* small badge row for tech / status */
.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.featured-tag {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
}

/* ==== RESPONSIVE ======================================================= */

@media (max-width: 768px) {
  .featured-main {
    padding: 4.5rem 1.2rem 3.2rem;
  }

  .page-title {
    font-size: 1.8rem;
  }
}
/* allow three cards in the row */
.featured-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* existing big card probably already has something like flex: 2; */
.featured-card {
  flex: 2 1 0;
}

/* legal-style cards (imprint + Oreo Crush) */
.legal-card {
  flex: 1 1 0;
}

/* small flavour tweaks for the Oreo Crush card (optional) */
.oreo-mini-card .legal-title::before {
  content: "🎮 ";
}

.oreo-mini-card .legal-cta {
  white-space: nowrap;
}

