/* The Busy Book blog (/blog/), on top of the public site's look (static/front/site.css). */
.blog-hero { position: relative; padding: 56px 0 30px; background:
  radial-gradient(800px 420px at 85% 0%, rgba(45, 212, 191, .16), transparent 62%),
  radial-gradient(640px 380px at 0% 100%, rgba(15, 118, 110, .07), transparent 60%), var(--cloud); border-bottom: 1px solid var(--line); }
.blog-hero h1 { margin: 16px 0 14px; font-size: clamp(2.2rem, 4.8vw, 3.5rem); max-width: 16em; }
.blog-hero .lead { margin-bottom: 26px; }
.blog-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.blog-crumbs a { font-weight: 600; }
.blog-crumbs i { font-size: .62rem; opacity: .6; }
.blog-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-topics a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); font-weight: 700; font-size: .92rem; }
.blog-topics a i { color: var(--teal); font-size: .85rem; }
.blog-topics a:hover { border-color: var(--teal); color: var(--ink); }
.blog-topics a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.blog-topics a.is-on i { color: var(--mint); }

.blog-list { padding-top: 40px; padding-bottom: 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 2px rgba(11, 27, 43, .04); transition: box-shadow .18s, transform .18s, border-color .18s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--tint-2); }
.blog-card-img img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--ink); }
.blog-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.blog-card-body .tag { align-self: flex-start; }
.blog-card h2, .blog-card h3 { font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.02em; }
.blog-card h2 a, .blog-card h3 a { color: var(--ink); }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--teal); }
.blog-card p { color: var(--body); font-size: .96rem; line-height: 1.55; }
.blog-meta { margin-top: auto; color: var(--muted); font-size: .85rem; font-weight: 600; }
.blog-card-big { grid-column: span 3; flex-direction: row; }
.blog-card-big .blog-card-img { flex: 0 0 56%; }
.blog-card-big .blog-card-img img { height: 100%; }
.blog-card-big .blog-card-body { padding: 32px; justify-content: center; }
.blog-card-big h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }
.blog-card-big p { font-size: 1.05rem; }
.blog-foot-cta { padding-bottom: 72px; }

/* One post */
.post-head { padding: 44px 0 28px; background: var(--cloud); border-bottom: 1px solid var(--line); }
.post-narrow { max-width: 860px; }
.post-head h1 { margin: 16px 0 14px; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; }
.post-head .lead { max-width: 40em; }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 22px; font-size: .92rem; }
.post-byline b { display: block; color: var(--ink); }
.post-byline small { display: block; color: var(--muted); }
.post-dates { color: var(--muted); font-weight: 600; }
.post-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.post-avatar-big { width: 56px; height: 56px; font-size: 1.05rem; }

.post-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.post-toc details { position: sticky; top: 96px; }
.post-toc summary { font-weight: 800; color: var(--ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; margin-bottom: 12px; list-style: none; }
.post-toc summary::-webkit-details-marker { display: none; }
.post-toc ol { display: grid; gap: 4px; border-left: 2px solid var(--line); }
.post-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--body); font-size: .92rem; line-height: 1.35; }
.post-toc a:hover, .post-toc a.is-on { color: var(--teal); border-left-color: var(--teal); }

