/* Medical Line Icons - Using Pioon's YH Icon Font */

@font-face {
  font-family: "yh-icon";
  src: url('../fonts/medical-icons/iconfont.woff2') format('woff2'),
       url('../fonts/medical-icons/iconfont.woff') format('woff'),
       url('../fonts/medical-icons/iconfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 提高字体加载性能 */
}

/* 基础样式 - 适配所有医疗图标 */
[class^="yh-"],
[class*=" yh-"] {
  font-family: "yh-icon" !important;
  font-size: 60px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ffffff;
  display: inline-block;
  line-height: 1;
}

/* 在服务展示容器中的特殊样式 */
.service-icon-inner [class^="yh-"],
.service-icon-inner [class*=" yh-"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 医疗科室图标定义 - 使用Pioon的图标字体 */

/* 牙科 - Dentistry */
.yh-dentistry:before {
  content: "\e60c";
}

/* 血管科 - Vascular/Phlebology */
.yh-phlebology1:before {
  content: "\e608";
}

/* 耳鼻喉科 - ENT Surgery */
.yh-ent-surgery:before {
  content: "\e610";
}

/* 骨科 - Orthopedics */
.yh-orthopedics:before {
  content: "\e60d";
}

/* 妇科 - Gynecology */
.yh-gynecology:before {
  content: "\e606";
}

/* 肛肠科 - Proctology */
.yh-proctology:before {
  content: "\e60b";
}

/* 儿科 - Pediatrics (使用通用医生图标) */
.yh-pediatry:before {
  content: "\e62c"; /* 使用医生图标 */
}

/* 美容外科 - Aesthetic Surgery */
.yh-aesthetic-surgery:before {
  content: "\e614";
}

/* 激光治疗 - Laser Therapy */
.yh-laser-therapy:before {
  content: "\e60f";
}

/* 兽医 - Veterinary Medicine */
.yh-veterinary-medicine:before {
  content: "\e615";
}

/* 眼科 - Ophthalmology */
.yh-ophthalmology:before {
  content: "\e60e";
}

/* 皮肤科 - Dermatology */
.yh-dermatology:before {
  content: "\e612";
}

/* 额外的医疗应用图标 */

/* EVLT - 静脉曲张激光治疗 */
.yh-evlt:before {
  content: "\e600";
}

/* 减肥 - Lipolysis */
.yh-jianfei:before {
  content: "\e603";
}

/* PLDD - 经皮激光椎间盘减压术 */
.yh-jizhuiyan:before {
  content: "\e609";
}
