/* BestBRKR Core 11.2 — navigation, language-state and RTL/LTR repair. */
:root{
  --bbkr-header-desktop-h:76px;
  --bbkr-header-mobile-h:66px;
}
html,body{max-width:100%;overflow-x:clip}
.bbkr-global-header .bbkr-wrap{width:min(calc(100% - 48px),1400px)}
.bbkr-header-inner{display:grid!important;grid-template-columns:minmax(150px,180px) minmax(610px,1fr) auto!important;align-items:center;gap:26px!important;min-height:var(--bbkr-header-desktop-h)!important}
.bbkr-logo{direction:ltr!important;unicode-bidi:isolate!important;justify-self:start;line-height:1;text-decoration:none!important}
.bbkr-logo-desktop,.bbkr-logo-mobile,.bbkr-mobile-nav-logo{direction:ltr!important;unicode-bidi:isolate!important}
.bbkr-primary-nav{display:flex!important;align-items:center;justify-content:center;gap:13px!important;min-width:0}
.bbkr-nav-group{position:relative;display:flex;align-items:center;min-width:0;white-space:nowrap}
.bbkr-nav-parent{display:inline-flex!important;align-items:center;min-height:56px!important;padding:0 2px!important;color:#172d49!important;font-size:15px!important;font-weight:760!important;line-height:1.2!important;text-decoration:none!important}
.bbkr-nav-caret{display:inline-flex!important;align-items:center;justify-content:center;width:24px!important;height:38px!important;margin:0 0 0 1px!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#71829a!important;cursor:pointer}
.bbkr-nav-caret span{display:block;font-size:18px;line-height:1;transform:rotate(90deg);transition:transform .18s ease}
.bbkr-nav-group.is-open>.bbkr-nav-caret span{transform:rotate(-90deg)}
.bbkr-nav-group.is-active>.bbkr-nav-parent,.bbkr-nav-parent:hover{color:var(--bbkr-blue)!important}
.bbkr-nav-group.is-active:after{content:"";position:absolute;right:2px;bottom:7px;left:2px;height:2px;border-radius:3px;background:var(--bbkr-blue)}
.bbkr-nav-dropdown--columns{top:calc(100% + 7px)!important;width:min(660px,88vw)!important;padding:25px!important;gap:28px!important;border-radius:18px!important}
.bbkr-nav-dropdown h3{font-size:14px!important;line-height:1.3}
.bbkr-nav-dropdown a{min-height:42px!important;font-size:14px!important;line-height:1.3!important}
.bbkr-nav-dropdown a>span{opacity:1!important}
.bbkr-nav-dropdown a>i{font-style:normal;opacity:.55}
.bbkr-header-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:14px!important;white-space:nowrap}
.bbkr-header-actions>a{font-size:14px!important;font-weight:750!important;text-decoration:none!important}
.bbkr-header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px!important;padding:0 19px!important;border-radius:12px!important}
.bbkr-language-trigger{min-width:82px!important;height:44px!important;font-size:14px!important}
.bbkr-language-menu{width:230px!important}
.bbkr-language-menu a{font-size:14px!important}
.bbkr-menu-toggle,.bbkr-mobile-nav-head,.bbkr-mobile-utility-row,.bbkr-mobile-nav-actions,.bbkr-mobile-menu-overlay{display:none}

/* Language and brand safety. Never reverse brands, symbols or numeric inputs. */
[data-bbkr-no-translate],.bbkr-logo,.bbkr-partner-name,.bbkr-discovery-profile h2,.bbkr-discovery-score,.bbkr-listing-offer code,.bbkr-calculator input,.bbkr-calculator output,.bbkr-calculator [data-field]{unicode-bidi:isolate;direction:ltr}
[dir="rtl"] .bbkr-logo,[dir="rtl"] .bbkr-mobile-nav-logo{direction:ltr!important;text-align:left!important}
[dir="rtl"] .bbkr-calculator input,[dir="rtl"] .bbkr-calculator [data-field]{text-align:left}
[dir="rtl"] .bbkr-nav-dropdown,[dir="rtl"] .bbkr-language-menu{text-align:right}
[dir="rtl"] .bbkr-nav-caret{margin:0 1px 0 0!important}
[dir="rtl"] .bbkr-nav-dropdown a>i{transform:rotate(180deg)}