.post-cover { width: 100%; height: auto; border-radius: var(--r); margin-bottom: 28px; box-shadow: var(--shadow); }
.post-body { min-width: 0; font-size: 1.08rem; line-height: 1.75; color: var(--body); }
.post-body > p, .post-body > ul, .post-body > ol, .post-body > blockquote { margin: 0 0 1.2em; }
.post-body h2 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); line-height: 1.2; margin: 1.8em 0 .6em; scroll-margin-top: 96px; }
.post-body h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; scroll-margin-top: 96px; }
.post-body strong { color: var(--ink); }
.post-body a:not(.btn):not(.yt) { text-decoration: underline; text-decoration-color: var(--tint-2); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.post-body a:not(.btn):not(.yt):hover { text-decoration-color: var(--teal); }
.post-body ul { list-style: disc; padding-left: 1.3em; }
.post-body ol { list-style: decimal; padding-left: 1.4em; }
.post-body li { margin: .35em 0; padding-left: .2em; }
.post-body li::marker { color: var(--teal); font-weight: 700; }
.post-body blockquote { border-left: 4px solid var(--teal-bright); background: var(--tint); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.post-body blockquote p { margin: 0; }
.post-box { display: flex; gap: 14px; margin: 1.6em 0; padding: 18px 20px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--tint-2); }
.post-box > i { color: var(--teal); margin-top: 6px; }
.post-box strong { display: block; margin-bottom: 4px; }
.post-box p { margin: 0; font-size: 1rem; line-height: 1.6; }
.post-box-warn { background: var(--sun-bg); border-color: #FDE68A; }
.post-box-warn > i { color: #B45309; }
.post-box-note { background: var(--cloud); border-color: var(--line); }
.post-box-note > i { color: var(--muted); }
.post-table { overflow-x: auto; margin: 1.4em 0 1.8em; border: 1px solid var(--line); border-radius: var(--r-sm); }
.post-table table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.post-table th, .post-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-table thead th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.post-table tbody th { color: var(--ink); font-weight: 700; background: var(--cloud); }
.post-table tbody tr:last-child th, .post-table tbody tr:last-child td { border-bottom: 0; }

.post-video { margin: 1.8em 0; }
.post-video .yt { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.post-video .yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.post-video .yt-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(15, 118, 110, .94); color: #fff; display: grid; place-items: center; font-size: 1.5rem; padding-left: 5px; box-shadow: 0 12px 34px rgba(11, 27, 43, .4); transition: transform .18s; }
.post-video .yt:hover .yt-play { transform: scale(1.06); }
.post-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); display: block; }
.post-video figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); font-weight: 600; }
.post-video figcaption i { color: #E11D48; margin-right: 4px; }

.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px; margin: 2.4em 0 0; padding: 28px 30px; border-radius: var(--r-lg); background:
  radial-gradient(520px 260px at 100% 0%, rgba(45, 212, 191, .22), transparent 62%), var(--ink); color: #CBD5E1; }
.post-cta h2 { color: #fff; font-size: 1.5rem; margin: 12px 0 8px; line-height: 1.2; }
.post-cta p { margin: 0; font-size: 1rem; line-height: 1.6; max-width: 34em; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.post-cta-inline { margin: 2em 0; }
.post-cta-inline h2 { margin-top: 12px; }

.post-author { display: flex; gap: 16px; margin-top: 2.4em; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cloud); }
.post-author b { color: var(--ink); font-size: 1.05rem; }
.post-author p { margin: 4px 0 0; font-size: .98rem; line-height: 1.6; }
.post-author-links { display: flex; gap: 16px; font-weight: 700; }
.post-related { padding-top: 16px; padding-bottom: 72px; }
.post-related h2 { font-size: 1.8rem; margin-bottom: 20px; }

@media (max-width: 1020px) {
  .post-layout { grid-template-columns: minmax(0, 720px); gap: 0; }
  .post-toc details { position: static; margin-bottom: 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cloud); }
  .post-toc summary { margin-bottom: 0; }
  .post-toc details[open] summary { margin-bottom: 12px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card-big { grid-column: span 2; }
}
@media (max-width: 680px) {
  .blog-hero { padding-top: 36px; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-card-big { grid-column: auto; flex-direction: column; }
  .blog-card-big .blog-card-body { padding: 20px; }
  .post-head { padding-top: 28px; }
  .post-body { font-size: 1.02rem; }
  .post-cta { padding: 24px 22px; }
  .post-table table { font-size: .88rem; }
}

/* The blog's front page (templates/blog/index.html with front=True): Jazmine's welcome, Start here, big guides, tools */
.bf-hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.bf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: center; padding-block: 52px 44px; }
.bf-hero h1 { margin: 16px 0 14px; font-size: clamp(2.2rem, 4.8vw, 3.4rem); max-width: 16em; }
.bf-hero .lead { max-width: 54ch; }
.bf-search { margin-top: 24px; display: flex; gap: 8px; max-width: 540px; background: #fff; border: 1.5px solid var(--tint-2); border-radius: 999px; padding: 6px; }
.bf-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 8px 14px; }
.bf-search input:focus { outline: none; }
.bf-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.bf-search button { border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 800; font-size: .92rem; padding: 10px 20px; cursor: pointer; }
.bf-me { margin: 0; background: #fff; border-radius: 18px; padding: 12px 12px 16px; box-shadow: 0 18px 40px rgba(11, 27, 43, .12); }
.bf-me img { width: 100%; height: auto; border-radius: 12px; display: block; }
.bf-me figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.bf-me b { display: block; color: var(--ink); font-size: .95rem; }
.bf-band { padding-block: 48px; }
.bf-soft { background: var(--cloud); border-block: 1px solid var(--line); }
.bf-head { margin-bottom: 22px; }
.bf-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; }
.bf-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bf-door { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 24px; color: var(--body); transition: border-color .18s, box-shadow .18s; }
.bf-door:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--body); }
.bf-who { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.65rem; line-height: 1.1; color: var(--teal); }
.bf-door h3 { font-size: 1.12rem; color: var(--ink); }
.bf-door ol { margin: 2px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: .94rem; }
.bf-go { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: .92rem; color: var(--teal); }
.bf-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bf-guide { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--body); transition: box-shadow .18s, transform .18s; }
.bf-guide:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--body); }
.bf-guide img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--ink); display: block; }
.bf-guide-body { display: grid; gap: 6px; padding: 16px 18px 18px; }
.bf-guide-body small { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.bf-guide-body b { color: var(--ink); font-size: 1.08rem; line-height: 1.3; }
.bf-guide-body span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.bf-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.bf-tool { display: grid; gap: 8px; align-content: start; background: var(--tint); border-radius: var(--r); padding: 20px; color: var(--body); }
.bf-tool:hover { box-shadow: var(--shadow); color: var(--body); }
.bf-tool h3 { font-size: 1.05rem; color: var(--ink); }
.bf-tag { justify-self: start; font-size: .74rem; font-weight: 800; border-radius: 999px; padding: 3px 10px; background: #fff; color: var(--teal); }
.bf-pages { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.bf-pages a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 800; }
.bf-pages a.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.bf-join-wrap { padding-top: 48px; padding-bottom: 8px; }
.bf-join { background: var(--ink); color: #D7E3EA; border-radius: 22px; padding: 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; align-items: center; }
.bf-join h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0 8px; }
.bf-join h2 .em { color: var(--mint); }
.bf-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.bf-join-row { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; }
.bf-join-row input { flex: 1; min-width: 0; border: 0; font: inherit; color: var(--ink); padding: 8px 14px; background: transparent; }
.bf-join-row input:focus { outline: none; }
.bf-join-row button { border: 0; border-radius: 999px; background: var(--teal); color: #fff; font: inherit; font-weight: 800; font-size: .92rem; padding: 10px 18px; cursor: pointer; }
.bf-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .86rem; color: #B8CAD4; }
.bf-consent input { margin-top: 3px; accent-color: var(--teal); }
@media (max-width: 920px) {
  .bf-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .bf-me { max-width: 280px; }
  .bf-doors, .bf-guides { grid-template-columns: minmax(0, 1fr); }
  .bf-join { grid-template-columns: minmax(0, 1fr); padding: 26px; }
}
@media (max-width: 460px) { .bf-join-row { flex-direction: column; border-radius: 16px; } .bf-join-row button { width: 100%; } }

/* The Launch Bootcamp box on posts for readers still thinking about starting (only while the bootcamp is Open) */
.post-bootcamp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin: 2.4em 0 0; padding: 24px 28px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--tint-2); }
.post-bootcamp h2 { color: var(--ink); font-size: 1.3rem; margin: 10px 0 6px; line-height: 1.25; }
.post-bootcamp p { margin: 0; font-size: .98rem; line-height: 1.6; max-width: 34em; }
.post-bootcamp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .post-bootcamp { padding: 22px 20px; } }
