/* Emmanuel Baptist Church — small custom layer on top of Tailwind + daisyUI.
   Brand colors live in the Tailwind config (base.html); this file handles
   Alpine cloaking and typography for CMS page content. */

[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; }

/* Basic typography for admin-authored page bodies (Tailwind Play CDN doesn't
   ship the typography plugin, so we style .prose minimally ourselves). */
.prose h1, .prose h2, .prose h3 {
  font-family: "Oxygen", system-ui, sans-serif;
  color: #3a454b;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.4em 0 0.5em;
}
.prose h1 { font-size: 1.875rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose p { margin: 0 0 1em; line-height: 1.75; color: #4b5563; }
.prose ul, .prose ol { margin: 0 0 1em 1.25rem; line-height: 1.75; color: #4b5563; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0.25em 0; }
.prose a { color: #1f6fb2; text-decoration: underline; }
.prose a:hover { color: #33bee5; }
.prose blockquote {
  border-left: 4px solid #f5a615;
  padding-left: 1rem;
  color: #6b7280;
  font-style: italic;
  margin: 1em 0;
}
.prose img { border-radius: 0.75rem; margin: 1em 0; }

/* Clamp helper (used on board previews) if Tailwind line-clamp is unavailable */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hero fly-in animation — recreates the original "Revolution Slider" entrance
   where info cards animate into place over the church photo on load. */
@keyframes ebcFlyRight { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes ebcFlyLeft  { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes ebcFadeUp   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.ebc-anim { opacity: 0; animation-duration: .9s; animation-fill-mode: forwards; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
.ebc-fly-right { animation-name: ebcFlyRight; }
.ebc-fly-left  { animation-name: ebcFlyLeft; }
.ebc-fade-up   { animation-name: ebcFadeUp; }
@media (prefers-reduced-motion: reduce) {
  .ebc-anim { animation: none; opacity: 1; }
}

/* FullCalendar tweaks to match the brand */
.fc .fc-button-primary {
  background-color: #1f6fb2;
  border-color: #1f6fb2;
  text-transform: capitalize;
}
.fc .fc-button-primary:hover { background-color: #33bee5; border-color: #33bee5; }
.fc .fc-button-primary:not(:disabled).fc-button-active { background-color: #f5a615; border-color: #f5a615; }
.fc .fc-toolbar-title { color: #3a454b; }
