@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 14px #00000026;
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 6px 20px #00000040;
  }
}
@keyframes shine {
  0% {
    left: -100%;
  }
  20%,
  100% {
    left: 150%;
  }
}
.pure-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  width: fit-content;
  padding: 8px;
  gap: 8px;
  color: #fff;
  font-size: clamp(12px, 4.2vw, 30px);
  line-height: 1.4;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  animation: pulse 2.5s ease-in-out infinite;
  margin-left: auto;
  margin-right: auto;
}
.pure-button.bg-primary {
  box-shadow: 0 4px 14px #2958a366;
}
.pure-button.bg-whatsapp {
  box-shadow: 0 4px 14px #33ab3866;
}
.pure-button:hover {
  animation: none;
  transform: scale(1.05);
  box-shadow: 0 8px 25px #0000004d;
}
.pure-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-15deg);
  animation: shine 3.5s ease-in-out infinite;
}
.text-diabetic-warn {
  color: #ed8936;
}
.title-normal {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--color-text-info);
  font-size: 18px;
  line-height: 1.2;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.title-normal::before,
.title-normal::after {
  content: "";
  position: absolute;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NSIgaGVpZ2h0PSIyIiB2aWV3Qm94PSIwIDAgNjUgMiIgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTAgLjg2NiA2NC41IDB2MS43MzJ6IiBmaWxsPSIjZDlhODYwIi8+PC9zdmc+")
    no-repeat center / cover;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 86px;
}
.title-normal::before {
  left: -92px;
}
.title-normal::after {
  right: -92px;
  transform: translateY(-50%) scale(-1);
}
.banner {
  background: url("https://statichk.cmermedical.com/newopd/services/retinal/diabetic-banner-mb-v1.webp") no-repeat
    center / cover;
  min-height: 208px;
  padding-left: 20px;
  padding-top: 40px;
}
.banner-main {
  text-align: center;
  width: fit-content;
}
.banner .banner-desc {
  width: 55%;
}
.banner .banner-title {
  color: var(--color-clinic-light);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.3em;
  width: fit-content;
}
.intro {
  max-width: 1300px;
}
.symptom .symptom-item {
  border: 0.6px solid var(--color-clinic);
  padding: 10px 20px 10px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.symptom .symptom-cover {
  width: 76px;
  height: 76px;
  border-radius: 50%;
}
.symptom .symptom-title {
  color: var(--color-lens);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.symptom .symptom-intro {
  color: var(--color-text-info);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: justify;
}
.risk {
  background: url("https://statichk.cmermedical.com/newopd/services/retinal/diabetic-risk-mb-v1.webp") no-repeat
    center / cover;
}
.risk .risk-item {
  padding: 16px 0 20px;
  position: relative;
}
.risk .risk-item:not(:last-child)::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0.6px;
  width: 38%;
  background-color: #333;
}
.risk .risk-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.risk .risk-icon {
  width: 52px;
  height: 52px;
}
.risk .risk-icon img {
  max-height: 100%;
}
.risk .risk-name {
  color: var(--color-lens);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
}
.risk .risk-desc {
  color: var(--color-text-info);
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.1em;
}
.treatment .treatment-main {
  color: var(--color-text-info);
  font-size: 14px;
  line-height: 1.7;
  text-align: justify;
}
.treatment .treatment-item {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 16px 0;
  gap: 12px 8px;
  position: relative;
}
.treatment .treatment-item:not(:last-child)::before {
  content: "";
  width: 80%;
  height: 0.5px;
  background-color: var(--color-clinic);
  position: absolute;
  left: 10%;
  bottom: 0;
}
.treatment .treatment-img {
  flex-shrink: 0;
  width: clamp(40px, 14.44vw, 80px);
  height: clamp(40px, 14.44vw, 80px);
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 15px #00000061;
}
.treatment .treatment-name {
  align-self: center;
  font-size: clamp(10px, 3.33vw, 24px);
  font-weight: 700;
  letter-spacing: 0.2em;
}
.treatment .treatment-desc {
  grid-column: span 2 / span 2;
}
.brand {
  background: url("https://statichk.cmermedical.com/newopd/services/retinal/diabetic-risk-mb-v1.webp") no-repeat center /
    cover;
}
.brand .brand-main {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .pure-button {
    border-radius: 10px;
    gap: 28px;
    font-size: 30px;
    padding: 12px 40px;
  }
  .title-normal {
    flex-direction: row;
    font-size: 30px;
    font-weight: 500;
  }
  .title-normal::before,
  .title-normal::after {
    height: 4px;
    width: 128px;
  }
  .title-normal::before {
    left: -140px;
  }
  .title-normal::after {
    right: -140px;
  }
  .banner {
    background-image: url("https://statichk.cmermedical.com/newopd/services/retinal/diabetic-banner-pc-v1.webp");
    min-height: 328px;
    padding-top: 100px;
    padding-left: max(12px, (100% - 1560px) / 2);
  }
  .banner .banner-title {
    font-size: 30px;
  }
  .banner .banner-desc {
    width: auto;
  }
}
@media screen and (min-width: 1024px) {
  .symptom .symptom-item {
    grid-column: span 2 / span 2;
    max-width: 548px;
  }
  .symptom .symptom-item:nth-child(4) {
    grid-column-start: 2;
  }
  .symptom .symptom-cover {
    width: 120px;
    height: 120px;
  }
  .symptom .symptom-title {
    font-size: 24px;
  }
  .symptom .symptom-intro {
    font-size: 20px;
  }
  .risk {
    background-image: url("https://statichk.cmermedical.com/newopd/services/retinal/diabetic-risk-pc-v1.webp");
  }
  .risk .risk-item {
    padding: 0 40px;
  }
  .risk .risk-item:first-child {
    padding-left: 0;
  }
  .risk .risk-item:last-child {
    padding-right: 0;
  }
  .risk .risk-item:not(:last-child)::before {
    bottom: 0;
    right: 0;
    left: unset;
    width: 1px;
    height: calc(100% - 24px);
  }
  .risk .risk-icon {
    width: 80px;
    height: 80px;
  }
  .risk .risk-name {
    font-size: 24px;
  }
  .risk .risk-desc {
    font-size: 20px;
  }
  .treatment .treatment-main {
    font-size: 24px;
    line-height: 1.5;
  }
  .treatment .treatment-item {
    padding: 40px 0;
    gap: 12px 32px;
  }
  .treatment .treatment-item:not(:last-child)::before {
    height: 1px;
  }
  .treatment .treatment-img {
    grid-row: span 2 / span 2;
    width: 172px;
    height: 172px;
  }
  .treatment .treatment-name {
    align-self: flex-start;
    font-size: 24px;
  }
  .treatment .treatment-desc {
    grid-column: span 1 / span 1;
  }
  .brand {
    background-image: url("https://statichk.cmermedical.com/newopd/services/retinal/diabetic-brand-pc-v1.webp");
  }
}
@media screen and (min-width: 1280px) {
  .banner .banner-title {
    font-size: 46px;
  }
  .title-normal {
    font-size: 40px;
  }
  .title-normal::before,
  .title-normal::after {
    height: 7px;
    width: 248px;
  }
  .title-normal::before {
    left: -276px;
  }
  .title-normal::after {
    right: -276px;
  }
}
