/* CV section styling to match about.md */
.cv-container {
  margin: 1.5em 0 2em 0;
}

.section-heading {
  position: relative;
  margin: 2em 0 1.2em 0;
  font-size: 1.8em;
  font-weight: 700;
  color: var(--site-body-text);
  padding-bottom: 0.3em;
}

.section-heading span {
  background: var(--site-heading-bg);
  padding-right: 15px;
  position: relative;
  z-index: 1;
}

.section-heading:after {
  content: "";
  position: absolute;
  bottom: 0.4em;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--site-accent), transparent);
  z-index: 0;
}

.cv-download {
  background: var(--site-card-bg);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  border: 1px solid var(--site-border);
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.cv-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99,41,145,0.12);
}

.cv-download p {
  margin: 0;
  font-size: 1.1em;
  color: var(--site-secondary-text);
}

.cv-download a {
  color: var(--site-accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border-bottom: 1px dotted var(--site-accent);
  padding-bottom: 1px;
}

.cv-download a:hover {
  color: var(--site-accent-hover);
  border-bottom: 1px solid var(--site-accent-hover);
}

.pdf-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-bottom: 40px;
  background: var(--site-embed-bg);
  padding: 2px;
  border: 1px solid var(--site-embed-border);
  position: relative;
}

.pdf-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--site-accent), #9e65d6);
  z-index: 10;
}

.pdf-container iframe {
  display: block;
  border: 0;
  background: var(--site-card-bg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cv-download {
    padding: 15px;
  }

  .pdf-container {
    margin-bottom: 30px;
  }

  .pdf-container iframe {
    height: 500px;
  }
}

@media (max-width: 480px) {
  .pdf-container iframe {
    height: 400px;
  }
}
