.knowledge-title {
  font-size: 32px;
  font-weight: 500;
  color: rgb(255, 255, 255);
  text-align: center;
}
.knowledge-titlebox {
  margin: 3% 0 0 0;
}
.knowledge-subtitlebox {
  text-align: center;
  margin: 0 0 2% 0;
}
.knowledge-subtitle {
  font-size: 23px;
  font-weight: 400;
}
.knowledge-card {
  margin-top: 7%;
}
.knowledge-card-link {
  text-decoration: none;
}
.knowledge-card-link img {
  object-fit: contain;
}

.knowledge-card-link .card-img-top {
  height: auto;
}
.knowledge-card-link .card-title {
  color: black;
  font-weight: 400;
  font-size: 18px;
}
.knowledge-card-link .card-text {
  color: black;
  font-weight: 300;
  font-size: 15px;
}
.knowledge-card .card-title{
  font-size: 16px;
}
.knowledge-card .card-text{
  font-size: 14px;
}
.show-mobile {
  display: none;
}
.show-tablet {
  display: none;
}
.show-pc {
  display: block;
}

/* Mobileตั้ง */
@media (max-width: 576px) {
  .show-mobile {
    display: block;
  }
  .show-tablet {
    display: none;
  }
  .show-pc {
    display: none;
  }
  .knowledge-title.active {
    font-size: 25px;
    font-weight: 500;
    background-color: #b60000;
    border-radius: 100px;
    color: white;
    height: 60%;
    text-align: center;
  }
  .knowledge-textbox {
    margin-top: 10%;
  }
  .knowledge-card {
    margin-top: 4%;
  }
  .knowledge-title {
    font-size: 25px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    text-align: center;
  }
  .knowledge-subtitle {
    font-size: 18px;
  }
  .knowledge-card-link .card-img-top {
    height: auto;
  }
  .knowledge-card-link .card-title {
    color: black;
    font-weight: 400;
    font-size: 18px;
  }
  .knowledge-card-link .card-text {
    color: black;
    font-weight: 300;
    font-size: 15px;
  }
}

/* Mobileนอน */
@media (min-width: 577px) and (max-width: 767px) {
  .show-mobile {
    display: block;
  }
  .show-tablet {
    display: none;
  }
  .show-pc {
    display: none;
  }
  .knowledge-title.active {
    font-size: 22px;
    font-weight: 500;
    background-color: #b60000;
    border-radius: 100px;
    color: white;
    height: 60%;
    text-align: center;
  }
  .knowledge-textbox {
    margin-top: 7%;
  }
  .knowledge-title {
    font-size: 22px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    text-align: center;
  }
  .knowledge-subtitle {
    font-size: 16px;
  }
  .knowledge-card {
    margin-top: 10%;
  }
  .knowledge-card-link .card-img-top {
    height: auto;
  }
  .knowledge-card-link .card-title {
    color: black;
    font-weight: 400;
    font-size: 16px;
  }
  .knowledge-card-link .card-text {
    color: black;
    font-weight: 300;
    font-size: 13px;
  }
}

/* Tabletตั้ง */
@media (min-width: 768px) and (max-width: 991px) {
  .show-mobile {
    display: block;
  }
  .show-tablet {
    display: none;
  }
  .show-pc {
    display: none;
  }
  .knowledge-title.active {
    font-size: 25px;
    font-weight: 500;
    background-color: #b60000;
    border-radius: 100px;
    color: white;
    height: 60%;
    text-align: center;
  }
  .knowledge-textbox {
    margin-top: 7%;
  }
  .knowledge-title {
    font-size: 25px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    text-align: center;
  }
  .knowledge-subtitle {
    font-size: 18px;
  }
  .knowledge-card {
    margin-top: 7%;
  }
  .knowledge-card-link .card-img-top {
    height: auto;
  }
  .knowledge-card-link .card-title {
    color: black;
    font-weight: 400;
    font-size: 16px;
  }
  .knowledge-card-link .card-text {
    color: black;
    font-weight: 300;
    font-size: 13px;
  }
}

/* Tabletนอน */
@media (min-width: 992px) and (max-width: 1199px) {
  .show-mobile {
    display: block;
  }
  .show-tablet {
    display: none;
  }
  .show-pc {
    display: none;
  }
  .knowledge-title.active {
    font-size: 28px;
    font-weight: 500;
    background-color: #b60000;
    border-radius: 100px;
    color: white;
    height: 60%;
    text-align: center;
  }
  .knowledge-textbox {
    margin-top: 7%;
  }
  .knowledge-title {
    font-size: 28px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    text-align: center;
  }
  .knowledge-subtitle {
    font-size: 20px;
  }
  .knowledge-card {
    margin-top: 10%;
  }
  .knowledge-card-link .card-img-top {
    height: auto;
  }
  .knowledge-card-link .card-title {
    color: black;
    font-weight: 400;
    font-size: 16px;
  }
  .knowledge-card-link .card-text {
    color: black;
    font-weight: 300;
    font-size: 13px;
  }
}

/* Laptop */
@media (min-width: 1200px) and (max-width: 1399px) {
  .knowledge-card-link .card-img-top {
    height: auto;
  }
  .knowledge-textbox {
    margin-top: 5%;
  }
}
