/* Story pages extend the existing rl-* headings and gu-* cards. */
.sp-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.sp-card{padding:32px;border:1px solid #DCE3EC;border-radius:16px;background:#fff;gap:14px;min-width:0}
.sp-card h3{margin:0;font:600 24px/1.3 'Manrope',sans-serif;color:#17345C;text-wrap:pretty}
.sp-card--market{border:2px solid #3FA535}
.sp-card--market .rl-label{color:#3FA535}
.sp-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.sp-lines li{padding:0;border:0;font:400 16px/1.6 'Manrope',sans-serif;color:#4D5B70;display:block}
.sp-logo-copy{display:flex;flex-direction:column;gap:12px;margin-bottom:40px}
.sp-logo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sp-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.sp-world-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.sp-logo-grid>figure,.sp-market-grid>figure,.sp-world-grid>figure{min-width:0;margin:0}
.sp-world-grid figcaption{font-size:12px;line-height:1.4;letter-spacing:.1em}
.sp-media{display:block;position:relative;aspect-ratio:1;margin:0;padding:0;border:0;border-radius:12px;overflow:hidden;background:transparent;min-width:0;width:100%}
.sp-media img,.sp-media video{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px}
.sp-enlarge,.sp-banner,.sp-phone{cursor:zoom-in}
.sp-enlarge:focus-visible,.sp-banner:focus-visible,.sp-phone:focus-visible{outline:3px solid #2F6FD6;outline-offset:5px}
.sp-cards{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
.sp-cards>li{background:#fff;border:1px solid #DCE3EC}
.sp-cards .gu-n{color:#56657A}
.sp-launch-rows{display:flex;flex-direction:column;gap:40px}
.sp-launch-row{display:grid;grid-template-columns:minmax(0,780fr) minmax(0,364fr);align-items:center;gap:48px}
.sp-banner{display:block;padding:0;border:0;background:none;overflow:hidden;border-radius:12px;width:100%;min-width:0}
.sp-banner img{display:block;width:100%;height:auto;border-radius:12px}
.sp-launch-info{display:flex;flex-direction:column;gap:14px;min-width:0}
.sp-launch-info h3{margin:0;font:600 24px/1.3 'Manrope',sans-serif;color:#17345C;text-wrap:pretty}
.sp-swatches{display:block;width:168px;height:36px;max-width:100%}
.sp-steps{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:16px}
.sp-steps>li{padding:24px;border:1px solid #DCE3EC;border-radius:14px;background:#fff}
.sp-steps>li h3{font-size:18px!important;line-height:1.4!important}
.sp-steps .gu-n{color:#56657A}
.sp-steps>li.sp-step--approved{background:#17345C;border-color:#17345C}
.sp-steps>li.sp-step--approved h3{color:#fff!important}
.sp-steps>li.sp-step--approved .gu-n{color:#B8C6DA}
.sp-mobile-launches{display:flex;flex-direction:column;gap:16px;margin-top:48px}
.sp-phone-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.sp-phone{display:block;min-width:0;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;background:transparent}
.sp-phone img{display:block;width:100%;height:auto;border-radius:12px}
.sp-story-link{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:28px 32px;margin-top:56px;border:1px solid #DCE3EC;border-radius:16px;background:#F4F7FB;color:#17345C;text-decoration:none}
.sp-story-link>span:first-child{display:flex;flex-direction:column;gap:6px;min-width:0}
.sp-story-link strong{font:600 22px/1.4 'Manrope',sans-serif;text-wrap:pretty}
.sp-story-link__destination{font:600 16px/1.5 'Manrope',sans-serif;flex:none}
.sp-story-link:focus-visible{outline:3px solid #2F6FD6;outline-offset:4px}
.sp-lightbox{position:fixed;inset:0;width:fit-content;height:fit-content;max-width:94vw;max-height:92vh;margin:auto;padding:40px 20px 20px;border:0;border-radius:12px;background:#FAFBFD;overflow:auto}
.sp-lightbox::backdrop{background:rgba(0,0,0,.88)}
.sp-lightbox__image{display:block;max-width:min(88vw,calc(94vw - 40px));max-height:80vh;width:auto;height:auto;object-fit:contain}
.sp-lightbox__close{position:absolute;right:4px;top:0;width:40px;height:40px;border:0;background:transparent;color:#17345C;font:400 30px/1 'Manrope',sans-serif;cursor:pointer}
.sp-page#sp-launch-page [data-r="cs-herotext"] h1.ty-hero{white-space:normal!important;font-size:clamp(48px,5vw,92px)!important}
.sp-page :is(.sp-card,.sp-cards,.sp-steps,.sp-launch-info,.sp-story-link) :is(h3,p,li,strong){text-wrap:pretty}
@media(max-width:1199px){
 .sp-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sp-launch-row{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:28px}
 .sp-world-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
 .sp-two,.sp-cards{grid-template-columns:1fr}
 .sp-card{padding:24px}
 .sp-card h3,.sp-launch-info h3{font-size:22px}
 .sp-logo-grid,.sp-market-grid,.sp-world-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
 .sp-logo-grid{gap:16px}
 .sp-logo-copy{margin-bottom:28px}
 .sp-launch-row{grid-template-columns:1fr;gap:24px}
 .sp-launch-rows{gap:48px}
 .sp-steps{gap:12px}
 .sp-steps>li{padding:18px}
 .sp-steps>li h3{font-size:16px!important}
 .sp-phone-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .sp-story-link{align-items:flex-start;flex-direction:column;gap:20px;padding:24px}
 .sp-story-link strong{font-size:20px}
 .sp-lightbox{padding:40px 12px 12px}
}

/* Keep story-specific card colors and rollout sizing above the shared case-study theme. */
.sp-page#sp-launch-page .sp-launch-info h3{color:#17345C!important}
.sp-page#sp-launch-page .sp-steps>li h3{font-size:18px!important;line-height:1.4!important}
@media(max-width:767px){.sp-page#sp-launch-page .sp-steps>li h3{font-size:16px!important}}

@media(max-width:767px){.sp-lightbox__image{max-width:min(88vw,calc(94vw - 24px))}}

/* Loading the shared story base must not change the pages' existing desktop hero typography. */
@media(min-width:1200px){
 html.site-typography.marketing-case body.sp-page [data-r="cs-herotext"] h1.ty-hero{font-size:clamp(48px,5vw,92px)!important;white-space:normal!important}
}

/* eToro market captions and the mobile market strip. */
.sp-page .sp-section .sp-market-grid figcaption{font-size:15px!important;font-weight:600!important;color:#17345C!important}
@media(max-width:767px){
 .sp-world-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-right:16px;padding-bottom:4px;scroll-padding-right:16px}
 .sp-world-grid::-webkit-scrollbar{display:none}
 .sp-world-grid>figure{flex:0 0 70vw;scroll-snap-align:start}
}
