/*
Theme Name: WartaIT Jannah Pro
Theme URI: https://wartait.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Portal berita modern bergaya Jannah News untuk WartaIT. Fokus pada homepage magazine yang kaya warna, ringan, rapi, dan mudah dikembangkan per bagian.
Version: 1.2.3
License: GPL-2.0+
Text Domain: wartait-jannah
*/

:root{
  --bg:#f5f6fa;
  --surface:#ffffff;
  --text:#1d2433;
  --muted:#6f7788;
  --line:#e6e8ef;
  --dark:#121826;
  --dark-2:#181f2d;
  --dark-3:#0f1724;
  --blue:#2563ff;
  --blue-2:#2d6bff;
  --blue-top:#315cff;
  --blue-top-2:#8b5cf6;
  --purple:#7c3aed;
  --pink:#d946ef;
  --green:#16a34a;
  --orange:#f59e0b;
  --red:#ef4444;
  --radius:0px;
  --radius-sm:0px;
  --shadow:0 10px 24px rgba(17,24,39,.07);
  --shadow-lg:0 16px 34px rgba(2,6,23,.18);
  --container:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:13px;
  line-height:1.7;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
iframe{max-width:100%}
.container{max-width:var(--container);margin:0 auto;padding:0 16px}
.grid{display:grid;gap:10px}
.section-gap{margin-top:10px}
.muted{color:var(--muted)}
.card,
.widget,
.hero-card,
.mag-box,
.adbox,
.weather-card,
.story-block{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.site-main{padding-bottom:20px}

/* CUSTOMIZER SHORTCUTS */
.hero-editable,
.story-block.hero-editable,
.widget.hero-editable,
.dual-banner.hero-editable,
.soft-panel.hero-editable,
.video-feature.hero-editable,
.hero-left.hero-editable,
.hero-right.hero-editable{
  position:relative;
}

.customize-partial-edit-shortcut{
  position:absolute;
  top:12px;
  left:12px;
  z-index:60;
  width:34px;
  height:34px;
  opacity:0;
  visibility:hidden;
  transform:translateY(-4px);
  transition:all .18s ease;
}

.hero-editable:hover > .customize-partial-edit-shortcut,
.story-block.hero-editable:hover > .customize-partial-edit-shortcut,
.widget.hero-editable:hover > .customize-partial-edit-shortcut,
.dual-banner.hero-editable:hover > .customize-partial-edit-shortcut,
.soft-panel.hero-editable:hover > .customize-partial-edit-shortcut,
.video-feature.hero-editable:hover > .customize-partial-edit-shortcut,
.hero-left.hero-editable:hover > .customize-partial-edit-shortcut,
.hero-right.hero-editable:hover > .customize-partial-edit-shortcut{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.customize-partial-edit-shortcut-button{
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:#2f7de1;
  box-shadow:0 6px 18px rgba(47,125,225,.28);
  display:grid;
  place-items:center;
  cursor:pointer;
  padding:0;
}

.customize-partial-edit-shortcut-button::before{
  content:"\f464";
  font-family:dashicons;
  font-size:16px;
  line-height:1;
  color:#fff;
}

.customize-partial-edit-shortcut-button:hover{
  background:#1f6bff;
}

.customize-partial-edit-shortcut button:focus{
  outline:2px solid rgba(37,99,255,.3);
  outline-offset:2px;
}

/* TOP STRIP */
.top-strip{
  background:linear-gradient(90deg,var(--blue-top),var(--blue-top-2));
  color:#fff;
  font-size:11px;
}
.top-strip-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:7px 16px;
}
.top-strip-left{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex-wrap:wrap;
}
.top-now-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:.92;
}
.top-now-date{
  font-weight:500;
  letter-spacing:.01em;
}
.top-now-time{
  display:inline-flex;
  align-items:center;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  font-weight:700;
}
.top-strip-right{
  min-width:260px;
  flex:0 0 340px;
}
.top-search-form{
  position:relative;
  width:100%;
}
.top-search-input{
  width:100%;
  height:32px;
  border:1px solid rgba(255,255,255,.26);
  background:rgba(255,255,255,.10);
  color:#fff;
  border-radius:0;
  padding:0 42px 0 14px;
  outline:none;
  font-size:12px;
}
.top-search-input::placeholder{
  color:rgba(255,255,255,.80);
}
.top-search-btn{
  position:absolute;
  right:4px;
  top:4px;
  width:24px;
  height:24px;
  border:0;
  border-radius:0;
  background:#fff;
  color:var(--blue-top);
  display:grid;
  place-items:center;
  cursor:pointer;
}

/* BREAKING BAR */
.breaking-bar{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.breaking-bar-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:7px 16px;
}
.breaking-left{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex:1 1 auto;
}
.breaking-label{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  background:var(--blue);
  color:#fff;
  border-radius:0;
  font-size:10px;
  font-weight:700;
  white-space:nowrap;
}
.breaking-ticker{
  display:flex;
  align-items:center;
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
  white-space:nowrap;
  min-height:22px;
}
.breaking-ticker a,
.breaking-ticker span{
  color:#3a4456;
  font-weight:400;
  font-size:12px;
}
.breaking-text a{color:#3a4456}
.breaking-caret{
  width:1px;
  height:14px;
  background:#64748b;
  margin-left:2px;
  animation:wjBlink .8s infinite;
}
@keyframes wjBlink{
  0%,49%{opacity:1}
  50%,100%{opacity:0}
}
.breaking-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.breaking-nav{
  display:flex;
  align-items:center;
  gap:4px;
}
.breaking-btn{
  width:24px;
  height:24px;
  border:1px solid var(--line);
  background:#fff;
  color:#7b8596;
  display:grid;
  place-items:center;
  cursor:pointer;
  border-radius:0;
}
.breaking-btn:hover{background:#f7f8fb}
.utility-socials{
  display:flex;
  align-items:center;
  gap:10px;
}
.utility-socials a{
  color:#7b8596;
  font-size:13px;
}
.utility-socials a:hover{color:var(--blue)}

/* HEADER BRANDING */
.header-main{
  padding:16px 0 12px;
  background:#fff;
  border-bottom:1px solid #eef1f6;
}
.header-row{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  align-items:center;
  gap:18px;
  min-height:118px;
}
.logo-wrap{
  display:flex;
  align-items:center;
  min-height:118px;
}
.site-branding-inner{
  display:flex;
  align-items:center;
  min-height:118px;
  width:100%;
}
.logo-wrap a,
.logo-wrap .custom-logo-link{
  display:inline-flex;
  align-items:center;
}
.logo-wrap img{
  max-height:72px;
  width:auto;
  height:auto;
}
.header-promo{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:118px;
  min-width:0;
}
.header-promo-slot{
  width:100%;
  max-width:728px;
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.header-banner-image,
.header-banner-widget-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  width:100%;
  max-width:728px;
  min-height:110px;
}
.header-banner-image img,
.header-banner-widget-wrap img{
  display:block;
  width:100%;
  max-width:728px;
  max-height:110px;
  height:auto;
  object-fit:contain;
}
.header-banner-widget-wrap > *{
  margin:0;
  width:100%;
}
.header-banner-widget-wrap .widget{
  padding:0;
  border:0;
  box-shadow:none;
  background:transparent;
}
.header-banner-widget-wrap iframe,
.header-banner-widget-wrap ins,
.header-banner-widget-wrap .adsbygoogle,
.header-banner-widget-wrap img{
  max-width:100% !important;
}
.promo-card{
  width:100%;
  max-width:728px;
  min-height:110px;
  border:1px solid #e6ebf2;
  background:linear-gradient(135deg,#161b24 0%, #1f2633 100%);
  color:#fff;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.promo-copy{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
.promo-tag{
  display:inline-flex;
  align-items:center;
  width:max-content;
  font-size:10px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.12em;
  opacity:.78;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.14);
}
.promo-copy strong{
  font-size:18px;
  line-height:1.25;
  font-weight:800;
}
.promo-copy span{
  font-size:12px;
  opacity:.86;
  line-height:1.5;
}
.promo-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  background:var(--blue);
  color:#fff;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}

/* MAIN NAV + DROPDOWN */
.main-nav-wrap{
  background:transparent;
  position:sticky;
  top:0;
  z-index:30;
  box-shadow:none;
  border-top:0;
  padding-bottom:4px;
}
.nav-shell{
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:48px;
  width:100%;
  background:linear-gradient(180deg,var(--dark),var(--dark-3));
  box-shadow:0 6px 16px rgba(15,23,42,.14);
  padding:0 6px;
}
.mobile-nav-toggle{
  display:none;
  align-items:center;
  gap:8px;
  border:0;
  background:rgba(255,255,255,.08);
  color:#fff;
  border-radius:0;
  padding:9px 11px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.nav-menu-wrap{
  flex:1 1 100%;
  min-width:0;
}
.nav-menu,
.nav-menu ul{
  list-style:none;
  margin:0;
  padding:0;
}
.nav-menu{
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
}
.nav-menu > li{
  position:relative;
}
.nav-menu > li > a{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  padding:14px 12px;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  line-height:1;
  position:relative;
  transition:background .2s ease,color .2s ease;
}
.nav-menu > li > a:hover{color:#fff}
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a,
.nav-menu > li.current-menu-ancestor > a,
.nav-menu > li.current_page_ancestor > a,
.nav-menu > li > a:hover{
  background:var(--blue);
}
.nav-menu > li.menu-item-has-children > a{
  padding-right:28px;
}
.nav-menu > li.menu-item-has-children > a::before{
  content:"";
  position:absolute;
  right:10px;
  top:50%;
  width:6px;
  height:6px;
  border-right:2px solid rgba(255,255,255,.9);
  border-bottom:2px solid rgba(255,255,255,.9);
  transform:translateY(-65%) rotate(45deg);
  transition:transform .2s ease;
}
.nav-menu > li:hover > a::before,
.nav-menu > li.focus-submenu > a::before{
  transform:translateY(-35%) rotate(225deg);
}
.nav-menu .sub-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:#151c28;
  border:1px solid rgba(255,255,255,.06);
  border-radius:0;
  box-shadow:var(--shadow-lg);
  padding:6px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:all .22s ease;
  z-index:100;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li.focus-submenu > .sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.nav-menu .sub-menu li{position:relative}
.nav-menu .sub-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:#e7edf8;
  font-size:11px;
  font-weight:600;
  padding:9px 14px;
  line-height:1.4;
  text-transform:none;
  transition:background .2s ease,color .2s ease,padding-left .2s ease;
}
.nav-menu .sub-menu a:hover{
  background:rgba(37,99,255,.14);
  color:#fff;
  padding-left:16px;
}
.nav-menu .sub-menu .current-menu-item > a,
.nav-menu .sub-menu .current_page_item > a,
.nav-menu .sub-menu .current-menu-ancestor > a{
  background:rgba(37,99,255,.16);
  color:#fff;
}
.nav-menu .sub-menu .menu-item-has-children > a{
  padding-right:30px;
}
.nav-menu .sub-menu .menu-item-has-children > a::after{
  content:"";
  position:absolute;
  right:14px;
  top:50%;
  width:6px;
  height:6px;
  border-right:2px solid rgba(255,255,255,.82);
  border-bottom:2px solid rgba(255,255,255,.82);
  transform:translateY(-50%) rotate(-45deg);
}
.nav-menu .sub-menu .sub-menu{
  top:-6px;
  left:100%;
  margin-left:6px;
  border-radius:0;
}
.submenu-toggle{
  display:none;
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  width:26px;
  height:26px;
  border:0;
  background:transparent;
  color:#fff;
  border-radius:0;
  cursor:pointer;
  z-index:2;
}
.submenu-toggle::before{
  content:"";
  display:block;
  width:7px;
  height:7px;
  margin:0 auto;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  transition:transform .2s ease;
}
.menu-item-open > .submenu-toggle::before{
  transform:rotate(225deg);
}

/* HERO + CONTENT */
.hero-section{margin-top:2px}
.hero-grid{display:grid;grid-template-columns:2.15fr 1.1fr;gap:8px}
.hero-left, .hero-right{display:grid;gap:8px}
.hero-left .hero-card{min-height:370px}
.hero-right-top{min-height:220px}
.hero-right-bottom{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hero-right-bottom .hero-card{min-height:118px}
.hero-card{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:#111;
  border-radius:0;
}
.hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,6,11,.12),rgba(4,6,11,.58) 58%, rgba(4,6,11,.92));
  transition:background .25s ease, opacity .25s ease;
}
.hero-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
  transition:transform .35s ease, filter .35s ease;
  filter:brightness(.82);
}
.hero-card:hover img{
  transform:scale(1.04);
  filter:brightness(1);
}
.hero-card:hover::after{
  background:linear-gradient(180deg,rgba(4,6,11,.04),rgba(4,6,11,.35) 58%, rgba(4,6,11,.70));
}
.hero-content{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:2;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:0;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#fff;
  font-weight:700;
  margin-bottom:6px;
}
.badge-blue{background:var(--blue)}
.badge-green{background:var(--green)}
.badge-orange{background:var(--orange)}
.badge-red{background:var(--red)}
.badge-purple{background:var(--purple)}
.hero-title{
  font-size:25px;
  line-height:1.12;
  margin:0 0 4px;
  font-weight:700;
  max-width:90%;
}
.hero-small-title{
  font-size:14px;
  line-height:1.22;
  margin:0;
  font-weight:700;
}
.hero-right .hero-small-title{
  font-size:12px;
}
.post-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  font-size:10px;
  color:#d7deee;
}
.post-meta .dot{
  width:4px;
  height:4px;
  border-radius:0;
  background:#d7deee;
  display:inline-block;
}
.mini-overlay-meta{
  font-size:10px;
  opacity:.96;
  margin-bottom:4px;
}
.mini-overlay-excerpt{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(8px);
  transition:max-height .25s ease, opacity .25s ease, transform .25s ease;
  font-size:11px;
  line-height:1.35;
  margin-top:6px;
  color:#eef2ff;
}
.hero-card:hover .mini-overlay-excerpt{
  max-height:72px;
  opacity:1;
  transform:translateY(0);
}

.section-row{
  display:grid;
  grid-template-columns:minmax(0,2fr) 310px;
  gap:10px;
  align-items:start;
}
.section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
.section-title h2{
  margin:0;
  font-size:14px;
  font-weight:800;
  display:flex;
  gap:8px;
  align-items:center;
}
.section-title h2 .pill{
  padding:6px 8px;
  border-radius:0;
  color:#fff;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.tab-links{
  display:flex;
  gap:4px;
  flex-wrap:wrap;
}
.tab-links a{
  padding:4px 8px;
  border-radius:0;
  background:#eef2ff;
  color:#4f46e5;
  font-size:10px;
}
.story-block{padding:10px}

.trending-layout{display:grid;grid-template-columns:1.25fr .95fr;gap:8px}
.featured-story .thumb{
  position:relative;
  border-radius:0;
  overflow:hidden;
  margin-bottom:8px;
}
.featured-story .thumb img{
  width:100%;
  height:265px;
  object-fit:cover;
}
.featured-story h3{
  margin:0 0 6px;
  font-size:21px;
  line-height:1.15;
}
.featured-story p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:12px;
}

