/* Same text-first layout as the home page. No cards or decorative UI. */
body {
  overflow: auto;
  position: static;
}

section.profile {
  width: 100%;
  max-width: 560px;
  margin: 24px auto;
  padding: 24px;
}

.profile h1 {
  font-size: 2em;
}

.profile h2 {
  width: auto;
  margin-top: 24px;
}

.profile p {
  margin: 12px 0;
  line-height: 1.8;
  font-size: 0.95em;
}

.profile .intro {
  margin-top: 8px;
  font-size: 1em;
}

.profile .roles {
  font-size: 0.9em;
  line-height: 1.6;
}

.profile .roles li {
  padding: 3px 0;
}

.profile .projects {
  font-size: 1em;
}

.profile .projects li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 14px;
  padding: 9px 0;
  line-height: 1.7;
}

.profile .server-role {
  color: #555;
  font-size: 0.8em;
  white-space: nowrap;
}

.profile .hosting-note {
  font-size: 0.9em;
}

.profile .project-name,
.profile .qdn-role {
  font-weight: 500;
}

/* The shared blend layer skips positioned headings; keep their theme explicit. */
body.darkmode--activated .profile h1,
body.darkmode--activated .profile h2 {
  color: white;
}

body.darkmode--activated .profile h2 .colored-back {
  color: black;
}

@media (max-width: 480px) {
  section.profile {
    margin: 12px auto;
    padding: 20px;
  }
}
