/* ===== Blog author card (article sidebar, in-article on mobile, author page) ===== */
html body .elm-author-card{position:relative;box-sizing:border-box;background:#fff;border:1px solid #e3e7df;border-radius:20px;padding:18px 18px 16px;box-shadow:0 10px 30px rgba(12,17,27,.06);overflow:hidden;color:#0b0f0c;font-size:14px;line-height:1.5;text-align:left}
html body .elm-author-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#c6f135,#b2df1f 55%,#22d3ee)}
html body .elm-author-card .elm-author-kicker{display:block;margin:2px 0 12px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#4d7c0f;line-height:1.2}
html body .elm-author-card .elm-author-top{display:flex;align-items:center;gap:12px;min-width:0}
html body .elm-author-card .elm-author-ava{flex:none;width:56px;height:56px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#161c19 0%,#222a25 60%,#0e7490 100%);box-shadow:0 0 0 3px #fff,0 0 0 4px #d4dacf;text-decoration:none!important}
html body .elm-author-card .elm-author-ava img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%;margin:0;max-width:none}
html body .elm-author-card .elm-author-initials{color:#c6f135;font-weight:800;font-size:19px;letter-spacing:.02em;line-height:1}
html body .elm-author-card .elm-author-id{min-width:0;display:flex;flex-direction:column;gap:3px}
html body .elm-author-card a.elm-author-name,html body .elm-author-card h1.elm-author-name{font-size:16px;font-weight:800;color:#0b0f0c;text-decoration:none;line-height:1.25;margin:0;letter-spacing:-.01em;overflow-wrap:anywhere}
html body .elm-author-card a.elm-author-name:hover{color:#4d7c0f}
html body .elm-author-card .elm-author-role{font-size:12.5px;color:#6B7385;line-height:1.35}
html body .elm-author-card .elm-author-bio{margin-top:12px;font-size:13.5px;line-height:1.55;color:#4A5568}
html body .elm-author-card .elm-author-bio p{margin:0 0 6px;font-size:inherit;line-height:inherit;color:inherit}
html body .elm-author-card .elm-author-bio p:last-child{margin-bottom:0}
html body .elm-author-card .elm-author-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}
html body .elm-author-card .elm-author-exp{display:inline-flex;align-items:center;gap:6px;background:#f1fad6;color:#4d7c0f;border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:700;line-height:1.3;white-space:nowrap}
html body .elm-author-card .elm-author-exp svg{width:14px;height:14px;flex:none}
html body .elm-author-card .elm-author-socials{display:flex;flex-wrap:wrap;gap:6px}
html body .elm-author-card a.elm-author-soc{width:32px;height:32px;box-sizing:border-box;border-radius:10px;display:grid;place-items:center;background:#f4f6f1;color:#0b0f0c;border:1px solid #e3e7df;text-decoration:none;transition:background .15s,color .15s,border-color .15s,transform .15s}
html body .elm-author-card a.elm-author-soc:hover,html body .elm-author-card a.elm-author-soc:focus-visible{background:#c6f135;color:#0b0f0c;border-color:#b2df1f;transform:translateY(-1px)}
html body .elm-author-card a.elm-author-soc svg{width:16px;height:16px;display:block}
html body .elm-author-card a.elm-author-more{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #EEF1F5;font-size:13.5px;font-weight:800;color:#4d7c0f;text-decoration:none}
html body .elm-author-card a.elm-author-more:hover{color:#4d7c0f}
html body .elm-author-card a.elm-author-more span{transition:transform .15s}
html body .elm-author-card a.elm-author-more:hover span{transform:translateX(3px)}
/* desktop sidebar: TOC + author card share one sticky column */
@media(min-width:1001px){
 html body.article-view .article-side{position:sticky;top:148px;align-self:start;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 168px);min-width:0}
 html body.article-view .article-side>.article-toc{position:relative!important;top:auto!important;max-height:none!important;flex:0 1 auto;min-height:150px;overflow:auto!important}
 html body.article-view .article-side>.elm-author-card{flex:none}
 html body.article-view .article-side>.elm-author-card .elm-author-bio{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
}
@media(min-width:1001px) and (max-height:740px){
 html body.article-view .article-side{position:static;max-height:none}
}
/* mobile/tablet: one column; the card goes after the article text (elm-author.js moves it before FAQ) */
@media(max-width:1000px){
 html body.article-view .article-side{display:contents}
 html body.article-view .article-side>.article-toc{order:0}
 html body.article-view .article-layout>.article-main{order:1}
 html body.article-view .article-side>.elm-author-card{order:2}
}
html body.article-view .article-main .elm-author-card{margin:34px 0;max-width:780px;padding:22px 22px 18px}
html body.article-view .article-main .elm-author-card .elm-author-ava{width:64px;height:64px}
html body.article-view .article-main .elm-author-card .elm-author-initials{font-size:22px}
html body.article-view .article-main .elm-author-card a.elm-author-name{font-size:18px}
html body.article-view .article-main .elm-author-card .elm-author-bio{font-size:14.5px}
/* author page */
html body.author-page .author-hero{padding-bottom:12px!important}
html body .elm-author-card.is-page{display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:36px;align-items:start;padding:36px 40px;border-radius:28px;margin-top:18px;box-shadow:0 22px 48px -34px rgba(11,15,12,.32),0 2px 6px rgba(11,15,12,.04)}
html body .elm-author-card.is-page .elm-author-kicker{grid-column:2;margin-top:6px}
html body .elm-author-card.is-page .elm-author-top{display:contents}
html body .elm-author-card.is-page .elm-author-ava{grid-column:1;grid-row:1/span 5;width:160px;height:160px;box-shadow:0 0 0 5px #fff,0 0 0 6px #d4dacf}
html body .elm-author-card.is-page .elm-author-initials{font-size:54px}
html body .elm-author-card.is-page .elm-author-id{grid-column:2;gap:6px}
html body .elm-author-card.is-page h1.elm-author-name{font-size:clamp(28px,3vw,40px)!important;line-height:1.12;letter-spacing:-.03em}
html body .elm-author-card.is-page .elm-author-role{font-size:16px;color:#5E687C}
html body .elm-author-card.is-page .elm-author-bio{grid-column:2;font-size:16px;line-height:1.7;color:#384152;max-width:760px;margin-top:16px}
html body .elm-author-card.is-page .elm-author-bio p{margin-bottom:10px}
html body .elm-author-card.is-page .elm-author-foot{grid-column:2;justify-content:flex-start;gap:14px;margin-top:20px}
html body .elm-author-card.is-page .elm-author-exp{font-size:13.5px;padding:7px 14px}
html body .elm-author-card.is-page a.elm-author-soc{width:40px;height:40px;border-radius:12px}
html body .elm-author-card.is-page a.elm-author-soc svg{width:18px;height:18px}
html body.author-page .author-articles{padding-top:8px!important}
html body.author-page .author-articles-title{font-size:26px;font-weight:800;letter-spacing:-.02em;color:#0b0f0c;margin:0 0 20px;display:flex;align-items:center;gap:10px}
html body.author-page .author-articles-title span{font-size:14px;font-weight:800;background:#f1fad6;color:#4d7c0f;border-radius:999px;padding:3px 11px}
html body.author-page .blog-card-copy h3{font-size:19px!important;line-height:1.3!important;letter-spacing:-.015em;margin:6px 0 8px!important}
html body.author-page .blog-card-copy h3 a{color:#0b0f0c;text-decoration:none}
html body.author-page .blog-card-copy h3 a:hover{color:#4d7c0f}
@media(min-width:901px){html body.author-page .blog-list-section .blog-grid>.blog-card:first-child h3{font-size:30px!important;line-height:1.2!important}}
@media(max-width:700px){
 html body .elm-author-card.is-page{grid-template-columns:88px minmax(0,1fr);column-gap:16px;padding:24px 18px 20px;border-radius:22px}
 html body .elm-author-card.is-page .elm-author-kicker{grid-column:1/-1;margin-bottom:14px}
 html body .elm-author-card.is-page .elm-author-ava{grid-row:auto;width:88px;height:88px}
 html body .elm-author-card.is-page .elm-author-initials{font-size:32px}
 html body .elm-author-card.is-page .elm-author-id{align-self:center}
 html body .elm-author-card.is-page h1.elm-author-name{font-size:26px!important}
 html body .elm-author-card.is-page .elm-author-role{font-size:14px}
 html body .elm-author-card.is-page .elm-author-bio,html body .elm-author-card.is-page .elm-author-foot{grid-column:1/-1}
 html body .elm-author-card.is-page .elm-author-bio{font-size:15px}
 html body.author-page .author-articles-title{font-size:22px}
}
/* byline in article meta */
html body.article-view .article-meta>a.article-byline{display:inline-flex;align-items:center;gap:7px;padding:3px 11px 3px 3px!important;background:#fff!important;border:1px solid #e3e7df;color:#5f6b64;text-decoration:none;transition:border-color .15s,background .15s}
html body.article-view .article-meta>a.article-byline:hover{border-color:#b2df1f;background:#f1fad6!important}
html body.article-view .article-meta>a.article-byline b{color:#0b0f0c;font-weight:700}
html body.article-view .article-byline img,html body.article-view .article-byline .elm-author-initials{width:24px;height:24px;border-radius:50%;object-fit:cover;flex:none;display:grid;place-items:center;margin:0}
html body.article-view .article-byline .elm-author-initials{background:#161c19;color:#c6f135;font-size:10px;font-weight:800}
