#agencyPage {
  
  .CenterContent {
  
    padding-inline: 10px;
  }
  
  .agencyHeaderBanner {
    
    position: relative;
    background: black;
    height: 290px;
    padding: 20px;
    margin: -20px -20px 0;
    display: flex;
    align-items: center;
    
    .agencyHeaderBanner__background {
      
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;
      opacity: .5;
    }
    
    .agencyHeaderBanner__container {
      
      position: relative;
      max-width: 940px;
      width: 100%;
      box-sizing: border-box;
      margin-inline: auto;
      display: flex;
      gap: 16px;
      padding: 10px;
    }
    
    .agencyHeaderBanner__logo {
      
      width: 145px;
      aspect-ratio: 1;
      background: white;
      border-radius: 4px;
      
      > img {

        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
      
    }
    
    .agencyHeaderBanner__content {
     
      text-align: start;
      color: white; 
  
      h1 {
        
        margin: 0;
      }
    }
    
  }
  
  .CenterContent {
    
    text-align: start;
  }
  
  .content__assetsCount {
    
    padding-block: 40px 20px; 
    display: flex;
    flex-flow: wrap;
    gap: 16px;
    
    & > .content__assetsCount_box {
      
      width: 190px;
      height: 85px;
      border: 1px solid #000;
      border-radius: 8px;
      padding: 10px;
      display: flex;
      flex-flow: column ;
      
      > div {
    
        display: flex;
        align-items: center;
        gap: 8px;
        
        i {
          
          font-size: 18px;
        }
        
        strong {
          
          font-weight: bold;
          font-size: 32px;
        }
      }
    }
  }
  
  .content__about {
    
    padding-block:  20px;
    
    h2 {
      
      font-size: 16px;
      font-weight: bold;
    }
    
    p {
      
      margin-bottom: 0;
      white-space: pre-line;
    }
  }
  
  .content__team {
     
    padding-block:  20px;
    
    h2 {
      
      font-size: 16px;
      font-weight: bold;
    }
     
    .content__team_list {
      
      padding-top: 20px;  
      display: flex;
      flex-flow: nowrap;
      gap: 16px;
      overflow: auto;
    }
    
    .content__team_item {
      
      min-width: 140px;
      display: flex;
      flex-flow: column;
      align-items: center;
      
      a {
      
        text-decoration: none;
        color: inherit;
      }
      
      .content__team_itemAvatar {
          
        width: 90px;
        aspect-ratio: 1;
        background: #eee;
        border-radius: 50%;
        overflow: hidden;
        
        img {
          
          display: block;
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
      
      .content__team_itemDescription {
        
        padding-top: 10px;
        text-align: center;
        line-height: 1.8;
        
        h3 {
          
          margin: 0;
          font-weight: bold;
          font-size: 14px;
        }
        
        .content__team_itemDescription__license {

          font-size: 12px;
          color: #656565;
          min-height: 22px;
        }
        
        .content__team_itemDescription__total {
          
          
        }
      }
    }
  }
  
  .content__tabs {
    
    padding-block: 20px;
    
    .hide {
    
      display: none!important;
    }
    
    h2 {
      
      font-size: 16px;
      font-weight: bold;
    }
    
    .content__tabs_RealEstateTyps {
    
      padding-block: 20px 10px;
      margin-bottom: 20px;
      border-bottom: 1px solid #eee;
      display: flex;
      
    }
    
    .content__tabs_tab {
      
      position: relative;
      font-size: 16px;
      padding: 0 16px;
    
      &:after  {
        
        position: absolute;
        bottom: -11px;
        inset-inline: 0;
        border-bottom: 3px solid #2196f3;  
      }
      
      &.selected {
        
        font-weight: bold;
        color: #2196f3;
        
        &:after {
            
          content: '';
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  
  #agencyPage {
    
    .content__assetsCount {
        
        > .content__assetsCount_box {
            
          flex: 1;  
        }
    }
    
  }
  
 
}
