/* 10MILLION blog — layered on site.css (the homepage v3 design system). Big type, white page, colour from chips and images. */
.tm-skip{position:absolute;left:12px;top:-80px;z-index:100;padding:10px 14px;border-radius:var(--r-sm);background:var(--ink);color:var(--ink-inverse);font-size:15px;font-weight:700;text-decoration:none}
.tm-skip:focus{top:12px}
.tm-page{padding-top:var(--hd)}
.x-nav a.is-on::after{transform:scaleX(1)}

/* Category chip (small, on cards and the article head) */
.tm-catchip{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:var(--r-pill);background:var(--spark-soft);color:var(--spark-ink);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
a.tm-catchip{transition:background-color .2s,color .2s}
a.tm-catchip:hover{background:var(--spark);color:var(--on-spark)}

/* Blog hero: giant title with the post count, category tabs as big type */
.tm-bl-hero{padding-block:clamp(56px,8vw,140px) clamp(32px,4vw,64px)}
.tm-bl-hero__head{margin-bottom:clamp(40px,5vw,80px)}
.tm-bl-hero__t{font-size:clamp(44px,7.6vw,136px)}
.tm-count{margin-left:.12em;font-family:var(--font-display);font-size:.26em;font-weight:600;letter-spacing:0;vertical-align:1.9em;color:var(--spark-ink)}
.tm-cats{display:flex;flex-wrap:wrap;gap:6px clamp(20px,2.6vw,44px);padding-top:clamp(20px,2vw,28px);border-top:1.5px solid var(--ink)}
.tm-cat{position:relative;font-size:clamp(20px,2vw,30px);font-weight:700;letter-spacing:-.04em;line-height:1.3;color:var(--ink-muted);text-decoration:none;transition:color .2s}
.tm-cat sup{margin-left:3px;font-family:var(--font-display);font-size:.42em;font-weight:600;letter-spacing:0;vertical-align:1.1em}
.tm-cat::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;background:var(--spark);transform:scaleX(0);transform-origin:right;transition:transform .4s var(--ease)}
.tm-cat:hover{color:var(--ink)}
.tm-cat:hover::after,.tm-cat.is-on::after{transform:scaleX(1);transform-origin:left}
.tm-cat.is-on{color:var(--ink)}

/* List: first post as a wide feature, the rest as 3 columns */
.tm-bl-list{padding-bottom:clamp(72px,9vw,160px)}
.tm-feature{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(24px,4vw,72px);align-items:center;text-decoration:none;padding-bottom:clamp(48px,6vw,96px);margin-bottom:clamp(48px,6vw,96px);border-bottom:1px solid var(--line)}
.tm-feature__img{display:block;aspect-ratio:3/2;border-radius:var(--r-lg);overflow:hidden;background:var(--canvas)}
.tm-feature__img img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.tm-feature:hover .tm-feature__img img{transform:scale(1.04)}
.tm-feature__body{display:flex;flex-direction:column;align-items:flex-start;gap:20px;min-width:0}
.tm-feature__t{font-size:clamp(30px,3.4vw,56px);font-weight:700;line-height:1.14;letter-spacing:-.045em;text-wrap:balance}
.tm-feature__ex{font-size:clamp(16px,1.25vw,19px);line-height:1.65;color:var(--ink-muted)}
.tm-feature__more{margin-top:6px}
.tm-feature:hover .tm-feature__more::after{transform:scaleX(1);transform-origin:left}
.tm-feature:hover .tm-feature__more .x-arrow{transform:translate(3px,-3px)}
.tm-posts--grid{row-gap:clamp(48px,5vw,72px)}
.tm-post__img{display:block}
.tm-post__body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:6px;min-width:0}
.tm-post__meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.tm-thumb-ph{width:100%;height:100%;display:flex;align-items:flex-end;padding:20px;background:var(--canvas)}
.tm-thumb-ph svg{width:28px;height:28px;fill:var(--spark)}
.tm-pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:clamp(56px,6vw,96px)}
.tm-pager a,.tm-pager span{display:inline-grid;place-items:center;min-width:48px;height:48px;padding:0 16px;border-radius:var(--r-pill);font-family:var(--font-display);font-size:14px;font-weight:600;text-decoration:none;box-shadow:inset 0 0 0 1.5px var(--line);transition:box-shadow .2s}
.tm-pager a:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.tm-pager .current{background:var(--ink);color:var(--ink-inverse);box-shadow:none}
.tm-empty{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:clamp(32px,4vw,56px) 0;border-top:1.5px solid var(--ink)}
.tm-empty__t{font-size:clamp(26px,2.6vw,40px);font-weight:700;letter-spacing:-.04em}
@media (max-width:880px){ .tm-feature{grid-template-columns:minmax(0,1fr)} }

