/* Rich text typography for txt_create_store block.
   Scoped to .create-store__main-text so block-level tags (ul/ol/h*/blockquote)
   are styled even when the WYSIWYG breaks out of the wrapping <p>. */

/* Restore bottom padding — dist add.css sets padding: 88rem 0 0 88rem (bottom=0).
   Using .wrapper.create-store for higher specificity than the dist rule. */
.wrapper.create-store {
  padding-bottom: 88rem;
}


.create-store__text {
  color: var(--main-text, #151515);
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 16px;
}

.create-store__text:last-child {
  margin-bottom: 0;
}

.create-store__main-text a,
.create-store__text a {
  color: var(--accent, #07a04a);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.create-store__main-text a:hover,
.create-store__text a:hover {
  color: var(--main-text, #151515);
}

.create-store__main-text strong,
.create-store__main-text b,
.create-store__text strong,
.create-store__text b {
  font-weight: 600;
  color: var(--main-text, #151515);
}

.create-store__main-text em,
.create-store__main-text i,
.create-store__text em,
.create-store__text i {
  font-style: italic;
}

.create-store__main-text ul,
.create-store__main-text ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: var(--main-text, #151515);
  font-size: 16px;
  line-height: 24px;
}

.create-store__main-text ul {
  list-style: disc;
}

.create-store__main-text ol {
  list-style: decimal;
}

.create-store__main-text li {
  margin-bottom: 8px;
}

.create-store__main-text li:last-child {
  margin-bottom: 0;
}

.create-store__main-text li::marker {
  color: var(--accent, #07a04a);
}

.create-store__main-text h2,
.create-store__main-text h3,
.create-store__main-text h4,
.create-store__main-text h5,
.create-store__main-text h6 {
  color: var(--main-text, #151515);
  font-weight: 600;
  margin: 24px 0 12px;
}

.create-store__main-text > :first-child,
.create-store__main-text h2:first-child,
.create-store__main-text h3:first-child,
.create-store__main-text h4:first-child,
.create-store__main-text h5:first-child,
.create-store__main-text h6:first-child {
  margin-top: 0;
}

.create-store__main-text h2 { font-size: 24px; line-height: 32px; }
.create-store__main-text h3 { font-size: 20px; line-height: 28px; }
.create-store__main-text h4 { font-size: 18px; line-height: 26px; }
.create-store__main-text h5 { font-size: 16px; line-height: 24px; }
.create-store__main-text h6 { font-size: 14px; line-height: 20px; }

.create-store__main-text blockquote {
  margin: 16px 0;
  padding: 8px 0 8px 20px;
  border-left: 4px solid var(--accent, #07a04a);
  color: var(--main-text, #151515);
  font-style: italic;
  font-size: 18px;
  line-height: 28px;
}

.create-store__main-text blockquote p {
  margin: 0;
}

.create-store__main-text hr {
  border: none;
  border-top: 1px solid var(--border, #e5e5e5);
  margin: 24px 0;
}

.create-store__main-text code {
  font-family: monospace;
  font-size: 14px;
  background-color: var(--light-bg, #fafafa);
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 4px;
  padding: 2px 6px;
}

/* Muted variant via add_class="secondary" or "muted" on the <p> */
.create-store__text.secondary,
.create-store__text.muted {
  color: var(--secondary-text, #898989);
}

/* Desktop bump — match site-wide scale increases at 1280+ */
@media screen and (min-width: 1280px) {
  .create-store__text,
  .create-store__main-text ul,
  .create-store__main-text ol {
    font-size: 18px;
    line-height: 28px;
  }

  .create-store__main-text h2 { font-size: 28px; line-height: 36px; }
  .create-store__main-text h3 { font-size: 24px; line-height: 32px; }
  .create-store__main-text h4 { font-size: 20px; line-height: 28px; }
  .create-store__main-text blockquote { font-size: 20px; line-height: 30px; }
}
