/* Extra Astra-specific fixes */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove any block gaps */
.wp-block-column:not(:first-child),
.wp-block {
    margin-top: 0 !important;
}

/* Remove bottom whitespace */
p:last-child {
    margin-bottom: 0 !important;
}

/* Glassmorphism effect for header */
.site-header,
.ast-main-header-wrap,
.main-header-bar {
    background: rgba(255, 255, 255, 0.008) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure text remains readable */
.site-header .site-title a,
.site-header .main-header-bar-navigation .menu-item > a {
    color: white !important;
}

/* Adjust logo if needed */
.site-header .site-branding img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}


/* Mobile menu (Nov 2026): white panel, mist sub-menus, crimson marker for the current page */
@media (max-width: 921px) {
  .ast-mobile-header-wrap .ast-mobile-header-content{border-bottom:3px solid #cb244f;box-shadow:0 14px 28px rgba(15,23,42,.28);max-height:calc(100vh - 72px);overflow-y:auto}
  #ast-hf-mobile-menu .menu-item > .menu-link{color:#0F172A !important;background:#fff !important;font-size:17px !important;line-height:1.3 !important;padding:15px 64px 15px 24px !important;border-bottom:1px solid #e3eaee !important}
  #ast-hf-mobile-menu .menu-item > .menu-link:hover,#ast-hf-mobile-menu .menu-item > .menu-link:focus,#ast-hf-mobile-menu .menu-item > .menu-link:active{background:#eef3f5 !important;color:#1a536d !important}
  #ast-hf-mobile-menu .sub-menu{background:#eef3f5 !important;border:0 !important}
  #ast-hf-mobile-menu .sub-menu .menu-item > .menu-link{background:#eef3f5 !important;color:#364151 !important;font-size:16px !important;padding-left:40px !important;border-bottom:1px solid #dde6ea !important}
  #ast-hf-mobile-menu .sub-menu .menu-link .ast-icon{display:none !important}
  #ast-hf-mobile-menu .current-menu-item > .menu-link,#ast-hf-mobile-menu .current-menu-ancestor > .menu-link{color:#1a536d !important;font-weight:600 !important;box-shadow:inset 4px 0 0 #cb244f !important}
  #ast-hf-mobile-menu .ast-menu-toggle{color:#1a536d !important;background:transparent !important;border:0 !important;box-shadow:none !important}
  #ast-hf-mobile-menu .ast-menu-toggle:focus:not(:focus-visible){outline:none !important}
  .ast-mobile-header-wrap .menu-toggle:focus:not(:focus-visible){outline:none !important;border-color:transparent !important;box-shadow:none !important}
  #ast-hf-mobile-menu .ast-menu-toggle:focus-visible,#ast-hf-mobile-menu .menu-link:focus-visible{outline:2px solid #1a536d !important;outline-offset:-4px}
}

/* Case studies design system (Nov 2026). Scoped to .vcs */
.vcs{--navy:#1a536d;--crimson:#cb244f;--ink:#0F172A;--slate:#364151;--mist:#eef3f5;--line:#d3dee4;color:var(--slate);font-size:18px;line-height:1.65}
.vcs > *{margin-top:0;margin-bottom:0}
.vcs h1,.vcs h2,.vcs h3{font-family:"Google Sans Display","Asta Sans",sans-serif;color:var(--ink);letter-spacing:-0.01em;font-weight:500}
.vcs h2{font-size:clamp(1.75rem,3vw,2.375rem);line-height:1.15;margin:0 0 .75em}
.vcs h3{font-size:1.375rem;line-height:1.25;margin:0 0 .5em}
.vcs p{margin:0 0 1em;max-width:68ch}
.vcs a:not(.wp-block-button__link){color:var(--navy);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.vcs a:not(.wp-block-button__link):hover{color:var(--crimson)}
.vcs a:focus-visible{outline:3px solid var(--crimson);outline-offset:3px}
.vcs-wrap{max-width:1180px;margin-left:auto !important;margin-right:auto !important;padding-left:24px;padding-right:24px;box-sizing:border-box}
.vcs .vcs-hero{min-height:74vh;padding:150px 0 120px;align-items:flex-end}
.vcs .vcs-hero .wp-block-cover__background{background:linear-gradient(180deg,rgba(15,23,42,.35) 0%,rgba(15,23,42,.15) 35%,rgba(15,23,42,.88) 100%) !important;opacity:1 !important}
.vcs .vcs-hero .wp-block-cover__inner-container{max-width:1180px;width:100%;margin:0 auto;padding:0 24px;box-sizing:border-box}
.vcs .vcs-hero h1{color:#fff;font-size:clamp(2.25rem,5.2vw,4.25rem);line-height:1.04;font-weight:500;max-width:17ch;margin:0 0 16px}
.vcs .vcs-hero p{color:rgba(255,255,255,.9);font-size:clamp(1.05rem,1.6vw,1.3rem);margin:0}
.vcs .vcs-hero p.vcs-crumbs{font-size:15px;margin:0 0 20px;color:rgba(255,255,255,.75)}
.vcs .vcs-hero .vcs-crumbs a{color:#fff;text-decoration-color:rgba(255,255,255,.5)}
.vcs .vcs-plate{position:relative;z-index:2;margin-top:-64px !important}
.vcs .vcs-plate .wp-block-columns{background:var(--navy);color:#fff;margin:0;gap:0;border-top:4px solid var(--crimson)}
.vcs .vcs-plate .wp-block-column{padding:26px 28px;border-left:1px solid rgba(255,255,255,.16)}
.vcs .vcs-plate .wp-block-column:first-child{border-left:0}
.vcs .vcs-plate p{margin:0;color:#fff}
.vcs .vcs-plate .vcs-v{font-family:"Google Sans Display","Asta Sans",sans-serif;font-size:clamp(1.5rem,2.4vw,2.125rem);line-height:1.1;font-weight:500}
.vcs .vcs-plate .vcs-k{font-size:15px;line-height:1.4;color:#c4dbe5;margin-top:6px}
.vcs .vcs-section{padding-top:88px;padding-bottom:0}
.vcs .vcs-brief{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:64px;align-items:start}
.vcs .vcs-brief.vcs-nofig{grid-template-columns:minmax(0,720px)}
.vcs .vcs-brief figure{margin:8px 0 0}
.vcs .vcs-brief figure img{width:100%;height:auto;border:1px solid var(--line)}
.vcs .vcs-cs{gap:64px;margin:0}
.vcs .vcs-cs .wp-block-column{border-top:2px solid var(--ink);padding-top:22px}
.vcs .vcs-cs .wp-block-column.vcs-sol{border-top-color:var(--crimson)}
.vcs .vcs-cs p.vcs-tag{font-size:15px;color:var(--navy);margin:0 0 10px;font-weight:600}
.vcs .vcs-cs .vcs-sol p.vcs-tag{color:var(--crimson)}
.vcs .vcs-figs{gap:24px;margin:0}
.vcs .vcs-figs figure{margin:0}
.vcs .vcs-figs img{width:100%;height:auto;display:block}
.vcs figcaption{font-size:15px;color:var(--slate);margin-top:10px !important;text-align:left !important}
.vcs .vcs-process{background:var(--mist);padding-top:80px;padding-bottom:80px;margin-top:88px !important}
.vcs ol.vcs-steps{list-style:none;counter-reset:step;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
.vcs ol.vcs-steps li{counter-increment:step;position:relative;padding:56px 22px 0 0;margin:0;font-size:16px;line-height:1.55;border-top:2px solid var(--navy)}
.vcs ol.vcs-steps li::before{content:counter(step);position:absolute;top:-17px;left:0;width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;font:500 15px/32px "Google Sans Display","Asta Sans",sans-serif;text-align:center}
.vcs ol.vcs-steps li strong{display:block;font-family:"Google Sans Display","Asta Sans",sans-serif;font-weight:500;font-size:19px;color:var(--ink);margin-bottom:6px}
.vcs p.vcs-stack{margin:48px 0 0;font-size:16px;color:var(--slate)}
.vcs p.vcs-stack strong{color:var(--ink)}
.vcs .vcs-related .wp-block-columns{gap:40px;margin:0}
.vcs .vcs-card figure{margin:0 0 18px}
.vcs .vcs-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.vcs .vcs-card p.vcs-client{font-size:15px;color:var(--navy);margin:0 0 6px;font-weight:600}
.vcs .vcs-card h3 a{color:var(--ink);text-decoration:none}
.vcs .vcs-card h3 a:hover{color:var(--crimson);text-decoration:underline}
.vcs p.vcs-service{margin:40px 0 0;padding-top:20px;border-top:1px solid var(--line)}
.vcs .vcs-row{gap:56px;align-items:center !important;margin:0 0 72px}
.vcs .vcs-row:last-child{margin-bottom:0}
.vcs .vcs-row figure{margin:0}
.vcs .vcs-row img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.vcs .vcs-row p.vcs-client{font-size:15px;color:var(--navy);margin:0 0 8px;font-weight:600}
.vcs .vcs-row h2 a{color:var(--ink);text-decoration:none}
.vcs .vcs-row h2 a:hover{color:var(--crimson)}
.vcs .vcs-logos{gap:32px;margin:0;align-items:center !important}
.vcs .vcs-logos figure{margin:0 auto;max-width:180px}
.vcs .vcs-logos img{width:100%;height:auto;display:block}
.vcs .vcs-cta{background:var(--navy);color:#fff;padding-top:80px;padding-bottom:84px;margin-top:96px !important}
.vcs .vcs-cta h2{color:#fff;max-width:20ch}
.vcs .vcs-cta p{color:rgba(255,255,255,.88)}
.vcs .vcs-cta .wp-block-buttons{margin-top:28px}
.vcs .wp-block-button__link{background:var(--crimson) !important;color:#fff !important;border-radius:3px;padding:15px 26px;font-weight:600;font-size:17px;text-decoration:none}
.vcs .wp-block-button__link:hover{background:#a81d41 !important}
.vcs .wp-block-button__link:focus-visible{outline:3px solid #fff;outline-offset:3px}
.vcs .vcs-form{max-width:720px}
.vcs .vcs-start{padding-bottom:96px}
@media (max-width:921px){
 .vcs ol.vcs-steps{grid-template-columns:1fr;gap:0;border-left:2px solid var(--navy);margin-left:15px}
 .vcs ol.vcs-steps li{border-top:0;padding:0 0 28px 34px}
 .vcs ol.vcs-steps li:last-child{padding-bottom:0}
 .vcs ol.vcs-steps li::before{top:-4px;left:-17px}
 .vcs .vcs-brief{grid-template-columns:1fr;gap:32px}
 .vcs .vcs-brief figure{max-width:220px}
}
@media (max-width:781px){
 .vcs{font-size:17px}
 .vcs .vcs-hero{min-height:68vh;padding:120px 0 96px}
 .vcs .vcs-plate .wp-block-columns{display:grid !important;grid-template-columns:1fr 1fr}
 .vcs .vcs-plate .wp-block-column{padding:20px;border-left:0;border-top:1px solid rgba(255,255,255,.16)}
 .vcs .vcs-plate .wp-block-column:nth-child(-n+2){border-top:0}
 .vcs .vcs-plate .wp-block-column:nth-child(even){border-left:1px solid rgba(255,255,255,.16)}
 .vcs .vcs-section{padding-top:56px}
 .vcs .vcs-process{padding-top:56px;padding-bottom:56px;margin-top:56px !important}
 .vcs .vcs-cs,.vcs .vcs-related .wp-block-columns,.vcs .vcs-row{gap:40px}
 .vcs .vcs-row{margin-bottom:56px}
 .vcs .vcs-cta{padding-top:56px;padding-bottom:60px;margin-top:64px !important}
 .vcs .vcs-start{padding-bottom:64px}
}
@media (min-width:782px){.vcs .vcs-row.vcs-flip{flex-direction:row-reverse}}
.entry-content > .wp-block-group.vcs{padding:0 !important;margin:0 !important}
body .vcs .vcs-hero p{color:rgba(255,255,255,.9) !important}
body .vcs .vcs-hero p.vcs-crumbs{color:rgba(255,255,255,.75) !important}
.vcs .vcs-hero.has-custom-content-position .wp-block-cover__inner-container{margin:0 auto !important;width:100% !important;max-width:1180px !important}
@media (max-width:781px){.vcs .vcs-plate .vcs-v{font-size:1.2rem;line-height:1.2}.vcs .vcs-plate .vcs-k{font-size:14px}}
/* Match the rest of the site: Verdana bold headings, rounded white cards, site buttons */
.vcs h1,.vcs h2,.vcs h3,.vcs .vcs-plate .vcs-v,.vcs ol.vcs-steps li strong,.vcs ol.vcs-steps li::before{font-family:Verdana,Helvetica,Arial,sans-serif !important;letter-spacing:0 !important}
.vcs h1,.vcs h2{font-weight:700 !important}
.vcs h3{font-weight:700 !important;font-size:1.25rem}
.vcs h2{color:var(--navy)}
.vcs .vcs-hero h1{font-size:clamp(2.1rem,4.6vw,4rem);line-height:1.12;max-width:20ch}
.vcs .vcs-plate .wp-block-columns{border-top:0;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.18)}
.vcs .vcs-plate .vcs-v{font-weight:700 !important;font-size:clamp(1.3rem,2vw,1.75rem)}
.vcs .vcs-cs .wp-block-column{border:1px solid #e3e8eb !important;border-radius:12px;padding:28px !important;background:#fff;box-shadow:0 4px 18px rgba(15,23,42,.06)}
.vcs .vcs-cs .wp-block-column.vcs-sol{border-top:4px solid var(--crimson) !important}
.vcs .vcs-cs .wp-block-column.vcs-chal{border-top:4px solid var(--navy) !important}
.vcs .vcs-cs p.vcs-tag{color:var(--crimson)}
.vcs .vcs-cs .vcs-chal p.vcs-tag{color:var(--navy)}
.vcs .vcs-figs img,.vcs .vcs-brief figure img,.vcs .vcs-card img,.vcs .vcs-row img{border-radius:12px}
.vcs .vcs-process{background:#f0f2f4}
.vcs .vcs-process h2,.vcs .vcs-related > h2,.vcs .vcs-cta h2{text-align:center;margin-left:auto;margin-right:auto}
.vcs .vcs-process p.vcs-stack{text-align:center;max-width:none}
.vcs ol.vcs-steps li strong{font-weight:700;font-size:17px}
.vcs ol.vcs-steps li::before{font-weight:700}
.vcs .vcs-card{background:#fff;border:1px solid #e3e8eb;border-radius:12px;padding:16px 16px 20px;box-shadow:0 4px 18px rgba(15,23,42,.06);height:100%;box-sizing:border-box}
.vcs .vcs-card figure{margin:-16px -16px 18px !important}
.vcs .vcs-card img{border-radius:12px 12px 0 0}
.vcs .vcs-related .wp-block-column{display:flex}
.vcs p.vcs-service{text-align:center;max-width:none;border-top:0}
.vcs .vcs-cta{text-align:center}
.vcs .vcs-cta p{margin-left:auto;margin-right:auto}
.vcs .vcs-cta .wp-block-buttons{justify-content:center}
.vcs .wp-block-button__link{border-radius:5px !important;font-weight:400 !important;font-size:16px !important;padding:13px 24px !important}
.vcs .vcs-hero p.vcs-crumbs{font-size:14px}
.vcs .vcs-video figure{margin:0}
.vcs .vcs-video video{width:100%;height:auto;display:block;border-radius:12px;background:#0F172A;box-shadow:0 10px 30px rgba(15,23,42,.18)}
.vcs figure.vcs-wide{max-width:900px;margin:0 auto !important}
.vcs figure.vcs-wide img{width:100%;height:auto;border-radius:12px;display:block}
.vcs .vcs-section.vcs-wrap > h2.wp-block-heading:first-child{text-align:center}
/* end case studies */
