.hero-bg-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.25) 40%, rgba(15, 23, 42, 0.6) 100%);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.portal-prose p + p {
  margin-top: 1rem;
}

/* Rich text written in the CKEditor dashboard form */
.portal-prose h2 { margin: 2rem 0 0.75rem; color: #0f172a; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; font-weight: 700; }
.portal-prose h3 { margin: 1.5rem 0 0.5rem; color: #0f172a; font-size: 1.0625rem; font-weight: 700; }
.portal-prose ul, .portal-prose ol { margin: 1rem 0; padding-left: 1.5rem; }
.portal-prose ul { list-style: disc; }
.portal-prose ol { list-style: decimal; }
.portal-prose a { color: #2563eb; text-decoration: underline; }
.portal-prose img { max-width: 100%; height: auto; border-radius: 0.75rem; }
.portal-prose blockquote { margin: 2rem 0; border-left: 4px solid #2563eb; border-radius: 1rem; background: #eff6ff; padding: 1.25rem 1.5rem; color: #1e293b; font-size: 1.0625rem; font-style: italic; }
.portal-prose table { width: 100%; margin: 1rem 0; border-collapse: collapse; font-size: 0.875rem; }
.portal-prose th, .portal-prose td { border: 1px solid #e2e8f0; padding: 0.5rem 0.75rem; }

details.portal-faq summary {
  list-style: none;
  cursor: pointer;
}

details.portal-faq summary::-webkit-details-marker {
  display: none;
}

details.portal-faq[open] summary .portal-faq__chevron {
  transform: rotate(180deg);
}

.portal-tooltip {
  position: relative;
}

.portal-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: #0f172a;
  color: #fff;
  font-size: 0.6875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.portal-tooltip:hover::after,
.portal-tooltip:focus-visible::after {
  opacity: 1;
}
