/* futurestrong.ca polish layer: stands in for the parts of the 2019 page that did not survive archiving */
@font-face{font-family:"acumin-pro-extra-condensed";src:url("fs-cond-500.woff2") format("woff2");font-weight:100 549;font-display:swap}
@font-face{font-family:"acumin-pro-extra-condensed";src:url("fs-cond-600.woff2") format("woff2");font-weight:550 649;font-display:swap}
@font-face{font-family:"acumin-pro-extra-condensed";src:url("fs-cond-700.woff2") format("woff2");font-weight:650 900;font-display:swap}
@font-face{font-family:"acumin-pro-semi-condensed";src:url("fs-semi-600.woff2") format("woff2");font-weight:100 900;font-display:swap}

h1,h2,h3,h4,h5,h6,
#mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item>a.mega-menu-link{
	font-family:"acumin-pro-extra-condensed","Arial Narrow",sans-serif;letter-spacing:.01em}
.entry .entry-content h2{font-size:clamp(2rem,3.2vw,2.6rem);line-height:1.1}
#mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item>a.mega-menu-link{font-size:19px;letter-spacing:.04em}
.testimonial .testimonial-text{font-family:"acumin-pro-semi-condensed","Arial Narrow",sans-serif}

/* sticky header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);
	backdrop-filter:saturate(1.4) blur(6px);box-shadow:0 1px 0 rgba(0,0,0,.06)}
.admin-bar .site-header{top:0}
.hash,[id]{scroll-margin-top:110px}

/* hero: slick never initialises, so show the first slide ourselves; the white logo panel
   (553x850, same height as the photo) sits over the photo's left edge as in the 2019 layout */
:root{--fs-hero:clamp(300px,40vw,620px)}
.header-sliders{margin-bottom:0!important;height:var(--fs-hero);overflow:hidden}
.header-sliders .advgb-images-slider{margin:0!important}
.header-sliders .advgb-images-slider{height:var(--fs-hero)!important;overflow:hidden}
.header-sliders .advgb-image-slider-item{height:100%!important;max-height:none!important;width:100%!important}
.header-sliders .advgb-image-slider-img{visibility:visible!important;height:100%!important;width:100%!important;
	object-fit:cover;object-position:right center}
.header-sliders .advgb-image-slider-item ~ .advgb-image-slider-item{display:none}
.entry .entry-content>.together-future-strong{position:relative;z-index:2;max-width:none;width:auto;height:var(--fs-hero);
	margin:calc(-1 * var(--fs-hero)) 0 0;padding:0;display:block;pointer-events:none}
