/* myfeeds.site blog posts. Loaded after site.css, which still brings the
   header, footer, buttons, product cards and small parts (calc, faq, yn,
   flow, ba). Everything here starts with bl-.

   A post runs as wide as its cover photo: the head, the photo and, below it,
   the text with a column on the right (contents, a short note on MyFeeds)
   share one left and one right edge. On a phone it is one column. No coloured bands: the page stays white, panels are soft
   grey or a light violet, and violet is the one coloured surface (the box at
   the end). Orange stays an accent: number circles, ticks, tape. */

.bl{
  --serif:Charter,'Bitstream Charter','Sitka Text',Cambria,Georgia,serif;
  --text:#2E2A36;
  --soft:#F1EEFA;
  background:#fff;color:var(--ink);
}

/* ===== head of the post ===== */
.bl-post{padding:36px var(--gut) 8px}
.bl-head{max-width:1120px;margin:0 auto}
.bl-cat{font:600 12.5px/1.3 var(--sans);letter-spacing:.09em;text-transform:uppercase;color:var(--violet)}
.bl-cat a{color:inherit;text-decoration:none}
.bl-cat a:hover{text-decoration:underline}
.bl-head h1{margin-top:14px;font:800 clamp(2.25rem,6.2vw,4.4rem)/1 var(--display);letter-spacing:-.028em;color:var(--ink);text-wrap:balance}
.bl-dek{margin-top:18px;font:400 clamp(1.12rem,2.4vw,1.5rem)/1.45 var(--serif);color:var(--ink-2);text-wrap:pretty}
.bl-meta{margin-top:18px;display:flex;flex-wrap:wrap;gap:6px 0;font:500 14px/1.3 var(--sans);color:var(--ink-3)}
.bl-meta span+span::before{content:"·";padding:0 10px}

.bl-cover{max-width:1120px;margin:30px calc(-1 * var(--gut)) 0}
.bl-cover img{display:block;width:100%;height:auto}
@media (min-width:760px){
  .bl-post{padding-top:64px}
  .bl-cover{margin:44px auto 0}
  .bl-cover img{border-radius:12px}
}

/* ===== the reading column ===== */
.bl-layout{max-width:1120px;margin:40px auto 0}
.bl-body{max-width:760px;font:400 17px/1.6 var(--sans);color:var(--text)}
.bl-side{display:none}
.bl-body>p,.bl-body>ul>li,.bl-body>ol:not(.sub)>li{font:400 18.5px/1.72 var(--serif);color:var(--text)}
.bl-body>p{margin:0 0 1.1em}
.bl-body>ul,.bl-body>ol:not(.sub){margin:0 0 1.3em;padding-left:1.25em}
.bl-body>ul>li,.bl-body>ol:not(.sub)>li{margin-bottom:.45em;padding-left:.2em}
.bl-body>ul>li::marker{color:var(--orange)}
.bl-body>ol:not(.sub)>li::marker{font:800 .95em var(--display);color:var(--violet)}
.bl-body h2{margin:2.3em 0 .55em;font:800 clamp(1.7rem,5.6vw,2.25rem)/1.1 var(--display);letter-spacing:-.022em;color:var(--ink);text-wrap:balance;scroll-margin-top:24px}
.bl-body h3{margin:1.7em 0 .4em;font:800 1.28rem/1.2 var(--display);letter-spacing:-.012em;color:var(--ink);text-wrap:balance}
.bl-body>h2+p,.bl-body>h3+p{margin-top:0}
.bl-body a:not(.cta):not(.more){color:var(--violet);text-decoration-thickness:1px;text-underline-offset:3px}
.bl-body a:not(.cta):not(.more):hover{text-decoration-thickness:2px}
.bl-body strong{color:var(--ink);font-weight:700}
@media (min-width:760px){
  .bl-layout{margin-top:56px}
  .bl-body>p,.bl-body>ul>li,.bl-body>ol:not(.sub)>li{font-size:20px}
}

/* the first paragraph opens with a large violet letter */
.bl-lead::first-letter{float:left;margin:.08em .09em 0 0;font:800 4.1em/.8 var(--display);color:var(--violet)}

/* a short line set apart, between two scenes */
.bl-break{margin:2.2em 0;text-align:center;color:var(--orange);font:800 1.4rem/1 var(--display);letter-spacing:.6em}

/* ===== figures ===== */
.bl-fig{margin:2em 0 2.2em}
.bl-fig img{display:block;width:100%;height:auto;border-radius:10px}
.bl-cap{margin-top:10px;font:400 13.5px/1.5 var(--sans);color:var(--ink-3)}
.bl-panel{background:var(--paper-2);border-radius:12px;padding:22px 18px}
.bl-panel.soft{background:var(--soft)}
@media (min-width:760px){.bl-panel{padding:30px 32px}}
.bl-k{font:600 12px/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);margin-bottom:16px}

