/* Bandeau égérie — version sans CTA */
.tm-replicated-banner__preview-notice {
  display: none;
}

.tm-replicated-banner__wrap {
  padding: 0.75rem 1rem 0;
}
@media (min-width: 640px) {
  .tm-replicated-banner__wrap {
    padding-left: 1.875rem;
    padding-right: 1.875rem;
  }
}

.tm-replicated-banner__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 1.25rem;
  color: #fff;
  background-color: #4a2202;
  background-image:
    radial-gradient(ellipse 85% 140% at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 62%),
    linear-gradient(90deg, #3d1a01 0%, #5c2e0a 28%, #723610 50%, #5c2e0a 72%, #3d1a01 100%);
  box-shadow: 0 8px 24px rgba(61, 26, 1, 0.22);
}
@media (min-width: 768px) {
  .tm-replicated-banner__card {
    padding: 0.75rem 1.5rem;
  }
}

.tm-replicated-banner__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

.tm-replicated-banner__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  margin-right: 0.35rem;
}

.tm-replicated-banner__avatar-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.45rem;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 0.45rem solid transparent;
  border-bottom: 0.45rem solid transparent;
  border-left: 0.5rem solid #f5f0e8;
  z-index: 1;
}

.tm-replicated-banner__avatar {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 3px solid #f5f0e8;
  background: #f5f0e8;
}
@media (min-width: 768px) {
  .tm-replicated-banner__avatar {
    width: 4.5rem;
    height: 4.5rem;
  }
}

.tm-replicated-banner__info {
  min-width: 0;
}

.tm-replicated-banner__label {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.25;
  opacity: 0.9;
}
@media (min-width: 768px) {
  .tm-replicated-banner__label {
    font-size: 0.75rem;
  }
}

.tm-replicated-banner__name {
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .tm-replicated-banner__name {
    font-size: 1rem;
  }
}
.tm-replicated-banner__name strong {
  font-weight: 700;
}
.tm-replicated-banner__id {
  font-weight: 400;
  opacity: 0.95;
  white-space: nowrap;
}

.tm-replicated-banner__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
  text-align: right;
}

.tm-replicated-banner__contact {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.6875rem;
  line-height: 1.3;
  opacity: 0.95;
  min-width: 0;
}
@media (min-width: 768px) {
  .tm-replicated-banner__contact {
    font-size: 0.8125rem;
  }
}
.tm-replicated-banner__contact span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 14rem;
}
@media (min-width: 768px) {
  .tm-replicated-banner__contact span {
    max-width: 18rem;
  }
}
.tm-replicated-banner__contact:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tm-replicated-banner__icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .tm-replicated-banner__card {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .tm-replicated-banner__contacts {
    width: 100%;
    align-items: flex-start;
    text-align: left;
    padding-left: calc(4.25rem + 1.1rem);
  }
  .tm-replicated-banner__contact {
    justify-content: flex-start;
  }
  .tm-replicated-banner__contact span {
    max-width: 100%;
  }
  .tm-replicated-banner__id {
    display: block;
    margin-top: 0.1rem;
    white-space: normal;
  }
}
