/* Doctor profile — about us */
.about-team .container > p,
.about-team .container > .text-center {
  position: relative;
  z-index: 1;
}

.doctor-profile {
  position: relative;
  z-index: 1;
  margin: 2.5rem 0;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(30, 58, 95, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.doctor-profile__accent {
  height: 4px;
  background: var(--estepera-accent-gradient);
}

.doctor-profile__inner {
  padding: 1.75rem 1.25rem 2rem;
}

.doctor-profile__hero {
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.doctor-profile__photo-wrap {
  margin: 0 auto;
  max-width: 280px;
}

.doctor-profile__photo {
  display: block;
  width: 100%;
  height: auto;
}

.doctor-profile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.doctor-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-profile__tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  background: var(--estepera-accent-gradient);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(72, 148, 216, 0.2);
}

.doctor-profile__tag--outline {
  color: #4894d8;
  background: #fff;
  border: 1px solid #c5d9ef;
  box-shadow: none;
}

.doctor-profile__tags-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.doctor-profile__header {
  margin-bottom: 0.75rem;
}

.doctor-profile__name-en {
  margin: 0 0 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--estepera-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.doctor-profile__name-ja {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1e3a5f;
  border: none;
  padding: 0;
}

.doctor-profile__role {
  display: inline-block;
  margin: 0;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: #1e3a5f;
  border-radius: 4px;
}

.doctor-profile__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #555;
}

.doctor-profile__sections {
  margin-top: 0.25rem;
}

.doctor-profile__block {
  margin-bottom: 1.25rem;
  padding: 1.1rem 1rem 1rem;
  background: #f7f9fc;
  border-radius: 12px;
  border: 1px solid #e8edf3;
}

.doctor-profile__block--compact {
  margin-bottom: 0;
  padding-bottom: 0.85rem;
}

.doctor-profile__heading {
  margin: 0 0 0.85rem;
  padding-bottom: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a5f;
}

.doctor-profile__heading::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.45rem;
  background: var(--estepera-accent-gradient);
  border-radius: 1px;
}

.doctor-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-timeline__item {
  position: relative;
  padding: 0 0 1rem 1.15rem;
  border-left: 2px solid #d4e3f3;
}

.doctor-timeline__item:last-child {
  padding-bottom: 0;
}

.doctor-timeline__item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4894d8;
}

.doctor-timeline__item--current::before {
  background: var(--estepera-accent-gradient);
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(72, 148, 216, 0.2);
}

.doctor-timeline__year {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4894d8;
  letter-spacing: 0.02em;
}

.doctor-timeline__item--current .doctor-timeline__year {
  color: #cb427b;
}

.doctor-timeline__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #444;
}

.doctor-profile__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor-profile__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #444;
  border-bottom: 1px dashed #dde5ee;
}

.doctor-profile__list li:last-child {
  border-bottom: none;
}

.doctor-profile__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--estepera-accent-gradient);
}

@media (min-width: 992px) {
  .doctor-profile__inner {
    padding: 2rem 2rem 2.25rem;
  }

  .doctor-profile__intro {
    padding-left: 0.5rem;
  }

  .doctor-profile__photo-wrap {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .doctor-profile {
    margin: 1.75rem 0;
  }

  .doctor-profile__name-ja {
    font-size: 1.3rem;
  }

  .doctor-profile__tags-row {
    flex: 0 0 100%;
    width: 100%;
  }
}