/*
Theme Name: News Go
Theme URI: https://devgomedia.co.id
Author: Devgo Media
Description: Tema portal berita lokal modern, responsif, ringan, terinspirasi layout portal berita Indonesia. Desain dibuat original.
Version: 1.0.0
License: GPLv2 or later
Text Domain: Devgo Media
*/
:root{--red:#e21b22;--dark:#111;--muted:#777;--line:#eee;--bg:#fff;--soft:#f7f7f7;--max:1120px}*{box-sizing:border-box}body{margin:0;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.container{max-width:var(--max);margin:auto;padding:0 14px}.topbar{font-size:12px;border-bottom:1px solid var(--line);color:#555;background:#fafafa}.topbar .container{display:flex;gap:16px;justify-content:space-between;align-items:center;min-height:32px}.top-links{display:flex;gap:16px;flex-wrap:wrap}.site-head{background:#fff}.site-head .container{height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px}.logo{font-weight:900;font-size:30px;letter-spacing:-1px;color:var(--red);line-height:1}.logo span{color:#111}.tagline{font-size:10px;color:#888;letter-spacing:2px;text-align:center}.head-icons{display:flex;gap:12px;color:#222}.mobile-menu-btn{display:none;border:0;background:none;font-size:24px}.nav{background:var(--red);color:#fff;position:sticky;top:0;z-index:20}.nav .container{display:flex;align-items:center;gap:8px}.main-menu{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0;white-space:nowrap;overflow-x:auto}.main-menu li a{display:block;padding:12px 13px;font-size:13px;font-weight:700}.main-menu li a:hover{background:rgba(0,0,0,.14)}.live{background:#fff;color:var(--red);font-weight:800;border-radius:999px;padding:2px 8px;font-size:11px}.breaking{background:#fff;border-bottom:1px solid var(--line)}.breaking .container{display:flex;gap:10px;align-items:center;height:38px;overflow:hidden}.breaking b{background:var(--red);color:#fff;border-radius:3px;padding:3px 8px;font-size:12px;white-space:nowrap}.ticker{white-space:nowrap;overflow:hidden}.ticker span{display:inline-block;animation:ticker 25s linear infinite}@keyframes ticker{from{transform:translateX(5%)}to{transform:translateX(-100%)}}.adbox{background:#121b27;color:#b9c7d8;min-height:92px;border-radius:2px;display:flex;align-items:center;justify-content:center;margin:18px 0;font-weight:700}.adbox:before{content:'triv';font-size:28px;color:#54a7d8;margin-right:auto;margin-left:30px}.adbox small{margin-left:auto;margin-right:30px;background:#3195d2;color:#fff;padding:7px 13px;border-radius:2px}.grid-home{display:grid;grid-template-columns:1.55fr .9fr .72fr;gap:18px;margin-top:14px}.hero{position:relative;border-radius:4px;overflow:hidden;background:#222;min-height:330px}.hero img{width:100%;height:330px;object-fit:cover}.hero:after,.small-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.78))}.hero-content{position:absolute;left:18px;right:18px;bottom:16px;z-index:2;color:#fff}.cat{display:inline-block;background:var(--red);color:#fff;font-size:10px;font-weight:800;text-transform:uppercase;padding:3px 7px;border-radius:2px}.hero h1{font-size:28px;line-height:1.12;margin:9px 0 5px}.meta{font-size:12px;color:#888}.hero .meta,.small-card .meta{color:#eee}.section-title{font-weight:900;border-left:4px solid var(--red);padding-left:7px;margin:0 0 12px;font-size:15px}.list-mini{display:flex;flex-direction:column;gap:13px}.mini{display:grid;grid-template-columns:96px 1fr;gap:10px}.mini img{width:96px;height:67px;object-fit:cover;border-radius:3px}.mini h3{font-size:13px;line-height:1.25;margin:0}.mini .meta{font-size:11px}.trend-box{border-left:1px solid var(--line);padding-left:16px}.trend-item{display:grid;grid-template-columns:34px 1fr;gap:8px;padding:0 0 15px;margin-bottom:15px;border-bottom:1px solid var(--line)}.trend-num{color:var(--red);font-style:italic;font-size:30px;line-height:1}.trend-item h3{font-size:13px;line-height:1.25;margin:0}.three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.small-card{position:relative;min-height:155px;border-radius:4px;overflow:hidden;background:#222}.small-card img{width:100%;height:155px;object-fit:cover}.small-card div{position:absolute;z-index:2;left:10px;right:10px;bottom:10px;color:#fff}.small-card h3{margin:5px 0 0;font-size:14px;line-height:1.25}.content-layout{display:grid;grid-template-columns:1fr 310px;gap:28px;margin-top:22px}.post-list{display:flex;flex-direction:column;gap:18px}.post-row{display:grid;grid-template-columns:220px 1fr;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--line)}.post-row img{width:220px;height:132px;object-fit:cover;border-radius:3px}.post-row h2{font-size:18px;line-height:1.3;margin:5px 0}.excerpt{color:#555;margin:6px 0 0}.more-btn{display:block;text-align:center;border:1px solid var(--line);padding:9px;margin:18px 0;border-radius:3px}.footer{background:#050505;color:#aaa;text-align:center;margin-top:35px;padding:30px 0 22px;font-size:12px}.footer-menu{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;border-top:1px solid #222;border-bottom:1px solid #222;margin:18px 0;padding:12px 0;color:#ddd}.breadcrumb{font-size:12px;color:#777;margin:14px 0}.single-layout{display:grid;grid-template-columns:1fr 300px;gap:30px;margin-top:18px}.single-title{font-size:34px;line-height:1.16;margin:10px 0 8px}.byline{display:flex;align-items:center;gap:8px;color:#777;border-bottom:1px solid var(--line);padding-bottom:12px}.share{display:flex;gap:7px;margin:12px 0}.share a{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#1877f2;color:#fff;font-weight:700;font-size:12px}.share a:nth-child(2){background:#111}.share a:nth-child(3){background:#25d366}.share a:nth-child(4){background:#26a5e4}.share a:nth-child(5){background:#bd081c}.featured{margin:22px 0}.caption{font-size:11px;color:#888;margin-top:5px}.single-content{font-size:16px;line-height:1.72}.single-content p{margin:0 0 16px}.read-also{background:#f4f4f4;border-left:3px solid var(--red);padding:9px 12px;margin:14px 0;font-weight:700}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:10px 0 28px}.related-grid article{background:#fafafa}.related-grid img{width:100%;height:105px;object-fit:cover}.related-grid h3{font-size:13px;line-height:1.28;margin:7px}.sidebar-widget{margin-bottom:24px}.sidebar-widget .section-title{margin-bottom:14px}.search-form{display:flex;background:#2c333b;border-radius:4px;padding:16px}.search-form input{flex:1;border:0;padding:10px}.search-form button{border:0;background:#fff;border-radius:50%;width:36px}.mobile-only{display:none}@media(max-width:900px){.top-links{display:none}.site-head .container{height:58px;justify-content:center}.mobile-menu-btn{display:block;position:absolute;left:12px}.head-icons{position:absolute;right:12px}.logo{font-size:25px}.nav{top:0}.nav .container{padding:0}.main-menu{width:100%;overflow-x:auto}.main-menu li a{padding:10px 12px}.breaking{display:none}.grid-home,.content-layout,.single-layout{display:block}.hero{min-height:230px;margin:12px 0}.hero img{height:230px}.hero h1{font-size:20px}.trend-box{border-left:0;padding-left:0;margin-top:20px}.three-cols{grid-template-columns:1fr;gap:12px}.post-row{grid-template-columns:126px 1fr;gap:10px}.post-row img{width:126px;height:86px}.post-row h2{font-size:14px;margin:3px 0}.excerpt{display:none}.single-title{font-size:24px}.single-content{font-size:15px}.related-grid{grid-template-columns:repeat(2,1fr)}.adbox{min-height:74px}.adbox:before{margin-left:18px}.adbox small{display:none}.desktop-only{display:none}.mobile-only{display:block}.footer-menu{gap:14px}.container{padding:0 12px}}@media(max-width:520px){.mini{grid-template-columns:95px 1fr}.single-title{font-size:22px}.related-grid{grid-template-columns:1fr 1fr}.single-content img{margin-left:auto;margin-right:auto}.topbar .container{justify-content:center}.post-row{grid-template-columns:118px 1fr}.post-row img{width:118px;height:78px}}

.mobile-drawer{
  position:fixed;
  top:0;
  left:-290px;
  width:290px;
  height:100vh;
  background:#fff;
  z-index:99999;
  transition:.3s ease;
  padding:0 20px 25px;
  box-shadow:3px 0 18px rgba(0,0,0,.22);
  overflow-y:auto;
}

.mobile-drawer.active{
  left:0;
}

.drawer-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.0);
  z-index:99998;
}