/* Closing (same as the homepage contact headline) */
.tm-cta{border-top:1.5px solid var(--ink)}
.tm-cta .x-mega{margin-top:28px}
.tm-cta__row{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:28px 48px;margin-top:clamp(40px,5vw,80px)}
.tm-cta__row .x-btn{height:64px;padding:0 34px;font-size:18px}

/* Reading progress, under the header */
.tm-progress{position:fixed;left:0;right:0;top:0;z-index:61;height:3px;pointer-events:none}
.tm-progress i{display:block;height:100%;background:var(--spark);transform:scaleX(0);transform-origin:0 50%}

/* Article head */
.tm-art__head{padding-block:clamp(48px,7vw,120px) clamp(36px,4vw,64px)}
.tm-art__head .x-w{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.tm-art__crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:15px;font-weight:700;color:var(--ink-muted)}
.tm-art__crumbs .x-link{color:var(--ink)}
.tm-art__title{font-size:clamp(34px,4.8vw,80px);line-height:1.1;font-weight:700;letter-spacing:-.05em;text-wrap:balance;max-width:18em}
.tm-art__lead{max-width:40em}
.tm-art__meta{display:flex;flex-wrap:wrap;gap:6px 24px;align-self:stretch;margin-top:12px;padding-top:20px;border-top:1.5px solid var(--ink);font-size:14px;font-weight:600;color:var(--ink-muted);font-variant-numeric:tabular-nums}
.tm-art__meta span:first-child{color:var(--ink);font-weight:700}

/* Body: reading column centred on the page, contents pinned to the left edge */
.tm-art__grid,.tm-art__end{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,760px) minmax(0,1fr);column-gap:clamp(32px,4vw,72px);align-items:start}
.tm-art__grid{padding-bottom:clamp(48px,5vw,80px)}
.tm-art__grid > .tm-toc{grid-column:1;max-width:280px}
.tm-art__grid > .tm-prose,.tm-art__end > *{grid-column:2}
.tm-art__grid--solo,.tm-art__grid--solo + .tm-art__end{grid-template-columns:minmax(0,1fr) minmax(0,760px) minmax(0,1fr)}
.tm-toc{position:sticky;top:calc(var(--hd) + 28px);max-height:calc(100vh - var(--hd) - 56px);overflow:auto}
.tm-toc__box summary{list-style:none;display:flex;align-items:baseline;gap:8px;margin-bottom:16px;font-family:var(--font-display);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.tm-toc__box summary span{color:var(--spark-ink)}
.tm-toc__box summary::-webkit-details-marker{display:none}
.tm-toc ol{display:flex;flex-direction:column;border-top:1.5px solid var(--ink)}
.tm-toc li{border-bottom:1px solid var(--line)}
.tm-toc a{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;padding:11px 0;font-size:14px;line-height:1.45;color:var(--ink-muted);text-decoration:none;transition:color .15s}
.tm-toc a span{font-family:var(--font-display);font-size:10px;font-weight:600;padding-top:3px;transition:color .15s}
.tm-toc a:hover{color:var(--ink)}
.tm-toc a.is-on{color:var(--ink);font-weight:700}
.tm-toc a.is-on span{color:var(--spark-ink)}

.tm-art__end{row-gap:28px;padding-bottom:clamp(72px,8vw,140px)}
.tm-art__share{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding-top:28px;border-top:1px solid var(--line)}
.tm-author{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:clamp(28px,3vw,40px);border-top:1.5px solid var(--ink)}
.tm-author__name{margin-top:6px;font-size:clamp(34px,3.6vw,56px);font-weight:700;letter-spacing:-.05em;line-height:1.05}
.tm-author__role{font-size:16px;font-weight:700;color:var(--spark-ink)}
.tm-author__bio{font-size:16px;line-height:1.7;color:var(--ink-muted);max-width:40em}
.tm-author__past{font-size:14px;font-weight:600;line-height:1.6;color:var(--ink)}
.tm-author__foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;align-self:stretch;margin-top:8px}
.tm-author__tags{display:flex;flex-wrap:wrap;gap:8px}

