/* ===== Prisolis Home (Clean Minimal Override) ===== */
#welcomeMsg {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1.25rem 1.5rem !important;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
}

/* Headings */
#welcomeMsg > h1 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
  margin: 0 0 .75rem;
}
#welcomeMsg h2 {
  font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.9rem);
  margin: 0 0 .5rem;
  font-weight: 700;
}
#welcomeMsg h3 {
  margin: 1.4rem 0 .5rem;
  font-size: clamp(1.05rem, .95rem + .6vw, 1.3rem);
  font-weight: 600;
  opacity: .9;
}

/* Paragraphs */
#welcomeMsg p {
  max-width: 78ch;
  margin: .6rem auto;
  line-height: 1.6;
}

/* General list cleanup */
#welcomeMsg ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: .5rem auto;
  max-width: 72ch;
  display: grid;
  gap: .35rem;
}
#welcomeMsg ul li {
  background: none !important;
  border: none !important;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#welcomeMsg ul li strong { font-weight: 600; }

/* --- Special alignment for "What We Offer" list --- */
#welcomeMsg h3:has(+ ul) + ul li {
  display: grid;
  grid-template-columns: minmax(12ch, 18ch) 1fr; /* label | description */
  column-gap: .75rem;
  align-items: baseline;
  padding: .35rem 0;
}
#welcomeMsg h3:has(+ ul) + ul li > strong {
  justify-self: end;
  font-weight: 700;
  white-space: nowrap;
}

/* Special case: Philosophy section icons aligned */
#welcomeMsg h3:contains("Philosophy") + ul li {
  display: grid;
  grid-template-columns: 1.5em auto; /* icon column + text */
  gap: 0.5rem;
  align-items: start;
}

/* Mobile: stack label above text */
@media (max-width: 560px) {
  #welcomeMsg h3:has(+ ul) + ul li {
    grid-template-columns: 1fr;
  }
  #welcomeMsg h3:has(+ ul) + ul li > strong {
    justify-self: start;
    margin-bottom: .1rem;
  }
}

/* Button */
#btnServers {
  margin: 1.25rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.2rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  transition: background .2s ease, border-color .2s ease;
}
#btnServers:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}
#btnServers:active {
  background: rgba(255,255,255,.15);
}

/* Subtle hover underline for links inside welcome section */
#welcomeMsg a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
#welcomeMsg a:hover { border-color: currentColor; }

/* Signature spacing */
#welcomeMsg p strong:last-child {
  display: inline-block;
  margin-top: .75rem;
}

/* Small screens */
@media (max-width: 540px) {
  #welcomeMsg { padding: 1rem; }
}

/* ===== Our Philosophy section: single-line centered list ===== */
#welcomeMsg h3 + ul + h3 + ul {
  list-style: none;
  margin: 1.5rem auto;
  padding: 0;
  text-align: center;
}

#welcomeMsg h3 + ul + h3 + ul li {
  display: block;
  margin: 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 500;
}

#welcomeMsg h3 + ul + h3 + ul li::before {
  content: "";
  display: none; /* remove any leftover bullet markers */
}
