@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&display=swap");

*:not(i):not(span) {
  /* font-family: "source-han-sans-traditional", sans-serif; */
  /* font-weight: 300; */
  font-family: "Noto Sans TC", sans-serif;
  font-style: normal;
}

body {
  color: var(--ag_neovo_steel);
}

div,
p,
span,
li,
td,
pre {
  font-weight: 400;
}

li {
  line-height: 1.5rem;
}

h1,
.h1 {
  font-size: 40px;
  font-weight: 500;
  /* text-transform: uppercase; */
}

h2,
.h2 {
  font-size: 32px;
  font-weight: 500;
  /* text-transform: uppercase; */
}

h3,
.h3 {
  font-size: 28px;
  font-weight: 500;
}

h4,
.h4 {
  font-size: 24px;
  font-weight: 500;
}

h5,
.h5 {
  font-size: 20px;
  font-weight: 500;
}

strong {
  font-weight: 500 !important;
}

input,
textarea,
label,
label span,
button {
  font-size: 16px !important;
}

/* .navMain .sub_menu1 > li > .nav_text a,
.navMain .sub_menu1 > li:first-of-type a {
  font-weight: 500;
} */

.btn {
  font-weight: 400 !important;
}

.tw_prod_h1 {
  font-size: 36px;
  line-height: 52px;
}

.tw_h1 {
  font-size: 58px;
  line-height: 84px;
  font-weight: 500 !important;
}

.tw_h2_xl,
.tw_h2_xl * {
  font-size: 72px;
  line-height: 100px;
  font-weight: 500 !important;
  text-transform: capitalize;
}

.tw_h2_l {
  font-size: 46px;
  line-height: 69px;
  font-weight: 500 !important;
}

.tw_h2_m {
  font-size: 37px;
  line-height: 54px;
  font-weight: 500 !important;
}

.tw_h3_l {
  font-size: 28px;
  line-height: 41px;
  font-weight: 500 !important;
}

.tw_h3_m {
  font-size: 24px;
  line-height: 38px;
  font-weight: 500 !important;
}

.tw_h3_s {
  font-size: 21px;
  line-height: 33.5px;
  font-weight: 500 !important;
}

.tw_h4 {
  font-size: 18px;
  line-height: 30px;
  font-weight: 500 !important;
}

.tw_h5 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 500 !important;
}

.strong_l {
  font-size: 24px;
  line-height: 38px;
}

.strong_m {
  font-size: 21px;
  line-height: 33.5px;
}

.p_l {
  font-size: 24px;
  line-height: 38px;
}

.p_m {
  font-size: 21px;
  line-height: 33.5px;
}

p,
.tw_p,
.pageContent li {
  font-size: 18px;
  line-height: 30px;
}

span,
.tw_span {
  font-size: 14px;
}

.woocommerce-Price-amount,
.woocommerce-Price-amount span {
  font-size: 16px;
}

.p_s,
.p_s * {
  font-size: 16px;
  line-height: 26px;
}

.p_xs {
  font-size: 14px;
  line-height: 22px;
}

.p_xxs {
  font-size: 12px;
  line-height: 19px;
}

.badge {
  font-size: 14px;
  font-weight: 300;
  color: white;
}

.blog_h1 {
  font-size: 42px;
  line-height: 64px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  overflow: hidden;
}

.blog_ul {
  font-size: 18px;
  line-height: 48px;
}

.blog_p p,
.blog_content_text p,
.blog_content_text ul,
.blog_content_text li,
.blog_content_text ol {
  font-size: 18px;
  line-height: 32px;
}

.blog_p p,
.blog_content_text h2,
.blog_content_text h3:not(.related_read_container h3),
.blog_content_text h4,
.blog_content_text h5,
.blog_content_text h6,
.blog_content_text p,
.blog_content_text ul,
.blog_content_text ol {
  margin-bottom: 40px;
}

.blog_content_text h2,
.blog_content_text h3 {
  /* 同tw_h3_l */
  font-weight: 500 !important;
}

.blog_content_text h2 {
  font-size: 30px;
  line-height: 44px;
  margin: 0;
}

.blog_content_text h2:not(.case_study_h2) {
  padding: 80px 0 40px;
}

.blog_content_text h3:not(.related_read_container h3) {
  font-size: 22.5px;
  line-height: 34.5px;
  padding: 48px 0 32px;
  margin: 0;
}

.blog_content_text h4 {
  font-size: 20px;
  line-height: 30.5px;
  padding: 40px 0 32px;
  margin: 0;
}

.blog_content_text p {
  padding-bottom: 32px;
  margin: 0;
}

.blog_content_text .wp-block-image {
  padding: 8px 0 40px;
}

.blog_content_text .wp-block-image img {
  border-radius: 30px;
}

.blog_content_text table {
  margin: 8px 0 40px;
}

ol.wp-block-list li,
ul.wp-block-list li {
  line-height: 32px;
  font-size: 18px;
}

@media (max-width: 992px) {
  /* 常用樣式 */

  .tw_h1 {
    font-size: 36px;
    line-height: 52px;
  }

  .tw_h2_xl,
  .tw_h2_xl * {
    font-size: 46px;
    line-height: 66px;
  }

  .tw_h2_l {
    font-size: 28px;
    line-height: 41px;
  }

  .tw_h2_m {
    font-size: 23px;
    line-height: 34px;
  }

  .tw_h3_l {
    font-size: 20px;
    line-height: 30px;
  }

  .tw_h3_m {
    font-size: 18px;
    line-height: 28.5px;
  }

  .tw_h3_s {
    font-size: 16px;
    line-height: 25.5px;
  }

  .tw_h4,
  .tw_h4_m {
    font-size: 14px;
    line-height: 22px;
  }

  .strong_l {
    font-size: 20px;
    line-height: 30px;
  }

  .strong_m {
    font-size: 18px;
    line-height: 28.5px;
  }

  .p_l {
    font-size: 21px;
    line-height: 32px;
  }

  .p_m {
    font-size: 18px;
    line-height: 28.5px;
  }

  p,
  .pageContent li {
    font-size: 16px;
    line-height: 25.5px;
  }

  ol.wp-block-list li,
  ul.wp-block-list li {
    font-size: 16px;
    line-height: 27.5px;
  }

  .p_s,
  .p_s * {
    font-size: 14px;
    line-height: 22px;
  }

  .p_xs {
    font-size: 12px;
    line-height: 19px;
  }

  .p_xxs {
    font-size: 12px;
    line-height: 19px;
  }

  .blog_h1 {
    font-size: 23px;
    line-height: 36px;
  }

  .blog_p p,
  .blog_content_text p {
    font-size: 16px;
    line-height: 27.5px;
    margin-bottom: 20px;
  }
}
