/* Shared branded header. Legacy body class retained for compatibility. */
.bcx-home-header {--bcx-wave-color:var(--wp--preset--color--base,#347b59)}
.bcx-header-light,.bcx-story {--bcx-wave-color:#fafbf8}
.bcx-home-header header.wp-block-template-part {position:relative}
.bcx-home-header header.wp-block-template-part:has(.bc-hero-carrusel)::after {
 content:"";position:absolute;inset:auto 0 -1px;height:53px;z-index:4;pointer-events:none;
 background-color:var(--bcx-wave-color);
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 60' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 8C240 58 390 38 650 26C910 14 1120 52 1350 48C1450 47 1530 36 1600 24V60H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.bcx-home-header header .bc-hero-carrusel {
 min-height:190px!important;height:190px!important;box-sizing:border-box;
 padding:18px max(24px,calc((100vw - 1420px)/2)) 65px!important;
 overflow:visible!important;align-items:flex-start;isolation:auto;z-index:auto;
}
.bcx-home-header header .bc-hero-carrusel::before {
 background-image:url('https://brasilcoral.com/wp-content/uploads/2026/03/ChatGPT-Image-19-mar-2026-10_41_09-a.m.png')!important;
 animation:bcxPanorama 18s ease-in-out infinite alternate!important;transform:none!important;opacity:1!important;
 background-size:100% auto;background-position:center 48%;will-change:auto;
}
@keyframes bcxPanorama {
 from {background-size:100% auto;background-position:50% 48%}
 to {background-size:108% auto;background-position:52% 50%}
}
.bcx-home-header header:hover .bc-hero-carrusel::before,
.bcx-home-header header:focus-within .bc-hero-carrusel::before {animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce) {
 .bcx-home-header header .bc-hero-carrusel::before {animation:none!important}
}
.bcx-home-header header .bc-hero-carrusel::after {display:none!important}
.bcx-home-header header .bc-hero-carrusel>.wp-block-cover__background {opacity:.34!important}
.bcx-home-header header .wp-block-cover__inner-container {
 z-index:5;
 display:flex;align-items:center;justify-content:space-between;gap:32px;width:100%;
}
.bcx-home-header header .wp-block-cover__inner-container>.wp-block-group {
 margin:0!important;flex:0 0 auto;justify-content:flex-start!important;
}
.bcx-home-header header .custom-logo {width:170px!important;height:auto!important;display:block}
.bcx-home-header header nav.bc-nav-simple {
 position:static!important;inset:auto!important;margin:0!important;max-width:none!important;width:auto;
}
.bcx-home-header header ul.bc-nav-simple {
 position:static!important;inset:auto!important;max-width:none!important;margin:0!important;padding:0!important;
 flex-direction:row!important;flex-wrap:nowrap!important;gap:20px!important;align-items:center!important;
}
.bcx-home-header header .bc-language-switcher {margin-left:24px!important;flex-basis:auto!important;width:auto!important;white-space:nowrap}
.bcx-home-header header .wp-block-navigation-item__content {font-size:14px;line-height:1.4;text-shadow:0 1px 5px #0008}
.bcx-home-header header a:focus-visible,.bcx-home-header header button:focus-visible {outline:2px solid #f4d448!important;outline-offset:5px}
@media(max-width:1000px) {
 .bcx-home-header header ul.bc-nav-simple {gap:12px!important}
 .bcx-home-header header .bc-language-switcher {margin-left:6px!important}
 .bcx-home-header header .custom-logo {width:145px!important}
 .bcx-home-header header .wp-block-cover__inner-container {gap:18px}
 .bcx-home-header header .wp-block-navigation-item__content {font-size:12px}
}
@media(max-width:760px) {
 .bcx-home-header header .bc-hero-carrusel {height:180px!important;min-height:180px!important;padding:20px 22px 60px!important}
 .bcx-home-header header .custom-logo {width:140px!important}
 .bcx-home-header header .bc-hero-carrusel::before {background-position:45% center}
 .bcx-home-header header nav.bc-nav-simple .wp-block-navigation__responsive-container:not(.is-menu-open) {display:none!important}
 .bcx-home-header header nav.bc-nav-simple .wp-block-navigation__responsive-container.is-menu-open {overflow:auto!important}
 .bcx-home-header header nav.bc-nav-simple .wp-block-navigation__responsive-container.is-menu-open ul.bc-nav-simple {
  flex-direction:column!important;align-items:flex-end!important;gap:24px!important;margin:58px 0 0!important;padding:0 18px!important;
 }
 .bcx-home-header header .wp-block-navigation-item__content {font-size:17px!important}
 .bcx-home-header header .bc-language-switcher {margin:12px 0 0!important}
}