.drawer-overlay.active{
  display:block;
}

.drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
  border-bottom:1px solid #eee;
  font-weight:800;
}

.drawer-close{
  border:0;
  background:#e21b22;
  color:#fff;
  width:32px;
  height:32px;
  border-radius:50%;
  font-weight:800;
}

.mobile-menu{
  list-style:none;
  margin:15px 0 0;
  padding:0;
}

.mobile-menu li{
  margin:0;
  padding:0;
}

.mobile-menu li a{
  display:block;
  padding:14px 0;
  color:#111;
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid #eee;
}

.drawer-open{
  overflow:hidden;
}

.back-to-top{
  position:fixed;
  right:15px;
  bottom:15px;
  background:#e21b22;
  color:#fff;
  border:0;
  border-radius:50%;
  width:36px;
  height:36px;
  z-index:9999;
}

.site-head{
  position:sticky;
  top:0;
  z-index:99999;
  background:#fff !important;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.nav{
  position:sticky;
  top:60px; /* tinggi header putih */
  z-index:99998;
  background:#e21b22 !important;
}

.nav .container{
  background:#e21b22 !important;
}

@media(max-width:768px){
  .site-head{
    height:60px;
  }

  .nav{
    top:60px;
  }

  .breaking{
    display:none;
  }
}