.mini-list{display:grid;gap:6px}
.mini-item{
  display:grid;
  grid-template-columns:88px 1fr;
  gap:7px;
  align-items:start;
}
.mini-item img{
  width:88px;
  height:64px;
  object-fit:cover;
  border-radius:0;
}
.mini-item h4{
  margin:0 0 3px;
  font-size:12px;
  line-height:1.24;
  font-weight:600;
}
.mini-item .meta{
  font-size:10px;
  color:var(--muted);
}
.mini-excerpt{
  margin-top:4px;
  font-size:10px;
  line-height:1.35;
}

/* PROMO / ADSENSE READY AREAS */
.promo-widget-area{
  display:block;
  width:100%;
}
.promo-widget-area > *:last-child{
  margin-bottom:0;
}
.promo-widget-area .widget{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.promo-widget-area .widget-title{
  display:none;
}
.promo-widget-area iframe,
.promo-widget-area img,
.promo-widget-area ins,
.promo-widget-area .adsbygoogle,
.promo-widget-area object,
.promo-widget-area embed{
  max-width:100% !important;
}
.promo-widget-area .textwidget,
.promo-widget-area .custom-html-widget{
  width:100%;
}
.story-block .promo-widget-area,
.sidebar-stack .promo-widget-area{
  border:1px solid #e5e9f2;
  background:#fff;
  padding:10px;
  box-shadow:none;
}
.promo-widget-area-after-hero,
.promo-widget-area-mid-1,
.promo-widget-area-mid-2,
.promo-widget-area-bottom{
  min-height:110px;
}
.promo-widget-area-after-hero .widget,
.promo-widget-area-mid-1 .widget,
.promo-widget-area-mid-2 .widget,
.promo-widget-area-bottom .widget{
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.promo-widget-area-after-hero img,
.promo-widget-area-mid-1 img,
.promo-widget-area-mid-2 img,
.promo-widget-area-bottom img{
  width:100%;
  height:auto;
  object-fit:contain;
}
.sidebar-stack > .widget .adsbygoogle,
.sidebar-stack > .widget iframe,
.sidebar-stack > .widget img{
  max-width:100%;
}
.sidebar-stack > .widget:has(.adsbygoogle),
.sidebar-stack > .widget:has(iframe),
.sidebar-stack > .widget:has(.custom-html-widget),
.sidebar-stack > .widget:has(.textwidget){
  overflow:hidden;
}

/* GENERIC BANNER / HTML ADS */
.banner-unit,
.promo-banner,
.ad-slot-box{
  width:100%;
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #e4e8f0;
  overflow:hidden;
}
.banner-unit img,
.promo-banner img,
.ad-slot-box img{
  width:100%;
  height:auto;
  object-fit:contain;
}
.banner-unit ins.adsbygoogle,
.promo-banner ins.adsbygoogle,
.ad-slot-box ins.adsbygoogle{
  display:block;
  width:100%;
}
.banner-unit--leaderboard,
.promo-banner--leaderboard,
.ad-slot-box--leaderboard{
  min-height:90px;
}
.banner-unit--rectangle,
.promo-banner--rectangle,
.ad-slot-box--rectangle{
  min-height:250px;
}
.banner-unit--mobile,
.promo-banner--mobile,
.ad-slot-box--mobile{
  min-height:100px;
}

/* SIDEBAR CATEGORY CARDS - REFERENCE STYLE */
.sidebar-categories-widget{
  padding:12px;
}
.sidebar-category-cards{
  display:grid;
  gap:10px;
}
.sidebar-category-card{
  position:relative;
  display:block;
  height:70px;
  overflow:hidden;
  background:#1f2937;
  color:#fff;
}
.sidebar-category-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .28s ease, filter .28s ease;
  filter:brightness(.72);
}
.sidebar-category-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(10,14,24,.58) 0%, rgba(10,14,24,.38) 52%, rgba(10,14,24,.22) 100%);
}
.sidebar-category-content{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  padding-right:70px;
}
.sidebar-category-name{
  display:block;
  color:#fff;
  font-size:16px;
  line-height:1.2;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sidebar-category-count{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  color:#1f2937;
  font-size:13px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.sidebar-category-card:hover img{
  transform:scale(1.05);
  filter:brightness(.88);
}
.sidebar-category-card:hover .sidebar-category-overlay{
  background:linear-gradient(90deg, rgba(10,14,24,.44) 0%, rgba(10,14,24,.28) 52%, rgba(10,14,24,.14) 100%);
}

/* SIDEBAR COMMENT ITEM */
.sidebar-comment-item{
  padding:8px 0;
  border-bottom:1px solid #eceff4;
}
.sidebar-comment-item:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.sidebar-comment-item strong{
  display:block;
  font-size:12px;
  line-height:1.3;
  color:#202838;
  margin-bottom:4px;
}

/* SIDEBAR RIGHT - REFINED */
.sidebar-stack{
  display:grid;
  gap:10px;
  align-content:start;
}
.sidebar-stack > .widget,
.sidebar-stack > .weather-card{
  min-width:0;
}
.widget{
  padding:10px;
  background:#fff;
  border:1px solid #dfe3ea;
  box-shadow:none;
}
.widget-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:1px solid #e8ecf2;
}
.widget-title h3{
  margin:0;
  font-size:13px;
  font-weight:700;
  color:#1d2433;
  position:relative;
}
.widget-title h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-11px;
  width:44px;
  height:3px;
  background:#1f2937;
}
.widget-title a{
  font-size:11px;
  color:#8b93a7;
}
.follow-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.follow-box{
  border-radius:0;
  padding:10px 12px;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:44px;
}
.follow-box div strong{
  display:block;
  font-size:18px;
  line-height:1;
  font-weight:700;
}
.follow-box small{
  display:block;
  opacity:.9;
  font-size:10px;
  margin-top:4px;
}
.follow-box i{
  font-size:14px;
  opacity:.95;
}
.follow-facebook{background:#3b82f6}
.follow-x{background:#111827}
.follow-youtube{background:#ef4444}
.follow-instagram{background:#a855f7}

.weather-card{
  padding:14px 14px 12px;
  background:linear-gradient(135deg,#6b2dff 0%, #8b5cf6 55%, #9b5cf6 100%);
  color:#fff;
  overflow:hidden;
  border:0;
  box-shadow:none;
}
.weather-card .widget-title{
  border-bottom:0;
  padding-bottom:0;
  margin-bottom:12px;
}
.weather-card .widget-title h3{
  color:#fff;
  font-size:14px;
}
.weather-card .widget-title h3::after{
  display:none;
}
.weather-card .temp{
  font-size:58px;
  line-height:1;
  font-weight:800;
  margin-bottom:6px;
}
.weather-card > div:nth-child(3){
  font-size:15px;
  font-weight:700;
  margin-bottom:2px;
}
.weather-card .muted{
  color:#f0e8ff !important;
  font-size:12px;
}
.weather-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
  margin-top:14px;
}
.weather-grid div{
  background:rgba(255,255,255,.14);
  padding:8px 4px;
  border-radius:0;
  text-align:center;
  font-size:10px;
  color:#fff;
}
.widget-tabs{
  display:flex;
  gap:0;
  border-top:1px solid rgba(255,255,255,.16);
  margin-top:14px;
  padding-top:12px;
}
.widget-tabs span{
  flex:1 1 33.333%;
  font-size:11px;
  opacity:.95;
  color:#fff;
  text-align:left;
}

.news-list{
  display:grid;
  gap:8px;
}
.news-list .mini-item{
  grid-template-columns:64px 1fr;
  gap:8px;
}
.news-list .mini-item img{
  width:64px;
  height:48px;
}
.news-list .mini-item h4{
  font-size:11px;
  line-height:1.22;
  font-weight:600;
}
.news-list .mini-item .meta{
  font-size:10px;
}

.rank-list{display:grid;gap:6px}
.rank-item{
  display:grid;
  grid-template-columns:22px 60px 1fr;
  gap:7px;
  align-items:center;
}
.rank-item .rank{
  width:22px;
  height:22px;
  border-radius:0;
  display:grid;
  place-items:center;
  background:var(--blue);
  color:#fff;
  font-weight:800;
  font-size:10px;
}
.rank-item img{
  width:60px;
  height:46px;
  object-fit:cover;
  border-radius:0;
}
.rank-item h4{
  margin:0;
  font-size:11px;
  line-height:1.22;
}

.subscribe-box{
  padding:16px 12px;
  text-align:center;
}
.subscribe-box input{
  width:100%;
  padding:9px 11px;
  border-radius:0;
  border:1px solid var(--line);
  margin:8px 0;
  background:#fff;
}
.subscribe-box button{
  width:100%;
  border:0;
  background:var(--blue);
  color:#fff;
  padding:10px 12px;
  border-radius:0;
  font-weight:700;
  font-size:11px;
}

/* MAIN CONTENT CONTINUE */
.sports-wrap{
  background:#12161f;
  color:#fff;
  padding:12px;
}
.sports-grid{display:grid;grid-template-columns:1.15fr .9fr;gap:8px}
.sports-feature img{
  width:100%;
  height:210px;
  object-fit:cover;
  border-radius:0;
  margin-bottom:8px;
}
.sports-feature h3{
  font-size:19px;
  line-height:1.18;
  margin:0 0 5px;
}
.readmore{
  display:inline-flex;
  align-items:center;
  padding:7px 11px;
  border-radius:0;
  background:#22c55e;
  color:#fff;
  font-weight:700;
  font-size:10px;
  margin-top:8px;
}
.dark-list .mini-item h4,
.dark-list .mini-item .meta{color:#fff}
.dark-list .mini-item .meta{opacity:.7}

.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.feature-card{padding:10px}
.feature-card .cover{
  position:relative;
  border-radius:0;
  overflow:hidden;
  margin-bottom:8px;
}
.feature-card .cover img{
  height:190px;
  width:100%;
  object-fit:cover;
}
.feature-card h3{
  font-size:18px;
  line-height:1.18;
  margin:0 0 6px;
}
.feature-card p{
  font-size:11px;
  color:var(--muted);
  margin:0 0 8px;
}

.compact-list{display:grid;gap:6px}
.compact-list .mini-item{grid-template-columns:74px 1fr}

.dual-banner{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.banner-card{
  position:relative;
  border-radius:0;
  overflow:hidden;
  min-height:215px;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
}
.banner-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.84);
  transition:transform .35s ease, filter .35s ease;
}
.banner-card:hover img{
  transform:scale(1.03);
  filter:brightness(1);
}
.banner-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(17,24,39,0),rgba(17,24,39,.86));
  transition:background .25s ease;
}
.banner-card:hover::after{
  background:linear-gradient(180deg,rgba(17,24,39,.03),rgba(17,24,39,.68));
}
.banner-content{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:2;
}

.soft-panel{
  padding:10px;
  background:#e9fbfd;
}
.soft-panel .section-title{margin-bottom:8px}
.tech-layout{display:grid;grid-template-columns:1.35fr .78fr;gap:8px}

.video-feature{padding:10px}
.video-cover{
  position:relative;
  border-radius:0;
  overflow:hidden;
}
.video-cover img{
  width:100%;
  height:330px;
  object-fit:cover;
}
.play-btn{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}
.play-btn span{
  width:58px;
  height:58px;
  border-radius:0;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.35);
  font-size:22px;
  color:#fff;
}
.thumb-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin-top:8px;
}
.thumb-card img{
  height:92px;
  width:100%;
  object-fit:cover;
  border-radius:0;
}
.thumb-card h4{
  font-size:11px;
  line-height:1.28;
  margin:5px 0 0;
}

