.td-pb-row [class*="td-pb-span"],
.td-pb-border-top,
.page-template-page-title-sidebar-php .td-page-content > .wpb_row:first-child,
.td-post-sharing,
.td-post-content,
.td-post-next-prev,
.author-box-wrap,
.td-comments-title-wrap,
.comment-list,
.comment-respond,
.td-post-template-5 header,
.td-container,
.wpb_content_element,
.wpb_column,
.wpb_row,
.white-menu .td-header-container .td-header-main-menu,
.td-post-template-1 .td-post-content,
.td-post-template-4 .td-post-sharing-top,
.td-header-style-6 .td-header-header .td-make-full,
#disqus_thread,
.page-template-page-pagebuilder-title-php .td-page-content > .wpb_row:first-child,
.td-footer-container:before {
    border-color: #e6e6e6;
}
.td-top-border {
    border-color: #e6e6e6 !important;
}
.td-container-border:after,
.td-next-prev-separator,
.td-container .td-pb-row .wpb_column:before,
.td-container-border:before,
.td-main-content:before,
.td-main-sidebar:before,
.td-pb-row .td-pb-span4:nth-of-type(3):after,
.td-pb-row .td-pb-span4:nth-last-of-type(3):after {
	background-color: #e6e6e6;
}
@media (max-width: 767px) {
	.white-menu .td-header-main-menu {
  		border-color: #e6e6e6;
  	}
}

.td-menu-background:before,
.td-search-background:before {
    background: rgba(0,0,0,0.5);
    background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.5)), color-stop(100%, rgba(0,0,0,0.6)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.5) 0%, @mobileu_gradient_two_mob 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0.5)', endColorstr='rgba(0,0,0,0.6)', GradientType=0 );
}

.td-footer-container::before {
    background-size: cover;
}

.td-footer-container::before {
    opacity: 0.1;
}

/* ===== FIX FINAL: gambar konten berita jangan lonjong ===== */
.single .post-content img,
.single .entry-content img,
.single .content img,
.single-post img,
.post-detail img,
.detail-berita img,
.isi-berita img,
#content img,
.article-content img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
}



/* keadaan sticky aktif */
.td-header-main-menu.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* supaya konten gak naik ketiban menu */
body.has-sticky-menu {
  padding-top: var(--menu-height, 0px);
}


/* ===== LOGO TETAP TERLIHAT SAAT SCROLL (FIXED) ===== */
@media (max-width: 991px){

  /* saat aktif, logo bar jadi fixed */
  body.logo-fixed-on .td-header-top-menu-full{
    position: fixed !important;
    top: 0 !important;
    left: 0; right: 0;
    width: 100%;
    z-index: 999999 !important;
    background: #fff !important;
    border-bottom: 1px solid #eee;
  }

  /* dorong konten supaya tidak ketutup */
  body.logo-fixed-on{
    padding-top: var(--logo-bar-h, 0px);
  }
}
@media (max-width: 991px){

  /* saat logo fixed aktif, geser navbar/menu sticky ke bawah */
  body.logo-fixed-on #stickyMenuWrap,
  body.logo-fixed-on #stickyMenuWrap.is-sticky{
    top: var(--logo-bar-h, 0px) !important;
  }

  /* kalau sticky kamu sebenarnya di elemen ini (main menu tagDiv), ikut geser juga */
  body.logo-fixed-on .td-header-row.td-header-main-menu{
    margin-top: var(--logo-bar-h, 0px) !important;
  }

  /* jaga layering: logo di atas, menu tepat di bawah */
  body.logo-fixed-on .td-header-top-menu-full{
    z-index: 999999 !important;
  }
  body.logo-fixed-on #stickyMenuWrap{
    z-index: 999998 !important;
  }
}
