/*Font
  @font-face {
    font-family: 'quarkbold';
    src: url('../fonts/Quark-Bold-webfont.eot');
    src: url('../fonts/Quark-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Quark-Bold-webfont.woff2') format('woff2'),
         url('../fonts/Quark-Bold-webfont.woff') format('woff'),
         url('../fonts/Quark-Bold-webfont.ttf') format('truetype'),
         url('../fonts/Quark-Bold-webfont.svg#quarkbold') format('svg');
    font-weight: normal;
    font-style: normal;
  }*/
  @import url("https://fonts.googleapis.com/css?family=Prompt:300");
body {
   font-family: 'Prompt', sans-serif;
   font-size: 16px; 
} 

.container-ghost {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 768px) and (max-width: 991px) {
  .container-ghost { width: 750px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .container-ghost { width: 970px; }
}
@media (min-width: 1200px) and (max-width: 1249px) {
  .container-ghost { width: 1170px; }
}
@media (min-width: 1250px) {
  .container-ghost { width: 1350px; }
}

/*Navbar Menu*/
  .navbar-default-ghost {
  /*  background-color: #101010;  */
    border-bottom: 3px solid #333;
    box-shadow: 0px 5px 5px 0px rgba(51, 51, 51, 0.3);
  }
  .navbar-default-ghost .navbar-brand {
    color: #ffffff;
  }
  .navbar-default-ghost .navbar-brand:hover,
  .navbar-default-ghost .navbar-brand:focus {
    color: #ffffff;
    background-color: transparent;
  }
  .navbar-default-ghost .navbar-text {
    font-weight: 0;
    font-size: 16px;
    color: #ffffff;
  }
  .navbar-default-ghost .navbar-nav > li > a {
    font-weight: 0;
	font-size: 16px;
    color: #fff;
    margin: 0px;
    transition: all 0.7s ease;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
  }
  .navbar-default-ghost .navbar-nav > li > a:hover,
  .navbar-default-ghost .navbar-nav > li > a:focus {
    font-weight: bolder;
    color: #fff;
    background-color: #333;
    transition: all 0.7s ease;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
  }
  .navbar-default-ghost .navbar-nav > .active > a,
  .navbar-default-ghost .navbar-nav > .active > a:hover,
  .navbar-default-ghost .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #333;
    
  }
  .navbar-default-ghost .navbar-nav > .disabled > a,
  .navbar-default-ghost .navbar-nav > .disabled > a:hover,
  .navbar-default-ghost .navbar-nav > .disabled > a:focus {
    color: #000;
    background-color: transparent;
  }
  .navbar-default-ghost .navbar-toggle {
    border-color: #eb7900;
  }
  .navbar-default-ghost .navbar-toggle:hover,
  .navbar-default-ghost .navbar-toggle:focus {
    background-color: #eb7900;
  }
  .navbar-default-ghost .navbar-toggle .icon-bar {
    background-color: #888;
  }
  .navbar-default-ghost .navbar-collapse,
  .navbar-default-ghost .navbar-form {
    border-color: #333;
  }
  .navbar-default-ghost .navbar-nav > .open > a,
  .navbar-default-ghost .navbar-nav > .open > a:hover,
  .navbar-default-ghost .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #333;
  }
  @media (max-width: 767px) {
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > li > a {
      color: #fff;
    }
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > li > a:focus {
      color: #fff;
      background-color: transparent;
    }
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > .active > a:focus {
      color: #555;
      background-color: #333;
    }
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-default-ghost .navbar-nav .open .dropdown-menu > .disabled > a:focus {
      color: #ccc;
      background-color: transparent;
    }
  }
  .navbar-default-ghost .navbar-link {
    color: #777;
  }
  .navbar-default-ghost .navbar-link:hover {
    color: #333;
  }
  .navbar-default-ghost .btn-link {
    color: #777;
  }
  .navbar-default-ghost .btn-link:hover,
  .navbar-default-ghost .btn-link:focus {
    color: #333;
  }
  .navbar-default-ghost .btn-link[disabled]:hover,
  fieldset[disabled] .navbar-default-ghost .btn-link:hover,
  .navbar-default-ghost .btn-link[disabled]:focus,
  fieldset[disabled] .navbar-default-ghost .btn-link:focus {
    color: #ccc;
  }
/*Link Color*/
  .link-color > a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
  }
  .link-color > a:hover,
  .link-color > a:focus {
    color: #f1b00d;
  }