.whats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.whats-card{
  padding:0;
  overflow:hidden;
}
.whats-card img{
  height:190px;
  width:100%;
  object-fit:cover;
}
.whats-card .pad{padding:10px}
.whats-card h3{
  margin:0;
  font-size:17px;
  line-height:1.18;
}

.latest-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.post-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:0;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.post-card img{
  width:100%;
  height:180px;
  object-fit:cover;
}
.post-card .pad{padding:10px}
.post-card h3{
  margin:0;
  font-size:16px;
  line-height:1.18;
  font-weight:600;
}
.single-featured-image{
  margin-top:18px;
  border-radius:0;
  overflow:hidden;
}
.single-featured-image img{
  width:100%;
  height:auto;
  display:block;
}
.single-layout{
  align-items:start;
}
.single-main-column{
  min-width:0;
}
.single-sidebar{
  min-width:0;
}
.promo-widget-area-single-top,
.promo-widget-area-single-middle,
.promo-widget-area-single-bottom{
  min-height:110px;
}

/* ENTRY / ARCHIVE */
.single-hero,.archive-header{
  padding:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:0;
  box-shadow:var(--shadow);
  margin-top:10px;
}
.entry-title{
  font-size:28px;
  line-height:1.14;
  margin:0 0 8px;
}
.entry-content{
  background:#fff;
  border:1px solid var(--line);
  border-radius:0;
  box-shadow:var(--shadow);
  padding:16px;
  margin-top:10px;
}
.entry-content p{
  font-size:15px;
  line-height:1.82;
  color:#2f3646;
}
.entry-content .adsbygoogle,
.entry-content iframe,
.entry-content img{
  max-width:100%;
}
.archive-layout{
  align-items:start;
}
.archive-main-column{
  min-width:0;
}
.promo-widget-area-archive-top,
.promo-widget-area-archive-bottom{
  min-height:110px;
}
.archive-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:10px;
}
.pagination{
  display:flex;
  gap:6px;
  align-items:center;
  justify-content:center;
  margin-top:14px;
}
.pagination .page-numbers{
  padding:8px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:0;
}