/* two bars, from a study */
.bl-bars{display:grid;gap:18px}
.bl-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;align-items:baseline}
.bl-bar span{font:500 15px/1.3 var(--sans);color:var(--ink-2)}
.bl-bar b{font:800 1.5rem/1 var(--display);color:var(--ink);white-space:nowrap}
.bl-bar b small{font:500 13px/1 var(--sans);color:var(--ink-3);margin-left:4px}
.bl-bar i{grid-column:1/-1;height:14px;border-radius:4px;background:#fff}
.bl-bar i::before{content:"";display:block;height:100%;border-radius:4px;background:var(--violet)}
.bl-bar.dim i::before{background:#B9AEE0}
.bl-w100 i::before{width:100%}.bl-w53 i::before{width:53%}

/* a hundred dots, one for each blog */
.bl-dots{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;max-width:340px}
.bl-dots span{aspect-ratio:1;border-radius:50%;background:#C9C5D3}
.bl-dots .g{background:var(--ok)}
.bl-dots .z{background:#fff;box-shadow:inset 0 0 0 2px #C9C5D3}
.bl-dots-wrap{display:grid;gap:22px;align-items:center}
.bl-legend{list-style:none;display:grid;gap:12px;font:500 15px/1.35 var(--sans);color:var(--ink-2)}
.bl-legend li{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}
.bl-legend b{display:block;font:800 1.45rem/1 var(--display);color:var(--ink)}
.bl-legend i{width:16px;height:16px;border-radius:50%;background:#C9C5D3}
.bl-legend .g i{background:var(--ok)}
.bl-legend .z i{background:#fff;box-shadow:inset 0 0 0 2px #C9C5D3}
@media (min-width:640px){
  .bl-dots-wrap{grid-template-columns:auto 1fr;gap:36px}
  .bl-dots{width:300px}
}

/* three sites, one after the other */
.bl-body>ul.bl-cases{list-style:none;display:grid;gap:14px;margin:1.6em 0 2em;padding-left:0}
.bl-body>ul.bl-cases>li{margin:0;padding:20px 20px 18px}
.bl-case{background:var(--paper-2);border-radius:12px;padding:20px 20px 18px}
.bl-case p{font:400 16.5px/1.6 var(--sans);color:var(--ink-2)}
.bl-case .bl-k{margin-bottom:4px;color:var(--violet)}
.bl-case h3{margin:0 0 6px}

/* the before/after notes sit on a panel; room on the right for the drawn tick */
.bl-ba{padding-bottom:8px}
@media (min-width:760px){.bl-ba{padding:34px 56px 22px 32px}}
.bl-ba .ba{margin:0}

/* an example shop page in a browser frame */
.bl-shop{display:grid;gap:14px;padding:16px;background:#fff;color:var(--ink)}
.bl-shop-side{display:none}
.bl-shop-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.bl-shop-top b{font:800 1.15rem/1.15 var(--display);letter-spacing:-.01em}
.bl-shop-top span{font-size:12.5px;color:var(--ink-2)}
.bl-shop-main{display:grid;gap:12px;align-content:start}
@media (max-width:599px){.bl-shop .myfeeds-product-card:nth-child(6){display:none}}
@media (min-width:700px){
  .bl-shop{grid-template-columns:132px minmax(0,1fr);gap:18px;padding:18px}
  .bl-shop-side{display:block;font-size:13px;line-height:1.35;color:var(--ink-2)}
  .bl-shop-side .bl-k{margin:0 0 6px}
  .bl-shop-side ul{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:5px}
  .bl-shop-side b{color:var(--ink)}
}

/* a quiet offer in the middle of a post */
.bl-try{margin:2.2em 0;background:var(--soft);border-radius:12px;padding:24px 20px}
.bl-try h3{margin:0 0 6px}
.bl-try p{font:400 16.5px/1.55 var(--sans);color:var(--ink-2);margin-bottom:16px}
.bl-try .calm{margin:12px 0 0;font-size:14px;color:var(--ink-3)}
@media (min-width:760px){.bl-try{padding:28px 30px}}

/* two ways a year can go */
.bl-two{display:grid;gap:14px;margin:1.4em 0 2em}
.bl-two>div{border-radius:12px;padding:20px 20px 16px;background:var(--paper-2)}
.bl-two>div.pick{background:var(--soft)}
.bl-two h3{margin:0 0 12px;font-size:1.15rem}
.bl-two .yn{display:grid;gap:12px;font:400 16px/1.5 var(--sans);color:var(--ink-2)}
@media (min-width:700px){.bl-two{grid-template-columns:1fr 1fr}}

/* questions */
.bl-body .faq{margin-top:.6em}
.bl-body .sources{margin-top:28px}

/* ===== after the post ===== */
.bl-end{padding:8px var(--gut) 72px}
.bl-about{
  --fg:#fff;--fg-2:var(--on-violet);--fg-3:var(--on-violet);
  --btn:#fff;--btn-fg:var(--ink);--btn-hover:#F4F3F7;--btn-shadow:none;--focus:#fff;
  max-width:1120px;margin:56px auto 0;background:var(--violet);color:#fff;border-radius:14px;padding:28px 22px;
}
.bl-about .bl-k{color:#FFD08A;margin-bottom:10px}
.bl-about h2{font:800 clamp(1.6rem,5.4vw,2.2rem)/1.08 var(--display);letter-spacing:-.022em;text-wrap:balance}
.bl-about p{margin-top:12px;font:400 16.5px/1.55 var(--sans);color:var(--on-violet);max-width:58ch}
.bl-about h2{max-width:22ch}
.bl-about .go{margin-top:22px;display:grid;gap:10px;justify-items:start}
.bl-about .calm{margin:0;color:var(--on-violet)}
.bl-about .more{color:#fff}
@media (min-width:760px){.bl-about{padding:44px 48px}}
@media (max-width:520px){.bl-about .cta{width:100%;white-space:normal;text-align:center}}

.bl-more{max-width:1120px;margin:56px auto 0}
.bl-more h2{font:800 1.5rem/1.1 var(--display);letter-spacing:-.015em;margin-bottom:16px}
.bl-more ul{list-style:none;display:grid;gap:12px}
.bl-more a{display:grid;gap:6px;height:100%;padding:18px 18px 16px;border-radius:12px;background:var(--paper-2);color:var(--ink);text-decoration:none}
.bl-more a:hover{background:var(--soft)}
.bl-more b{font:800 1.12rem/1.2 var(--display);letter-spacing:-.01em}
.bl-more span{font:400 15px/1.5 var(--sans);color:var(--ink-2)}
@media (min-width:760px){.bl-more ul{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* the link list in the before/after shows two links on a phone, like the card row */
@media (max-width:599px){.bl-l3{display:none}}

/* on a narrow phone a button may wrap instead of running past the edge */
@media (max-width:420px){.bl .cta:not(.cta-sm){max-width:100%;white-space:normal;text-align:center}}

/* the steps read like the rest of the post */
.bl-body ol.sub{margin:1.4em 0 2em}
.bl-body ol.sub h3{margin-top:0;font-size:1.22rem}
.bl-body ol.sub p{font:400 18px/1.65 var(--serif);color:var(--text)}
@media (min-width:760px){.bl-body ol.sub p{font-size:19px}}
/* the example sum keeps its distance from the text */
.bl-body .calc{margin:2.4em 0 2em}
/* on a phone the drawn tick may not push the page sideways; on a wide screen it may reach past the panel */
@media (max-width:999px){.bl-ba{overflow-x:hidden;overflow-x:clip}}

/* from 1100px: text on the left, contents and a short note on the right, sticky */
@media (min-width:1100px){
  .bl-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:64px;margin-top:64px}
  .bl-body{max-width:none}
  .bl-side{display:block}
  .bl-side-in{position:sticky;top:28px;display:grid;gap:28px}
}
.bl-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:2px;counter-reset:t}
.bl-toc li{counter-increment:t}
.bl-toc a{display:grid;grid-template-columns:22px 1fr;gap:6px;padding:7px 0;border-top:1px solid var(--line);font:500 14.5px/1.35 var(--sans);color:var(--ink-2);text-decoration:none}
.bl-toc a::before{content:counter(t);font:800 13px/1.5 var(--display);color:var(--orange)}
.bl-toc a:hover{color:var(--violet)}
.bl-side-box{background:var(--soft);border-radius:12px;padding:18px 18px 16px}
.bl-side-box p{font:400 14.5px/1.5 var(--sans);color:var(--ink-2);margin-bottom:10px}
.bl-side-box b{display:block;margin-bottom:4px;font:800 1.05rem/1.2 var(--display);color:var(--ink)}

/* real screenshots in a browser frame (05.12.) */
.bl-shot .browser img{border-radius:0}
.bl-two p:not(.bl-k){margin:0;font:400 16.5px/1.6 var(--sans);color:var(--ink-2)}
.bl-two .bl-k{margin-bottom:8px}