.search-toggle{
  border:0;
  background:transparent;
  font-size:22px;
  cursor:pointer;
  color:#111;
}

.search-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.82);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999999;
  padding:20px;
}

.search-popup.active{
  display:flex;
}

.search-box{
  width:100%;
  max-width:560px;
  background:#fff;
  border-radius:10px;
  padding:28px;
  position:relative;
}

.search-box input{
  width:100%;
  height:52px;
  border:1px solid #ddd;
  padding:0 15px;
  font-size:17px;
  outline:none;
}

.search-box button[type="submit"]{
  width:100%;
  margin-top:12px;
  height:48px;
  border:0;
  background:#e21b22;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.search-close{
  position:absolute;
  top:-42px;
  right:0;
  border:0;
  background:#e21b22;
  color:#fff;
  width:34px;
  height:34px;
  border-radius:50%;
  cursor:pointer;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img,
.custom-logo{
    max-height:100px;
    width:auto;
    height:auto;
    display:block;
}

/* =====================================================Homepage Polish===================================================== */

.newsgo-home{
  padding-top:18px;
}

.home-top-grid{
  align-items:start;
}

.home-hero-wrap,
.home-mini-wrap,
.newsgo-home .sidebar{
  background:#fff;
}

.newsgo-home .hero{
  min-height:365px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.newsgo-home .hero img{
  height:365px;
  transition:.35s ease;
}

.newsgo-home .hero:hover img{
  transform:scale(1.04);
}

.newsgo-home .hero-content{
  bottom:20px;
}

.newsgo-home .hero h1{
  max-width:92%;
  font-size:31px;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
}

.newsgo-home .section-title{
  display:flex;
  align-items:center;
  gap:8px;
  border-left:0;
  padding-left:0;
  font-size:16px;
  margin-bottom:16px;
}

.newsgo-home .section-title:before{
  content:'';
  width:5px;
  height:20px;
  background:var(--red);
  border-radius:3px;
}

.newsgo-home .mini{
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}

.newsgo-home .mini:last-child{
  border-bottom:0;
}

.newsgo-home .mini img{
  width:104px;
  height:72px;
}

.newsgo-home .mini h3{
  font-size:14px;
}

.home-section{
  margin:26px 0 6px;
}

.editor-grid{
  margin:0 0 26px;
}

.editor-grid .small-card{
  min-height:180px;
  box-shadow:0 8px 22px rgba(0,0,0,.07);
}

.editor-grid .small-card img{
  height:180px;
  transition:.35s ease;
}

.editor-grid .small-card:hover img{
  transform:scale(1.05);
}

.home-bottom-layout{
  margin-top:26px;
}

.newsgo-home .post-row{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  padding:12px;
  box-shadow:0 4px 18px rgba(0,0,0,.04);
  transition:.2s ease;
}

.newsgo-home .post-row:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.newsgo-home .post-row img{
  border-radius:6px;
}

.newsgo-home .post-row h2 a:hover,
.newsgo-home .mini h3 a:hover,
.trend-item h3 a:hover{
  color:var(--red);
}

.newsgo-home .more-btn{
  background:var(--red);
  color:#fff;
  border:0;
  font-weight:700;
  border-radius:6px;
}

.newsgo-home .sidebar{
  position:relative;
}

.newsgo-home .trend-box{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  padding:14px;
  box-shadow:0 4px 18px rgba(0,0,0,.04);
}

.newsgo-home .trend-item:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:0;
}

@media(max-width:900px){
  .newsgo-home{
    padding-top:0;
  }

  .newsgo-home .hero{
    min-height:250px;
  }

  .newsgo-home .hero img{
    height:250px;
  }

  .newsgo-home .hero h1{
    font-size:22px;
    max-width:100%;
  }

  .newsgo-home .mini img{
    width:96px;
    height:68px;
  }

  .editor-grid .small-card,
  .editor-grid .small-card img{
    height:175px;
    min-height:175px;
  }

  .newsgo-home .post-row{
    padding:8px;
    border-radius:6px;
  }
}

@media(max-width:520px){
  .newsgo-home .hero{
    min-height:230px;
  }

  .newsgo-home .hero img{
    height:230px;
  }

  .newsgo-home .section-title{
    font-size:15px;
  }

  .newsgo-home .post-row{
    grid-template-columns:118px 1fr;
  }
}



/* =====================================================
   News Go - Dynamic Category Blocks
   Taruh di PALING BAWAH style.css
   ===================================================== */

.newsgo-dynamic-blocks{
  margin:28px 0 8px;
}

.newsgo-cat-block{
  margin:0 0 32px;
}

.cat-block-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.cat-block-head .section-title{
  margin-bottom:0;
}

.cat-block-head > a{
  font-size:12px;
  font-weight:700;
  color:var(--red);
  border:1px solid var(--red);
  padding:5px 10px;
  border-radius:999px;
}

.cat-block-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:18px;
}

.cat-featured-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 5px 18px rgba(0,0,0,.05);
}

.cat-featured-card img{
  width:100%;
  height:245px;
  object-fit:cover;
}

.cat-featured-content{
  padding:13px;
}

.cat-featured-content h2{
  font-size:21px;
  line-height:1.25;
  margin:8px 0 5px;
}

