.banner-section {
  position: relative;
  background-image: url('../images/team/img_banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.banner-section .team-banner-text {
  position: relative;
  z-index: 2;
  text-align: left;
  color: white;
  max-width: 800px;
  padding: 76px 100px 76px 52px;
  margin-top: 70px;
  margin-bottom: 100px;
  border-radius: 8px;
  border: 1px solid #ffffff;
}
.banner-section .team-banner-text .team-banner-subtitle {
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 27px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 62px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.banner-section .team-banner-text .team-banner-title {
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 43px;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
  text-transform: capitalize;
}
.banner-section .team-banner-text .team-banner-description {
  border-top: 1px solid #ffffff;
  padding-top: 12px;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}
.team-hero-section {
  padding: 60px 0 48px;
  background: #fff;
}
.team-hero-section .team-hero-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  padding: 0 10%;
}
.team-hero-section .team-hero-content .team-hero-image {
  flex: 1;
}
.team-hero-section .team-hero-content .team-hero-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.team-hero-section .team-hero-content .team-hero-text {
  flex: 1;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #040327;
}
.team-members-section {
  padding: 80px 0;
  background: #fff;
}
.team-search-section {
  margin-bottom: 60px;
  background: #241ce8;
  padding: 40px;
  color: white;
}
.team-search-section .search-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 24px;
}
.team-search-section .search-filters .filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.team-search-section .search-filters .filter-group.name-search-group {
  grid-column: span 1;
}
.team-search-section .search-filters .filter-group .filter-select {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 0;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 16px;
  color: white;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.team-search-section .search-filters .filter-group .filter-select:focus {
  outline: none;
  border-bottom-color: white;
}
.team-search-section .search-filters .filter-group .filter-select option {
  background: #241ce8;
  color: white;
}
.team-search-section .search-filters .filter-group .name-search-container {
  position: relative;
  display: flex;
  align-items: center;
}
.team-search-section .search-filters .filter-group .name-search-container .name-search {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 40px 12px 0;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 16px;
  color: white;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.team-search-section .search-filters .filter-group .name-search-container .name-search:focus {
  outline: none;
  border-bottom-color: white;
}
.team-search-section .search-filters .filter-group .name-search-container .name-search::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.team-search-section .search-filters .filter-group .name-search-container .search-submit {
  position: absolute;
  right: 0;
  bottom: 12px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.team-search-section .search-filters .filter-group .name-search-container .search-submit:hover {
  opacity: 0.8;
}
.team-search-section .search-filters .filter-group .name-search-container .search-submit svg {
  width: 20px;
  height: 20px;
}
.team-search-section .search-keyword-holder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.team-search-section .search-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 32px;
}
.team-search-section .search-keywords .keyword-label {
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.team-search-section .search-keywords .keyword-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 20px;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 12px;
  font-weight: 500;
}
.team-search-section .search-keywords .keyword-tag .keyword-remove {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.team-search-section .search-keywords .keyword-tag .keyword-remove:hover {
  background: rgba(255, 255, 255, 0.3);
}
.team-search-section .search-keywords .clear-filters {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.team-search-section .search-keywords .clear-filters:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}
.team-search-section .results-count {
  margin-left: auto;
  text-align: right;
  min-height: 32px;
}
.team-search-section .results-count .count {
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}
.lawyers-list {
  display: flex;
  flex-direction: column;
  gap: 52px;
  margin-bottom: 60px;
}
.lawyers-list .lawyer-card {
  display: flex;
  gap: 32px;
  padding: 37px 24px 28px;
  background: #f7f7f8;
  transition: all 0.3s ease;
}
.lawyers-list .lawyer-card:hover {
  background: #241ce8;
  color: white;
}
.lawyers-list .lawyer-card:hover .lawyer-info {
  color: white;
}
.lawyers-list .lawyer-card:hover .lawyer-info .lawyer-name {
  color: white;
}
.lawyers-list .lawyer-card:hover .lawyer-info .lawyer-title {
  color: rgba(255, 255, 255, 0.8);
}
.lawyers-list .lawyer-card:hover .lawyer-info .contact-item {
  color: rgba(255, 255, 255, 0.8);
}
.lawyers-list .lawyer-card:hover .lawyer-info .contact-item .contact-icon {
  filter: brightness(10);
}
.lawyers-list .lawyer-card:hover .lawyer-info .contact-item span {
  color: rgba(255, 255, 255, 0.8);
}
.lawyers-list .lawyer-card:hover .specialty-tag {
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: white !important;
}
.lawyers-list .lawyer-card .lawyer-photo {
  margin-top: -55px;
  width: 216px;
  flex-shrink: 0;
}
.lawyers-list .lawyer-card .lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lawyers-list .lawyer-card .lawyer-info {
  flex: 1;
}
.lawyers-list .lawyer-card .lawyer-info .lawyer-name {
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #212529;
  margin-bottom: 4px;
}
.lawyers-list .lawyer-card .lawyer-info .lawyer-name .lawyer-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
/*.lawyers-list .lawyer-card .lawyer-info .lawyer-name .lawyer-name-link:hover {*/
/*  color: #241ce8;*/
/*}*/
.lawyers-list .lawyer-card .lawyer-info .lawyer-title {
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 20px;
}
.lawyers-list .lawyer-card .lawyer-info .lawyer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.lawyers-list .lawyer-card .lawyer-info .lawyer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 14px;
  color: #495057;
}
.lawyers-list .lawyer-card .lawyer-info .lawyer-contact .contact-item .contact-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}
.lawyers-list .lawyer-card .lawyer-info .lawyer-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lawyers-list .lawyer-card .lawyer-info .lawyer-specialties .specialty-tag {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #241ce8;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 12px;
  color: #241ce8;
  white-space: nowrap;
}
.back-to-top {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
  padding-right: 0;
}
.back-to-top .back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: transparent;
  color: #040327;
  border: 1px solid #e9ecef;
  border-radius: 2px;
  font-family: 'Alibaba-PuHuiTi', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
}
.back-to-top .back-to-top-btn:hover {
  border-color: #241ce8;
  color: #241ce8;
  transform: translateY(-1px);
}
.back-to-top .back-to-top-btn .back-to-top-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.back-to-top .back-to-top-btn:hover .back-to-top-icon {
  transform: translateY(-2px);
}
@media (max-width: 1200px) {
  .banner-section .team-banner-text .team-banner-title {
    font-size: 56px;
  }
  .team-hero-section .team-hero-content {
    gap: 60px;
  }
  .team-search-section .search-filters {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .team-search-section .search-filters .filter-group.name-search-group {
    grid-column: span 2;
  }
  .lawyers-list .lawyer-card {
    gap: 24px;
    padding: 24px;
  }
}
@media (max-width: 768px) {
  .banner-section {
    height: auto;
  }
  .banner-section .team-banner-text .team-banner-title {
    font-size: 40px;
  }
  .banner-section .team-banner-text .team-banner-description {
    font-size: 16px;
  }
  .team-hero-section .team-hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .team-search-section {
    padding: 30px 20px;
  }
  .team-search-section .search-filters {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-search-section .search-filters .filter-group.name-search-group {
    grid-column: span 1;
  }
  .lawyers-list .lawyer-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .lawyers-list .lawyer-card .lawyer-photo {
    margin-top: 0;
    width: 100%;
    align-self: center;
  }
  .lawyers-list .lawyer-card .lawyer-photo img {
    max-width: 200px;
  }
  .lawyers-list .lawyer-card .lawyer-info .lawyer-contact {
    justify-content: center;
    gap: 16px;
  }
  .lawyers-list .lawyer-card .lawyer-info .lawyer-contact .contact-item {
    font-size: 12px;
  }
  .lawyers-list .lawyer-card .lawyer-info .lawyer-specialties {
    justify-content: center;
  }
  .back-to-top {
    margin-top: 30px;
  }
  .back-to-top .back-to-top-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  .back-to-top .back-to-top-btn .back-to-top-icon {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 480px) {
  .banner-section .team-banner-text .team-banner-title {
    font-size: 32px;
  }
  .team-members-section {
    padding: 60px 0;
  }
  .lawyers-list .lawyer-card .lawyer-info .lawyer-name {
    font-size: 20px;
  }
  .lawyers-list .lawyer-card .lawyer-info .lawyer-contact {
    flex-direction: column;
    gap: 12px;
  }
}
