/* ==========================================================================
   Case study pages (/case-studies/:slug) + shared blocks used by /testimonials
   Palette follows the site: navy #0A1A6F, yellow #FFBC00, soft blue #F3F6FF
   ========================================================================== */

.cs-page, .cs-hub-hero, .cs-real-banner, .cs-cta-band-wrap { font-family: 'Poppins', sans-serif; }

/* ---------- Buttons (same pattern as the site CTAs: outline <-> fill, arrow nudges on hover) ---------- */
.cs-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none !important; border: 1.5px solid #0A1A6F;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.cs-arrow { flex: 0 0 auto; transition: transform .22s ease; }
a:hover > .cs-arrow, a:hover .cs-arrow { transform: translateX(4px); }
body a.cs-btn--primary { background: #0A1A6F; color: #fff !important; }
body a.cs-btn--primary:hover { background: #fff; color: #0A1A6F !important; border-color: #0A1A6F; box-shadow: 0 8px 20px rgba(10, 26, 111, .18); }
body a.cs-btn--ghost { background: transparent; color: #0A1A6F !important; }
body a.cs-btn--ghost:hover { background: #0A1A6F; color: #fff !important; }
body a.cs-btn--yellow { background: #FFCC00; border-color: #FFCC00; color: #0A1A6F !important; }
body a.cs-btn--yellow:hover { background: #fff; border-color: #fff; color: #0A1A6F !important; }

/* ---------- CTA band (shared) ---------- */
.cs-cta-band-wrap { padding: 40px 0; }
.cs-cta-band {
  background: #0A1A6F; border-radius: 16px; padding: 44px 32px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; text-align: center;
}
.cs-cta-band__eyebrow { display: block; color: #FFBC00; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.cs-cta-band__eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: #FFBC00; vertical-align: middle; margin-right: 10px; }
.cs-cta-band__title { color: #fff; font-size: 1.9rem; font-weight: 600; line-height: 1.3; margin: 0; max-width: 560px; }
.cs-cta-band__right { max-width: 560px; }
.cs-cta-band__right p { color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.7; margin: 0 0 20px; }
body a.cs-cta-band__btn {
  display: inline-flex; align-items: center; gap: 8px; background: #FFCC00; border: 2px solid #FFCC00; color: #0A1A6F !important; font-weight: 600;
  font-size: 14px; padding: 11px 22px; border-radius: 8px; text-decoration: none !important; transition: background .22s ease, color .22s ease;
}
body a.cs-cta-band__btn:hover { background: #fff; border-color: #fff; color: #0A1A6F !important; }

/* ---------- Hub: hero ---------- */
.cs-hub-hero { padding: 56px 0 24px; background: #fff; }
.cs-hub-hero__title { font-size: 2.6rem; font-weight: 700; color: #0A1A6F; line-height: 1.2; margin: 0 0 12px; }
.cs-hub-hero__subtitle { font-size: 1.25rem; font-weight: 600; color: #2665C4; margin: 0 0 12px; line-height: 1.4; }
.cs-hub-hero__text { font-size: 1rem; color: #64748B; line-height: 1.7; margin: 0 0 26px; max-width: 520px; }
.cs-hub-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cs-hub-hero__img { max-width: 100%; height: auto; }

/* ---------- Hub: intro above the grid ---------- */
.cs-hub-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.cs-hub-intro__title { font-size: 2rem; font-weight: 700; color: #0A1A6F; line-height: 1.3; margin: 0; }
.cs-hub-intro__text { color: #64748B; font-size: .95rem; max-width: 280px; margin: 0; }

/* ---------- Hub: "Built around real customer experiences" banner ---------- */
.cs-real-banner { background: linear-gradient(120deg, #0A1A6F 0%, #1738C8 100%); padding: 56px 0; overflow: hidden; }
.cs-real-banner__title { color: #fff; font-size: 2.1rem; font-weight: 700; line-height: 1.25; margin: 0 0 16px; }
.cs-real-banner__title span { color: #FFBC00; }
.cs-real-banner__text { color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.75; max-width: 560px; margin: 0 0 24px; }
.cs-real-banner__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cs-real-banner__list li { display: flex; gap: 12px; align-items: center; color: #fff; transition: transform .25s ease; }
.cs-real-banner__list li:hover { transform: translateX(4px); }
.cs-real-banner__list strong { display: block; font-size: .9rem; font-weight: 600; }
.cs-real-banner__list small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .7); }
.cs-real-banner__tick { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #FFBC00; color: #0A1A6F; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; transition: background .25s; }
.cs-real-banner__list li:hover .cs-real-banner__tick { background: #FFCC00; }
.cs-real-banner__img { max-width: 100%; height: auto; }

/* ---------- Customer cards: new rows (speaker, Read Case Study) ---------- */
.testimonial-video-card { display: flex; flex-direction: column; }
.testimonial-video-card__info { justify-content: space-between; }
.testimonial-video-card__quote-text { padding: 0 16px; }
.testimonial-video-card__speaker { margin: 10px 16px 24px; padding: 2px 0 2px 10px; border-left: 3px solid #FFBC00; display: flex; flex-direction: column; gap: 1px; }
.testimonial-video-card__speaker-name { font-size: .82rem; font-weight: 600; color: #0A1A6F; line-height: 1.35; }
.testimonial-video-card__speaker-note { font-size: .7rem; font-style: italic; font-weight: 400; color: #94a3b8; line-height: 1.4; }
.testimonial-video-card__speaker-role { font-size: .72rem; font-weight: 400; color: #64748B; line-height: 1.4; }
.testimonial-video-card .testimonial-video-card__stats { margin-top: 0; }
.testimonial-video-card__footer { padding: 12px 16px 16px; margin-top: auto; }
.testimonial-video-card__cta {
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: #0A1A6F;
  text-decoration: none; transition: gap .2s ease, color .2s ease;
}
body a.testimonial-video-card__cta:hover { color: #0A1A6F !important; text-decoration: none !important; }
a.testimonial-video-card__thumb { display: block; }

/* ==========================================================================
   Case study page
   ========================================================================== */
.cs-page { color: #1e293b; padding: 64px 0 8px; }
.cs-top { display: block; }
.cs-wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.cs-wrap--wide { max-width: 1040px; }

/* Breadcrumb: same look as the landing / country pages (.lp-breadcrumb), left aligned */
.cs-breadcrumb { padding: 0; margin: 0 0 22px; font-family: 'Poppins', sans-serif; text-align: left; }
.cs-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.cs-breadcrumb ol li { font-size: 13px; color: #94a3b8; }
.cs-breadcrumb ol li a { color: #94a3b8; text-decoration: none; }
.cs-breadcrumb ol li a:hover { color: #0a1a6f; }
.cs-breadcrumb ol li[aria-current="page"] { color: #475569; font-weight: 500; }
.cs-breadcrumb ol li + li::before { content: "›"; margin-right: 4px; color: #cbd5e1; }

.cs-label { display: block; text-align: center; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: #2665C4; margin-bottom: 10px; }
.cs-h1 { font-size: 2.1rem; font-weight: 700; color: #0A1A6F; line-height: 1.3; text-align: center; margin: 0 0 16px; }
.cs-sub { max-width: 760px; margin: 0 auto 16px; text-align: center; font-size: 1rem; line-height: 1.7; color: #64748B; }
.cs-byline { text-align: center; font-size: 12px; color: #94a3b8; margin-bottom: 30px; }
.cs-byline span + span::before { content: "\00b7"; margin: 0 8px; }

.cs-short { background: #F3F6FF; border-left: 4px solid #0A1A6F; border-radius: 4px 12px 12px 4px; padding: 20px 24px; margin-bottom: 30px; }
.cs-short__label { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: #0A1A6F; margin-bottom: 8px; }
.cs-short p { margin: 0; font-size: .95rem; line-height: 1.8; color: #334155; }

/* video */
.cs-video { max-width: min(780px, 100%, calc((100vh - 220px) * 16 / 9)); margin: 0 auto 32px; }
.cs-video__frame { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #0A1A6F; cursor: pointer; box-shadow: 0 10px 30px rgba(10, 26, 111, .18); }
.cs-video__frame img, .cs-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.cs-video--portrait { max-width: min(340px, 100%, calc((100vh - 220px) * 9 / 16)); }
.cs-video--portrait .cs-video__frame { padding-top: 177.78%; }
.cs-quote--inline { margin: 24px 0; }
.cs-video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%;
  background: #FFBC00; color: #0A1A6F; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 0;
  transition: transform .25s ease, background .25s ease;
}
.cs-video__frame:hover .cs-video__play { transform: translate(-50%, -50%) scale(1.1); background: #FFCC00; }
.cs-video__meta { margin-top: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cs-video__type { flex: 0 0 auto; font-size: 10px; letter-spacing: .5px; color: #94a3b8; text-align: right; }
.cs-video__note { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #94a3b8; margin-bottom: 2px; }
.cs-video__title { font-size: .9rem; font-weight: 600; color: #1e293b; margin: 0; }

/* at a glance */
.cs-glance { border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; margin-bottom: 36px; background: #fff; }
.cs-glance__head { background: #0A1A6F; color: #fff; padding: 14px 22px; }
.cs-glance__head h2 { margin: 0; font-size: 1rem; font-weight: 600; color: #fff; }
.cs-glance__head small { display: block; font-size: 10px; color: rgba(255, 255, 255, .65); margin-top: 2px; }
.cs-glance dl { margin: 0; }
.cs-glance__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 22px; border-top: 1px solid #eef2f7; font-size: .85rem; transition: background .2s ease; }
.cs-glance__row:first-child { border-top: 0; }
.cs-glance__row:hover { background: #F3F6FF; }
.cs-glance dt { color: #64748B; font-weight: 400; }
.cs-glance dd { margin: 0; color: #0f172a; font-weight: 600; }

/* key takeaways */
.cs-takeaways { background: #fff; border: 1px solid #e8ecf5; border-radius: 16px; padding: 28px 32px; box-shadow: 0 10px 30px rgba(10, 26, 111, .06); margin-bottom: 30px; }
.cs-takeaways__eyebrow { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; }
.cs-takeaways h2 { font-size: 1.5rem; font-weight: 700; color: #0A1A6F; margin: 0 0 18px; }
.cs-takeaways ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cs-takeaways li { display: flex; gap: 12px; font-size: .88rem; line-height: 1.65; color: #475569; padding: 8px 10px; border-radius: 10px; transition: background .2s ease, transform .2s ease; }
.cs-takeaways li:hover { background: #F3F6FF; transform: translateX(3px); }
.cs-takeaways li strong { color: #0f172a; }
.cs-tick { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #FFBC00; color: #0A1A6F; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; margin-top: 3px; }

.cs-covers { border-left: 4px solid #0A1A6F; background: #F3F6FF; border-radius: 4px 10px 10px 4px; padding: 14px 20px; margin-bottom: 36px; font-size: .78rem; color: #475569; }
.cs-covers strong { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #0A1A6F; margin-bottom: 4px; }

/* story */
.cs-story h2 { font-size: 1.55rem; font-weight: 700; color: #0A1A6F; margin: 40px 0 14px; line-height: 1.35; }
.cs-story p, .cs-bottom p { font-size: .95rem; line-height: 1.85; color: #475569; margin: 0 0 14px; }
.cs-story a, .cs-bottom a, .cs-faq .card-body a { color: #2665C4; text-decoration: underline; }
.cs-story table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 10px 0 18px; }
.cs-story td, .cs-story th { border: 1px solid #e2e8f0; padding: 10px 14px; }
.cs-story ul { padding-left: 20px; color: #475569; font-size: .95rem; line-height: 1.8; }

.cs-story em.cs-tr, .cs-bottom em.cs-tr { font-size: .8em; font-style: italic; color: #94a3b8; white-space: nowrap; }
.cs-cta { background: #0A1A6F; border-radius: 14px; padding: 26px 28px; text-align: center; margin: 30px 0; }
.cs-cta p { color: #fff !important; font-weight: 600; font-size: 1rem !important; margin: 0 0 14px !important; }
.cs-cta a.cs-btn { text-decoration: none; }

/* pull quote */
.cs-quote { margin: 30px 0; padding: 24px 28px; background: #F3F6FF; border-left: 4px solid #FFBC00; border-radius: 4px 14px 14px 4px; }
.cs-quote blockquote { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.7; color: #0A1A6F; font-weight: 500; border: 0; padding: 0; }
.cs-quote figcaption { font-size: .82rem; color: #64748B; }

/* faq */
.cs-faq { margin: 44px 0 10px; }
.cs-faq h2 { text-align: center; font-size: 1.55rem; font-weight: 700; color: #0A1A6F; margin: 0 0 24px; }

.cs-bottom { text-align: center; }
.cs-bottom h2 { font-size: 1.55rem; font-weight: 700; color: #0A1A6F; margin: 44px 0 14px; }

/* transcript */
.cs-transcript { margin: 40px 0 10px; }
.cs-transcript > h2 { font-size: 1.35rem; font-weight: 700; color: #0A1A6F; margin: 0 0 12px; }
.cs-transcript details { border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 10px; background: #fff; }
.cs-transcript summary { cursor: pointer; padding: 14px 18px; font-size: .88rem; font-weight: 600; color: #0A1A6F; }
.cs-transcript summary:hover { background: #F3F6FF; border-radius: 10px; }
.cs-transcript__body { padding: 4px 18px 16px; }
.cs-transcript__body p { font-size: .88rem; line-height: 1.8; color: #475569; margin: 0 0 12px; }
.cs-transcript__body p.cs-transcript__q { font-weight: 700; color: #0f172a; margin-top: 16px; }

/* related reading + author */
/* Related reading: soft card, light title, plain rows split by thin dividers */
.cs-related { background: #F8F9FD; border-radius: 16px; padding: 28px 32px; margin: 40px 0 28px; }
.cs-related h2 { font-size: 1.45rem; font-weight: 500; color: #0A1A6F; margin: 0 0 14px; }
.cs-related ul { list-style: none; margin: 0; padding: 0; }
.cs-related li { border-top: 1px solid #e3e8f2; }
.cs-related li:last-child { border-bottom: 1px solid #e3e8f2; }
.cs-related a { display: block; padding: 13px 0; font-size: .82rem; font-weight: 500; color: #475569; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
body .cs-related a:hover { color: #0A1A6F !important; padding-left: 6px; text-decoration: none; }
/* Author card */
.cs-author { position: relative; display: flex; align-items: center; gap: 28px; background: #fff; border: 1px solid #e3e8f2; border-radius: 16px; padding: 24px 28px; margin-bottom: 40px; box-shadow: 0 6px 22px rgba(10, 26, 111, .06); transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.cs-author:hover { box-shadow: 0 12px 30px rgba(10, 26, 111, .12); border-color: #c9d3ee; transform: translateY(-2px); }
.cs-author__side { flex: 0 0 260px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cs-author__img { width: 260px; height: 260px; max-width: 100%; border-radius: 14px; object-fit: cover; object-position: center top; border: 0; box-shadow: 0 4px 14px rgba(10, 26, 111, .15); }
.cs-author__body { flex: 1; min-width: 0; }
.cs-author__eyebrow { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #94a3b8; font-weight: 600; }
.cs-author h3 { font-size: 1.2rem; font-weight: 700; margin: 4px 0 0; line-height: 1.3; }
.cs-author h3 a { color: #0A1A6F; text-decoration: none; }
body .cs-author a, body .cs-author a:hover, body .cs-author a:focus { text-decoration: none !important; }
body .cs-author h3 a:hover { color: #2665C4 !important; }
.cs-author__role { display: block; font-size: .8rem; font-weight: 500; color: #2665C4; margin-bottom: 10px; }
.cs-author__bio { font-size: .85rem; color: #475569; line-height: 1.7; margin: 0; }
.cs-author__sources { font-size: .74rem; color: #64748B; line-height: 1.7; margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed #dbe2f1; }
.cs-author__in { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 10px; background: #0A66C2; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .2s ease, background .2s ease; }
body a.cs-author__in:hover { background: #0A1A6F; color: #fff !important; transform: translateY(-2px); }

/* more case studies */
.cs-more { padding: 10px 0 20px; }
.cs-more__eyebrow { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; }
.cs-more h2 { font-size: 1.7rem; font-weight: 700; color: #0A1A6F; margin: 0 0 22px; }
.cs-more .testimonial-video-grid { gap: 22px; }

@media (max-width: 991px) {
  .cs-hub-hero__title { font-size: 2.1rem; }
  .cs-cta-band { padding: 32px 28px; }
  .cs-real-banner__title { font-size: 1.7rem; }
}
@media (max-width: 767px) {
  .cs-related { padding: 22px 18px; }
  .cs-h1 { font-size: 1.55rem; }
  .cs-glance__row { grid-template-columns: 1fr; gap: 2px; }
  .cs-takeaways { padding: 20px 16px; }
  .cs-author { flex-direction: column; align-items: center; gap: 16px; padding: 66px 18px 22px; text-align: center; }
  .cs-author__side { flex: 0 0 auto; width: 100%; max-width: 220px; }
  .cs-author__img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .cs-author__sources { text-align: left; }
  .cs-author__in { top: 14px; right: 14px; }
  .cs-hub-hero__title { font-size: 1.7rem; }
  .cs-hub-intro__title { font-size: 1.5rem; }
  .cs-cta-band__title { font-size: 1.4rem; }
  .cs-hub-hero { padding-top: 32px; }
}
