:root {
  --color-blue: #20498e;
  --color-green: #76b72a;
  --color-red: #c71517;
  --color-yellow: #fad53d;
  --color-dark-text: #2e383c;
  --color-white-text: #ffffff;

  --map-background-color: white;
  --map-station-basic-width: 10px;
  --map-station-point-width: 19px;
  --map-line-color-yl: #fad53d;
  --map-line-color-pk: #d76886;
  --map-line-color-gr: #7ab420;
  --map-line-color-gw: #00807d;
  --map-line-color-gold: #a88b34;
  --map-line-color-white: #ffffff;
}

b {
  font-weight: bold !important;;
}

.container {
  position: relative;
  max-width: 1180px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.page-content {
  /* border: 1px solid #ccc; */
}

.page-content .main {
  margin-top: 100px !important;
  padding: 0 15px;
}

.main {
  margin-top: 60px;
  padding: 0 15px;
}

.main .head {
  width: 100%;
  text-align: center;
}
.main .text-white h1 {
  color: var(--color-white-text) !important;
}

.main h1 {
  color: var(--color-dark-text);
  font-size: 26px;
  text-align: center;
  position: relative;
  display: inline-block;
  margin: 0 auto;
  word-break: break-word; /* ตัดคำเมื่อข้อความยาวเกิน */
  overflow-wrap: break-word; /* ช่วยให้ข้อความขึ้นบรรทัดใหม่ */
  white-space: normal; /* ป้องกันข้อความไม่ขึ้นบรรทัดใหม่ */
  max-width: 100%;
}
.main h1::before {
  content: "";
  position: absolute;
  left: 50%;
    transform: translateX(-50%);
  bottom: -12px;
  width: 40%;
  height: 4px;
  border-radius: 100px;
  background: var(--color-yellow);
}

.main .head-promo {
  width: 100%;
  text-align: center;
}

.sitemap-wrap {
  padding: 30px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 25px;
  column-gap: 15px;
  margin: 60px 0;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.sitemap-wrap ul.item h2 {
  position: relative;
  font-weight: 400;
  font-size: 17px;
  color: #030303;
  padding-left: 15px;
  margin-bottom: 13px;
}
.sitemap-wrap ul.item h2::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 100px;
  background-color: var(--color-yellow);
}
.sitemap-wrap ul.item li {
  list-style: none;
  padding: 7px 10px 7px 20px;
  transition: 0.1s ease;
  cursor: pointer;
}
.sitemap-wrap ul.item li:hover {
  background-color: #00000010;
}
.sitemap-wrap ul.item li a,
.sitemap-wrap ul.item li {
  font-size: 14px;
  font-weight: 200;
  text-decoration: none;
  color: var(--color-dark-text);
}
.sitemap-wrap ul.item li#more-sub {
  display: grid;
  grid-template-columns: 1fr 18px;
}
.sitemap-wrap ul.item li#more-sub img {
  width: 100%;
  height: auto;
  transition: 0.1s ease;
  transform: rotate(0deg);
}
.sitemap-wrap ul.item li#more-sub[data-status="active"] > img {
  transform: rotate(180deg);
}
ul.submenu {
  margin: 6px 0 0 20px;
  overflow: hidden;
  height: 0px;
  transition: 0.1s ease;
}
ul.submenu li a,
ul.submenu li {
  font-weight: 300;
  font-size: 14px;
}

.banner-homepage {
  padding-top: 92px;
  text-align: -webkit-center;
}

/* Arrow ลูกศรหน้าแรก */
.slick-prev.slick-arrow {
  display: none !important;
}
.slick-next.slick-arrow {
  display: none !important;
}

