/* Designstub blog (list, post, home teaser). Uses the variables of landing.css. */
.b-main{padding:34px 0 30px}
.tg-note{background:var(--yellow-l);border-radius:12px;padding:10px 14px;font-size:14px;margin-bottom:18px}
.tg-note a{font-weight:700;text-decoration:underline}

/* ---------- list ---------- */
.b-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:22px}
.b-head>div{max-width:720px}
.b-head h1{font-size:clamp(34px,4.6vw,54px);margin:6px 0 10px;line-height:1.1}
.b-head p{color:var(--muted);font-size:17px}
.b-search{position:relative;width:min(320px,100%)}
.b-search svg{position:absolute;left:14px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2}
.b-search input{width:100%;height:46px;border:1.5px solid var(--line);border-radius:999px;padding:0 16px 0 42px;font:inherit;background:#fff}
.b-search input:focus{outline:none;border-color:var(--ink)}
.b-cats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}
.b-cats a{padding:8px 16px;border-radius:999px;background:#fff;border:1.5px solid var(--line);font-weight:700;font-size:14px}
.b-cats a:hover{border-color:var(--ink)}
.b-cats a.on{background:var(--ink);border-color:var(--ink);color:#fff}

.b-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:28px}
.b-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .25s,box-shadow .25s}
.b-card:hover{transform:translateY(-4px);box-shadow:0 22px 40px -26px rgba(40,25,10,.45)}
.b-card-img{display:block;aspect-ratio:1.9/1;background:var(--orange-l);overflow:hidden}
.b-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.b-noimg{display:grid;place-items:center;background:linear-gradient(120deg,var(--orange-l),var(--pink-l) 55%,var(--violet-l))}
.b-noimg span{font:700 54px Outfit,system-ui,sans-serif;color:#fff;text-shadow:0 4px 18px rgba(0,0,0,.08)}
.b-card-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.b-card h3{font-size:20px;line-height:1.28}
.b-card h3 a:hover{color:var(--accent-d)}
.b-card p{color:var(--muted);font-size:15px}
.b-cat{align-self:flex-start;font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--violet)}
.b-cat:hover{text-decoration:underline}
.b-meta{margin-top:auto;font-size:13.5px;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.b-meta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.b-big{display:grid;grid-template-columns:1.25fr 1fr;margin-bottom:28px}
.b-big .b-card-img{aspect-ratio:auto;min-height:300px}
.b-big .b-card-body{padding:30px 32px;justify-content:center}
.b-big h3{font-size:clamp(24px,2.6vw,34px)}
.b-big p{font-size:16.5px}
.b-cards-home{margin:22px 0 0}
.b-empty{text-align:center;padding:50px 20px;background:#fff;border:1px dashed var(--line);border-radius:20px;margin-bottom:28px}
.b-empty p{margin-bottom:14px;color:var(--muted)}
.b-pager{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:8px 0 30px}
.b-pager a,.b-pager b{min-width:42px;height:42px;padding:0 14px;display:grid;place-items:center;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-weight:700}
.b-pager a:hover{border-color:var(--ink)}
.b-pager b{background:var(--ink);border-color:var(--ink);color:#fff}

/* ---------- post ---------- */
.b-post{max-width:1080px;margin:0 auto}
.b-post-head{max-width:780px;margin:0 auto 26px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.b-post-head .b-cat{align-self:center}
.b-post-head h1{font-size:clamp(32px,4.6vw,52px);line-height:1.12}
.b-lead{font-size:19px;color:#4A4540}
.b-post-head .b-meta{justify-content:center;margin:0}
.b-cover{margin:0 auto 34px;max-width:1080px;border-radius:24px;overflow:hidden;background:var(--orange-l)}
.b-cover img{width:100%;height:auto;display:block}
.b-layout{display:grid;grid-template-columns:minmax(0,760px);justify-content:center;gap:48px}
.b-layout.has-toc{grid-template-columns:240px minmax(0,760px)}
.b-toc{position:sticky;top:96px;align-self:start;font-size:14.5px}
.b-toc summary{font-weight:700;font-family:Outfit,system-ui,sans-serif;font-size:16px;cursor:pointer;margin-bottom:10px;list-style:none}
.b-toc summary::-webkit-details-marker{display:none}
.b-toc ol{list-style:none;border-left:2px solid var(--line);display:grid;gap:2px}
.b-toc li a{display:block;padding:5px 0 5px 14px;margin-left:-2px;border-left:2px solid transparent;color:var(--muted);line-height:1.4}
.b-toc li.l3 a{padding-left:28px;font-size:13.5px}
.b-toc a:hover{color:var(--ink)}
.b-toc a.on{color:var(--accent-d);border-left-color:var(--accent);font-weight:700}

.b-body{font-size:18px;line-height:1.75;color:#2A2724;min-width:0}
.b-body>*:first-child{margin-top:0}
.b-body h2,.b-body h3,.b-body h4{scroll-margin-top:90px;color:var(--ink)}
.b-body h2{font-size:clamp(26px,3vw,32px);line-height:1.22;margin:1.9em 0 .6em}
.b-body h3{font-size:23px;line-height:1.3;margin:1.6em 0 .5em}
.b-body h4{font-size:19px;margin:1.4em 0 .4em}
.b-body p{margin:0 0 1.15em}
.b-body ul,.b-body ol{margin:0 0 1.2em;padding-left:1.5em}
.b-body li{margin-bottom:.4em}
.b-body li::marker{color:var(--accent)}
.b-body a{color:var(--accent-d);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.b-body strong,.b-body b{color:var(--ink)}
.b-body blockquote{margin:1.6em 0;padding:6px 0 6px 22px;border-left:4px solid var(--accent);font-size:20px;color:var(--ink);font-style:italic}
.b-body pre{margin:1.4em 0;padding:18px 20px;background:var(--ink);color:#F4EFE9;border-radius:14px;overflow:auto;font:14.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.b-body code{background:#F1ECE6;padding:.12em .4em;border-radius:6px;font-size:.88em}
.b-body pre code{background:none;padding:0;font-size:inherit}
.b-body hr{border:0;border-top:1px solid var(--line);margin:2.2em 0}
.b-body mark{background:var(--yellow-l);padding:0 .2em}
.b-body figure.rt-img{margin:1.8em auto}
.b-body figure.rt-img img{width:100%;height:auto;border-radius:16px;display:block}
.b-body figure.rt-w75{max-width:75%}.b-body figure.rt-w50{max-width:50%}
.b-body figure.rt-left{float:left;margin:.4em 1.6em 1em 0}
.b-body figure.rt-right{float:right;margin:.4em 0 1em 1.6em}
.b-body figcaption{text-align:center;font-size:14.5px;color:var(--muted);margin-top:10px}
.b-body>img,.b-body p img{max-width:100%;height:auto;border-radius:14px}
.b-table{overflow-x:auto;margin:1.6em 0;border:1px solid var(--line);border-radius:14px;background:#fff}
.b-table table{border-collapse:collapse;width:100%;font-size:16px}
.b-table th,.b-table td{padding:11px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.b-table tr:last-child td{border-bottom:0}
.b-table th{background:#FBF7F2;font-weight:700;color:var(--ink)}
.b-body .rt-tip{margin:1.6em 0;padding:18px 22px 18px 60px;border-radius:16px;background:var(--yellow-l);border:1px solid #F7DE91;position:relative;font-size:17px}
.b-body .rt-tip::before{content:"";position:absolute;left:20px;top:20px;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7791F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 00-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0012 3z'/%3E%3C/svg%3E") center/contain no-repeat}
.b-body .rt-tip>*:last-child{margin-bottom:0}
.b-body .rt-faq{margin:1.8em 0;display:grid;gap:10px}
.b-body .rt-faq details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 20px}
.b-body .rt-faq summary{font-weight:700;color:var(--ink);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:14px}
.b-body .rt-faq summary::-webkit-details-marker{display:none}
.b-body .rt-faq summary::after{content:"+";font-size:24px;line-height:1;color:var(--accent)}
.b-body .rt-faq details[open] summary::after{content:"–"}
.b-body .rt-faq details>*:not(summary){margin:.7em 0 0}
.b-body::after{content:"";display:block;clear:both}
.b-body .ad-slot{width:100%;margin:2em 0}

.b-tpls{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;margin:1.6em 0}
.b-tpl{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none!important;color:var(--ink)!important;transition:transform .2s,box-shadow .2s}
.b-tpl:hover{transform:translateY(-3px);box-shadow:0 16px 30px -20px rgba(40,25,10,.5)}
.b-tpl img{width:100%;height:auto;display:block;background:#F6F1EB}
.b-tpl span{padding:8px 10px;font-size:13.5px;font-weight:700;line-height:1.3}
.b-cta{display:flex;align-items:center;gap:16px;margin:1.8em 0;padding:18px 20px;border-radius:18px;background:linear-gradient(100deg,var(--orange-l),var(--pink-l) 60%,var(--violet-l))}
.b-cta-ic{flex:none;display:grid;place-items:center;width:50px;height:50px;border-radius:14px;color:#fff}
.b-cta-ic svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2}
.b-cta>div{flex:1;min-width:0;line-height:1.4}
.b-cta b{display:block;font-family:Outfit,system-ui,sans-serif;font-size:19px;color:var(--ink)}
.b-cta div span{font-size:14px;color:#4A4540}
.b-cta .btn{text-decoration:none;color:#fff;font-size:15px;white-space:nowrap}

.b-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:2em}
.b-tags a{text-decoration:none!important;background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 13px;font-size:14px;font-weight:700;color:var(--muted)!important}
.b-tags a:hover{border-color:var(--ink);color:var(--ink)!important}
.b-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:1.6em 0 0;padding-top:1.4em;border-top:1px solid var(--line)}
.b-share>span{font-weight:700;font-size:15px;margin-right:4px}
.b-share a,.b-share button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:42px;min-width:42px;padding:0 10px;border-radius:12px;background:#fff;border:1.5px solid var(--line);color:var(--ink);font:700 14px Jakarta,system-ui,sans-serif;cursor:pointer;text-decoration:none!important}
.b-share a:hover,.b-share button:hover{border-color:var(--ink)}
.b-share svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.b-rel-tpl,.b-related{max-width:1080px;margin:50px auto 0}
.b-rel-tpl h2,.b-related h2{font-size:clamp(24px,3vw,32px);margin-bottom:6px}
.b-sub{color:var(--muted);margin-bottom:6px}
.b-related h2{margin-bottom:20px}
.b-main .tg-trust{max-width:1080px;margin:44px auto 0}

@media (max-width:1000px){
  .b-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .b-layout.has-toc{grid-template-columns:minmax(0,760px);gap:0}
  .b-toc{position:static;margin-bottom:24px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 18px}
  .b-toc summary{margin:0}
  .b-toc details[open] summary{margin-bottom:10px}
}
@media (max-width:700px){
  .b-cards{grid-template-columns:1fr;gap:18px}
  .b-big{grid-template-columns:1fr}
  .b-big .b-card-img{min-height:0;aspect-ratio:1.9/1}
  .b-big .b-card-body{padding:20px}
  .b-body{font-size:17px}
  .b-body figure.rt-left,.b-body figure.rt-right{float:none;margin:1.4em auto;max-width:100%}
  .b-body figure.rt-w75,.b-body figure.rt-w50{max-width:100%}
  .b-cta{flex-wrap:wrap}
  .b-cta .btn{width:100%;justify-content:center}
  .b-cover{border-radius:16px;margin-bottom:24px}
  .b-head{align-items:stretch}
  .b-search{width:100%}
  .b-share>span{width:100%}
}
