.akkomq-block-member-profile {
  margin: 0 auto;
  padding: 20px 0;
  max-width: 1000px;
}

/* Banner section */
.member-profile-banner {
  background: var(--wp--preset--color--white);
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}

.member-profile-banner-wrapper {
  display: flex;
  gap: 2%;
}

.member-profile-banner-left {
  flex: 0 0 70%;
  padding: 28px;
  border: 1px solid rgba(4, 28, 100, 0.08);
  border-radius: 10px;
}

.member-profile-banner-right {
  flex: 0 0 30%;
  background: linear-gradient(135deg, rgb(4, 28, 100) 0%, rgb(8, 57, 202) 100%);
  padding: 28px;
  color: var(--wp--preset--color--white);
  display: flex;
  align-items: center;
  border-radius: 10px;
}

.member-profile-banner-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wp--preset--color--primary-blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  opacity: 0.8;
}

.member-profile-banner-link a:hover {
  gap: 10px;
  opacity: 1;
}

.member-profile-banner-title {
  margin-bottom: 0;
}

.member-profile-banner-title h1 {
  font-size: 28px;
  color: var(--wp--preset--color--primary-blue);
  margin: 0 0 6px 0;
  font-weight: 600;
}

.member-profile-banner-title span {
  font-size: 16px;
  color: var(--wp--preset--color--deep-blue);
  opacity: 0.7;
  font-weight: 400;
}

.member-profile-banner-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-profile-banner-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--wp--preset--color--white);
}

.member-profile-banner-info span svg {
  filter: brightness(0) invert(1);
  width: 18px;
  height: 18px;
}

.member-profile-banner-info a {
  color: var(--wp--preset--color--white);
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-profile-banner-info a svg {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.member-profile-banner-info a:hover svg {
  opacity: 1;
}

/* Content section */
.member-profile-content {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(4, 28, 100, 0.08);
  border-radius: 10px;
}

.member-profile-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.member-profile-content-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.member-profile-content-locations {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.member-profile-content-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.member-profile-content h2 {
  font-size: 20px;
  color: var(--wp--preset--color--primary-blue);
  margin: 0 0 10px 0;
  font-weight: 600;
}

/* Section descriptions */
.member-profile-section-description {
  font-size: 14px;
  color: var(--wp--preset--color--deep-blue);
  opacity: 0.6;
  margin: 0 0 14px 0;
  line-height: 1.4;
}

/* Services tags */
.member-profile-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-profile-service-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--wp--preset--color--primary-blue);
  color: var(--wp--preset--color--white);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  user-select: none;
}

.member-profile-banner-meber-number {
  font-size: 13px;
  color: var(--wp--preset--color--deep-blue);
  opacity: 0.6;
  font-weight: 400;
  margin-top: 16px;
}

.member-profile-content-services-right-wrapper {
  background: var(--wp--preset--color--white);
  padding: 20px 0;
  margin-bottom: 16px;
}

.member-profile-content-services-right-wrapper-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-profile-content-services-right-wrapper span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(4, 28, 100, 0.04);
  border: 1px solid rgba(4, 28, 100, 0.08);
  border-radius: 12px;
  font-size: 13px;
  color: var(--wp--preset--color--deep-blue);
  transition: all 0.2s ease;
  user-select: none;
}

/* Professional places - maintenant en bas en une seule colonne */
.member-profile-content-pro-places {
  margin-bottom: 0;
}

.member-profile-content-pro-places-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.member-profile-content-pro-place {
  background: var(--wp--preset--color--white);
  border-radius: 6px;
  border: 1px solid rgba(4, 28, 100, 0.06);
  padding: 18px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(4, 28, 100, 0.04);
}

.member-profile-content-pro-place:hover {
  box-shadow: 0 2px 8px rgba(4, 28, 100, 0.08);
  transform: translateY(-1px);
}

.member-profile-content-pro-place h3 {
  font-size: 18px;
  color: var(--wp--preset--color--primary-blue);
  margin: 0 0 14px 0;
  font-weight: 600;
}

.member-profile-content-pro-place-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-profile-content-pro-place-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(4, 28, 100, 0.04);
  border: 1px solid rgba(4, 28, 100, 0.08);
  border-radius: 6px;
  font-size: 14px;
  color: var(--wp--preset--color--deep-blue);
}

