/* public/css/style.css - Global Core Styles */
:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --dark: #111827;
  --gray-bg: #f9fafb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #111827;
  margin: 0;
  padding: 0;
}

/* Typography & Layout */
.page-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 64px 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header Specific Utilities */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
}

.nav-link {
  color: #4b5563;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #111827;
}

/* Legal & Policy Page Typography */
.legal-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  color: #111827;
}

.legal-content .meta {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.legal-content p,
.legal-content li {
  font-size: 0.975rem;
  line-height: 1.65;
  color: #374151;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.site-footer {
  margin-top: 64px;
  padding-top: 32px;
  padding-bottom: 40px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  width: 100%;
}

.site-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  font-weight: 500;
}

.site-footer-links a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-links a:hover {
  color: #111827;
}
/* Header Brand Logo Custom Height */
.brand-header-logo {
  height: 56px !important; /* Increase to 60px or 64px for an even tighter fit */
  width: auto;
  object-fit: contain;
}
/* Dashboard Post Editor HTML Article Body Formatting */
.article-body-editor,
.article-body-preview {
  line-height: 1.7;
  font-size: 0.95rem;
}

.article-body-editor p,
.article-body-preview p {
  margin-bottom: 1.25rem !important;
  display: block;
}

.article-body-editor h1,
.article-body-editor h2,
.article-body-editor h3,
.article-body-preview h1,
.article-body-preview h2,
.article-body-preview h3 {
  font-weight: 800 !important;
  margin-top: 1.75rem !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.3 !important;
}

.article-body-editor h2,
.article-body-preview h2 {
  font-size: 1.35rem !important;
  padding-bottom: 0.3rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.article-body-editor h3,
.article-body-preview h3 {
  font-size: 1.15rem !important;
}

.article-body-editor ul,
.article-body-preview ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1.25rem !important;
}

.article-body-editor ol,
.article-body-preview ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1.25rem !important;
}

.article-body-editor li,
.article-body-preview li {
  margin-bottom: 0.4rem !important;
}
/* Prevent clicking into the text to type */
.ql-editor[contenteditable="true"] {
    pointer-events: none;
    outline: none;
}

/* Re-enable clicking for any actual links inside the description */
.ql-editor a {
    pointer-events: auto;
}

/* Completely hide the leaked Quill toolbars and hidden inputs */
.ql-clipboard, .ql-tooltip {
    display: none !important;
}
