/* Editorial 1.1 — scoped to the guides; no tracking, remote fonts or animation. */
@font-face{font-family:TSMCG Manrope;src:url(fonts/manrope-regular.ttf) format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:TSMCG Manrope;src:url(fonts/manrope-bold.ttf) format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:TSMCG Fraunces;src:url(fonts/fraunces-semibold.ttf) format('truetype');font-weight:600;font-style:normal;font-display:swap}
.tsmcg-editorial,.tsmcg-downloads{--cg-ink:#1b1028;--cg-paper:#fff8ee;--cg-yellow:#efff72;--cg-coral:#ff514e;--cg-blue:#5148ff;--cg-pink:#f8cde0;--cg-sans:'TSMCG Manrope',Arial,sans-serif;--cg-serif:'TSMCG Fraunces',Georgia,serif;color:var(--cg-ink);font-family:var(--cg-sans);font-size:17px;line-height:1.75;text-align:left;box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}
.tsmcg-editorial *,.tsmcg-downloads *{box-sizing:border-box;min-width:0}
.tsmcg-editorial{container-type:inline-size;margin:48px auto 56px;background:var(--cg-paper);border-top:5px solid var(--cg-ink)}
.tsmcg-opening{padding:28px 24px 32px;background:var(--cg-ink);color:var(--cg-paper);position:relative;border-bottom:8px solid var(--cg-coral)}
.tsmcg-masthead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:0 0 30px;padding-bottom:24px;border-bottom:1px solid #6a5c73}
.tsmcg-kicker{display:inline-block;padding:7px 10px;background:var(--cg-yellow);color:var(--cg-ink);font-family:var(--cg-sans);font-size:11px;font-weight:800;line-height:1.4;letter-spacing:.11em;text-transform:uppercase}
.tsmcg-duration{font-size:11px;font-weight:700;letter-spacing:.05em;color:#e7dce9}
.tsmcg-editorial h2.tsmcg-title{margin:0!important;max-width:23ch;font-family:var(--cg-sans)!important;font-size:clamp(30px,4.5vw,48px)!important;font-size:clamp(30px,6.3cqi,72px)!important;line-height:1.06!important;font-weight:800!important;letter-spacing:-.055em!important;color:var(--cg-paper)!important;text-wrap:balance}
.tsmcg-title-turn{display:block;margin-top:12px;font-family:var(--cg-serif);font-size:.94em;font-weight:600;letter-spacing:-.045em;color:var(--cg-yellow)}
.tsmcg-opening-grid{display:grid;gap:26px}
.tsmcg-intro{max-width:65ch}
.tsmcg-editorial .tsmcg-intro p{margin:0 0 18px!important;font-family:var(--cg-serif)!important;font-size:22px!important;line-height:1.5!important;font-weight:600!important;color:inherit}
.tsmcg-intro p:last-child{margin-bottom:0!important}
.tsmcg-intro a{color:inherit!important}
.tsmcg-editorial .tsmcg-map{margin:0;padding:0;border:0;border-bottom:2px solid var(--cg-ink);background:var(--cg-yellow);color:var(--cg-ink);font-family:var(--cg-sans)}
.tsmcg-map summary{position:relative;display:list-item;cursor:pointer;padding:18px 46px 18px 24px;font-size:14px;font-weight:800;line-height:1.5;list-style:none;min-height:56px}
.tsmcg-map summary::-webkit-details-marker{display:none}
.tsmcg-map summary::after{content:'+';position:absolute;right:24px;top:14px;font-size:26px;font-weight:400;line-height:1}
.tsmcg-map[open] summary::after{content:'−'}
.tsmcg-map summary>span{margin-left:12px;font-size:11px;font-weight:400;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.tsmcg-editorial .tsmcg-map ol{display:grid;gap:0;list-style:none;margin:0!important;padding:0 24px 20px!important;max-width:none;font-size:14px!important;line-height:1.5!important;counter-reset:none}
.tsmcg-editorial .tsmcg-map li{margin:0!important;padding:0!important;list-style:none}
.tsmcg-editorial .tsmcg-map a{display:flex;gap:12px;align-items:baseline;padding:12px 0;color:var(--cg-ink)!important;text-decoration:none!important;border-top:1px solid #b4bf51;font-size:14px;line-height:1.5}
.tsmcg-map a>span{font-size:11px;font-weight:800;min-width:22px}
.tsmcg-map a:hover{text-decoration:underline!important}
.tsmcg-chapters{padding:0 24px}
.tsmcg-chapter{position:relative;padding:32px 0;border-bottom:1px solid #cfc5cd;scroll-margin-top:110px}
.tsmcg-chapter:last-child{border-bottom:0}
.tsmcg-chapter-heading{margin-bottom:20px}
.tsmcg-number{display:block;margin-bottom:16px;color:var(--cg-blue);font-family:var(--cg-sans);font-size:44px;font-weight:800;letter-spacing:-.07em;line-height:1}
.tsmcg-editorial .tsmcg-chapter h3{max-width:27ch;font-family:var(--cg-sans)!important;font-size:clamp(25px,4.2cqi,38px)!important;font-weight:800!important;line-height:1.15!important;letter-spacing:-.045em!important;margin:0!important;color:var(--cg-ink)!important;text-wrap:balance}
.tsmcg-editorial .tsmcg-prose p,.tsmcg-editorial .tsmcg-prose ul,.tsmcg-editorial .tsmcg-prose ol{font-family:var(--cg-sans)!important;font-size:17px!important;line-height:1.8!important;font-weight:400!important;margin:0 0 18px!important;max-width:68ch;color:inherit}
.tsmcg-editorial .tsmcg-prose p:last-child,.tsmcg-editorial .tsmcg-prose ul:last-child,.tsmcg-editorial .tsmcg-prose ol:last-child{margin-bottom:0!important}
.tsmcg-editorial strong{font-weight:800}
.tsmcg-editorial .tsmcg-prose ul,.tsmcg-editorial .tsmcg-prose ol{padding-left:24px}
.tsmcg-editorial .tsmcg-prose li{padding-left:5px;margin:10px 0}
.tsmcg-prose li::marker{color:var(--cg-blue);font-weight:800}
.tsmcg-editorial a,.tsmcg-downloads a{color:#3527a8!important;text-decoration:underline!important;text-decoration-thickness:1px;text-underline-offset:4px;word-break:normal}
.tsmcg-editorial a:hover,.tsmcg-downloads a:hover{text-decoration-thickness:2px!important}
.tsmcg-editorial a:focus-visible,.tsmcg-editorial summary:focus-visible,.tsmcg-downloads a:focus-visible{outline:3px solid currentColor!important;outline-offset:4px}
.tsmcg-chapter:focus-visible{outline:3px solid var(--cg-blue);outline-offset:3px}
/* Practical passages form a distinct page within the page. All text stays visible. */
.tsmcg-chapter--practice{margin:28px 0;padding:26px 22px;background:var(--cg-yellow);border:2px solid var(--cg-ink);box-shadow:7px 7px 0 var(--cg-ink)}
.tsmcg-chapter--practice .tsmcg-number{color:var(--cg-ink)}
.tsmcg-editorial .tsmcg-chapter--practice .tsmcg-prose>p:first-child{font-family:var(--cg-serif)!important;font-size:22px!important;line-height:1.5!important;font-weight:600!important;letter-spacing:-.012em}
.tsmcg-chapter--support{margin:26px 0;padding:24px;border:2px solid var(--cg-ink);border-left:8px solid var(--cg-coral);background:#fff}
.tsmcg-chapter--practice:last-child,.tsmcg-chapter--support:last-child{border-bottom:2px solid var(--cg-ink)}
.tsmcg-chapter--support .tsmcg-number{font-size:30px;color:var(--cg-ink)}
.tsmcg-editorial .tsmcg-chapter--support h3{font-size:26px!important}
.tsmcg-editorial .tsmcg-chapter--routes .tsmcg-prose>ul{display:grid;grid-template-columns:1fr;gap:14px;list-style:none;padding:0!important;max-width:none}
.tsmcg-editorial .tsmcg-chapter--routes .tsmcg-prose>ul>li{position:relative;padding:24px!important;margin:0!important;border:2px solid var(--cg-ink);background:#fff}
.tsmcg-chapter--routes .tsmcg-prose>ul>li:nth-child(4n+2){background:var(--cg-pink)}
.tsmcg-chapter--routes .tsmcg-prose>ul>li:nth-child(4n+3){background:#eae8ff}
.tsmcg-chapter--routes .tsmcg-prose>ul>li:nth-child(4n){background:var(--cg-yellow)}
.tsmcg-chapter--routes li strong:first-child{display:block;margin-bottom:12px;font-family:var(--cg-serif);font-size:26px;line-height:1.2;letter-spacing:-.03em}
.tsmcg-prose img,.tsmcg-intro img{max-width:100%;height:auto}
.tsmcg-prose iframe,.tsmcg-intro iframe{max-width:100%}
.tsmcg-prose table{display:block;max-width:100%;overflow-x:auto}
/* These rules use the guide's actual width, including a narrow article column. */
@container (min-width:620px){
 .tsmcg-opening{padding:36px 38px 40px}
 .tsmcg-masthead{margin-bottom:36px}
 .tsmcg-intro{max-width:62ch}
 .tsmcg-chapters{padding:0 38px}
 .tsmcg-chapter{padding-top:38px;padding-bottom:38px}
 .tsmcg-chapter-heading{display:grid;grid-template-columns:66px minmax(0,1fr);gap:18px;align-items:start}
 .tsmcg-number{font-size:50px;margin:0}
 .tsmcg-prose{padding-left:84px}
 .tsmcg-chapter--practice,.tsmcg-chapter--support{padding:32px}
 .tsmcg-chapter--practice .tsmcg-prose,.tsmcg-chapter--support .tsmcg-prose{padding-left:0}
 .tsmcg-chapter--routes .tsmcg-prose{padding-left:0}
 .tsmcg-editorial .tsmcg-chapter--routes .tsmcg-prose>ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tsmcg-map summary{padding-left:38px}
 .tsmcg-editorial .tsmcg-map ol{padding-left:38px!important;padding-right:38px!important}
}
@container (min-width:940px){
 .tsmcg-opening{padding:40px 48px 52px}
 .tsmcg-opening-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:52px;align-items:end}
 .tsmcg-editorial .tsmcg-intro p{font-size:25px!important}
 .tsmcg-chapters{padding:0 48px}
 .tsmcg-chapter{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:50px;padding-top:48px;padding-bottom:48px}
 .tsmcg-chapter-heading{display:block;margin:0}
 .tsmcg-number{font-size:72px;margin-bottom:20px}
 .tsmcg-prose{padding-left:0}
 .tsmcg-chapter--practice,.tsmcg-chapter--support{padding:40px;gap:36px}
 .tsmcg-chapter--routes{grid-template-columns:1fr;gap:28px}
 .tsmcg-chapter--routes .tsmcg-chapter-heading{display:flex;gap:24px;align-items:center}
 .tsmcg-chapter--routes .tsmcg-number{margin:0}
 .tsmcg-editorial .tsmcg-map ol{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px}
}
/* Home and category text follows the existing stories; no new wall above results. */
.tsmcg-home{width:min(1240px,calc(100% - 48px));margin:64px auto 80px}
.tsmcg-home .tsmcg-editorial{margin:0;border-bottom:4px solid var(--cg-ink)}
.tsmcg-has-topic .tsm-archive-about{display:block!important;border:0;padding:0;background:transparent}
.tsmcg-has-topic .tsm-archive-about>div:first-child{background:#1b1028;color:#fff8ee;padding:36px clamp(24px,4vw,48px);border-top:7px solid #5148ff}
.tsmcg-has-topic .tsm-archive-about>div:first-child h2{color:#fff8ee;line-height:1.05;letter-spacing:-.05em;max-width:24ch}
.tsmcg-has-topic .tsm-archive-about>div:first-child .tsm-eyebrow{color:#efff72}
.tsmcg-has-topic .tsm-archive-about .tsm-archive-description{max-width:none;width:100%;color:#1b1028}
.tsmcg-topic .tsmcg-editorial{margin:0;border-top:0}
.tsmcg-editorial--category .tsmcg-opening{background:var(--cg-ink);color:var(--cg-paper);padding-top:0}
.tsmcg-editorial--category .tsmcg-intro{max-width:66ch}
.tsmtd-page>.tsmcg-editorial,.tsmtd-page .tsmcg-editorial{width:min(1100px,calc(100% - 32px))}
.tsmcg-downloads{margin:32px 0 48px;padding:32px 24px;background:var(--cg-blue);color:#fff;border:2px solid var(--cg-ink);box-shadow:7px 7px 0 var(--cg-ink)}
.tsmcg-downloads h2{margin:24px 0!important;font-family:var(--cg-sans)!important;font-size:clamp(29px,4vw,46px)!important;font-weight:800!important;letter-spacing:-.045em!important;line-height:1.1!important;color:#fff!important}
.tsmcg-downloads ul{padding:0!important;margin:0!important;list-style:none;display:grid;gap:12px}
.tsmcg-downloads li{padding:0!important;margin:0!important}
.tsmcg-downloads a{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;color:var(--cg-ink)!important;background:#fff;font-size:17px;font-weight:800;line-height:1.4;border:2px solid var(--cg-ink);text-decoration:none!important;min-height:64px}
.tsmcg-downloads a::after{content:'↗';font-size:28px;font-weight:400}
.tsmcg-downloads a:hover{background:var(--cg-yellow)}
@media(max-width:480px){
 .tsmcg-home{width:calc(100% - 32px);margin:40px auto 48px}
 .tsmcg-editorial{margin-top:32px;margin-bottom:40px}
 .tsmcg-opening{padding:24px 18px 28px}
 .tsmcg-editorial .tsmcg-intro p{font-size:20px!important}
 .tsmcg-chapters{padding:0 18px}
 .tsmcg-chapter--practice,.tsmcg-chapter--support{padding:22px 18px}
 .tsmcg-editorial .tsmcg-chapter--practice .tsmcg-prose>p:first-child{font-size:20px!important}
 .tsmcg-editorial .tsmcg-prose p,.tsmcg-editorial .tsmcg-prose ul,.tsmcg-editorial .tsmcg-prose ol{font-size:16px!important;line-height:1.75!important}
 .tsmcg-map summary>span{display:block;margin-left:0;margin-top:3px}
 .tsmcg-downloads{padding:26px 18px}
}
@media(prefers-reduced-motion:no-preference){.tsmcg-map a,.tsmcg-downloads a{transition:background-color .15s ease,text-decoration-color .15s ease}}
@media print{
 .tsmcg-editorial,.tsmcg-opening,.tsmcg-chapter,.tsmcg-downloads{background:white!important;color:black!important;border:0!important;box-shadow:none!important;container-type:normal}
 .tsmcg-editorial .tsmcg-title,.tsmcg-title-turn,.tsmcg-duration,.tsmcg-editorial a,.tsmcg-downloads h2{color:black!important}
 .tsmcg-map,.tsmcg-kicker{display:none!important}.tsmcg-editorial h3{break-after:avoid}.tsmcg-chapter{display:block}
}
