/* V5.30 shared site shell: low-specificity selectors so Public Voices keeps its scoped content CSS. */
body .rk-v530-shell-header{position:sticky;top:0;z-index:9998;height:77px;background:#0b141ff4;border-bottom:1px solid #35465b;color:#c8d4e1;font-family:Manrope,Arial,sans-serif}
body.admin-bar .rk-v530-shell-header{top:32px}
body .rk-v530-shell-header .wrap,body .rk-v530-footer .wrap{max-width:1460px;width:min(100% - 64px,1460px);margin-inline:auto}
body .rk-v530-shell-header .wrap{height:100%;display:flex;align-items:center;gap:clamp(13px,1.5vw,25px)}
body .rk-v530-shell-header .brand,body .rk-v530-footer .brand{display:flex;align-items:center;gap:9px;text-decoration:none;flex:none;color:#edf3fc}
body .rk-v530-shell-header .brand svg,body .rk-v530-footer .brand svg{width:31px;height:31px}
body .rk-v530-shell-header .brand b,body .rk-v530-footer .brand b{display:block;font-size:20px;line-height:1.07;font-weight:650;color:#f0f5fc;letter-spacing:-.035em}
body .rk-v530-shell-header .brand small,body .rk-v530-footer .brand small{display:block;font-size:8px;letter-spacing:.17em;margin-top:3px;color:#86a2c1;font-weight:500}
body .rk-v530-shell-header .nav{display:flex;align-items:center;gap:clamp(12px,1.3vw,22px);margin:0 auto}
body .rk-v530-shell-header .nav>a,body .rk-v530-shell-header .nav-dropdown>summary{font-size:12.5px;line-height:1.35;white-space:nowrap;font-weight:500;letter-spacing:.004em;color:#c7d1dd;text-decoration:none}
body .rk-v530-shell-header .nav a:hover,body .rk-v530-shell-header .nav-dropdown>summary:hover{color:#fff}
body .rk-v530-shell-header .nav-dropdown{position:relative;list-style:none}
body .rk-v530-shell-header .nav-dropdown>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;padding:11px 0}
body .rk-v530-shell-header .nav-dropdown>summary::-webkit-details-marker{display:none}
body .rk-v530-shell-header .nav-chevron{display:block;width:6px;height:6px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg) translateY(-2px)}
body .rk-v530-shell-header .nav-dropdown[open] .nav-chevron{transform:rotate(225deg) translate(-1px,-1px)}
body .rk-v530-shell-header .nav-submenu{position:absolute;left:-15px;top:calc(100% + 8px);display:flex;flex-direction:column;min-width:245px;padding:10px;gap:3px;border:1px solid #35495e;border-radius:12px;background:#142536;box-shadow:0 17px 34px #0009}
body .rk-v530-shell-header .nav-submenu a{display:block;padding:10px 9px;border-radius:7px;font-size:12px;font-weight:500;text-decoration:none;color:#cad9e8}
body .rk-v530-shell-header .nav-submenu a:hover{background:#24394d}
body .rk-v530-shell-header .header-actions{display:flex;align-items:center;gap:14px}
body .rk-v530-shell-header .header-contacts{border-left:1px solid #35475c;padding-left:16px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;white-space:nowrap}
body .rk-v530-shell-header .header-contacts a{font-size:11.5px;color:#b4c1d0;font-weight:500;text-decoration:none}
body .rk-v530-shell-header .header-login{display:inline-flex;align-items:center;justify-content:center;padding:0 18px;height:41px;border:1px solid #465f7b;border-radius:9px;background:#162537;color:#e8f2ff;white-space:nowrap;text-decoration:none;font-size:12px;font-weight:500}
body .rk-v530-shell-header .hamb{display:none;width:43px;height:40px;border:1px solid #40566d;border-radius:9px;background:#162537;color:#e8f2ff;cursor:pointer;font-size:21px}
body .rk-v530-shell-header .mobile-menu-contacts{display:none}
body .rk-v530-footer{font-family:Manrope,Arial,sans-serif;background:#0a131c;color:#c4d1df;border-top:1px solid #293949;padding:45px 0 32px}
body .rk-v530-footer .footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:30px}
body .rk-v530-footer .footer-tag{color:#879bb0;font-size:12px;margin:17px 0 0}
body .rk-v530-footer .footer-nav{display:flex;align-items:center;gap:23px;flex-wrap:wrap}
body .rk-v530-footer .footer-nav a,body .rk-v530-footer .footer-legal a{font-size:12px;font-weight:500;text-decoration:none;color:#b8c8d7}
body .rk-v530-footer .footer-bottom{border-top:1px solid #293949;margin-top:32px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:11px;color:#8399ae}
body .rk-v530-footer .footer-bottom p{margin:0;max-width:760px;font-size:11px;line-height:1.55;color:#8399ae}
body .rk-v530-footer .footer-legal{display:flex;gap:17px;flex-wrap:wrap;margin-top:21px}
body .rk-v530-footer .footer-bank{display:flex;flex-direction:column;gap:6px;font-size:12px}
body .rk-v530-footer .footer-bank a{color:#becddc;text-decoration:none}
@media(max-width:1180px){body .rk-v530-shell-header .nav{display:none}body .rk-v530-shell-header .header-actions{margin-left:auto}body .rk-v530-shell-header .hamb{display:inline-grid;place-items:center}body .rk-v530-shell-header .nav.open{display:flex;position:absolute;top:100%;left:25px;right:25px;flex-direction:column;align-items:stretch;gap:0;padding:12px 18px;background:#142537;border:1px solid #3d536c;border-radius:0 0 13px 13px;box-shadow:0 18px 35px #0009;max-height:calc(100vh - 80px);overflow:auto}body .rk-v530-shell-header .nav.open>a,body .rk-v530-shell-header .nav.open .nav-dropdown>summary{display:flex;justify-content:space-between;padding:12px 7px;font-size:14px;border-bottom:1px solid #354a60}body .rk-v530-shell-header .nav.open .nav-submenu{position:static;box-shadow:none;min-width:0;margin:0 0 8px;background:#1c3044}body .rk-v530-shell-header .mobile-menu-contacts{display:flex;flex-direction:column;gap:9px;padding:14px 7px}body .rk-v530-shell-header .mobile-menu-contacts a{color:#b4c1d0;font-size:12px}}
@media(max-width:782px){body.admin-bar .rk-v530-shell-header{top:46px}}
@media(max-width:720px){body .rk-v530-shell-header{height:68px}body .rk-v530-shell-header .wrap,body .rk-v530-footer .wrap{width:min(100% - 38px,1460px)}body .rk-v530-shell-header .header-contacts{display:none}body .rk-v530-shell-header .brand b{font-size:17px}body .rk-v530-shell-header .header-login{padding:0 12px;height:37px}body .rk-v530-footer .footer-top{flex-direction:column}body .rk-v530-footer .footer-bottom{flex-direction:column}}

/* Header follows the approved floating-over-hero layout rather than the old theme block. */
body .rk-v530-shell-header{position:fixed;left:0;right:0;top:0;z-index:9998}
body.admin-bar .rk-v530-shell-header{top:32px}
body.rk-v530-shell{padding-top:77px}
@media(max-width:782px){body.admin-bar .rk-v530-shell-header{top:46px}}
@media(max-width:720px){body.rk-v530-shell{padding-top:68px}}

body .rk-v530-shell-header .brand b{font-weight:650}
body .rk-v530-shell-header .nav>a,body .rk-v530-shell-header .nav-dropdown>summary,body .rk-v530-shell-header .header-contacts a{font-weight:400;color:#b9c7d7}
body .rk-v530-shell-header .header-login{font-weight:500}

/* 4.0.92 — compact shared cookie notice + accepted auth copy. */
body #cookie-notice.cookie-notice{position:fixed;left:50%;right:auto;bottom:14px;transform:translateX(-50%);z-index:2147483000;width:min(930px,calc(100% - 28px));padding:0;background:#fff;border:1px solid #ded7c8;border-radius:16px;color:#1f252b;box-shadow:0 18px 50px rgba(24,30,38,.18);font-family:Manrope,Arial,sans-serif}
body #cookie-notice.cookie-notice .cookie-content{display:flex;justify-content:space-between;align-items:center;gap:16px;width:auto;margin:0;padding:13px 14px 13px 16px}
body #cookie-notice.cookie-notice p{flex:1;margin:0;padding:0;color:#59636e;font-size:11px;line-height:1.5}
body #cookie-notice.cookie-notice a{color:#155b93;text-decoration:underline;text-underline-offset:2px}
body #cookie-notice.cookie-notice button{min-width:96px;min-height:38px;flex:none;border:1px solid #8fc8ef;border-radius:10px;padding:9px 13px;background:#d7efff;color:#155b93;font:650 12px Manrope,Arial,sans-serif;cursor:pointer;box-shadow:none}
body #cookie-notice.cookie-notice button:hover{background:#c9e8fb;border-color:#72b8e4;color:#155b93}
@media(max-width:720px){body #cookie-notice.cookie-notice{bottom:10px}body #cookie-notice.cookie-notice .cookie-content{align-items:stretch;flex-direction:column;gap:10px}body #cookie-notice.cookie-notice button{width:100%}}
/* The source HTML uses the same wrap geometry in the header as in the hero. */
body.rk-v530-page .rk-v530-shell-header .wrap{width:min(calc(100% - var(--pad)*2),var(--max));max-width:var(--max)}

/* 4.0.81 — source-faithful footer + functional links, common to all theme views. */
body .rk-v530-footer{padding:45px 0 30px;background:#0a131c;border-top:1px solid #293949;color:#b8c8d7}
body .rk-v530-footer .footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:32px}
body .rk-v530-footer .footer-identity{flex:1;min-width:205px}
body .rk-v530-footer .footer-tag{margin:17px 0 0;font-size:12px;color:#8294a8;font-weight:400}
body .rk-v530-footer .footer-nav{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin:4px 0 0;flex-wrap:wrap}
body .rk-v530-footer .footer-nav a{font-weight:450;font-size:12px;color:#b8c8d7}
body .rk-v530-footer .footer-services{display:flex;align-items:baseline;gap:12px 25px;flex-wrap:wrap;padding-top:25px;margin-top:26px;border-top:1px solid #293949}
body .rk-v530-footer .footer-services-label{font-size:10px;font-weight:650;letter-spacing:.2em;color:#8099b3;margin-right:9px}
body .rk-v530-footer .footer-services a{font-size:12px;font-weight:450;color:#b8c8d7;text-decoration:none}
body .rk-v530-footer .footer-utility{display:flex;align-items:flex-start;justify-content:space-between;gap:15px 30px;flex-wrap:wrap;margin-top:22px}
body .rk-v530-footer .footer-legal{display:flex;gap:12px 25px;flex-wrap:wrap;margin:0}
body .rk-v530-footer .footer-legal a{font-size:11px;font-weight:450;color:#90a6bb}
body .rk-v530-footer .footer-bank{display:flex;flex-direction:row;gap:9px 22px;flex-wrap:wrap}
body .rk-v530-footer .footer-bank a{font-size:12px;color:#b8c8d7;font-weight:450}
body .rk-v530-footer a:hover{color:#86bcff}
body .rk-v530-footer .footer-bottom{margin-top:29px;padding-top:22px;border-top:1px solid #293949}
body .rk-v530-footer .footer-bottom p{font-size:11px;font-weight:400;color:#8094a8}
/* Reference: menu inset is 23px left, without moving the logo or the contacts. */
@media(min-width:1181px){body .rk-v530-shell-header .nav{transform:translateX(-23px)}}
/* Crop only the microphone from V5.30's approved cap asset: no baked-in labels/links. */
@media(min-width:721px){
  body.rk-v530-page .rk-v530-shell-header{isolation:isolate}
  /* The V5.30 hero itself now owns the microphone cap, not the fixed header. */
  body.rk-v530-page .rk-v530-shell-header .wrap{position:relative;z-index:1}
}
@media(max-width:720px){body .rk-v530-footer .footer-top{display:block}body .rk-v530-footer .footer-nav{justify-content:flex-start;margin-top:25px}body .rk-v530-footer .footer-services{align-items:flex-start;gap:12px 20px}body .rk-v530-footer .footer-services-label{flex-basis:100%}body .rk-v530-footer .footer-utility{flex-direction:column}body .rk-v530-footer .footer-bank{gap:10px 20px}}

/* V5.30 microphone: isolated original foreground, naturally continuing the approved scene.
   This is a document-positioned overlay (not a fixed-header decoration): it disappears on scroll.
   Preserve original stage geometry, header links and hero art; touch no site-wide shell views. */
body:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap{position:absolute;inset:0 0 auto;z-index:9999;height:77px;overflow:hidden;pointer-events:none}
body:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap::before{
  content:"";position:absolute;left:54.276%;top:calc(clamp(515px,32.8947vw,690px) * .02727);
  width:26.914%;height:calc(clamp(515px,32.8947vw,690px) * .97273);
  background:url('../v530/microphone-q86.webp') left top/100% 100% no-repeat;
  pointer-events:none
}
@media (min-width:1750px){body:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap::before{top:calc(min(32.8947vw,690px) * .02727);height:calc(min(32.8947vw,690px) * .97273)}}
@media (max-width:1390px) and (min-width:1121px){body:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap::before{top:calc(clamp(515px,34vw,550px) * .02727);height:calc(clamp(515px,34vw,550px) * .97273)}}
@media (max-width:1120px){body:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap{display:none}}
@media (min-width:1121px){body.admin-bar:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap{top:32px}}

/* 4.0.85 — neutralize legacy nav spacing on non-front WordPress templates. */
body .rk-v530-shell-header nav.nav{text-align:left}
body .rk-v530-shell-header nav.nav>a{margin:0;padding:0}
body .rk-v530-shell-header nav.nav .nav-dropdown>summary{margin:0;background:transparent;border:0}

/* 4.0.93 — public shell color isolation. Legacy theme bundles use !important and
   -webkit-text-fill-color; lock the approved V5.30 header colors at the shell owner. */
body .rk-v530-shell-header .brand,body .rk-v530-shell-header .brand b{color:#f0f5fc!important;-webkit-text-fill-color:#f0f5fc!important}
body .rk-v530-shell-header .brand small{color:#86a2c1!important;-webkit-text-fill-color:#86a2c1!important}
body .rk-v530-shell-header .nav>a,body .rk-v530-shell-header .nav-dropdown>summary{color:#b9c7d7!important;-webkit-text-fill-color:#b9c7d7!important}
body .rk-v530-shell-header .nav>a:hover,body .rk-v530-shell-header .nav-dropdown>summary:hover{color:#fff!important;-webkit-text-fill-color:#fff!important}
body .rk-v530-shell-header .header-contacts a,body .rk-v530-shell-header .mobile-menu-contacts a{color:#b9c7d7!important;-webkit-text-fill-color:#b9c7d7!important}
body .rk-v530-shell-header .header-contacts a:hover,body .rk-v530-shell-header .mobile-menu-contacts a:hover{color:#fff!important;-webkit-text-fill-color:#fff!important}
body .rk-v530-shell-header .header-login{color:#e8f2ff!important;-webkit-text-fill-color:#e8f2ff!important}
body .rk-v530-shell-header .nav-submenu a{color:#cad9e8!important;-webkit-text-fill-color:#cad9e8!important}
body .rk-v530-shell-header .nav-submenu a:hover{color:#fff!important;-webkit-text-fill-color:#fff!important}

body .rk-v530-shell-header .brand img.rk-brand-megaphone,body .rk-v530-footer .brand img.rk-brand-megaphone{width:31px;height:31px;flex:none;display:block;object-fit:contain}


/* 4.0.171 — shared mobile navigation isolation.
 * Legacy assets/css/main.css still contains a <=980px rule for EVERY <header>
 * (position:relative!important) and EVERY .header-actions (display:none!important).
 * Those legacy selectors unintentionally override the V5.30 shared shell on
 * virtual routes such as /diktory/, hiding both Login and the hamburger and
 * leaving the body 68px clearance as a gap above the header.
 * Keep the legacy styles unchanged; restore only the named shared shell owner.
 */
@media(max-width:980px){
  html body header.rk-v530-shell-header.topbar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:9998!important;
  }
  html body header.rk-v530-shell-header .header-actions{
    display:flex!important;
    align-items:center!important;
    margin-left:auto!important;
    width:auto!important;
    max-width:100%!important;
    justify-content:flex-end!important;
    flex:0 0 auto!important;
    min-width:0!important;
  }
  html body header.rk-v530-shell-header button.hamb#menuButton{
    display:inline-grid!important;
    place-items:center!important;
    flex:0 0 auto!important;
  }
}
@media(max-width:782px){
  html body.admin-bar header.rk-v530-shell-header.topbar{top:46px!important;}
}
@media(min-width:783px) and (max-width:980px){
  html body.admin-bar header.rk-v530-shell-header.topbar{top:32px!important;}
}


/* 4.0.172 — ONE cookie consent button on all public pages.
 * The notice must not inherit sitewide .btn / .rk-ui-btn / landing CTA
 * treatments: they made it blue on the homepage but dark on the blog.
 * Only the cookie button ID and its banner owner are targeted.
 */
html body #cookie-notice.cookie-notice #cookie-accept.cookie-accept {
  appearance:none !important;
  -webkit-appearance:none !important;
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:96px !important;
  min-height:38px !important;
  height:38px !important;
  flex:0 0 auto !important;
  padding:9px 13px !important;
  margin:0 !important;
  border:1px solid #8fc8ef !important;
  border-radius:10px !important;
  background:#d7efff !important;
  color:#155b93 !important;
  -webkit-text-fill-color:#155b93 !important;
  font:650 12px/1.2 Manrope,Arial,sans-serif !important;
  letter-spacing:normal !important;
  text-transform:none !important;
  box-shadow:none !important;
  filter:none !important;
  opacity:1 !important;
  transform:none !important;
  cursor:pointer;
}
html body #cookie-notice.cookie-notice #cookie-accept.cookie-accept:hover {
  background:#c9e8fb !important;
  border-color:#72b8e4 !important;
  color:#155b93 !important;
  -webkit-text-fill-color:#155b93 !important;
  transform:none !important;
}
html body #cookie-notice.cookie-notice #cookie-accept.cookie-accept:focus-visible {
  outline:2px solid #155b93 !important;
  outline-offset:2px !important;
}
@media(max-width:720px) {
  html body #cookie-notice.cookie-notice #cookie-accept.cookie-accept {
    display:flex !important;
    width:100% !important;
  }
}

/* 4.0.172 — uniform 68px MOBILE shared header on all public routes.
 * Legacy CSS has `header { ... !important }` selectors; isolate only the
 * shared header, preserving the 4.0.171 menu actions fix and admin bar offset.
 */
@media(max-width:720px) {
  html body header.rk-v530-shell-header.topbar {
    box-sizing:border-box !important;
    height:68px !important;
    min-height:68px !important;
    max-height:68px !important;
    padding:0 !important;
    margin:0 !important;
  }
  html body header.rk-v530-shell-header.topbar > .wrap {
    box-sizing:border-box !important;
    height:100% !important;
    min-height:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    align-items:center !important;
  }
}

/* 4.0.173: compact common navigation; foreground cap is visible only when labels are clear. */
body .rk-v530-shell-header .wrap .nav{gap:clamp(9px,1vw,18px)}
body .rk-v530-shell-header .header-actions{flex-shrink:0}
body:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap.rk-mic-blocked{visibility:hidden}
@media(min-width:1181px){body .rk-v530-shell-header .nav{transform:translateX(-23px)}}

/* 4.0.175: reserve the physical microphone lane instead of centering the navigation into it. */
@media(min-width:1181px){
 html body header.rk-v530-shell-header.topbar > .wrap{gap:clamp(10px,1.1vw,22px)!important;}
 html body header.rk-v530-shell-header.topbar nav.nav{flex:0 0 auto!important;transform:none!important;margin:0 auto 0 0!important;gap:clamp(8px,.8vw,15px)!important;}
 html body header.rk-v530-shell-header.topbar .header-actions{margin-left:auto!important;flex:0 0 auto!important;}
}
html body:is(.rk-v530-page,.rk-b2b-page) header.rk-v530-shell-header.topbar{position:fixed!important;left:0!important;right:0!important;width:100%!important;z-index:9998!important;}
html body:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap{z-index:9999!important;pointer-events:none!important;}
/* Scene geometry comes from the actual background rectangle, when JS is available. */
body:is(.rk-v530-page,.rk-b2b-page) .rk-v530-mic-cap::before{
 left:var(--rk-cap-left,54.276%);top:var(--rk-cap-top,calc(clamp(515px,32.8947vw,690px)*.02727));
 width:var(--rk-cap-width,26.914%);height:var(--rk-cap-height,calc(clamp(515px,32.8947vw,690px)*.97273));
}
@media(min-width:1181px){
 html body:is(.rk-v530-page,.rk-b2b-page) header.rk-v530-shell-header.topbar > .wrap{
   width:min(calc(100% - clamp(64px,12.3vw,208px)),max(1464px,65vw))!important;
   max-width:none!important;
 }
}

/* 4.0.177: original menu typography, measured spacing independent of font. */
@media(min-width:1181px){
 html body header.rk-v530-shell-header.topbar nav.nav{margin:0 auto!important;gap:clamp(10px,1.35vw,24px)!important;justify-content:center!important;}
 html body header.rk-v530-shell-header.topbar nav.nav>a,
 html body header.rk-v530-shell-header.topbar nav.nav .nav-dropdown>summary{font-family:Manrope,Arial,sans-serif!important;font-size:12.5px!important;font-weight:400!important;line-height:1.35!important;letter-spacing:.004em!important;}
 html body:is(.rk-v530-page,.rk-b2b-page) header.rk-v530-shell-header.topbar nav.nav{width:var(--rk-nav-width,auto)!important;min-width:max-content!important;max-width:none!important;margin:0 auto 0 var(--rk-nav-offset,0px)!important;gap:clamp(10px,1.2vw,22px)!important;justify-content:space-between!important;}
}
/* Restore the same six entries in the shared footer, overriding the legacy hide rule. */
html body #rk-site-footer .footer-nav > a[href$="#contacts"]{display:inline-flex!important;}

/* SEO-048: accessible contact hit area, unchanged text styling. */
body .rk-v530-shell-header .header-contacts a{display:inline-flex;align-items:center;min-height:24px;}