.cat-featured-content p{
  color:#555;
  margin:8px 0 0;
  font-size:14px;
}

.cat-small-card{
  display:grid;
  grid-template-columns:112px 1fr;
  gap:10px;
  padding-bottom:12px;
  margin-bottom:12px;
  border-bottom:1px solid #eee;
}

.cat-small-card:last-child{
  border-bottom:0;
  margin-bottom:0;
  padding-bottom:0;
}

.cat-small-card img{
  width:112px;
  height:76px;
  object-fit:cover;
  border-radius:5px;
}

.cat-small-card h3{
  font-size:14px;
  line-height:1.3;
  margin:5px 0 3px;
}

.cat-small-card h3 a:hover,
.cat-featured-content h2:hover{
  color:var(--red);
}

@media(max-width:900px){
  .cat-block-grid{
    display:block;
  }

  .cat-featured-card{
    margin-bottom:14px;
  }

  .cat-featured-card img{
    height:220px;
  }

  .cat-featured-content h2{
    font-size:18px;
  }

  .cat-small-card{
    grid-template-columns:104px 1fr;
  }

  .cat-small-card img{
    width:104px;
    height:72px;
  }
}

@media(max-width:520px){
  .newsgo-dynamic-blocks{
    margin-top:22px;
  }

  .cat-featured-card img{
    height:190px;
  }

  .cat-featured-content{
    padding:11px;
  }

  .cat-small-card{
    grid-template-columns:96px 1fr;
  }

  .cat-small-card img{
    width:96px;
    height:68px;
  }

  .cat-small-card h3{
    font-size:13px;
  }

  .cat-block-head > a{
    font-size:11px;
    padding:4px 8px;
  }
}

@media(max-width:768px){
  .breaking{
    display:block !important;
    background:#fff;
    border-bottom:1px solid #eee;
    position:relative;
    z-index:10;
  }

  .breaking .container{
    height:34px;
    padding:0 10px;
    display:flex;
    gap:7px;
    align-items:center;
  }

  .breaking b{
    font-size:10px;
    padding:3px 6px;
    white-space:nowrap;
  }

  .ticker{
    flex:1;
    overflow:hidden;
    font-size:11px;
  }

  .ticker span{
    animation:ticker 35s linear infinite;
  }
}

@media(max-width:768px){
  .breaking{
    position:sticky;
    top:100px;
    z-index:9997;
  }
}

.newsgo-post-credit{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:8px 0 12px;
  font-size:13px;
  color:#666;
}

.newsgo-post-credit strong{
  color:#111;
}

@media(max-width:768px){
  .newsgo-post-credit{
    display:block;
    font-size:12px;
    line-height:1.6;
  }
	
.newsgo-post-credit{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:#666;
    margin:6px 0 2px;
}

.newsgo-post-credit strong{
  color:#111;
}

.credit-separator{
  color:#aaa;
}
}

.newsgo-date-line{
    font-size:13px;
    color:#666;
    margin:0 0 12px;
    padding-bottom:12px;
    border-bottom:1px solid #eee;
}

.baca-juga-box{
    background:#f7f7f7;
    border-left:4px solid #e21b22;
    padding:12px 14px;
    margin:18px 0;
    font-size:15px;
    line-height:1.5;
}

.baca-juga-box strong{
    color:#e21b22;
}

.baca-juga-box a{
    color:#111;
    font-weight:700;
}

.baca-juga-box a:hover{
    color:#e21b22;
}

.newsgo-banner-area{
  margin:18px 0;
  text-align:center;
}

.newsgo-banner-widget{
  margin-bottom:14px;
}

.newsgo-banner-widget img{
  max-width:100%;
  height:auto;
  display:inline-block;
  border-radius:6px;
}

.newsgo-banner-area{
  width:100%;
  margin:16px 0;
  text-align:center;
  overflow:hidden;
}

.newsgo-banner-area img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
  border-radius:6px;
}

.newsgo-banner-widget{
  width:100%;
}

.newsgo-footer{
    background:#0b0b0b;
    color:#bbb;
    text-align:center;
    padding:40px 15px 25px;
}

.footer-logo{
    margin-bottom:15px;
}

.footer-logo img{
    max-height:70px;
    width:auto;
}

.footer-description{
    max-width:700px;
    margin:0 auto 20px;
    font-size:14px;
    line-height:1.7;
    color:#aaa;
}

.footer-navigation{
    margin-bottom:20px;
}

.footer-menu-inline{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    list-style:none;
    margin:0;
    padding:0;
}

.footer-menu-inline li{
    margin:0;
}

.footer-menu-inline a{
    color:#ddd;
    font-size:14px;
    font-weight:500;
}

.footer-menu-inline a:hover{
    color:#fff;
}

.footer-social{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-bottom:20px;
}