@media(max-width:1240px){
  body.bbkr-menu-open{overflow:hidden!important}
  .bbkr-global-header .bbkr-wrap{width:min(calc(100% - 34px),1180px)}
  .bbkr-header-inner{grid-template-columns:auto 1fr auto!important;gap:16px!important;min-height:72px!important}
  .bbkr-header-actions{display:none!important}
  .bbkr-menu-toggle{display:inline-flex!important;grid-column:3;align-items:center;justify-content:center;justify-self:end;width:46px!important;height:46px!important;padding:10px!important;border:1px solid #cbd8e7!important;border-radius:12px!important;background:#fff!important}
  .bbkr-menu-toggle span{width:22px!important;height:2px!important;margin:3px 0!important}
  .bbkr-mobile-menu-overlay{position:fixed;inset:0;z-index:1090;display:block;background:rgba(8,22,41,.44);backdrop-filter:blur(2px)}
  .bbkr-mobile-menu-overlay[hidden]{display:none!important}
  .bbkr-primary-nav{position:fixed!important;z-index:1100!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;width:min(390px,100vw)!important;height:100dvh!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:-22px 0 65px rgba(8,25,48,.24)!important;overflow:hidden!important;visibility:hidden;transform:translateX(105%);transition:transform .24s ease,visibility .24s ease}
  .bbkr-primary-nav.is-open{visibility:visible;transform:translateX(0)}
  .bbkr-mobile-nav-head{position:relative;z-index:3;display:flex!important;flex:0 0 auto;align-items:center;justify-content:space-between;min-height:66px;margin:0!important;padding:0 17px;border-bottom:1px solid #e3eaf2;background:#fff}
  .bbkr-mobile-nav-logo{display:inline-flex;align-items:center;max-width:145px;color:var(--bbkr-ink);font-family:Georgia,"Times New Roman",serif;font-size:23px;text-decoration:none}
  .bbkr-mobile-nav-logo img{display:block;max-width:100%;height:auto}
  .bbkr-mobile-menu-close{display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;padding:0!important;border:1px solid #d4dfeb!important;border-radius:12px!important;background:#f7f9fc!important;color:#17304e!important;font-size:26px!important;line-height:1!important;cursor:pointer}
  .bbkr-mobile-utility-row{display:grid!important;flex:0 0 auto;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:12px 17px;border-bottom:1px solid #edf1f5;background:#fff}
  .bbkr-mobile-language{display:block!important;margin:0!important;min-width:0}
  .bbkr-mobile-language .bbkr-language-picker{display:block;width:100%}
  .bbkr-mobile-language .bbkr-language-trigger{width:100%;justify-content:flex-start}
  .bbkr-mobile-language .bbkr-language-trigger i{margin-inline-start:auto}
  .bbkr-mobile-language .bbkr-language-menu{position:absolute!important;top:calc(100% + 7px)!important;right:auto!important;left:0!important;width:min(260px,calc(100vw - 34px))!important;margin:0!important;box-shadow:0 18px 42px rgba(10,31,59,.17)!important}
  .bbkr-mobile-country{display:grid;grid-template-columns:auto auto;align-items:center;gap:1px 6px;min-width:88px;min-height:44px;padding:5px 10px;border:1px solid #d4dfeb;border-radius:11px;color:#1b3554;text-decoration:none}
  .bbkr-mobile-country>span{grid-row:1/3;font-size:17px}.bbkr-mobile-country b{font-size:13px;line-height:1}.bbkr-mobile-country small{max-width:68px;overflow:hidden;color:#6f8198;font-size:9px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
  .bbkr-mobile-nav-scroll{flex:1 1 auto;min-height:0;padding:3px 17px 18px;overflow-y:auto;overscroll-behavior:contain}
  .bbkr-nav-group{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center;border-bottom:1px solid #edf1f5;white-space:normal}
  .bbkr-nav-group:after{display:none!important}
  .bbkr-nav-parent{min-height:54px!important;padding:0 12px!important;font-size:16px!important;font-weight:800!important}
  .bbkr-nav-caret{width:44px!important;height:48px!important;margin:0!important;border:0!important;background:transparent!important;color:#60748e!important}
  .bbkr-nav-caret span{font-size:22px;transform:none}
  .bbkr-nav-group.is-open>.bbkr-nav-caret span{transform:rotate(90deg)}
  .bbkr-nav-dropdown--columns{position:static!important;grid-column:1/-1;display:none!important;grid-template-columns:1fr!important;width:auto!important;margin:0 0 10px!important;padding:8px!important;border:0!important;border-radius:13px!important;background:#f7f9fc!important;box-shadow:none!important;transform:none!important}
  .bbkr-nav-group.is-open>.bbkr-nav-dropdown{display:grid!important}
  .bbkr-nav-dropdown section{gap:3px!important}
  .bbkr-nav-dropdown h3{margin:7px 8px 3px!important;padding:0 0 7px!important;font-size:12px!important;letter-spacing:.03em;text-transform:uppercase}
  .bbkr-nav-dropdown a{min-height:44px!important;padding:10px 11px!important;font-size:14px!important}
  .bbkr-mobile-nav-actions{position:relative!important;right:auto!important;bottom:auto!important;left:auto!important;display:grid!important;flex:0 0 auto;grid-template-columns:1fr 1fr;gap:8px;width:auto!important;margin:0!important;padding:11px 17px calc(13px + env(safe-area-inset-bottom));border-top:1px solid #dce5ef;background:#fff;box-shadow:0 -10px 28px rgba(11,31,58,.07)}
  .bbkr-mobile-nav-actions>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;border:1px solid #d5e1ed;border-radius:11px;color:#172e4b;font-size:13px;font-weight:800;text-align:center;text-decoration:none}
  .bbkr-mobile-nav-actions .bbkr-mobile-nav-cta{grid-column:1/-1;min-height:48px;border-color:transparent;background:linear-gradient(180deg,#f2bf56,#d99b21);color:#172238;font-size:14px}
  [dir="rtl"] .bbkr-primary-nav{right:auto!important;left:0!important;box-shadow:22px 0 65px rgba(8,25,48,.24)!important;transform:translateX(-105%)}
  [dir="rtl"] .bbkr-primary-nav.is-open{transform:translateX(0)}
  [dir="rtl"] .bbkr-mobile-language .bbkr-language-menu{right:0!important;left:auto!important}
  [dir="rtl"] .bbkr-nav-caret span{transform:rotate(180deg)}
  [dir="rtl"] .bbkr-nav-group.is-open>.bbkr-nav-caret span{transform:rotate(90deg)}
}

@media(max-width:782px){
  .bbkr-global-header .bbkr-wrap{width:min(calc(100% - 24px),1180px)}
  .bbkr-header-inner{min-height:var(--bbkr-header-mobile-h)!important;gap:12px!important}
  .bbkr-logo{width:var(--bbkr-mobile-logo-width,132px)!important;max-width:var(--bbkr-mobile-logo-width,132px)!important}
  .bbkr-logo-desktop{display:none!important}.bbkr-logo-mobile{display:flex!important}
}

@media(max-width:390px){
  .bbkr-primary-nav{width:100vw!important}
  .bbkr-mobile-utility-row{grid-template-columns:minmax(0,1fr) 82px}
  .bbkr-mobile-nav-actions{padding-inline:14px}
}