/* FOOTER */
.site-footer{
  margin-top:18px;
  background:linear-gradient(90deg,#1c1e28 0%, #1a1d27 45%, #171922 100%);
  color:#eef2f9;
  border-top:1px solid rgba(255,255,255,.04);
}
.footer-top{
  padding:42px 0 26px;
}
.footer-top-grid{
  display:grid;
  grid-template-columns:1.05fr 1.15fr 1fr 1.1fr;
  gap:30px;
}
.footer-widget{
  min-width:0;
}
.footer-heading{
  margin:0;
  font-size:15px;
  font-weight:700;
  color:#fff;
}
.footer-heading-line{
  width:50px;
  height:3px;
  background:rgba(255,255,255,.88);
  margin:12px 0 22px;
}
.footer-popular-list{
  display:grid;
  gap:18px;
}
.footer-popular-item{
  position:relative;
  padding-left:14px;
}
.footer-popular-item::before{
  content:"";
  position:absolute;
  left:0;
  top:7px;
  width:6px;
  height:6px;
  border:1px solid rgba(255,255,255,.18);
  background:transparent;
  border-radius:50%;
}
.footer-popular-date{
  font-size:11px;
  color:#a8afbf;
  margin-bottom:4px;
}
.footer-popular-item h4{
  margin:0;
  font-size:16px;
  line-height:1.35;
  font-weight:600;
}
.footer-popular-item h4 a{
  color:#fff;
}
.footer-popular-item h4 a:hover{
  color:#d8e3ff;
}
.footer-modified-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
}
.footer-modified-thumb{
  display:block;
  overflow:hidden;
  background:#12141d;
}
.footer-modified-thumb img{
  width:100%;
  height:48px;
  object-fit:cover;
  transition:transform .25s ease, opacity .25s ease;
}
.footer-modified-thumb:hover img{
  transform:scale(1.05);
  opacity:.95;
}
.footer-tags-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.footer-tags-list a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.16);
  color:#f1f4fb;
  font-size:13px;
  transition:all .2s ease;
}
.footer-tags-list a:hover{
  background:#2563ff;
  border-color:#2563ff;
  color:#fff;
}
.footer-empty{
  color:#a8afbf;
  font-size:13px;
}
.footer-social-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 24px;
}
.footer-social-item{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
}
.footer-social-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.08);
  border-radius:50%;
  font-size:16px;
}
.footer-social-meta{
  display:flex;
  flex-direction:column;
  line-height:1.2;
}
.footer-social-meta strong{
  font-size:14px;
  font-weight:600;
}
.footer-social-meta small{
  font-size:12px;
  color:#b8c0cf;
}
.footer-middle{
  padding:10px 0 30px;
}
.footer-middle-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:34px;
  align-items:center;
}
.footer-branding{
  display:grid;
  grid-template-columns:360px 1fr;
  gap:28px;
  align-items:center;
}
.footer-brand-logo .custom-logo-link,
.footer-brand-logo .logo-wrap{
  display:inline-block;
}
.footer-brand-logo img{
  max-height:72px;
  width:auto;
  filter:brightness(0) invert(1);
}
.footer-brand-text{
  margin:0;
  color:#e0e5ef;
  font-size:15px;
  line-height:1.75;
  max-width:560px;
}
.footer-subscribe-box{
  display:flex;
  justify-content:flex-end;
}
.footer-subscribe-form{
  width:100%;
  max-width:470px;
}
.footer-subscribe-input-wrap{
  position:relative;
  margin-bottom:12px;
}
.footer-subscribe-icon{
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  color:#8e96a8;
  font-size:18px;
}
.footer-subscribe-input-wrap input{
  width:100%;
  height:42px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.14);
  color:#fff;
  padding:0 16px 0 48px;
  outline:none;
  font-size:14px;
}
.footer-subscribe-input-wrap input::placeholder{
  color:#9ca5b7;
}
.footer-subscribe-form button{
  width:100%;
  height:40px;
  border:0;
  background:#1f6bff;
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease;
}
.footer-subscribe-form button:hover{
  background:#185ae0;
}
.footer-bottom{
  background:#0d1017;
  border-top:1px solid rgba(255,255,255,.05);
  padding:18px 0;
}
.footer-bottom-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.footer-copyright{
  font-size:13px;
  color:#ffffff;
}
.footer-bottom-right{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.footer-bottom-socials{
  display:flex;
  align-items:center;
  gap:14px;
}
.footer-bottom-socials a{
  color:#f0f3f9;
  font-size:15px;
  line-height:1;
}
.footer-bottom-socials a:hover{
  color:#4e8dff;
}
.footer-bottom-menu-list{
  display:flex;
  align-items:center;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
  flex-wrap:wrap;
}
.footer-bottom-menu-list li{
  margin:0;
}
.footer-bottom-menu-list a{
  color:#fff;
  font-size:14px;
  font-weight:500;
}
.footer-bottom-menu-list a:hover{
  color:#4e8dff;
}

/* BACK TO TOP */
.back-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  background:#1f6bff;
  color:#fff;
  border-radius:50%;
  box-shadow:0 12px 24px rgba(31,107,255,.28);
  z-index:40;
}