.footer-social a{
    width:38px;
    height:38px;
    border-radius:50%;
    background:#e21b22;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}

.footer-copyright{
    border-top:1px solid #222;
    padding-top:15px;
    font-size:13px;
    color:#777;
}

@media(max-width:768px){

    .footer-menu-inline{
        gap:10px;
    }

    .footer-menu-inline a{
        font-size:13px;
    }

}

.newsgo-hero-slider{
    position:relative;
    overflow:hidden;
    border-radius:6px;
    min-height:330px;
    background:#111;
}

.newsgo-hero-slider .hero{
    display:none;
    min-height:330px;
    border-radius:6px;
}

.newsgo-hero-slider .hero.active{
    display:block;
}

.newsgo-hero-slider .hero img{
    width:100%;
    height:330px;
    object-fit:cover;
}

.newsgo-hero-slider .hero:after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,rgba(0,0,0,.1),rgba(0,0,0,.82));
    z-index:1;
}

.newsgo-hero-slider .hero-content{
    z-index:2;
    bottom:24px;
}

.newsgo-hero-slider .hero h1{
    font-size:31px;
    line-height:1.15;
    max-width:92%;
}

.hero-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

.hero-prev{
    left:12px;
}

.hero-next{
    right:12px;
}

.hero-dots{
    position:absolute;
    left:0;
    right:0;
    bottom:12px;
    z-index:6;
    display:flex;
    justify-content:center;
    gap:8px;
}

.hero-dot{
    width:10px;
    height:10px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.6);
    cursor:pointer;
}

.hero-dot.active{
    width:28px;
    border-radius:999px;
    background:#e21b22;
}

@media(max-width:768px){
    .newsgo-hero-slider,
    .newsgo-hero-slider .hero{
        min-height:230px;
    }

    .newsgo-hero-slider .hero img{
        height:230px;
    }

    .newsgo-hero-slider .hero h1{
        font-size:20px;
        max-width:100%;
    }

    .hero-nav{
        width:32px;
        height:32px;
        font-size:24px;
    }
}

.headline-box{
    background:#fff;
    border:1px solid #eee;
    border-radius:6px;
    padding:14px;
    margin-top:14px;
    box-shadow:0 4px 15px rgba(0,0,0,.04);
}

.headline-box h3{
    margin:0 0 10px;
    font-size:16px;
    border-left:4px solid #e21b22;
    padding-left:8px;
}

.headline-item{
    display:flex;
    gap:10px;
    padding:9px 0;
    border-bottom:1px solid #eee;
}

.headline-item:last-child{
    border-bottom:0;
}

.headline-item span{
    color:#e21b22;
    font-weight:800;
}

.headline-item a{
    font-weight:700;
    line-height:1.35;
}

.headline-item a:hover{
    color:#e21b22;
}

@media(min-width:901px){

    .grid-home-2col{
        display:grid;
        grid-template-columns:1.45fr 1fr;
        gap:22px;
        align-items:start;
        margin-top:16px;
    }

    .grid-home-2col .home-left{
        display:flex;
        flex-direction:column;
        gap:14px;
    }

    .grid-home-2col .home-right{
        display:flex;
        flex-direction:column;
        gap:20px;
    }

    .grid-home-2col .sidebar{
        width:100%;
    }

    .grid-home-2col .trend-box{
        border-left:0;
        padding-left:0;
    }

    .home-latest-box{
        background:#fff;
    }

}

@media(max-width:900px){

    .grid-home-2col{
        display:block;
    }

    .grid-home-2col .home-right{
        margin-top:18px;
    }

}

.popular-premium{
    background:#fff;
    border:1px solid #eee;
    border-radius:8px;
    padding:14px;
    box-shadow:0 4px 18px rgba(0,0,0,.04);
}

.popular-item{
    display:grid;
    grid-template-columns:96px 1fr;
    gap:10px;
    padding-bottom:12px;
    margin-bottom:12px;
    border-bottom:1px solid #eee;
}

.popular-item:last-child{
    margin-bottom:0;
    padding-bottom:0;
    border-bottom:0;
}

.popular-thumb img{
    width:96px;
    height:68px;
    object-fit:cover;
    border-radius:6px;
}

.popular-content h3{
    font-size:13px;
    line-height:1.35;
    margin:0 0 5px;
}

.popular-content h3 a:hover{
    color:#e21b22;
}

.popular-meta{
    font-size:11px;
    color:#888;
}

@media(max-width:768px){
    .popular-item{
        grid-template-columns:90px 1fr;
    }

    .popular-thumb img{
        width:90px;
        height:64px;
    }
}

@media(max-width:768px){

  .popular-premium{
    display:block !important;
    width:100% !important;
    margin-top:20px;
    padding:12px !important;
  }

  .popular-premium .popular-item{
    display:grid !important;
    grid-template-columns:92px 1fr !important;
    gap:10px !important;
    align-items:start;
  }

  .popular-premium .popular-thumb img{
    width:92px !important;
    height:64px !important;
    object-fit:cover !important;
  }

  .popular-premium .popular-content h3{
    font-size:13px !important;
    line-height:1.35 !important;
    margin:0 0 4px !important;
  }

  .popular-premium .popular-meta{
    font-size:11px !important;
  }

}

.footer-logo{
    text-align:center;
    margin-bottom:15px;
}

.footer-logo .custom-logo-link{
    display:block;
    text-align:center;
}

.footer-logo img{
    display:block;
    margin:0 auto;
    max-width:100%;
    height:auto;
}

