/*
Theme Name: Halo Sumbar Theme
Theme URI: https://halosumbar.com
Author: Tim Redaksi Halo Sumbar
Description: Tema portal berita WordPress ringan, modern, dan responsive untuk Halo Sumbar.
Version: 1.1.7 - FIX PUTIH BERSIH & GAMBAR FULL
License: GNU General Public License v2 or later
Text Domain: halosumbartheme
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px; line-height: 1.5; color: #333;
    background-color: #fff !important;
    background: #fff !important;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #d32f2f; text-decoration: none; transition: color 0.2s, background 0.2s; }
a:hover { color: #b71c1c; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.hs-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; width: 100%; }
.hs-site-wrapper, .hs-main-wrapper, .hs-content-left, .hs-sidebar-right, .hs-main-news { background:#fff !important; }

/* LOGO */
.hs-logo { width: 300px!important; height: auto!important; min-width: 300px!important; min-height: auto!important; flex-shrink: 0!important; display: flex; align-items: center; overflow: visible!important; }
.hs-logo a { display: block; text-decoration: none; line-height: 0; width: auto!important; height: auto!important; }
.hs-logo img.hs-logo-img { width: 300px!important; height: auto!important; max-width: 300px!important; max-height: 85px!important; object-fit: contain!important; display: block; }
.hs-logo p,.hs-site-title { margin: 0; font-size: 30px; font-weight: 900; color: #d32f2f; letter-spacing: -0.5px; line-height: 1; white-space: nowrap; }
.hs-logo p span, .hs-site-title span { color: #222; }

/* TOPBAR */
.hs-top-header { background: #1e1e1e; color: #ccc; font-size: 12px; padding: 6px 0; border-bottom: 1px solid #333; }
.hs-top-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hs-top-left, .hs-top-right { display: flex; align-items: center; gap: 12px; }
.hs-date { color: #aaa; font-weight: 500; }
.hs-top-nav, .hs-top-menu-list { display: flex; gap: 10px; }
.hs-top-nav a, .hs-top-menu-list a { color: #ccc; text-decoration: none; font-size: 12px; }
.hs-top-nav a:hover, .hs-top-menu-list a:hover { color: #fff; }
.hs-social-links { display: flex; gap: 6px; }
.hs-social-links a { color: #fff; background: #333; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; font-size: 10px; font-weight: bold; transition: background 0.2s; }
.hs-social-links a:hover { background: #d32f2f; color: #fff; }

/* BREAKING */
.hs-breaking-wrapper { background: #1a1a1a; color: #fff; display: flex; align-items: center; border-radius: 4px; overflow: hidden; font-size: 13px; margin: 3px 0; }
.hs-breaking-label { background: #d32f2f; color: #fff; padding: 8px 14px; font-weight: bold; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; font-size: 12px; flex-shrink: 0; }
.hs-breaking-content { flex: 1; overflow: hidden; position: relative; padding: 8px 0; min-width: 0; }
.hs-ticker { overflow: hidden; width: 100%; position: relative; }
.hs-ticker-track { display: inline-block; white-space: nowrap; padding-left: 100%; animation: hs-ticker-scroll 60s linear infinite; }
.hs-breaking-wrapper:hover .hs-ticker-track { animation-play-state: paused; }
.hs-ticker-track a { color: #fff; text-decoration: none; margin-right: 30px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.hs-ticker-track a:hover { color: #ffc107; }
.hs-ticker-tag { background: #d32f2f; color: #fff; padding: 2px 5px; font-size: 10px; font-weight: bold; border-radius: 3px; text-transform: uppercase; }
@keyframes hs-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* === HEADER FINAL - ANTI KEDIP & PUTIH BERSIH === */
.hs-main-header{
  background:#fff!important;
  padding:0!important;
  border-bottom:1px solid #eee!important;
  margin:0!important;
  display:block!important;
  min-height:0!important;
}
.hs-header-inner{
  display:flex!important;
  flex-direction:row!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:20px!important;
  background:#fff!important;
  padding:10px 15px!important;
  min-height:90px!important;
}
.hs-header-ad {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hs-header-ad a {
    display: inline-block;
    line-height: 0;
}

.hs-header-ad img {
    display: block;
    max-width: 728px;
    height: auto;
}
@media screen and (max-width:768px){
  .hs-header-inner{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  .hs-header-ad,
  .hs-header-ad a,
  .hs-header-ad img{
    width:100%!important;
    height:auto!important;
    min-height:auto!important;
    max-height:none!important;
  }
}








/* MENU UTAMA */
.hs-main-nav { background: #d32f2f; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); border-bottom: 2px solid #b71c1c; position: relative; z-index: 999; }
.hs-main-nav .hs-container { position: relative; }
.hs-main-nav .hs-primary-menu-list, .hs-main-nav > .hs-container > ul { display: flex; gap: 3px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.hs-main-nav li { position: relative; }
.hs-main-nav a { display: flex; align-items: center; padding: 11px 14px; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.hs-main-nav a:hover, .hs-main-nav li.current-menu-item > a, .hs-main-nav li:hover > a { background: #b71c1c; color: #ffc107; }
.hs-main-nav ul.sub-menu, .hs-main-nav ul ul { display: none; position: absolute; top: 100%; left: 0; background: #222; min-width: 220px; box-shadow: 0 6px 16px rgba(0,0,0,0.3); flex-direction: column; gap: 0; z-index: 99999; padding: 6px 0; list-style: none; border-radius: 0 0 4px 4px; }
.hs-main-nav li:hover > ul.sub-menu, .hs-main-nav li:hover > ul { display: flex; }
.hs-main-nav ul ul li { position: relative; width: 100%; }
.hs-main-nav ul ul a { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; color: #ccc; font-size: 12px; text-transform: none; letter-spacing: 0; border-bottom: 1px solid #333; background: transparent; white-space: normal; text-align: left; }
.hs-main-nav ul ul li:last-child a { border-bottom: none; }
.hs-main-nav ul ul a:hover { background: #d32f2f; color: #fff; }
.hs-main-nav ul ul ul { top: 0; left: 100%; border-radius: 4px; }
.hs-main-nav .menu-item-has-children > a::after { content: "\25BC"; display: inline-block; margin-left: 6px; color: #fff; font-size: 9px; line-height: 1; transition: transform 0.25s ease, color 0.2s ease; }
.hs-main-nav .menu-item-has-children:hover > a::after { transform: rotate(180deg); color: #ffc107; }
.hs-main-nav .sub-menu .menu-item-has-children > a::after { content: "\25B6"; margin-left: 10px; color: #ccc; font-size: 8px; transform: none; }
.hs-main-nav .sub-menu .menu-item-has-children:hover > a::after { transform: none; color: #fff; }

/* SUB NAV */
.hs-secondary-nav { background: #1a1a1a; border-bottom: 1px solid #2a2a2a; padding: 2px 0; display: block; width: 100%; }
.hs-secondary-nav .hs-secondary-menu-list, .hs-secondary-nav > .hs-container > ul { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; margin: 0; padding: 0; list-style: none; flex-wrap: nowrap; }
.hs-secondary-nav ul::-webkit-scrollbar { display: none; }
.hs-secondary-nav a { display: block; padding: 6px 12px; color: #ccc; text-decoration: none; font-weight: 500; font-size: 12px; white-space: nowrap; border-radius: 3px; transition: background 0.2s, color 0.2s; }
.hs-secondary-nav a:hover, .hs-secondary-nav li.current-menu-item > a { background: #d32f2f; color: #fff; }

/* GRID UTAMA */
.hs-main-news-grid { display: flex; gap: 12px; margin-bottom: 15px; margin-top: 5px; }
.hs-hero-col { flex: 2; min-width: 0; }
.hs-popular-col { flex: 1; min-width: 0; background: #fff; padding: 14px; border-radius: 6px; border: 1px solid #e5e5e5; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }

/* HERO BESAR - GAMBAR FULL */
.hs-hero-big { position: relative; border-radius: 6px; overflow: hidden; margin-bottom: 3px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); height: auto; }
.hs-hero-big > a { display: block; position: relative; width: 100%; height: auto; }
.hs-hero-big img { width: 100%; height: auto !important; object-fit: contain !important; display: block; background:#fff; }
.hs-hero-big-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 25px 20px 20px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); color: #fff; pointer-events: none; }
.hs-hero-big-overlay > * { pointer-events: auto; }
.hs-hero-big-tag { display: inline-block; background: #d32f2f; color: #fff; padding: 3px 8px; font-size: 10px; font-weight: 700; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.hs-hero-big-overlay time { display: block; font-size: 11px; color: #ddd; margin-bottom: 6px; }
.hs-hero-big-overlay h1 { font-size: 20px; line-height: 1.3; margin: 0; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hs-hero-big-overlay h1 a { color: #fff; text-decoration: none; }
.hs-hero-big-overlay h1 a:hover { color: #ffc107; }

/* HERO KECIL - GAMBAR FULL */
.hs-hero-small-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; align-items: stretch; }
.hs-hero-small { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid #e5e5e5; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; height: 100%; }
.hs-hero-small:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.hs-hero-small > a { display: block; overflow: hidden; height: auto; flex-shrink: 0; background:#fff; }
.hs-hero-small img { width: 100%; height: auto !important; object-fit: contain !important; display: block; background:#fff; transition: transform 0.3s; }
.hs-hero-small:hover img { transform: scale(1.02); }
.hs-hero-small time { display: block; padding: 8px 10px 0; font-size: 11px; color: #888; flex-shrink: 0; }
.hs-hero-small h3 { padding: 4px 10px 12px; margin: 0; font-size: 13px; line-height: 1.4; font-weight: 700; min-height: 5.6em; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.hs-hero-small h3 a { color: #222; text-decoration: none; }
.hs-hero-small h3 a:hover { color: #d32f2f; }

.hs-widget-title { font-size: 15px; margin-bottom: 12px; padding: 10px 16px; text-transform: uppercase; font-weight: 800; color: #fff; letter-spacing: 0.5px; background: linear-gradient(90deg, #d32f2f 0%, #b71c1c 50%, #222 100%); border-radius: 4px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }

/* POPULER - GAMBAR FULL */
.hs-pop-list-wrapper .hs-pop-item { display: flex; gap: 8px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.hs-pop-list-wrapper .hs-pop-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.hs-pop-list-wrapper .hs-pop-item img { width: 80px; height: auto !important; object-fit: contain !important; border-radius: 4px; flex-shrink: 0; background:#fff; border:1px solid #eee; }
.hs-pop-list-wrapper .hs-pop-item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hs-pop-list-wrapper .hs-pop-item .hs-meta { font-size: 10px; color: #777; }
.hs-pop-list-wrapper .hs-pop-item .hs-meta strong { color: #d32f2f; font-weight: 700; }
.hs-pop-list-wrapper .hs-pop-item h3 { font-size: 13px; line-height: 1.3; margin: 0; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hs-pop-list-wrapper .hs-pop-item h3 a { color: #222; text-decoration: none; }
.hs-pop-list-wrapper .hs-pop-item h3 a:hover { color: #d32f2f; }

/* BERITA TERKINI */
.hs-main-wrapper { display: flex; gap: 20px; margin-bottom: 20px; align-items: flex-start; margin-top: 15px; background:#fff !important; }
.hs-content-left { flex: 1; min-width: 0; background:#fff !important; }
.hs-news-list { display: block; width: 100%; clear: both; }
.hs-section-title { font-size: 16px; margin-bottom: 15px; padding: 10px 16px; text-transform: uppercase; font-weight: 800; color: #fff; background: linear-gradient(90deg, #d32f2f 0%, #b71c1c 50%, #222 100%); border-radius: 4px; }
.hs-news-list .hs-news-card, .hs-news-card { display: flex; gap: 15px; background: #fff; padding: 12px; border-radius: 6px; border: 1px solid #e5e5e5; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); transition: transform 0.2s; width: 100%; box-sizing: border-box; clear: both; float: none; }
.hs-news-card:hover { transform: translateY(-2px); }
.hs-news-thumb { width: 180px; height: auto; flex-shrink: 0; overflow: hidden; border-radius: 4px; background: #fff; border:1px solid #eee; }
.hs-news-thumb img { width: 100%; height: auto !important; object-fit: contain !important; display: block; background:#fff; }
.hs-news-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hs-news-tag { display: inline-block; background: #d32f2f; color: #fff; padding: 2px 7px; font-size: 10px; font-weight: 700; border-radius: 3px; text-transform: uppercase; align-self: flex-start; }
.hs-news-info time { font-size: 11px; color: #888; }
.hs-news-info h3 { font-size: 16px; line-height: 1.35; margin: 0; font-weight: 700; }
.hs-news-info h3 a { color: #111; }
.hs-news-info h3 a:hover { color: #d32f2f; }
.hs-news-info p { font-size: 13px; color: #555; line-height: 1.4; margin: 0; }
.hs-read-more { color: #d32f2f; font-size: 13px; font-weight: 600; align-self: flex-start; }

/* BREADCRUMB CANTIK PILL */
.hs-breadcrumb { background:#fff3f3 !important; border:1px solid #ffcdd2; border-left:4px solid #b71c1c; border-radius:8px; padding:10px 15px !important; margin:15px 0 !important; display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:12px; }
.hs-breadcrumb a { background:#b71c1c; color:#fff !important; padding:4px 12px; border-radius:20px; text-decoration:none !important; font-weight:600; }
.hs-breadcrumb a:hover { background:#222; }
.hs-breadcrumb .sep { color:#b71c1c; font-weight:bold; }
.hs-breadcrumb .current { background:#222; color:#fff; padding:4px 12px; border-radius:20px; font-weight:600; }

/* DETAIL HEADER */
.hs-single-header { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; background:#fff; }
.hs-single-meta-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: 12px; color: #777; }
.hs-single-meta-top .hs-news-tag { background: #d32f2f; color: #fff; padding: 3px 9px; font-size: 10px; font-weight: 700; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.4px; }
.hs-single-meta-top time { color: #777; display: inline-flex; align-items: center; gap: 4px; }
.hs-single-title { font-size: 28px; line-height: 1.3; color: #111; font-weight: 800; margin: 0 0 15px 0; letter-spacing: -0.3px; }
.hs-single-author-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: #555; }
.hs-single-author { display: flex; align-items: center; gap: 8px; }
.hs-single-author img { width: 32px; height: 32px; border-radius: 50%; }
.hs-single-author strong { color: #111; font-weight: 700; }
.hs-single-views { display: inline-flex; align-items: center; gap: 5px; background: #f4f6f8; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; color: #d32f2f; }

/* DETAIL FEATURED IMAGE FULL + CAPTION CANTIK */
.hs-single-thumb-wrap { margin:0 0 20px 0; background:#fff; border-radius:8px; overflow:hidden; border:1px solid #eee; }
.hs-single-thumb { margin:0; border-radius:0; overflow:hidden; background:#fff; height:auto !important; width:100%; }
.hs-single-thumb img { width:100% !important; height:auto !important; object-fit:contain !important; display:block; background:#fff; }
.hs-featured-caption { background:#fff8f8; border-top:1px solid #ffdddd; border-left:4px solid #b71c1c; padding:10px 12px 10px 38px; font-size:13px; color:#555; line-height:1.5; position:relative; border-radius:0 0 8px 0; }
.hs-featured-caption .cap-icon { position:absolute; left:10px; top:10px; }

/* ARTICLE */
.hs-article-body { font-size: 16px; line-height: 1.8; color: #222; margin-top: 15px; word-wrap: break-word; overflow-wrap: break-word; background:#fff !important; }
.hs-article-body p { margin-bottom: 18px; }
.hs-article-body img { max-width: 100%; height: auto !important; border-radius: 6px; margin: 15px auto; display: block; object-fit:contain !important; }
.hs-article-body figure { margin: 15px 0; }
.hs-article-body figcaption { font-size: 12px; color: #888; text-align: center; margin-top: 6px; font-style: italic; }
.hs-article-body iframe { max-width: 100%; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; margin: 15px 0; }

/* BACA JUGA */
.hs-baca-juga { background: #fff8e1; border-left: 4px solid #d32f2f; padding: 12px 16px; margin: 20px 0; font-size: 14px; line-height: 1.6; border-radius: 0 4px 4px 0; }
.hs-baca-juga span { color: #d32f2f; font-weight: 800; }
.hs-baca-juga a { color: #111; text-decoration: none; font-weight: 700; }
.hs-baca-juga a:hover { color: #d32f2f; text-decoration: underline; }

/* TAGS */
.hs-single-tags { margin-top: 20px; padding-top: 15px; border-top: 1px solid #eee; font-size: 13px; color: #555; background:#fff; }
.hs-single-tags a { color: #555; text-decoration: none; }
.hs-single-tags a:hover { color: #d32f2f; }
/* === IKLAN FINAL - ANTI KEDIP & PUTIH BERSIH === */
.hs-single-ad, .hs-single-bottom-ad, .hs-widget-loop-ad{ 
  display:block; text-align:center; margin:15px auto; padding:0; 
  background:#fff; border:none; max-width:100%; overflow:hidden; 
}
.hs-single-ad img, .hs-single-bottom-ad img, .hs-widget-loop-ad img{ 
  max-width:100%; height:auto!important; display:block; margin:0 auto; 
}
.hs-header-ad{
  width:728px!important;
  height:90px!important;
  background:#fff!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  overflow:hidden!important;
  margin-left:auto!important;
}
.hs-header-ad .hs-header-ad-widget{
  width:728px!important;
  height:90px!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border:none!important;
  overflow:hidden!important;
}
.hs-header-ad .hs-header-ad-widget a,
.hs-header-ad .hs-header-ad-widget img{
  width:728px!important;
  height:90px!important;
  object-fit:fill!important;
  display:block!important;
  margin:0!important;
}
.hs-ad-box{background:#fff!important;border:1px solid #eee!important}
@media screen and (max-width:768px){
  .hs-header-ad, .hs-header-ad .hs-header-ad-widget,
  .hs-header-ad .hs-header-ad-widget a,
  .hs-header-ad .hs-header-ad-widget img{
    width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;
  }
}
/* PREV NEXT */
.hs-post-navigation { display: flex; justify-content: space-between; align-items: stretch; border-top: 2px solid #111; border-bottom: 1px solid #eee; padding: 15px 0; margin-top: 25px; gap: 15px; flex-wrap: nowrap; background:#fff; }
.hs-nav-prev, .hs-nav-next { flex: 1 1 50%; min-width: 0; max-width: 50%; }
.hs-nav-next { text-align: right; }
.hs-nav-label { font-size: 11px; text-transform: uppercase; color: #d32f2f; font-weight: bold; display: block; margin-bottom: 8px; letter-spacing: 0.4px; }
.hs-post-navigation a { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: #111; width: 100%; padding: 8px; border-radius: 6px; transition: background 0.2s; box-sizing: border-box; }
.hs-post-navigation a:hover { background: #f9f9f9; }
.hs-nav-next a { justify-content: flex-end; text-align: right; }
.hs-post-navigation img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; display: block; }
.hs-post-navigation a > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hs-nav-next a > div { align-items: flex-end; }
.hs-post-navigation h4 { font-size: 13px; margin: 0; line-height: 1.35; font-weight: 700; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-post-navigation time { font-size: 11px; color: #888; }

/* BERITA TERKAIT 3 - GAMBAR ATAS TANGGAL JUDUL */
.hs-related-posts { margin-top: 30px; background:#fff !important; padding:20px 0 0 0; border-top:2px solid #b71c1c; }
.hs-related-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 15px !important; }
.hs-related-item { display: flex !important; flex-direction: column !important; gap: 0 !important; background: #fff; border: 1px solid #eee; border-radius: 8px; overflow:hidden; transition: transform 0.2s; }
.hs-related-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.hs-related-thumb { flex-shrink: 0; width: 100% !important; height: auto !important; overflow: hidden; display: block; background: #fff; }
.hs-related-thumb img { width: 100% !important; height: 170px !important; object-fit: contain !important; background:#fff; border-bottom:1px solid #eee; }
.hs-related-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding:8px 10px 12px 10px; }
.hs-related-info time { font-size: 11px; color: #999; order:1; }
.hs-related-info h4 { font-size: 13px; line-height: 1.35; margin: 0; font-weight: 700; order:2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hs-related-info h4 a { color: #111; text-decoration: none; }
.hs-related-info h4 a:hover { color: #d32f2f; }

/* REKOMENDASI 6 - 3 ATAS 3 BAWAH */
.hs-recommended-posts { margin-top: 30px; background: #fff !important; padding: 20px 0 0 0; border-top:2px solid #b71c1c; border-radius:0; border-left:none; border-right:none; border-bottom:none; }
.hs-rec-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 15px !important; }
.hs-rec-item { display: flex !important; flex-direction: column !important; gap:0 !important; background: #fff; border-radius: 8px; border: 1px solid #eee; overflow:hidden; transition: transform 0.2s; }
.hs-rec-item:hover { transform: translateY(-2px); box-shadow: 0 3px 10px rgba(0,0,0,0.08); }
.hs-rec-thumb { flex-shrink: 0; width: 100% !important; height: auto !important; overflow: hidden; display: block; background: #fff; }
.hs-rec-thumb img { width: 100% !important; height: 170px !important; object-fit: contain !important; background:#fff; border-bottom:1px solid #eee; }
.hs-rec-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding:8px 10px 12px 10px; }
.hs-rec-info time { font-size: 11px; color: #888; order:1; }
.hs-rec-info h4 { font-size: 13px; line-height: 1.35; margin: 0; font-weight: 700; order:2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hs-rec-info h4 a { color: #222; text-decoration: none; }
.hs-rec-info h4 a:hover { color: #d32f2f; }

/* ARSIP & PAGE */
.hs-archive-header { background: #fff; padding: 15px 20px; border-radius: 6px; border-left: 4px solid #d32f2f; margin-bottom: 20px; border: 1px solid #e5e5e5; }
.hs-archive-title { font-size: 20px; font-weight: 800; color: #111; margin: 0; text-transform: uppercase; }
.hs-cat-description { background: #fff; padding: 12px 15px; border-radius: 4px; border: 1px solid #e5e5e5; border-left: 4px solid #d32f2f; margin-bottom: 15px; font-size: 13px; color: #555; }
.hs-page-content { background: #fff; padding: 25px; border-radius: 6px; border: 1px solid #e5e5e5; }
.hs-page-title { font-size: 24px; font-weight: 800; color: #111; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #d32f2f; }
.hs-empty { padding: 40px 20px; text-align: center; background: #fff; border: 1px solid #eee; border-radius: 4px; }
.hs-empty h2 { font-size: 18px; color: #333; margin-bottom: 10px; }
.hs-empty p { font-size: 14px; color: #666; margin: 0; }
.hs-pagination { margin-top: 25px; text-align: center; }
.hs-pagination .page-numbers, .hs-pagination a { display: inline-block; padding: 6px 12px; margin: 0 2px; background: #fff; color: #333; border: 1px solid #ccc; border-radius: 3px; font-weight: 600; font-size: 13px; }
.hs-pagination .page-numbers.current, .hs-pagination a:hover { background: #d32f2f; color: #fff; border-color: #d32f2f; }

/* SIDEBAR */
.hs-sidebar-right { width: 300px; flex-shrink: 0; align-self: flex-start; background:#fff !important; }
.hs-sidebar-inner { display: block; width: 100%; }
.hs-widget, .hs-sidebar-inner .hs-widget { background: #fff; padding: 15px; border-radius: 6px; margin-bottom: 15px; border: 1px solid #e5e5e5; box-shadow: 0 1px 3px rgba(0,0,0,0.05); overflow: hidden; max-width: 100%; text-align: center; }
.hs-widget p, .hs-widget ul, .hs-widget ol { text-align: left; }
.hs-widget img { display: block; margin: 0 auto; max-width: 100%; height: auto !important; border-radius: 4px; object-fit: contain !important; }
.hs-widget .textwidget { text-align: center; line-height: 0; }
.hs-widget .textwidget img { margin: 0 auto; }
.hs-widget a { display: inline-block; }
.hs-sidebar-inner .hs-widget ul { list-style: none; padding: 0; margin: 0; }
.hs-sidebar-inner .hs-widget ul li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 13px; line-height: 1.5; text-align: left; }
.hs-sidebar-inner .hs-widget ul li:last-child { border-bottom: none; }
.hs-sidebar-inner .hs-widget ul li a { color: #222; text-decoration: none; font-weight: 600; display: block; }
.hs-sidebar-inner .hs-widget ul li a:hover { color: #d32f2f; }
.hs-sidebar-inner .hs-widget-title { font-size: 14px; margin: -15px -15px 12px -15px; padding: 10px 15px; background: linear-gradient(90deg, #d32f2f 0%, #b71c1c 100%); color: #fff; border-radius: 6px 6px 0 0; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; box-shadow: none; display: block; }

/* SEARCH */
.search-form, .hs-sidebar-inner .search-form { display: flex; gap: 5px; width: 100%; }
.search-form input[type="search"], .hs-sidebar-inner .search-form input[type="search"] { flex: 1; padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 13px; min-width: 0; }
.search-form input[type="submit"], .hs-sidebar-inner .search-form input[type="submit"] { background: #d32f2f; color: #fff; border: none; padding: 8px 15px; border-radius: 4px; font-weight: bold; cursor: pointer; flex-shrink: 0; }
.search-form input[type="submit"]:hover, .hs-sidebar-inner .search-form input[type="submit"]:hover { background: #b71c1c; }

/* FOOTER */
.hs-footer { background: #1a1a1a; color: #aaa; font-size: 13px; padding-top: 30px; margin-top: 25px; border-top: 4px solid #d32f2f; }
.hs-footer-inner { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.3fr; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid #2a2a2a; }
.hs-footer-col h3 { color: #fff; font-size: 14px; margin-bottom: 12px; text-transform: uppercase; font-weight: 700; position: relative; padding-bottom: 6px; }
.hs-footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 25px; height: 2px; background: #d32f2f; }
.hs-footer-links a { color: #aaa; text-decoration: none; font-size: 12px; display: block; margin-bottom: 6px; }
.hs-footer-links a:hover { color: #fff; padding-left: 3px; }
.hs-footer-bottom { background: #111; padding: 15px 0; text-align: center; color: #777; font-size: 12px; }
.hs-footer-bottom a { color: #777; text-decoration: none; font-weight: 700; transition: color 0.2s ease; }
.hs-footer-bottom a:hover { color: #fff; }
.hs-footer-widget { color: #aaa; font-size: 13px; line-height: 1.7; }
.hs-footer-widget-title { color: #fff; font-size: 14px; margin-bottom: 12px; text-transform: uppercase; font-weight: 700; position: relative; padding-bottom: 6px; }
.hs-footer-widget-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 25px; height: 2px; background: #d32f2f; }
.hs-footer-widget ul { list-style: none; padding: 0; margin: 0; }
.hs-footer-widget ul li { margin-bottom: 6px; }
.hs-footer-widget ul li a { color: #aaa; text-decoration: none; font-size: 12px; transition: color 0.2s, padding-left 0.2s; }
.hs-footer-widget ul li a:hover { color: #fff; padding-left: 3px; }
.hs-footer-widget p { margin-bottom: 8px; }

/* UTILITY */
.hs-clearfix::after { content: ''; display: table; clear: both; }
.hs-hide-mobile { display: block; }
.hs-hide-desktop { display: none; }
.hs-placeholder { background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; }
.hs-nav-toggle { display: none; background:transparent; border:none; padding:10px 12px; }
.hs-nav-toggle span { display:block; width:22px; height:3px; background:#fff; margin:4px 0; border-radius:2px; }
/* RESPONSIVE HP - FIX FINAL */
@media screen and (max-width: 768px){
  .hs-hide-mobile { display: none !important; }
  .hs-hide-desktop { display: block !important; }
  html, body{ overflow-x:hidden !important; background:#fff !important; }
  .hs-container{ padding:0 12px !important; }
  
  /* HEADER HP - FIX RONGGA */
  .hs-main-header{ padding:8px 0 !important; overflow:visible !important; background:#fff !important; }
  .hs-header-inner{ 
    display:flex !important; 
    flex-direction:column !important; 
    gap:10px !important; 
    align-items:center !important;
    justify-content:center !important;
  }
  .hs-logo{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    margin:0 auto !important;
    flex:0 0 auto !important;
  }
  .hs-logo a{ width:auto !important; height:auto !important; }
  .hs-logo img.hs-logo-img{ width:220px !important; height:auto !important; max-width:220px !important; max-height:none !important; }
  
  .hs-header-ad{ 
    width:100% !important; 
    height:auto !important; 
    min-height:0 !important; 
    max-height:none !important;
    max-width:100% !important; 
    flex:0 0 auto !important;
    margin:0 auto !important; 
    display:flex !important; 
    justify-content:center !important; 
    align-items:center !important; 
    padding:0 !important; 
    background:#fff !important; 
  }
  .hs-header-ad .hs-header-ad-widget,
  .hs-header-ad .hs-header-ad-widget a,
  .hs-header-ad .hs-header-ad-widget img{ 
    width:100% !important; 
    height:auto !important; 
    max-width:100% !important; 
  }

  /* LAYOUT HP */
  .hs-main-news-grid{ flex-direction:column !important; gap:15px !important; }
  .hs-hero-big{ height:auto !important; }
  .hs-hero-big img{ height:auto !important; }
  .hs-hero-small-grid{ grid-template-columns:1fr 1fr !important; gap:10px !important; }
  .hs-main-wrapper{ flex-direction:column !important; gap:0 !important; }
  .hs-content-left{ width:100% !important; float:none !important; }
  .hs-sidebar-right{ width:100% !important; float:none !important; margin-top:20px !important; display:block !important; clear:both !important; }
  .hs-sidebar-right .hs-widget{ margin-bottom:15px !important; }
  .hs-news-card{ flex-direction:column !important; }
  .hs-news-thumb{ width:100% !important; height:auto !important; }
  .hs-news-thumb img{ height:auto !important; }
  .hs-footer-inner{ grid-template-columns:1fr !important; }
  .hs-main-nav{ position:relative; }
  .hs-main-nav .hs-container{ display:flex; justify-content:space-between; align-items:center; }
  .hs-main-nav .hs-container::before{ content:"HOME"; color:#fff; font-weight:800; font-size:13px; padding:11px 14px; }
  .hs-nav-toggle{ display:block !important; }
  .hs-main-nav .hs-primary-menu-list{ display:none !important; position:absolute; top:100%; left:0; width:100%; background:#b71c1c; flex-direction:column; z-index:9999; padding:0; }
  .hs-main-nav .hs-primary-menu-list.is-open{ display:flex !important; }
  .hs-related-grid, .hs-rec-grid{ grid-template-columns:1fr 1fr !important; gap:10px !important; }
  .hs-related-thumb img, .hs-rec-thumb img{ height:130px !important; }
}


/* PAKSA MUNCUL DI EDGE DESKTOP */
.hs-header-ad img{ visibility:visible!important; opacity:1!important; display:block!important; }



img.emoji{ display:inline!important; width:1em!important; height:1em!important; margin:0 .05em 0 .1em!important; vertical-align:-0.1em!important; background:none!important; border:none!important; box-shadow:none!important; }
.hs-top-header,.hs-breaking-wrapper,.hs-main-header{ transform:translateZ(0); will-change:auto; }



/* FOOTER 6 kebawah, 7 ke samping */
.hs-footer-grid{
  display: grid !important;
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 10px 7px;
  align-items: start;
}
.hs-footer-grid li{
  list-style: none;
  white-space: nowrap;
}

