/* ═══════════════════════════════════════
   CRI Osimo — Custom CSS
   Antigravity Design System
═══════════════════════════════════════ */

/* Prose styles per CKEditor content */
.prose img {
  border-radius: 1rem;
}

/* Line clamp utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ED1C24; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #C1111A; }

/* Antigravity card hover */
.card-float {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-float:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.15);
}

/* CKEditor content styles */
.ck-content h2 { font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; color: #ED1C24; text-transform: lowercase; }
.ck-content h3 { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: #333; }
.ck-content p  { font-family: 'Open Sans', sans-serif; font-size: 1.125rem; line-height: 1.6; color: #333; margin-bottom: 1.5rem; }
.ck-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.ck-content li { margin-bottom: 0.75rem; color: #333; font-family: 'Open Sans', sans-serif; }

/* Selected importo button */
.importo-btn.selected {
  border-color: #EE1C25 !important;
  background: rgba(238,28,37,0.05) !important;
}

/* Hero slide transition */
.hero-slide {
  transition: opacity 1s ease-in-out;
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, #EE1C25, #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