/*banner-slide*/
  .banner-slide {
    margin-top: 0px;
  }
/*Box Title*/
  .box-title {
  }
  .box-title h1, h2, h3 {
    padding: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #fff;
    font-size: 22px!important;
  }
.progress-ghost {
  height: 2px;
  margin-bottom: 5px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
  @media (min-width: 768px) {
		.img-responsive2{
			display: block;
			width: 98%;
			
			height: 320px;
		}
  }
  @media (min-width: 992px) {
		.img-responsive2{
			display: block;
			width: 98%;
			
			height: 320px;
		}
  }
  @media (min-width: 1200px) {
		.img-responsive2{
			display: block;
			width: 100%;
		
     border-radius: 8px;
			height: 352px;
		}
  }
/*
.img-responsive2{
    display: block;
    width: 98%;
    padding-bottom: 10px;
    height: 320px;
}
*/
.img-responsive3{
    display: block;
    width: 100%;
    padding-bottom: 10px;
    height: 240px;
    border-radius: 8px;
}s
.progress-bar-ghost {
  background-color: #f1b00d;
}
/*Box Exclusive*/
  .box-exclusive {
    background-color: #242424;
    border: 1px solid #ccc;
    box-shadow: 0 0 6px 0 #eee;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    min-height: 415px;


  }
  .box-exclusive p {
	padding-left: 5px;
    padding-right: 5px;
    margin: 0px;
  }
    .relay {
    background-color: #4b4b4b;
    border: 1px solid #ccc;
    box-shadow: 0 0 6px 0 #eee;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    min-height: 240px;
  }
  .relay p {
    padding-top: 5px;
    margin: 0px;
  }
   @media (min-width: 1200px){
.col-lg-9 {

}}

@media (min-width: 1200px){
.col-lg-12 {
    width: 100%;

    margin-top: 0px;
}}

/* Removed restrictive col-lg-3 width */
@media (min-width: 1200px){
.col-lg-32 {
   width: 24.899999%;
}}
  .link-exclusive > a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
  }
  .link-exclusive > a:hover,
  .link-exclusive > a:focus {
    color: #333;
  }
  .link-relay > a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
  }
  .link-relay > a:hover,
  .link-relay > a:focus {
    color: #333;
  }
 
  .relay:hover {
    background-color: #f1b00d;
    color: #333;
  }
  .relay img:hover {
    -webkit-filter: grayscale(100%);
  }

/*Box Fanpage*/
  .box-fanpage {
    margin-top: 10px;
    border: 2px solid #ffb700;
    background-color: #333;
  }
/* Facebook Comment Responsive */
  #fb-root {
    display: none;
  }
  .fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
  }

.white_content1{display:none;position:fixed;top:6px;left:25%;width:50%;background-color:;z-index:1002;overflow:auto;-webkit-box-shadow:0 0 20px 4px #000;box-shadow:0 0 0 0 #000}.white_content2{position:fixed;right:5px;z-index:1030;top:80px;padding:0;background-color:;-webkit-box-shadow:0 0 20px 4px #000;box-shadow:0 0 0 0 #000}.white_content3{position:fixed;left:5px;z-index:1030;top:80px;padding:0;background-color:;-webkit-box-shadow:0 0 20px 4px #000;box-shadow:0 0 0 0 #000}.left_banner{display:inline-block}@media(max-width:767px){.left_banner{display:none}}
 #player-overlay {
  position: relative;
        background-image: url(https://postkhai.com/-movie3/bg-img/4Ye8BSW.jpg) no-repeat 50% / cover;
  &:before {
    content:'';
    display: block;
    padding-top: 50%;  // 50% equals a 2:1 ratio. you can read more about
                       // the ratios in the link
  }
}

video {
  display: block;
  width: 100%;
  height: 100%;
}


/*Box Exclusive Mobile*/
  .box-exclusive1 {
    background-color: #242424;
    border: 1px solid #ccc;
    box-shadow: 0 0 6px 0 #eee;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    min-height: 215px;

  }
  .box-exclusive1 p {
  padding-left: 5px;
    padding-right: 5px;
    margin: 0px;
  }
    .relay {
    background-color: #4b4b4b;
    border: 1px solid #ccc;
    box-shadow: 0 0 6px 0 #eee;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    min-height: 140px;
  }
  .relay p {
    padding-top: 5px;
    margin: 0px;
  }
   @media (min-width: 1200px){
.col-lg-9 {

}}

@media (min-width: 1200px){
.col-lg-12 {
    width: 100%;

    margin-top: 0px;
}}

/* Removed duplicate restrictive col-lg-3 width */
@media (min-width: 1200px){
.col-lg-32 {
   width: 24.899999%;
}}
  .link-exclusive > a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
  }
  .link-exclusive > a:hover,
  .link-exclusive > a:focus {
    color: #333;
  }
  .link-relay > a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
  }
  .link-relay > a:hover,
  .link-relay > a:focus {
    color: #333;
  }
  .box-exclusive1:hover {
    background-color: #f1b00d;
    color: #333;
  }
  .box-exclusive1 img:hover {
    -webkit-filter: grayscale(100%);
  }
  .relay:hover {
    background-color: #f1b00d;
    color: #333;
  }
  .relay img:hover {
    -webkit-filter: grayscale(100%);
  }

  .zoom {
  transition: transform .5s; /* Animation */
  margin: 0 auto;
}

