
html,body{margin:0!important;padding:0!important;background:#f3f3f3!important}
body.radis-kb-shell{font-family:Tahoma,Arial,sans-serif;color:#111}
.radis-kb-page{min-height:100vh;background:#f3f3f3;--kb-accent:#18cfd4;--kb-dark:#071c33}
.radis-kb-hero{
  height:175px;
  background:
    linear-gradient(rgba(4,20,36,.56),rgba(4,20,36,.56)),
    linear-gradient(135deg,#28455d,#8c9ba6);
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:48px;
}
.radis-kb-hero h1{
  color:#fff;
  font-size:42px;
  font-weight:800;
  margin:0;
  text-shadow:0 2px 8px rgba(0,0,0,.28);
}
.radis-kb-wrap{
  max-width:980px;
  margin:-67px auto 0;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:28px;
  align-items:start;
  padding:0 18px 60px;
  position:relative;
  z-index:3;
  direction:ltr;
}
.radis-kb-sidebar,.radis-kb-list{direction:rtl}
.radis-kb-filter-box{
  background:#fff;
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 4px 13px rgba(0,0,0,.22);
  margin-bottom:34px;
}
.radis-kb-box-title{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 16px;
  font-size:18px;
  font-weight:800;
  border-bottom:1px solid #d7d7d7;
}
.radis-kb-search-icon{font-size:29px;line-height:1}
.radis-kb-filter-icon{font-size:13px}
.radis-kb-search-form{padding:27px 18px 34px}
.radis-kb-search-form input{
  width:100%;
  border:0;
  border-bottom:1px solid #cfd5db;
  padding:8px 2px;
  text-align:right;
  outline:none;
  font:inherit;
  box-sizing:border-box;
}
.radis-kb-search-form button{
  width:100%;
  margin-top:16px;
  min-height:38px;
  border:0;
  border-radius:4px;
  background:var(--kb-accent);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.radis-kb-brand-list a{
  display:block;
  padding:12px 18px;
  color:#40464c;
  text-decoration:none;
  border-bottom:1px solid #dedede;
  font-size:15px;
}
.radis-kb-brand-list a:last-child{border-bottom:0}
.radis-kb-brand-list a.active{
  background:var(--kb-accent);
  color:#fff;
  font-weight:700;
}
.radis-kb-card{
  min-height:118px;
  background:#fff;
  border-radius:5px;
  display:flex;
  align-items:center;
  flex-direction:row-reverse;
  gap:18px;
  padding:14px 22px 14px 24px;
  margin-bottom:20px;
  box-shadow:0 4px 13px rgba(0,0,0,.22);
  color:#111!important;
  text-decoration:none!important;
  transition:.18s ease;
}
.radis-kb-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.24)}
.radis-kb-card-icon{
  flex:0 0 52px;
  width:52px;height:52px;
  border-radius:50%;
  background:#f1f7fc;
  display:flex;
  align-items:center;
  justify-content:center;
}
.radis-kb-card-icon svg{
  width:33px;height:33px;
  fill:none;
  stroke:#58a7df;
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.radis-kb-card-body{min-width:0;flex:1}
.radis-kb-brand-name{
  font-size:13px;
  color:#73777a;
  margin-bottom:5px;
}
.radis-kb-card h2{
  font-size:19px;
  line-height:1.65;
  font-weight:500;
  margin:0 0 13px;
  color:#111;
}
.radis-kb-date{
  font-size:12px;
  color:#81868a;
  direction:ltr;
  text-align:left;
}
.radis-kb-empty{
  background:#fff;
  border-radius:6px;
  padding:30px;
  text-align:center;
  box-shadow:0 4px 13px rgba(0,0,0,.12);
}
.radis-kb-pagination{
  display:flex;
  gap:8px;
  justify-content:center;
  padding:12px 0 0;
}
.radis-kb-pagination a{
  min-width:35px;height:35px;
  padding:0 8px;
  border-radius:5px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#222;
  text-decoration:none;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
.radis-kb-pagination a.active{background:var(--kb-accent);color:#fff}
@media(max-width:760px){
  .radis-kb-hero{height:145px;padding-top:38px}
  .radis-kb-hero h1{font-size:31px}
  .radis-kb-wrap{
    margin:-25px auto 0;
    grid-template-columns:1fr;
    gap:18px;
    padding:0 13px 35px;
  }
  .radis-kb-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .radis-kb-filter-box{margin:0}
  .brand-box{max-height:310px;overflow:auto}
  .radis-kb-card{min-height:112px;padding:14px;gap:12px}
  .radis-kb-card h2{font-size:16px}
}
@media(max-width:520px){
  .radis-kb-sidebar{grid-template-columns:1fr}
  .radis-kb-card-icon{width:46px;height:46px;flex-basis:46px}
  .radis-kb-card-icon svg{width:29px;height:29px}
}


/* v1.0.1: lower hero title position */
.radis-kb-hero h1{
  transform:translateY(6px);
}
@media(max-width:760px){
  .radis-kb-hero h1{
    transform:translateY(4px);
  }
}


/* ===== v1.0.2 shared Radis portal header ===== */
.radis-kb-topbar{
  height:76px;
  background:var(--radis-header,#071c33);
  color:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
  position:relative;
  z-index:20;
}
.radis-kb-topbar-inner{
  max-width:1280px;
  height:100%;
  margin:auto;
  padding:0 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.radis-kb-topbar-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.radis-kb-topbar-logo-wrap{
  background:#fff;
  border-radius:12px;
  padding:7px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.radis-kb-topbar-logo{
  height:36px;
  width:auto;
  display:block;
}
.radis-kb-topbar-text strong{
  display:block;
  font-size:18px;
  line-height:1.25;
}
.radis-kb-topbar-text small{
  display:block;
  font-size:10px;
  opacity:.78;
  letter-spacing:1px;
  margin-top:3px;
}
.radis-kb-topbar-actions{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:14px;
}
.radis-kb-topbar-actions a{
  color:#fff!important;
  text-decoration:none!important;
  padding:8px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.18);
}
.radis-kb-topbar-actions a:hover{
  background:rgba(255,255,255,.08);
}
.radis-kb-topbar-actions .logout{
  border-color:rgba(24,207,212,.38);
  background:rgba(24,207,212,.12);
}
@media(max-width:700px){
  .radis-kb-topbar{
    height:auto;
    min-height:70px;
  }
  .radis-kb-topbar-inner{
    padding:12px 14px;
  }
  .radis-kb-topbar-text small{display:none}
  .radis-kb-topbar-text strong{font-size:15px}
  .radis-kb-topbar-logo{height:30px}
  .radis-kb-topbar-actions span{display:none}
  .radis-kb-topbar-actions a{padding:7px 9px;font-size:12px}
}


/* ===== v1.0.3: match portal header exactly ===== */
body.radis-kb-shell{
  margin:0!important;
  padding:0!important;
  background:#f3f3f3!important;
  overflow-x:hidden!important;
}

.radis-kb-topbar{
  height:76px!important;
  min-height:76px!important;
  background:var(--radis-header,#071c33)!important;
  color:#fff!important;
  box-shadow:0 2px 10px rgba(0,0,0,.12)!important;
  position:relative!important;
  z-index:20!important;
  margin:0!important;
  padding:0!important;
}

.radis-kb-topbar-inner{
  max-width:1280px!important;
  height:76px!important;
  margin:0 auto!important;
  padding:0 26px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  box-sizing:border-box!important;
}

.radis-kb-topbar-brand{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
}

.radis-kb-topbar-logo-wrap{
  background:#fff!important;
  border-radius:12px!important;
  padding:7px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:none!important;
  margin:0!important;
}

.radis-kb-topbar-logo{
  height:36px!important;
  width:auto!important;
  display:block!important;
  margin:0!important;
}

.radis-kb-topbar-text{
  margin:0!important;
  padding:0!important;
  line-height:1.15!important;
}

.radis-kb-topbar-text strong{
  display:block!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:800!important;
  margin:0!important;
  padding:0!important;
}

.radis-kb-topbar-text small{
  display:block!important;
  color:rgba(255,255,255,.78)!important;
  font-size:10px!important;
  letter-spacing:1px!important;
  margin-top:4px!important;
}

.radis-kb-userbar{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
}

.radis-kb-userbar a{
  text-decoration:none!important;
}

.radis-kb-dashboard-link{
  color:#fff!important;
  opacity:.95!important;
}

.radis-kb-username{
  color:#fff!important;
}

.radis-kb-logout{
  color:#fff!important;
  border:1px solid rgba(24,207,212,.38)!important;
  background:rgba(24,207,212,.12)!important;
  padding:8px 13px!important;
  border-radius:9px!important;
}

.radis-kb-page{
  margin:0!important;
  padding:0!important;
}

.radis-kb-hero{
  margin:0!important;
  height:175px!important;
  padding-top:48px!important;
}

.radis-kb-wrap{
  margin-top:-67px!important;
}

@media(max-width:700px){
  .radis-kb-topbar{
    height:auto!important;
    min-height:70px!important;
  }
  .radis-kb-topbar-inner{
    height:auto!important;
    min-height:70px!important;
    padding:12px 14px!important;
  }
  .radis-kb-topbar-text small{display:none!important}
  .radis-kb-topbar-text strong{font-size:15px!important}
  .radis-kb-topbar-logo{height:30px!important}
  .radis-kb-username{display:none!important}
  .radis-kb-userbar{gap:8px!important}
  .radis-kb-dashboard-link,
  .radis-kb-logout{
    font-size:12px!important;
    padding:7px 9px!important;
  }
}
