/**
 * Custom styles for Catalysi Marketing
 * Minimal overrides — most styling comes from DaisyUI + Tailwind
 */

/* Alpine: prevent flash of unstyled content */
[x-cloak] {
  display: none !important;
}

/* HTMX loading indicators */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: inline-block;
}

/* Smooth fade transitions */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* News article body from Markdown */
.c-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--catalysi-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.c-article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--catalysi-navy);
  margin-top: 1.5rem;
}
.c-article p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.c-article ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.c-article a {
  color: var(--color-brand-violet);
  text-decoration: underline;
}

/* Legal pages (Markdown) */
.c-legal h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--catalysi-navy);
  margin-bottom: 1rem;
}
.c-legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--catalysi-purple);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.c-legal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.25rem;
}
.c-legal p,
.c-legal li {
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.c-legal ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.c-legal strong {
  font-weight: 600;
}
