/*
Theme Name: AM Night Tube
Theme URI: https://adver-media.com/
Author: Adver Media
Description: AM Night Tube is a fast, dark-blue premium WordPress tube theme designed for adult video sites. Built with a PornHat-style layout and Adver-Media visual identity, it features a clean video grid, responsive mobile navigation, optimized performance, and seamless ad placement for high CTR and monetization.
Version: 1.0.0
Text Domain: am-night-tube
*/

/* =========================
   GLOBAL
========================= */
:root{
  --bg:#0b0b0b;
  --top:#111;
  --top2:#101010;
  --card:#121212;
  --card2:#1b1b1b;
  --line:#2a2a2a;
  --text:#ffffff;
  --muted:#b7c0d4;
  --accent:#f2027e;
  --hover:#ff9800;
  --radius:8px;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:14px;
}
a{color:var(--accent);text-decoration:none;}
a:hover{text-decoration:underline;}

.container{
  width:96%;
  max-width:1180px;
  margin:0 auto;
}
.container.home-wrap,
.container.archive-wrap{
  width:98%;
  max-width:1500px;
  margin:0 auto;
}

/* =========================
   TOP MINI MENU (atas)
========================= */
.topbar-mini{
  background:var(--top2);
  border-bottom:1px solid #202020;
}
.topbar-mini-inner{
  max-width:1180px;
  margin:0 auto;
  padding:6px 15px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
}
.topbar-mini-menu{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  align-items:center;
  gap:26px;
  font-size:12.5px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
  white-space:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.topbar-mini-menu::-webkit-scrollbar{display:none;}
.topbar-mini-menu li{margin:0;padding:0;}
.topbar-mini-menu li a{color:var(--muted);text-decoration:none;white-space:nowrap;}
.topbar-mini-menu li a:hover{color:var(--hover);}

/* =========================
   HEADER / NAV
========================= */
.topbar{
  background:var(--top);
  padding:8px 0;
  position:relative;
  z-index:50;
  border-top:none;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

/* logo image */
.logo-wrap img.custom-logo{max-height:40px;height:auto;width:auto;}

/* logo text fallback */
.logo{
  font-size:28px;
  font-weight:900;
  display:flex;
  align-items:center;
  text-decoration:none;
}
.brand-main{color:var(--accent);}
.brand-sub{color:#fff;}

/* wrapper menu + search */
.nav-wrapper{
  display:flex;
  align-items:center;
  gap:25px;
}

/* menu */
.main-menu-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:20px;
  align-items:center;
}
.main-menu-list > li{position:relative;}
.main-menu-list > li > a{
  color:#ddd;
  font-size:14px;
  text-transform:uppercase;
  font-weight:600;
  text-decoration:none;
}
.main-menu-list > li > a:hover{color:var(--accent);}

/* dropdown desktop */
.main-menu-list .sub-menu{
  position:absolute;
  top:100%;
  left:0;
  margin-top:0;
  padding:10px 18px 12px;
  min-width:230px;
  background:#333;
  border-top:3px solid var(--accent);
  list-style:none;
  display:none;
  z-index:999;
}
.main-menu-list > li:hover > .sub-menu{display:block;}
.main-menu-list .sub-menu li{margin:0 0 4px;}
.main-menu-list .sub-menu a{
  display:block;
  color:#fff;
  font-size:14px;
  line-height:1.5;
  text-decoration:none;
  font-weight:600;
  text-transform:none;
}
.main-menu-list .sub-menu a:hover{color:var(--accent);}

/* search desktop */
.header-search{width:230px;flex-shrink:0;}
.header-search form{display:flex;gap:6px;}
.header-search input[type="text"]{
  width:100%;
  height:32px;
  padding:4px 8px;
  background:#000;
  border:1px solid #333;
  color:#fff;
  font-size:13px;
  border-radius:6px;
}
.header-search button{
  height:32px;
  padding:0 12px;
  background:var(--accent);
  border:0;
  color:#000;
  font-weight:bold;
  font-size:13px;
  cursor:pointer;
  border-radius:6px;
}

/* tombol mobile di desktop disembunyikan */
.topbar-mobile-actions{display:none;}

/* =========================
   HOME / ARCHIVE HEADLINE
========================= */
.home-wrap{padding:18px 0 30px;}
.page-headline{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin:8px 0 10px;
}
.page-headline h1{
  font-size:20px;
  margin:0;
  color:#fff;
  font-weight:800;
}

/* =========================
   GRID VIDEO (PornHat feel)
========================= */
.video-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.video-card{
  background:var(--card) !important;
  color:#fff !important;
  border-radius:var(--radius);
  overflow:hidden;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 1px 2px rgba(0,0,0,.35);
  transition:transform .12s ease, box-shadow .12s ease;
}
.video-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(0,0,0,.35);
  text-decoration:none;
}

.thumb-wrap{position:relative;background:#000;overflow:hidden;}
.thumb-wrap img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:16/9;
}

.duration-badge{
  position:absolute;
  right:6px;
  bottom:6px;
  padding:2px 6px;
  border-radius:6px;
  background:rgba(0,0,0,.8);
  color:#fff;
  font-size:11px;
  font-weight:700;
}
.hd-badge{
  position:absolute;
  left:6px;
  bottom:6px;
  padding:2px 6px;
  border-radius:6px;
  background:#222222;
  color:#fff;
  font-size:10px;
  font-weight:900;
}

.video-info{padding:10px 10px 12px;}
.video-title{
  color:#fff !important;
  font-weight:600;
  line-height:1.25;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  height:2.5em;
}

/* =========================
   PAGINATION 1–10
========================= */
.tube-pagination{
  margin:25px 0 10px;
  text-align:center;
}
.tube-pagination .page-btn{
  display:inline-block;
  min-width:34px;
  padding:8px 12px;
  margin:0 3px;
  background:#222;
  color:#fff;
  border-radius:6px;
  font-size:14px;
  text-decoration:none;
  transition:background .15s ease, transform .1s ease;
}
.tube-pagination .page-btn:hover{
  background:#333;
  transform:translateY(-1px);
}
.tube-pagination .page-btn.current{
  background:var(--accent);
  color:#000;
  font-weight:700;
}

/* mobile tampil 1–6 */
@media (max-width:600px){
  .tube-pagination .page-btn:nth-child(n+7):not(.next):not(.prev){display:none;}
}

/* =========================
   SINGLE VIDEO (player + ads)
========================= */
.single-wrap{
  width:98%;
  max-width:1400px;
  margin:0 auto;
  padding:18px 0 35px;
}

.breadcrumb{font-size:12px;color:#fff;margin-bottom:6px;}
.breadcrumb a{color:#fff;}
.breadcrumb a:hover{color:var(--accent);}

.single-title{font-size:20px;margin:4px 0 10px;color:#fff;}
.single-meta{display:none !important;} /* sesuai custom kamu */

/* layout player + sidebar */
.player-shell{
  background:#000;
  padding:8px;
  border-radius:8px;
  margin-bottom:10px;
}
.player-shell.player-with-ad{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:20px;
  align-items:start;
}
.player-wrap{
  position:relative;
  padding-top:56.25%;
  border-radius:8px;
  overflow:hidden;
}
.player-wrap iframe,
.player-wrap video{
  position:absolute;inset:0;
  width:100%;height:100%;
  border:0;
}

.player-side-ad{
  position:sticky;
  top:90px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.ad-300x250{
  width:300px;
  height:250px;
  background:#111;
  border-radius:8px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed rgba(255,255,255,.25);
}

/* mobile: ads pindah bawah (tetap tampil) */
@media (max-width:1000px){
  .player-shell.player-with-ad{grid-template-columns:1fr;}
  .player-side-ad{
    position:static;
    margin-top:16px;
    align-items:center;
    justify-content:center;
  }
}

/* tags */
.tags-list{margin:6px 0 10px;}
.tags-list a{
  display:inline-block;
  margin:2px 4px 2px 0;
  padding:3px 7px;
  border-radius:6px;
  background:#1b1b1b;
  color:#fff;
  font-size:11px;
}
.tags-list a:hover{background:var(--accent);color:#000;text-decoration:none;}

/* related */
.related-head{
  margin-top:18px;
  font-size:17px;
  font-weight:700;
  color:#fff;
}

/* =========================
   PAGE
========================= */
.page-wrap{padding:24px 0 40px;max-width:1200px;margin:0 auto;}
.page-title{font-size:22px;font-weight:700;margin:0 0 10px;color:#fff;}
.page-content{
  background:var(--card) !important;
  color:#fff !important;
  border-radius:8px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.06);
  line-height:1.6;
}
.page-content a{color:#fff !important;font-weight:600;text-decoration:underline;}

/* =========================
   COMMENTS (ikuti custom kamu)
========================= */
#comments,.comments-area{
  background:var(--card) !important;
  color:#fff !important;
  padding:20px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.06);
}
.comments-main-title{
  color:#fff !important;
  font-weight:700;
  margin:0;
  padding-bottom:4px;
  border-bottom:2px solid var(--accent);
  display:inline-block;
}
.comments-count{color:#fff !important;font-weight:600;}
.no-comments-yet{color:#fff !important;font-weight:600;text-align:left;}

.comment-form-wrap{
  background:var(--card2) !important;
  color:#fff !important;
  padding:20px;
  border-radius:8px;
}
.comment-form-wrap input[type="text"],
.comment-form-wrap input[type="email"],
.comment-form-wrap textarea{
  background:#111 !important;
  border:1px solid #333 !important;
  color:#fff !important;
  border-radius:6px;
  padding:9px 11px;
}
.submit-comment-btn{
  background:var(--accent) !important;
  color:#000 !important;
  border:none !important;
  border-radius:6px !important;
  padding:9px 16px !important;
  font-weight:700 !important;
  cursor:pointer;
}

/* =========================
   404
========================= */
.page-404{text-align:center;padding:40px 0 60px;}
.page-404-title{font-size:32px;font-weight:800;margin-bottom:12px;color:#fff;}
.page-404-text{font-size:15px;color:#ddd;margin-bottom:25px;}
.page-404-btn{
  display:inline-block;
  padding:10px 18px;
  background:var(--accent);
  color:#000;
  font-weight:700;
  border-radius:6px;
  text-decoration:none;
  margin-bottom:30px;
}
.page-404-search form{
  max-width:350px;
  margin:0 auto;
  display:flex;
  gap:8px;
}
.page-404-search input{
  flex:1;
  padding:9px 12px;
  border-radius:6px;
  border:1px solid #333;
  background:#111;
  color:#fff;
}
.page-404-search button{
  padding:9px 14px;
  border:none;
  border-radius:6px;
  background:var(--accent);
  color:#000;
  font-weight:700;
  cursor:pointer;
}

/* =========================
   FOOTER (Motherless style)
========================= */
.ml-footer{
  background:linear-gradient(180deg,#1c1c1c,#0f0f0f);
  color:#ccc;
  margin-top:40px;
  padding-top:25px;
  font-size:14px;
}
.ml-footer-columns{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  padding:0 0 25px;
  align-items:flex-start;
}
.ml-col{flex:1 1 200px;}
.ml-col h4{font-size:16px;color:#fff;margin:0 0 10px;font-weight:800;}
.ml-footer .ml-col a{
  display:block;
  color:#aaa;
  font-size:14px;
  margin:3px 0;
  text-decoration:none;
}
.ml-footer .ml-col a:hover{color:var(--accent);}

.ml-join-logo-only{
  margin-left:auto;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex:1 1 240px;
  min-width:220px;
}
.ml-join-logo-only img{
  max-width:260px;
  width:100%;
  height:auto;
  filter:grayscale(100%) brightness(.75);
  opacity:.85;
}

.ml-divider{width:100%;height:1px;background:#2a2a2a;margin:12px 0;}

.ml-copyright{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding:18px 0 24px;
  text-align:center;
  font-size:13px;
  color:#888;
}
.ml-icons{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}
.ml-icons img{
  height:26px;
  width:auto;
  max-width:140px;
  filter:grayscale(100%) brightness(.75);
  opacity:.85;
}

.ml-backtotop{
  position:fixed;
  right:20px;
  bottom:20px;
  background:#222;
  color:var(--accent);
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  cursor:pointer;
  font-size:20px;
  border:1px solid #444;
  z-index:999;
}
.ml-backtotop:hover{background:var(--accent);color:#fff;}

/* =========================
   RESPONSIVE GRID
========================= */
@media (max-width:992px){ .video-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:768px){ .video-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:480px){ .video-grid{grid-template-columns:1fr;} }

/* =========================
   MOBILE NAV (klik submenu)
========================= */
@media (max-width:768px){

  .nav-wrapper{
    display:none;
    position:absolute;
    top:100%;
    left:0; right:0;
    background:#111;
    flex-direction:column;
    padding:10px 15px 15px;
    border-top:1px solid #222;
  }
  .topbar.nav-open .nav-wrapper{display:flex;}

  .main-menu-list{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .header-search{width:100%;margin-top:10px;}

  /* dropdown jadi accordion */
  .main-menu-list .sub-menu{
    position:static;
    display:none;
    width:100%;
    min-width:0;
    padding:8px 10px;
    background:#181818;
    border-top:0;
  }
  .main-menu-list li.sub-open > .sub-menu{display:block;}

  /* matiin hover desktop di mobile */
  .main-menu-list > li:hover > .sub-menu{display:none;}

  /* arrow */
  .main-menu-list > li.menu-item-has-children > a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
  }
  .main-menu-list > li.menu-item-has-children > a::after{
    content:"▾";
    font-weight:900;
    color:#aaa;
    margin-left:10px;
  }
  .main-menu-list > li.sub-open > a::after{content:"▴";}

  .topbar-mobile-actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin-left:auto;
  }

  /* search icon */
  .mobile-search-btn{
    width:26px;height:26px;border-radius:50%;
    border:2px solid #fff;background:transparent;position:relative;cursor:pointer;padding:0;
  }
  .mobile-search-btn::after{
    content:"";position:absolute;width:10px;height:2px;background:#fff;right:-4px;bottom:3px;
    transform:rotate(45deg);border-radius:2px;
  }

  /* hamburger */
  .mobile-menu-toggle{
    width:28px;height:22px;border:none;background:transparent;
    position:relative;cursor:pointer;padding:0;
  }
  .mobile-menu-toggle span,
  .mobile-menu-toggle span::before,
  .mobile-menu-toggle span::after{
    position:absolute;left:0;right:0;height:3px;background:#fff;border-radius:2px;content:"";
    transition:transform .2s ease, top .2s ease, opacity .2s ease;
  }
  .mobile-menu-toggle span{top:50%;transform:translateY(-50%);}
  .mobile-menu-toggle span::before{top:-7px;}
  .mobile-menu-toggle span::after{top:7px;}

  .topbar.nav-open .mobile-menu-toggle span{background:transparent;}
  .topbar.nav-open .mobile-menu-toggle span::before{top:0;transform:rotate(45deg);}
  .topbar.nav-open .mobile-menu-toggle span::after{top:0;transform:rotate(-45deg);}
}
/* =========================
   ADVER-MEDIA SIGNATURE LOOK (FORCE)
   tempel di paling bawah style.css
========================= */

/* Background lebih "AdverMedia" */
body{
  background: radial-gradient(1200px 400px at 50% -50%, rgba(242,2,126,.25), transparent 70%),
              radial-gradient(900px 380px at 10% 0%, rgba(0,160,255,.18), transparent 60%),
              #050712 !important;
}

/* Container lebih lebar biar grid berasa */
.container.home-wrap,
.container.archive-wrap,
.container.wide{
  max-width:1500px !important;
  width:98% !important;
}

/* Card jadi bluish + glow */
.video-card{
  background:#101322 !important;
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:10px !important;
  box-shadow:0 10px 25px rgba(0,0,0,.45) !important;
}
.video-card:hover{
  box-shadow:0 14px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(242,2,126,.18) !important;
}

/* Thumbnail lebih “premium”: sedikit zoom + gelap tipis */
.thumb-wrap img{
  transform:scale(1.02);
  filter:saturate(1.05) contrast(1.02);
}
.video-card:hover .thumb-wrap img{
  transform:scale(1.06);
}

/* Judul jadi strip overlay (ini yang bikin tampilannya langsung beda) */
.video-info{
  padding:0 !important;
}
.video-title{
  padding:10px 10px 11px !important;
  background:linear-gradient(180deg, rgba(16,19,34,0) 0%, rgba(16,19,34,.88) 28%, #101322 100%) !important;
  margin-top:-44px !important;              /* narik title ke atas thumb */
  position:relative;
  z-index:2;
  font-size:13.5px !important;
  font-weight:700 !important;
  min-height:auto !important;
}

/* Badge lebih jelas */
.hd-badge{
  background:rgba(0,0,0,.65) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}
.duration-badge{
  border:1px solid rgba(255,255,255,.10) !important;
}

/* Header kasih garis accent tipis biar “AdverMedia” */
.topbar{
  border-bottom:1px solid rgba(255,255,255,.06) !important;
}
.topbar::after{
  content:"";
  display:block;
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(242,2,126,.9), transparent);
}

/* Grid spacing lebih rapi */
.video-grid{
  gap:16px !important;
}
/* ===============================
   COLOR PACK: Adver-Media Premium
   Header + Body + Footer
   Paste di PALING BAWAH style.css
================================ */

/* ===== BODY / GLOBAL ===== */
:root{
  --bg:#050712;
  --header:#0b0f1a;
  --card:#101322;
  --card-soft:#14182a;
  --footerTop:#141414;
  --footerBot:#0b0b0b;

  --text:#ffffff;
  --muted:#b7c0d4;
  --line:rgba(255,255,255,.07);

  --accent:#f2027e;
  --accentHover:#ff4fa3;
}

body{
  background:
    radial-gradient(1200px 420px at 50% -40%, rgba(242,2,126,.18), transparent 65%),
    radial-gradient(900px 380px at 10% 0%, rgba(0,160,255,.12), transparent 60%),
    var(--bg) !important;
  color:var(--text) !important;
}

a{ color:var(--accent); }
a:hover{ color:var(--accentHover); }

/* ===== HEADER ===== */
.topbar{
  background:var(--header) !important;
  border-bottom:1px solid var(--line) !important;
}

/* garis glow tipis biar keren */
.topbar::after{
  content:"";
  display:block;
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(242,2,126,.95), transparent);
}

/* menu link */
.main-menu-list > li > a{
  color:rgba(255,255,255,.86) !important;
}
.main-menu-list > li > a:hover{
  color:var(--accent) !important;
}

/* dropdown */
.main-menu-list .sub-menu{
  background:#0f1428 !important;
  border-top:3px solid var(--accent) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.45) !important;
}
.main-menu-list .sub-menu a{
  color:#fff !important;
}
.main-menu-list .sub-menu a:hover{
  color:var(--accent) !important;
}

/* search */
.header-search input[type="text"]{
  background:#05060b !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#fff !important;
  border-radius:10px !important;
}
.header-search button{
  background:var(--accent) !important;
  color:#000 !important;
  border-radius:10px !important;
}
.header-search button:hover{ filter:brightness(1.08); }

/* mini top menu */
.topbar-mini{
  background:#0b0d14 !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
}
.topbar-mini-menu li a{
  color:var(--muted) !important;
}
.topbar-mini-menu li a:hover{
  color:#ff9800 !important;
}

/* ===== CARDS / GRID (biar match body) ===== */
.video-card{
  background:var(--card) !important;
  border:1px solid rgba(255,255,255,.06) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.45) !important;
}
.video-card:hover{
  box-shadow:0 14px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(242,2,126,.18) !important;
}

/* badge */
.hd-badge{
  background:rgba(0,0,0,.55) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}
.duration-badge{
  border:1px solid rgba(255,255,255,.10) !important;
}

/* ===== FOOTER ===== */
.ml-footer{
  background:linear-gradient(180deg, var(--footerTop), var(--footerBot)) !important;
  border-top:1px solid rgba(255,255,255,.06) !important;
  color:#b9b9b9 !important;
}
.ml-footer .ml-col h4{
  color:#fff !important;
}
.ml-footer .ml-col a{
  color:#a7a7a7 !important;
}
.ml-footer .ml-col a:hover{
  color:var(--accent) !important;
}

.ml-divider{
  background:rgba(255,255,255,.10) !important;
}
.ml-copyright{
  color:#8f8f8f !important;
}

.ml-backtotop{
  background:#151515 !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:var(--accent) !important;
  border-radius:12px !important;
}
.ml-backtotop:hover{
  background:var(--accent) !important;
  color:#fff !important;
}
/* ===============================
   TITLE DI BAWAH THUMB (FINAL)
   =============================== */

/* pastikan video-info normal */
.video-info{
  padding:8px 10px 10px !important;
  background:none !important;
  margin:0 !important;
}

/* title tidak overlay */
.video-title{
  position:static !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;

  color:#ffffff !important;
  font-size:13.5px !important;
  font-weight:600 !important;
  line-height:1.22 !important;

  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  height:2.5em !important;
}

/* card tetap cakep */
.video-card{
  background:#101322 !important;
  border-radius:8px !important;
}

/* hover hanya efek halus, bukan overlay */
.video-card:hover{
  transform:translateY(-2px);
}
/* ===============================
   PREMIUM COMMENT BOX (DARK)
   =============================== */

/* wrapper utama komentar */
.comments-area,
#comments{
  background:#0f1326 !important;
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:22px 22px 26px;
  box-shadow:0 12px 28px rgba(0,0,0,.45);
}

/* header komentar */
.comments-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:14px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.comments-main-title{
  font-size:18px;
  font-weight:800;
  color:#ffffff !important;
}

.comments-count{
  font-size:12px;
  color:#b7c0d4 !important;
}

/* ===============================
   LIST KOMENTAR
   =============================== */

.comment-list > li.comment{
  background:#101322 !important;
  border:1px solid rgba(255,255,255,.06);
  border-radius:10px;
  padding:14px 16px;
  margin-bottom:12px;
}

/* reply (nested) */
.comment-list .children{
  margin-top:10px;
  margin-left:22px;
  padding-left:14px;
  border-left:2px solid rgba(255,255,255,.08);
}

/* avatar + author */
.comment-author{
  display:flex;
  align-items:center;
  gap:10px;
}

.comment-author img{
  width:38px;
  height:38px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.12);
}

.comment-author .fn{
  color:#ffffff !important;
  font-weight:700;
  font-size:14px;
}

/* meta waktu */
.comment-meta{
  font-size:11px;
  color:#8f96b3 !important;
  margin:4px 0 8px;
}

/* isi komentar */
.comment-content{
  font-size:14px;
  line-height:1.55;
  color:#e9ecff !important;
}

/* reply link */
.reply a{
  display:inline-block;
  margin-top:6px;
  font-size:12px;
  font-weight:600;
  color:#f2027e !important;
}
.reply a:hover{
  text-decoration:underline;
}

/* ===============================
   FORM KOMENTAR
   =============================== */

.comment-form-wrap{
  background:#101322 !important;
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:18px 20px 22px;
  margin-top:20px;
}

.comment-form-title{
  font-size:17px;
  font-weight:800;
  color:#ffffff !important;
  margin-bottom:12px;
}

/* input & textarea */
.comment-form-wrap input[type="text"],
.comment-form-wrap input[type="email"],
.comment-form-wrap textarea{
  width:100%;
  background:#050712 !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:8px;
  padding:10px 12px;
  color:#ffffff !important;
  font-size:14px;
}

/* focus */
.comment-form-wrap input:focus,
.comment-form-wrap textarea:focus{
  outline:none;
  border-color:#f2027e !important;
  box-shadow:0 0 0 2px rgba(242,2,126,.25);
}

/* submit button */
.submit-comment-btn{
  margin-top:6px;
  background:linear-gradient(90deg,#f2027e,#ff4fa3) !important;
  color:#000 !important;
  font-weight:800 !important;
  border-radius:10px !important;
  padding:10px 18px !important;
  font-size:14px !important;
}
.submit-comment-btn:hover{
  filter:brightness(1.1);
}

/* teks kecil */
.comment-notes,
.logged-in-as{
  font-size:12px;
  color:#b7c0d4 !important;
}

/* pagination komentar */
.comment-pagination a,
.comment-pagination span{
  background:#101322 !important;
  border:1px solid rgba(255,255,255,.08);
  color:#ffffff !important;
}
.comment-pagination .current{
  background:#f2027e !important;
  color:#000 !important;
}
/* ===============================
   FIX: HILANGKAN ORANGE DI TOP BAR
   =============================== */

/* menu aktif di header utama */
.main-menu-list > li.current-menu-item > a,
.main-menu-list > li.current-menu-ancestor > a,
.main-menu-list > li.current_page_item > a {
  color: #f2027e !important;   /* PINK BRAND */
}

/* hover menu (biar konsisten) */
.main-menu-list > li > a:hover {
  color: #f2027e !important;
}

/* pastikan BUKAN orange */
.main-menu-list > li > a {
  text-decoration: none;
}

/* ===== kalau ORANGE datang dari TOP MINI BAR ===== */
.topbar-mini-menu li.current-menu-item > a,
.topbar-mini-menu li.current-menu-ancestor > a {
  color: #b7c0d4 !important;   /* abu elegan */
}

/* hover top mini bar */
.topbar-mini-menu li a:hover {
  color: #f2027e !important;
}
/* ======================================
   MOBILE: 2 BANNER SEJAJAR (RESPONSIVE)
====================================== */
@media (max-width: 768px){

  /* wrapper iklan */
  .player-side-ad{
    display:grid !important;
    grid-template-columns: 1fr 1fr;   /* 2 kolom */
    gap:10px;
    width:100%;
    max-width:100%;
    margin:16px auto 0;
  }

  /* banner */
  .player-side-ad .ad-300x250{
    width:100% !important;
    height:auto !important;
    aspect-ratio: 300 / 250;          /* jaga rasio */
    border-radius:10px;
    overflow:hidden;
  }

  /* image / iframe di dalam banner */
  .player-side-ad .ad-300x250 img,
  .player-side-ad .ad-300x250 iframe{
    width:100%;
    height:100%;
    object-fit:cover;
  }
}
/* =========================================
   FIX FOOTER LOGO ALIGN (MOBILE)
========================================= */
@media (max-width: 600px){

  /* kolom footer jadi 2 kolom rapi */
  .ml-footer-columns{
    display:grid !important;
    grid-template-columns: 1fr 1fr;
    align-items:start;
    gap:24px 20px;
  }

  /* kolom logo */
  .ml-join-logo-only{
    align-self:flex-start;      /* ⬅️ kunci ke atas */
    margin-top: 0;              /* hilangkan dorongan ke bawah */
    padding-top: 0;
    justify-content:flex-start;
  }

  /* logo image */
  .ml-join-logo-only img{
    margin-top: 4px;            /* fine tuning biar sejajar teks */
    max-width: 200px;
  }
}
/* FIX: hilangkan garis putih / gap di thumbnail */
.thumb-wrap{
  background:#000;          /* biar pinggirnya hitam */
  overflow:hidden;
}

.thumb-wrap img{
  display:block;            /* ini yang paling penting */
  width:100%;
  height:auto;
  border:0 !important;
  outline:0 !important;
}
