/* Nettoge callout boxes (step/reason/warn/tip/success). Phase 7-F. Token source: main.css :root / editor surface tokens */
:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.step-highlight, .is-style-step) {
    color: var(--color_main, var(--color-step));
    font-weight: 600;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.step-box, .reason-box, .warn-box, .tip-box, .success-box) {
    color: var(--color_text);
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .step-box {
    background-color: var(--color-step-bg);
    border-left: 4px solid var(--color_main, var(--color-step));
    padding: 1em 1.25em;
    margin: 1.5em 0;
    border-radius: 0 4px 4px 0;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.reason-highlight, .is-style-reason) {
    color: var(--color-reason);
    font-weight: 600;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .reason-box {
    background-color: var(--color-reason-bg);
    border-left: 4px solid var(--color-reason);
    padding: 1em 1.25em;
    margin: 1.5em 0;
    border-radius: 0 4px 4px 0;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.warn-highlight, .is-style-warn) {
    color: var(--color-warn);
    font-weight: 600;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .warn-box {
    background-color: var(--color-warn-bg);
    border-left: 4px solid var(--color-warn);
    padding: 1em 1.25em;
    margin: 1.5em 0;
    border-radius: 0 4px 4px 0;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.tip-highlight, .is-style-tip) {
    color: var(--color-tip);
    font-weight: 600;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .tip-box {
    background-color: var(--color-tip-bg);
    border-left: 4px solid var(--color-tip);
    padding: 1em 1.25em;
    margin: 1.5em 0;
    border-radius: 0 4px 4px 0;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.success-highlight, .is-style-success) {
    color: var(--color-success);
    font-weight: 600;
}

:is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) .success-box {
    background-color: var(--color-success-bg);
    border-left: 4px solid var(--color-success);
    padding: 1em 1.25em;
    margin: 1.5em 0;
    border-radius: 0 4px 4px 0;
}

.nexus-card.nmc h1,
.nexus-card.nmc h2,
.nexus-card.nmc h3,
.nexus-card.nmc h4,
.nexus-card.nmc h5,
.nexus-card.nmc h6 {
  background: none;
  border: 0;
  padding-left: 0;
  position: static;
  margin: 0;
  line-height: inherit;
}

.nexus-card.nmc h1::before,
.nexus-card.nmc h2::before,
.nexus-card.nmc h3::before,
.nexus-card.nmc h4::before,
.nexus-card.nmc h5::before,
.nexus-card.nmc h6::before {
  content: none;
}

.swell-block-accordion__title h1,
.swell-block-accordion__title h2,
.swell-block-accordion__title h3,
.swell-block-accordion__title h4,
.swell-block-accordion__title h5,
.swell-block-accordion__title h6 {
  all: unset;
  display: inline;
  font-size: inherit;
  font-weight: inherit;
}

@media (max-width: 768px) {
    :is(.post_content, .entry-content, .wp-block-post-content, .editor-styles-wrapper) :is(.step-box, .reason-box, .warn-box, .tip-box, .success-box) {
        padding: 0.875em 1em;
        margin: 1.25em 0;
    }
}
