/*
Theme Name: JTSM App Shell
Text Domain: jtsm-app-shell
Description: Private rebuild prototype for J T Smith Music: audience-first app-shell navigation, responsive layout, and the 2026 JTSM brand palette.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}

/* Blog listing and article presentation. Scoped to the private theme templates. */
.jtsm-journal, .jtsm-article-template { color: #d3d4cb; padding: 4rem clamp(1.25rem,4vw,4rem); width: 100%; box-sizing: border-box; }
.jtsm-journal { max-width: 76rem; margin-inline: auto; }
.jtsm-journal-heading { border-bottom: 1px solid #41463e; padding-bottom: 2rem; margin-bottom: 2rem; }
.jtsm-journal h1 { font-size: clamp(2rem,4vw,3.2rem); line-height: 1.2; margin: 0 0 1rem; font-weight: 400; }
.jtsm-journal-heading p { max-width: 45rem; line-height: 1.7; color: #afb2a8; }
.jtsm-journal-card { display: grid; grid-template-columns: 12rem minmax(0,1fr); gap: 2rem; padding: 2rem 0; border-bottom: 1px solid #41463e; }
.jtsm-journal-card.jtsm-journal-text-only { grid-template-columns: 1fr; }

.jtsm-search-form{max-width:42rem;margin-top:1.5rem;text-align:left}
.jtsm-search-form label{display:block;margin-bottom:.6rem;color:#d3d4cb;font-size:.9rem}
.jtsm-search-controls{display:flex;gap:.75rem;align-items:stretch}
.jtsm-search-controls input{min-width:0;flex:1;border:1px solid #646c5e;background:#10150e;color:#edf0e4;padding:.75rem;font:inherit;border-radius:0}
.jtsm-search-controls button{border:1px solid #a1575c;background:#78383b;color:#fff;padding:.75rem 1rem;font:inherit;cursor:pointer}
.jtsm-search-controls input:focus-visible,.jtsm-search-controls button:focus-visible{outline:2px solid #e4b7bb;outline-offset:3px}
.jtsm-search-controls button:hover{background:#8d464a}
.jtsm-search-empty{max-width:48rem;line-height:1.8}
@media(max-width:480px){.jtsm-search-controls{flex-wrap:wrap}.jtsm-search-controls input{flex-basis:100%}.jtsm-search-controls button{width:100%}}

.jtsm-journal-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/11; object-fit: cover; border: 1px solid #41463e; }
.jtsm-journal-card h2 { font-size: clamp(1.2rem,2vw,1.6rem); line-height: 1.45; margin: 0 0 .7rem; font-weight: 400; }
.jtsm-journal a { color: inherit; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.jtsm-journal a:hover { color: #fff; text-decoration-thickness: 2px; }
.jtsm-journal time, .jtsm-article-meta { color: #afb2a8; font-size: .85rem; line-height: 1.6; }
.jtsm-journal-excerpt { color: #bfc2b7; line-height: 1.8; margin-top: 1rem; max-width: 57ch; }
.jtsm-journal-excerpt p { margin: 0; }
.jtsm-journal .pagination { margin-top: 2rem; }
.jtsm-journal .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.jtsm-journal .page-numbers { padding: .55rem .8rem; border: 1px solid #41463e; }
.jtsm-journal .page-numbers.current { background: #6f3338; color: #fff; }
.jtsm-article-template { max-width: 68rem; margin-inline: auto; }
.jtsm-article-back { display: inline-block; color: inherit; margin-bottom: 2rem; text-decoration: underline; text-underline-offset: .2em; }
.jtsm-article-header { margin-bottom: 2.5rem; padding-bottom: 1.8rem; border-bottom: 1px solid #41463e; }
.jtsm-article-header h1 { font-size: clamp(1.9rem,3.6vw,3rem); line-height: 1.28; font-weight: 400; margin: 0 0 1.3rem; overflow-wrap: anywhere; }
.jtsm-article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.jtsm-article-cover { margin: 0 0 2.5rem; }
.jtsm-article-cover img { display: block; max-height: 32rem; width: 100%; object-fit: contain; height: auto; }
.jtsm-article-content { max-width: 68ch; margin-inline: auto; font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.jtsm-article-content p { margin: 0 0 1.5rem; }
.jtsm-article-content h2 { font-size: clamp(1.45rem,2.3vw,2rem); line-height: 1.4; margin: 3rem 0 .8rem; font-weight: 400; }
.jtsm-article-content h3 { font-size: 1.2rem; line-height: 1.45; margin: 2rem 0 .75rem; }
.jtsm-article-content h4, .jtsm-article-content h5, .jtsm-article-content h6 { font-size: 1.05rem; line-height: 1.5; font-weight: 700; margin: 1.7rem 0 1rem; }
.jtsm-article-content ul, .jtsm-article-content ol { padding-left: 1.6rem; margin: 1.2rem 0 1.8rem; }
.jtsm-article-content ul { list-style: disc; }
.jtsm-article-content ol { list-style: decimal; }
.jtsm-article-content li { padding-left: .3rem; margin-bottom: .55rem; }
.jtsm-article-content li > ul, .jtsm-article-content li > ol { margin-block: .7rem; }
.jtsm-article-content a { color: #e1e2d8; text-decoration: underline; text-underline-offset: .2em; }
.jtsm-article-content a:hover { color: #fff; }
.jtsm-journal a:focus-visible, .jtsm-article-template a:focus-visible { outline: 2px solid #d3d4cb; outline-offset: 5px; }
.jtsm-article-content img, .jtsm-article-content video { max-width: 100%; height: auto; }
.jtsm-article-content iframe { max-width: 100%; }
.jtsm-article-content iframe[src*="youtube"], .jtsm-article-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16/9; margin-block: 1rem 2rem; }
.jtsm-article-content figure { margin: 2rem 0; }
.jtsm-article-content figcaption { color: #afb2a8; font-size: .85rem; line-height: 1.6; margin-top: .7rem; }
.jtsm-article-content blockquote { border-left: 3px solid #873e45; padding: .5rem 0 .5rem 1.4rem; margin: 2rem 0; }
.jtsm-article-content table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; margin-block: 2rem; }
.jtsm-article-content th, .jtsm-article-content td { border: 1px solid #555b50; padding: .8rem; text-align: left; }
.jtsm-article-content pre { max-width: 100%; overflow: auto; padding: 1rem; border: 1px solid #41463e; }
.jtsm-article-content .elementor-widget-container, .jtsm-article-content .elementor-widget-text-editor { color: inherit; font-family: inherit; line-height: inherit; }
.jtsm-article-navigation { margin: 3rem auto 0; max-width: 68ch; padding-top: 1.5rem; border-top: 1px solid #41463e; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.jtsm-article-navigation a { color: inherit; text-decoration: underline; text-underline-offset: .2em; line-height: 1.7; }
.jtsm-article-navigation span { display: block; color: #afb2a8; font-size: .85rem; margin-bottom: .5rem; }
.jtsm-article-comments { max-width: 68ch; margin: 3rem auto 0; }
body.single-post .jtsm-article-template .heateor_sss_sharing_container { margin-block: 2rem; }
body.single-post.jtsm-preview-article .heateor_sss_sharing_container { display: none !important; }
@media (max-width: 700px) {
 .jtsm-journal, .jtsm-article-template { padding-top: 2rem; }
 .jtsm-journal-card { grid-template-columns: 1fr; gap: 1.2rem; }
 .jtsm-journal-image img { max-height: 15rem; }
 .jtsm-article-navigation { grid-template-columns: 1fr; }
}

/* Production craft article: normalise legacy Elementor presentation. */
#post-3291 .elementor-3291 { color: inherit; }
#post-3291 .elementor-3291 .elementor-widget-container { color: inherit; font-family: inherit; font-size: inherit; line-height: inherit; }
#post-3291 .elementor-3291 .elementor-top-section { margin: 0 0 3.5rem; padding: 0; background: transparent; }
#post-3291 .elementor-3291 .elementor-widget-wrap { padding: 0; gap: 0; }
#post-3291 .elementor-3291 .elementor-widget { margin-bottom: 1.5rem; }
#post-3291 .elementor-3291 .elementor-widget-heading { margin-bottom: 0; }
#post-3291 .elementor-3291 .elementor-widget-spacer { display: none; }
/* These legacy sections end with a heading for the content that follows. */
#post-3291 .elementor-3291 .elementor-element-5fa170f { margin-bottom: 0; }
#post-3291 .elementor-3291 .elementor-element-a8f3b2e { margin-bottom: 1.5rem; }
#post-3291 .elementor-3291 h2.elementor-heading-title { font-family: inherit; color: #d3d4cb; font-size: clamp(1.45rem,2.3vw,2rem); font-weight: 400; line-height: 1.4; margin: 0 0 .8rem; padding-top: 2rem; border-top: 1px solid #41463e; }
#post-3291 .elementor-3291 h3.elementor-heading-title { font-family: inherit; color: #d3d4cb; font-size: 1.25rem; font-weight: 400; line-height: 1.5; margin: 0 0 .8rem; }
#post-3291 .elementor-3291 p, #post-3291 .elementor-3291 li { color: inherit; line-height: 1.9; }
#post-3291 .elementor-3291 .elementor-widget-image img { width: 100%; height: auto; object-fit: contain; }
#post-3291 .elementor-3291 .elementor-spacer { display: none; }
#post-3291 .elementor-3291 .elementor-inner-section .elementor-container { gap: 1.5rem; }
@media (max-width: 767px) { #post-3291 .elementor-3291 .elementor-inner-section .elementor-container { flex-direction: column; } #post-3291 .elementor-3291 .elementor-inner-section .elementor-column { width: 100%; } }

/* Article default: pair featured artwork with opening text, never a lone cover. */
.jtsm-article-opening { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 2.5rem; align-items: start; margin-bottom: 4rem; }
.jtsm-article-opening-image { margin: 0; }
.jtsm-article-opening-image img { display: block; width: 100%; height: auto; }
.jtsm-article-opening .jtsm-article-opening-copy { max-width: none; width: 100%; min-width: 0; }
.jtsm-article-opening-copy > h2:first-child, .jtsm-article-opening-copy > h3:first-child { margin-top: 0; }
#post-3291 .jtsm-article-opening-copy .elementor-top-section { margin-bottom: 0; }
#post-3291 .jtsm-article-opening-copy h2.elementor-heading-title { padding-top: 0; border-top: 0; }
@media (max-width: 1199px) { .jtsm-article-opening { grid-template-columns: 1fr; gap: 1.5rem; } .jtsm-article-opening-image { width: 100%; max-width: 24rem; } }

/* Inline article images: wrap beside artwork, then resume full reading width. */
.jtsm-article-content .elementor .jtsm-wrapped-media > .elementor-container { display: block !important; }
.jtsm-article-content .elementor .jtsm-wrapped-media > .elementor-container > .elementor-column,
.jtsm-article-content .elementor .jtsm-wrapped-media > .elementor-container > .elementor-column > .elementor-widget-wrap,
.jtsm-article-content .elementor .jtsm-wrapped-media .elementor-widget-text-editor,
.jtsm-article-content .elementor .jtsm-wrapped-media .elementor-widget-text-editor > .elementor-widget-container { display: contents !important; }
.jtsm-article-content .elementor .jtsm-wrapped-media .elementor-widget-image { float: left; width: min(40%,15rem); margin: 0 1.5rem 1rem 0 !important; }
.jtsm-article-content .elementor .jtsm-wrapped-media.jtsm-wrap-right .elementor-widget-image { float: right; margin: 0 0 1rem 1.5rem !important; }
.jtsm-article-content .jtsm-wrapped-media::after { content: ''; display: block; clear: both; }
.jtsm-article-content .elementor .elementor-top-section { clear: both; }
.jtsm-article-content > h2, .jtsm-article-content > h3, .jtsm-article-content > h4 { clear: both; }
.jtsm-article-content::after { content: ''; display: block; clear: both; }
.jtsm-article-content figure.alignleft, .jtsm-article-content figure.alignright,
.jtsm-article-content .wp-block-image > .alignleft, .jtsm-article-content .wp-block-image > .alignright,
.jtsm-article-content img.alignleft, .jtsm-article-content img.alignright { max-width: min(40%,15rem); }
.jtsm-article-content .alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.jtsm-article-content .alignright { float: right; margin: 0 0 1rem 1.5rem; }
@media (max-width: 700px) {
 .jtsm-article-content .elementor .jtsm-wrapped-media .elementor-widget-image,
 .jtsm-article-content .elementor .jtsm-wrapped-media.jtsm-wrap-right .elementor-widget-image { float: none; width: 100%; max-width: 20rem; margin: 0 auto 1.5rem !important; }
 .jtsm-article-content .alignleft, .jtsm-article-content .alignright { float: none; max-width: 100%; margin: 0 0 1.5rem; }
}

/* WordPress media-and-text blocks follow the same wrapping rule. */
.jtsm-article-content .wp-block-media-text { display: flow-root; }
.jtsm-article-content .wp-block-media-text > .wp-block-media-text__media { float: left; width: min(40%,15rem); margin: 0 1.5rem 1rem 0; }
.jtsm-article-content .wp-block-media-text.has-media-on-the-right > .wp-block-media-text__media { float: right; margin: 0 0 1rem 1.5rem; }
.jtsm-article-content .wp-block-media-text > .wp-block-media-text__content { padding: 0; }
@media (max-width: 700px) {
 .jtsm-article-content .wp-block-media-text > .wp-block-media-text__media,
 .jtsm-article-content .wp-block-media-text.has-media-on-the-right > .wp-block-media-text__media { float: none; width: 100%; max-width: 20rem; margin: 0 auto 1.5rem; }
}

/* Producer contribution graphic: editable article text and decorative connectors. */
.jtsm-article-content .jtsm-contribution { clear: both; margin: 3.5rem 0; padding: 2rem 0 1.5rem; border-block: 1px solid #41463e; color: #d3d4cb; }
.jtsm-contribution figcaption { margin: 0 0 1.8rem; }
.jtsm-contribution figcaption strong { display: block; font-size: 1.35rem; font-weight: 400; line-height: 1.4; color: #e1e2d8; }
.jtsm-contribution figcaption span { display: block; margin-top: .65rem; font-size: .9rem; line-height: 1.7; color: #afb2a8; }
.jtsm-contribution-map { display: grid; grid-template-columns: minmax(0,1.15fr) 3rem minmax(0,1fr); align-items: stretch; }
.jtsm-contribution-inputs { display: grid; gap: 1.5rem; }
.jtsm-contribution-input { border-left: 3px solid #873e45; padding: .5rem 0 .5rem 1rem; }
.jtsm-contribution-input strong, .jtsm-contribution-result > span { display: block; color: #afb2a8; font-size: .8rem; font-weight: 400; line-height: 1.6; }
.jtsm-article-content .jtsm-contribution-input p, #post-3291 .elementor-3291 .jtsm-contribution-input p { margin: .5rem 0 0; font-size: .95rem; line-height: 2.25; }
.jtsm-contribution-lines { display: block; color: #873e45; width: 100%; height: 100%; min-height: 15rem; }
.jtsm-contribution-result { display: flex; flex-direction: column; justify-content: center; padding-left: 1rem; }
.jtsm-article-content .jtsm-contribution-result p, #post-3291 .elementor-3291 .jtsm-contribution-result p { font-size: 1.2rem; line-height: 2.05; margin: .5rem 0; color: #e1e2d8; }
.jtsm-article-content .jtsm-contribution-note { font-size: .85rem; line-height: 1.7; color: #afb2a8; margin: 1.6rem 0 0; }
@media (max-width: 700px) { .jtsm-contribution-map { grid-template-columns: 1fr; gap: 1.5rem; } .jtsm-contribution-lines { display: none; } .jtsm-contribution-result { border-top: 1px solid #873e45; padding: 1.2rem 0 0; } .jtsm-contribution-result p br { display: none; } }
/* Opening artwork also lets text fill the space beneath it. */
.jtsm-article-opening:not(header), .jtsm-article-content .jtsm-fg-intro { display: flow-root; max-width: 76ch; margin-inline: auto; }
.jtsm-article-opening:not(header) > .jtsm-article-opening-image,
.jtsm-article-content .jtsm-fg-intro > .jtsm-fg-intro-image { float: left; width: min(40%,22rem); margin: 0 2rem 1rem 0; }
.jtsm-article-opening:not(header) > .jtsm-article-opening-copy,
.jtsm-fg-intro > .jtsm-fg-intro-copy { display: contents; }
.jtsm-article-opening-copy > h2, .jtsm-article-opening-copy > h3, .jtsm-fg-intro-copy > h2 { clear: none; }
.jtsm-article-opening-copy > .elementor,
.jtsm-article-opening-copy .elementor-top-section,
.jtsm-article-opening-copy .elementor-container,
.jtsm-article-opening-copy .elementor-column,
.jtsm-article-opening-copy .elementor-widget-wrap,
.jtsm-article-opening-copy .elementor-widget,
.jtsm-article-opening-copy .elementor-widget-container { display: contents !important; }
@media (max-width: 1199px) { .jtsm-article-opening:not(header) > .jtsm-article-opening-image, .jtsm-article-content .jtsm-fg-intro > .jtsm-fg-intro-image { float: none; width: 100%; max-width: 24rem; margin: 0 0 1.5rem; } }

/* Music stems: section spacing replaces decorative legacy spacer blocks. */
#post-4875 .wp-block-spacer { display: none; }
#post-4875 .jtsm-article-content h2 { margin-top: 3.5rem; margin-bottom: .8rem; }
#post-4875 .jtsm-article-content .wp-block-buttons { margin-block: 1.5rem 0; }
#post-4875 .jtsm-article-content .wp-block-button__link { display: inline-block; padding: .9rem 1.1rem; background: #6f3338; color: #e1e2d8; border: 1px solid #873e45; border-radius: 2px; line-height: 1.6; }

/* Stems examples: selectable text, semantic sequence and decorative routing. */
#post-4875 .jtsm-stems-graphic { clear: both; margin: 2.5rem 0 3rem; padding: 1.8rem 0; border-block: 1px solid #41463e; }
#post-4875 .jtsm-stems-graphic figcaption { color: #e1e2d8; font-size: 1.2rem; line-height: 1.5; margin: 0 0 1.8rem; }
#post-4875 .jtsm-signal-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem 1rem; list-style: none; counter-reset: signal; padding: 0; margin: 0; }
#post-4875 .jtsm-signal-steps li { counter-increment: signal; margin: 0; padding: .8rem 0 0; border-top: 2px solid #873e45; font-size: .85rem; line-height: 1.8; }
#post-4875 .jtsm-signal-steps li::before { content: counter(signal,decimal-leading-zero) ' →'; display: block; color: #afb2a8; font-size: .75rem; margin-bottom: .65rem; }
#post-4875 .jtsm-signal-steps li:last-child::before { content: counter(signal,decimal-leading-zero); }
#post-4875 .jtsm-vocal-map { display: grid; grid-template-columns: minmax(0,1.7fr) 3rem minmax(0,1fr); align-items: stretch; }
#post-4875 .jtsm-stems-label { display: block; color: #afb2a8; font-size: .8rem; line-height: 1.7; margin-bottom: 1rem; }
#post-4875 .jtsm-vocal-sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
#post-4875 .jtsm-vocal-sources li { margin: 0; padding: .6rem .8rem; border-left: 3px solid #873e45; background: #11160f; font-size: .85rem; line-height: 1.9; }
#post-4875 .jtsm-stems-merge { color: #873e45; width: 100%; height: 100%; padding-top: 2.3rem; box-sizing: border-box; }
#post-4875 .jtsm-vocal-output { display: flex; flex-direction: column; justify-content: center; padding-left: 1rem; min-width: 0; }
#post-4875 .jtsm-vocal-output strong { color: #e1e2d8; font-size: 1.2rem; font-weight: 400; line-height: 1.6; }
#post-4875 .jtsm-stem-wave { color: #873e45; width: 100%; max-width: 12rem; height: 3rem; margin-top: 1.2rem; }
#post-4875 .jtsm-stems-note { margin: 1.8rem 0 0; color: #afb2a8; font-size: .85rem; line-height: 1.9; }
@media (max-width: 1100px) { #post-4875 .jtsm-signal-steps { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 700px) { #post-4875 .jtsm-vocal-map { grid-template-columns: 1fr; gap: 1.8rem; } #post-4875 .jtsm-stems-merge { display: none; } #post-4875 .jtsm-vocal-output { border-top: 1px solid #873e45; padding: 1.2rem 0 0; } #post-4875 .jtsm-vocal-output::before { content: '↓'; color: #afb2a8; font-size: 1.4rem; margin-bottom: 1rem; } }
@media (max-width: 420px) { #post-4875 .jtsm-signal-steps { grid-template-columns: 1fr; } }

/* Recording path: equipment joined by a continuous cable route. */
#post-4875 .jtsm-signal-steps { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4rem 2rem; padding: 0 1rem; }
#post-4875 .jtsm-signal-steps li { position: relative; border: 0; padding: 0; margin: 0; text-align: center; min-width: 0; font-size: .85rem; line-height: 1.8; }
#post-4875 .jtsm-signal-steps li > span { display: block; margin-top: 1.1rem; }
#post-4875 .jtsm-signal-equipment { display: block; width: 100px; height: 80px; max-width: 100%; margin: 0 auto; color: #d3d4cb; }
#post-4875 .jtsm-signal-accent { stroke: #b16a72; }
#post-4875 .jtsm-signal-record { fill: #b16a72; stroke: #b16a72; }
#post-4875 .jtsm-signal-steps li::after { content: ''; position: absolute; z-index: 0; left: calc(50% + 50px); top: 40px; width: calc(100% - 100px + 2rem); border-top: 2px solid #873e45; }
#post-4875 .jtsm-signal-steps li::before { content: ''; position: absolute; display: block; padding: 0; margin: 0; top: 35px; left: calc(150% - 56px + 2rem); border-block: 6px solid transparent; border-left: 7px solid #b16a72; }
#post-4875 .jtsm-signal-steps li:nth-child(5) { grid-column: 4; grid-row: 2; }
#post-4875 .jtsm-signal-steps li:nth-child(6) { grid-column: 3; grid-row: 2; }
#post-4875 .jtsm-signal-steps li:nth-child(7) { grid-column: 2; grid-row: 2; }
#post-4875 .jtsm-signal-steps li:nth-child(8) { grid-column: 1; grid-row: 2; }
#post-4875 .jtsm-signal-steps li:nth-child(n+5)::after { left: auto; right: calc(50% + 50px); }
#post-4875 .jtsm-signal-steps li:nth-child(n+5)::before { left: auto; right: calc(150% - 56px + 2rem); border-left: 0; border-right: 7px solid #b16a72; }
#post-4875 .jtsm-signal-steps li:nth-child(4)::after { width: calc(50% + 1rem - 50px); height: calc(100% + 4rem); border-right: 2px solid #873e45; border-bottom: 2px solid #873e45; border-radius: 0 12px 12px 0; }
#post-4875 .jtsm-signal-steps li:nth-child(4)::before { top: calc(100% + 4rem + 35px); left: calc(50% + 50px); border-left: 0; border-right: 7px solid #b16a72; }
#post-4875 .jtsm-signal-steps li:last-child::after, #post-4875 .jtsm-signal-steps li:last-child::before { display: none; }
@media (max-width: 700px) {
 #post-4875 .jtsm-signal-steps { grid-template-columns: 1fr; gap: 2rem; padding: 0; }
 #post-4875 .jtsm-signal-steps li, #post-4875 .jtsm-signal-steps li:nth-child(n+5) { grid-column: auto; grid-row: auto; display: grid; grid-template-columns: 100px minmax(0,1fr); column-gap: 1.5rem; align-items: center; min-height: 80px; text-align: left; }
 #post-4875 .jtsm-signal-steps li > span { margin: 0; }
 #post-4875 .jtsm-signal-steps li::after, #post-4875 .jtsm-signal-steps li:nth-child(n+4)::after { left: 49px; right: auto; top: 80px; width: 0; height: calc(100% - 80px + 2rem); border: 0; border-left: 2px solid #873e45; border-radius: 0; }
 #post-4875 .jtsm-signal-steps li::before, #post-4875 .jtsm-signal-steps li:nth-child(n+4)::before { left: 44px; right: auto; top: calc(100% + 2rem - 6px); border: 0; border-inline: 6px solid transparent; border-top: 7px solid #b16a72; }
}

/* Retained Artist Development guides: shared reading layout, source copy preserved. */
.jtsm-support-template .jtsm-support-kicker { font-size: .8rem; line-height: 1.7; color: #afb2a8; margin: 0 0 1rem; }
.jtsm-support-template .jtsm-article-opening { margin-bottom: 2.5rem; }
.jtsm-support-template .jtsm-article-opening-copy h2:first-child { margin-top: 0; }
.jtsm-support-template .jtsm-article-content h2, .jtsm-support-template .jtsm-article-content h3 { scroll-margin-top: 5rem; clear: both; }
.jtsm-support-template .jtsm-support-body > h2, .jtsm-support-template .jtsm-support-body > h3 { margin-top: 3.5rem; margin-bottom: .8rem; }
.jtsm-support-template .jtsm-support-body > p:last-child { margin-bottom: 0; }
.jtsm-support-contents { max-width: 68ch; margin: 0 auto 3rem; border-block: 1px solid #41463e; padding: 1rem 0; color: #afb2a8; font-size: .9rem; line-height: 1.8; }
.jtsm-support-contents summary { cursor: pointer; color: #e1e2d8; }
.jtsm-support-contents ul { margin: 1.2rem 0 .5rem; padding-left: 1.3rem; list-style: disc; }
.jtsm-support-contents li { margin: .65rem 0; }
.jtsm-support-contents a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.jtsm-support-template .jtsm-support-figure { float: left; width: min(40%,19rem); margin: .5rem 1.8rem 1rem 0; }
.jtsm-support-template .jtsm-support-figure img { display: block; width: 100%; height: auto; }
.jtsm-support-template .jtsm-support-diagram { float: none; clear: both; width: 100%; margin: 2rem 0 3rem; }
.jtsm-support-template .jtsm-support-testimonial { clear: both; margin: 2.5rem 0; padding: 1.5rem 0; border-block: 1px solid #41463e; }
.jtsm-support-template .jtsm-support-testimonial blockquote { border: 0; margin: 0; padding: 0; font-size: 1.05rem; }
.jtsm-support-template .jtsm-support-testimonial blockquote p { margin-bottom: 1.2rem; }
.jtsm-support-template .jtsm-support-testimonial figcaption { display: flex; align-items: center; gap: 1rem; font-size: .85rem; line-height: 1.7; }
.jtsm-support-template .jtsm-support-testimonial figcaption img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 50%; }
.jtsm-support-template .jtsm-support-testimonial figcaption strong { font-weight: 400; color: #e1e2d8; }
.jtsm-support-next, .jtsm-support-series, .jtsm-support-related { clear: both; border-top: 1px solid #41463e; margin-top: 3rem; padding-top: 1.5rem; }
.jtsm-support-next h2, .jtsm-support-series h2, .jtsm-support-related h2 { margin-top: 0; }
.jtsm-support-next { border-top: 2px solid #873e45; }
.jtsm-support-series ul, .jtsm-support-related ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.jtsm-support-series li, .jtsm-support-related li { border-bottom: 1px solid #262e24; margin: 0; padding: 1rem 0; }
@media (max-width: 700px) { .jtsm-support-template .jtsm-support-figure { float: none; width: 100%; max-width: 24rem; margin: 1.5rem auto 2rem; } .jtsm-support-template .jtsm-support-diagram { max-width: none; } }

/* Opening headings belong beside the image rather than clearing its float. */
.jtsm-support-template .jtsm-article-opening-copy > h2, .jtsm-support-template .jtsm-article-opening-copy > h3 { clear: none; }

.jtsm-support-notice { max-width: 68ch; margin: 0 auto 2.5rem; padding: .7rem 0 .7rem 1.2rem; border-left: 3px solid #873e45; color: #afb2a8; font-size: .9rem; line-height: 1.9; }
.jtsm-support-utility { font-size: .85rem; color: #afb2a8; }

/* Private enquiry destination, using the existing WPForms General contact form. */
.jtsm-contact { box-sizing: border-box; width: 100%; max-width: 76rem; margin: 0 auto; padding: 4rem clamp(1.25rem,4vw,4rem); color: #d3d4cb; }
.jtsm-contact-header { border-bottom: 1px solid #41463e; margin-bottom: 3rem; padding-bottom: 2rem; }
.jtsm-contact-kicker { color: #afb2a8; font-size: .85rem; margin: 0 0 1.2rem; }
.jtsm-contact h1 { font-size: clamp(2rem,3.6vw,3rem); font-weight: 400; line-height: 1.3; margin: 0 0 1.5rem; }
.jtsm-contact h2 { font-size: 1.3rem; font-weight: 400; line-height: 1.5; margin: 0 0 1rem; }
.jtsm-contact p { line-height: 1.9; margin: 0 0 1.5rem; max-width: 60ch; }
.jtsm-contact a { color: #e1e2d8; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.jtsm-contact a:focus-visible { outline: 2px solid #d3d4cb; outline-offset: 4px; }
.jtsm-contact-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 3rem; align-items: start; }
.jtsm-contact-context ul { list-style: disc; padding-left: 1.2rem; margin: 0 0 1.5rem; line-height: 1.9; }
.jtsm-contact-context li { margin-bottom: .8rem; }
.jtsm-contact-direct { border-top: 1px solid #41463e; padding-top: 1.5rem; margin-top: 2rem !important; }
.jtsm-contact .jtsm-contact-small { font-size: .85rem; color: #afb2a8; }
.jtsm-contact #wpforms-5272 { margin: 0; }
.jtsm-contact #wpforms-5272 .wpforms-field { padding: 0; margin-bottom: 1.6rem; }
.jtsm-contact #wpforms-5272 .wpforms-field-label, .jtsm-contact #wpforms-5272 .wpforms-field-sublabel { color: #d3d4cb; font: inherit; font-size: .9rem; line-height: 1.7; }
.jtsm-contact #wpforms-5272 input, .jtsm-contact #wpforms-5272 textarea { font: inherit; color: #e1e2d8; background: #11160f; border: 1px solid #555b50; border-radius: 2px; max-width: 100%; box-sizing: border-box; padding: .8rem; }
.jtsm-contact #wpforms-5272 .wpforms-field-medium { width: 100%; max-width: 100%; }
.jtsm-contact #wpforms-5272 textarea { min-height: 12rem; line-height: 1.8; }
.jtsm-contact #wpforms-5272 input:focus, .jtsm-contact #wpforms-5272 textarea:focus { outline: 2px solid #d3d4cb; outline-offset: 2px; }
.jtsm-contact #wpforms-5272 .wpforms-submit { color: #e1e2d8; background: #6f3338; border: 1px solid #873e45; border-radius: 2px; font: inherit; line-height: 1.7; height: auto; padding: .85rem 1.4rem; }
.jtsm-contact #wpforms-5272 .wpforms-submit:hover { background: #873e45; }
@media (max-width: 1000px) { .jtsm-contact-layout { grid-template-columns: 1fr; gap: 2rem; } .jtsm-contact-form { border-top: 1px solid #41463e; padding-top: 2rem; } }

/* Rebuild enquiry selector and descriptions. */
.jtsm-contact #wpforms-5272 select { width:100%; max-width:100%; min-height:3.2rem; height:auto; box-sizing:border-box; padding:.8rem; font:inherit; color:#e1e2d8; background:#11160f; border:1px solid #555b50; border-radius:2px; }
.jtsm-contact #wpforms-5272 select:focus { outline:2px solid #d3d4cb; outline-offset:2px; }
.jtsm-contact #wpforms-5272 .wpforms-field-large { width:100%; max-width:100%; }
.jtsm-contact #wpforms-5272 .wpforms-field-description { color:#afb2a8; font:inherit; font-size:.85rem; line-height:1.8; margin-top:.7rem; }
.jtsm-contact #wpforms-5272 label.wpforms-error { color:#ffb4b4; font:inherit; line-height:1.6; }

/* Keep the signed-in preview navigation below the WordPress toolbar. */
@media (max-width:880px) {
 body.admin-bar { --jtsm-admin-offset:32px; }
 body.admin-bar #wpadminbar { position:fixed; }
 body.admin-bar .jtsm-mobile-bar { top:var(--jtsm-admin-offset); }
 body.admin-bar .jtsm-sidebar { top:var(--jtsm-admin-offset); height:calc(100vh - var(--jtsm-admin-offset)); }
}
@media (max-width:782px) { body.admin-bar { --jtsm-admin-offset:46px; } }

/* Plugin shortcuts must not wrap over the signed-in mobile menu. */
@media (max-width:782px) {
 body.admin-bar #wpadminbar #wp-admin-bar-root-default > li:not(#wp-admin-bar-site-name):not(#wp-admin-bar-updates):not(#wp-admin-bar-new-content):not(#wp-admin-bar-edit) { display:none; }
}

/* Keep each small guide image beside its own heading and following copy. */
@media (min-width:701px) {
 .jtsm-support-template .jtsm-support-body > .jtsm-support-figure:not(.jtsm-support-diagram) + h2,
 .jtsm-support-template .jtsm-support-body > .jtsm-support-figure:not(.jtsm-support-diagram) + h3,
 .jtsm-support-template .jtsm-support-body > .jtsm-support-figure:not(.jtsm-support-diagram) + h4 { clear:none; margin-top:0; }
}

/* Match article discussion fields to the private site palette. */
.jtsm-article-comments textarea,
.jtsm-article-comments input[type="text"],
.jtsm-article-comments input[type="email"],
.jtsm-article-comments input[type="url"] { width:100%;max-width:100%;box-sizing:border-box;padding:.8rem;background:#11160f;color:#e1e2d8;border:1px solid #555b50;border-radius:2px;font:inherit;line-height:1.7; }
.jtsm-article-comments textarea { min-height:12rem; }
.jtsm-article-comments input.submit[type="submit"] { padding:.85rem 1.2rem;background:#6f3338;color:#e1e2d8;border:1px solid #873e45;border-radius:2px;font:inherit;line-height:1.6;cursor:pointer; }
.jtsm-article-comments input.submit[type="submit"]:hover { background:#873e45; }
.jtsm-article-comments textarea:focus-visible,
.jtsm-article-comments input:focus-visible { outline:2px solid #d3d4cb;outline-offset:3px; }

/* Successive guide images each begin below the previous floated image. */
@media (min-width:701px) { .jtsm-support-template .jtsm-support-body > .jtsm-support-figure { clear:both; } }

/* Supporting prose: make subordinate headings distinct from body text. */
.jtsm-article-template .jtsm-article-content h3,
#post-3291 .elementor-3291 h3.elementor-heading-title {
 font-size:clamp(1.3rem,1.8vw,1.5rem);
 line-height:1.45;
 font-weight:700;
 color:#edf0e4;
 border-left:3px solid #873e45;
 padding-left:.85rem;
}
.jtsm-article-template .jtsm-article-content h4 {
 font-size:1.15rem;
 line-height:1.5;
 font-weight:700;
 color:#edf0e4;
}
.jtsm-article-template .jtsm-article-content h5,
.jtsm-article-template .jtsm-article-content h6 {
 font-size:1.05rem;
 line-height:1.5;
 font-weight:700;
 color:#edf0e4;
}

