/* Kenya Watch v5.4: shared navigation, fluid inner-page canvas, consistent action alignment.
   Loaded last to neutralize legacy saved-reference and v5.2/v5.3 scoped rules. */
:root{--kw-max:1480px}
html,body.kw-oc{width:100%;max-width:none}
body.kw-oc,body.kw-oc.kw-search-page{background:#fff!important}
body.kw-oc #page,body.kw-oc.kw-search-page #page,
body.kw-oc #wrapper_full,body.kw-oc #content,
body.kw-oc .content_all_warpper{
  width:100%!important;max-width:none!important;margin:0!important;
  min-width:0;box-shadow:none!important;border:0;
}
body.kw-oc #page{overflow:clip;min-height:100vh}
/* The same header now renders on homepage, directory, reports and every information page. */
body.kw-oc .kw-reference-header{
  width:100%;max-width:none;min-height:112px;
  padding:19px clamp(24px,3.15vw,65px);
  display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;
  gap:clamp(20px,3vw,62px);background:#fff;border-bottom:1px solid #e6e7e9;
  position:relative;z-index:999;box-sizing:border-box;
}
body.kw-oc .kw-reference-logo{display:inline-block;flex:0 0 auto;margin:0;line-height:1.05;align-self:center}
body.kw-oc .kw-reference-nav{
  display:flex;flex:1 1 auto;align-items:center;justify-content:flex-end;
  gap:clamp(13px,2.1vw,38px);min-width:0;margin:0;padding:0;
}
body.kw-oc .kw-reference-nav>a,
body.kw-oc .kw-reference-dropdown>button{
  box-sizing:border-box!important;display:inline-flex!important;
  justify-content:center!important;align-items:center!important;gap:7px;
  min-height:44px!important;padding:9px 0!important;line-height:1.35!important;
  margin:0!important;white-space:nowrap;text-align:center!important;
  font-family:Inter,Arial,sans-serif;font-size:clamp(12px,.82vw,15px);
  border:0!important;background:transparent!important;vertical-align:middle;
}
body.kw-oc .kw-reference-nav>a[aria-current="page"]{color:#9f1f34}
body.kw-oc .kw-reference-dropdown{display:flex;align-items:center;align-self:center;position:relative}
body.kw-oc .kw-reference-dropdown>button .kw-nav-chevron{
  width:7px;height:7px;flex:0 0 7px;display:inline-block!important;
  margin:-3px 0 0!important;padding:0!important;
  border:0;border-right:1.5px solid #858b94;border-bottom:1.5px solid #858b94;
  transform:rotate(45deg);vertical-align:middle;position:static;
}
body.kw-oc .kw-dropdown-list{top:100%;left:0;min-width:248px;padding:10px 0;z-index:1000;text-align:left}
body.kw-oc .kw-dropdown-list a{display:block;padding:10px 18px!important;text-align:left!important;line-height:1.4}
body.kw-oc .kw-reference-menu-btn{display:none;align-items:center;justify-content:center;gap:8px;margin-left:auto;white-space:nowrap}
/* Breakpoint moved down to when actual horizontal space is tight, not arbitrary desktop widths. */
@media(max-width:1150px){
  body.kw-oc .kw-reference-header{min-height:82px;padding:15px 25px}
  body.kw-oc .kw-reference-menu-btn{display:inline-flex;min-height:42px}
  body.kw-oc .kw-reference-nav{
    display:none;position:absolute;top:100%;left:0;right:0;
    padding:16px 25px 21px;box-shadow:0 12px 22px #0002;background:white;
    flex-direction:column;align-items:stretch;gap:0;
  }
  body.kw-oc .kw-reference-nav.is-open{display:flex}
  body.kw-oc .kw-reference-nav>a,
  body.kw-oc .kw-reference-dropdown>button{width:100%;justify-content:space-between!important;text-align:left!important;font-size:15px;min-height:44px!important;padding:10px 0!important}
  body.kw-oc .kw-reference-dropdown{display:block;width:100%}
  body.kw-oc .kw-dropdown-list{position:static;box-shadow:none;padding:3px 0 9px 15px;width:100%;min-width:0}
  body.kw-oc .kw-dropdown-list a{padding:9px 15px!important}
}
@media(min-width:1151px){
  body.kw-oc .kw-reference-menu-btn{display:none!important}
  body.kw-oc .kw-reference-nav{display:flex!important;position:static!important;box-shadow:none!important}
}
/* Full-width backgrounds; generous responsive interior gutters, without a small fixed box. */
body.kw-oc .kw-oc-results-page,body.kw-oc .kw-record-page,
body.kw-oc .kw-story-page,body.kw-oc .kw-contact-page,
body.kw-oc .inner-designed-page,body.kw-oc .inner-band,
body.kw-oc .directory-band,body.kw-oc .page-hero,
body.kw-oc .kw-story-split,body.kw-oc .kw-contact-main,
body.kw-oc .kw-story-intro,body.kw-oc .kw-contact-hero{
  width:100%;max-width:none;margin-left:0;margin-right:0;
}
body.kw-oc .kw-oc-results-page{padding:30px clamp(22px,4.2vw,80px) 65px;min-height:68vh}
body.kw-oc .kw-oc-results-inner{max-width:1600px;margin:0 auto;width:100%}
body.kw-oc .kw-results-columns{
  width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,350px);
  column-gap:clamp(26px,4vw,74px);align-items:start;
}
body.kw-oc .kw-detail-wrap,body.kw-oc .kw-story-container,
body.kw-oc .inner-designed-page .container,
body.kw-oc .page-hero .container,body.kw-oc .inner-band>.container,
body.kw-oc .inner-band .container,body.kw-oc .directory-band .container,
body.kw-oc .ref-container,body.kw-oc .page-layout,
body.kw-oc .report-shell,body.kw-oc .not-found>.container{
  box-sizing:border-box;width:calc(100% - clamp(40px,8vw,160px));
  max-width:1600px;margin-left:auto;margin-right:auto;
}
body.kw-oc .kw-record-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,350px);
  gap:clamp(28px,4.3vw,85px);width:100%;
}
body.kw-oc .kw-record-main{max-width:none}
body.kw-oc .kw-record-page{min-height:67vh}
body.kw-oc .kw-story-intro,body.kw-oc .kw-contact-hero{padding-top:55px;padding-bottom:65px}
body.kw-oc .kw-story-split{display:grid;grid-template-columns:1fr 1fr}
body.kw-oc .kw-story-panel{min-width:0;padding:60px clamp(35px,5vw,106px)}
body.kw-oc .kw-contact-main{padding-top:56px;padding-bottom:90px}
body.kw-oc .kw-contact-form-area{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,95px);padding:clamp(32px,4vw,72px)}
body.kw-oc .kw-contact-topics{grid-template-columns:repeat(3,minmax(0,1fr))}
body.kw-oc .page-layout,body.kw-oc .legal-layout{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);
  gap:clamp(34px,5vw,100px)
}
body.kw-oc .kw-reference-wrap{width:calc(100% - clamp(40px,8vw,160px));max-width:1600px}
/* Unified button geometry: content centred, consistent hit areas; preserve intentional text links. */
body.kw-oc button[type=submit],body.kw-oc .kw-contact-submit,
body.kw-oc .kw-record-action,body.kw-oc .ref-btn,body.kw-oc .kw-btn,
body.kw-oc .kw-reference-newsletter a,
body.kw-oc .kw-results-inputline button,
body.kw-oc .kw-results-advanced-grid button,
body.kw-oc .kw-record-side-search button{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  gap:9px;text-align:center;vertical-align:middle;line-height:1.3;
}
body.kw-oc .kw-contact-submit{width:auto;min-width:175px;justify-content:center;align-self:flex-start;white-space:nowrap}
body.kw-oc .kw-record-action{width:100%;min-height:44px;padding:11px 15px}
body.kw-oc .kw-results-inputline button{min-width:55px}
body.kw-oc .kw-results-advanced-grid button{min-height:36px}
body.kw-oc .kw-record-side-search button{min-height:38px}
body.kw-oc .kw-reference-newsletter a{flex:0 0 auto;min-width:174px;text-align:center}
body.kw-oc .button-row{align-items:center;justify-content:flex-start}
body.kw-oc .center-buttons{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:13px}
body.kw-oc .center-buttons .ref-btn+.ref-btn{margin:0}
/* Imported homepage contains six paired CTAs. Full-width sections: centre the pair; split panels: keep it against text. */
body.kw-oc .elementor-6874 .kw-action-pair > .elementor-container{
  display:flex!important;justify-content:center!important;align-items:center!important;
  gap:14px!important;width:100%!important;
}
body.kw-oc .elementor-6874 .elementor-col-50 .kw-action-pair > .elementor-container{
  justify-content:flex-start!important;
}
body.kw-oc .elementor-6874 .kw-action-pair .theme_btn_all{text-align:center!important}
body.kw-oc .elementor-6874 .kw-action-pair a.theme-btn.three{justify-content:center!important;text-align:center!important;min-height:52px!important}
body.kw-oc .kw-contact-topics a{align-self:flex-start}
/* A search page must not inherit the source site's completely separate top navigation. */
body.kw-oc.kw-search-page .kw-results-head-wrap{display:none}
@media(max-width:900px){
 body.kw-oc .kw-results-columns,body.kw-oc .kw-record-grid{grid-template-columns:minmax(0,1fr) 300px;gap:25px}
 body.kw-oc .kw-story-panel{padding:40px 30px}
 body.kw-oc .kw-contact-form-area{gap:30px;padding:35px}
 body.kw-oc .kw-contact-topics{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 body.kw-oc .kw-oc-results-page{padding:22px 20px 55px}
 body.kw-oc .kw-results-columns,body.kw-oc .kw-record-grid{grid-template-columns:1fr}
 body.kw-oc .kw-detail-wrap,body.kw-oc .kw-story-container,
 body.kw-oc .inner-designed-page .container,body.kw-oc .page-hero .container,
 body.kw-oc .inner-band .container,body.kw-oc .ref-container,
 body.kw-oc .page-layout,body.kw-oc .report-shell,
 body.kw-oc .kw-reference-wrap{width:calc(100% - 40px)}
 body.kw-oc .kw-record-grid{gap:15px}
 body.kw-oc .kw-story-split{grid-template-columns:1fr}
 body.kw-oc .kw-story-split-reverse>.kw-story-photo,
 body.kw-oc .kw-story-split-reverse>.kw-story-panel{order:unset}
 body.kw-oc .kw-story-panel{padding:44px 24px}
 body.kw-oc .kw-contact-form-area{grid-template-columns:1fr;padding:28px}
 body.kw-oc .kw-contact-topics{grid-template-columns:1fr}
 body.kw-oc .page-layout,body.kw-oc .legal-layout{grid-template-columns:1fr}
 body.kw-oc .kw-reference-newsletter .kw-reference-wrap{align-items:stretch;text-align:center}
 body.kw-oc .kw-reference-newsletter a{align-self:center}
 body.kw-oc .elementor-6874 .kw-action-pair > .elementor-container,
 body.kw-oc .elementor-6874 .elementor-col-50 .kw-action-pair > .elementor-container{justify-content:center!important}
}
@media(max-width:460px){
 body.kw-oc .kw-reference-header{padding:12px 16px}
 body.kw-oc .kw-reference-logo{font-size:31px}
 body.kw-oc .kw-detail-wrap,body.kw-oc .kw-story-container,
 body.kw-oc .inner-designed-page .container,body.kw-oc .page-hero .container,
 body.kw-oc .inner-band .container,body.kw-oc .kw-reference-wrap{width:calc(100% - 32px)}
 body.kw-oc .kw-record-details>div{grid-template-columns:1fr}
 body.kw-oc .kw-contact-form-area{padding:22px 17px}
 body.kw-oc .kw-contact-submit{width:100%}
}
