/* Case study (merchant story) posts: Summary panel with highlights, quote and lists, plus the notes under the body.
   Loaded only with blogTemplate: case-study. Colours follow comparison.css: grey panel, white cards. */

.case-study-summary{margin:0 0 56px;padding:24px;background:#f6f6f8;border:1px solid #eeeef1;border-radius:9px}
/* Merchant row at the top of the Summary: optional logo (aspect ratio kept within 40x220px, so wide wordmarks stay legible), then
   "Merchant story · store · industry". */
.case-study-merchant{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 18px}
.case-study-logo{display:block;flex:none;height:40px;width:auto;max-width:220px;object-fit:contain;object-position:left center}
.article-body .case-study-merchant p{margin:0;font-size:13px;line-height:1.5;color:#5c556a}
.case-study-kicker{font-weight:600;color:#4e50b8}
.article-body .case-study-summary h2{margin:0 0 16px;font-size:28px;font-weight:600;line-height:1.3;letter-spacing:-.02em}
.article-body .case-study-intro{margin:0 0 24px;font-size:17px;line-height:1.7;color:#5c556a}

/* Highlight strip: 2-4 white cards, value over label. One column on phones, then as many as fit. */
.article-body .case-study-highlights{list-style:none;display:grid;grid-template-columns:1fr;gap:12px;padding:0;margin:0 0 28px}
.article-body .case-study-highlights li{display:flex;flex-direction:column;gap:4px;margin:0;padding:18px 20px;background:#fff;border:1px solid #eeeef1;border-radius:9px}
.case-study-highlights strong{font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-.02em;color:#25252b;font-variant-numeric:tabular-nums}
.case-study-highlights span{font-size:14px;line-height:1.5;color:#5c556a}

/* Pull quote: same family as the blog home's story slide (landing.css .spotlight-story-quote): large indigo Georgia
   opening mark in its own column, quote then name and role beside it. Scaled up for the page. */
.article-body .case-study-quote{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;margin:0 0 28px;min-width:0}
.case-study-quote::before{content:"\201C";grid-row:1/span 2;font:700 56px/.9 Georgia,"Times New Roman",serif;color:#6366f1}
.article-body .case-study-quote blockquote{margin:0;min-width:0}
.article-body .case-study-quote blockquote p{margin:0 0 8px;font-size:21px;line-height:1.5;color:#212529}
.case-study-quote figcaption{font-size:14px;line-height:1.5;color:#343139}
.case-study-quote figcaption strong{color:#212529;font-weight:600}

.case-study-lists{display:grid;grid-template-columns:1fr;gap:16px}
.case-study-lists>div{padding:20px 22px;background:#fff;border:1px solid #eeeef1;border-radius:9px}
.article-body .case-study-lists h3{margin:0 0 10px;font-size:17px;font-weight:600;line-height:1.4}
.article-body .case-study-lists ul{margin:0;padding-left:20px}
.article-body .case-study-lists li{margin:0 0 6px;font-size:15px;line-height:1.6;color:#5c556a}
.article-body .case-study-lists li:last-child{margin-bottom:0}

/* Measurement method and disclosure under the body (each optional). */
.case-study-notes{margin:40px 0 0;padding:16px 20px;background:#f6f6f8;border:1px solid #eeeef1;border-radius:9px}
.article-body .case-study-notes p{margin:0 0 8px;font-size:14px;line-height:1.6;color:#6a6771}
.article-body .case-study-notes p:last-child{margin-bottom:0}
.case-study-notes strong{color:#5c556a;font-weight:600}

@media(min-width:560px){
  .case-study-summary{padding:36px}
  .article-body .case-study-highlights{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
  .case-study-lists{grid-template-columns:1fr 1fr}
}
