/* Advoke CV — Resume example display
   Styles a sample resume in a paper-like frame on example pages. */

.resume-example {
  max-width: 820px;
  margin: var(--space-6) auto;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
}
@media (min-width: 700px) { .resume-example { padding: var(--space-7) var(--space-8); } }

.resume-example .rx-header {
  border-bottom: 2px solid var(--color-navy);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-5);
}
.resume-example .rx-name {
  font-family: inherit;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  line-height: 1.15;
}
.resume-example .rx-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0 0 var(--space-3);
}
.resume-example .rx-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.8125rem;
  color: var(--color-muted);
  list-style: none;
  padding: 0;
  margin: 0;
}
.resume-example .rx-contact li:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: #CBD5E1;
}

.resume-example .rx-section {
  margin-bottom: var(--space-5);
}
.resume-example .rx-section:last-child { margin-bottom: 0; }
.resume-example .rx-section-title {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 6px;
  margin: 0 0 var(--space-3);
}

.resume-example .rx-entry {
  margin-bottom: var(--space-4);
}
.resume-example .rx-entry:last-child { margin-bottom: 0; }
.resume-example .rx-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.resume-example .rx-entry-title {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  line-height: 1.3;
}
.resume-example .rx-entry-subtitle {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted);
  margin: 0 0 2px;
}
.resume-example .rx-entry-dates {
  font-size: 0.8125rem;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.resume-example .rx-bullets {
  margin: var(--space-2) 0 0 var(--space-4);
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.resume-example .rx-bullets li {
  margin-bottom: 3px;
  list-style: disc;
}
.resume-example .rx-bullets li::marker { color: var(--color-primary); }
.resume-example .rx-summary {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.resume-example .rx-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.resume-example .rx-skills li {
  font-size: 0.8125rem;
  padding: 3px 8px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 4px;
  color: var(--color-primary-dark);
  font-weight: 500;
}

/* Annotation callouts */
.annotation {
  max-width: 820px;
  margin: var(--space-5) auto;
  background: #FFFBEB;
  border-left: 4px solid #D97706;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.annotation .annotation-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #92400E;
  margin-bottom: var(--space-2);
}
.annotation p { margin: 0 0 var(--space-2); }
.annotation p:last-child { margin-bottom: 0; }

/* Section headings on example pages */
.example-section {
  max-width: 820px;
  margin: var(--space-7) auto 0;
}
.example-section h2 {
  font-size: 1.375rem;
  margin-bottom: var(--space-4);
  color: var(--color-navy);
}
.example-section h3 {
  font-size: 1.0625rem;
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}
.example-section p { margin-bottom: var(--space-3); line-height: 1.7; color: var(--color-text); }
.example-section ul, .example-section ol { margin: 0 0 var(--space-3) var(--space-5); }
.example-section li { margin-bottom: var(--space-2); line-height: 1.65; }

/* Related links */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-card {
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.related-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.related-card .related-tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.related-card a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.4;
  display: block;
}
.related-card a:hover { color: var(--color-primary); }

@media print {
  .annotation, .site-header, .site-footer, .breadcrumb, .related-grid { display: none; }
  .resume-example { box-shadow: none; border: 0; padding: 0; max-width: none; }
}