/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* ============================================
   Turbo Progress Bar
   ============================================ */

.turbo-progress-bar {
  background-color: #2d5a27;
}

/* ============================================
   Custom Quill Editor Styling
   ============================================ */

/* Modern Toolbar Styling */
.ql-toolbar.ql-snow {
  background: #F5F0EB;
  border: 1px solid rgba(139, 155, 123, 0.3);
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 12px;
  border-bottom: 2px solid rgba(139, 155, 123, 0.2);
}

.dark .ql-toolbar.ql-snow {
  background: #192619;
  border-color: rgba(200, 230, 74, 0.08);
  border-bottom-color: rgba(200, 230, 74, 0.06);
}

/* Toolbar Button Styling */
.ql-toolbar.ql-snow .ql-stroke {
  stroke: #4a5a3a;
}

.dark .ql-toolbar.ql-snow .ql-stroke {
  stroke: #9aaa8a;
}

.ql-toolbar.ql-snow .ql-fill {
  fill: #4a5a3a;
}

.dark .ql-toolbar.ql-snow .ql-fill {
  fill: #9aaa8a;
}

/* Hover state for toolbar buttons */
.ql-toolbar.ql-snow button:hover,
.ql-toolbar.ql-snow button:focus {
  background: rgba(139, 155, 123, 0.15);
  border-radius: 4px;
}

.dark .ql-toolbar.ql-snow button:hover,
.dark .ql-toolbar.ql-snow button:focus {
  background: rgba(200, 230, 74, 0.1);
}

/* Active state for toolbar buttons */
.ql-toolbar.ql-snow button.ql-active {
  background: rgba(26, 46, 26, 0.1);
  border-radius: 4px;
}

.dark .ql-toolbar.ql-snow button.ql-active {
  background: rgba(200, 230, 74, 0.15);
}

.ql-toolbar.ql-snow button.ql-active .ql-stroke {
  stroke: #1A2E1A;
}

.dark .ql-toolbar.ql-snow button.ql-active .ql-stroke {
  stroke: #C8E64A;
}

.ql-toolbar.ql-snow button.ql-active .ql-fill {
  fill: #1A2E1A;
}

.dark .ql-toolbar.ql-snow button.ql-active .ql-fill {
  fill: #C8E64A;
}

/* Dropdown Styling */
.ql-toolbar.ql-snow .ql-picker-label {
  color: #4a5a3a;
  border: 1px solid rgba(139, 155, 123, 0.3);
  border-radius: 4px;
  padding: 4px 8px;
}

.dark .ql-toolbar.ql-snow .ql-picker-label {
  color: #e8ece4;
  border-color: rgba(200, 230, 74, 0.08);
}

.ql-toolbar.ql-snow .ql-picker-label:hover {
  background: rgba(139, 155, 123, 0.15);
}

.dark .ql-toolbar.ql-snow .ql-picker-label:hover {
  background: rgba(200, 230, 74, 0.1);
}

/* Dropdown options */
.ql-toolbar.ql-snow .ql-picker-options {
  background: #ffffff;
  border: 1px solid rgba(139, 155, 123, 0.2);
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(26, 46, 26, 0.1), 0 2px 4px -1px rgba(26, 46, 26, 0.06);
  padding: 4px;
}

.dark .ql-toolbar.ql-snow .ql-picker-options {
  background: #1f2e1f;
  border-color: rgba(200, 230, 74, 0.08);
}

.ql-toolbar.ql-snow .ql-picker-item {
  color: #4a5a3a;
  border-radius: 4px;
  padding: 6px 12px;
}

.dark .ql-toolbar.ql-snow .ql-picker-item {
  color: #e8ece4;
}

.ql-toolbar.ql-snow .ql-picker-item:hover {
  background: rgba(26, 46, 26, 0.08);
}

.dark .ql-toolbar.ql-snow .ql-picker-item:hover {
  background: rgba(200, 230, 74, 0.1);
}

/* Editor Container Styling */
.ql-container.ql-snow {
  background: #ffffff;
  border: 1px solid rgba(139, 155, 123, 0.3);
  border-radius: 0 0 0.5rem 0.5rem;
  border-top: none;
}

.dark .ql-container.ql-snow {
  background: #1f2e1f;
  border-color: rgba(200, 230, 74, 0.08);
}

/* Editor Content Area */
.ql-editor {
  font-size: 15px;
  line-height: 1.6;
  min-height: 200px;
  padding: 16px;
  color: #1A2E1A;
}

