.section-title {
  margin: 30px 0 15px;
  font-weight: 600;
}

.video-link {
  color: #fff;
  text-decoration: none;
}

.video-card {
  background: #111;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  background: #000;
}

.video-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: #fff;
  opacity: .85;
}

.video-info {
  padding: 8px 10px;
}

.video-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
}

.video-views {
  font-size: 12px;
  color: #aaa;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #d0d7de;
  background: #fff;
  color: #111;              /* ANGKA TERLIHAT */
  font-weight: 600;
  font-size: 14px;
  line-height: 36px;        /* CENTER ANGKA */
  text-align: center;
  text-decoration: none;
  transition: all .2s ease;
}

.page-btn:hover {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.page-btn.active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
  box-shadow: 0 6px 14px rgba(13,110,253,.35);
}

.page-ellipsis {
  padding: 0 6px;
  font-size: 18px;
  font-weight: bold;
  color: #666;
}

/* MOBILE FIX */
@media (max-width: 576px) {
  .page-btn {
    min-width: 34px;
    height: 34px;
    line-height: 32px;
    font-size: 13px;
  }
}

/* HOVER */
.btn-outline-light:hover {
    color: #0d6efd !important;
    background-color: rgba(13,110,253,.1);
    border-color: #0d6efd !important;
}

/* ACTIVE PAGE */
.btn-outline-light.active,
.btn-outline-light.active:hover {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    pointer-events: none;
}

/* PREV / NEXT ICON FIX */
.btn-outline-light i {
    color: inherit;
}

/* DISABLED (kalau nanti dipakai) */
.btn-outline-light.disabled {
    opacity: .5;
    pointer-events: none;
}
/* ================= MODERN PAGINATION ================= */

.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px; /* FULL ROUNDED */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    border: 1px solid #ddd;
    background: #fff;
    text-decoration: none;
    transition: all .25s ease;
}

/* HOVER */
.page-btn:hover {
    background: rgba(13,110,253,.12);
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-2px);
}

/* ACTIVE */
.page-btn.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    pointer-events: none;
    box-shadow: 0 6px 14px rgba(13,110,253,.35);
}

/* PREV / NEXT */
.page-btn.nav {
    font-weight: 700;
}

/* ELLIPSIS */
.page-ellipsis {
    padding: 0 8px;
    display: flex;
    align-items: center;
    color: #999;
    font-weight: bold;
}

/* MOBILE FRIENDLY */
@media (max-width: 576px) {
    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 10px;
    }
}
/* ===== SIDEBAR ===== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 1040;
}

.sidebar-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #111;
  color: #fff;
  z-index: 1050;
  transition: .3s;
  padding: 15px;
}

.sidebar.show {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sidebar a {
  display: block;
  padding: 10px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
}

.sidebar a:hover {
  background: #222;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #f8f9fa;
  border-top: 1px solid #ddd;
}
/* ===== LAYOUT ROOT ===== */
.layout-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAV FIX */
.nav-spacer {
  height: 56px;
}

/* ===== HAMBURGER BUTTON ===== */
.menu-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 6px 10px;
}

.menu-btn:focus {
  outline: none;
}

/* ===== SIDEBAR ===== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 1040;
  touch-action: none;
}

.sidebar-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #111;
  color: #fff;
  z-index: 1050;
  transition: right .3s ease;
  padding: 16px;
}

.sidebar.show {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sidebar-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
}

.sidebar a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}

.sidebar a:hover {
  background: #222;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: auto;
  background: #f8f9fa;
  border-top: 1px solid #ddd;
}
/* SHARE POPUP */
.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.share-card {
  background: #fff;
  width: 92%;
  max-width: 380px;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  animation: scaleIn .25s ease;
}

@keyframes scaleIn {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}

.share-header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.share-link-box {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.share-link-box input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
}

.share-link-box button {
  border: none;
  background: #0d6efd;
  color: #fff;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
}

.share-icons {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  text-align: center;
}

.share-icons a {
  text-decoration: none;
  color: #111;
  font-size: 12px;
}

.share-icons img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  transition: transform .2s;
}

.share-icons a:hover img {
  transform: scale(1.12);
}
.share-item {
  display: flex;
  flex-direction: column;   /* ⬅ TEKS DI BAWAH */
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.share-item span {
  font-size: 12px;
  line-height: 1;
}
.share-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #111;
}


.video-fallback-text {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.video-fallback-text a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
}

.video-fallback-text a:hover {
  text-decoration: underline;
}
/* wrapper biar search di tengah */
.search-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* box search */
.search-box {
  position: relative;
  width: 100%;
  max-width: 460px;
}

/* input */
.search-input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 15px;
  background: #fff;
}

/* icon search di kanan */
.search-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #999;
}

/* popup hasil */
.search-popup {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
  max-height: 340px;
  overflow-y: auto;
  z-index: 9999;
}

/* item */
.search-item {
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  cursor: pointer;
}

.search-item:hover {
  background: #f6f6f6;
}

.search-thumb {
  width: 72px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
}

.search-title {
  font-weight: 600;
  font-size: 14px;
}

.search-meta {
  font-size: 12px;
  color: #777;
}

/* MOBILE */
@media (max-width: 576px) {
  .search-box {
    max-width: 100%;
  }
}
.search-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  color: #777;
  cursor: pointer;
}

.search-btn:hover {
  color: #000;
}
.search-popup {
  transition: opacity .15s ease, transform .15s ease;
}
.search-popup.d-none {
  opacity: 0;
  transform: translateY(-4px);
}
.search-popup.d-none {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  display: none;
}
/* hilangkan underline & warna default link */
.search-popup a,
.search-popup a:visited,
.search-popup a:hover,
.search-popup a:active {
  text-decoration: none;
  color: inherit;
}
.search-item {
  color: #111;
}

.search-item:hover {
  background: #f6f6f6;
}

.promo-card{
  background:#fff;
  padding:12px;
  border-radius:14px;
  text-align:center;
  font-size:14px;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
  margin:15px auto 25px;
  max-width:420px;
}

/* ===== TAB WRAPPER ===== */
.top-tabs{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding:10px 12px;
}

.top-tabs::-webkit-scrollbar{
  display:none;
}

/* ===== FLEX LINE ===== */
.top-tabs-inner{
  display:flex;
  gap:8px;
  flex-wrap:nowrap;
  justify-content:flex-start; /* mobile start dulu */
  min-width:100%;
}

/* ===== BUTTON ===== */
.tab-btn{
  flex:0 0 auto;
  white-space:nowrap;
  padding:8px 16px;
  font-size:14px;
  border-radius:999px;
  background:#f2f2f2;
  border:none;
  cursor:pointer;
  transition:.2s;
}

.tab-btn.active{
  background:#ff4757;
  color:#fff;
}

/* ===== DESKTOP CENTER ===== */
@media (min-width:768px){

.top-tabs-inner{
  justify-content:center;
}

}