/* ============================================================
   NYU ALUMNI STORIES — BLOG STYLES
   Shared by the blog landing page and individual post pages.
   ============================================================ */

/* ── POST HERO (landing + articles) ────────────────────────── */

.post-hero {
  background: linear-gradient(150deg, var(--nyu-violet-deep) 0%, var(--nyu-black) 60%);
  color: var(--nyu-white);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.post-hero::after {
  content: 'NYU';
  position: absolute;
  right: -0.05em;
  top: -0.2em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(9rem, 18vw, 18rem);
  color: rgba(255,255,255,0.08);
  -webkit-text-stroke: 2px rgba(255,255,255,0.16);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.post-hero .container { position: relative; z-index: 1; }

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-6);
}

.post-breadcrumb a { color: rgba(255,255,255,0.75); }
.post-breadcrumb a:hover { color: var(--nyu-white); }

.post-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200,140,255,0.85);
  margin-bottom: var(--space-5);
}

.post-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

.post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 850px;
}

.post-hero h1 em { font-style: italic; color: #C084E8; }

.post-hero-sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 680px;
  line-height: 1.7;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-6);
}

.post-meta .meta-sep { color: rgba(255,255,255,0.3); }

/* ── ARTICLE BODY TYPOGRAPHY ────────────────────────────────── */

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-16) var(--container-pad) var(--space-24);
}

.post-body > p:first-child { font-size: var(--text-lg); color: var(--text-secondary); }

.post-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: var(--space-12) 0 var(--space-4);
  scroll-margin-top: var(--space-16);
}

.post-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: var(--space-8) 0 var(--space-3);
}

.post-body p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.post-body ul,
.post-body ol {
  margin: 0 0 var(--space-5);
  padding-left: 1.4em;
  color: var(--text-secondary);
  line-height: 1.8;
}

.post-body li { margin-bottom: var(--space-2); }
.post-body li::marker { color: var(--nyu-violet); }

.post-body strong { color: var(--text-primary); font-weight: 600; }

.post-body a {
  color: var(--nyu-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body a:hover { color: var(--nyu-violet-dark); }

.post-table-wrap {
  overflow-x: auto;
  margin: 0 0 var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--bg-card);
}

.post-table th,
.post-table td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.post-table th {
  background: var(--nyu-violet-pale);
  color: var(--nyu-violet-dark);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.post-table tr:last-child td { border-bottom: none; }

.post-callout {
  background: var(--nyu-violet-tint);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--nyu-violet);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin: 0 0 var(--space-8);
  color: var(--text-secondary);
}
.post-callout p:last-child { margin-bottom: 0; }

/* FAQ */

.post-faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) 0;
}
.post-faq-item:first-of-type { border-top: 1px solid var(--border); }

.post-faq-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}

.post-faq-item p {
  margin-bottom: 0;
  font-size: var(--text-base);
}

/* Tags row reused from theme.css .tag */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-8) 0;
}

/* CTA box */
.post-cta {
  background: var(--nyu-violet-tint);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin: var(--space-10) 0;
}
.post-cta h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.post-cta p {
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
}

.post-disclaimer {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  margin-top: var(--space-10);
  line-height: 1.7;
}

.post-footer {
  background: var(--nyu-black);
  color: rgba(255,255,255,0.5);
  padding: var(--space-8) 0;
  font-size: var(--text-sm);
}
.post-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.post-back-link { color: rgba(255,255,255,0.6); transition: color var(--duration) var(--ease); }
.post-back-link:hover { color: var(--nyu-white); }

/* ── BLOG LANDING PAGE ───────────────────────────────────────── */

.blog-list {
  padding: var(--space-16) 0 var(--space-24);
}

.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.blog-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.blog-post-card-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nyu-violet);
  background: var(--nyu-violet-tint);
  border-radius: var(--radius-full);
  padding: 0.2em 0.7em;
  align-self: flex-start;
}

.blog-post-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}

.blog-post-card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-post-card-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: auto;
  padding-top: var(--space-2);
}

.blog-empty-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-8);
}
