/* ===== GLOBAL SAFETY ===== */
html, body{ overflow-x:hidden; }
*, *::before, *::after{ box-sizing:border-box; }
img, iframe, video{ max-width:100%; height:auto; }

/* =====================================================
   DESKTOP/TABLET: pakai FLEX 2 kolom
   Breakpoint harus ikuti theme: theme stack di <=880px
   (lihat rule theme .postbody,#sidebar float:none di 880px)
   ===================================================== */
@media (min-width: 881px){

  /* container utama theme */
  #content{
    max-width:1220px;           /* ikut theme (#content max-width 1220) */
    margin:0 auto;
    position:relative;

    display:flex;
    gap:15px;
    align-items:flex-start;
  }

  /* kolom kiri */
  #content > .postbody{
    flex:1 1 auto;
    min-width:0;

    float:none !important;      /* matikan float theme */
    width:auto !important;
  }

  /* kolom kanan */
  #content > #sidebar{
    flex:0 0 330px;
    width:330px;
    max-width:330px;

    float:none !important;      /* matikan float theme */
  }

  /* theme punya margin-left 15px di #sidebar .section -> bikin total lebar “nyenggol” */
  #sidebar .section{
    margin-left:0 !important;
  }

  /* optional: .loop di theme width 75% float left, bikin layout homepage keliatan “aneh” */
  .loop{
    width:100% !important;
    float:none !important;
  }
}

/* =====================================================
   MOBILE: biarkan theme yang handle (<=880px)
   Theme kamu sudah punya:
   .postbody,#sidebar{float:none;width:auto} di 880px
   ===================================================== */

/* Footer container (aman, optional) */
#footer .footer-container{
  max-width:1220px;
  margin:0 auto;
  padding:20px 15px;
  box-sizing:border-box;
}

.lang-switch .langbtn{
  padding:6px 10px;
  border:1px solid #4169E1;
  border-radius:6px;
  font-weight:700;
  font-size:12px;
  line-height:1;
  text-decoration:none;
}
.lang-switch .langbtn.active{
  background:#4169E1;
  color:#fff;
}

.langbtn{
  padding:6px 10px;
  border:1px solid #4169E1;
  border-radius:6px;
  font-weight:700;
  font-size:12px;
  line-height:1;
  text-decoration:none;
  color:#fff;
}
.langbtn.active{
  background:#4169E1;
}

.lang-switch{display:inline-flex;gap:8px}
.langbtn{
  padding:6px 10px;
  border:1px solid #4169E1;
  border-radius:6px;
  font-weight:700;
  font-size:12px;
  color:#fff;
  text-decoration:none;
}
.langbtn.active{background:#4169E1}


/* ====== BASE STYLE UNTUK LINK SECTION ====== */
.section-link,
.sidebar-section-link {
  display: inline-block;
  padding: 10px 16px;
  min-height: 44px;
  line-height: 1.4;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.08);
  transition: background .2s;
}

.section-link:hover,
.sidebar-section-link:hover {
  background: rgba(255,255,255,0.15);
}

/* ====== Judul ====== */
.det h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* ====== Mobile ====== */
@media (max-width: 767px) {
  .section-link,
  .sidebar-section-link {
    display: block;
    padding: 14px 20px;
    font-size: 20px;
    text-align: center;
  }
}

#sidebar .headlist .thumb img { display:block; }











/* ===== GLOBAL SAFETY ===== */
html, body{ overflow-x:hidden; }
*, *::before, *::after{ box-sizing:border-box; }
img, iframe, video{ max-width:100%; height:auto; }

/* =====================================================
   DESKTOP/TABLET: pakai FLEX 2 kolom
   Breakpoint harus ikuti theme: theme stack di <=880px
   (lihat rule theme .postbody,#sidebar float:none di 880px)
   ===================================================== */
