/* Tour Listing / Single Tour Listing geometry, using Smart Providerr colors. */
.spcase-template { --case-navy:#13264e; --case-purple:#5e17eb; --case-green:#27a43f; --case-muted:#75808d; color:var(--case-navy); background:#f1f6f6; font:18px/1.5 "Rubik","DM Sans",sans-serif; }
.spcase-template *, .spcase-template *::before, .spcase-template *::after { box-sizing:border-box; }
.spcase-template a { color:inherit; text-decoration:none; }
.spcase-template :is(a,button):focus-visible { outline:3px solid var(--case-purple); outline-offset:4px; }
.spcase-template :is(h1,h2,h3,p,figure,dl,dd) { margin:0; }
.spcase-template :is(h1,h2,h3) { color:var(--case-navy); font-family:"Rubik",sans-serif; font-weight:500; letter-spacing:-.025em; }
.tour-case-wrap { width:min(1240px,calc(100% - 60px)); margin-inline:auto; }
.tour-case-hero { min-height:470px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:170px 20px 80px; background:linear-gradient(#13264e7a,#13264e7a),url('/assets/agency-heroes/case-studies-hero.png') center/cover; }
.tour-case-hero h1 { color:#fff; font-size:clamp(36px,4vw,64px); }
.tour-case-hero nav { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; color:#fff; }
.tour-case-hero nav span:last-child { color:#d8caff; }
.tour-case-listing { padding:120px 0; }
.tour-case-section-heading { text-align:center; margin-bottom:42px; }
.tour-case-section-heading p { font-size:20px; margin-bottom:4px; }
.tour-case-section-heading h2 { font-size:clamp(30px,3vw,48px); line-height:1.3; }
.tour-case-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.tour-case-card { min-width:0; padding:20px; border-radius:16px; background:#fff; }
.tour-case-card-image { display:block; border-radius:12px; }
.tour-case-media { position:relative; display:flex; flex-direction:column; justify-content:center; gap:16px; aspect-ratio:357/364; overflow:hidden; border-radius:12px; background:#f0edf8; padding:14px; }
.tour-case-media figure { display:flex; flex:1 1 0; flex-direction:column; justify-content:center; min-height:0; min-width:0; }
.tour-case-media img { display:block; flex:0 1 auto; min-height:0; width:100%; max-height:calc(100% - 24px); object-fit:contain; border:1px solid #e2deed; background:#fff; }
.tour-case-media figcaption { flex-shrink:0; margin-top:6px; font-size:11px; line-height:1.3; color:#66718a; }
.tour-case-media--pair { gap:14px; }
.tour-case-badge { position:absolute; top:12px; right:12px; display:flex; align-items:center; gap:4px; padding:3px 8px; border-radius:100px; background:#fff; color:var(--case-navy); font-size:15px; box-shadow:0 2px 8px #13264e0d; }
.tour-case-badge svg { width:18px; height:18px; color:var(--case-green); }
.tour-case-meta { display:flex; flex-wrap:wrap; align-items:center; gap:9px; padding:12px; margin:12px 0; border-radius:6px; background:#f1f6f6; color:var(--case-muted); font-size:13px; }
.tour-case-meta span { display:inline-flex; align-items:center; gap:5px; }
.tour-case-meta svg { width:17px; height:17px; flex-shrink:0; color:var(--case-purple); }
.tour-case-meta i { width:6px; height:6px; flex:0 0 6px; border:1px solid var(--case-green); border-radius:50%; }
.tour-case-card-bottom { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.tour-case-card-bottom > div { min-width:0; }
.tour-case-card h3 { font-size:21px; line-height:1.25; }
.tour-case-card h3 a:hover { color:var(--case-purple); }
.tour-case-card-bottom p { margin-top:6px; color:var(--case-muted); font-size:16px; }
.tour-case-card-result { flex-shrink:0; text-align:right; }
.tour-case-card-result strong { display:block; color:var(--case-purple); font-size:24px; line-height:1.25; font-weight:500; letter-spacing:-.035em; }
.tour-case-card-result small { display:block; margin-top:2px; color:var(--case-muted); font-size:12px; }
.tour-case-account-note { margin-top:32px !important; color:#637184; font-size:13px; line-height:1.7; }
.tour-case-single-hero { height:478px; background:linear-gradient(#13264e94,#13264e94),url('/assets/agency-heroes/case-studies-hero.png') center/cover; }
.tour-case-summary { position:relative; display:grid; grid-template-columns:minmax(0,676fr) minmax(0,450fr); align-items:center; gap:46px; margin-top:-284px; padding:36px 32px 28px 36px; border-radius:16px; background:#fff; box-shadow:0 26px 16px #13264e0d; }
.tour-case-summary-copy { min-width:0; }
.tour-case-summary-top { display:flex; align-items:center; gap:14px; }
.tour-case-category { display:inline-flex; flex-shrink:0; padding:11px 19px; border-radius:100px; color:#fff !important; background:linear-gradient(180deg,#8754f4,var(--case-purple)); box-shadow:5px 5px 10px #5e17eb20; font-size:16px; font-weight:500; }
.tour-case-divider { flex:1; min-width:15px; border-top:1px dashed #c4cddc; }
.tour-case-source { display:inline-flex; align-items:center; gap:6px; color:#637184; font-size:12px; white-space:nowrap; }
.tour-case-source svg { width:26px; height:26px; padding:4px; border-radius:50%; background:#f1f6f6; color:var(--case-green); }
.tour-case-title-row { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:36px 0 18px; }
.tour-case-title-row h1 { font-size:clamp(32px,3.2vw,52px); line-height:1.12; }
.tour-case-highlight { flex:0 0 auto; text-align:right; }
.tour-case-highlight strong { color:var(--case-purple); font-size:38px; font-weight:500; letter-spacing:-.04em; line-height:1.1; }
.tour-case-highlight span { display:block; color:var(--case-muted); font-size:15px; }
.tour-case-lede { color:#808080; font-size:18px; line-height:1.55; }
.tour-case-facts { display:flex; flex-wrap:wrap; gap:10px; margin:32px 0 0; padding:0; list-style:none; }
.tour-case-facts li { padding:10px 18px; border-radius:100px; background:#f4f4f6; color:#808080; font-size:14px; line-height:1.45; }
.tour-case-facts strong { color:var(--case-navy); font-weight:400; }
.tour-case-media--summary { width:100%; height:472px; aspect-ratio:auto; padding:22px; }
.tour-case-media--summary figcaption { font-size:12px; }
.tour-case-detail-layout { display:grid; grid-template-columns:minmax(0,784fr) minmax(0,420fr); align-items:start; gap:36px; padding:68px 0 120px; }
.tour-case-detail-main { min-width:0; }
.tour-case-tablist { display:flex; flex-wrap:wrap; gap:8px; padding:20px; border-radius:8px; background:#fff; margin-bottom:24px; }
.tour-case-tablist button { cursor:pointer; border:0; border-radius:100px; padding:11px 20px; color:var(--case-navy); background:#f4f4f6; font:400 18px/1.5 "Rubik",sans-serif; letter-spacing:-.3px; }
.tour-case-tablist button:hover, .tour-case-tablist button[aria-selected="true"] { color:#fff; background:linear-gradient(180deg,#8754f4,var(--case-purple)); box-shadow:5px 5px 10px #5e17eb20; }
.tour-case-tabpanel { padding:34px 32px; border-radius:12px; background:#fff; }
.tour-case-tabpanel[hidden] { display:none; }
.tour-case-tabpanel + .tour-case-tabpanel:not([hidden]) { margin-top:24px; }
.tour-case-tabpanel h2 { font-size:30px; line-height:1.25; margin-bottom:18px; }
.tour-case-tabpanel p, .tour-case-sidebar-details p { color:#75808d; font-size:17px; line-height:1.7; }
.tour-case-tabpanel p + p { margin-top:16px; }
.tour-case-story-section { margin-top:26px; }
.tour-case-story-section h3 { font-size:23px; margin-bottom:10px; }
.tour-case-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0 !important; }
.tour-case-results > div { padding:18px; border-radius:10px; background:#f4f4f6; }
.tour-case-results dt { color:#75808d; font-size:14px; }
.tour-case-results dd { margin-top:6px; color:var(--case-purple); font-size:30px; line-height:1.2; }
.tour-case-gallery { display:grid; gap:24px; }
.tour-case-gallery figure { overflow:hidden; border:1px solid #e8e9ef; border-radius:10px; }
.tour-case-gallery img { display:block; width:100%; height:auto; }
.tour-case-gallery figcaption { padding:18px; font-size:15px; }
.tour-case-gallery figcaption p { margin:8px 0; font-size:14px; }
.tour-case-gallery figcaption a { color:var(--case-purple); font-size:14px; }
.tour-case-references { margin-top:20px; }
.tour-case-references a { display:block; padding:12px 0; border-top:1px solid #e4e7ed; color:var(--case-purple); font-size:14px; }
.tour-case-references a:hover { text-decoration:underline; }
.tour-case-promo { padding:72px 28px; border-radius:10px; text-align:center; background:linear-gradient(#13264eaa,#13264edd),url('/assets/agency-heroes/case-studies-results-section.png') center/cover; }
.tour-case-promo > span { color:#fff; font-size:22px; font-style:italic; }
.tour-case-promo h2 { color:#fff; font-size:clamp(32px,3vw,48px); line-height:1.18; margin:16px 0 30px; }
.tour-case-promo > a { display:inline-flex; padding:12px 22px; border-radius:100px; background:var(--case-purple); color:#fff; font-size:17px; }
.tour-case-sidebar-details { padding:28px; margin-top:24px; border-radius:12px; background:#fff; }
.tour-case-sidebar-details h2 { font-size:24px; margin-bottom:20px; }
.tour-case-sidebar-details dl > div { padding:12px 0; border-bottom:1px solid #eef0f3; }
.tour-case-sidebar-details dt { color:var(--case-navy); font-size:14px; font-weight:500; }
.tour-case-sidebar-details dd { color:#75808d; font-size:15px; margin-top:4px; }
.tour-case-sidebar-details p { margin-top:20px; font-size:14px; }
.tour-case-pagination { display:flex; justify-content:space-between; gap:24px; margin-top:24px; font-size:15px; }
.tour-case-pagination a { max-width:48%; }
.tour-case-pagination a:last-child { text-align:right; }
.tour-case-back { display:inline-block; margin-top:30px; color:var(--case-purple) !important; font-size:16px; }
@media (max-width:1200px) {
  .tour-case-card h3 { font-size:19px; }
  .tour-case-card-result strong { font-size:21px; }
  .tour-case-summary { gap:30px; }
  .tour-case-title-row { flex-wrap:wrap; }
  .tour-case-highlight { text-align:left; }
  .tour-case-highlight span { display:inline; margin-left:6px; }
  .tour-case-tablist { padding:15px; }
  .tour-case-tablist button { padding:10px 14px; font-size:16px; }
}
@media (max-width:1024px) {
  .tour-case-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tour-case-summary { grid-template-columns:minmax(0,1fr); padding:30px; gap:30px; }
  .tour-case-media--summary { height:340px; }
  .tour-case-media--summary.tour-case-media--pair { flex-direction:row; align-items:stretch; }
  .tour-case-media--summary.tour-case-media--pair figure { flex:1; }
  .tour-case-title-row { flex-wrap:nowrap; }
  .tour-case-highlight { text-align:right; }
  .tour-case-highlight span { display:block; margin-left:0; }
  .tour-case-detail-layout { grid-template-columns:minmax(0,1fr); }
  .tour-case-sidebar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:24px; }
  .tour-case-sidebar-details { margin-top:0; }
}
@media (max-width:767px) {
  .sp-case-restored .elementor-163 [data-id="35916d72"] { min-height:72px; padding:10px 16px !important; }
  .sp-case-restored .elementor-163 [data-id="3aa00620"] { flex-wrap:nowrap !important; align-items:center !important; justify-content:space-between !important; gap:18px !important; }
  .sp-case-restored .elementor-163 [data-id="78b78b9a"] { width:105px !important; max-width:105px !important; flex:0 0 105px; }
  .sp-case-restored .elementor-163 [data-id="78b78b9a"] img { width:105px !important; max-width:105px !important; height:auto !important; }
  .sp-case-restored .elementor-163 [data-id="4eff76bb"] { width:45px !important; margin-left:auto; }
  .tour-case-wrap { width:calc(100% - 40px); }
  .tour-case-hero { min-height:360px; padding:160px 20px 70px; }
  .tour-case-listing { padding:70px 0; }
  .tour-case-section-heading { margin-bottom:30px; }
  .tour-case-section-heading p { font-size:18px; }
  .tour-case-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
  .tour-case-card h3 { font-size:22px; }
  .tour-case-card-result strong { font-size:24px; }
  .tour-case-single-hero { height:290px; }
  .tour-case-summary { margin-top:-100px; padding:24px 20px; gap:26px; }
  .tour-case-summary-top { gap:10px; }
  .tour-case-category { padding:10px 14px; font-size:14px; }
  .tour-case-source { font-size:11px; }
  .tour-case-title-row { flex-wrap:wrap; gap:12px; margin:26px 0 16px; }
  .tour-case-title-row h1 { font-size:32px; }
  .tour-case-highlight { text-align:left; }
  .tour-case-highlight strong { font-size:32px; }
  .tour-case-highlight span { display:inline; margin-left:6px; font-size:14px; }
  .tour-case-lede { font-size:16px; }
  .tour-case-facts { margin-top:24px; gap:8px; }
  .tour-case-facts li { padding:9px 13px; font-size:12px; }
  .tour-case-media--summary { height:300px; padding:16px; }
  .tour-case-media--summary.tour-case-media--pair { flex-direction:column; align-items:stretch; }
  .tour-case-media--summary.tour-case-media--pair figure { flex:1 1 0; }
  .tour-case-detail-layout { padding:40px 0 75px; gap:30px; }
  .tour-case-tablist { padding:15px; gap:7px; }
  .tour-case-tablist button { padding:9px 14px; font-size:14px; }
  .tour-case-tabpanel { padding:26px 22px; }
  .tour-case-tabpanel h2 { font-size:25px; }
  .tour-case-story-section h3 { font-size:21px; }
  .tour-case-tabpanel p { font-size:15px; }
  .tour-case-results { grid-template-columns:minmax(0,1fr); }
  .tour-case-results dd { font-size:28px; }
  .tour-case-sidebar { display:block; }
  .tour-case-sidebar-details { margin-top:24px; }
  .tour-case-promo { padding:55px 24px; }
  .tour-case-promo h2 { font-size:40px; }
  .tour-case-pagination { font-size:13px; }
}
