body {
  background: url('../../assets/img/bg.jpg') no-repeat center center fixed, rgb(0, 0, 0);
  background-attachment: fixed;
  position: relative;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: Kanit, sans-serif;
  opacity: 1;
  width: 100%;
  height: 100%;
}

body:after {
  content: "";
  position: fixed;
  top: 0;
  height: 100vh;
  left: 0;
  right: 0;
  z-index: -1;
  background: url("../../assets/img/bg.jpg") center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.topBar {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, rgba(55, 28, 14, 1) 0%, rgba(107, 62, 41, 1) 100%);
  padding: 5px;
  top: 0;
  left: 0;
}

.topBarText {
  color: #fff;
}

.wapper {
  max-width: 1000px;
  margin: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.b_menu {
  max-width: 1000px;
  height: 60px;
}

.menu {
  width: 16.8%;
  background: linear-gradient(180deg, rgba(55, 28, 14, 1) 0%, rgba(102, 59, 38, 1) 100%);
  height: 60px;
  text-align: center;
  color: #fff;
  padding-top: 13px;
  border-right: 1px solid transparent;
  border-image: linear-gradient( 180deg, rgba(255, 215, 0, 0) 0%, rgba(116, 73, 2, 0.754) 50%, rgba(255, 215, 0, 0) 100% ) 1;
  border-image-slice: 1;
}

.menu_end {
  width: 16.6666667%;
  background: #432516;
  background: linear-gradient(180deg, rgba(55, 28, 14, 1) 0%, rgba(102, 59, 38, 1) 100%);
  height: 60px;
  text-align: center;
  color: #fff;
  padding-top: 13px;
}

.text_menu {
  font-size: 25px;
  font-weight: 200;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.div_line_gold {
  width: 100%;
  height: 1px;
  background: #FFD700;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 159, 0, 1) 50%, rgba(0, 0, 0, 1) 100%);
}

.div_line_gold_a {
  width: 100%;
  height: 2px;
  background: #FFD700;
  background: linear-gradient(90deg, rgba(76, 57, 0, 1) 0%, rgba(255, 204, 0, 1) 50%, rgba(76, 57, 0, 1) 100%);
}

.b_article {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.363);
}

.text_head {
  color: #ffffff;
  font-weight: 200;
}

.label_detail {
  width: 100%;
  background: rgba(255, 255, 255, 0.875);
  border-radius: 0 0 20px 20px;
  color: #555;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
}

.label_detail_b {
  width: 100%;
  background: rgba(62, 62, 62, 0.875);
  border-radius: 0 0 20px 20px;
  color: #fff;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
}

.text_name {
  font-size: 18px;
}

.img_gallery {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 20px 20px 0px 0px;
  transition: transform 0.3s ease;
}

.img_gallery_vdo {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 20px 20px 20px 20px;
  transition: transform 0.3s ease;
}

.img_gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.img_gallery_vdo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}


/* ตัว ripple */

.img_gallery::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.65) 0%, rgba(255,215,0,0.35) 40%, rgba(255,215,0,0) 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

.img_gallery_vdo:hover::after {
  animation: ripple 900ms ease-out forwards;
}

.img_gallery_vdo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.65) 0%, rgba(255,215,0,0.35) 40%, rgba(255,215,0,0) 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

.img_gallery:hover::after {
  animation: ripple 900ms ease-out forwards;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.9;
  }
  60% {
    transform: translate(-50%, -50%) scale(8);
    opacity: 0.35;
  }
  100% {
    transform: translate(-50%, -50%) scale(12);
    opacity: 0;
  }
}

/* เพิ่มความฟินตอน hover */

.img_gallery:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
}

.img_gallery_vdo:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
}

.b_topBar_a {
  display: block;
  width: 100%;
  height: 130px;
  background: #320;
}

.line-green {
  background-color: #06C755;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
}

.fox_logo {
  position: absolute;
}


/* slide */
/* ----- HERO SLIDER ----- */
.hero-slider { position: relative; width: 100%; overflow: hidden; }
.hero-slide { position: relative; width: 100%; aspect-ratio: 16/9; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ไล่โทนมืดด้านล่างให้ตัวหนังสืออ่านง่าย (เผื่อวางแคปชั่นทีหลัง) */
.hero-gradient {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

/* Bullets สีทองสไตล์ EzyCaption */
.swiper-pagination-bullets { bottom: 10px !important; }
.swiper-pagination-bullet {
  background: #FFD700 !important;   /* ทอง */
  opacity: .45;
  width: 10px; height: 10px;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(255,215,0,.3);
}

/* ให้บูเล็ตลอยบนภาพ (ไม่หลุดด้านล่าง) */
.hero-slider .swiper-pagination {
  position: absolute; left: 0; right: 0; bottom: 12px;
}

/* ถ้าต้องการเต็มจอสูง (hero แบบเต็ม viewport) ใช้แทน aspect-ratio:
.hero-slide { height: clamp(320px, 60vh, 760px); }
.hero-slide img { height: 100%; }
*/

/* Footer */
.site-footer {
  background: #111; /* ดำหรู */
  border-top: 2px solid #FFD700; /* เส้นทอง */
}

.footer-title {
  color: #FFD700;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-link {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-link:hover {
  color: #FFD700;
}

.col {
  position: relative;
}

.label_name {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 130px;
  background: #555;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 10px;
  text-align: center;
}

.b_page {
  display: block;
  background: rgba(0, 0, 0, 0.40);
  padding: 20px;
  width: 100%;
}

.b_page_backoffice {
  background: rgba(0, 0, 0, 0.771);
  padding: 20px;
  width: 100%;
}	

.b_white {
  background: #fff;
  padding: 10px 10px 6px 10px;
  width: 100%;
}