@media (min-width: 881px){

  /* container utama theme */
  #content{
    max-width:1220px;           /* ikut theme (#content max-width 1220) */
    margin:0 auto;
    position:relative;

    display:flex;
    gap:15px;
    align-items:flex-start;
  }

  /* kolom kiri */
  #content > .postbody{
    flex:1 1 auto;
    min-width:0;

    float:none !important;      /* matikan float theme */
    width:auto !important;
  }

  /* kolom kanan */
  #content > #sidebar{
    flex:0 0 330px;
    width:330px;
    max-width:330px;

    float:none !important;      /* matikan float theme */
  }

  /* theme punya margin-left 15px di #sidebar .section -> bikin total lebar “nyenggol” */
  #sidebar .section{
    margin-left:0 !important;
  }

  /* optional: .loop di theme width 75% float left, bikin layout homepage keliatan “aneh” */
  .loop{
    width:100% !important;
    float:none !important;
  }
}

/* =====================================================
   MOBILE: biarkan theme yang handle (<=880px)
   Theme kamu sudah punya:
   .postbody,#sidebar{float:none;width:auto} di 880px
   ===================================================== */

/* Footer container (aman, optional) */
#footer .footer-container{
  max-width:1220px;
  margin:0 auto;
  padding:20px 15px;
  box-sizing:border-box;
}

.lang-switch .langbtn{
  padding:6px 10px;
  border:1px solid #4169E1;
  border-radius:6px;
  font-weight:700;
  font-size:12px;
  line-height:1;
  text-decoration:none;
}
.lang-switch .langbtn.active{
  background:#4169E1;
  color:#fff;
}

.langbtn{
  padding:6px 10px;
  border:1px solid #4169E1;
  border-radius:6px;
  font-weight:700;
  font-size:12px;
  line-height:1;
  text-decoration:none;
  color:#fff;
}
.langbtn.active{
  background:#4169E1;
}

.lang-switch{display:inline-flex;gap:8px}
.langbtn{
  padding:6px 10px;
  border:1px solid #4169E1;
  border-radius:6px;
  font-weight:700;
  font-size:12px;
  color:#fff;
  text-decoration:none;
}
.langbtn.active{background:#4169E1}


/* ====== BASE STYLE UNTUK LINK SECTION ====== */
.section-link,
.sidebar-section-link {
  display: inline-block;
  padding: 10px 16px;
  min-height: 44px;
  line-height: 1.4;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.08);
  transition: background .2s;
}

.section-link:hover,
.sidebar-section-link:hover {
  background: rgba(255,255,255,0.15);
}

/* ====== Judul ====== */
.det h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* ====== Mobile ====== */
@media (max-width: 767px) {
  .section-link,
  .sidebar-section-link {
    display: block;
    padding: 14px 20px;
    font-size: 20px;
    text-align: center;
  }
}

#sidebar .headlist .thumb img { display:block; }

/* =====================================================
   HEADER / NAV — PRIMEVIDEO-ish + SUBMARINE VIBE (LIGHTWEIGHT)
   - Pure CSS (no images), minimal effects for PSI
   - Targets markup from header.php: .th, .centernav.bound, .searchx #form/#s/#submitsearch, #main-menu, .sub-menu
   ===================================================== */

:root{
  --sub-bg-0:#040b14;
  --sub-bg-1:#061a2d;
  --sub-bg-2:#07263f;
  --sub-line:rgba(255,255,255,.08);
  --sub-text:#e8f2ff;
  --sub-muted:rgba(232,242,255,.72);
  --sub-accent:#4169E1;  /* keep your existing royal-blue brand */
  --sub-teal:#00d4ff;    /* subtle “sonar” hint */
}

/* Top header bar */
.th,
.darkmode .th{
  position:relative;
  overflow:hidden;
  height:64px;
  background:
    linear-gradient(90deg, var(--sub-bg-1) 0%, var(--sub-bg-2) 55%, var(--sub-bg-1) 100%) !important;
  border-bottom:1px solid var(--sub-line);
}

/* Subtle sonar texture overlay (static -> cheap) */
.th::before{
  content:"";
  position:absolute;
  inset:-1px 0 0 0;
  pointer-events:none;
  opacity:.55;
  background:
    radial-gradient(600px 180px at 18% 35%, rgba(0,212,255,.14), transparent 62%),
    radial-gradient(520px 180px at 82% 65%, rgba(65,105,225,.16), transparent 64%),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.045) 0px,
      rgba(255,255,255,.045) 1px,
      transparent 1px,
      transparent 10px
    );
}

