/* Minimal styles – dostosuj pod design projektu */
.npc-employee-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px 0 rgba(0,0,0,.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
}

.npc-employee-card button{
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
}

.npc-employee-card__top {
  padding: 30px 30px 0px 30px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  height: 270px;
  max-height: 270px;
}



.npc-employee-card__avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.npc-employee-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tab-right--active .npc-employee-card__top{
    flex-direction: row;
    align-items: center;
    text-align: start;
    justify-content: start;
    height: 100px;
}

.tab-right--active .npc-employee-card__top .npc-employee-card__avatar{
    width: 50px;
    height: 50px;
}

.npc-employee-card__name {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.npc-employee-card__body{
    padding: 10px 20px;
    padding-top: 0px;
    margin-top: 20px;
    font-size: 14px;
    height: 250px;
    align-content: center;
}

.tab-right--active .npc-employee-card__body{
    height: 420px;
    align-content: start;
}

.npc-employee-card__body {
    flex: 1 1 auto;
    font-size: 14px;
    
    /* SCROLL magic ✨ */
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 420px; /* <-- dopasuj do designu */
    scrollbar-width: thin; /* ładniejszy scroll w Firefoxie */
  }
  
  /* opcjonalne upiększenie scrolla w WebKit (Chrome, Safari, Edge) */
  .npc-employee-card__body::-webkit-scrollbar {
    width: 6px;
  }
  
  .npc-employee-card__body::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
  }
  

.npc-employee-card__body svg{
    width: 16px;
    color: #0B57AD;
}

.npc-employee-card__position {
  color: #666;
  margin-top: 4px;
}
.npc-employee-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.npc-employee-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.npc-employee-card__row:first-child{
    padding: 0px 00px 10px 0px;
}

.npc-employee-card__row:last-child {
  border-bottom: none;
}
.npc-employee-card__icon {
  display: flex;
  align-items: center;
  text-align: center;
  width: 30px;
  height: 30px;
  transition: 0.3s;
  padding-right: 10px;
  border-right: 1px solid #dfe2ec;
}
.npc-employee-card__cta {
  margin-top: 10px;
}

.npc-employee-card__bio{
    line-height: 1.6;
    color: #343740 !important;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}
.npc-employee-card__bio p:first-of-type{
    margin-top: 0px !important;
}

.npc-employee-card__btn {
  display: inline-block;
  padding: 12px 18px;
  background: #0d5cb6;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  width: 100%;
}
.npc-employee-card__tabs {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e6e6e6;
  /* margin-top: 10px; */
  padding-top: 10px;
}

.npc-employee-card__tab {
  border: 0;
  flex: 1;
  border-bottom: 3px solid transparent !important;
  background: transparent;
  padding: 20px 25px;
  font-weight: 700;
  color: #6a6a6a;
  cursor: pointer;

}

.npc-employee-card__tab.card_tab--left{
    border-radius: 0 0 0px 12px;
}
.npc-employee-card__tab.card_tab--right{
    border-radius: 0 0 12px 0px;
}


.npc-employee-card__tab.is-active {
  color: #0d5cb6;
  border-bottom-color: #0d5cb6 !important;
}
