/* CV page uses your theme variables from style.css */

.cv-page {
  min-height: 70vh;
}

.cv-hero {
  padding: 1.4rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

body[data-theme="dark"] .cv-hero {
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.cv-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cv-name {
  margin-bottom: 0.25rem;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
}

.cv-title {
  margin-bottom: 0.25rem;
  color: var(--text-muted-main);
}

.cv-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted-main);
}

.cv-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cv-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cv-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(148, 163, 184, 0.08);
}

.cv-contact-item i {
  color: var(--zm-accent);
}

.cv-section {
  padding: 1.1rem 1.2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body[data-theme="dark"] .cv-section {
  background: rgba(15, 23, 42, 0.6);
}

.cv-h2 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cv-h3 {
  font-size: 1rem;
  margin: 0;
}

.cv-muted {
  color: var(--text-muted-main);
  font-size: 0.9rem;
}

.cv-role + .cv-role {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.cv-role-meta {
  color: var(--text-muted-main);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.cv-bullets {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted-main);
}

.cv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cv-chip {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(239, 246, 255, 0.8);
  font-size: 0.85rem;
}

body[data-theme="dark"] .cv-chip {
  background: rgba(37, 99, 235, 0.15);
}

/* Print-friendly */
@media print {
  .site-header,
  .footer-section,
  .cv-actions,
  .cv-footer {
    display: none !important;
  }
  .section-light {
    background: #fff !important;
  }
  .cv-section,
  .cv-hero {
    box-shadow: none !important;
  }
}