@media (max-width:1100px){
  .header-main{
    padding:14px 0 10px;
  }

  .header-row,
  .section-row,
  .hero-grid,
  .tech-layout,
  .sports-grid,
  .trending-layout,
  .dual-banner,
  .two-col{
    grid-template-columns:1fr;
  }

  .logo-wrap,
  .site-branding-inner,
  .header-promo{
    min-height:auto;
  }

  .logo-wrap{
    justify-content:center;
    text-align:center;
  }

  .site-branding-inner{
    justify-content:center;
  }

  .logo-wrap img{
    max-height:64px;
  }

  .header-promo{
    justify-content:center;
  }

  .header-promo-slot,
  .header-banner-image,
  .header-banner-widget-wrap,
  .promo-card{
    max-width:100%;
  }

  .hero-right-bottom,
  .whats-grid,
  .archive-grid,
  .latest-grid,
  .follow-grid,
  .thumb-row{
    grid-template-columns:1fr 1fr;
  }

  .top-strip-right{flex:1 1 100%;min-width:0}

  .footer-top-grid{
    grid-template-columns:1fr 1fr;
  }

  .footer-middle-grid,
  .footer-branding{
    grid-template-columns:1fr;
  }

  .footer-subscribe-box{
    justify-content:flex-start;
  }
}

