@import url("../fonts/remixicon.css");
body{
  /* background: transparent linear-gradient(168deg, #FFFFFF 0%, #EBF1FF 100%) 0% 0% no-repeat padding-box; */
  min-height: 100vh;
  font-family: "kanit", sans-serif;
  font-weight: 300;
}
/* .sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #fff;
} */
.mg-auto{
  margin: auto;
}
.logo{
  text-align: center;
  margin: 20px 0;
}
.logo img{
  max-width: 200px;
}
.logo h2{
  font-size: 20px;
  margin: 10px 0 30px 0;
}
.name{
  visibility: hidden;
}
.section-body {
  padding: 30px 0;
  margin-bottom: 30px;
}
.social-top {
  display: flex;
  padding-top: 8px;
  padding-left: 5px;
}
.cus-menu ul li{
  margin: 0px 10px;
}
.cus-menu ul li a{
  margin: 0px 10px;
  color: #fff !important;
}
.cus-menu {
  box-shadow: 0px 2px 4px 1px #625a5a2b;
  background-color: #328bff;
}
/* Content */
.hightlight-banner {
  border-radius: 0.5rem;
  overflow: hidden;
}
.hightlight-banner img {
  width: 100%;
}
.pd10 {
  padding: 0 15px !important;
}
.topic h3 {
  color: #328bff;
  padding-left: 15px;
}
.topic a{
  text-decoration: none;
}
.section-img {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Creates 1:1 aspect ratio */
  overflow: hidden;
  background-color: black;
  border-radius: 0.5rem;
}
.section-img:hover > .on-img{
  display: none;
}
.section-img:hover img{
  transform: scale(1.1);
  transition-duration: 2s;
  opacity: 0.6;
  background-color: black;
}
.section-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintains aspect ratio while filling container */
  object-position: center; /* Centers the image */
}
.tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
}
.tag span {
  background-color: #fcb333;
  color: #fff;
  padding: 2px 10px;
}
.box-content h4{
  margin-top: 15px;
  font-size: 20px;
  margin-bottom: 0px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  
}
.way-travel .box-content h4{
  color:#fff;
}
.box-content p span{
  font-size: 14px;
  color:#fff;
}
.box-content {
  padding: 0px 5px;
}
.box-content2{
  padding: 0 5px;
}
.box-content2 img{
  height: 214px !important;
}
.box-content2 h4{
  margin-top: 1rem;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.box-content2 p span{
  font-size: 14px;
  color:#a6a6a6;
}
.box-content2 .section-img {
  position: relative;
  width: 100%;
  padding-bottom: inherit !important;
  overflow: hidden;
  background-color: black;
  height: 214px;
}
.box-content3 h4{
  margin-top: 15px;
  font-size: 20px;
  margin-bottom: 0px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.box-content3 p span{
  font-size: 14px;
  color:#fff;
}
.box-content3 .section-img {
  position: relative;
  width: 100%;
  padding-bottom: inherit !important;
  overflow: hidden;
  background-color: black;
  height: 200px;
}
.box-content3 img{
  height: 200px !important;
}
.social{
  margin-top: 15px;
}
.social a {
  text-decoration: none;
}
.social a i{
  margin: 5px;
}

.social-top a {
  text-decoration: none;
}
.social-top a i{
  margin: 5px;
}

/* Footer */
footer{
  margin-top: 100px;
  background-color: #d2e2fb;
}
footer a{
  text-decoration: none;
  color: #212529;
}
.footer2{
  padding-top: 30px;
}
.footer2 ul {
  padding-left: 1rem;
}
.footer2 a {
  text-decoration: none;
}
.footer2 h3{
  font-size: 20px;
  margin-bottom: 20px;
}
.footer3{
  padding-top: 30px;
}
.footer3 h3{
  font-size: 20px;
  margin-bottom: 20px;
}
.footer3 p{
  margin-bottom: 5px;
}
.footer4{
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #9da8bc;
}
.footer4 p{
  margin-bottom: 0;
  padding: 10px 0;
}
.footer5 h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
.footer5 {
  padding-top: 30px;
}
.footer5 .logo-footer {
  margin-bottom: 12px;
  border-radius: 0.5rem;
  overflow: hidden;
}
/* breadcramb */
.breadcramb{
  margin-top: 20px;
}

/* Content-List */
.list-con{
  margin: 60px 0;
}
.list-con h3 {
  color: #328bff;
  margin-bottom: 50px;
  text-align: center;
}

/* ปลายทาง จังหวัด */
.img-province {
  border-radius: 0.5rem;
  overflow: hidden;
}
.img-province img {
  width: 100%;
}
.list-region{
  border-bottom: 1px solid #e5e5e5;
  padding: 30px 0;
}
.list-province a{
  text-decoration: none;
}
.list-province-topic h4{
  margin-bottom: 20px;
  font-size: 28px;
}
.way-travel h3{
  color: #328bff;
  margin-bottom: 50px;
  text-align: center;
  padding-top: 30px;
}
.on-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background-color: #00000085;
}
.tag2 span {
  background-color: #fcb333;
  color: #fff;
  padding: 2px 10px;
}
.way-travel{
  margin-bottom: 40px;
}
.relate-con h3{
  margin-bottom: 20px;
  color: #328bff;
  margin-top: 22px;
}
.box-content a{
  text-decoration: none;
}
.box-content2 a{
  text-decoration: none;
}
.box-content3 a{
  text-decoration: none;
}
/* Content Detail */
.description-detail {
  max-width: 100%;
  padding-bottom: 15px;
  word-break: break-word;
}
.description-detail img{
  max-width: 100%;
  height: auto;
}
.writer{
  padding-top: 30px;
  border-top:1px solid #e5e5e5;
}
.writer img{
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
}
p.name-writer {
  font-size: 20px;
  margin-bottom: 0px;
}
.box-content2:hover .video-hover{
  display: block;
  transition-duration: 10s;
}
.video-hover{
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0000006b;
  top: 0;
  transition-duration: 10s;
  cursor: pointer;
}
.video-hover i {
  font-size: 50px;
  color: #fff;
  position: relative;
  left: 40%;
  top: 40%;
  transition-duration: 10s;
}
.contact img{
  width: 100%;
}
.contact-description{
  max-width: 100%;
  margin-top: 30px;
}
.search{
  color:#fff;
  border: 1px solid;
}
.breadcramb a {
  text-decoration: none;
}
.tags {
    margin-bottom: 10px;
}

.tags .badge {
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.8em;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.tags .badge:hover {
    background-color: #4a4a4a !important;
    color: #fff;
    text-decoration: none;
}
.white a {
  color:#fff;
  font-size: 20px;
}
.removelogo .section-logo{
  display: none;
}
.removelogo{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: #fff;
  transition-duration: 1s;
}
@media (max-width: 567px) {
  .box-content2 img {
      height: auto !important;
  }
  .box-content2 .section-img {
    height: 200px;
  }
  footer .container {
	padding: 0 2rem;
  }
}
.logo-footer img{
  width: 100%;
}
.content-cate .pagination {
  margin-top: 45px;
}
.cus-color{
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}