/* 1.1.0: article media only. Never alter source pages or the approved phone. */
.tj-story .tj-as-collections{
 --collections-paper:#f8f6f2;--collections-card:#fffdfa;--collections-soft:#eeebe5;
 --collections-ink:#17243d;--collections-muted:#5a6070;--collections-line:#d9d5cd;
 --collections-accent:#76603e;--collections-photo:#e7e3dc;--collections-gutter:0px;--collections-max:1440px;
 margin-top:32px;margin-bottom:38px;color:var(--collections-ink);font-family:Arial,Helvetica,sans-serif;
}
html[data-tj-theme=dark] .tj-story .tj-as-collections{
 --collections-paper:#141a25;--collections-card:#1c2432;--collections-soft:#202a3a;
 --collections-ink:#f1f1ec;--collections-muted:#c2c8d2;--collections-line:#3c4657;
 --collections-accent:#d9b67f;--collections-photo:#252e3e;
}
/* Re-use the theme's original card CSS, not the old miniature gallery styles. */
.tj-story .tj-as-collections .tj-collections-series{margin:0;padding:0;max-width:none}
.tj-story .tj-as-collections .tj-collections-card-photo{margin:0!important}
.tj-story .tj-as-collections .tj-collections-card-photo img{width:100%;height:100%;object-fit:contain;padding:0;border:0;filter:none;max-height:none}
.tj-story .tj-as-collections .tj-collections-card h2{font:400 clamp(30px,2.9vw,43px)/1.1 var(--serif);letter-spacing:-.04em;margin:0 0 11px}
.tj-story .tj-as-collections .tj-collections-tagline{font-size:10px;line-height:1.65;margin:0 0 18px}
.tj-story .tj-as-collections .tj-collections-description{font-size:14px;line-height:1.7;margin:0 0 22px}
.tj-story .tj-as-collections .tj-collections-features{margin:auto 0 4px;max-width:none;list-style:none}
.tj-story .tj-as-collections .tj-collections-button{text-decoration:none!important}
.tj-story .tj-as-authors-photo{margin:0!important;min-height:290px;min-width:0;align-self:stretch;background:var(--story-warm)}
.tj-story .tj-as-authors-photo img{height:100%;width:100%;max-height:530px;object-fit:cover}
.tj-story .tj-as-discover,.tj-story .tj-as-config{display:block;margin-top:28px;margin-bottom:38px;padding:0;background:var(--tj-blog-surface);border:1px solid var(--tj-blog-border);min-width:0}
.tj-story .tj-as-board-launch,.tj-story .tj-as-image-zoom{display:block;position:relative;width:100%;margin:0;padding:0;border:0;background:transparent;color:#fff;text-decoration:none;cursor:pointer;line-height:0;text-align:left}
.tj-story .tj-as-board-launch:disabled{cursor:wait}
.tj-story .tj-as-board-launch img,.tj-story .tj-as-image-zoom img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;margin:0;padding:0;max-height:none;border:0;filter:none;transform:none}
.tj-story .tj-as-zoom-label{position:absolute;right:15px;bottom:15px;background:#14243be8;color:#fff;padding:10px 14px;font:12px/1.4 Arial,sans-serif;letter-spacing:.01em;box-shadow:0 2px 8px #0002;pointer-events:none}
.tj-story .tj-as-discover figcaption,.tj-story .tj-as-config figcaption{font:12px/1.6 Arial,sans-serif;margin:0;padding:14px 18px;color:var(--tj-blog-muted);background:var(--tj-blog-surface);border-top:1px solid var(--tj-blog-border)}
.tj-story .tj-as-discover figcaption a{display:inline-block;margin-left:12px}
.tj-story .tj-as-config .story-browser-bar{margin:0}
.tj-as-image-dialog{width:min(98vw,1940px);max-width:98vw;max-height:94dvh;padding:16px;margin:auto;border:1px solid #d4d2cd;background:#f8f6f2;color:#17243d;overflow:auto}
.tj-as-image-dialog::backdrop{background:#111a2cdd}
.tj-as-image-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;font:14px/1.5 Arial,sans-serif;margin-bottom:14px;position:sticky;top:-16px;background:#f8f6f2;padding:10px 0;z-index:1}
.tj-as-image-close{min-width:44px;min-height:44px;cursor:pointer;border:1px solid #d4d2cd;background:#fff;color:#17243d;font-size:20px}
.tj-as-image-dialog-scroll{overflow:auto;-webkit-overflow-scrolling:touch}
.tj-as-image-dialog-scroll img{display:block;width:100%;max-width:100%;height:auto;margin:0}
.tj-as-image-dialog>a{display:inline-block;font:13px/1.5 Arial,sans-serif;padding:13px 0;color:inherit;text-decoration:underline}
.tj-as-image-dialog:not([open]){display:none}
@media(max-width:760px){
 .tj-story .tj-as-discover,.tj-story .tj-as-config{width:100%;max-width:100%;margin-left:0;transform:none}
 .tj-story .tj-as-zoom-label{position:static;display:block;box-shadow:none;text-align:center;padding:10px;font-size:12px;background:#14243b}
 .tj-story .tj-as-discover figcaption,.tj-story .tj-as-config figcaption{font-size:11px;padding:12px 14px}
 .tj-story .tj-as-discover figcaption a{margin-left:0;display:block;padding-top:6px}
 .tj-story .tj-as-authors-photo{min-height:0;aspect-ratio:4/3}
 .tj-story .tj-as-authors-photo img{height:100%;max-height:none}
 .tj-as-image-dialog{padding:10px;width:98vw;max-height:94dvh}
 .tj-as-image-dialog-scroll img{width:auto;max-width:none;min-width:100%;height:auto;max-height:none}
}

/* 1.1.2: only the image remains around the configurator screenshot. */
#main.tj-story .tj-blog-content.editor-content figure.tj-as-config,
#main.tj-story .tj-blog-content.editor-content figure.story-config-preview{
 border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;
}
#main.tj-story .tj-as-config>.story-browser-bar,
#main.tj-story .tj-as-config>figcaption,
#main.tj-story .story-config-preview>.story-browser-bar,
#main.tj-story .story-config-preview>figcaption{display:none!important}
#main.tj-story .tj-as-config .tj-as-zoom-label{
 position:absolute;right:12px;bottom:12px;display:inline-block;width:auto;max-width:calc(100% - 24px);
 background:#14243b;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
/* A link on a solid navy surface must not inherit the article's navy link ink. */
#main.tj-story .tj-blog-content.editor-content .story-config-cta a.button,
#main.tj-story .tj-blog-content.editor-content .story-config-cta a.button:link,
#main.tj-story .tj-blog-content.editor-content .story-config-cta a.button:visited{
 display:inline-flex!important;align-items:center;justify-content:center;gap:14px;
 color:#fff!important;-webkit-text-fill-color:#fff!important;background:#14243b!important;
 border:1px solid #14243b!important;opacity:1!important;visibility:visible!important;
 text-decoration:none!important;text-indent:0!important;font:600 14px/1.45 Arial,Helvetica,sans-serif!important;
 padding:13px 19px;min-height:48px;max-width:100%;white-space:normal;
}
#main.tj-story .tj-blog-content.editor-content .story-config-cta a.button:hover,
#main.tj-story .tj-blog-content.editor-content .story-config-cta a.button:focus-visible{background:#243e60!important;border-color:#243e60!important}
#main.tj-story .tj-blog-content.editor-content .story-config-cta a.button:focus-visible{outline:3px solid #b67d42;outline-offset:3px}
#main.tj-story .tj-blog-content.editor-content .story-config-cta a.button span{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;visibility:visible!important}
#main.tj-story .tj-blog-content.editor-content .story-config-cta a.button svg{color:#fff!important;stroke:#fff!important;fill:none!important;flex:0 0 20px}
@media(max-width:600px){
 #main.tj-story .tj-as-config .tj-as-zoom-label{right:7px;bottom:7px;padding:7px 9px;font-size:10px;line-height:1.35}
 #main.tj-story .tj-blog-content.editor-content .story-config-cta{align-items:stretch;flex-direction:column}
 #main.tj-story .tj-blog-content.editor-content .story-config-cta a.button{width:100%}
}

/* Compact editorial copy inside the theme's opt-in mobile card rail. */
@media(max-width:760px){
 .tj-story .tj-as-collections .tj-collections-series--rail{padding:6px 0 10px}
 .tj-story .tj-as-collections .tj-collections-series--rail .tj-collections-card h2{font-size:28px;margin-bottom:10px}
 .tj-story .tj-as-collections .tj-collections-series--rail .tj-collections-tagline{font-size:10px;margin-bottom:12px}
 .tj-story .tj-as-collections .tj-collections-series--rail .tj-collections-description{font-size:13px;margin-bottom:16px}
}