/* Make header row feel like Prime Video: tight, clean, flex */
.th .centernav.bound{
  position:relative;
  z-index:2;
  max-width:1220px;
  margin:0 auto;
  padding:0 16px;
  height:64px;

  display:flex;
  align-items:center;
  gap:12px;
}

/* Kill old floats in header row (safe in modern browsers) */
.th .centernav.bound > *,
.th .centernav.bound .mainheader,
.th .centernav.bound .searchx,
.th .centernav.bound #gs,
.th .centernav.bound #thememode{
  float:none !important;
}

/* Hamburger / mobile icons */
.shme{
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:12px;
  color:var(--sub-text);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.shme:hover{ background:rgba(255,255,255,.09); }

/* Desktop: keep hamburger hidden (theme default) */
@media (min-width: 801px){
  .shme{ display:none !important; }
}

/* Brand */
.logox{ display:flex; align-items:center; min-width:180px; }
.logos a{ display:flex; align-items:center; gap:10px; }
.logos img{ display:block; max-height:36px; height:auto; }
.logos .hdl{ display:none; } /* keep it clean like Prime Video */

/* Search pill */
.searchx{ flex:1 1 auto; max-width:520px; width:auto !important; margin:0 !important; }
.searchx #form{
  display:flex;
  align-items:center;
  gap:8px;
  height:40px;
  padding:0 10px 0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
}
.searchx #form:focus-within{
  border-color:rgba(0,212,255,.45);
  background:rgba(255,255,255,.075);
}

.searchx #s{
  flex:1 1 auto;
  height:40px;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  color:var(--sub-text) !important;
  font-size:14px;

  text-align:left;
}
.searchx #s::placeholder{ color:rgba(232,242,255,.65); }

#submitsearch{
  width:40px;
  height:40px;
  border:0 !important;
  background:transparent !important;
  color:rgba(232,242,255,.90);
  display:flex;
  align-items:center;
  justify-content:center;
}
#submitsearch:hover{ color:var(--sub-teal); }

/* Mobile search icon (when search is collapsed by theme) */
.srcmob{display:none !important}

/* Mobile search toggle (styled, but hidden by default) */
.th .centernav.bound > .srcmob{
  width:40px;
  height:40px;
  border-radius:12px;
  align-items:center;
  justify-content:center;
  color:var(--sub-text);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.th .centernav.bound > .srcmob:hover{ background:rgba(255,255,255,.09); color:var(--sub-teal); }

/* Close icon inside search form (mobile) */
.searchx #form .srcmob.srccls{
  color:rgba(232,242,255,.85) !important;
}

.srcmob:hover{ background:rgba(255,255,255,.09); color:var(--sub-teal); }

/* Right-side actions (register / sign-in) */
#gs{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 !important;
}
#gs a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:var(--sub-text);
  text-decoration:none;
  line-height:1;
  white-space:nowrap;
}
#gs a:hover{
  background:rgba(255,255,255,.09);
  border-color:rgba(0,212,255,.28);
}
#gs a i{ opacity:.95; }
#gs a span{ font-size:13px; color:var(--sub-text); }

/* Theme switch: keep small and neat */
#thememode{
  margin:0 !important;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--sub-muted);
}
#thememode #switchtext{ font-size:12px; opacity:.75; }
#thememode .switch{ transform:scale(.92); }

/* Main nav bar */
#main-menu{
  position:relative;
  background:linear-gradient(90deg, rgba(4,11,20,.92), rgba(6,26,45,.92)) !important;
  border-bottom:1px solid rgba(255,255,255,.07);
  margin-bottom:12px; /* keep your existing spacing */
}

/* Nav row */
#main-menu .centernav .bound{
  max-width:1220px;
  margin:0 auto;
  padding:0 10px;
}

/* Links */
#main-menu ul.menu{ display:flex; flex-wrap:wrap; gap:6px; padding:8px 0; }
#main-menu ul li{ margin:0; }
#main-menu ul li a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:12px;
  color:rgba(232,242,255,.92) !important;
  text-decoration:none;
}
#main-menu ul li a:hover{
  background:rgba(255,255,255,.07);
  color:#fff !important;
}

