/* drmate.in blog (12 Nov 2026): long reading in the site's own look. Loaded only on /blog/ pages. */

/* the head of a post and of the blog home */
.post-hero{position:relative;overflow:hidden;padding:clamp(36px,5vw,72px) 0 clamp(32px,4vw,52px);background:linear-gradient(180deg,#f4fbf8,#fff)}
.post-hero::before{content:"";position:absolute;width:520px;height:520px;right:-160px;top:-220px;border-radius:50%;background:radial-gradient(closest-side,rgba(116,205,185,.26),transparent)}
.post-head{position:relative;max-width:var(--wrap)}
.post-head h1{max-width:20em;font-size:clamp(34px,1rem + 3vw,54px)}
.post-head .lead{max-width:38em;margin-top:18px}
.byline{display:flex;align-items:center;gap:14px;margin-top:26px;color:var(--muted);font-size:15.5px;line-height:1.5}
.byline a{color:var(--ink);font-weight:700;text-decoration:none}
.byline a:hover{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.by-ava{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--brand-soft);color:var(--brand-d);font-weight:800;font-size:15px;letter-spacing:.02em}
.by-ava.big{width:56px;height:56px;font-size:18px}
.byline-row{margin-top:18px;font-size:15.5px}

/* the reading column, with the contents beside it on wide screens */
.post-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;padding-block:clamp(28px,4vw,48px) clamp(40px,5vw,64px)}
.post-body{min-width:0;max-width:720px}
@media (min-width:1080px){
  .post-grid{grid-template-columns:230px minmax(0,720px);gap:64px;justify-content:start}
  .post-toc{position:sticky;top:96px;align-self:start;max-height:calc(100vh - 120px);overflow:auto}
}
.post-toc details{border:1px solid var(--line);border-radius:var(--r-s);background:#fff}
.post-toc summary{padding:14px 18px;cursor:pointer;font-size:14px;font-weight:700;color:var(--ink-2);list-style:none}
.post-toc summary::-webkit-details-marker{display:none}
.post-toc ol{display:grid;gap:2px;padding:0 10px 12px;counter-reset:toc}
.post-toc li a{display:block;padding:7px 8px;border-radius:8px;color:var(--ink-2);font-size:14.5px;line-height:1.4;text-decoration:none}
.post-toc li a:hover{background:var(--tint);color:var(--brand-d)}

/* the answer first: what AI assistants and busy readers take away */
.answer{padding:clamp(20px,2.4vw,28px);border-radius:var(--r);background:var(--tint);border:1px solid var(--line)}
.answer .k{margin-bottom:8px;color:var(--brand-d);font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.answer .sum{font-size:18.5px;line-height:1.6;color:var(--ink);text-wrap:pretty}
.answer ul{display:grid;gap:10px;margin-top:16px}
.answer li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;color:var(--ink-2);font-size:16.5px;line-height:1.5}
.answer li svg{width:20px;height:20px;margin-top:2px;color:var(--brand)}

/* the article text */
.prose{margin-top:clamp(28px,3.4vw,40px);font-size:18.5px;line-height:1.75;color:var(--ink)}
.prose>*+*{margin-top:1.05em}
.prose h2{margin-top:2.1em;font-size:clamp(26px,1rem + 1.4vw,33px);line-height:1.2;scroll-margin-top:96px}
.prose h3{margin-top:1.7em;font-size:21px;scroll-margin-top:96px}
.prose h2+*,.prose h3+*{margin-top:.6em}
.prose p,.prose li{text-wrap:pretty}
.prose a{color:var(--brand-d);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.prose a:hover{color:var(--brand);text-decoration-thickness:2px}
.prose ul,.prose ol{padding-left:1.35em}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li+li{margin-top:.45em}
.prose li::marker{color:var(--brand)}
.prose strong{font-weight:700;color:var(--ink)}
.prose blockquote{margin-inline:0;padding:4px 0 4px 20px;border-left:3px solid var(--mint);color:var(--ink-2)}
.prose code{padding:.12em .4em;border-radius:6px;background:var(--tint);font:600 .88em/1.4 ui-monospace,"SF Mono",Menlo,Consolas,monospace;color:var(--brand-d)}
.prose hr{border:0;border-top:1px solid var(--line);margin-block:2em}
.prose figure img{border-radius:var(--r-s);border:1px solid var(--line)}
.prose figcaption{margin-top:10px;color:var(--muted);font-size:15px}
.prose sup{font-size:.7em;line-height:0}
.prose .footnote{font-size:15.5px;color:var(--ink-2)}
.tbl{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-s)}
.tbl:focus-visible{outline-offset:2px}
.prose table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5;font-variant-numeric:tabular-nums}
.prose th,.prose td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.prose th{background:var(--tint);color:var(--ink);font-weight:700;white-space:nowrap}
.prose tr:last-child td{border-bottom:0}
.prose .note{padding:18px 20px;border-radius:var(--r-s);background:var(--sun-soft);color:#5c4210;font-size:17px}
.prose .note>*+*{margin-top:.6em}
.prose .example{padding:18px 20px;border-radius:var(--r-s);background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}
.prose .example p{margin:0}
.prose .example p+p{margin-top:.55em}
.prose .example p{display:grid;grid-template-columns:7.5em minmax(0,1fr);column-gap:10px}
.prose .example .who{grid-row:span 2;display:block;margin:0;padding-top:3px;color:var(--muted);font:700 13.5px/1.4 var(--font);letter-spacing:0}
.prose .example .tr{display:block;color:var(--muted);font-size:15.5px;line-height:1.5}
@media (max-width:560px){.prose .example p{grid-template-columns:minmax(0,1fr)}.prose .example .who{grid-row:auto}}
.prose [lang="hi"]{font-family:var(--hi)}

/* questions, sources and the author */
.post-faq{margin-top:clamp(44px,5vw,64px)}
.post-faq h2,.sources h2{font-size:clamp(24px,1rem + 1vw,30px);scroll-margin-top:96px}
.post-faq .faq{margin:18px 0 0;max-width:none}
.sources{margin-top:clamp(40px,4.6vw,56px)}
.sources ol{margin-top:14px;padding-left:1.3em;list-style:decimal;display:grid;gap:8px;color:var(--ink-2);font-size:15.5px;line-height:1.55}
.sources a{color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.sources a:hover{color:var(--brand)}
.author{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;margin-top:clamp(40px,4.6vw,56px);padding-top:28px;border-top:1px solid var(--line)}
.author-name{font-size:18px;font-weight:800;line-height:1.3}
.author-name a{color:var(--ink);text-decoration:none}
.author p+p{margin-top:6px;font-size:16px;color:var(--ink-2)}
.author .muted{font-size:15px}
.author .muted a{color:var(--brand-d)}

/* cards: keep reading, and the blog home */
.more-h{font-size:clamp(26px,1rem + 1.2vw,34px);margin-bottom:24px}
.post-cards{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.post-card{display:flex;flex-direction:column;gap:8px;padding:22px;border-radius:var(--r);background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink);transition:border-color .2s,box-shadow .2s}
.post-card:hover{border-color:var(--mint);box-shadow:var(--shadow)}
.post-card .eyebrow{margin:0;font-size:14px}
.post-card b{font-size:19px;line-height:1.35}
.post-card .muted{margin-top:auto;font-size:14.5px}
.post-list{display:grid;gap:0;max-width:860px}
.post-row{padding:28px 0;border-top:1px solid var(--line)}
.post-row:first-child{border-top:0;padding-top:0}
.post-row .eyebrow{margin-bottom:8px;font-size:14.5px}
.post-row h2{font-size:clamp(23px,1rem + 1vw,29px);line-height:1.25}
.post-row h2 a{text-decoration:none}
.post-row h2 a:hover{color:var(--brand-d);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.post-row p{margin-top:10px;color:var(--ink-2);font-size:17px}
.post-row .muted{margin-top:10px;font-size:15px;color:var(--muted)}
.post-row.first h2{font-size:clamp(27px,1rem + 1.6vw,36px)}

@media (prefers-reduced-motion:reduce){.post-card{transition:none}}
@media print{.post-toc,.nav,.foot,.mcta,.band,.author .muted{display:none!important}.prose{font-size:12pt}}
