/* iRepair — custom utilities & base (self-hosted, no CDN)
 * Loaded alongside the compiled /assets/css/tailwind.css and /assets/fonts/fonts.css
 */
html { scroll-behavior: smooth; }
body { font-family: 'Alexandria', sans-serif; background-color: #ffffff; color: #1f2937; }

/* Elegant scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0b54a5; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #084384; }

/* Glass navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Gradient text + primary gradient */
.text-gradient {
  background: linear-gradient(135deg, #0b54a5, #084384);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-gradient-primary { background: linear-gradient(135deg, #0b54a5, #084384); }

/* Accordion (details/summary) */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* Card hover used on home/repair brand grid */
.brand-card { transition: all 0.3s ease; }
.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Blog prose body (design review + MEDIA-LIBRARY §5): the article body is admin
   RichEditor HTML printed inside .prose-body. Tailwind Preflight strips heading
   sizes, list markers and link styling, so restore readable typography for the
   RTL article column. Accent colours use the themeable --color-primary token
   (set on :root by layouts.app), so links/markers follow an admin recolour. */
.prose-body h2 { font-size: 1.5rem; line-height: 1.4; font-weight: 800; color: #1f2937; }
.prose-body h3 { font-size: 1.25rem; line-height: 1.45; font-weight: 800; color: #1f2937; }
.prose-body h4 { font-size: 1.125rem; line-height: 1.5; font-weight: 700; color: #1f2937; }
.prose-body ul { list-style: disc; padding-inline-start: 1.5rem; }
.prose-body ol { list-style: decimal; padding-inline-start: 1.5rem; }
.prose-body li { margin-bottom: 0.5rem; }
.prose-body li::marker { color: var(--color-primary, #0b54a5); }
.prose-body a { color: var(--color-primary, #0b54a5); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.prose-body blockquote { border-inline-start: 4px solid var(--color-primary, #0b54a5); background: #f8fafc; padding: 1rem 1.25rem; border-radius: 0.75rem; color: #475569; }
.prose-body strong, .prose-body b { font-weight: 800; color: #1f2937; }
.prose-body table { width: 100%; border-collapse: collapse; }
.prose-body th, .prose-body td { border: 1px solid #e5e7eb; padding: 0.625rem 0.875rem; text-align: start; }
.prose-body th { background: #f1f5f9; font-weight: 700; }
.prose-body img { max-width: 100%; height: auto; border-radius: 1rem; }
