/* ByMalesha shared identity: one header and compact footer across public pages. */
:root body .wp-site-blocks header.wp-block-template-part > header:has(.bma-site-logo){padding:6px 24px!important;background:#241a20!important;border-bottom:1px solid #665147!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
:root body .wp-site-blocks header.wp-block-template-part .wp-block-group:has(>.bma-site-logo){gap:28px!important;max-width:none!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-site-logo{width:136px!important;max-width:136px!important;flex:0 0 136px!important;height:96px!important;overflow:hidden!important;margin:0!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-site-logo img{display:block!important;width:152px!important;max-width:none!important;height:152px!important;object-fit:contain!important;transform:translate(-8px,-28px)!important;filter:none!important;mix-blend-mode:lighten!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-primary-navigation{margin-left:4px!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-primary-navigation .wp-block-navigation__container{gap:12px!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-nav-tile > a.wp-block-navigation-item__content{position:relative;min-width:118px!important;min-height:68px!important;padding:9px 17px!important;border:1px solid #685146!important;border-radius:9px!important;background:#2b2025!important;color:#f4e5d3!important;box-shadow:none!important;text-decoration:none!important;transition:background-color .18s,border-color .18s!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-nav-tile .wp-block-navigation-item__label{gap:2px!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-nav-en{font-family:Georgia,'Times New Roman',serif!important;font-size:19px!important;font-weight:400!important;letter-spacing:.1px!important;line-height:1.18!important;color:#f4e5d3!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-nav-hi,
:root body .wp-site-blocks header.wp-block-template-part .bma-nav-ru{font-family:Arial,sans-serif!important;font-size:11px!important;font-weight:400!important;line-height:1.3!important;color:#c9b7ac!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-nav-tile.current-menu-item > a.wp-block-navigation-item__content{background:#49303a!important;border-color:#bb9475!important;box-shadow:inset 0 -2px #bb9475!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-nav-tile > a.wp-block-navigation-item__content:hover{background:#38282f!important;border-color:#c6a486!important;color:#fff3e4!important;text-decoration:none!important}
:root body .wp-site-blocks header.wp-block-template-part a:focus-visible,
:root body .wp-site-blocks header.wp-block-template-part button:focus-visible{outline:2px solid #e6c9a7!important;outline-offset:4px!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-account-navigation .bma-profile-link a{min-height:46px!important;padding:9px 16px!important;gap:9px!important;border:1px solid #c5a58b!important;border-radius:9px!important;background:#e6ccb0!important;color:#2d2027!important;font-family:Georgia,'Times New Roman',serif!important;font-size:16px!important;font-weight:400!important;box-shadow:none!important;text-decoration:none!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-account-navigation .bma-profile-link a:hover{background:#f3dcc2!important;border-color:#f3dcc2!important}
:root body .wp-site-blocks header.wp-block-template-part .bma-account-navigation .bma-profile-link a::before{width:19px!important;height:19px!important;filter:brightness(0) saturate(100%)!important;opacity:.78}
:root body .wp-site-blocks .bma-global-footer{padding:12px 24px!important;border-top:1px solid #665147!important}
:root body .wp-site-blocks .bma-footer-inner{max-width:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
:root body .wp-site-blocks .bma-footer-top{display:flex!important;align-items:center!important;gap:24px!important;margin:0!important}
:root body .wp-site-blocks .bma-footer-brand{flex:0 0 48px!important;margin:0!important}
:root body .wp-site-blocks .bma-footer-logo{width:48px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
:root body .wp-site-blocks .bma-footer-logo img{width:48px!important;height:48px!important;object-fit:contain!important;filter:none!important;mix-blend-mode:lighten!important}
:root body .wp-site-blocks .bma-footer-tagline{display:none!important}
:root body .wp-site-blocks .bma-footer-legal{gap:24px!important;margin:0!important;flex-wrap:nowrap!important}
:root body .wp-site-blocks .bma-footer-legal p{margin:0!important;max-width:none!important}
:root body .wp-site-blocks .bma-footer-legal a{display:block!important;line-height:1.3!important;text-decoration:none!important}
:root body .wp-site-blocks .bma-footer-legal a:hover{text-decoration:underline!important;text-underline-offset:3px}
:root body .wp-site-blocks .bma-footer-legal span{font-size:12px!important;line-height:1.3!important;margin:0!important}
:root body .wp-site-blocks .bma-footer-copyright{border:0!important;padding:0!important;margin:0!important;font-size:11px!important;line-height:1.4!important}
@media(max-width:900px){
 :root body .wp-site-blocks header.wp-block-template-part .bma-primary-navigation{margin-left:auto!important}
 :root body .wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open{background:#241a20!important;color:#f4e5d3!important;padding:70px 24px 24px!important}
 :root body .wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .bma-nav-tile>a{min-width:230px!important;min-height:78px!important}
 :root body .wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container-open,
 :root body .wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container-close{color:#e6ccb0!important;min-width:44px!important;min-height:44px!important;align-items:center;justify-content:center}
}
@media(max-width:750px){
 :root body .wp-site-blocks header.wp-block-template-part>header:has(.bma-site-logo){padding:4px 12px!important}
 :root body .wp-site-blocks header.wp-block-template-part .wp-block-group:has(>.bma-site-logo){gap:8px!important}
 :root body .wp-site-blocks header.wp-block-template-part .bma-site-logo{width:106px!important;max-width:106px!important;flex-basis:106px!important;height:74px!important}
 :root body .wp-site-blocks header.wp-block-template-part .bma-site-logo img{width:132px!important;height:132px!important;transform:translate(-13px,-29px)!important}
 :root body .wp-site-blocks .bma-global-footer{padding:6px 10px!important}
 :root body .wp-site-blocks .bma-footer-inner{flex-direction:column!important;gap:5px!important}
 :root body .wp-site-blocks .bma-footer-brand{display:none!important}
 :root body .wp-site-blocks .bma-footer-top{justify-content:center!important;width:100%!important}
 :root body .wp-site-blocks .bma-footer-legal{gap:18px!important;text-align:center!important}
 :root body .wp-site-blocks .bma-footer-legal span{font-size:11px!important;line-height:1.25!important}
 :root body .wp-site-blocks .bma-footer-copyright{font-size:10px!important}
}
@media(max-width:600px){
 :root body .wp-site-blocks header.wp-block-template-part .bma-account-navigation .bma-profile-link a{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;gap:0!important;font-size:0!important}
}
@media(prefers-reduced-motion:reduce){:root body .wp-site-blocks header.wp-block-template-part a{transition:none!important}}
/* Shared watercolor decoration inside the mobile navigation overlay. */
@media(max-width:900px){
 :root body .wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open{
  background-image:linear-gradient(rgba(36,26,32,.72),rgba(36,26,32,.72)),url("https://bymalesha.com/wp-content/uploads/2026/09/%D0%90%D0%BA%D0%B2%D0%B0%D1%80%D0%B5%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9-%D1%84%D0%BE%D0%BD-Social-media-%D0%B8-%D0%BA%D1%83%D1%80%D1%81%D0%BE%D0%B2.png")!important;
  background-size:100% 100%,auto 78%!important;
  background-position:center,left bottom!important;
  background-repeat:no-repeat!important;
 }
}
