/* Structure scoped to BCS native Divi drafts. Text and spacing remain in Divi. */
.bcs-web-framework:not(.et-fb) #main-header,.bcs-web-framework:not(.et-fb) #top-header,.bcs-web-framework:not(.et-fb) #main-footer{display:none}
.bcs-web-framework #main-content .container:before{display:none}.bcs-web-framework #left-area{width:100%;padding:0}
.bcs-web-framework .et_pb_column{min-width:0}.bcs-web-framework .et_pb_text{overflow-wrap:anywhere}
.bcs-web-header-row{display:flex;align-items:center;gap:24px}.bcs-web-header-row>.et_pb_column{margin:0}
.bcs-web-nav a,.bcs-web-brand-footer a{color:#fff;text-decoration:none}.bcs-web-nav a:hover,.bcs-web-brand-footer a:hover{color:#0c71c3}
.bcs-web-logo img{width:280px;max-width:100%;aspect-ratio:4/1;object-fit:cover}
.bcs-web-hero-row{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
.bcs-web-hero-row>.et_pb_column,.bcs-web-feature-row>.et_pb_column,.bcs-web-family-grid>.et_pb_column,.bcs-web-signatures>.et_pb_column{width:auto;margin:0}
.bcs-web-eyebrow{font-size:12px;font-weight:700;letter-spacing:1.8px;line-height:1.6}.bcs-web-hero-copy h1{letter-spacing:-3px}
.bcs-web-browser{border:1px solid #becbd5;border-radius:12px;overflow:hidden;box-shadow:16px 20px 0 #eaf2f8,0 20px 40px #00000012;background:#080e14}
.bcs-web-browser-bar{padding:13px 20px}.bcs-web-browser-bar p{margin:0;font-size:11px;letter-spacing:1px}.bcs-web-browser-bar span{color:#0c71c3}
.bcs-web-coast img{display:block;width:100%;height:245px;object-fit:cover}.bcs-web-visual-caption{padding:28px 32px 18px}.bcs-web-visual-caption h2{font-size:36px}
.bcs-web-browser .et_pb_text{margin-bottom:0!important}.bcs-web-connection-strip{padding:20px 0!important}.bcs-web-family-strip,.bcs-web-family-strip p{margin-bottom:0!important;text-align:center;font-size:13px;letter-spacing:1px}
.bcs-web-feature-row{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.bcs-web-capability{border-bottom:1px solid #dce3e9;padding:17px 0}.bcs-web-capability:first-child{border-top:1px solid #dce3e9}.bcs-web-capability strong{display:block;font-size:23px;color:#0c71c3}.bcs-web-capability span{font-size:16px}
.bcs-web-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.bcs-web-family-card{background:white;overflow:hidden;border:1px solid #dce3e9;border-radius:8px;display:flex;flex-direction:column}.bcs-web-family-photo img{width:100%;height:190px;object-fit:cover}.bcs-web-card-copy{padding:22px 22px 0}.bcs-web-card-copy h3{font-size:24px}.bcs-web-family-card>.bcs-web-button{margin:0 22px 22px!important;align-self:flex-start;margin-top:auto!important}.bcs-web-card-copy .bcs-web-eyebrow{font-size:10px;letter-spacing:1px}
.bcs-web-signatures{display:grid;grid-template-columns:1fr 1fr;gap:32px;background:#050505;border-radius:8px;margin-top:32px!important;padding:18px 24px!important}.bcs-web-sister-logo img{height:65px;width:auto;max-width:100%;object-fit:contain;margin:auto}
.bcs-web-coastal-cta{background:linear-gradient(90deg,#050c17e0,#050c1750),url(images/cta-lighthouse.jpg) center/cover!important}.bcs-web-coastal-cta .et_pb_row{min-height:220px;display:flex;align-items:center}
.bcs-web-button{display:inline-block;max-width:100%;box-shadow:0 5px 16px #0c71c315}.bcs-web-button a{white-space:normal;text-align:center}.bcs-web-creative .et_pb_column:last-child{border-left:3px solid #0c71c3;padding-left:36px}
@media(max-width:1100px){.bcs-web-hero-row{gap:28px}.bcs-web-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bcs-web-feature-row{gap:40px}}
@media(max-width:980px){.bcs-web-header-row{display:block}.bcs-web-header-row>.et_pb_column{width:100%}.bcs-web-hero-row{grid-template-columns:1fr}.bcs-web-browser{max-width:650px;width:100%}.bcs-web-feature-row{grid-template-columns:1fr;gap:20px}.bcs-web-creative .et_pb_column:last-child{padding-left:24px}.bcs-web-nav a{display:inline-block;margin:5px 10px 5px 0}}
@media(max-width:600px){.bcs-web-family-grid{grid-template-columns:1fr}.bcs-web-coast img{height:180px}.bcs-web-visual-caption{padding:24px}.bcs-web-visual-caption h2{font-size:29px!important}.bcs-web-browser{box-shadow:7px 10px 0 #eaf2f8}.bcs-web-signatures{gap:16px}.bcs-web-sister-logo img{height:45px}.bcs-web-family-strip p{font-size:11px;line-height:2}.bcs-web-family-photo img{height:230px}}

/* Native editable Website Design promotion replaces the two logo strip. */
.bcs-web-website-banner{position:relative;isolation:isolate;background:#060a10;border-radius:10px;overflow:hidden;margin-top:32px!important}
.bcs-web-website-banner>.et_pb_column{position:static!important}
.bcs-web-website-banner .et_pb_module,.bcs-web-website-banner .et_pb_text,.bcs-web-website-banner .et_pb_image,.bcs-web-website-banner .bcs-web-button{position:relative;z-index:1;max-width:52%}
.bcs-web-website-banner .bcs-web-banner-background{position:absolute!important;inset:0;width:100%;max-width:none!important;height:100%;z-index:0;margin:0!important}
.bcs-web-banner-background .et_pb_image_wrap{display:block;width:100%;height:100%}.bcs-web-banner-background img{width:100%;height:100%;object-fit:cover;object-position:center}
.bcs-web-banner-logo img{width:240px;max-width:100%;aspect-ratio:4/1;object-fit:cover}.bcs-web-banner-logo{margin-bottom:18px}
.bcs-web-banner-copy h2{font-size:32px!important}.bcs-web-banner-copy p{font-size:17px}
@media(max-width:980px){.bcs-web-website-banner .et_pb_text,.bcs-web-website-banner .et_pb_image,.bcs-web-website-banner .bcs-web-button{max-width:58%}.bcs-web-banner-copy h2{font-size:28px!important}}
@media(max-width:600px){.bcs-web-website-banner .et_pb_module,.bcs-web-website-banner .et_pb_text,.bcs-web-website-banner .et_pb_image,.bcs-web-website-banner .bcs-web-button{max-width:100%}.bcs-web-website-banner .bcs-web-banner-background{position:relative!important;height:230px;width:calc(100% + 48px);margin-left:-24px!important;margin-bottom:24px!important}.bcs-web-banner-background img{object-position:right}.bcs-web-banner-copy h2{font-size:28px!important}}

/* Bourgea has its own website focused composition within the BCS family. */
.bcs-web-hero-row{display:block;position:relative;isolation:isolate;overflow:hidden}
.bcs-web-hero-row>.et_pb_column{position:static!important}
.bcs-web-hero-row .et_pb_text{position:relative;z-index:1;max-width:52%}
.bcs-web-hero-row .bcs-web-button{position:relative;z-index:1}
.bcs-web-hero-row .bcs-web-hero-backdrop{position:absolute!important;inset:0;width:100%;height:100%;z-index:-1}
.bcs-web-hero-backdrop .et_pb_image_wrap{display:block;height:100%;width:100%}.bcs-web-hero-backdrop img{width:100%;height:100%;object-fit:cover;object-position:center}
.bcs-web-hero-row:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#060a10e8 0%,#060a10c0 32%,#060a1000 68%);z-index:0;pointer-events:none}
.bcs-web-hero-copy h1{font-size:70px!important;letter-spacing:-2px}.bcs-web-hero{padding-top:55px!important;padding-bottom:55px!important}
.bcs-web-website .bcs-web-capability strong{color:white}.bcs-web-website .bcs-web-capability{border-color:#ffffff55}
.bcs-web-creative .et_pb_column:last-child{border-color:#46ccff}
@media(max-width:1100px){.bcs-web-hero-copy h1{font-size:58px!important}}
@media(max-width:980px){.bcs-web-hero-row .et_pb_text{max-width:65%}.bcs-web-hero-backdrop img{object-position:65% center}.bcs-web-hero-copy h1{font-size:52px!important}}

.bcs-web-family-card{border-color:#b9cee0;box-shadow:0 0 22px #0c71c314}.bcs-web-website-banner{border:1px solid #1f4663}.bcs-web-family-heading .bcs-web-eyebrow{color:#46ccff}.bcs-web-hero-copy .bcs-web-eyebrow{color:#46ccff}

/* Lighthouse copy stays in a dedicated black Divi column. */
.bcs-web-coastal-cta{background:#050c17!important}
.bcs-web-coastal-cta .bcs-web-lighthouse-row{display:grid;grid-template-columns:44% 56%;align-items:stretch;min-height:0}
.bcs-web-lighthouse-row>.et_pb_column{width:auto;margin:0;min-width:0}
.bcs-web-coastal-copy{display:flex;flex-direction:column;justify-content:center;background:#050c17}
.bcs-web-coastal-copy .bcs-web-button{align-self:flex-start}
.bcs-web-coastal-photo{position:relative;overflow:hidden;min-height:310px}
.bcs-web-lighthouse-image,.bcs-web-lighthouse-image .et_pb_image_wrap{display:block;height:100%;width:100%}
.bcs-web-lighthouse-image img{height:100%;width:100%;object-fit:cover;object-position:65% center}
@media(max-width:980px){.bcs-web-coastal-cta .bcs-web-lighthouse-row{grid-template-columns:1fr}.bcs-web-coastal-photo{height:220px;min-height:0}.bcs-web-lighthouse-image img{object-position:right center}}

.bcs-web-lighthouse-image img{transform:scale(1.16);transform-origin:center}

/* Footer Website Design signature: native Divi image module. */
.bcs-web-footer-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:32px;align-items:center}
.bcs-web-footer-row>.et_pb_column{width:auto;margin:0;min-width:0}
.bcs-web-footer-logo{text-align:right}.bcs-web-footer-logo img{width:260px;max-width:100%;aspect-ratio:4/1;object-fit:cover;margin-left:auto}
@media(max-width:767px){.bcs-web-footer-row{grid-template-columns:1fr;gap:22px}.bcs-web-footer-logo img{width:230px}}

/* Shared BCS electrical CTA discharges. */
.bcs-electric-button{position:relative!important;overflow:visible!important;}
.bcs-electric-arc{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;overflow:visible!important;pointer-events:none!important;z-index:4;fill:none;filter:drop-shadow(0 0 2px #28d9ff) drop-shadow(0 0 5px #078cff);animation:bcsElectricFlash var(--bcs-arc-duration,180ms) steps(1,end) both;}
.bcs-electric-arc path{stroke:#e8fdff;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.bcs-electric-arc .bcs-electric-branch{stroke:#77eaff;stroke-width:.8;}
@keyframes bcsElectricFlash{0%{opacity:0}8%{opacity:1}30%{opacity:.18}42%{opacity:.95}65%{opacity:.4}80%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.bcs-electric-arc{display:none!important;animation:none!important;}}

.bcs-web-footer-logo img{clip-path:inset(2px 0)}

@media(max-width:767px){.bcs-web-footer-logo{text-align:center}.bcs-web-footer-logo .et_pb_image_wrap{display:block}.bcs-web-footer-logo img{margin-left:auto;margin-right:auto}}

/* Match the Website Design logo's exact black background. */
.bcs-web-brand-header,.bcs-web-brand-footer,.bcs-web-website-banner{background:#000000!important}
.bcs-web-website-banner .bcs-web-banner-background{left:auto;right:0;width:48%}
.bcs-web-banner-background img{object-position:right center}
.bcs-web-banner-logo img{clip-path:inset(2px 0)}
@media(max-width:600px){.bcs-web-website-banner .bcs-web-banner-background{left:0;right:auto;width:calc(100% + 48px)}}

/* Mobile menu enhances the editable native navigation; desktop remains inline. */
.bcs-web-menu-toggle{display:none}
@media(max-width:980px){
 .bcs-web-header-row.bcs-web-mobile-ready{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 20px;align-items:center}
 .bcs-web-mobile-ready>.et_pb_column:first-child{grid-column:1;grid-row:1;width:auto!important}
 .bcs-web-mobile-ready .bcs-web-logo{margin-bottom:0!important}
 .bcs-web-mobile-ready .bcs-web-logo img{width:220px;max-width:100%}
 .bcs-web-mobile-ready>.bcs-web-navigation-column{grid-column:1/-1;grid-row:2;display:none;width:100%!important}
 .bcs-web-mobile-ready.bcs-web-menu-open>.bcs-web-navigation-column{display:block;padding-top:20px}
 .bcs-web-menu-toggle{grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;border:1px solid #0c71c3;border-radius:4px;background:#000;color:#fff;cursor:pointer}
 .bcs-web-menu-toggle span{display:block;height:2px;width:22px;background:#46ccff}
 .bcs-web-menu-toggle:focus-visible{outline:2px solid #46ccff;outline-offset:4px}
 .bcs-web-mobile-ready .bcs-web-nav{margin-bottom:0!important}
 .bcs-web-mobile-ready .bcs-web-nav a{display:block;margin:0;padding:13px 0;border-bottom:1px solid #ffffff20;font-size:16px}
}

@media(max-width:980px){.bcs-web-mobile-ready .bcs-web-nav p{font-size:0;line-height:0}.bcs-web-mobile-ready .bcs-web-nav a{line-height:1.4}}

/* Live Divi fixed-header offset and hero column flow. */
.bcs-web-framework:not(.et-fb):not(.et-fb-root-ancestor) #page-container{padding-top:0!important}
.bcs-web-hero-row>.et_pb_column{display:block!important}

/* Keep card CTAs level under Divi's generated module spacing. These variables
   can also be adjusted in a row/column's Divi Advanced > Custom CSS settings. */
.bcs-web-family-grid{align-items:stretch}
.bcs-web-family-grid>.bcs-web-family-card{display:flex;flex-direction:column;height:100%}
.bcs-web-family-card>.bcs-web-family-photo{flex:none;margin-bottom:0}
.bcs-web-family-card>.bcs-web-card-copy{flex:1}
.bcs-web-card-copy h3{min-height:var(--bcs-card-heading-height,2.24em)}
.bcs-web-family-grid>.bcs-web-family-card>.bcs-web-button{margin: auto var(--bcs-card-inset,22px) var(--bcs-card-bottom,22px)!important;align-self:flex-start}
@media(max-width:600px){.bcs-web-card-copy h3{min-height:0}}
/* When the shared footer is assigned, suppress the former page-local footer
   only on the frontend; saved page content and Visual Builder stay intact. */
body:not(.et-fb):not(.et-fb-root-ancestor):has(.et-l--footer .bcs-web-brand-footer) #main-content .bcs-web-brand-footer{display:none}

/* Shared header replaces page-local headers visually without rewriting pages.
   Keep the embedded section accessible in the page editor for recovery. */
body:not(.bcs-web-editor-preview):not(.et-fb):not(.et-fb-root-ancestor):has(.et-l--header .bcs-web-global-header) #main-content .bcs-web-brand-header{display:none}
/* Theme Builder header needs its spacing on legacy pages too. */
body:not(.bcs-web-editor-preview):not(.et-fb):not(.et-fb-root-ancestor):has(.et-l--header .bcs-web-global-header) #page-container{padding-top:0!important}
