.font-500 {
  font-weight: 500;
}

.font-600 {
  font-weight: 600;
}

.bg-fff {
  background-color: #fff;
}

.bg-515151 {
  background-color: #515151;
}

.bg-F89122 {
  background-color: #f89122;
}

.bg-056722 {
  background-color: #a94e24;
}

.bg-news-gradient-20 {
  background: linear-gradient(
    0deg,
    rgba(254, 232, 208, 1) 0%,
    rgba(255, 255, 255, 1) 20%
  );
}

.bg-news-gradient-30 {
  background: linear-gradient(
    0deg,
    rgba(254, 232, 208, 1) 0%,
    rgba(255, 255, 255, 1) 30%
  );
}

.color-6A737B {
  color: #6a737b !important;
}

.color-056722 {
  color: #056722;
}

.color-F89122 {
  color: #f89122 !important;
}

.bg-read-more {
  background-color: #f36c21;
  border-radius: 5px;
  /* padding: 8px 60px 8px 30px; */
}

.bg-read-more-all {
  background-color: #f89122;
  border-radius: 50px;
  /* padding: 8px 60px 8px 30px; */
}
.bg-read-more-new {
  background-color: #f36c21;
  border-radius: 5px;
}
.bg-A94E24 {
  background-color: #a94e24;
}
.taxo_con_main {
  padding: 0.1rem 1rem 0 1rem;
}

.main_bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.padd_info {
  padding-top: 60px;
  padding-bottom: 75px;
}
.bg-icon-news {
  position: relative;
  right: -1px;
  height: 40px;
  width: 40px;
  align-content: center;
  text-align: center;
  border-radius: 50%;
  font-size: 16px;
}

.bg-icon-news-all {
  position: relative;
  background-color: #9b4d00;
  right: -1px;
  height: 40px;
  width: 40px;
  align-content: center;
  text-align: center;
  border-radius: 50px;
  font-size: 16px;
}
.bg-icon-news-new {
  position: relative;
  right: -1px;
  height: 40px;
  width: 40px;
  align-content: center;
  text-align: center;
  border-radius: 50px;
  font-size: 16px;
}
.bg-icon-date {
  width: 40px;
  height: 40px;
}

.text-title-news {
  font-size: 24px;
  font-weight: 700;
  line-height: 25px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.text_desc_news {
  font-size: 24px;
  line-height: 28.8px;
  display: -webkit-box;
  -webkit-line-clamp: 8; /* จำนวนบรรทัดที่ต้องการ */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  white-space: normal;
  word-wrap: break-word;
}
.input-custom-date {
  height: 40px;
  border-radius: 50px !important;
  border: 0 !important;
}

.border-0 {
  border: 0;
}

.padding-0 {
  padding: 0;
}

.do_not_click {
  pointer-events: none;
}

.border-date-start {
  background-color: #056722;
  border-bottom-right-radius: 28px;
  font-size: 42px;
  line-height: 100%;
  color: #fff;
}

.border-date-start-calendar {
  background-color: #056722;
  border-bottom-right-radius: 10px;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
}

.custom-section {
  border-radius: 50px;
  background-color: #f89122;
}

.box-h-news {
  height: 100px;
  overflow: hidden;
}

.box-h-news2 {
  height: 100px;
  overflow: hidden;
}

@media (min-width: 7680px) {
  .box-h-news {
    height: 200px;
  }

  /* .box-h-news2 {
      height: 100px;
   } */
}

@media (min-width: 1200px) {
  .box-h-news {
    height: 300px;
  }

  /* .box-h-news2 {
      height: 100px;
   } */
}

.copy-text {
  cursor: pointer;
}

.tooltip-msg {
  display: none;
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  background-color: #dcdcdc;
  color: #000;
  text-align: center;
  border-radius: 5px;
  padding: 5px 10px;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
  font-weight: 300;
  text-wrap: nowrap;
}

.tooltip-msg::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #dcdcdc transparent transparent transparent;
}

.copy-text.show .tooltip-msg {
  display: inline;
}

.box-contact-staff {
  width: 32px;
  height: 32px;
  background-color: black;
  align-content: center;
  text-align: center;
  border-radius: 50px;
  font-size: 16px;
  color: #fff;
}

a.wp-block-button__link.has-white-color.has-text-color.has-background.has-link-color.wp-element-button {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.intern_gallery .wp-block-image {
  margin-top: auto !important;
}

.home_col_scholar {
  max-width: 541px;
}

@media (min-width: 1800px) {
  .home_col_iframe {
    max-width: 1024px;
  }
  .home-iframe-container {
    max-width: 1000px;
  }
}

.home-iframe-container {
  position: relative;
  width: 100%;
  margin: auto;
  aspect-ratio: 16 / 9;
}

.home-iframe-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.home-iframe-container iframe[src*="youtube.com"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
}

.contact_logo_icon img {
  min-width: 20px;
}

@media (min-width: 768px) {
  .scholarship_container {
    height: 562px;
  }
}
