/* BaharSEO v2 - independent header/footer skin. Scoped to site chrome. */
:root { --bseo-navy:#0f2e4b; --bseo-blue:#1278df; --bseo-aqua:#19c7dc; --bseo-muted:#58718a; --bseo-edge:#e4edf6; }
.bseo-header,.bseo-header *, .bseo-footer,.bseo-footer * { box-sizing:border-box; }
#masthead.bseo-header { position:sticky; top:0; z-index:9999; width:100%; direction:rtl; background:rgba(255,255,255,.97); border:0; border-bottom:1px solid var(--bseo-edge); box-shadow:0 8px 28px rgba(17,65,103,.045); -webkit-backdrop-filter:blur(15px); backdrop-filter:blur(15px); }
.admin-bar #masthead.bseo-header { top:32px; }
.bseo-header-inner { width:min(1310px,calc(100% - 52px)); min-height:89px; margin:0 auto; padding:9px 0; display:flex; flex-direction:row; align-items:center; gap:clamp(13px,2vw,28px); }
.bseo-brand { order:3; margin-inline-start:auto; flex:0 0 auto; line-height:0; max-width:178px; }
.bseo-brand .custom-logo-link,.bseo-brand a { display:inline-block; line-height:0; text-decoration:none; }
.bseo-brand img,.bseo-brand img.custom-logo { display:block; width:auto!important; height:auto!important; max-width:170px!important; max-height:61px!important; object-fit:contain; }
.bseo-brand>a:not(.custom-logo-link) { color:var(--bseo-blue); font-size:28px; font-weight:950; line-height:1.4; }
.bseo-nav { order:1; flex:1 1 auto; min-width:0; }
.bseo-nav .bseo-menu { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; flex-wrap:nowrap; list-style:none!important; margin:0!important; padding:0!important; gap:clamp(3px,.5vw,9px); }
.bseo-nav .bseo-menu>li { margin:0!important; padding:0!important; list-style:none; position:relative; white-space:nowrap; }
.bseo-nav .bseo-menu a { display:inline-flex; align-items:center; justify-content:center; min-height:45px; padding:11px clamp(8px,.7vw,12px); color:#193b56!important; font-size:13.5px; line-height:1.5; font-weight:750; text-decoration:none!important; border-radius:10px; background:transparent; transition:background .16s,color .16s; box-shadow:none; }
.bseo-nav .bseo-menu a:hover,.bseo-nav .bseo-menu a:focus-visible,.bseo-nav .bseo-menu .current-menu-item>a { color:#086ebb!important; background:#edf7ff; }
.bseo-nav .bseo-menu .menu-item-has-children>a:after { content:"⌄"; margin-inline-start:6px; font-size:16px; opacity:.8; line-height:1; }
.bseo-nav .sub-menu { position:absolute; top:calc(100% - 2px); right:0; min-width:218px; max-width:330px; list-style:none!important; margin:0!important; padding:9px!important; background:white; border:1px solid #deebf6; border-radius:14px; box-shadow:0 20px 55px rgba(8,44,83,.12); display:none; z-index:30; }
.bseo-nav .sub-menu li { list-style:none; margin:0!important; position:relative; }
.bseo-nav .sub-menu a { display:flex; width:100%; font-size:13px; min-height:40px; padding:10px!important; white-space:normal; border-radius:8px; }
.bseo-nav .sub-menu .sub-menu { right:100%; top:-9px; }
.bseo-nav li:hover>.sub-menu,.bseo-nav li:focus-within>.sub-menu { display:block; }
.bseo-cta { order:2; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:12px 17px; min-height:47px; background:linear-gradient(105deg,#1279dd,#0eabc9); color:white!important; border-radius:12px; border:1px solid #208bdc; box-shadow:0 9px 20px rgba(15,134,207,.16); white-space:nowrap; text-decoration:none!important; font-weight:850; font-size:13px; line-height:1.5; transition:transform .17s,box-shadow .17s; }
.bseo-cta:hover { color:white!important; transform:translateY(-2px); box-shadow:0 12px 23px rgba(15,134,207,.21); }
.bseo-cta span { font-size:17px; }
.bseo-toggle { order:0; display:none; border:1px solid #dbe9f6; border-radius:12px; background:#f5faff; height:45px; width:46px; padding:8px; cursor:pointer; flex:0 0 46px; }
.bseo-toggle span { display:block; height:2px; width:22px; border-radius:4px; margin:5px auto; background:#176caa; }
.bseo-sub-toggle { display:none; }
.bseo-header a:focus-visible,.bseo-header button:focus-visible,.bseo-footer a:focus-visible { outline:3px solid #36bedf; outline-offset:3px; }
/* Footer: dark navy contrast and structured columns. */
#colophon.bseo-footer { margin:0; padding:52px 22px 0; position:relative; isolation:isolate; direction:rtl; background:linear-gradient(138deg,#103352 0%,#091e33 80%)!important; color:#bfd9eb; border:0!important; }
.bseo-footer-inner { width:min(1200px,100%); margin-inline:auto; }
.bseo-invite { display:flex; justify-content:space-between; align-items:center; gap:28px; padding:31px 37px; border-radius:22px; border:1px solid rgba(128,207,251,.2); background:linear-gradient(105deg,#155583,#0e6997 64%,#0b7998); box-shadow:0 17px 44px rgba(2,18,32,.15); }
.bseo-invite>div { min-width:0; }
.bseo-invite>div>span { color:#80e9f5; font-size:12px; font-weight:850; line-height:1.5; }
.bseo-invite h2 { color:white!important; font-size:clamp(21px,2.3vw,31px); line-height:1.55; font-weight:900; margin:6px 0 5px!important; padding:0!important; }
.bseo-invite p { margin:0!important; color:#d6edfa!important; line-height:1.85; font-size:13px; }
.bseo-invite>a { display:inline-flex; align-items:center; justify-content:center; gap:9px; flex:0 0 auto; min-height:47px; padding:11px 23px; background:#fff; color:#1467a0!important; border-radius:12px; text-decoration:none!important; font-size:13px; font-weight:900; }
.bseo-invite>a:hover { background:#e4f9ff; color:#0c5284!important; }
.bseo-footer-columns { display:grid; grid-template-columns:minmax(240px,1.6fr) repeat(2,minmax(145px,1fr)) minmax(160px,1.05fr); gap:clamp(20px,3.1vw,42px); padding:51px 5px 45px; text-align:right; }
.bseo-footer-about { min-width:0; }
.bseo-footer-logo { line-height:0; }
.bseo-footer-logo .custom-logo-link { display:inline-block; line-height:0; }
.bseo-footer-logo img,.bseo-footer-logo img.custom-logo { width:auto!important; max-width:164px!important; height:auto!important; max-height:63px!important; object-fit:contain; filter:none!important; }
.bseo-footer-logo .bseo-fixed-logo { display:inline-flex; align-items:center; justify-content:center; min-height:72px; padding:7px 12px; background:#fff; border:1px solid rgba(255,255,255,.85); border-radius:15px; box-shadow:0 7px 18px rgba(0,0,0,.08); }
.bseo-brand .bseo-fixed-logo { display:inline-flex; align-items:center; line-height:0; }
.bseo-footer-logo>a:not(.custom-logo-link) { font-size:26px; line-height:1.6; font-weight:900; color:#8ae2f5!important; text-decoration:none!important; }
.bseo-footer-about p,.bseo-footer-columns p { color:#bfd5e5!important; font-size:13px; line-height:2.15; margin:15px 0 0!important; }
.bseo-footer-columns h3 { color:#fff!important; font-size:15px; line-height:1.5; font-weight:900; margin:7px 0 22px!important; }
.bseo-footer-columns nav ul,.bseo-footer-columns ul { margin:0!important; padding:0!important; list-style:none!important; }
.bseo-footer-columns li { margin:0 0 10px!important; padding:0!important; list-style:none!important; }
.bseo-footer-columns a { color:#c1d7e7!important; font-size:13px; line-height:1.9; text-decoration:none!important; transition:color .18s; }
.bseo-footer-columns a:hover { color:#60e1f1!important; }
.bseo-footer-columns p+a { display:inline-block; margin-top:12px; color:#7ee4f3!important; font-weight:800; }
.bseo-footer-bottom { border-top:1px solid rgba(218,239,255,.13); padding:21px 5px 26px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; color:#92b4cb; font-size:12px; line-height:1.8; }
.bseo-footer-bottom a { font-size:12px; color:#b3e9f2!important; text-decoration:none!important; }
@media (max-width:1130px) { .bseo-header-inner { width:calc(100% - 36px); gap:13px; } .bseo-brand img,.bseo-brand img.custom-logo { max-width:142px!important; } .bseo-nav .bseo-menu a { padding:10px 7px; font-size:12.5px; } .bseo-cta { padding:10px 12px; font-size:12px; } }
@media (max-width:980px) {
 .bseo-header-inner { min-height:74px; width:calc(100% - 32px); }
 .bseo-toggle { display:block; }
 .bseo-nav { order:1; display:none; position:absolute; top:100%; right:0; left:0; width:100%; padding:12px 23px 22px; max-height:calc(100dvh - 80px); overflow:auto; background:#fff; border-bottom:1px solid #daebf5; box-shadow:0 18px 26px rgba(13,52,82,.11); }
 .bseo-nav.is-open { display:block; }
 .bseo-nav .bseo-menu { display:block; }
 .bseo-nav .bseo-menu>li { white-space:normal; border-bottom:1px solid #eff4f8; }
 .bseo-nav .bseo-menu a { display:flex; align-items:center; justify-content:flex-start; font-size:14px; padding:12px 6px; width:calc(100% - 40px); min-height:45px; }
 .bseo-nav .bseo-menu .menu-item-has-children>a:after { display:none; }
 .bseo-nav .sub-menu { display:none; position:static; right:auto; top:auto; max-width:none; min-width:0; width:100%; background:#f8fcff; border:0; border-right:2px solid #d9edf9; border-radius:0; box-shadow:none; margin:0 10px 9px 0!important; padding:1px 14px 3px!important; }
 .bseo-nav li:hover>.sub-menu,.bseo-nav li:focus-within>.sub-menu { display:none; }
 .bseo-nav li.bseo-sub-open>.sub-menu { display:block; }
 .bseo-sub-toggle { display:flex; align-items:center; justify-content:center; position:absolute; top:6px; left:0; height:36px; width:37px; border:1px solid #d8e7f1; background:#f9fcfe; color:#186b9c; font-size:20px; border-radius:9px; cursor:pointer; }
 .bseo-sub-toggle:before { content:"+"; }
 .bseo-sub-open>.bseo-sub-toggle:before { content:"−"; }
 .bseo-cta { order:2; margin-inline-start:auto; }
 .bseo-brand { order:3; margin-inline-start:0; }
 .bseo-footer-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
 .admin-bar #masthead.bseo-header { top:46px; }
 .bseo-header-inner { width:calc(100% - 26px); }
 .bseo-brand img,.bseo-brand img.custom-logo { max-width:134px!important; max-height:48px!important; }
 .bseo-cta { display:none; }
 .bseo-brand { margin-inline-start:auto; }
 #colophon.bseo-footer { padding:32px 18px 0; }
 .bseo-invite { flex-direction:column; align-items:stretch; padding:25px 22px; }
 .bseo-invite>a { width:100%; }
 .bseo-footer-columns { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 16px; padding:35px 2px; }
 .bseo-footer-about { grid-column:1/-1; }
 .bseo-footer-columns h3 { margin-bottom:13px!important; }
 .bseo-footer-bottom { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {.bseo-header *, .bseo-footer * { transition:none!important; }}


/* WPVibe FA contextual navigation and product discovery */
.bseo-product-link{order:2;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;white-space:nowrap;padding:10px 13px;border-radius:12px;border:1px solid #c9e7f8;background:#effaff;color:#08648b!important;font-size:12.5px;font-weight:850;text-decoration:none!important;line-height:1.55;transition:background .2s,border-color .2s}
.bseo-product-link:hover{background:#e0f6ff;border-color:#82cee9;color:#07527a!important}
.bseo-product-mark{display:grid;place-items:center;width:23px;height:23px;background:linear-gradient(135deg,#0a78cc,#08a6b6);border-radius:7px;color:white;font-size:16px}
.bseo-product-mobile{display:none}
.bseo-header .bseo-nav{flex:0 1 auto}
.bseo-header-inner{gap:clamp(9px,1.1vw,18px)}
.bseo-product-panel{display:flex;align-items:center;gap:19px;padding:23px 26px;margin:0 4px 15px;border:1px solid rgba(111,216,244,.28);border-radius:18px;background:linear-gradient(100deg,rgba(21,97,138,.35),rgba(11,57,92,.35));direction:rtl}
.bseo-product-panel-icon{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;background:linear-gradient(145deg,#167cca,#1ab9c5);color:white;border-radius:17px;font-size:30px}
.bseo-product-panel-content{flex:1;min-width:0}
.bseo-product-panel h3{margin:0 0 5px!important;color:#fff!important;font-size:17px;line-height:1.7;font-weight:900}
.bseo-product-panel p{margin:0!important;color:#c5deed!important;font-size:12.5px;line-height:1.9}
.bseo-product-panel>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:11px;flex:0 0 auto;background:#fff;color:#116da7!important;font-weight:850;font-size:12px;line-height:1.7;text-decoration:none!important}
.bseo-product-panel>a:hover{background:#e9f9ff;color:#0b5c91!important}
@media(max-width:1280px){.bseo-header .bseo-nav{flex:1 1 auto}.bseo-product-link{padding:10px 9px;font-size:11.5px}.bseo-product-link .bseo-product-mark{display:none}}
@media(max-width:1100px){.bseo-product-link{display:none}.bseo-product-mobile{display:none}}
@media(max-width:980px){.bseo-product-mobile{display:flex;align-items:center;gap:8px;margin-top:14px;padding:13px 15px;border:1px solid #bce9f8;border-radius:11px;background:#e9faff;color:#08678b!important;font-weight:850;text-decoration:none!important;font-size:13px}.bseo-product-panel{flex-wrap:wrap}.bseo-product-panel>a{margin-inline-start:auto}}
@media(max-width:560px){.bseo-product-panel{padding:18px;gap:12px}.bseo-product-panel-icon{width:43px;height:43px;flex-basis:43px;font-size:24px}.bseo-product-panel-content{flex-basis:calc(100% - 60px)}.bseo-product-panel>a{width:100%;margin:0}}
