/* ===== Main content area ===== */
.about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.8rem 1.8rem;
  flex-grow: 1;
  text-align: center;
  user-select: text;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #d4af37;
  text-shadow: 0 0 18px #b98f1b;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-align: center;
}

h2, h3 {
  text-align: center;
  color: #d4af37;
  margin: 0.5rem 0;
}

.birthdate {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #d4af37;
}

section {
  line-height: 1.8;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: #e9e4d4;
  padding: 0 1.8rem;
  text-align: start;
  user-select: text;
  direction: inherit;
}

section h4 {
  color: #f5a623;
  margin-top: 1.8rem;
  font-size: clamp(1.3rem, 2vw, 1.5rem);
}

ul {
  padding-left: 1.8rem;
  list-style: disc;
  direction: inherit;
}

/* ===== About photo ===== */
.about-photo {
  display: block;
  max-width: 270px;
  height: auto;
  margin: 2rem auto;
  border-radius: 16px;
  box-shadow: 0 0 50px #d4af37;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}

.about-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 75px #f5a623;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-container {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
  }

  .about-photo {
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  .about-container {
    padding: 1.2rem 1rem 2rem 1rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  .about-photo {
    max-width: 160px;
  }
}

@media (max-width: 400px) {
  .about-photo {
    max-width: clamp(120px, 40vw, 180px);
  }
}
