/* About Page Styles */
.left-column {
  text-align: left;
}

/* The width of the second column. */
.profile-image {
  display: block;
  margin-top: var(--space-lg);
  width: 100%;
  height: auto;
  view-transition-name: hero-image; /* Morph from home-page hover preview into this image */
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
}

.about-content {
  line-height: 1.8;
}

.about-text h2 {
  font-family: var(--font-style-title-family);
  font-size: var(--font-style-title-size);
  font-weight: var(--font-style-title-weight);
  color: var(--font-style-title-color);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.about-text p {
  font-family: var(--font-style-body-primary-family);
  font-size: var(--font-style-body-primary-size);
  font-weight: var(--font-style-body-primary-weight);
  color: var(--font-style-body-primary-color);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Experience entries */
.experience-entry, .education-entry {
  display: block;
  margin: var(--space-lg) 0;
}


.experience-details h3, .education-details h3 {
  font-family: var(--font-style-body-primary-family);
  font-size: var(--font-style-body-primary-size);
  font-weight: var(--font-style-title-weight);
  color: var(--font-style-body-primary-color);
  margin-top: 0;
  margin-bottom: var(--space-xs);
}

.company, .institution {
  font-family: var(--font-style-body-secondary-family);
  font-size: var(--font-style-body-secondary-size);
  font-weight: var(--font-style-body-secondary-weight);
  color: var(--font-style-body-secondary-color);
  margin-bottom: var(--space-sm);
}

/* Responsive adjustments */
@media (max-width: 699px) {
  .profile-image {
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .experience-entry, .education-entry {
    flex-direction: column;
  }
  
  .experience-date, .education-date {
    margin-bottom: var(--space-xs);
  }
}