.tm-related{padding-block:clamp(88px,10vw,180px);background:var(--canvas)}
.tm-related .x-head{margin-bottom:clamp(40px,5vw,72px)}
.tm-related__all{justify-self:end;align-self:end}
@media (max-width:900px){ .tm-related__all{justify-self:start} }

@media (max-width:1060px){
  .tm-art__grid,.tm-art__end,.tm-art__grid--solo,.tm-art__grid--solo + .tm-art__end{grid-template-columns:minmax(0,1fr)}
  .tm-art__grid > .tm-toc,.tm-art__grid > .tm-prose,.tm-art__end > *{grid-column:1}
  .tm-art__grid{row-gap:28px}
  .tm-toc{position:static;max-height:none;max-width:none!important}
  .tm-toc__box{padding:16px 0 4px;border-top:1.5px solid var(--ink)}
  .tm-toc__box summary{margin-bottom:0;cursor:pointer}
  .tm-toc__box[open] summary{margin-bottom:14px}
  .tm-toc__box summary::after{content:"+";margin-left:auto;font-size:18px;letter-spacing:0}
  .tm-toc__box[open] summary::after{content:"−"}
  .tm-toc ol{border-top:0}
}

/* Reading column. Works for block-editor posts and for older posts built with Elementor widgets. */
.tm-prose{min-width:0;font-size:18px;line-height:1.85;letter-spacing:-.01em;color:var(--ink);word-break:keep-all;overflow-wrap:anywhere}
.tm-prose p{margin:0 0 1.25em}
.tm-prose h2{margin:2.4em 0 .7em;font-size:clamp(26px,2.6vw,34px);line-height:1.3;font-weight:700;letter-spacing:-.04em;scroll-margin-top:calc(var(--hd) + 24px);text-wrap:balance}
.tm-prose h3{margin:1.9em 0 .6em;font-size:clamp(20px,1.9vw,23px);line-height:1.45;font-weight:700;letter-spacing:-.025em;scroll-margin-top:calc(var(--hd) + 24px)}
.tm-prose h4,.tm-prose h5,.tm-prose h6{margin:1.6em 0 .5em;font-size:18px;font-weight:700}
.tm-prose ul,.tm-prose ol{margin:0 0 1.4em;padding-left:1.3em}
.tm-prose ul{list-style:disc}
.tm-prose ol{list-style:decimal}
.tm-prose li{margin:.35em 0}
.tm-prose li::marker{color:var(--spark-ink)}
.tm-prose a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--spark);text-underline-offset:4px;text-decoration-thickness:2px}
.tm-prose a:hover{background:var(--spark-soft)}
.tm-prose strong,.tm-prose b{font-weight:700}
.tm-prose img{max-width:100%;height:auto;border-radius:var(--r-md)}
.tm-prose figure,.tm-prose .wp-block-image,.tm-prose .elementor-widget-image{margin:2em 0}
.tm-prose figure img{margin:0}
.tm-prose figcaption,.tm-prose .wp-element-caption,.tm-prose .widget-image-caption{margin-top:10px;font-size:14px;line-height:1.5;color:var(--ink-muted);text-align:center}
.tm-prose blockquote{margin:2em 0;padding:4px 0 4px 24px;border-left:3px solid var(--spark);font-size:20px;font-weight:600;line-height:1.65;letter-spacing:-.02em}
.tm-prose blockquote p:last-child{margin-bottom:0}
.tm-prose hr,.tm-prose .elementor-divider-separator{display:block;height:0;border:0;border-top:1px solid var(--line);margin:2.5em 0}
.tm-prose .elementor-divider{padding:0}
.tm-prose .elementor-spacer-inner{height:12px}
.tm-prose .wp-block-table,.tm-prose .tm-table-scroll{margin:2em 0;overflow-x:auto}
.tm-prose table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.55;font-variant-numeric:tabular-nums;border-top:1.5px solid var(--ink)}
.tm-prose th,.tm-prose td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.tm-prose th,.tm-prose thead td{background:var(--canvas);font-weight:700}
.tm-prose code{padding:2px 6px;border-radius:6px;background:var(--canvas);font-size:.9em}
.tm-prose .elementor-widget-container > :last-child{margin-bottom:0}
.tm-prose .elementor-widget-text-editor,.tm-prose .elementor-widget-heading{margin-bottom:1.25em}
.tm-prose .elementor-heading-title{margin-top:1.6em}
.tm-prose h2.elementor-heading-title{margin-top:2em}