.dark .ql-editor {
  color: #e8ece4;
}

/* Placeholder styling */
.ql-editor.ql-blank::before {
  color: #8B9B7B;
  font-style: italic;
  font-size: 14px;
}

.dark .ql-editor.ql-blank::before {
  color: #6b7280;
}

/* Focus state */
.quill-editor-container:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  border-color: #3b82f6;
}

.dark .quill-editor-container:focus-within {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  border-color: #60a5fa;
}

/* Content Typography */
.ql-editor h1,
.ql-editor h2,
.ql-editor h3,
.ql-editor h4,
.ql-editor h5,
.ql-editor h6 {
  font-weight: 600;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.ql-editor h1 { font-size: 2em; }
.ql-editor h2 { font-size: 1.5em; }
.ql-editor h3 { font-size: 1.25em; }
.ql-editor h4 { font-size: 1.1em; }

.ql-editor p {
  margin-bottom: 0.75em;
}

.ql-editor ul,
.ql-editor ol {
  padding-left: 1.5em;
  margin-bottom: 0.75em;
}

.ql-editor blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1em;
  margin-left: 0;
  margin-bottom: 0.75em;
  color: #6b7280;
  font-style: italic;
}

.dark .ql-editor blockquote {
  border-left-color: #60a5fa;
  color: #9ca3af;
}

