/* CV Page Styles - uses teal palette from styles.css */

/* Hide duplicate page title (already in cv-header) */
h1.title {
  display: none;
}

/* CV Header */
.cv-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--teal);
}

.cv-header h1 {
  display: block !important;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cv-links a {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Download button */
.cv-download {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cv-download .btn-primary {
  background-color: var(--deep-teal) !important;
  border-color: var(--deep-teal) !important;
  color: white !important;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.cv-download .btn-primary:hover {
  background-color: var(--teal) !important;
  border-color: var(--teal) !important;
}

/* Section headers with teal background */
.cv-section {
  color: white !important;
  background-color: var(--teal) !important;
  padding: 0.75rem 1.25rem !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.15rem !important;
}

/* CV Entry blocks */
.cv-entry {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.cv-entry:last-child {
  border-bottom: none;
}

.cv-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cv-institution {
  font-size: 0.9rem;
}

.cv-location {
  color: var(--text-gray);
  font-size: 0.85rem;
  white-space: nowrap;
}

.cv-position {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.cv-title {
  font-size: 0.85rem;
}

.cv-dates {
  color: var(--text-gray);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Bullet details under entries */
.cv-entry ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.cv-entry li {
  font-size: 0.825rem;
  line-height: 1.6;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.cv-entry li::marker {
  color: var(--teal);
}

/* Summary section */
.cv-summary {
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 80ch;
  color: var(--text-dark);
}

/* Publication entries */
.cv-publication {
  font-size: 0.825rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
}

.cv-publication:last-child {
  border-bottom: none;
}

/* Conference venues */
.cv-venues {
  margin-top: 0.25rem;
}

.cv-venues ul {
  padding-left: 1.25rem;
  margin: 0;
}

.cv-venues li {
  font-size: 0.825rem;
  line-height: 1.6;
  margin-bottom: 0.15rem;
}

.cv-venues li::marker {
  color: var(--teal);
}

/* Skills section */
.cv-skills {
  font-size: 0.85rem;
  line-height: 1.7;
}

.cv-skills ul {
  padding-left: 1.25rem;
}

.cv-skills li {
  margin-bottom: 0.35rem;
}

.cv-skills li::marker {
  color: var(--teal);
}

/* H3 subsection headers */
#quarto-document-content .cv-section ~ h3,
.cv-section ~ h3 {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-left: 0;
  border-left: 3px solid var(--teal);
  padding-left: 0.75rem;
}
