.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2em;
}

.profile-mainpart {
  max-width: 70vw;
  margin: 0 auto;
  padding: 0 1.5em;
  /* Keeps content left-aligned but centered in the viewport */
}

.profile-thumbnail {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 1em;
}
.profile-image {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 1em;
  margin-left: auto;
  margin-right: auto;
}

h3 {
    text-decoration: underline;
}

section {
    margin-top: 0.5em;
    margin-bottom: 2em;
}

.profile-mainpart ul>li {
  list-style-type: "➛ ";
}
.profile-mainpart ul>li>ul>li {
  /* list-style-type: circle; */
  list-style-type: "» ";
}
.profile-mainpart ul>li>ul>li>ul>li {
  list-style-type: circle;
}

.profile-divider {
  font-size: 2em;
  text-align: center;
  margin: 0.5em 0;
  width: 100%;
  color: #bb90db;
}

.profile-name {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin: 0.2em 0 0.1em 0;
}

.profile-author {
  font-size: 1em;
  color: #888;
  margin-bottom: 1em;
  text-align: center;
}

.profile-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1em 0;
  display: flex;
  flex-direction: row;
  gap: 1.5em;
  justify-content: center;
}

.profile-tags {
  text-align: center;
  margin-bottom: 1em;
  max-width: 80%;
}

.profile-tags span {
  display: inline-block;
  margin: 0 0.2em;
}

.tag {
  position: relative;
  cursor: help;
}

.tag:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 125%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 0.4em 0.8em;
  border-radius: 6px;
  white-space: pre-wrap;
  min-width: 20em;
  font-size: 0.95em;
  z-index: 10;
  opacity: 1;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tag::after {
  opacity: 0;
  transition: opacity 0.2s;
}

ul.profile-highlights>li {
  list-style-type: "    ➛ ";
}


/* For phones (<= 480px wide) */
@media (max-width: 480px) {
  .profile-mainpart {
    max-width: 90vw;
  }
  .profile-thumbnail {
    width: 90%;
  }
  .profile-meta {
    width: 90%;
  }
}