/* Jolt Club blog: article styles on top of /joltclub.css (same tokens, fonts and dark mode). */
.crumbs { font-size: 14px; color: var(--ink2); }
.crumbs a { text-decoration: none; font-weight: 800; }
.crumbs span[aria-hidden] { margin: 0 6px; opacity: .6; }

.hero .eyebrow { display: inline-block; background: rgba(255, 255, 255, .2); color: #fff; border-radius: 999px;
  padding: 5px 14px; font-weight: 800; font-size: 13px; margin: 0 0 12px; }
.hero .dek { font-size: 18px; margin-bottom: 14px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; position: relative; z-index: 1; }
.byline span { color: #fff; opacity: .9; }
.byline b { color: #fff; }

.post { padding: 26px 24px; }
.post p, .post li { font-size: 17.5px; line-height: 1.7; }
.post p { margin: 0 0 16px; }
.post ul, .post ol { margin: 0 0 16px; }
.post li { margin-bottom: 6px; }
.post h2 { font-size: clamp(22px, 3.6vw, 27px); margin: 38px 0 12px; scroll-margin-top: 16px; text-wrap: balance; }
.post h3 { font-size: 20px; margin: 26px 0 8px; }
.post .answer { font-size: 18.5px; color: var(--ink); }
.post a { font-weight: 800; text-underline-offset: 2px; }

.note { background: var(--chip); border-radius: 20px; padding: 16px 18px; margin: 0 0 20px; }
.note p { margin: 0; font-size: 15.5px; }
.note.med p { font-size: 14.5px; }

.takeaways { background: var(--chip); border-radius: 22px; padding: 18px 22px; margin: 6px 0 22px; }
.takeaways h2 { font-size: 19px; margin: 0 0 8px; }
.takeaways ul { margin: 0; }
.takeaways li { font-size: 16px; }

.toc { background: var(--cream); border-radius: 22px; padding: 16px 22px; margin: 0 0 8px; }
.toc summary { font-family: Fredoka, ui-rounded, sans-serif; font-weight: 700; font-size: 18px; cursor: pointer; color: var(--ink); }
.toc ol { margin: 10px 0 0; }
.toc li { font-size: 15.5px; margin-bottom: 4px; }
.toc a { text-decoration: none; font-weight: 700; }

.table { margin: 0 0 20px; background: var(--cream); border-radius: 20px; padding: 6px 10px; }
.post table { font-size: 15.5px; }
.post th, .post td { padding: 10px 8px; }

.faq details { background: var(--cream); border-radius: 20px; padding: 2px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 14px 0; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { font-size: 16px; }

.sources { margin-top: 30px; }
.sources h2 { font-size: 19px; margin: 0 0 8px; }
.sources li, .sources p { font-size: 14.5px; }

.author-box { display: flex; gap: 14px; align-items: flex-start; background: var(--chip); border-radius: 22px; padding: 16px 18px; margin-top: 24px; }
.author-box img { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; }
.author-box p { font-size: 15px; margin: 0; }

.related h2 { margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
a.card { display: block; text-decoration: none; transition: transform .12s ease; }
a.card:hover { transform: translateY(-2px); }
a.card h3 { color: var(--ink); margin: 6px 0 6px; font-size: 18px; line-height: 1.3; }
a.card p { font-size: 15px; margin: 0; }

.cta { background: linear-gradient(135deg, #7C3AED, #FF5A5F); color: #fff; border-radius: 36px; padding: 34px 24px;
  text-align: center; box-shadow: 0 12px 30px rgba(255, 90, 95, .3); }
.cta .cta-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 14px; display: block; }
.cta h2 { color: #fff; font-size: clamp(24px, 4.5vw, 32px); text-wrap: balance; }
.cta p { color: #fff; opacity: .94; font-size: 17px; max-width: 52ch; margin: 0 auto 20px; }
.cta .cta-btn { background: #fff; color: #7C3AED; max-width: 320px; margin: 0 auto; box-shadow: 0 10px 22px rgba(27, 16, 54, .25); }

@media (max-width: 560px) {
  .post { padding: 22px 18px; }
  .post p, .post li { font-size: 16.5px; }
}

/* app screenshot figures inside posts */
.shot-fig { margin: 8px 0 26px; background: var(--chip); border-radius: 26px; overflow: hidden; text-align: center; }
.fig-shot { height: 340px; overflow: hidden; display: flex; justify-content: center; padding-top: 24px; }
.fig-shot img { width: 240px; height: auto; align-self: flex-start; filter: drop-shadow(0 16px 22px rgba(27, 16, 54, .2));
  -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.shot-fig figcaption { background: var(--card); padding: 14px 18px 16px; font-size: 14.5px; color: var(--ink2); }
