/*
 * @Author: 谭洁莹
 * @Date: 2025-09-28 08:47:41
 * @LastEditTime: 2025-11-10 18:53:43
 * @FilePath: /template/default/styles/common.css
 * @Description: 公共通用的样式
 */
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wrap {
  width: 100%;
  max-width: var(--width-pc-max);
  margin-left: auto;
  margin-right: auto;
}
h1.title,
h2.title {
  color: #4d4d4d;
  font-size: 20px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 5.22px;
}
.title-default {
  display: flex;
}
.title-default h1.title,
.title-default h2.title {
  position: relative;
  background: url("https://statichk.cmermedical.com/newopd/common/bg-title-default-m.svg") no-repeat;
  padding-left: 34px;
  background-position: 0 18px;
}
.text-default {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-info);
}
/* 按钮-双边框：文字需自己填色 */
.button-doubel {
  font-size: 20px;
  padding: 6px 4px;
  border-radius: 66px;
  color: #fff;
  box-shadow: 0 2.5px 2.5px rgba(0, 0, 0, 0.25);
  text-align: center;
}
.button-doubel .button-info-text {
  padding: 4px 20px;
  border-radius: 62px;
  box-shadow: 0 2.5px 2.5px rgba(0, 0, 0, 0.16);
}
/* 按钮-带鼠标 */
.button-mouse {
  position: relative;
  font-size: 20px;
  padding: 6px 4px;
  border-radius: 66px;
  color: #fff;
  box-shadow: 0 2.5px 2.5px rgba(0, 0, 0, 0.25);
  text-align: center;
}
.button-mouse .button-info-text {
  padding: 4px 20px;
  border-radius: 62px;
  box-shadow: 0 2.5px 2.5px rgba(0, 0, 0, 0.16);
}
.button-mouse::before {
  position: absolute;
  content: "";
  background: url("https://statichk.cmermedical.com/newopd/common/icon-mouse.svg") no-repeat;
  background-size: contain;
  width: 32px;
  height: 32px;
  bottom: 0;
  right: -4px;
  animation: FadeElement 2s ease-in-out infinite;
}
/* 按钮-图标款 */
.button-bigicon {
  font-size: 20px;
  padding: 6px 4px;
  border-radius: 66px;
  color: #fff;
  box-shadow: 0 2.5px 2.5px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
}
.button-bigicon .button-info-text {
  padding: 4px 20px 4px 20px;
  border-radius: 62px;
  box-shadow: 0 2.5px 2.5px rgba(0, 0, 0, 0.16);
}
@media screen and (min-width: 1024px) {
  h1.title,
  h2.title {
    font-size: 28px;
  }
  .title-default h1.title,
  .title-default h2.title {
    padding-left: 74px;
    padding-bottom: 7px;
    background: url("https://statichk.cmermedical.com/newopd/common/bg-title-default.svg") no-repeat;
    background-position: 0 7px;
  }
  .text-default {
    font-size: 24px;
  }
  /* 按钮-常规款 */
  .button-doubel {
    font-size: 36px;
    border-radius: 104px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }
  .button-doubel .button-info-text {
    padding: 8px 40px;
    border-radius: 102px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.16);
  }
  /* 按钮-带鼠标 */
  .button-mouse {
    font-size: 36px;
    border-radius: 104px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }
  .button-mouse .button-info-text {
    padding: 4px 60px;
    border-radius: 62px;
    box-shadow: 0 2.5px 2.5px rgba(0, 0, 0, 0.16);
  }
  .button-mouse::before {
    height: 84px;
    width: 84px;
    right: -28px;
    bottom: -12px;
  }
  .button-mouse1::before {
    height: 60px;
    width: 60px;
    bottom: 0;
    right: -12px;
  }
  /* 按钮-大图标 */
  .button-bigicon {
    font-size: 36px;
    border-radius: 104px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }
  .button-bigicon .button-info-text {
    padding: 8px 40px;
    border-radius: 102px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.16);
  }
}
@media screen and (max-width: 1287px) {
  .wrap {
    padding-left: 12px;
    padding-right: 12px;
  }
}
