/* Blog-only components: intentionally independent of legacy .row/.span grids. */
#content:has(> .tms-blog) { box-sizing: border-box; width: min(1140px, calc(100% - 40px)); padding: 0; margin-inline: auto; }
.tms-blog { --blog-ink: #17293b; --blog-muted: #526578; --blog-accent: #09686b; --blog-line: #d8e2e8; color: var(--blog-ink); font: 16px/1.7 'Open Sans', Arial, sans-serif; padding: 24px 0 64px; text-align: left; }
.tms-blog *, .tms-blog *::before, .tms-blog *::after { box-sizing: border-box; }
.tms-blog h1, .tms-blog h2, .tms-blog h3 { font-family: inherit; color: var(--blog-ink); font-weight: 700; text-shadow: none; text-transform: none; letter-spacing: -.025em; background: none; border: 0; padding: 0; }
.tms-blog h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.16; margin: 0 0 24px; overflow-wrap: break-word; }
.tms-blog h2 { font-size: 27px; line-height: 1.3; margin: 0 0 18px; }
.tms-blog h3 { font-size: 22px; line-height: 1.4; margin: 0 0 16px; }
.tms-blog p { margin: 0 0 18px; font-size: inherit; line-height: inherit; color: inherit; }
.tms-blog a { color: var(--blog-accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tms-blog a:hover { color: #094e51; }
.tms-blog a:focus-visible { outline: 3px solid #bf790e !important; outline-offset: 5px; border-radius: 3px; }
.tms-blog .tms-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; color: var(--blog-accent); line-height: 1.6; margin: 0 0 17px; }
.tms-blog .tms-lead { color: var(--blog-muted); font-size: 19px; line-height: 1.75; max-width: 760px; }
.tms-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--blog-muted); margin: 0 0 24px; }
.tms-blog-hero { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: 44px; padding: 44px; border: 1px solid var(--blog-line); border-radius: 24px; background: #f4f8f8; margin-bottom: 56px; }
.tms-blog-hero h1 span { color: var(--blog-accent); }
.tms-start { min-width: 0; padding: 28px; background: #fff; border: 1px solid var(--blog-line); border-radius: 16px; }
.tms-start h2 { font-size: 25px; }
.tms-start p:not(.tms-eyebrow) { color: var(--blog-muted); font-size: 15px; }
.tms-start > a { font-weight: 700; }
.tms-blog .tms-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; max-width: 100%; padding: 12px 20px; background: var(--blog-accent); border: 1px solid var(--blog-accent); color: #fff; border-radius: 9px; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.5; }
.tms-blog .tms-button:hover { background: #094e51; color: #fff; }
.tms-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 28px; margin-bottom: 22px; }
.tms-section-heading h2 { margin: 0; }
.tms-section-heading p { color: var(--blog-muted); font-size: 13px; margin: 0; max-width: 290px; }
.tms-topic-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.tms-topic-nav a { padding: 9px 16px; min-height: 44px; border: 1px solid var(--blog-line); border-radius: 30px; background: #fff; color: var(--blog-ink); font-size: 14px; text-decoration: none; }
.tms-topic-nav a:hover { border-color: var(--blog-accent); background: #edf7f6; }
.tms-topic-nav span { margin-left: 10px; color: var(--blog-accent); }
.tms-category { margin: 0 0 38px; scroll-margin-top: 100px; }
.tms-blog .tms-category-title { font-size: 20px; margin: 0 0 16px; }
.tms-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tms-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--blog-line); border-radius: 16px; background: #fff; box-shadow: 0 4px 18px rgba(23,41,59,.025); }
.tms-card h3 a { color: var(--blog-ink); text-decoration: none; }
.tms-card h3 a:hover { color: var(--blog-accent); text-decoration: underline; }
.tms-card > p:not(.tms-eyebrow) { color: var(--blog-muted); font-size: 15px; }
.tms-card .tms-card-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid #e8eef1; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; }
.tms-card .tms-card-link:hover { text-decoration: underline; }
.tms-index-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 36px; border-radius: 18px; background: #eaf4f3; margin-top: 48px; border: 1px solid #cddfde; }
.tms-index-cta > div { max-width: 660px; }
.tms-index-cta p:last-child { margin: 0; color: var(--blog-muted); }
.tms-index-cta > a { flex-shrink: 0; }
.tms-article-hero { max-width: 920px; padding: 22px 0 32px; margin-bottom: 34px; border-bottom: 1px solid var(--blog-line); }
.tms-article-hero .tms-eyebrow span { padding: 0 8px; }
.tms-blog .tms-editor { font-size: 13px; color: var(--blog-muted); margin: 25px 0 0; }
.tms-reading-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 46px; }
.tms-toc { background: #f4f8f8; border: 1px solid var(--blog-line); border-radius: 14px; padding: 24px; position: sticky; top: 100px; }
.tms-toc h2 { font-size: 17px; letter-spacing: 0; margin-bottom: 14px; }
.tms-toc ol { margin: 0; padding-left: 19px; }
.tms-toc li { padding-left: 3px; margin: 0 0 13px; font-size: 13px; line-height: 1.65; }
.tms-toc li a { text-decoration: none; color: var(--blog-muted); }
.tms-toc li a:hover { color: var(--blog-accent); text-decoration: underline; }
.tms-back { display: inline-block; font-size: 13px; margin-top: 12px; }
.tms-prose { min-width: 0; max-width: 780px; font-size: 17px; line-height: 1.85; }
.tms-prose > section { margin: 0 0 38px; scroll-margin-top: 110px; }
.tms-prose h2 { margin-bottom: 18px; font-size: 27px; }
.tms-prose p { margin-bottom: 19px; }
.tms-prose ul { padding: 0 0 0 23px; margin: 24px 0; list-style: disc outside; }
.tms-prose li { margin-bottom: 12px; padding-left: 7px; }
.tms-prose li::marker { color: var(--blog-accent); }
.tms-prose .tms-summary { padding: 28px; border-left: 4px solid var(--blog-accent); background: #edf6f4; border-radius: 0 12px 12px 0; }
.tms-summary p:last-child { margin: 0; }
.tms-article-cta { padding: 30px; border: 1px solid var(--blog-line); border-radius: 16px; background: #fff; }
.tms-article-cta p { color: var(--blog-muted); font-size: 16px; }
.tms-text-link { display: inline-block; margin: 16px 0 0; font-size: 14px; }
.tms-article-cta .tms-button { margin-right: 18px; }
.tms-related { border-top: 1px solid var(--blog-line); padding-top: 36px; margin-top: 58px; }
.tms-card-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tms-card-grid--related h3 { font-size: 19px; }
@media (max-width: 1000px) {
 .tms-blog-hero { gap: 24px; padding: 30px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
 .tms-reading-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 28px; }
 .tms-toc { padding: 20px; }
 .tms-card-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .tms-index-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
 #content:has(> .tms-blog) { width: calc(100% - 32px); margin-inline: auto; }
 .tms-blog { padding-top: 18px; padding-bottom: 40px; }
 .tms-blog-hero { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 28px; border-radius: 18px; margin-bottom: 36px; }
 .tms-blog h1 { font-size: 34px; }
 .tms-blog .tms-lead { font-size: 17px; }
 .tms-start { padding: 22px; }
 .tms-section-heading { flex-direction: column; gap: 10px; }
 .tms-section-heading p { max-width: none; }
 .tms-blog h2, .tms-prose h2 { font-size: 24px; }
 .tms-card-grid, .tms-card-grid--related { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .tms-card { padding: 24px; }
 .tms-card h3 { font-size: 21px; }
 .tms-index-cta { padding: 26px; gap: 22px; }
 .tms-reading-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
 .tms-toc { position: static; }
 .tms-toc li { font-size: 14px; margin-bottom: 12px; }
 .tms-toc li a { display: inline-block; padding: 3px 0; }
 .tms-article-hero { padding: 10px 0 26px; margin-bottom: 26px; }
 .tms-prose { font-size: 16px; line-height: 1.85; }
 .tms-prose .tms-summary, .tms-article-cta { padding: 23px; }
 .tms-prose > section { scroll-margin-top: 140px; }
 .tms-related { margin-top: 40px; }
}
@media (max-width: 380px) {
 .tms-blog h1 { font-size: 29px; }
 .tms-blog-hero, .tms-card, .tms-start { padding: 20px; }
 .tms-blog .tms-button { width: 100%; }
}
@media print {
 .tms-blog .tms-toc, .tms-blog .tms-related, .tms-blog .tms-article-cta { display: none; }
 .tms-reading-layout { display: block; }
 .tms-prose { max-width: none; }
}
