/* ==========================================================================
   ELITEPRESSLINE EDITOR STYLES
   Styles for the Gutenberg block editor
   ========================================================================== */

.editor-styles-wrapper {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #1A1A1A;
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.editor-styles-wrapper h1 { font-size: 2.5rem; }
.editor-styles-wrapper h2 { font-size: 1.875rem; margin-top: 2rem; }
.editor-styles-wrapper h3 { font-size: 1.5rem; margin-top: 1.5rem; }
.editor-styles-wrapper h4 { font-size: 1.25rem; }

.editor-styles-wrapper p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.editor-styles-wrapper a {
  color: #E63946;
}

.editor-styles-wrapper blockquote {
  border-left: 4px solid #E63946;
  padding: 1.5rem 2rem;
  background-color: #f7f7f8;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #555;
}

.editor-styles-wrapper code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  background-color: #eeeef0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.editor-styles-wrapper pre {
  background-color: #1e1e2e;
  color: #e0e0e8;
  padding: 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
}

.editor-styles-wrapper img {
  border-radius: 10px;
}

.editor-styles-wrapper table {
  border-collapse: collapse;
  width: 100%;
}

.editor-styles-wrapper th,
.editor-styles-wrapper td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e5e7;
  text-align: left;
}

.editor-styles-wrapper th {
  font-weight: 600;
  background-color: #f7f7f8;
}

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

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

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

/* Comments section styles in the frontend */
.ep-comments__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e7;
}

.ep-comments__list {
  list-style: none;
  padding: 0;
}

.ep-comment {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f2;
}

.ep-comment:last-child {
  border-bottom: none;
}

.ep-comment__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ep-comment__author {
  font-weight: 600;
  font-size: 0.875rem;
}

.ep-comment__author a {
  color: #1A1A1A;
}

.ep-comment__author a:hover {
  color: #E63946;
}

.ep-comment__date {
  font-size: 0.75rem;
  color: #888;
}

.ep-comment__content {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #555;
}

.ep-comment__content p:last-child {
  margin-bottom: 0;
}

.ep-comment__actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
}

.ep-comment__actions a {
  color: #888;
  text-decoration: none;
  font-weight: 500;
}

.ep-comment__actions a:hover {
  color: #E63946;
}

.ep-comment__moderation {
  background-color: #fff3cd;
  color: #856404;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.ep-comment .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1rem;
  border-left: 2px solid #f0f0f2;
}

/* Comment Form */
.ep-comment-form__title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.ep-comment-form .ep-comment-form__field {
  margin-bottom: 1rem;
}

.ep-comment-form .ep-comment-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: #555;
}

.ep-comment-form .comment-form-author,
.ep-comment-form .comment-form-email,
.ep-comment-form .comment-form-url {
  margin-bottom: 1rem;
}

.ep-comment-form .comment-form-author label,
.ep-comment-form .comment-form-email label,
.ep-comment-form .comment-form-url label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: #555;
}

.ep-comment-form .comment-form-author input,
.ep-comment-form .comment-form-email input,
.ep-comment-form .comment-form-url input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #e5e5e7;
  border-radius: 10px;
  outline: none;
  transition: border-color 150ms ease;
  font-family: 'Inter', system-ui, sans-serif;
}

.ep-comment-form .comment-form-author input:focus,
.ep-comment-form .comment-form-email input:focus,
.ep-comment-form .comment-form-url input:focus,
.ep-comment-form .ep-input:focus {
  border-color: #E63946;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.ep-comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 1rem;
}

.ep-comments__nav {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f2;
}

.ep-comments__nav a {
  color: #E63946;
  font-weight: 500;
  font-size: 0.875rem;
}

.ep-comments__closed {
  color: #888;
  font-style: italic;
  text-align: center;
  padding: 2rem 0;
}

/* Dark mode comment overrides */
[data-theme="dark"] .ep-comment__author a { color: #e8e8e8; }
[data-theme="dark"] .ep-comment { border-bottom-color: #2a2a2a; }
[data-theme="dark"] .ep-comment .children { border-left-color: #2a2a2a; }
[data-theme="dark"] .ep-comment__content { color: #a0a0a0; }
[data-theme="dark"] .ep-comment__moderation { background-color: #332b00; color: #ffd60a; }
[data-theme="dark"] .ep-comments__title { border-bottom-color: #2a2a2a; }
