.ym-dept-detail {
  padding: 10px 0 24px;
  color: #111;
}

.ym-dept-detail__hero {
  margin: 6px 0 12px;
}

.ym-dept-detail__heroCard {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  padding: 14px 12px 12px;
}

.ym-dept-detail__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ym-dept-detail__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f2f7ff, #eaf2ff);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 56px;
}

.ym-dept-detail__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.ym-dept-detail__iconPlaceholder {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #0b63ce;
  opacity: 0.25;
}

.ym-dept-detail__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #111;
}

.ym-dept-detail__meta {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.ym-dept-detail__imageWrap {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ym-dept-detail__imageWrap--placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: radial-gradient(1200px 380px at 20% 0%, rgba(11, 99, 206, 0.16), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #f7faff, #eef4ff);
}

.ym-dept-detail__imagePlaceholderIcon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: 0.9;
}

.ym-dept-detail__imagePlaceholderDot {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: #0b63ce;
  opacity: 0.18;
}

.ym-dept-detail__image {
  width: 100%;
  height: auto;
  display: block;
}

.ym-dept-detail__section {
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  padding: 14px 12px;
}

.ym-dept-detail__sectionTitle {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0b63ce;
}

.ym-dept-detail__content {
  font-size: 15px;
  line-height: 1.75;
  color: #111;
}

.ym-dept-detail__content p {
  margin: 0 0 10px;
}

.ym-dept-detail__empty {
  font-size: 13px;
  color: #777;
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  padding: 10px;
}

/* Doctor list spacing on department page (reuses /doctor card styles). */
.ym-dept-detail__section--doctors .ym-doctor-team {
  margin: 0;
}

.ym-dept-detail__section--doctors .ym-doctor-team__list {
  margin-top: 8px;
}