/* Sub-menu (dropdown) */
#main-menu ul li.menu-item-has-children{ position:relative; }
#main-menu ul li .sub-menu{
  background:rgba(6,26,45,.98) !important;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:8px;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}
#main-menu ul li .sub-menu li a{
  border-radius:10px;
  padding:9px 10px;
}
#main-menu ul li .sub-menu li a:hover{
  background:rgba(0,212,255,.10);
  color:#fff !important;
}

/* Small “sonar underline” hint on hover (no animation) */
#main-menu ul li a span{ position:relative; }
#main-menu ul li a:hover span::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg, transparent, rgba(0,212,255,.55), transparent);
}

/* Mobile tuning */

/* FIX: mobile search toggles should NOT show on desktop */
@media (min-width: 801px){
  .th .centernav.bound > .srcmob,
  .searchx #form .srcmob{ display:none !important; }
}

@media (max-width: 800px){
  /* Mobile search toggle buttons */
  .th .centernav.bound > .srcmob{ display:flex !important; }
  .searchx #form .srcmob.srccls{ display:block !important; }

  .th,.darkmode .th{ height:60px; }
  .th .centernav.bound{ height:60px; gap:10px; padding:0 12px; }

  /* show hamburger on mobile */
  .shme{ display:flex !important; }

  .logox{ min-width:150px; }
  .searchx{ max-width:none; }
  #gs a span{ display:none; } /* icon-only on mobile */
  #thememode #switchtext{ display:none; }

  /* Keep nav dark even though theme inline CSS tries to set blue */
  #main-menu{ background:rgba(4,11,20,.96) !important; }
}

/* Ultra small */
@media (max-width: 480px){
  .shme{ width:38px; height:38px; border-radius:12px; }
  .searchx #form{ height:38px; }
  .searchx #s{ font-size:13px; }
}

/* Respect reduced motion (keep it calm) */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
}


/* premium scanlines: thinner + wider gap */
.th::before{
  opacity:.31 !important;
  background:
    radial-gradient(600px 180px at 18% 35%, rgba(0,212,255,.12), transparent 62%),
    radial-gradient(520px 180px at 82% 65%, rgba(65,105,225,.14), transparent 64%),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.025) 0px,
      rgba(255,255,255,.025) 1px,
      transparent 1px,
      transparent 16px
    ) !important;
}


/* =====================================================
   FIX: Search icon (magnifier) not visible + force dark search input
   ===================================================== */
.th .searchx #form{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  height:40px !important;
  padding:0 10px 0 14px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  position:relative !important;
}

.th .searchx #form #s{
  flex:1 1 auto !important;
  height:40px !important;
  border:0 !important;
  outline:0 !important;
  padding:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  color:rgba(232,242,255,.96) !important;
  -webkit-text-fill-color:rgba(232,242,255,.96) !important;
  caret-color:rgba(232,242,255,.96) !important;
}

.th .searchx #form #submitsearch{
  position:static !important;  /* override absolute positioning dari theme */
  width:40px !important;
  height:40px !important;
  border:0 !important;
  padding:0 !important;
  background:transparent !important;
  color:rgba(232,242,255,.92) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer;
}

.th .searchx #form #submitsearch i{
  display:block !important;
  font-size:18px !important;
  line-height:1 !important;
  opacity:1 !important;
}

.th .searchx #form #submitsearch:hover{ color:var(--sub-teal) !important; }

/* Chrome autofill safety (biar gak putih/kuning) */
.th .searchx #form #s:-webkit-autofill,
.th .searchx #form #s:-webkit-autofill:hover,
.th .searchx #form #s:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px rgba(255,255,255,.06) inset !important;
  -webkit-text-fill-color:rgba(232,242,255,.96) !important;
  caret-color:rgba(232,242,255,.96) !important;
}



/* =====================================================
   HOME COLOR SYNC + SIDEBAR FIX (Submarine / Prime-ish)
   Paste at VERY BOTTOM of patch-layout.css
   ===================================================== */