.dark-toggle{
  border:0;
  background:transparent;
  color:#111;
  font-size:18px;
  cursor:pointer;
}

body.dark-mode{
  background:#0f0f0f;
  color:#eaeaea;
}

body.dark-mode .site-head,
body.dark-mode .breaking,
body.dark-mode .post-row,
body.dark-mode .popular-premium,
body.dark-mode .headline-box,
body.dark-mode .cat-featured-card,
body.dark-mode .home-latest-box,
body.dark-mode .sidebar-widget,
body.dark-mode .mobile-drawer,
body.dark-mode .search-box{
  background:#161616 !important;
  color:#eaeaea;
  border-color:#2a2a2a;
}

body.dark-mode a{
  color:#f1f1f1;
}

body.dark-mode .meta,
body.dark-mode .excerpt,
body.dark-mode .footer-description,
body.dark-mode .caption{
  color:#aaa;
}

body.dark-mode .nav,
body.dark-mode .cat,
body.dark-mode .breaking b{
  background:#e21b22 !important;
}

body.dark-mode .dark-toggle,
body.dark-mode .search-toggle,
body.dark-mode .mobile-menu-btn{
  color:#fff;
}

body.dark-mode input,
body.dark-mode textarea{
  background:#111;
  color:#fff;
  border-color:#333;
}

.site-head .container{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    margin:0;
    max-width:none;
    display:flex;
    align-items:center;
}

.head-icons{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
}

.search-toggle,
.dark-toggle{
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:#transparent;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:14px;
    flex-shrink:0;
}

@media(max-width:900px){

    .site-head .container{
        justify-content:center;
        padding-left:58px;
        padding-right:88px;
    }

    .mobile-menu-btn{
        position:absolute;
        left:12px;
    }

    .head-icons{
        position:absolute;
        right:12px;
    }

    .logo{
        max-width:100%;
    }

    .custom-logo{
        max-height:75px;
    }

}

.newsgo-pagination{
    margin:25px 0;
    text-align:center;
}

.newsgo-pagination .nav-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
}

.newsgo-pagination a,
.newsgo-pagination span{
    padding:8px 12px;
    border:1px solid #eee;
    border-radius:6px;
    font-weight:700;
}

.newsgo-pagination .current{
    background:#e21b22;
    color:#fff;
    border-color:#e21b22;
}

.newsgo-page{
    max-width:900px;
    margin:30px auto;
    background:#fff;
}

.newsgo-page .single-title{
    margin-bottom:20px;
}

.newsgo-page .single-content{
    font-size:16px;
    line-height:1.8;
}

.newsgo-page .single-content h2,
.newsgo-page .single-content h3{
    margin-top:25px;
}

.newsgo-page .single-content img{
    max-width:100%;
    height:auto;
}

@media(max-width:768px){

    .newsgo-page{
        margin:20px auto;
    }

    .newsgo-page .single-content{
        font-size:15px;
        line-height:1.7;
    }

}

.home-right-popular{
    background:#fff;
    border:1px solid #eee;
    border-radius:8px;
    padding:14px;
    box-shadow:0 4px 18px rgba(0,0,0,.04);
}

.category-header{
    background:#fff;
    padding:25px;
    border-radius:12px;
    margin-bottom:20px;
    border:1px solid #eee;
}

.category-label{
    display:inline-block;
    padding:6px 12px;
    border-radius:30px;
    background:#e21b22;
    color:#fff;
    font-size:12px;
    font-weight:700;
    margin-bottom:10px;
}

.category-header h1{
    font-size:34px;
    margin:0 0 10px;
}

.category-desc{
    color:#666;
    line-height:1.7;
}

@media(max-width:768px){

    .category-header{
        padding:18px;
    }

    .category-header h1{
        font-size:26px;
    }

}

.post-tags{
    margin:25px 0;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.post-tags span{
    font-weight:700;
}

.post-tags a{
    display:inline-block;
    padding:6px 12px;
    background:#f3f4f6;
    border-radius:20px;
    text-decoration:none;
    color:#333;
    font-size:13px;
}

.post-tags a:hover{
    background:#e21b22;
    color:#fff;
}

.comment-form input,
.comment-form textarea{
    width:100%;
    padding:12px 15px;
    border:1px solid #ddd;
    border-radius:8px;
    margin-bottom:12px;
}

.comment-form textarea{
    min-height:120px;
}

.comment-form .submit{
    background:#e21b22;
    color:#fff;
    border:0;
    padding:12px 20px;
    border-radius:6px;
    cursor:pointer;
}

.newsgo-404{
    max-width:720px;
    margin:70px auto;
    text-align:center;
    padding:40px 20px;
}

.error-code{
    font-size:110px;
    font-weight:900;
    line-height:1;
    color:#e21b22;
}

.newsgo-404 h1{
    font-size:32px;
    margin:15px 0 10px;
}

.newsgo-404 p{
    color:#666;
    font-size:16px;
    line-height:1.7;
}

.error-search{
    display:flex;
    gap:10px;
    max-width:520px;
    margin:25px auto;
}

.error-search input{
    flex:1;
    padding:13px 15px;
    border:1px solid #ddd;
    border-radius:8px;
}

.error-search button,
.back-home{
    background:#e21b22;
    color:#fff;
    border:0;
    border-radius:8px;
    padding:13px 18px;
    font-weight:700;
    cursor:pointer;
}

.back-home{
    display:inline-block;
}

@media(max-width:768px){
    .error-code{
        font-size:82px;
    }

    .newsgo-404 h1{
        font-size:14px;
    }

    .error-search{
        display:block;
    }

    .error-search input,
    .error-search button{
        width:100%;
        margin-bottom:10px;
    }
}

.newsgo-cat-list-block{
    margin:35px 0;
}

.cat-list-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:15px;
}