.zoom:hover {
  transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

 /* ความสูงภาพ */
/* ค่า default (จอใหญ่) */

/* ความสูงของภาพ */
.img-box-cat {
  width: 100%;
  height: 330px;       /* ความสูงที่ต้องการให้เท่ากัน */
  overflow: hidden;    /* ตัดส่วนเกินออก */
  border-radius: 8px;  /* มุมโค้ง */
}
.img-box-cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ทำให้ภาพไม่บิดเบี้ยว */
  object-position: top center; /* เน้นให้ครอปจากด้านล่างขึ้น */
  display: block;
}

/* มือถือ (จอเล็ก) */
@media (max-width: 767px) {
  .img-box-cat {
    height: 250px; /* ปรับให้เล็กลง เช่น 150–200px */
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .img-box-cat {
    height: 260px;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .img-box-cat {
    height: 340px;
  }
}

.img-box {
  width: 100%;
  height: 280px;       /* ความสูงที่ต้องการให้เท่ากัน */
  overflow: hidden;    /* ตัดส่วนเกินออก */
  border-radius: 8px;  /* มุมโค้ง */
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ทำให้ภาพไม่บิดเบี้ยว */
  object-position: top center; /* เน้นให้ครอปจากด้านล่างขึ้น */
  display: block;
}

/* มือถือ (จอเล็ก) */
@media (max-width: 767px) {
  .img-box {
    height: 220px; /* ปรับให้เล็กลง เช่น 150–200px */
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .img-box {
    height: 250px;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .img-box {
    height: 280px;
  }
}
html, body {
    overflow-x: hidden; /* 🔽 ตัดการเลื่อนแนวนอน */
}
/* Modern Movie Card Styles (Image 2 Style) */
.movie-card-modern {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    text-decoration: none !important;
    display: block;
}

.movie-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.movie-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.movie-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card-modern:hover .movie-card-img-wrapper img {
    transform: scale(1.05);
}

/* Modern Rating Badge (Top Left) */
.movie-card-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.movie-card-rating i {
    color: #ffc107 !important; /* Star Color */
}

/* Modern Quality Badge (Top Right) */
.movie-card-quality {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e50914; /* Netflix Red */
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

/* Info Badge (Bottom Right of Image - Voice/Language) */
.movie-card-info-badge {
    position: absolute;
    bottom: 10px;
    right: 10px; /* Moved to right to match reference */
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.movie-card-info-badge i {
    color: #ffc107; /* Speaker Icon Color */
    font-size: 11px;
}

/* Details Section */
.movie-card-details {
    padding: 12px 10px;
    text-align: center;
    background: #111;
}

.movie-card-title {
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px 0;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    text-decoration: none !important;
}

.movie-card-meta {
    color: #aaa;
    font-size: 12px;
    font-weight: 400;
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .movie-card-img-wrapper {
        height: 220px;
    }
    .movie-card-title {
        font-size: 13px;
    }
}
/* Modern Detail Tags (post-detail.php) */
.detail-tag-container {
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.detail-label {
    color: #e3a600;
    font-weight: 600;
    margin-right: 10px;
    font-size: 15px;
}

.detail-tag-item {
    display: inline-block;
    padding: 5px 15px;
    margin: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
}

.detail-tag-item:hover {
    background: #e3a600;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 166, 0, 0.3);
}

.detail-meta-info {
    margin-top: 15px;
    color: #aaa;
    font-size: 13px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.detail-meta-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-meta-info i {
    color: #e3a600;
}