.member-profile-content-pro-place-info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(4, 28, 100, 0.04);
  border: 1px solid rgba(4, 28, 100, 0.08);
  border-radius: 6px;
  color: var(--wp--preset--color--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.member-profile-content-pro-place-info-link:hover {
  gap: 10px;
  background: var(--wp--preset--color--primary-blue);
  color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--primary-blue);
}

/* More info section - Conteneur parent */
.member-profile-content-more-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Bloc Description du service */
.member-profile-content-more-info .service-description-block {
  background: var(--wp--preset--color--white);
  border-radius: 6px;
  border: 1px solid rgba(4, 28, 100, 0.06);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(4, 28, 100, 0.04);
}

/* Bloc Informations supplémentaires */
.member-profile-content-more-info .additional-info-block {
  background: var(--wp--preset--color--white);
  border-radius: 6px;
  border: 1px solid rgba(4, 28, 100, 0.06);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(4, 28, 100, 0.04);
}

.member-profile-content-more-info p {
  font-size: 15px;
  color: var(--wp--preset--color--deep-blue);
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

/* WYSIWYG Content Styling */
.member-profile-more-info-content {
  font-size: 14px;
  color: var(--wp--preset--color--deep-blue);
  line-height: 1.6;
  opacity: 1; /* Plus foncé */
}

.member-profile-more-info-content p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: var(--wp--preset--color--deep-blue);
  line-height: 1.6;
  opacity: 1; /* Plus foncé */
}

.member-profile-more-info-content p:last-child {
  margin-bottom: 0;
}

.member-profile-more-info-content ul,
.member-profile-more-info-content ol {
  margin: 8px 0 12px 0;
  padding-left: 20px;
  list-style-position: outside;
}

.member-profile-more-info-content ul {
  list-style-type: disc;
}

.member-profile-more-info-content ol {
  list-style-type: decimal;
}

.member-profile-more-info-content li {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--wp--preset--color--deep-blue);
  line-height: 1.5;
  opacity: 1; /* Plus foncé */
}

.member-profile-more-info-content li:last-child {
  margin-bottom: 0;
}

.member-profile-more-info-content a {
  color: var(--wp--preset--color--primary-blue);
  text-decoration: none;
  transition: opacity 0.2s ease;
  font-weight: 500;
}

.member-profile-more-info-content a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.member-profile-more-info-content strong,
.member-profile-more-info-content b {
  font-weight: 600;
  color: var(--wp--preset--color--primary-blue);
}

.member-profile-more-info-content em,
.member-profile-more-info-content i {
  font-style: italic;
}

.member-profile-more-info-content u {
  text-decoration: underline;
}

.member-profile-more-info-content h1,
.member-profile-more-info-content h2,
.member-profile-more-info-content h3,
.member-profile-more-info-content h4,
.member-profile-more-info-content h5,
.member-profile-more-info-content h6 {
  margin: 16px 0 8px 0;
  color: var(--wp--preset--color--primary-blue);
  font-weight: 600;
  line-height: 1.3;
}

.member-profile-more-info-content h1 {
  font-size: 18px;
}

.member-profile-more-info-content h2 {
  font-size: 16px;
}

.member-profile-more-info-content h3,
.member-profile-more-info-content h4,
.member-profile-more-info-content h5,
.member-profile-more-info-content h6 {
  font-size: 15px;
}

/* Message vide */
.member-profile-more-info-empty {
  padding: 16px;
  background: rgba(4, 28, 100, 0.02);
  border: 1px dashed rgba(4, 28, 100, 0.1);
  border-radius: 6px;
  text-align: center;
}

.member-profile-more-info-empty p {
  margin: 0;
  font-size: 14px;
  color: var(--wp--preset--color--deep-blue);
  opacity: 0.6;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .akkomq-block-member-profile {
    padding: 16px 0;
  }

  .member-profile-banner-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .member-profile-banner-left,
  .member-profile-banner-right {
    flex: 0 0 100%;
  }

  .member-profile-banner-left {
    border-right: none;
    border-bottom: 1px solid rgba(4, 28, 100, 0.08);
  }

  .member-profile-content-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .member-profile-content-services {
    grid-template-columns: 1fr;
  }

  .member-profile-banner-info {
    flex-direction: column;
  }

  .member-profile-content-pro-places-wrapper {
    grid-template-columns: 1fr;
  }

  .member-profile-banner-title h1 {
    font-size: 24px;
  }

  .member-profile-content h2 {
    font-size: 18px;
  }
  .member-profile-content {
    padding: 16px;
  }
}
