/* Team Member Single Banner */
.team-member-single-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.team-member-single-banner .team-banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://luathoangphi.vn/wp-content/themes/giaodienver2/images/gt.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

.team-member-single-banner .team-banner-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 34, 100, 0.4);
  z-index: 1;
}

.team-member-single-banner .team-banner-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.team-member-single-banner .team-page-title {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

/* Team Member Single Section */
.team-member-single-section {
  padding: 60px 0;
  background: #fff;
}

/* Main Card: Image and Basic Info */
.member-main-card {
  background: #fff;
  border: 2px solid #f8f6f9;
  border-radius: 8px;
  padding: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.member-single-image-wrapper {
  text-align: center;
  margin-bottom: 0;
}

.member-single-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
}

.member-single-content {
  padding: 0;
}

.member-single-name {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.member-single-position {
  font-size: 18px;
  font-weight: 600;
  color: #ea7a2b;
  margin-bottom: 25px;
}

/* Contact Info Wrapper */
.member-contact-info-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e6e7e8;
}

.member-contact-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
}

.member-contact-icon {
  font-size: 30px;
  color: #f27925;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.contact-info-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.contact-value {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.contact-value:hover {
  color: #0f2264;
}

.member-description-wrapper {
  margin-bottom: 0;
}

.member-single-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.member-single-description p {
  margin-bottom: 15px;
}

/* Toggle Description Button */
.toggle-description-wrapper {
  text-align: center;
  margin-top: 15px;
}

.btn-toggle-description {
  display: none; /* Hidden by default, shown by JS if needed */
  background: transparent;
  border: none;
  color: #ea7a2b;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.3s ease;
}

.btn-toggle-description:hover {
  color: #0f2264;
}

.btn-toggle-description:focus {
  outline: none;
}

/* Info Cards: Full Width with Background */
.member-info-card {
  background: #fff;
  border: 2px solid #f8f6f9;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.member-info-card:last-child {
  margin-bottom: 0;
}

/* Contact Card */
.member-contact-card {
  background: #fff;
  border: 2px solid #f8f6f9;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.member-contact-card:last-child {
  margin-bottom: 0;
}

.contact-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.contact-card-separator {
  width: 60px;
  height: 4px;
  background: #f1af00;
  margin-bottom: 20px;
}

.contact-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  padding: 8px 0;
  padding-left: 18px;
  position: relative;
}

.contact-card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ea7a2b;
  font-size: 24px;
  line-height: 1.8;
  top: 1px;
}

.contact-label-text {
  color: #333;
  font-weight: 400;
}

.contact-value-text {
  color: #e91e63;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value-text:hover {
  color: #c2185b;
  text-decoration: underline;
}

/* Other Members Section */
.other-members-section {
  padding: 0 0 60px 0;
  background: #fff;
}

.other-members-section .team-header {
  text-align: center;
  margin-bottom: 30px;
}

.other-members-section .team-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.other-members-section .team-title-icon {
  color: #ea7a2b;
  font-size: 20px;
  display: flex;
  align-items: center;
}

.other-members-section .team-title-icon i {
  transform: rotate(90deg);
}

.other-members-section .team-title {
  font-size: 26px;
  font-weight: 700;
  color: #0f2264;
  margin: 0;
  line-height: 1.2;
}

.other-members-section .team-carousel {
  margin-top: 30px;
}

.other-members-section .team-carousel .owl-item {
  padding: 4px 10px 0 10px;
}

.other-members-section .team-carousel.owl-theme .owl-dots {
  margin-top: 30px !important;
  text-align: center;
}

.other-members-section .team-carousel.owl-theme .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #000;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.other-members-section .team-carousel.owl-theme .owl-dots .owl-dot span {
  display: none;
}

.other-members-section .team-carousel.owl-theme .owl-dots .owl-dot:hover {
  background: #000;
  border-color: #000;
}

.other-members-section .team-carousel.owl-theme .owl-dots .owl-dot.active {
  background: #000;
  border-color: #000;
  width: 12px;
  height: 12px;
}

.info-block-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f2264;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
  border-bottom: 2px solid #e9e7e7;
}

.info-block-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 110px;
  height: 4px;
  background: #ea7a2b;
}

.info-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-block-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  padding: 10px 0;
  padding-left: 18px;
  position: relative;
}

.info-block-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ea7a2b;
  font-size: 24px;
  line-height: 1.8;
  top: 4px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 15px 0;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
}

.area-item:hover {
  transform: translateY(-2px);
}

.area-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.area-icon-default {
  width: 50px;
  height: 50px;
}

.area-text {
  font-size: 16px;
  color: #333;
  font-weight: 400;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 991px) {
  .team-member-single-banner {
    height: 250px;
  }

  .team-member-single-banner .team-page-title {
    font-size: 32px;
  }

  .team-member-single-section {
    padding: 50px 0;
  }

  .member-main-card {
    padding: 25px;
    padding-bottom: 30px;
  }

  .member-info-card {
    padding: 25px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .team-member-single-banner {
    height: 200px;
  }

  .team-member-single-banner .team-page-title {
    font-size: 28px;
  }

  .team-member-single-banner .team-banner-background {
    background-attachment: scroll;
  }

  .team-member-single-section {
    padding: 40px 0;
  }

  .member-main-card {
    padding: 20px;
    padding-bottom: 30px;
  }

  .member-info-card {
    padding: 20px;
  }

  .member-single-image {
    max-width: 100%;
  }

  .member-single-name {
    font-size: 24px;
  }

  .member-single-position {
    font-size: 16px;
  }

  .member-contact-info-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .member-contact-info {
    flex-wrap: wrap;
    gap: 8px;
  }

  .contact-label {
    font-size: 13px;
  }

  .contact-value {
    font-size: 14px;
  }

  .info-block-title {
    font-size: 20px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .member-main-card {
    padding: 15px;
    padding-bottom: 30px;
  }

  .member-info-card {
    padding: 15px;
  }

  .member-single-name {
    font-size: 20px;
  }

  .member-contact-info-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .member-contact-info {
    gap: 8px;
  }
}

