/* RK Požega – Teams module 0.1.0 */
.rkp-teams-module{
  --rkp-teams-navy:#0d2f59;
  --rkp-teams-blue:#144d8c;
  --rkp-teams-gold:#d6a91d;
  --rkp-teams-border:#dfe6ee;
  --rkp-teams-muted:#7c8999;
  --rkp-teams-bg:#fff;
  --rkp-teams-soft:#f7f9fc;
  container-type:inline-size;
  background:var(--rkp-teams-bg);
  border-top:3px solid var(--rkp-teams-gold);
}

.rkp-teams-module,
.rkp-teams-module *,
.rkp-teams-module *::before,
.rkp-teams-module *::after{
  box-sizing:border-box;
  border-radius:0!important;
}

.rkp-teams-module__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 14px 12px;
  border-bottom:1px solid var(--rkp-teams-border);
}

.rkp-teams-module__title{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}

.rkp-teams-module__title h2{
  margin:0!important;
  color:#111d31;
  font-size:1.18rem!important;
  font-weight:950!important;
  letter-spacing:-.035em!important;
  line-height:1.1!important;
}

.rkp-teams-module__title > span{
  color:var(--rkp-teams-gold);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:-.08em;
}

.rkp-teams-module__all{
  color:var(--rkp-teams-blue);
  font-size:.62rem;
  font-weight:900;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.035em;
  white-space:nowrap;
}

.rkp-teams-module__all:hover{
  color:var(--rkp-teams-navy);
}

.rkp-teams-module__list{
  display:grid;
  gap:0;
}

.rkp-teams-module__item{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:68px;
  padding:12px 13px 12px 15px;
  border-bottom:1px solid var(--rkp-teams-border);
  background:var(--rkp-teams-bg);
  color:inherit;
  text-decoration:none;
  transition:background .16s ease,color .16s ease;
}

.rkp-teams-module__item::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:transparent;
}

.rkp-teams-module__item:hover{
  background:var(--rkp-teams-soft);
}

.rkp-teams-module__item:hover::before{
  background:var(--rkp-teams-gold);
}

.rkp-teams-module__item.is-active{
  background:var(--rkp-teams-navy);
}

.rkp-teams-module__item.is-active::before{
  background:var(--rkp-teams-gold);
}

.rkp-teams-module__body{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:2px;
}

.rkp-teams-module__body > small{
  color:var(--rkp-teams-muted);
  font-size:.48rem;
  font-weight:900;
  line-height:1;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.rkp-teams-module__body > strong{
  overflow:hidden;
  color:var(--rkp-teams-navy);
  font-size:.88rem;
  font-weight:950;
  line-height:1.18;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.rkp-teams-module__meta{
  display:flex;
  flex-wrap:wrap;
  gap:4px 8px;
  margin-top:3px;
  color:var(--rkp-teams-muted);
  font-size:.58rem;
  font-weight:650;
  line-height:1.3;
}

.rkp-teams-module__meta span + span::before{
  content:"·";
  margin-right:8px;
  color:var(--rkp-teams-gold);
}

.rkp-teams-module__arrow{
  flex:0 0 auto;
  color:var(--rkp-teams-gold);
  font-size:1rem;
  font-weight:900;
  transition:transform .16s ease;
}

.rkp-teams-module__item:hover .rkp-teams-module__arrow{
  transform:translateX(2px);
}

.rkp-teams-module__item.is-active .rkp-teams-module__body > small,
.rkp-teams-module__item.is-active .rkp-teams-module__meta{
  color:#becbda;
}

.rkp-teams-module__item.is-active .rkp-teams-module__body > strong{
  color:#fff;
}

.rkp-teams-module__empty{
  margin:0;
  padding:16px 14px;
  color:var(--rkp-teams-muted);
  font-size:.76rem;
}

/* Card mode – useful outside a narrow sidebar */
.rkp-teams-module.is-cards .rkp-teams-module__list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:12px;
}

.rkp-teams-module.is-cards .rkp-teams-module__item{
  border:1px solid var(--rkp-teams-border);
}

@container (max-width:420px){
  .rkp-teams-module.is-cards .rkp-teams-module__list{
    grid-template-columns:1fr;
  }

  .rkp-teams-module__head{
    align-items:flex-start;
  }

  .rkp-teams-module__all{
    margin-top:2px;
  }
}