.slick-dots {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  /* padding: 0 !important; */
  position: absolute !important;
  bottom: 15px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.slick-dots li {
  margin: 0 4px !important;
  position: revert !important;
  width: auto !important;
}

.slick-dots li button {
  background: gray;
  height: 10px !important;
  width: 10px !important;
  overflow: hidden !important;
  color: gray;
  border: 1px solid #ffffff5c !important;
  border-radius: 10px !important;
}

.slick-active button {
  background: var(--color-yellow) !important;
  color: var(--color-yellow) !important;
}

.content {
  padding-top: 20px;
  display: grid;
}

/* .sub-content .sub-hand {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    color: #2e383c;
  }
  .sub-content .details {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: #3f3f3f;
  } */

.content-img {
  text-align-last: center;
}
.sub-content {
  margin-top: 40px;
  margin-bottom: 40px;
  /* padding: 40px; */
  background: #ffffff;
  box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}
/* .sub-details{
    padding-top: 25px;
    color: #2E383C;
    font-size: 16px;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: 0.118182px;
  } */

/* .sub-head{
    font-size: 24px;
    color: #030303;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.118182px;
  } */

.news-list {
  width: 100%;
  height: auto;
  padding-bottom: 40px;
}

.news-list .div-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.news-list .div-content {
  display: grid;
  grid-template-columns: 10% 90%;
  margin-top: 20px;
  padding: 0 40px;
}
.news-list .div-content h3 {
  padding-left: 30px;
  position: relative;
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
  letter-spacing: 0.118182px;
  color: #3F3F3F;
}
.news-list .div-content h3::before {
  position: absolute;
  content: "";
  left: 10px;
  bottom: 4px;
  width: 3px;
  height: 36px;
  border-radius: 100px;
  background: var(--color-yellow);
}
.news-list .div-details {
  margin-top: 20px;
  padding: 0 40px;
}
.news-list .div-details  p  , 
.news-list .div-details  span , 
.news-list .div-details  strong ,
.news-list .div-details  h1 ,
.news-list .div-details  h2 ,
.news-list .div-details  h3,
.news-list .div-details  h4 ,
.news-list .div-details  h5 ,
.news-list .div-details  pre
{
  word-break: break-word; /* ตัดคำเมื่อข้อความยาวเกิน */
  overflow-wrap: break-word; /* ช่วยให้ข้อความขึ้นบรรทัดใหม่ */
  white-space: normal; /* ป้องกันข้อความไม่ขึ้นบรรทัดใหม่ */
  max-width: 100%;
}
@media screen and (max-width: 1180px) {
  .main {
    margin-top: 75px;
  }
  .sitemap-wrap {
    margin: 40px 0;
  }
  .sub-content{
    box-shadow: none;
  }
}
@media screen and (max-width: 850px) {
  .sitemap-wrap {
    margin: 20px 0;
    box-shadow: none;
  }
  .main {
    padding: 0;
  }
  .page-content .main{
    margin-top: 40px !important;
  }
  .share-wrap{
    padding: 0 !important;
  }

  .news-list .div-image {
    width: 100%;
    /* height: 200px; */
    object-fit: cover;
    object-position: bottom;
  }
  .news-list .div-details{
    padding: 0;
  }
  .news-list .div-content{
    padding: 0;
    margin-top: 0px;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .news-list .div-content h3{
    padding-left: 10px;
  }
  .news-list .div-content h3::before {
    position: absolute;
    content: "";
    left: 0px;
    top: 0;
    width: 3px;
    height: 36px;
    border-radius: 100px;
    background: var(--color-yellow);
}
}
@media screen and (max-width: 720px) {
  .sitemap-wrap {
    padding: 30px 20px;
    grid-template-columns: repeat(1, 1fr);
  }
}

.share-wrap
{
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; */
  margin-top: 15px;
  padding: 0 40px;
}
.share-wrap .right
{
 display: flex;
 gap: 10px;
  align-items: center;
  justify-content: end;
}
.share-wrap .right .label
{
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 5px;
  align-items: center;
}
.share-wrap .right .label img
{
  width: 20px;
  height: auto;
}
.share-wrap .right .label span
{
  font-size: 15px;
  font-weight: 300;
}
.share-wrap .right .group
{
  display: grid;
  grid-template-columns: 30px 30px 30px;
  gap: 5px;
}
.share-wrap .right .group img
{
  width: 100%;
  height: auto;
}
.share-wrap .right button
{
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
}

.news-list .div-details img
{
  max-width: 600px;
  width: 100% !important;
  height: auto !important;
}

.div-video {
  padding: 12px 35px 12px 35px;
  text-align: -webkit-center;

  position: relative;
	padding-bottom: 56.25%;
	margin-top: 25px;
	height: 0;
}

.div-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  padding: 24px;
}

@media screen and (max-width: 645px) {
  .news-list .div-details img {
    width: 100% !important;
    height: auto;
  }
  .div-video iframe {
    margin-top: 10px;
  padding: 0;
  }
  .news-list .div-details {
    padding: 0;
    width: 100%;
    height: auto;
  }
}
/* ตัวหนาในเนื้อหาจาก CMS */
.news-list .div-details strong,
.news-list .div-details b { font-weight: 700 !important; }
.news-list .div-details strong *,
.news-list .div-details b * { font-weight: inherit; }

/* เนื้อหาจาก CMS ไม่ล้นจอ */
.content > .sub-content, .news-list .div-content > * { min-width: 0; }
.news-list .div-details { overflow-wrap: anywhere; }
.news-list .div-details * { max-width: 100%; }
.news-list .div-details img, .news-list .div-details video { height: auto; }
.news-list .div-details table { display: block; overflow-x: auto; }
.news-list .div-details pre, .news-list .div-details [style*="nowrap"] { white-space: normal !important; }
