/* =================================
   ABOUT PAGE STYLES
   ================================= */

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

/* Profile Section */
.profile-section {
  display: flex;
  max-width: 900px;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.profile-img {
  width: clamp(8rem, 20vw, 11.375rem);
  height: clamp(8rem, 20vw, 11.375rem);
  border-radius: 50%;
  background-image: url('../images/mario.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.profile-text {
  flex: 1;
  min-width: 280px;
}

.profile-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: bold;
  margin-bottom: 1.25rem;
  color: #333;
  line-height: 1.2;
  word-wrap: break-word;
}

.profile-description {
  font-size: clamp(.95rem, 2.5vw, 1rem);
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Content Sections */
.content-section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.25rem, 3vw, 1.375rem);
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
  word-wrap: break-word;
}

.section-text {
  font-size: clamp(.95rem, 2.5vw, 1rem);
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

/* Mobile-specific styles */
@media(max-width: 768px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .profile-img {
    align-self: center;
  }

  .profile-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

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

@media (max-width: 480px) {
  .about-content {
    padding: 2rem 1rem;
  }

  .profile-section {
    gap: 1.25rem;
  }

  .content-section {
    margin-bottom: 1.5rem;
  }
}