/* Blog: the index at /blog and every post. Loaded after styles.css, so it
   reuses the site's colour tokens (--white, --txt, --mute, --blue-d, --panel,
   --line...) and works in light and dark without its own theme rules. */

.post { max-width: 740px; margin: 0 auto; padding: 56px 24px 40px }
.post-back { display: inline-block; font-family: var(--mono); font-size: 13.5px; color: var(--blue-d); text-decoration: none; margin-bottom: 26px }
.post-back:hover { text-decoration: underline }

.post h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; color: var(--white); margin: 20px 0 0 }
.post h1 .b { color: var(--blue-d) }
.post-dek { font-size: 19px; line-height: 1.55; color: var(--mute); margin-top: 18px }

.post-by { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line) }
.post-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto }
.post-by .nm { font-weight: 700; color: var(--white); font-size: 15px; line-height: 1.3 }
.post-by .mt { font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: .02em; margin-top: 3px }

/* "In short": the summary an AI answer engine or a skimming reader lifts */
.post-tldr { margin-top: 30px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--blue-d); border-radius: 14px; padding: 20px 22px; box-shadow: var(--sh) }
.post-tldr .lb { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-d); margin-bottom: 10px }
.post-tldr ul { margin: 0 0 0 18px; display: grid; gap: 8px }
.post-tldr li { font-size: 15px; line-height: 1.6; color: var(--txt) }
.post-tldr li b { color: var(--white) }

.post-body { margin-top: 10px }
.post-body h2 { font-size: clamp(23px, 3vw, 28px) !important; line-height: 1.2; letter-spacing: -.025em; font-weight: 800; color: var(--white); margin: 46px 0 4px }
.post-body h3 { font-size: 19px; line-height: 1.3; font-weight: 800; color: var(--white); letter-spacing: -.01em; margin: 30px 0 2px }
.post-body p, .post-body li { font-size: 17px; line-height: 1.75; color: var(--txt) }
.post-body p { margin-top: 16px }
.post-body b, .post-body strong { color: var(--white); font-weight: 700 }
.post-body a { color: var(--blue-d) }
.post-body ul, .post-body ol { margin: 14px 0 0 22px; display: grid; gap: 8px }
.post-body li::marker { color: var(--blue-d); font-weight: 700 }

.post-quote { margin: 28px 0 6px; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue-d) }
.post-quote p { margin: 0 !important; font-size: 21px !important; line-height: 1.5 !important; font-weight: 700; color: var(--white) !important; letter-spacing: -.015em }
.post-quote .by { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); letter-spacing: .04em }

/* the numbers row */
.post-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px }
.post-stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; box-shadow: var(--sh) }
.post-stat .v { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--blue-d); line-height: 1; font-variant-numeric: tabular-nums }
.post-stat .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); margin-top: 8px; line-height: 1.4 }
.post-stat.win { background: var(--blue-d); border-color: var(--blue-d) }
.post-stat.win .v, .post-stat.win .l { color: #fff }

/* a real email, set as it was sent */
.post-email { margin-top: 24px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; box-shadow: var(--sh); overflow: hidden }
.post-email .eh { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--panel2); font-family: var(--mono); font-size: 11.5px; color: var(--mute) }
.post-email .eh b { color: var(--white); font-weight: 600 }
.post-email .eb { padding: 6px 18px 18px }
.post-email .eb p { font-size: 16px; line-height: 1.65; color: var(--white); margin-top: 14px }
.post-email .ef { padding: 11px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--mute) }