@media (max-width:991px){
  .main-nav{
    flex-wrap:wrap;
    align-items:stretch;
    padding:8px 0;
  }

  .mobile-nav-toggle{
    display:inline-flex;
    margin-left:6px;
    margin-top:6px;
    margin-bottom:6px;
  }

  .nav-menu-wrap{
    display:none;
    width:100%;
    order:3;
  }

  .nav-menu-wrap.is-open{
    display:block;
  }

  .nav-menu{
    display:block;
    width:100%;
    padding-top:6px;
  }

  .nav-menu > li{
    border-top:1px solid rgba(255,255,255,.06);
  }

  .nav-menu > li > a{
    padding:13px 42px 13px 13px;
    background:transparent !important;
  }

  .nav-menu > li.current-menu-item > a,
  .nav-menu > li.current_page_item > a,
  .nav-menu > li.current-menu-ancestor > a,
  .nav-menu > li.current_page_ancestor > a{
    background:rgba(37,99,255,.18) !important;
  }

  .nav-menu > li.menu-item-has-children > a::before{
    display:none;
  }

  .submenu-toggle{
    display:block;
  }

  .nav-menu .sub-menu{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    display:none;
    min-width:0;
    margin:0;
    border:0;
    border-top:1px solid rgba(255,255,255,.05);
    border-radius:0;
    background:rgba(255,255,255,.03);
    box-shadow:none;
    padding:4px 0;
  }

  .menu-item-open > .sub-menu{
    display:block;
  }

  .nav-menu .sub-menu a{
    padding:9px 14px 9px 20px;
  }

  .nav-menu .sub-menu .sub-menu{
    margin-left:0;
    border-radius:0;
    background:rgba(255,255,255,.02);
  }

  .nav-menu .sub-menu .sub-menu a{
    padding-left:30px;
  }

  .promo-widget-area-after-hero,
  .promo-widget-area-mid-1,
  .promo-widget-area-mid-2,
  .promo-widget-area-bottom{
    min-height:100px;
  }
}

