/* Shared reading layout for every WordPress post, including native Elementor fields. */
body.single-post.bwso-site.bwe-site main.bwso-article {
  --article-width: 840px;
  --article-link: var(--purple-dark, #6e4c86);
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0 0 clamp(64px, 7vw, 108px);
  color: var(--ink, #4a4a4a);
  font-family: var(--bwso-body-font, "Proxima Nova", Arial, sans-serif);
  font-size: 22px;
  line-height: 1.65;
}

body.single-post.bwso-site.bwe-site main.bwso-article > article {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-header {
  display: block;
  width: 100%;
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: clamp(56px, 6vw, 88px) var(--gutter, 24px);
  background: var(--lavender, #f4eff8);
  text-align: center;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-meta {
  max-width: 960px;
  margin: 0 auto 18px;
  color: var(--purple-dark, #6e4c86);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .025em;
  text-transform: none;
  text-wrap: balance;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-meta:empty {
  display: none;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-title {
  max-width: 960px;
  margin: 0 auto;
  color: var(--ink, #4a4a4a);
  font-family: inherit;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-featured {
  display: block;
  width: calc(100% - 2 * var(--gutter, 24px));
  max-width: 1000px;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  margin: 0 auto clamp(40px, 5vw, 64px);
  border-radius: 16px;
  object-fit: contain;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content {
  display: flow-root;
  width: calc(100% - 2 * var(--gutter, 24px));
  max-width: var(--article-width);
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  color: inherit;
  font: inherit;
  overflow-wrap: anywhere;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(p, ul, ol, dl, pre, blockquote, figure, table) {
  margin-block: 0 1.15em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(p, li, dt, dd) {
  color: inherit;
  font-family: inherit;
  font-size: 1em;
  line-height: inherit;
  text-wrap: pretty;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(h1, h2, h3, h4, h5, h6) {
  margin-block: 1.7em .55em;
  color: var(--ink, #4a4a4a);
  font-family: inherit;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
  text-wrap: balance;
  scroll-margin-top: 32px;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(h1, h2) {
  font-size: clamp(28px, 2.6vw, 36px);
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content h3 {
  font-size: clamp(25px, 2.1vw, 29px);
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(h4, h5, h6) {
  font-size: 23px;
  letter-spacing: -.01em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content > :first-child {
  margin-top: 0;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content > :last-child {
  margin-bottom: 0;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(strong, b) {
  font-weight: 700;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(ul, ol) {
  padding-inline-start: 1.4em;
  list-style-position: outside;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content ul {
  list-style-type: disc;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content ol {
  list-style-type: decimal;
  font-variant-numeric: tabular-nums;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content li {
  padding-inline-start: .15em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content li + li {
  margin-top: .4em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content li::marker {
  color: var(--purple-dark, #6e4c86);
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content li :where(ul, ol) {
  margin-block: .5em .65em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content li ul {
  list-style-type: circle;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content li li ul {
  list-style-type: square;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content li > p {
  margin-bottom: .45em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content a {
  color: var(--article-link);
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-skip-ink: auto;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content a:hover {
  color: #50315f;
  text-decoration-thickness: 2px;
}

body.single-post.bwso-site.bwe-site main.bwso-article a:focus-visible {
  outline: 3px solid var(--article-link);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Remove spacing and colors saved by the old editor; content follows the shared rhythm. */
body.single-post.bwso-site.bwe-site main.bwso-article .article-content .wp-block-spacer {
  display: none;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(h2, h3, h4) > br:first-child,
body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(h2, h3, h4) > br:first-child + br {
  display: none;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content mark.has-inline-color {
  color: inherit !important;
  background: transparent !important;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content blockquote {
  padding: 28px 32px;
  border: 0;
  border-radius: 12px;
  background: var(--lavender, #f4eff8);
  color: #554361;
  font-size: 1.08em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content blockquote > :last-child {
  margin-bottom: 0;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(cite, figcaption) {
  display: block;
  margin-top: 12px;
  color: var(--muted, #5e5e5e);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(figure, .wp-caption, .wp-block-embed, .wp-block-table) {
  max-width: 100%;
  margin-inline: 0;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(img, video, iframe, svg) {
  max-width: 100%;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(img, video) {
  height: auto;
  border-radius: 12px;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(.aligncenter, .wp-block-image img) {
  display: block;
  margin-inline: auto;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(.alignleft, .alignright) {
  max-width: 48%;
  margin-block: .3em 1em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content .alignleft {
  float: left;
  margin-inline: 0 1.3em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content .alignright {
  float: right;
  margin-inline: 1.3em 0;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(table, pre) {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #a58bb6 var(--lavender, #f4eff8);
  scrollbar-width: thin;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content table {
  border-collapse: collapse;
  font-size: 18px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(th, td) {
  padding: 14px 18px;
  border-bottom: 1px solid #d9cce2;
  text-align: start;
  vertical-align: top;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content th {
  background: var(--lavender, #f4eff8);
  color: #554361;
  font-weight: 700;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content pre {
  padding: 20px;
  background: var(--lavender, #f4eff8);
  border-radius: 12px;
  font-size: 16px;
  white-space: pre;
}

body.single-post.bwso-site.bwe-site main.bwso-article .article-content hr {
  margin-block: 2em;
  border: 0;
  border-top: 1px solid #d9cce2;
}

body.single-post.bwso-site.bwe-site main.bwso-article .editorial-link {
  display: block;
  width: calc(100% - 2 * var(--gutter, 24px));
  max-width: var(--article-width);
  margin: 48px auto 0;
  padding: 26px 0 0;
  border: 0;
  border-top: 1px solid #d9cce2;
  border-radius: 0;
  background: transparent;
  color: var(--article-link);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

body.single-post.bwso-site.bwe-site main.bwso-article .editorial-link:hover {
  color: #50315f;
  background: transparent;
  text-decoration-thickness: 2px;
}

body.single-post.bwso-site.bwe-site main.bwso-article ::selection {
  background: var(--purple-dark, #6e4c86);
  color: #fff;
}

@media (max-width: 640px) {
  body.single-post.bwso-site.bwe-site main.bwso-article {
    font-size: 20px;
    line-height: 1.6;
  }

  body.single-post.bwso-site.bwe-site main.bwso-article .article-header {
    padding-block: 44px 48px;
  }

  body.single-post.bwso-site.bwe-site main.bwso-article .article-meta {
    margin-bottom: 16px;
    font-size: 14px;
  }

  body.single-post.bwso-site.bwe-site main.bwso-article .article-title {
    line-height: 1.14;
  }

  body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(h4, h5, h6) {
    font-size: 22px;
  }

  body.single-post.bwso-site.bwe-site main.bwso-article .article-content blockquote {
    padding: 24px;
  }

  body.single-post.bwso-site.bwe-site main.bwso-article .article-content :where(.alignleft, .alignright) {
    float: none;
    max-width: 100%;
    margin-inline: auto;
  }

  body.single-post.bwso-site.bwe-site main.bwso-article .editorial-link {
    margin-top: 36px;
    padding-top: 24px;
  }
}