.cat-list-title h3{
    margin:0;
    font-size:15px;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

.cat-list-title span{
    display:block;
    width:120px;
    height:4px;
    background:#1e88e5;
    border-radius:10px;
}

.cat-list-item{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:20px;
    padding:18px 0;
    border-bottom:1px solid #eee;
}

.cat-list-thumb img{
    width:260px;
    height:140px;
    object-fit:cover;
    border-radius:4px;
    display:block;
}

.cat-list-content h3{
    margin:0 0 10px;
    font-size:24px;
    line-height:1.25;
    font-weight:800;
}

.cat-list-content h3 a{
    color:#222;
    text-decoration:none;
}

.cat-list-meta{
    font-size:13px;
    font-weight:700;
    color:#999;
}

.cat-list-meta::first-letter{
    text-transform:uppercase;
}

.cat-list-meta{
    text-transform:uppercase;
    letter-spacing:1px;
}

.cat-list-meta span{
    color:#aaa;
    margin:0 5px;
}

@media(max-width:768px){
    .cat-list-item{
        grid-template-columns:120px 1fr;
        gap:12px;
        padding:14px 0;
    }

    .cat-list-thumb img{
        width:120px;
        height:80px;
    }

    .cat-list-content h3{
        font-size:15px;
        line-height:1.35;
    }

    .cat-list-title h3{
        font-size:14px;
    }

    .cat-list-title span{
        width:80px;
    }

    .cat-list-meta{
        font-size:11px;
    }
}

.main-menu li{
    position:relative;
}

.main-menu li ul{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    min-width:220px;
    z-index:9999;
    box-shadow:0 8px 20px rgba(0,0,0,.0);
    padding:0;
    margin:0;
}

.main-menu li:hover > ul{
    display:block;
}

.main-menu li ul li{
    width:100%;
    display:block;
}

.main-menu li ul li a{
    display:block;
    color:#222;
    padding:10px 14px;
    white-space:normal;
}

.main-menu li ul li a:hover{
    background:#f3f3f3;
}

@media(max-width:768px){
    .mobile-menu .sub-menu{
        display:none;
        padding-left:15px;
    }

    .mobile-menu li.menu-item-has-children.open > .sub-menu{
        display:block;
    }

    .mobile-menu li.menu-item-has-children > a::after{
        content:" +";
        float:right;
        font-weight:700;
    }

    .mobile-menu li.menu-item-has-children.open > a::after{
        content:" -";
    }
}


@media (min-width: 769px){
  .nav,
  .nav .container,
  .main-menu{
      overflow: visible !important;
  }

  .main-menu{
      display:flex;
      align-items:center;
      flex-wrap:nowrap;
      white-space:nowrap;
  }

  .main-menu li{
      position:relative;
  }

  .main-menu > li{
      flex:0 0 auto;
  }

  .main-menu .sub-menu{
      display:none !important;
      position:absolute;
      top:100%;
      left:0;
      min-width:220px;
      background:#fff;
      color:#111;
      z-index:999999;
      list-style:none;
      padding:6px 0;
      margin:0;
      box-shadow:0 8px 22px rgba(0,0,0,.16);
      border-radius:0 0 6px 6px;
      white-space:normal;
  }

  .main-menu li:hover > .sub-menu,
  .main-menu li:focus-within > .sub-menu{
      display:block !important;
  }

  .main-menu .sub-menu li{
      display:block;
      width:100%;
  }

  .main-menu .sub-menu a{
      display:block;
      padding:10px 14px;
      color:#222 !important;
      background:#fff !important;
      font-size:13px;
      font-weight:700;
      line-height:1.35;
  }

  .main-menu .sub-menu a:hover{
      background:#f3f3f3 !important;
      color:#e21b22 !important;
  }

  /* Submenu tingkat kedua */
  .main-menu .sub-menu .sub-menu{
      top:0;
      left:100%;
      border-radius:6px;
  }
}

/* Mobile menu */
@media (max-width:768px){
  .nav,
  .nav .container{
      overflow:hidden !important;
  }

  .main-menu{
      width:100%;
      overflow-x:auto !important;
      overflow-y:hidden !important;
      white-space:nowrap;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
  }

  .main-menu::-webkit-scrollbar{
      display:none;
  }

  .main-menu > li{
      flex:0 0 auto;
      position:relative;
  }

  .nav .main-menu .sub-menu{
      display:none !important;
  }
}

/* Hamburger drawer: submenu tetap bisa dibuka lewat class .open dari JS */
.mobile-menu .sub-menu{
    display:none;
    list-style:none;
    margin:0;
    padding-left:15px;
}

.mobile-menu li.menu-item-has-children.open > .sub-menu{
    display:block;
}

.mobile-menu li.menu-item-has-children > a::after{
    content:" +";
    float:right;
    font-weight:800;
}

.mobile-menu li.menu-item-has-children.open > a::after{
    content:" -";
}

.popular-meta i{
    margin-right:5px;
    color:#e21b22;
}


.single-content img,
.wp-block-image img,
figure img{
    display:block;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:20px auto;
    border-radius:6px;
}


.wp-block-image,
.wp-caption,
.aligncenter,
.alignnone,
.alignleft,
.alignright{
    max-width:100% !important;
    width:100% !important;
}


.single-content a img{
    width:100% !important;
    height:auto !important;
}

/* NEWSGO DARK MODE  */
body.dark-mode{
  background:#0f0f0f !important;
  color:#eaeaea !important;
}

body.dark-mode a,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode li,
body.dark-mode span{
  color:inherit;
}

body.dark-mode .site-head,
body.dark-mode .topbar,
body.dark-mode .breaking,
body.dark-mode .headline-box,
body.dark-mode .home-latest-box,
body.dark-mode .home-right-popular,
body.dark-mode .popular-premium,
body.dark-mode .sidebar-widget,
body.dark-mode .post-row,
body.dark-mode .small-card,
body.dark-mode .cat-featured-card,
body.dark-mode .cat-small-card,
body.dark-mode .newsgo-cat-list-block,
body.dark-mode .cat-list-item,
body.dark-mode .category-header,
body.dark-mode .single-wrap,
body.dark-mode .single-content,
body.dark-mode .comments-area,
body.dark-mode .comment-respond,
body.dark-mode .search-box,
body.dark-mode .mobile-drawer{
  background:#161616 !important;
  color:#eaeaea !important;
  border-color:#2a2a2a !important;
}

body.dark-mode .meta,
body.dark-mode .excerpt,
body.dark-mode .cat-list-meta,
body.dark-mode .popular-meta,
body.dark-mode .category-desc,
body.dark-mode .caption,
body.dark-mode .wp-caption-text,
body.dark-mode .wp-element-caption{
  color:#aaa !important;
}

body.dark-mode .single-content a,
body.dark-mode .post-row h2 a,
body.dark-mode .mini h3 a,
body.dark-mode .popular-content h3 a,
body.dark-mode .cat-list-content h3 a,
body.dark-mode .headline-item a{
  color:#f4f4f4 !important;
}

body.dark-mode .single-content a:hover,
body.dark-mode .post-row h2 a:hover,
body.dark-mode .mini h3 a:hover,
body.dark-mode .popular-content h3 a:hover,
body.dark-mode .cat-list-content h3 a:hover,
body.dark-mode .headline-item a:hover{
  color:#ff4b4b !important;
}

body.dark-mode .baca-juga-box,
body.dark-mode .read-also,
body.dark-mode blockquote,
body.dark-mode pre,
body.dark-mode code{
  background:#202020 !important;
  color:#eaeaea !important;
  border-color:#e21b22 !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select{
  background:#111 !important;
  color:#fff !important;
  border-color:#333 !important;
}

body.dark-mode .nav,
body.dark-mode .nav .container,
body.dark-mode .cat,
body.dark-mode .breaking b,
body.dark-mode .more-btn,
body.dark-mode .category-label,
body.dark-mode .footer-social a{
  background:#e21b22 !important;
  color:#fff !important;
}

body.dark-mode .main-menu li ul,
body.dark-mode .main-menu .sub-menu{
  background:#1b1b1b !important;
  border:1px solid #2a2a2a;
}

body.dark-mode .main-menu li ul li a,
body.dark-mode .main-menu .sub-menu a,
body.dark-mode .mobile-menu li a{
  color:#eee !important;
  border-color:#2a2a2a !important;
}

body.dark-mode .main-menu li ul li a:hover,
body.dark-mode .main-menu .sub-menu a:hover,
body.dark-mode .mobile-menu li a:hover{
  background:#252525 !important;
  color:#fff !important;
}

body.dark-mode .newsgo-pagination a,
body.dark-mode .newsgo-pagination span,
body.dark-mode .post-tags a{
  background:#1b1b1b !important;
  color:#eee !important;
  border-color:#2a2a2a !important;
}

body.dark-mode .newsgo-pagination .current,
body.dark-mode .post-tags a:hover{
  background:#e21b22 !important;
  color:#fff !important;
}

body.dark-mode .footer,
body.dark-mode .newsgo-footer{
  background:#050505 !important;
  color:#bbb !important;
}

.newsgo-date-line .fa-eye,
.newsgo-date-line .dashicons-visibility,
.newsgo-date-line svg {
    margin-right: 6px;
}

.single-content a{
    color:var(--newsgo-primary);
    font-weight:600;
    text-decoration:none;
    transition:.2s;
    border-bottom:1px solid transparent;
}

.single-content a:hover{
    border-bottom-color:currentColor;
    opacity:.85;
}