/* ═══════════════════════════════════
   Gutenberg editor styles — mirrors front-end post-content.css
═══════════════════════════════════ */

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  color: #374151;
  line-height: 1.8;
}

.editor-styles-wrapper .wp-block {
  max-width: 720px;
}

.editor-styles-wrapper .wp-block[data-align="wide"] {
  max-width: 1100px;
}

.editor-styles-wrapper .wp-block[data-align="full"] {
  max-width: none;
}

/* Headings */
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4 {
  font-family: 'Be Vietnam Pro', 'Inter', system-ui, sans-serif;
  color: #111827;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.editor-styles-wrapper h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; }
.editor-styles-wrapper h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.editor-styles-wrapper h4 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; }

/* Paragraph */
.editor-styles-wrapper p {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 24px;
}

/* Lists */
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
  padding-left: 0;
  margin-bottom: 24px;
  list-style: none;
}
.editor-styles-wrapper ul li,
.editor-styles-wrapper ol li {
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}
.editor-styles-wrapper ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
}
.editor-styles-wrapper ol { counter-reset: elora-ol; }
.editor-styles-wrapper ol li { counter-increment: elora-ol; }
.editor-styles-wrapper ol li::before {
  content: counter(elora-ol) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
  font-weight: 600;
  color: #d1d5db;
  line-height: 1.8;
}

/* Blockquote */
.editor-styles-wrapper blockquote,
.editor-styles-wrapper .wp-block-quote {
  border-left: 3px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-style: italic;
  color: #374151;
  font-size: 18px;
  line-height: 1.8;
}
.editor-styles-wrapper .wp-block-quote p { margin: 0; font-style: italic; }
.editor-styles-wrapper .wp-block-quote cite,
.editor-styles-wrapper .wp-block-quote footer {
  display: block;
  font-size: 13px;
  color: #9ca3af;
  font-style: normal;
  margin-top: 8px;
}

/* Images */
.editor-styles-wrapper .wp-block-image img,
.editor-styles-wrapper .wp-block-media-text img,
.editor-styles-wrapper img {
  border-radius: 16px;
}
.editor-styles-wrapper .wp-block-image {
  margin: 32px 0;
}
.editor-styles-wrapper .wp-block-image figcaption,
.editor-styles-wrapper figcaption {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
  margin-top: 10px;
}

/* Code */
.editor-styles-wrapper pre,
.editor-styles-wrapper .wp-block-code {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 20px;
  font-size: 14px;
  overflow-x: auto;
  margin-bottom: 24px;
}
.editor-styles-wrapper code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 15px;
}

/* Table */
.editor-styles-wrapper .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 24px;
}
.editor-styles-wrapper .wp-block-table th,
.editor-styles-wrapper .wp-block-table td {
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  text-align: left;
}
.editor-styles-wrapper .wp-block-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #111827;
}

/* Buttons */
.editor-styles-wrapper .wp-block-button__link {
  background: #8B5CF6;
  color: #fff;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.editor-styles-wrapper .wp-block-button__link:hover { background: #6366F1; }

/* Separator */
.editor-styles-wrapper .wp-block-separator {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 36px 0;
}

/* Columns */
.editor-styles-wrapper .wp-block-columns {
  gap: 24px;
  margin-bottom: 24px;
}

/* Embed / video */
.editor-styles-wrapper .wp-block-embed {
  margin-bottom: 24px;
}
.editor-styles-wrapper .wp-block-embed__wrapper {
  border-radius: 12px;
  overflow: hidden;
}

/* Pullquote */
.editor-styles-wrapper .wp-block-pullquote {
  border-top: 3px solid #8B5CF6;
  border-bottom: 3px solid #8B5CF6;
  padding: 24px 0;
  text-align: center;
  margin: 36px 0;
}
.editor-styles-wrapper .wp-block-pullquote blockquote p {
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
