/* Speed God's Plan - Custom Institutional Styles */
:root {
  --brand-navy: #163A63;
  --brand-navy-dark: #0F2947;
  --brand-green: #55A630;
  --brand-green-dark: #438624;
  --brand-gold: #F59E0B;
  --brand-gold-dark: #D97706;
  --bg-light: #F8FAFC;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1E293B;
  background-color: #FFFFFF;
}

/* Hero Slider Transitions */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}
.hero-slide img {
  transition: transform 6.5s ease-out;
  transform: scale(1.06);
}
.hero-slide.is-active img {
  transform: scale(1);
}

/* Rich Blog Content Styling */
.prose-sgp h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-sgp h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-sgp p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
  color: #334155;
}
.prose-sgp ul,
.prose-sgp ol {
  margin: 1rem 0 1.25rem 1.5rem;
  line-height: 1.75;
  color: #334155;
}
.prose-sgp ul { list-style: disc; }
.prose-sgp ol { list-style: decimal; }
.prose-sgp blockquote {
  border-left: 4px solid var(--brand-green);
  background: #F0FDF4;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: var(--brand-navy);
}
.prose-sgp a {
  color: var(--brand-green);
  text-decoration: underline;
}

/* Gallery Filter Animation */
.gallery-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item.is-hidden {
  display: none;
}

/* Lightbox Backdrop */
#sgp-lightbox {
  backdrop-filter: blur(6px);
}
