/* Torch of Salvation 1.7.0 — Storm / Matte / Safety Orange.
   Visual layer only: original theme settings and builder content remain stored.
   Important token declarations intentionally override legacy inline colour tokens.
*/
body.ts-identity{
 --ts-storm:#252a30;--ts-matte:#151719;--ts-panel:#30363c;
 --ts-orange:#ff5f00;--ts-text:#f5f5f4;--ts-muted:#bdc2c7;--ts-line:#474d53;
 background:var(--ts-storm);color:var(--ts-text);color-scheme:dark;
}
.ts-identity .ts-shell{
 --blue:#ff5f00;--bright:#ff8033;--ink:#f5f5f4;--muted:#bdc2c7;--cream:#252a30;--gold:#ff5f00;
 background:var(--ts-storm);color:var(--ts-text);
}
.ts-identity .tsc-page{--tsc-brand:#ff5f00!important;--tsc-accent:#ff5f00!important;--tsc-background:#252a30!important}
.ts-identity .ts-timeline{
 --tl-background-color:#252a30!important;--tl-card-color:#30363c!important;--tl-text-color:#f5f5f4!important;
 --tl-muted-color:#bdc2c7!important;--tl-brand-color:#ff5f00!important;--tl-accent-color:#ff5f00!important;--tl-line-color:#474d53!important;
}
.ts-identity .ts-faith{--tsfaith-background:#252a30!important;--tsfaith-card:#30363c!important;--tsfaith-ink:#f5f5f4!important;--tsfaith-accent:#ff5f00!important}
.ts-identity .ts-shell .topbar,.ts-identity .ts-shell .ts-header,.ts-identity .ts-shell footer{background:var(--ts-matte);color:var(--ts-text);border-color:var(--ts-line)}
.ts-identity .ts-shell .brand,.ts-identity .ts-shell .menu-toggle,.ts-identity .ts-shell .ts-submenu-toggle{color:var(--ts-text)}
.ts-identity .ts-shell .brand small{color:var(--ts-muted)}
.ts-identity .ts-shell .ts-menu>li.current-menu-item>a,.ts-identity .ts-shell .ts-menu>li.current-menu-ancestor>a{color:var(--ts-orange)}
.ts-identity .ts-shell .ts-menu a:hover{color:var(--ts-orange)}
.ts-identity .ts-shell .sub-menu{background:var(--ts-panel);border:1px solid var(--ts-line)}
.ts-identity .ts-shell .hero{background:var(--ts-matte);border-radius:16px;overflow:hidden;margin:24px 3% 0}
.ts-identity .ts-shell .hero:after{background:linear-gradient(90deg,#101214e8,#10121470 65%,#10121420)}
.ts-identity .ts-shell .hero h1 em{color:var(--ts-orange)}
.ts-identity .ts-shell .hero-content .eyebrow{color:var(--ts-orange)}
.ts-identity .ts-shell .feature,.ts-identity .ts-shell .tsc-hero,.ts-identity .ts-shell .ts-history-hero,
.ts-identity .ts-shell .tsc-scripture,.ts-identity .ts-shell .tsc-support{background:var(--ts-matte)}
.ts-identity .ts-shell .tsc-scripture-training,.ts-identity .ts-shell .tsc-scripture-charity{background:var(--ts-panel);border-color:var(--ts-line)}
.ts-identity .ts-shell .tsc-kicker,.ts-identity .ts-shell .tsc-hero .tsc-kicker,.ts-identity .ts-shell .ts-tl-label{color:var(--ts-orange)}
.ts-identity .ts-shell .tsc-navigation-wrap{background:var(--ts-matte)}
.ts-identity .ts-shell .button,.ts-identity .ts-shell .tsc-support-button,
.ts-identity .ts-shell .etn-btn,.ts-identity .ts-shell .jeg_post_category a{
 background:var(--ts-orange);border-color:var(--ts-orange);color:#151719;border-radius:9px;font-weight:700;
}
.ts-identity .ts-shell .button:hover,.ts-identity .ts-shell .tsc-support-button:hover,.ts-identity .ts-shell .etn-btn:hover{background:#ff8033;border-color:#ff8033;color:#151719}
.ts-identity .ts-shell .button.outline{background:transparent;border-color:var(--ts-orange);color:var(--ts-text)}
.ts-identity .ts-shell .button.white{background:var(--ts-text);border-color:var(--ts-text);color:var(--ts-matte)}
.ts-identity .ts-shell .news-card{background:var(--ts-panel);border:1px solid var(--ts-line);border-radius:14px;overflow:hidden;padding:0 22px 20px}
.ts-identity .ts-shell .news-card .photo{margin:0 -22px 22px}
.ts-identity .ts-shell .news-card .tag{display:inline-block;background:var(--ts-orange);color:var(--ts-matte);padding:4px 8px;border-radius:4px}
.ts-identity .ts-shell .news-card h3{color:var(--ts-text)}
.ts-identity .ts-shell .ministry-card{border:1px solid var(--ts-line);border-radius:14px}
.ts-identity .ts-shell .ministry-card:after{background:linear-gradient(transparent 10%,#151719ed)}
.ts-identity .ts-shell .section-head h2{border-left:5px solid var(--ts-orange);padding-left:16px}
.ts-identity .ts-shell .join{background:var(--ts-panel);border:1px solid var(--ts-line);border-radius:14px}
.ts-identity .ts-shell .impact strong{color:var(--ts-orange)}
/* Native JNews pages, posts, archives and navigation keep parent markup and behaviour. */
body.ts-identity .jeg_viewport,body.ts-identity .jeg_container,body.ts-identity .jeg_content,
body.ts-identity .jeg_main,body.ts-identity .jeg_inner_content,body.ts-identity .jeg_boxed,
body.ts-identity .jeg_postblock_content,body.ts-identity .jeg_sidebar,body.ts-identity .jeg_widget,
body.ts-identity .jeg_block_container{background:var(--ts-storm);color:var(--ts-text)}
body.ts-identity .jeg_header,body.ts-identity .jeg_header_wrapper,body.ts-identity .jeg_midbar,
body.ts-identity .jeg_navbar,body.ts-identity .jeg_topbar,body.ts-identity .jeg_stickybar,
body.ts-identity .jeg_mobilebar,body.ts-identity .jeg_mobile_wrapper,
body.ts-identity .jeg_menu li>ul,body.ts-identity .jeg_footer,body.ts-identity .jeg_footer_container,
body.ts-identity .jeg_footer_bottom{background:var(--ts-matte);color:var(--ts-text);border-color:var(--ts-line)}
body.ts-identity .jeg_menu a,body.ts-identity .jeg_mobile_menu a,body.ts-identity .jeg_footer a,
body.ts-identity .jeg_header a,body.ts-identity .jeg_post_title a{color:var(--ts-text)}
body.ts-identity .jeg_menu a:hover,body.ts-identity .jeg_footer a:hover,
body.ts-identity .jeg_post_title a:hover{color:var(--ts-orange)}
body.ts-identity .jeg_post_title,body.ts-identity .jeg_post_title a,
body.ts-identity .jeg_postblock_content .jeg_post_title,
body.ts-identity .entry-header h1,body.ts-identity .entry-content,body.ts-identity .entry-content h1,
body.ts-identity .entry-content h2,body.ts-identity .entry-content h3,body.ts-identity .entry-content h4,
body.ts-identity .jeg_post_excerpt p,body.ts-identity .jeg_widget_title{color:var(--ts-text)}
body.ts-identity .jeg_post_meta,body.ts-identity .jeg_post_meta a,body.ts-identity .jeg_breadcrumbs,
body.ts-identity .jeg_post_tags,body.ts-identity .jeg_post_excerpt{color:var(--ts-muted)}
body.ts-identity .entry-content a,body.ts-identity .jeg_breadcrumbs a{color:#ff8033;text-decoration:underline;text-underline-offset:3px}
body.ts-identity .jeg_post_category a,body.ts-identity .jeg_readmore,
body.ts-identity .jeg_pagination .current{background:var(--ts-orange);color:var(--ts-matte);border-color:var(--ts-orange)}
body.ts-identity .jeg_block_heading{background:var(--ts-matte)!important;border-color:var(--ts-orange)!important;border-left:4px solid var(--ts-orange)!important}
body.ts-identity .jeg_block_heading .jeg_block_title,body.ts-identity .jeg_block_heading .jeg_block_title span,
body.ts-identity .jeg_block_heading .jeg_block_title a{color:var(--ts-text)!important;background:transparent!important}
body.ts-identity .entry-content blockquote{background:var(--ts-panel);border-left:4px solid var(--ts-orange);color:var(--ts-text)}
/* Eventin and The Events Calendar: no event records, dates or queries are changed. */
body.ts-identity .etn-event-item,body.ts-identity .etn-event-single-content-wrap,
body.ts-identity .etn-event-search,body.ts-identity .tribe-events .tribe-events-calendar-list__event,
body.ts-identity .tribe-events-single,body.ts-identity .tribe-events .tribe-events-header{background:var(--ts-panel);color:var(--ts-text);border-color:var(--ts-line)}
body.ts-identity .etn-event-title,body.ts-identity .etn-event-title a,
body.ts-identity .tribe-events-single-event-title,body.ts-identity .tribe-events-calendar-list__event-title-link,
body.ts-identity .tribe-events-calendar-list__event-description,
body.ts-identity .tribe-events-calendar-list__event-datetime{color:var(--ts-text)}
body.ts-identity .tribe-events{--tec-color-background:#252a30;--tec-color-background-events:#30363c;--tec-color-text-primary:#f5f5f4;--tec-color-text-secondary:#bdc2c7;--tec-color-accent-primary:#ff5f00;--tec-color-border-default:#474d53}
body.ts-identity .etn-btn,body.ts-identity .tribe-common-c-btn{background:var(--ts-orange);color:var(--ts-matte);border-color:var(--ts-orange)}
body.ts-identity .entry-content table,body.ts-identity .entry-content td,body.ts-identity .entry-content th{border-color:var(--ts-line)}
body.ts-identity .entry-content th{background:var(--ts-panel)}
body.ts-identity input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]),
body.ts-identity textarea,body.ts-identity select{background:var(--ts-matte);color:var(--ts-text);border:1px solid var(--ts-line);max-width:100%;border-radius:6px}
body.ts-identity input::placeholder,body.ts-identity textarea::placeholder{color:var(--ts-muted);opacity:1}
body.ts-identity input[type=submit],body.ts-identity .wpcf7-submit,body.ts-identity .wp-block-button__link{background:var(--ts-orange);color:var(--ts-matte);border:1px solid var(--ts-orange);border-radius:8px}
body.ts-identity :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #ff8033;outline-offset:4px}
body.ts-identity ::selection{background:#ff5f00;color:#151719}
@media(max-width:1250px){.ts-identity .ts-shell .ts-header nav{background:var(--ts-matte);border-color:var(--ts-line)}}
@media(max-width:760px){
 .ts-identity .ts-shell .hero{margin:12px 3% 0;border-radius:12px}
 .ts-identity .ts-shell .section-head{align-items:flex-start;flex-wrap:wrap}
 .ts-identity .ts-shell .hero-content{padding-left:7%;padding-right:7%}
 .ts-identity .ts-shell .ts-header{height:auto;min-height:84px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
 .ts-identity .ts-shell .ts-header nav{top:100%}
 .ts-identity .ts-shell .ts-header .header-actions{margin-left:auto}
 .ts-identity .ts-shell .brand{max-width:100%}
 .ts-identity .ts-shell .topbar{gap:8px;flex-wrap:wrap;overflow-wrap:anywhere}
 body.ts-identity .entry-content{overflow-wrap:anywhere}
 body.ts-identity .entry-content table{display:block;overflow-x:auto}
}
@media(prefers-reduced-motion:reduce){body.ts-identity *,body.ts-identity *:before,body.ts-identity *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body.ts-identity,body.ts-identity .ts-shell,body.ts-identity .entry-content{background:white!important;color:black!important}body.ts-identity .ts-shell .ts-header,body.ts-identity .ts-shell footer{display:none}}
/* JNews can emit accent rules after wp_head; keep primary actions consistent. */
body.ts-identity{--j-body-color:#f5f5f4;--j-heading-color:#f5f5f4;--j-accent-color:#ff5f00}
body.ts-identity .ts-shell .button,body.ts-identity .ts-shell .tsc-support-button,body.ts-identity .ts-shell .etn-btn{background:#ff5f00!important;border-color:#ff5f00!important;color:#151719!important}
body.ts-identity .ts-shell .button:hover,body.ts-identity .ts-shell .tsc-support-button:hover{background:#ff8033!important;color:#151719!important}
body.ts-identity .ts-shell .button.white{background:#f5f5f4!important;border-color:#f5f5f4!important;color:#151719!important}
body.ts-identity .ts-shell .button.outline{background:transparent!important;border-color:#ff5f00!important;color:#f5f5f4!important}
.ts-identity .ts-shell .ts-history-cta,.ts-identity .ts-shell .ts-event-highlight .ts-event-card,.ts-identity .ts-shell .page-head{background:#151719;color:#f5f5f4}
.ts-identity .ts-shell .tsc-native-content .jeg_subcat a:hover,
.ts-identity .ts-shell .tsc-native-content .jeg_subcat .active>a,
.ts-identity .ts-shell .tsc-native-content .jeg_subcat a.active,
.ts-identity .ts-shell .tsc-native-content .jeg_post_category a{background:#ff5f00;color:#151719}