/* ---------- 1) SIDEBAR FIX (theme uses #content > .wrapper > .postbody/#sidebar) ---------- */
@media (min-width: 881px){
  /* stop flex on #content (breaks when children aren't .postbody/#sidebar directly) */
  #content{
    display:block !important;
    max-width:1220px;
    margin:0 auto;
  }

  /* make wrapper the flex container */
  #content > .wrapper{
    display:flex !important;
    gap:15px;
    align-items:flex-start;
  }

  #content > .wrapper > .postbody{
    flex:1 1 auto;
    min-width:0;
    float:none !important;
  }

  #content > .wrapper > #sidebar{
    flex:0 0 330px;
    width:330px;
    max-width:330px;
    float:none !important;
  }

  #sidebar .section{ margin-left:0 !important; }
}

/* ---------- 2) COLOR SYNC: section bars follow header palette ---------- */
:root{
  --sub-bg-0:#040b14;
  --sub-bg-1:#061a2d;
  --sub-bg-2:#07263f;
  --sub-text:#e8f2ff;
  --sub-muted:rgba(232,242,255,.72);
  --sub-teal:#00d4ff;
}

/* section header bar */
.darkmode .releases.latesthome{
  position:relative;
  background:linear-gradient(90deg, rgba(6,26,45,.92) 0%, rgba(7,38,63,.92) 55%, rgba(6,26,45,.92) 100%) !important;
  border-bottom:1px solid rgba(255,255,255,.08);
}

/* sonar underline */
.darkmode .releases.latesthome::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(0,212,255,.55), transparent);
  opacity:.9;
}

.darkmode .releases.latesthome h3{
  color:var(--sub-text) !important;
  font-weight:700;
  letter-spacing:.2px;
}

/* "View All" button */
.darkmode .releases.latesthome .vl{
  background:rgba(255,255,255,.08) !important;
  color:var(--sub-text) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:999px !important;
  padding:6px 10px !important;
  line-height:1 !important;
}
.darkmode .releases.latesthome .vl:hover{
  background:rgba(0,212,255,.12) !important;
  border-color:rgba(0,212,255,.28) !important;
  color:#fff !important;
}

/* content box vibe (subtle, cheap) */
.darkmode .bixbox{
  background:linear-gradient(180deg, rgba(4,11,20,.62), rgba(4,11,20,.52)) !important;
  border:1px solid rgba(255,255,255,.07) !important;
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}



#gs {
    float: right;
    position: relative;
    margin-top: 20px;
    margin-right: 10px;
    line-height: normal;
}
        @media only screen and (max-width: 800px) {
    #gs {
        margin-top: 14px;
        margin-right: 0;
        margin-left: 10px;
        display: inline-block;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
    }
}
#gs_sub {
    float: right;
    position: relative;
    margin-top: 23px;
    margin-right: 10px;
    line-height: normal;
}



@media only screen and (max-width: 800px) {
  #menu-home {
    display: block;
    visibility: visible;
  }
}




    #gs_sub {
        margin-top: 22px;
        margin-right: 0;
        margin-left: 10px;
        display: inline-block;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
    }

           .btn-success {
    background-color: #4169E1;
}
.btn-01 {
    background-color: transparent;
}
.modal-header, .modal-body, .modal-footer {
    border: 0;
}
#login .form-control {
    background-color: #343a40!important;
    border-color: #343a40!important;
}
#reg_form h4,#reg_form .btn,#reg_forms h4,#reg_forms .btn {
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    font-weight: 700;
    font-family: Muli,sans-serif;
}

.btn-approve {
    margin-top: 20px;
}

.headmeta {
    padding: 3px 15px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 13px;
    color: #9dc4de;
    text-align: center;
}

.modal-content {
    position: relative;
    border: 1px solid #999;
    border: 10px solid rgba(255, 255, 255, 0.2);
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    background: #222;
}
.btn-success {
    color: #fff;
    background-color: #4169E1;
    border-color: #4169E1;
}


.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
         img.wp-smiley, img.emoji {
         display: inline !important;
         border: none !important;
         box-shadow: none !important;
         height: 1em !important;
         width: 1em !important;
         margin: 0 0.07em !important;
         vertical-align: -0.1em !important;
         background: none !important;
         padding: 0 !important;
         }











