/* ============================================================
   OmniResume — Resume Examples
   ============================================================ */

.examples-hero {
  padding-block: var(--space-12) var(--space-6);
  background:
    radial-gradient(900px 400px at 30% 0%, rgba(31, 111, 235, 0.08), transparent 60%),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.examples-hero__title {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-text);
  margin-block: var(--space-4) var(--space-3);
}

.examples-hero__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}

.examples-list {
  padding-block: var(--space-10) var(--space-16);
}

.examples-industry {
  margin-bottom: var(--space-10);
}

.examples-industry__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

/* ---- Example preview stage ---- */
.example-preview {
  padding-block: var(--space-8) var(--space-10);
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
}

.example-preview__stage {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.example-preview__page {
  width: 100%;
  max-width: 720px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow:
    0 30px 60px -20px rgba(15, 23, 42, 0.28),
    0 10px 20px -10px rgba(15, 23, 42, 0.15);
  padding: var(--space-10) var(--space-8);
  color: #0F172A;
}

/* ---- Sample resume content ---- */
.example-resume {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.55;
  color: #0F172A;
}

.example-resume__header {
  padding-bottom: var(--space-4);
  border-bottom: 2px solid #1F6FEB;
  margin-bottom: var(--space-5);
}

.example-resume__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin: 0 0 2px;
}

.example-resume__title {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  margin: 0 0 8px;
}

.example-resume__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 11.5px;
  color: #475569;
}

.example-resume__section {
  margin-bottom: var(--space-4);
}

.example-resume__section-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1F6FEB;
  padding-bottom: 4px;
  border-bottom: 1px solid #1F6FEB;
  margin: 0 0 8px;
}

.example-resume__entry {
  margin-bottom: 12px;
}
.example-resume__entry:last-child { margin-bottom: 0; }

.example-resume__entry-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 2px;
}

.example-resume__role {
  font-size: 12.5px;
  font-weight: 600;
  color: #0F172A;
}

.example-resume__company {
  font-size: 11.5px;
  color: #475569;
}

.example-resume__dates {
  font-size: 10.5px;
  color: #64748B;
  white-space: nowrap;
}

.example-resume__bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: 11.5px;
  color: #334155;
  line-height: 1.55;
}

.example-resume__bullets li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 2px;
}

.example-resume__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1F6FEB;
}

.example-resume__desc {
  font-size: 11.5px;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

.example-resume__skills {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.example-resume__skill-group {
  display: flex;
  gap: 6px;
  font-size: 11.5px;
}

.example-resume__skill-label {
  font-weight: 600;
  color: #0F172A;
  min-width: 76px;
  flex-shrink: 0;
  text-transform: capitalize;
}

.example-resume__inline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 11.5px;
  color: #334155;
}

.example-resume__inline-list li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 2px;
  line-height: 1.5;
}

.example-resume__inline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1F6FEB;
}

/* ---- Article body ---- */
.example-body {
  padding-block: var(--space-12) var(--space-16);
}

.example-missing {
  padding: var(--space-16) var(--space-4);
  text-align: center;
  color: var(--color-text-muted);
}

.example-section {
  margin-bottom: var(--space-10);
  max-width: 72ch;
}

.example-section__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

.example-section p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ---- Stats ---- */
.example-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .example-stats { grid-template-columns: repeat(3, 1fr); }
}

.example-stats__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 4px;
}

.example-stats__value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

/* ---- Guide ---- */
.example-guide {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.example-guide__heading {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

/* ---- Skills ---- */
.example-skills {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.example-skills__group h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-3);
}

.example-skills__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.example-skills__chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

/* ---- FAQ ---- */
.example-faq {
  max-width: 72ch;
  margin-bottom: var(--space-10);
}

/* ---- Related templates ---- */
.example-related {
  margin-bottom: var(--space-10);
}

.example-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

@media (min-width: 640px) {
  .example-related__grid { grid-template-columns: repeat(5, 1fr); }
}

.example-related__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
  transition: transform 120ms ease;
}

.example-related__card:hover { transform: translateY(-2px); color: inherit; }

.example-related__thumb {
  aspect-ratio: 210 / 297;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.example-related__thumb::before {
  content: "";
  position: absolute;
  inset: 12% 12% auto 12%;
  height: 6px;
  background: var(--color-brand-500);
  border-radius: 3px;
}

.example-related__thumb::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 30%;
  top: 26%;
  bottom: 12%;
  background: linear-gradient(to bottom, #E2E8F0 0 2px, transparent 2px 14px);
  background-size: 100% 14px;
}

.example-related__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  text-transform: capitalize;
}

/* ---- Final CTA ---- */
.example-cta {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-inline: auto;
}

.example-cta p {
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .example-preview__page {
    padding: var(--space-6) var(--space-5);
  }
  .example-resume { font-size: 11.5px; }
  .example-resume__name { font-size: 20px; }
  .example-resume__entry-head { flex-direction: column; gap: 2px; }
  .example-resume__dates { white-space: normal; }
  .example-resume__skill-group { flex-direction: column; gap: 2px; }
}