/* css styles */

/* Widen the content area in Jolla template */
.quarto-about-jolla {
  max-width: 900px;
  margin: 0 auto;
}

/* Left-align the main content below the profile header */
.quarto-about-jolla main.content {
  text-align: left;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Improved list styling */
.quarto-about-jolla main.content ul {
  list-style: none; /* Remove default bullets */
  padding-left: 0;
  margin-top: 1rem;
}

.quarto-about-jolla main.content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  line-height: 1.6;
}

/* Custom bullet: a small refined circle */
.quarto-about-jolla main.content ul li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.65rem; /* Center vertically with text */
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--bs-primary); /* brand primary (from _brand.yml) */
  border-radius: 50%;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Subtle hover effect on the bullet */
.quarto-about-jolla main.content ul li:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

/* Nested list styling */
.quarto-about-jolla main.content ul ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.quarto-about-jolla main.content ul ul li::before {
  background-color: transparent;
  border: 1.5px solid var(--bs-primary);
  width: 0.4rem;
  height: 0.4rem;
  top: 0.7rem;
}

/* Section headings alignment */
.quarto-about-jolla main.content h2,
.quarto-about-jolla main.content h3 {
  text-align: left;
}

/* Always show the section anchor link icon (not just on hover) */
.quarto-about-jolla main.content .anchorjs-link {
  opacity: 0.4;
  transition: opacity 0.2s ease;
  margin-left: 0.35rem;
}

.quarto-about-jolla main.content h2:hover .anchorjs-link,
.quarto-about-jolla main.content h3:hover .anchorjs-link,
.quarto-about-jolla main.content .anchorjs-link:hover {
  opacity: 1;
}

/* Make heading text itself a self-anchor link, keeping the heading's color */
.heading-self-link,
.heading-self-link:hover,
.heading-self-link:focus {
  color: inherit;
  text-decoration: none;
}

.heading-self-link:hover {
  text-decoration: underline;
}
