/* CV Layout Specific Styles */
.cv-header-nav {
  padding: 1rem 0;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #f2f2f2;
}

.cv-header-nav .home-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #2a7ae2;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.cv-header-nav .home-button:hover {
  background-color: #1756a9;
}

.cv-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.4;
}

/* CV Header Section */
.cv-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.cv-header h2 {
  font-size: 1.2rem;
  color: #666;
  font-weight: normal;
  margin-bottom: 1rem;
}

.cv-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cv-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
}

.cv-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.cv-profile-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2a7ae2;
  text-decoration: none;
}

.cv-profile-link:hover {
  text-decoration: underline;
}

/* CV Sections */
.cv-section {
  margin-bottom: 2rem;
}

.cv-section h2 {
  font-size: 1.8rem;
  color: #333;
  border-bottom: 2px solid #2a7ae2;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

.cv-list {
  list-style: none;
  padding: 0;
}

.cv-item {
  margin-bottom: 1.2rem;
  border-left: 3px solid #f0f0f0;
  padding-left: 1.2rem;
}

.cv-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.3rem;
}

.cv-item-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.cv-item-date {
  color: #666;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 1rem;
}

.cv-item-subtitle {
  color: #555;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.cv-item-detail {
  color: #666;
  margin-bottom: 0.3rem;
}

.cv-highlights {
  list-style: disc;
  margin-left: 1.5rem;
  margin-top: 0.3rem;
}

.cv-highlights li {
  margin-bottom: 0.1rem;
  color: #555;
}

/* Skills Section */
.cv-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.cv-skill-category h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.3rem;
}

.cv-skill-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cv-skill-list li {
  background-color: #f8f9fa;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cv-container {
    padding: 0.8rem;
  }
  
  .cv-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cv-item-date {
    margin-left: 0;
    margin-top: 0.25rem;
  }
  
  .cv-contact {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cv-skills {
    grid-template-columns: 1fr;
  }
}

/* CV Download Sections */
.cv-download-header {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.cv-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #2a7ae2;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: 2px solid #2a7ae2;
}

.cv-download-btn:hover {
  background-color: #1756a9;
  border-color: #1756a9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(42, 122, 226, 0.3);
}

.cv-download-footer {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem 0;
  border-top: 2px solid #f0f0f0;
  background-color: #fafafa;
}

.cv-download-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cv-download-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.cv-download-links .btn--primary {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
}

.cv-download-links .btn--primary:hover {
  background-color: #c82333;
  border-color: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.cv-download-links .btn--secondary {
  background-color: #2b7cd6;
  color: white;
  border-color: #2b7cd6;
}

.cv-download-links .btn--secondary:hover {
  background-color: #1f5f99;
  border-color: #1f5f99;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(43, 124, 214, 0.3);
}

.cv-last-updated {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;
}

/* Responsive Design for Download Buttons */
@media (max-width: 768px) {
  .cv-download-links {
    flex-direction: column;
    align-items: center;
  }
  
  .cv-download-links .btn {
    width: 200px;
    justify-content: center;
  }
  
  .cv-download-btn {
    width: 200px;
    justify-content: center;
  }
}
