/* Revision 9: restrained, consistent editorial design. */
body:has(.mg-sub-hero) #sp-title,body:has(.mg-v13-hero) #sp-title{display:none!important}
#sp-page-builder#sp-page-builder .mg-modern-page h1,#sp-page-builder#sp-page-builder .mg-modern-page h2,#sp-page-builder#sp-page-builder .mg-modern-page h3,#sp-page-builder#sp-page-builder .mg-modern-page p,.mg-component-hero{hyphens:auto!important;overflow-wrap:normal!important;word-break:normal!important}
#sp-page-builder#sp-page-builder .mg-modern-page h1,#sp-page-builder#sp-page-builder .mg-modern-page h2,#sp-page-builder#sp-page-builder .mg-modern-page h3{hyphens:manual!important;text-wrap:balance}
#sp-page-builder#sp-page-builder .mg-sub-section{padding-top:38px!important;padding-bottom:38px!important}
#sp-page-builder#sp-page-builder .mg-expertise-intro{padding-top:24px!important;padding-bottom:24px!important}
#sp-page-builder#sp-page-builder .mg-sub-context{padding-top:26px!important;padding-bottom:30px!important}
#sp-page-builder#sp-page-builder .mg-sub-title{margin-bottom:16px!important}
#sp-page-builder#sp-page-builder .mg-sub-intro{max-width:760px;margin-top:12px!important}
#sp-page-builder#sp-page-builder .mg-sub-copy p:last-child{margin-bottom:0}
#sp-page-builder#sp-page-builder .mg-cert-intro{padding-bottom:8px!important}
#sp-page-builder#sp-page-builder .mg-cert-grid{padding-top:12px!important;padding-bottom:16px!important}
#sp-page-builder#sp-page-builder .mg-cert-grid .sppb-row{row-gap:22px!important}
#sp-page-builder#sp-page-builder .mg-cert-grid .sppb-column{min-height:0!important;padding:22px 18px!important}
#sp-page-builder#sp-page-builder .mg-cert-badge img{height:136px!important;max-height:136px!important;width:auto!important;max-width:100%!important;object-fit:contain!important;filter:none!important;opacity:1!important;transform:none!important}
#sp-page-builder#sp-page-builder .mg-cert-caption{min-height:0!important;margin:16px 0 9px!important}
#sp-page-builder#sp-page-builder .mg-cert-description{min-height:0!important;font-size:15px!important;line-height:1.6!important;margin-bottom:0!important}
#sp-page-builder#sp-page-builder .mg-sub-brand img{width:auto!important;height:76px!important;max-height:88px!important;object-fit:contain!important;image-rendering:auto}
#sp-page-builder#sp-page-builder .mg-brand-white img{filter:brightness(0) invert(1)!important}
#sp-page-builder#sp-page-builder .mg-testimonial{border-left:4px solid #123d60!important;background:#eef4f8!important;border-radius:0 14px 14px 0!important;padding:32px!important;margin:22px auto!important;max-width:1180px!important}
#sp-page-builder#sp-page-builder .mg-testimonial .sppb-row>div:first-child{position:relative}
#sp-page-builder#sp-page-builder .mg-testimonial .mg-quote-mark{position:absolute;left:-5px;top:-27px;color:#123d60;font-size:60px;line-height:1;margin:0!important;z-index:2}
#sp-page-builder#sp-page-builder .mg-testimonial-photo img{width:108px!important;height:108px!important;border-radius:50%!important;object-fit:cover}
#sp-page-builder#sp-page-builder .mg-testimonial .mg-sub-copy{font-size:18px!important;line-height:1.65!important;text-align:left!important}
#sp-page-builder#sp-page-builder .mg-testimonial .mg-sub-title{font-size:20px!important;margin-top:18px!important;margin-bottom:3px!important}
#sp-page-builder#sp-page-builder .mg-project-intro{padding-top:18px!important;padding-bottom:20px!important}
#sp-page-builder#sp-page-builder .mg-project-stats{padding-top:24px!important;padding-bottom:24px!important}
#sp-page-builder#sp-page-builder .mg-project-stats .sppb-column{border:1px solid #dce5ed;border-radius:14px!important;background:#fff!important;padding:22px!important;box-shadow:0 8px 24px #102e4608;min-height:0!important}
#sp-page-builder#sp-page-builder .mg-project-stat{margin:0!important}
#sp-page-builder#sp-page-builder .mg-project-stat .sppb-addon-title{font-size:clamp(29px,3.1vw,42px)!important;line-height:1.1!important;margin-bottom:12px!important}
#sp-page-builder#sp-page-builder .mg-project-stat p{font-size:15px!important;line-height:1.55!important}
#sp-page-builder#sp-page-builder .mg-service-card .sppb-column{background:linear-gradient(140deg,#102e46,#164c70)!important;color:#fff!important}
#sp-page-builder#sp-page-builder .mg-service-card h3,#sp-page-builder#sp-page-builder .mg-service-card p{color:#fff!important}
#sp-page-builder#sp-page-builder .mg-story-detail{padding-top:15px!important;padding-bottom:15px!important}
#sp-page-builder#sp-page-builder .mg-story-card .sppb-column{position:relative;border:1px solid #dde6ed!important;border-top:3px solid #123d60!important;border-radius:12px!important;padding:26px!important;background:#fff!important;min-height:0!important}
#sp-page-builder#sp-page-builder .mg-story-card-2 .sppb-column{background:#f4f7fa!important;border-top-color:#749ab6!important}
#sp-page-builder#sp-page-builder .mg-story-card-3 .sppb-column{background:#eef4f8!important}
#sp-page-builder#sp-page-builder .mg-story-card-4 .sppb-column{border-top-color:#43a1b5!important}
#sp-page-builder#sp-page-builder .mg-story-card .sppb-addon-title{font-size:23px!important;margin-bottom:14px!important}
#sp-page-builder#sp-page-builder .mg-story-card p,#sp-page-builder#sp-page-builder .mg-story-card li{font-size:16px!important;line-height:1.65!important}
#sp-page-builder#sp-page-builder .mg-book-flat{height:auto!important;min-height:0!important;overflow:visible!important;transform:translateX(72px);opacity:0;transition:transform 1.4s cubic-bezier(.22,.61,.36,1),opacity .9s ease;will-change:transform}
#sp-page-builder#sp-page-builder .mg-book-flat.mg-book-visible{transform:translateX(0)!important;opacity:1!important}
#sp-page-builder#sp-page-builder .mg-flat-stack{display:block;position:relative;width:min(100%,360px);aspect-ratio:1/1.45;margin:18px auto 25px;perspective:none!important;transform:none!important}
#sp-page-builder#sp-page-builder .mg-flat-front,#sp-page-builder#sp-page-builder .mg-flat-back{display:block;position:absolute;box-shadow:0 14px 25px #071b3126;overflow:hidden;border-radius:1px;background:#102e46}
#sp-page-builder#sp-page-builder .mg-flat-front{width:68%;left:4%;top:6%;z-index:2;transform:none!important}
#sp-page-builder#sp-page-builder .mg-flat-back{width:68%;left:29%;top:8%;transform:rotate(7deg)!important;z-index:1}
#sp-page-builder#sp-page-builder .mg-flat-stack img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;max-width:none!important;transform:none!important}
#sp-page-builder#sp-page-builder .mg-v13-book-title{font-size:clamp(24px,2.6vw,35px)!important;line-height:1.2!important}
#sp-page-builder#sp-page-builder .mg-v13-book-subtitle{font-size:19px!important;line-height:1.45!important}
#sp-page-builder#sp-page-builder .mg-v13-book-feature{font-size:17px!important;line-height:1.6!important}
#sp-page-builder#sp-page-builder .mg-cover-collage{position:relative;height:355px;max-width:480px;margin:25px auto 15px}
#sp-page-builder#sp-page-builder .mg-cover-collage img{position:absolute!important;width:43%!important;max-height:325px!important;height:auto!important;left:calc(2% + var(--mg-cover-index)*15%);top:calc(22px + var(--mg-cover-index)*5px);transform:rotate(calc(-5deg + var(--mg-cover-index)*3deg));transform-origin:bottom center;box-shadow:0 16px 28px #071b3133;object-fit:contain!important;z-index:calc(5 - var(--mg-cover-index));border-radius:1px}
#sp-page-builder#sp-page-builder .mg-cover-collage[style*="count:2"] img{width:51%!important;left:calc(9% + var(--mg-cover-index)*27%)}
#sp-page-builder#sp-page-builder .mg-contact-location{padding-top:24px!important;padding-bottom:20px!important}
#sp-page-builder#sp-page-builder .mg-contact-location .sppb-column-addons{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
#sp-page-builder#sp-page-builder .mg-contact-location .sppb-addon-wrapper{margin:0!important}
#sp-page-builder#sp-page-builder .mg-map-full{padding:0!important;width:var(--mg-viewport,100vw)!important;max-width:none!important;margin-left:calc((100% - var(--mg-viewport,100vw))/2)!important;overflow:hidden}
#sp-page-builder#sp-page-builder .mg-map-full>.sppb-row-container,#sp-page-builder#sp-page-builder .mg-map-full>.sppb-container-inner{max-width:none!important;width:100%!important;padding:0!important}
#sp-page-builder#sp-page-builder .mg-map-full .sppb-row{margin:0!important}
#sp-page-builder#sp-page-builder .mg-map-full .sppb-row>div,#sp-page-builder#sp-page-builder .mg-map-full .sppb-column{padding:0!important}
.mg-contact-map .leaflet-tile-pane{filter:grayscale(1) contrast(.88) brightness(1.09) sepia(.12) hue-rotate(165deg) saturate(1.9)}
.mg-mail-graphic{border:0;background:none;color:#123d60;padding:0;cursor:pointer;display:inline-flex;align-items:center}
.mg-mail-graphic img{height:25px!important;width:auto!important;max-width:100%}
.mg-contact-form .mg-form-consent{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin:20px 0}
.mg-contact-form .mg-form-consent>div{margin:0!important;max-width:100%}
.mg-accordion details{border-bottom:1px solid #d8e3ec;padding:18px 0}
.mg-accordion summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:20px;font-weight:600;color:#123d60}
.mg-accordion summary:after{content:'+';font-size:25px;font-weight:400}
.mg-accordion details[open] summary:after{content:'−'}
.mg-accordion details p{margin:14px 0 0;max-width:950px;line-height:1.7}
.mg-committee-link{padding:16px 20px!important;background:#eef4f8;border:1px solid #d6e4ee;border-left:3px solid #123d60;border-radius:8px;max-width:850px;margin-top:18px!important}
.mg-committee-link a{text-decoration:none;font-weight:600}
.mg-component-hero{position:relative;overflow:hidden;background:linear-gradient(112deg,#071b31,#0c2d4c 55%,#12466c)!important;padding:54px 0!important;border:0!important}
.mg-component-hero:after{content:'';position:absolute;width:280px;height:280px;right:8%;top:-80px;border:1px solid #ffffff1a;border-radius:50%;box-shadow:0 0 0 42px #ffffff06,0 0 0 86px #ffffff04;pointer-events:none}
.mg-component-hero .mg-hero-symbol{position:absolute;right:11%;top:50%;width:64px;height:64px;transform:translateY(-50%);opacity:.65;color:#b8d6e8}
.mg-slide-preview{display:block;width:100%;border:1px solid #dce6ef;border-radius:12px;overflow:hidden;background:#f0f4f8;padding:0;text-align:left;color:#123d60;cursor:pointer;box-shadow:0 8px 22px #102e4608}
.mg-slide-preview img{display:block;width:100%;max-height:380px;object-fit:contain;background:#fff}
.mg-slide-preview span{display:block;padding:14px 18px;font-weight:600}
.mg-slide-notice{font-size:13px;line-height:1.6;margin-top:10px;color:#526b7e}
.mg-modal{border:1px solid #ffffff33;border-radius:15px;padding:0;width:min(92vw,1400px);max-width:none;height:min(88vh,900px);max-height:90vh;background:#fff;box-shadow:0 25px 100px #0005;color:#102e46}
.mg-modal::backdrop{background:#061a30ba;backdrop-filter:blur(3px)}
.mg-modal-head{height:60px;display:flex;gap:20px;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #dce5ed}
.mg-modal-head h2{font-size:18px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-modal-close{width:36px;height:36px;font-size:25px;border:0;border-radius:50%;background:#edf3f7;cursor:pointer;flex:none}
.mg-modal-content{height:calc(100% - 60px);overflow:auto}
.mg-modal-content iframe{width:100%;height:100%;border:0;display:block;background:#fff}
.mg-privacy-content{padding:30px;max-width:1000px;margin:auto;line-height:1.7}
#sp-component .tags,.kmt-tags,.eb-entry-tags,.eb-tags{display:none!important}
@media (min-width:992px) and (max-width:1280px){.sp-megamenu-parent>li>a{padding-left:9px!important;padding-right:9px!important;font-size:13px!important;letter-spacing:0!important;white-space:nowrap!important}#sp-logo img{max-width:235px!important}}
body.mg-menu-overflow .sp-megamenu-parent{display:none!important}
body.mg-menu-overflow #offcanvas-toggler{display:flex!important}
@media(max-width:767px){#sp-page-builder#sp-page-builder .mg-sub-section{padding:26px 0!important}#sp-page-builder#sp-page-builder .mg-testimonial{padding:26px 20px!important;margin:14px 12px!important}#sp-page-builder#sp-page-builder .mg-cover-collage{height:300px}#sp-page-builder#sp-page-builder .mg-flat-stack{width:290px}#sp-page-builder#sp-page-builder .mg-contact-location .sppb-column-addons{gap:12px}.mg-component-hero .mg-hero-symbol{display:none}.mg-modal{width:95vw;height:88vh}.mg-modal-head{padding:10px 12px}.mg-privacy-content{padding:22px}}
@media(prefers-reduced-motion:reduce){#sp-page-builder#sp-page-builder .mg-book-flat{transform:none!important;opacity:1!important;transition:none!important}.mg-modal::backdrop{backdrop-filter:none}}

#sp-page-builder#sp-page-builder .mg-managing-back{aspect-ratio:1140/1610}
#sp-page-builder#sp-page-builder .mg-authentic-back-photo{position:absolute;inset:0;overflow:hidden}
#sp-page-builder#sp-page-builder .mg-authentic-back-photo img{position:absolute!important;width:120%!important;max-width:none!important;left:-7.37%;top:-8.94%}
#sp-page-builder#sp-page-builder .mg-back-barcode-patch{position:absolute;left:8.9%;top:81.7%;width:28%;height:11.5%;background:linear-gradient(115deg,#102776,#1f387b)}
#sp-page-builder#sp-page-builder .mg-back-barcode{position:absolute;left:67%;top:82%;width:27.2%;height:10.8%;overflow:hidden}
#sp-page-builder#sp-page-builder .mg-back-barcode img{position:absolute!important;width:441.29%!important;max-width:none!important;left:-60.65%;top:-841.38%}

#sp-page-builder#sp-page-builder .mg-project-stats .sppb-addon-title,#sp-page-builder#sp-page-builder .mg-project-stats .sppb-addon-content{color:#123d60!important}
#sp-page-builder#sp-page-builder .mg-service-card .sppb-addon-title,#sp-page-builder#sp-page-builder .mg-service-card .sppb-addon-content{color:#fff!important}
#sp-page-builder#sp-page-builder .mg-testimonial .sppb-row{padding:0!important;background:transparent!important}
#sp-page-builder#sp-page-builder .mg-testimonial .sppb-addon-content{text-align:left!important;font-size:18px!important;line-height:1.65!important}
#sp-page-builder#sp-page-builder .mg-testimonial .mg-quote-mark{font-size:60px!important;line-height:1!important;height:auto!important;margin:0!important}
#sp-page-builder#sp-page-builder .mg-cert-cell{min-height:0!important;padding:22px 18px!important}
#sp-page-builder#sp-page-builder .mg-cert-caption .sppb-addon-title,#sp-page-builder#sp-page-builder .mg-cert-description .sppb-addon-content{min-height:0!important}

#sp-page-builder#sp-page-builder img[src*="business-photo-"]{filter:grayscale(1)!important}
#sp-page-builder#sp-page-builder img[src*="business-photo-4-"]{aspect-ratio:1180/300;object-fit:cover!important}

#sp-page-builder#sp-page-builder .mg-ai-back{aspect-ratio:600/830}
#sp-page-builder#sp-page-builder .mg-ai-back img{position:absolute!important;top:-4.217%!important;left:0!important}