.together-future-strong .wp-block-column:first-child{height:100%;width:calc(var(--fs-hero) * .65);margin:0;padding:0!important;
	background:#fff;box-shadow:24px 0 40px -18px rgba(0,0,0,.25)}
.together-future-strong .wp-block-column:first-child figure{margin:0;height:100%}
.together-future-strong .wp-block-column:first-child img{width:100%!important;height:100%!important;object-fit:contain;padding:0!important}
.together-future-strong .wp-block-column:last-child{display:none}
.entry .entry-content>.together-future-strong+*{margin-top:60px}
@media (max-width:767px){
	:root{--fs-hero:clamp(220px,62vw,420px)}
	.header-sliders .advgb-image-slider-img{object-position:62% center}
	.entry .entry-content>.together-future-strong{height:auto;margin:0;pointer-events:auto}
	.together-future-strong .wp-block-column:first-child{width:auto;height:auto;box-shadow:none}
	.together-future-strong .hide-on-mobile{display:block!important}
	.together-future-strong .wp-block-column:first-child img{height:auto!important;max-width:340px;aspect-ratio:553/400;
		object-fit:cover;object-position:center;margin:0 auto;display:block}
	.entry .entry-content>.together-future-strong+*{margin-top:24px}
}

/* notice banner */
.entry .entry-content .has-background,
.entry-content p[style*="background"]{border-radius:10px}

/* executive team: was a slick carousel, now a grid */
.testimonial_slider .testimonialSlider{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
	gap:44px 28px;margin:36px 0 10px}
.testimonial_slider .testimonialSlider>div{display:block!important;min-width:0}
.testimonial_slider .testimonial{display:flex;flex-direction:column;align-items:center;text-align:center;margin:0}
.testimonial_slider .testimonial-image{width:168px!important;height:168px!important;border-radius:50%;object-fit:cover;
	background:#ebebeb;box-shadow:0 6px 18px rgba(0,60,113,.12)}
.testimonial_slider .testimonial .testimonial-text{display:block;padding:18px 0 4px;font-size:21px;font-weight:600;color:#003C71}
.testimonial_slider .testimonial .testimonial-author{display:block;font-size:15px;line-height:1.4;color:#6c6c6c;max-width:230px}

/* branch map (Leaflet instead of the Google Maps plugin) */
.branch-map{height:460px;width:auto;max-width:1100px;margin:10px auto 60px;border-radius:12px;overflow:hidden;
	background:#ebf2f5;box-shadow:0 8px 28px rgba(0,0,0,.08);z-index:0}
.branch-map-legend{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;max-width:1100px;margin:-44px auto 60px;
	font-size:15px;color:#4a4a4d}
.branch-map-legend span::before{content:"";display:inline-block;width:12px;height:12px;border-radius:50%;
	margin-right:8px;vertical-align:-1px;background:var(--c)}

/* footer */
.site-footer{margin-top:60px;padding:28px 0 22px;font-size:14px}
.site-footer .widget-area,.site-footer .site-info{max-width:1100px;margin:0 auto;padding:0 1rem}
.site-footer .site-info{color:#6c6c6c}

@media (max-width:767px){
	.branch-map{height:340px;margin:10px 16px 56px;border-radius:10px}
	.branch-map-legend{margin:-40px 16px 50px}
	.testimonial_slider .testimonialSlider{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}
	.testimonial_slider .testimonial-image{width:120px!important;height:120px!important}
	.testimonial_slider .testimonial .testimonial-text{font-size:18px}
	.hash,[id]{scroll-margin-top:80px}
	/* advgb nests three paddings (30+30+50px per side); keep one 16px gutter */
	.entry .entry-content .advgb-columns-wrapper{padding-left:16px!important;padding-right:16px!important}
	.entry .entry-content .advgb-columns-wrapper .advgb-columns-wrapper{padding-left:0!important;padding-right:0!important}
	.entry .entry-content .advgb-columns-container{padding-left:0!important;padding-right:0!important}
	.entry .entry-content .advgb-column{padding-left:0!important;padding-right:0!important}
	/* white veil behind the text sections: theme left it off-screen (left:-645px) on phones */
	.newlook-bg::after,.careers-with-bg::after{display:block!important;left:-401.5px!important;right:-401.5px!important;
		width:auto!important;height:auto!important;top:0;bottom:0;background:rgba(255,255,255,.86)!important}
	.site-header{padding:6px 0!important}
	.site-header .main-navigation{margin:0!important}
	/* open menu drops below the sticky header instead of stretching it */
	.site-header .main-navigation,.site-header .site-branding,.site-header .site-branding-container,#mega-menu-wrap-menu-1{position:static!important}
	#mega-menu-wrap-menu-1 .mega-menu-toggle.mega-menu-open+#mega-menu-menu-1{position:absolute!important;left:0;right:0;top:100%;
		background:#003C71!important;padding:6px 0 10px!important;box-shadow:0 12px 24px rgba(0,0,0,.18)}
	#mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item>a.mega-menu-link{padding:0 20px!important;background:transparent!important}
	.site-header .site-branding{align-items:center;padding:0 16px!important;height:auto!important;min-height:60px}
	.entry .entry-content h2{font-size:2.1rem}
}
.branch-map-tiles{filter:grayscale(.85) contrast(.95) brightness(1.04)}
