body {
    font-family: Arial, sans-serif !important;
   	background: #3D3B3B;
	color: white;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}



.channel-card {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(90deg,rgba(237, 165, 9, 1) 0%, rgba(237, 103, 7, 1) 50%, rgba(245, 220, 0, 1) 100%);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 115, 230, 0.3);
}

.channel-thumbnail-link img {
    width: 100%;
    max-width: 240px;
    height: 135px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto 10px;
    display: block;
}


.video-wrapper {
    max-width: 800px;
    margin: 0 auto 30px;
}

.channel-thumbnail-link:hover img {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 115, 230, 0.3);
}


/* Desktop: Grid layout */
.channel-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Global Prevent Horizontal Scroll */
html, body {
    overflow-x: hidden;
    width: 100% !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    box-sizing: inherit;
}


/* Prevent content from being hidden under fixed header */
body {
    padding-top: 60px;
}

/* Opsional visual separation */
.site-header {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	background: #006954;
}


/* Elegant Sticky menu only on desktop */

  .desktop-sticky-wrapper .menu-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .desktop-sticky-wrapper .menu-items a {
    color: white;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
  }

  .desktop-sticky-wrapper .menu-items a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  body {
    padding-top: 80px; /* Adjusted to match new header height */
  }
}


  .desktop-sticky-wrapper .menu,
  .desktop-sticky-wrapper .menu-items ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .desktop-sticky-wrapper .menu li,
  .desktop-sticky-wrapper .menu-items ul li {
    display: inline-block;
  }

  .desktop-sticky-wrapper .menu li a,
  .desktop-sticky-wrapper .menu-items ul li a {
    background: #1f1f1f;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
  }

  .desktop-sticky-wrapper .menu li a:hover,
  .desktop-sticky-wrapper .menu-items ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255,255,255,0.2);
  }

  body {
    padding-top: 90px;
  }
}

/* General reset for body, margin, padding */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #121212;
}

/* Main container to adjust the layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Menu - Apply desktop style across all devices */
nav.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.menu-items {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.menu-items a {
    padding: 12px 20px;
    font-size: 16px;
    text-align: center;
    background-color: #444;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    color: white;
}

.menu-items a:hover {
    background-color: #666;
}

/* Cards layout for content, e.g., channels or items */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.channel-card {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(145deg, #1e1e1e, #2c2c2c);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 115, 230, 0.3);
}

img {
    width: 100%;
    max-width: 240px;
    height: 135px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure sticky menu is applied across all devices */
.desktop-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #121212;
    padding-top: 10px;  /* Optional: avoid overlap with the top content */
}

.desktop-sticky-wrapper .menu-items {
    display: flex;
    justify-content: space-around;  /* Example horizontal menu alignment */
}

.desktop-sticky-wrapper .menu-items a {
    padding: 10px;
    color: white;
    text-decoration: none;
}

.desktop-sticky-wrapper .menu-items a:hover {
    background-color: #333;
}

/* Remove overflow-x hidden conflict for sticky behavior */
body {
    overflow-x: visible !important;
}

/* Remove any position: fixed conflicts */
body, .site-header, .menu-items {
    position: relative; /* elements do not override sticky behavior */
}

/* Sticky state when scrolled */
.desktop-sticky-wrapper.is-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
	background: #0f0f0f;
	background: linear-gradient(90deg, rgba(15, 15, 15, 1) 0%, rgba(151, 153, 151, 1) 49%, rgba(15, 15, 15, 1) 100%);
    padding-top: 10px;
}


/* Default: boxed player on desktop 
.full-width-player video.video-js {
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 0;
}
*/

/* Mobile & Tablet: edge-to-edge (≤ 1024px) */
@media screen and (max-width: 1024px) {
    .full-width-player video {
        margin: 0;
        padding: 0;
        max-width: 100%;
    }

    .single-channel .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }
}


/* Enlarged Video.js Player Sizes for Tablet and Desktop */
@media (min-width: 768px) {
    .video-js {
        width: 100% !important;
        max-width: 1000px !important;
        height: auto !important;
        max-height: 700px !important;
        margin: 0 auto;
    }
}


/* Responsive and Centered Video.js Player */
.video-js {
    width: 100% !important;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    height: auto !important;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Sticky Videojs Mobile Tablet: 82px */

@media (max-width: 1024px) {
  .video-wrapper.full-width-player {
    position: sticky;
    top: 82px; /* Adjusted to align with bottom header */
    z-index: 999;
    background: #000;
  }

  .site-header {
    z-index: 1000;
    position: relative;
  }
}

.channel-title {
  margin-top: 10px;
  font-size: 1rem;
  color: #fff;
  font-weight: normal;
  text-align: center;
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
}


.channel-thumb img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}


.channel-thumb img {
  border-radius: 12px;
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.channel-card-link {
  display: block;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  background-color: #1e1e1e;
  padding: 1rem;
}

.channel-card-link:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 115, 230, 0.25);
}

.channel-thumb img {
  border-radius: 12px;
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.channel-card-link {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 600px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.single .channel-grid {
    padding-left: 1rem;
    padding-right: 1rem;
}



.tv-lainnya-heading {
    margin-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}