@media (max-width:780px){
  .top-strip-row,
  .breaking-bar-row{
    flex-wrap:wrap;
  }

  .top-strip-right{
    flex:1 1 100%;
    min-width:0;
  }

  .breaking-left,
  .breaking-right{
    width:100%;
  }

  .breaking-right{
    justify-content:space-between;
  }

  .header-main{
    padding:12px 0 8px;
  }

  .header-row{
    gap:10px;
  }

  .logo-wrap img{
    max-height:56px;
  }

  .header-promo-slot,
  .header-banner-image,
  .header-banner-widget-wrap{
    min-height:90px;
  }

  .promo-card{
    min-height:90px;
    padding:14px;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
  }

  .promo-copy strong{
    font-size:15px;
  }

  .promo-copy span{
    font-size:11px;
  }

  .promo-btn{
    min-height:34px;
  }

  .hero-right-bottom,
  .thumb-row,
  .whats-grid,
  .latest-grid,
  .follow-grid{
    grid-template-columns:1fr;
  }

  .hero-title{font-size:20px}
  .featured-story h3,.feature-card h3{font-size:18px}
  .entry-title{font-size:24px}
  .hero-left .hero-card{min-height:280px}
  .hero-right-top{min-height:190px}
  .hero-right-bottom .hero-card{min-height:145px}

  .section-row{
    grid-template-columns:1fr;
  }

  .story-block .promo-widget-area,
  .sidebar-stack .promo-widget-area{
    padding:8px;
  }

  .promo-widget-area-after-hero,
  .promo-widget-area-mid-1,
  .promo-widget-area-mid-2,
  .promo-widget-area-bottom{
    min-height:90px;
  }

  .banner-unit--rectangle,
  .promo-banner--rectangle,
  .ad-slot-box--rectangle{
    min-height:200px;
  }

  .footer-top-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .footer-modified-grid{
    grid-template-columns:repeat(3, 1fr);
  }

  .footer-social-grid{
    grid-template-columns:1fr;
  }

  .footer-middle{
    padding-top:0;
  }

  .footer-brand-logo img{
    max-height:58px;
  }

  .footer-brand-text{
    font-size:14px;
  }

  .footer-bottom-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .footer-bottom-right{
    justify-content:flex-start;
  }

  .customize-partial-edit-shortcut{
    top:8px;
    left:8px;
    opacity:1;
    visibility:visible;
    transform:none;
  }
}
/* ==========================================================
   WartaIT Pro Fix v1.2.3
   Header branding dan area kiri-kanan menu dibuat putih penuh.
   Tujuan: area kosong di samping nav tidak lagi mengikuti warna body.
   ========================================================== */
body{
  background:#fff;
}

#wj-header-branding,
.header-main,
#wj-main-nav,
.main-nav-wrap{
  background:#fff !important;
}

#wj-main-nav{
  width:100%;
  border-top:1px solid #eef1f6;
  border-bottom:1px solid #eef1f6;
}

.main-nav-wrap{
  padding:0 0 4px;
}

#wj-main-nav .nav-shell{
  background:#fff;
}

#wj-main-nav .main-nav{
  background:linear-gradient(180deg,var(--dark),var(--dark-3));
}

.site-main{
  background:var(--bg);
  padding-top:10px;
}

@media (max-width: 768px){
  #wj-main-nav,
  .main-nav-wrap,
  #wj-main-nav .nav-shell{
    background:#fff !important;
  }
}