.ql-editor code,
.ql-editor pre {
  background: #f3f4f6;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.dark .ql-editor code,
.dark .ql-editor pre {
  background: #1f2937;
}

.ql-editor pre {
  padding: 12px;
  display: block;
  margin-bottom: 0.75em;
  overflow-x: auto;
}

.ql-editor a {
  color: #2563eb;
  text-decoration: underline;
}

.dark .ql-editor a {
  color: #60a5fa;
}

/* Tooltip styling */
.ql-tooltip {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: #f9fafb;
  padding: 8px 12px;
}

.ql-tooltip input {
  background: #374151;
  border: 1px solid #4b5563;
  border-radius: 4px;
  color: #f9fafb;
  padding: 6px 10px;
}

.ql-tooltip input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.ql-tooltip .ql-action,
.ql-tooltip .ql-remove {
  color: #60a5fa;
}

.ql-tooltip .ql-action:hover,
.ql-tooltip .ql-remove:hover {
  color: #93c5fd;
}

/* Scrollbar styling for editor */
.ql-editor::-webkit-scrollbar {
  width: 8px;
}

.ql-editor::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.dark .ql-editor::-webkit-scrollbar-track {
  background: #1f2937;
}

.ql-editor::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.dark .ql-editor::-webkit-scrollbar-thumb {
  background: #4b5563;
}

.ql-editor::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.dark .ql-editor::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* Animation for editor container */
.quill-editor-container {
  transition: all 0.2s ease-in-out;
}

/* ============================================
   Compact view mode overrides
   ============================================ */

/* Grid: tighter gaps */
.compact {
  gap: 0.375rem !important;
}

/* Hide elements in compact mode */
.compact .compact-hidden {
  display: none !important;
}

/* Reduced padding on cards */
.compact .compact-padding {
  padding: 0.5rem 0.625rem !important;
}

/* Smaller text */
.compact .compact-text-sm {
  font-size: 0.8125rem !important;
  line-height: 1.125rem !important;
}

/* Compact gaps and margins (for inner elements) */
.compact .compact-gap-2 {
  gap: 0.25rem !important;
}

.compact .compact-mb-2 {
  margin-bottom: 0.25rem !important;
}

/* Force more columns in compact mode */
@media (min-width: 768px) {
  .compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1024px) {
  .compact {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1280px) {
  .compact {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1536px) {
  .compact {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

/* Remove rounded corners and shadows in compact mode */
.compact > * {
  border-radius: 0.375rem !important;
  box-shadow: none !important;
}

/* Reduce internal spacing in cards */
.compact .mb-4,
.compact .mb-3 {
  margin-bottom: 0.25rem !important;
}

.compact .gap-4,
.compact .gap-2 {
  gap: 0.25rem !important;
}

/* Smaller buttons in compact mode */
.compact .flex.gap-2 a {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.75rem !important;
}

.compact .flex.gap-2 svg {
  width: 0.875rem !important;
  height: 0.875rem !important;
}

/* Status indicators smaller */
.compact .absolute.top-3.right-3 {
  top: 0.375rem !important;
  right: 0.375rem !important;
}

.compact .absolute.top-3.right-3 .w-5 {
  width: 1rem !important;
  height: 1rem !important;
}

.compact .absolute.top-3.right-3 .w-3 {
  width: 0.5rem !important;
  height: 0.5rem !important;
}

/* Collapse center alignment to left-aligned in compact */
.compact .flex-col.items-center.text-center {
  align-items: flex-start !important;
  text-align: left !important;
}

/* Compact toggle button active state */
button[data-active="true"] {
  background-color: rgb(59 130 246 / 0.1);
  color: rgb(59 130 246);
}

.dark button[data-active="true"] {
  background-color: rgb(59 130 246 / 0.2);
  color: rgb(96 165 250);
}

/* ============================================
   PWA Standalone Mode
   ============================================ */

@media (display-mode: standalone) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    overscroll-behavior-y: contain;
  }
}

/* ============================================
   Prose — Forest-styled rich text content
   ============================================ */

.prose-forest {
  color: #4a5a3a;
  line-height: 1.75;
  font-size: 1rem;
}

.prose-forest h1, .prose-forest h2, .prose-forest h3, .prose-forest h4 {
  color: #1A2E1A;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose-forest h1 { font-size: 1.5rem; }
.prose-forest h2 { font-size: 1.25rem; }
.prose-forest h3 { font-size: 1.125rem; }

.prose-forest p { margin-bottom: 1em; }

.prose-forest ul, .prose-forest ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

.prose-forest ul { list-style-type: disc; }
.prose-forest ol { list-style-type: decimal; }

.prose-forest li { margin-bottom: 0.25em; }

.prose-forest a {
  color: #1A2E1A;
  text-decoration: underline;
}

.prose-forest a:hover { color: #2d5a27; }

.prose-forest strong { color: #1A2E1A; font-weight: 600; }

.prose-forest blockquote {
  border-left: 3px solid #8B9B7B;
  padding-left: 1em;
  color: #6b7b5b;
  font-style: italic;
  margin: 1em 0;
}

.dark .prose-forest { color: #9aaa8a; }
.dark .prose-forest h1, .dark .prose-forest h2, .dark .prose-forest h3, .dark .prose-forest h4 { color: #e8ece4; }
.dark .prose-forest a { color: #C8E64A; }
.dark .prose-forest a:hover { color: #d4f05a; }
.dark .prose-forest strong { color: #e8ece4; }
.dark .prose-forest blockquote { border-color: rgba(200, 230, 74, 0.2); color: #607060; }

/* ============================================
   Custom Checkbox — Forest Theme
   ============================================ */

input[type="checkbox"]:not(.toggle-input) {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid #8B9B7B;
  border-radius: 0.25rem;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

input[type="checkbox"]:not(.toggle-input):checked {
  background-color: #1A2E1A;
  border-color: #1A2E1A;
}

input[type="checkbox"]:not(.toggle-input):checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #C8E64A;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:not(.toggle-input):focus-visible {
  outline: 2px solid #C8E64A;
  outline-offset: 2px;
}

.dark input[type="checkbox"]:not(.toggle-input) {
  border-color: rgba(200, 230, 74, 0.2);
  background-color: #1f2e1f;
}

.dark input[type="checkbox"]:not(.toggle-input):checked {
  background-color: #C8E64A;
  border-color: #C8E64A;
}

.dark input[type="checkbox"]:not(.toggle-input):checked::after {
  border-color: #1A2E1A;
}

/* ============================================
   Wiki Mention Autocomplete Dropdown
   ============================================ */

.wiki-mention-dropdown {
  position: absolute;
  z-index: 50;
  min-width: 250px;
  max-width: 400px;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  background-color: #ffffff;
  border: 1px solid #d1d5db;
}

.dark .wiki-mention-dropdown {
  background-color: #1e293b;
  border-color: #334155;
}

.wiki-mention-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #1f2937;
}

.dark .wiki-mention-item {
  color: #e2e8f0;
}

.wiki-mention-item.wiki-mention-active,
.wiki-mention-item:hover {
  background-color: #f3f4f6;
}

.dark .wiki-mention-item.wiki-mention-active,
.dark .wiki-mention-item:hover {
  background-color: #334155;
}

.wiki-mention-titel {
  font-weight: 500;
}

.wiki-mention-bereich {
  font-size: 0.75rem;
  color: #6b7280;
}

.dark .wiki-mention-bereich {
  color: #94a3b8;
}

/* ============================================
   Online Presence Indicator
   ============================================ */

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   Blog Content Prose Styles
   ============================================ */

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content p:last-child {
  margin-bottom: 0;
}

.blog-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d5a3d;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2d5a3d;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2d5a3d;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-content a {
  color: #e87040;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-content a:hover {
  color: #c85a30;
}

.blog-content strong {
  color: #2d5a3d;
  font-weight: 600;
}

.blog-content em {
  font-style: italic;
}

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

.blog-content ul li {
  margin-bottom: 0.5rem;
}

.blog-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-content ol li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  border-left: 4px solid #6b8f71;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: #f7faf5;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #3a5a3a;
}

.blog-content pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.blog-content code {
  background-color: #f0f4e8;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.blog-content pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

/* Dark mode */
.dark .blog-content h2,
.dark .blog-content h3,
.dark .blog-content h4 {
  color: #e8f0e0;
}

.dark .blog-content strong {
  color: #e8f0e0;
}

.dark .blog-content a:hover {
  color: #C8E64A;
}

.dark .blog-content blockquote {
  background-color: #1a2e1a;
  border-left-color: #4a6b50;
  color: #b0c8a0;
}

.dark .blog-content code {
  background-color: #1f2e1f;
}

.dark .blog-content li {
  color: #b0c8a0;
}

.blog-content hr {
  border: none;
  border-top: 1px solid #d4ddd0;
  margin: 2.5rem 0;
}

.dark .blog-content hr {
  border-top-color: #2a3e2a;
}

/* ============================================
   Blog: Stat Grid
   ============================================ */

.blog-content .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f7faf5;
  border-radius: 0.75rem;
  border: 1px solid #d4ddd0;
  text-align: center;
}

.dark .blog-content .stat-grid {
  background-color: #1a2e1a;
  border-color: #2a3e2a;
}

.blog-content .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #2d5a3d;
  line-height: 1.2;
}

.dark .blog-content .stat-number {
  color: #C8E64A;
}

.blog-content .stat-label {
  display: block;
  font-size: 0.75rem;
  color: #6b8f71;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.dark .blog-content .stat-label {
  color: #8aaa80;
}

.blog-content .stat-subtext {
  text-align: center;
  font-size: 0.875rem;
  color: #6b8f71;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

.dark .blog-content .stat-subtext {
  color: #8aaa80;
}

/* ============================================
   Blog: Interview Q&A
   ============================================ */

.blog-content .interview-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #3a5a3a;
  padding: 1.5rem;
  background-color: #f7faf5;
  border-radius: 0.75rem;
  border-left: 4px solid #6b8f71;
  margin-bottom: 2rem;
}

.dark .blog-content .interview-intro {
  background-color: #1a2e1a;
  border-left-color: #4a6b50;
  color: #b0c8a0;
}

.blog-content .interview-qa {
  margin-bottom: 1.5rem;
}

.blog-content .interview-qa dt {
  font-weight: 600;
  font-size: 0.9rem;
  color: #6b8f71;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid #d4ddd0;
}

.dark .blog-content .interview-qa dt {
  color: #8aaa80;
  border-left-color: #2a3e2a;
}

.blog-content .interview-qa dd {
  margin-left: 0;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  line-height: 1.8;
}

/* ============================================
   Blog: Pull Quote
   ============================================ */

.blog-content .pull-quote {
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  background-color: #2d5a3d;
  border-radius: 0.75rem;
  text-align: center;
}

.dark .blog-content .pull-quote {
  background-color: #1a2e1a;
  border: 1px solid #2a3e2a;
}

.blog-content .pull-quote p {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.dark .blog-content .pull-quote p {
  color: #C8E64A;
}

.blog-content .pull-quote-author {
  display: block;
  font-size: 0.85rem;
  color: #a0c8a0;
}

.dark .blog-content .pull-quote-author {
  color: #8aaa80;
}

/* ============================================
   Blog: Case Study Elements
   ============================================ */

.blog-content .subtitle {
  font-size: 1.15rem;
  color: #6b6b6b;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}

.dark .blog-content .subtitle {
  color: #8aaa80;
}

.blog-content .meta-bar {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid #d4ddd0;
  border-bottom: 1px solid #d4ddd0;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.dark .blog-content .meta-bar {
  border-color: #2a3e2a;
}

.blog-content .meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-content .meta-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b8f71;
}

.blog-content .meta-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2d5a3d;
}

.dark .blog-content .meta-value {
  color: #e8f0e0;
}

.blog-content .stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: #d4ddd0;
  border: 1px solid #d4ddd0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.dark .blog-content .stats-strip {
  background: #2a3e2a;
  border-color: #2a3e2a;
}

.blog-content .stat-cell {
  background: #ffffff;
  padding: 1.25rem 1rem;
  text-align: center;
}

.dark .blog-content .stat-cell {
  background: #1a2e1a;
}

.blog-content .stat-cell .stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #2d5a3d;
  margin-bottom: 0.25rem;
  display: block;
}

.dark .blog-content .stat-cell .stat-number {
  color: #C8E64A;
}

.blog-content .stat-cell .stat-desc {
  font-size: 0.8rem;
  color: #6b8f71;
  line-height: 1.4;
}

.dark .blog-content .stat-cell .stat-desc {
  color: #8aaa80;
}

.blog-content .section-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #6b8f71;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.dark .blog-content .section-num {
  color: #8aaa80;
}

.blog-content .quote-block {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: #f7faf5;
  border-left: 3px solid #2d5a3d;
  border-radius: 0 6px 6px 0;
}

.dark .blog-content .quote-block {
  background: #1a2e1a;
  border-left-color: #4a6b50;
}

.blog-content .quote-block p {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.dark .blog-content .quote-block p {
  color: #e8f0e0;
}

.blog-content .quote-block .attribution {
  font-style: normal;
  font-size: 0.8rem;
  color: #6b8f71;
  font-weight: 500;
}

.dark .blog-content .quote-block .attribution {
  color: #8aaa80;
}

.blog-content .comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #d4ddd0;
  border: 1px solid #d4ddd0;
  border-radius: 6px;
  overflow: hidden;
  margin: 2rem 0;
}

.dark .blog-content .comparison {
  background: #2a3e2a;
  border-color: #2a3e2a;
}

.blog-content .comparison-col {
  background: #ffffff;
  padding: 1.25rem;
}

.dark .blog-content .comparison-col {
  background: #1a2e1a;
}

.blog-content .comparison-col h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: #6b8f71;
}

.blog-content .comparison-col.before h3 { color: #b91c1c; }
.blog-content .comparison-col.after h3 { color: #2d5a3d; }
.dark .blog-content .comparison-col.after h3 { color: #C8E64A; }
.dark .blog-content .comparison-col.before h3 { color: #f87171; }

.blog-content .comparison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-content .comparison-col ul li {
  font-size: 0.875rem;
  line-height: 1.55;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0f4e8;
}

.dark .blog-content .comparison-col ul li {
  border-bottom-color: #2a3e2a;
}

.blog-content .comparison-col ul li:last-child { border-bottom: none; }

.blog-content .comparison-col.before ul li::before {
  content: "\2715\00a0";
  color: #b91c1c;
  font-weight: 600;
}

.blog-content .comparison-col.after ul li::before {
  content: "\2713\00a0";
  color: #2d5a3d;
  font-weight: 600;
}

.dark .blog-content .comparison-col.after ul li::before {
  color: #C8E64A;
}

.blog-content .feature-callout {
  background: #ffffff;
  border: 1px solid #d4ddd0;
  border-radius: 6px;
  padding: 1.25rem;
  margin: 2rem 0;
}

.dark .blog-content .feature-callout {
  background: #1a2e1a;
  border-color: #2a3e2a;
}

.blog-content .feature-callout-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b8f71;
  margin-bottom: 0.75rem;
}

.blog-content .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.blog-content .feature-tag {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  background: #f7faf5;
  border-radius: 4px;
  text-align: center;
  color: #2d5a3d;
}

.dark .blog-content .feature-tag {
  background: #1f2e1f;
  color: #C8E64A;
}

.blog-content .transparency-note {
  margin-top: 3rem;
  padding: 1.25rem;
  background: #f7faf5;
  border: 1px solid #d4ddd0;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #6b8f71;
}

.dark .blog-content .transparency-note {
  background: #1a2e1a;
  border-color: #2a3e2a;
  color: #8aaa80;
}

.blog-content .transparency-note strong {
  color: #3a5a3a;
}

.dark .blog-content .transparency-note strong {
  color: #b0c8a0;
}

@media (max-width: 640px) {
  .blog-content .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-content .pull-quote {
    padding: 1.5rem;
  }

  .blog-content .pull-quote p {
    font-size: 1.1rem;
  }

  .blog-content .comparison {
    grid-template-columns: 1fr;
  }

  .blog-content .feature-grid {
    grid-template-columns: 1fr;
  }

  .blog-content .meta-bar {
    gap: 1.25rem;
  }

  .blog-content .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
}