/* a script line to copy */
.post-script { margin-top: 22px; background: var(--desk); color: #E8EAEE; border-radius: 14px; padding: 18px 20px; font-size: 16.5px; line-height: 1.65 }
.post-script .lb { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #6E9BFF; margin-bottom: 8px }

/* the video, at the end of every post: thumbnail + link to YouTube */
.post-video { margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--line) }
.post-video .lb { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-d) }
.post-video h2 { font-size: clamp(22px, 3vw, 26px) !important; font-weight: 800; color: var(--white); letter-spacing: -.02em; line-height: 1.25; margin: 10px 0 18px }
.pv-card { display: block; position: relative; border: 8px solid var(--blue-d); border-radius: 20px; overflow: hidden; text-decoration: none; box-shadow: 0 6px 0 color-mix(in srgb, var(--blue-d) 55%, #000), 0 40px 90px -30px rgba(18,111,255,.5); transition: transform .2s }
.pv-card:hover { transform: translateY(-2px) }
.pv-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover }
.pv-card .pv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding-left: 6px; background: rgba(10,11,13,.82); border: 3px solid #fff; color: #fff; font-size: 28px; line-height: 1; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s, background .2s }
.pv-card:hover .pv-play { transform: translate(-50%, -50%) scale(1.08); background: var(--blue-d) }
.pv-card .len { position: absolute; right: 16px; bottom: 16px; background: rgba(10,11,13,.85); color: #fff; font-family: var(--mono); font-size: 12px; padding: 5px 9px; border-radius: 7px }
.pv-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--blue-d); text-decoration: none; font-size: 15px }
.pv-link:hover { text-decoration: underline }

/* closing call to action */
.post-cta { max-width: 740px; margin: 10px auto 0; padding: 0 24px 70px }
.post-cta-in { background: linear-gradient(158deg, #141416, #0B0B0D); border: 1px solid #23242B; border-radius: 18px; padding: 30px 28px; text-align: center }
.post-cta-in h2 { font-size: clamp(22px, 3vw, 28px) !important; color: #fff; font-weight: 800; letter-spacing: -.025em; line-height: 1.2 }
.post-cta-in p { color: #A9AEB7; font-size: 15px; line-height: 1.6; margin: 10px auto 20px; max-width: 520px }

.post-more { max-width: 740px; margin: 0 auto; padding: 0 24px 70px }
.post-more .lb { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px }

/* cards: the blog index and "more from the blog" */
.bcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.bcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: var(--sh); transition: transform .2s, border-color .2s }
.bcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--blue-d) 40%, var(--line)) }
.bcard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line) }
.bcard .bc-in { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1 }
.bcard .bc-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-d) }
.bcard h3 { font-size: 18px; line-height: 1.3; font-weight: 800; color: var(--white); letter-spacing: -.015em }
.bcard p { font-size: 14.5px; line-height: 1.6; color: var(--mute) }
.bcard .bc-go { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14px; color: var(--blue-d) }
.post-more .bcards { grid-template-columns: repeat(2, 1fr) }

.blog-head { max-width: 1080px; margin: 0 auto; padding: 64px 24px 30px; text-align: center }
.blog-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; color: var(--white); margin-top: 20px }
.blog-head h1 .b { color: var(--blue-d) }
.blog-head p { font-size: 17px; color: var(--mute); max-width: 600px; margin: 16px auto 0; line-height: 1.62 }
.blog-list { max-width: 1080px; margin: 0 auto; padding: 10px 24px 90px }

@media (max-width: 860px) {
  .bcards { grid-template-columns: 1fr 1fr }
}
@media (max-width: 600px) {
  .post { padding-top: 36px }
  .post-dek { font-size: 17px }
  .post-body p, .post-body li { font-size: 16.5px }
  .post-stats { grid-template-columns: 1fr 1fr }
  .bcards, .post-more .bcards { grid-template-columns: 1fr }
  .pv-card { border-width: 6px; border-radius: 16px }
  .pv-card .pv-play { width: 62px; height: 62px; font-size: 21px; padding-left: 4px }
  .pv-card .len { right: 10px; bottom: 10px }
}

/* a tool's logo next to its name in the text */
.tl { white-space: nowrap }
.tl img { display: inline-block; width: 1.15em; height: 1.15em; border-radius: 4px; vertical-align: -0.2em; margin-right: .3em; object-fit: contain }
