/* ============================================================
   EXAM NINJAS — Blog Post CSS
   ============================================================ */

.post-page {
  background: var(--gradient-radial);
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.post-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 80px;
  align-items: start;
}

/* ── Breadcrumb ──────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--white-50);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--white-50); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue-primary); }
.breadcrumb span:not(:last-child) { color: var(--white-30, rgba(255,255,255,0.3)); }

/* ── Post Header ──────────────────────────────────── */
.post-header { margin-bottom: 32px; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.post-read-time,
.post-meta time {
  font-size: 0.8rem;
  color: var(--white-50);
}
.post-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}
.post-lead {
  font-size: 1.1rem;
  color: var(--white-70);
  line-height: 1.85;
  margin-bottom: 24px;
}
.post-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-author strong { display: block; font-size: 0.92rem; }
.post-author span   { color: var(--white-50); font-size: 0.8rem; }

/* ── Post Banner ───────────────────────────────────── */
.post-banner {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.87rem;
  color: var(--white-70);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cisco-banner { background: rgba(27,160,226,0.08); border-color: rgba(27,160,226,0.25); }
.post-banner > span { font-size: 0.9rem; font-weight: 700; color: var(--white); white-space: nowrap; }
.post-banner strong { color: var(--white); }

/* ── Post Content ──────────────────────────────────── */
.post-content {
  line-height: 1.85;
  font-size: 1.02rem;
}
.post-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 44px 0 16px;
  padding-top: 4px;
}
.post-content h2:first-child { margin-top: 0; }
.post-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 12px;
}
.post-content p {
  color: var(--white-80, rgba(255,255,255,0.82));
  margin-bottom: 18px;
}
.post-content ul,
.post-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { color: var(--white-70); }
.post-content strong { color: var(--white); }
.post-content a {
  color: var(--blue-primary);
  text-decoration: underline;
  text-decoration-color: rgba(59,130,246,0.4);
  transition: color 0.2s;
}
.post-content a:hover { color: var(--cyan-accent); }

/* Domain Grid */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.domain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  padding: 20px;
}
.domain-pct {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.domain-card h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; }
.domain-card p  { font-size: 0.8rem; color: var(--white-60, rgba(255,255,255,0.6)); margin: 0; line-height: 1.55; }

/* Study Plan */
.study-plan {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
}
.study-week {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--white-70);
  border-bottom: 1px solid var(--white-10);
  line-height: 1.6;
}
.study-week:last-child { border-bottom: none; }
.study-week strong { color: var(--cyan-accent); }

/* Callouts */
.post-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 0.93rem;
  line-height: 1.7;
}
.post-callout > span { font-size: 1.5rem; flex-shrink: 0; }
.post-callout p { color: var(--white-80, rgba(255,255,255,0.82)); margin: 0; }
.post-callout strong { color: var(--white); }
.post-callout-blue { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); }
.post-callout-gold { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25); flex-direction: column; }
.post-callout-gold > span { align-self: flex-start; }

/* ── Post Footer ──────────────────────────────────── */
.post-footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--white-10);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--white-50);
}
.post-tag {
  padding: 4px 14px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--white-70);
  transition: var(--transition);
}
.post-tag:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.post-cta { align-self: flex-start; }

/* ── Sidebar ──────────────────────────────────────── */
.post-sidebar {
  position: sticky;
  top: 100px;
}
.post-sidebar .card { padding: 24px; }
.post-sidebar h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0; }
.sidebar-link {
  display: block;
  color: var(--blue-primary);
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--white-10);
  transition: var(--transition);
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--cyan-accent); padding-left: 4px; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .post-container { grid-template-columns: 1fr; }
  .post-sidebar   { position: static; }
}
@media (max-width: 640px) {
  .domain-grid { grid-template-columns: 1fr; }
  .post-banner { flex-direction: column; gap: 10px; }
}
