/* ── CV sections ── */
.cv-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e4e3d7;
}

.section-title {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1b1c15;
  margin-bottom: 1.5rem;
  border-left: 3px solid #56642b;
  padding-left: 0.75rem;
}

.section-subsection {
  margin-bottom: 2rem;
}

/* ── Job entries ── */
.job-department {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: #1b1c15;
  margin-bottom: 0.4rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: #53433c;
  font-size: 0.875rem;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.job-description {
  color: #53433c;
  line-height: 1.75;
}

.job-description ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.job-description li {
  margin-bottom: 0.3rem;
}

/* ── Profile summary ── */
.profile-summary {
  color: #53433c;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.profile-summary a {
  color: #8e4d27;
}

/* ── Skills ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 0.25rem;
}

.skill-category h4 {
  font-weight: 600;
  color: #1b1c15;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.skill-category p {
  font-size: 0.875rem;
  color: #53433c;
  line-height: 1.65;
  margin-bottom: 0.25rem;
}

/* ── Education ── */
.education-item {
  margin-bottom: 1.5rem;
}

.degree-title {
  font-weight: 600;
  color: #1b1c15;
}

.institution {
  color: #53433c;
  font-size: 0.9rem;
}

/* ── CV request / download ── */
.cv-request-section {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.cv-request-text {
  color: #53433c;
  margin-bottom: 1rem;
}

.download-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #8e4d27;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 0.875rem;
}

.download-btn:hover {
  background: #713612;
}

.download-btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ── Products / Portfolio ── */
.products-toc {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.products-toc ul {
  list-style: none;
  padding: 0;
}

.products-toc li {
  margin-bottom: 0.5rem;
}

.products-toc a {
  color: #8e4d27;
  text-decoration: none;
}

.products-toc a:hover {
  text-decoration: underline;
}

.toc-period {
  color: #86736a;
  font-size: 0.875rem;
}

.product-entry {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e4e3d7;
}

.product-title {
  font-family: 'Newsreader', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1b1c15;
  margin-bottom: 0.25rem;
}

.product-period {
  color: #86736a;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.product-content {
  color: #53433c;
  line-height: 1.75;
}

.product-content h3 {
  font-family: 'Newsreader', serif;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1b1c15;
}

.product-content p {
  margin-bottom: 0.75rem;
}

.product-content figure {
  margin: 1.5rem 0;
  text-align: center;
}

.product-content figcaption {
  font-size: 0.8rem;
  color: #86736a;
  margin-top: 0.4rem;
}

/* ── CV description rendered Markdown ── */
.cv-description p {
  margin-bottom: 1.25em;
}
