/* ==========================================================================
   HostingWebID News - Main Stylesheet (100% Exact Replica of themesapp.com/demo/HostingWebID News/)
   Clean White Light Mode by Default
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  --primary-gradient: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  --primary-glow: 0 4px 18px rgba(225, 29, 72, 0.32);
  --accent-purple: #7c3aed;
  --accent-amber: #f59e0b;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-widget-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --ad-bg: #e5e7eb;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 12px 30px -4px rgba(225, 29, 72, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1024px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-body) !important;
  color: var(--text-main) !important;
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* Global SVG Safety Constraint */
svg {
  max-width: 22px;
  max-height: 22px;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1024px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* --- HEADER --- */
.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 8px;
  gap: 20px;
}

/* Logo Constraints */
.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-brand a,
.custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  max-height: 40px !important;
}

.header-brand img,
.custom-logo,
.brand-logo {
  max-height: 38px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
}

.brand-logo-text {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.brand-logo-text .brand-i {
  color: var(--primary);
}

.brand-logo-text .brand-rest {
  color: #111827;
}

/* Header Search */
.header-search-wrap {
  flex: 1;
  max-width: 440px;
}

.header-search-box {
  display: flex;
  align-items: center;
  background: #f4f5f7;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 5px 16px;
  transition: all 0.2s;
}

.header-search-box:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

.header-search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: #111827;
}

.header-search-input::placeholder {
  color: var(--text-light);
}

.header-search-btn {
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-left: 8px;
}

/* Header Actions */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-jaringan {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
}

.btn-jaringan:hover {
  color: var(--primary);
}

.btn-jaringan svg.grid-icon {
  color: var(--primary);
}

.btn-mode-toggle,
.btn-hamburger {
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}

/* --- Navigation Bar --- */
.nav-bar-container {
  display: flex;
  align-items: center;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.nav-links-list {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0 !important;
  width: 100%;
  margin: 0 !important;
  list-style: none !important;
}

.nav-links-list::-webkit-scrollbar {
  display: none;
}

.nav-links-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.nav-item-link,
.nav-links-list a,
.nav-links-list li a {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827 !important;
  white-space: nowrap;
  position: relative;
  padding: 6px 2px;
  display: inline-block;
  text-decoration: none !important;
}

.nav-item-link:hover,
.nav-item-link.active,
.nav-links-list a:hover,
.nav-links-list li.current-menu-item a {
  color: var(--primary) !important;
}

.nav-item-link.active::after,
.nav-links-list li.current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
}

.nav-red-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

/* --- Breaking News Bar (Exact Demo Replica) --- */
.breaking-news-bar {
  margin: 16px auto 12px;
}

.breaking-news-wrap {
  display: flex;
  align-items: center;
  border-radius: 6px;
  overflow: hidden;
  font-size: 13px;
  background: #f8f9fa;
  border: 1px solid var(--border-color);
}

.breaking-label-black {
  background: #111827;
  color: #ffffff;
  font-weight: 800;
  padding: 8px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.breaking-label-red {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  padding: 8px 14px;
  font-size: 12px;
  flex-shrink: 0;
}

.breaking-ticker-text {
  flex: 1;
  padding: 8px 16px;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.breaking-ticker-text a {
  color: #111827;
}

.breaking-ticker-text a:hover {
  color: var(--primary);
}

/* --- Billboard Top Ad (728x90) --- */
.top-billboard-ad {
  background: var(--ad-bg);
  min-height: 90px;
  max-width: 728px;
  margin: 16px auto 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ad-badge-center {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* --- SECTION 1: HERO / HEADLINE WIDGET --- */
.headline-section-wrap {
/* Headline Layout (Hero 1+4 Showcase) */
.headline-section-wrap {
  padding: 12px 0 32px;
}

.headline-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: flex-start;
}

/* Left Big Headline */
.big-headline-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--card-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.big-headline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(225, 29, 72, 0.28);
}

.big-headline-thumb-wrap {
  width: 100%;
  height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  margin-bottom: 14px;
  display: block;
  position: relative;
}

.big-headline-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.big-headline-card:hover .big-headline-thumb {
  transform: scale(1.05);
}

.cat-label {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff !important;
  background: var(--primary-gradient);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.28);
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.big-headline-title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: -0.4px;
  transition: color 0.2s ease;
}

.big-headline-card:hover .big-headline-title {
  color: var(--primary);
}

/* Right 4 List Items */
.headline-sub-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.headline-sub-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.headline-sub-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(225, 29, 72, 0.25);
}

.sub-thumb-wrap {
  width: 124px;
  height: 82px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
  display: block;
  position: relative;
}

.sub-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.headline-sub-item:hover .sub-thumb {
  transform: scale(1.08);
}

.sub-content {
  flex: 1;
}

.sub-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.headline-sub-item:hover .sub-title {
  color: var(--primary);
}

/* --- SECTION 2: MAIN CONTENT & SIDEBAR (STICKY SIDEBAR) --- */
.content-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
  padding-bottom: 40px;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.main-content-column {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.sidebar-column {
  min-width: 0;
  width: 310px;
  max-width: 100%;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 75px !important;
  height: fit-content;
  align-self: start;
  z-index: 20;
}

@media (max-width: 900px) {
  .content-sidebar-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  .sidebar-column {
    width: 100% !important;
    position: static !important;
  }
}

/* Section Headers */
.widget-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.widget-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

.btn-lihat-semua {
  background: var(--primary);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
}

.btn-lihat-semua:hover {
  background: var(--primary-hover);
}

/* Widget Grid Card Container */
.widget-grid-container {
  background: var(--bg-widget-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.grid-3-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grid-post-card {
  display: flex;
  flex-direction: column;
}

.grid-post-thumb-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
  background: #000;
  display: block;
}

.grid-post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.grid-post-card:hover .grid-post-thumb {
  transform: scale(1.08);
}

.photo-overlay-icon {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.photo-overlay-icon svg {
  max-width: 14px;
  max-height: 14px;
}

.grid-post-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-post-card:hover .grid-post-title {
  color: var(--primary);
}

/* In-Between Ad */
.in-content-ad-banner {
  background: var(--ad-bg);
  min-height: 90px;
  width: 100%;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Sidebar Tall Ad */
.sidebar-ad-tall {
  background: var(--ad-bg);
  min-height: 480px;
  width: 100%;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* --- SIDEBAR WIDGETS --- */
.sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tag Terpopuler */
.tag-terpopuler-widget {
  margin-bottom: 10px;
}

.tag-ranked-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.tag-ranked-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  padding: 4px 0;
}

.tag-rank-num {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
  min-width: 22px;
}

.tag-ranked-item:hover {
  color: var(--primary);
}

/* Widget Opini */
.widget-opini-card {
  background: var(--bg-widget-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border-color);
}

/* Floating Back to Top Button */
.btn-floating-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(230, 0, 0, 0.4);
  z-index: 1000;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}

.btn-floating-top svg {
  max-width: 20px;
  max-height: 20px;
}

.btn-floating-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
}

/* Offcanvas Drawer */
.offcanvas-backdrop {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
}

.offcanvas-backdrop.open {
  display: block !important;
}

.offcanvas-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  background: #ffffff;
  padding: 20px;
  z-index: 1200;
}

/* Responsive */
@media (max-width: 1024px) {
  .headline-grid-layout {
    grid-template-columns: 1fr;
  }
  .content-sidebar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid-3-cards {
    grid-template-columns: 1fr;
  }
  .header-search-wrap {
    display: none;
  }
  .big-headline-thumb-wrap {
    height: 220px;
  }
}

/* ==========================================================================
   FLOATING SKIN ADS & BILLBOARD (DEMO MATCH)
   ========================================================================== */
.floating-left-ad {
  position: fixed;
  top: 115px;
  right: calc(50% + 512px + 35px);
  width: 120px !important;
  max-width: 120px !important;
  z-index: 9990;
  text-align: center;
}
.floating-right-ad {
  position: fixed;
  top: 115px;
  left: calc(50% + 512px + 35px);
  width: 120px !important;
  max-width: 120px !important;
  z-index: 9990;
  text-align: center;
}
.floating-left-ad .btn-close-ad,
.floating-right-ad .btn-close-ad {
  display: block;
  width: 100%;
  background: #111827;
  color: #ffffff;
  border: none;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 0;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 2px;
  border-radius: 3px 3px 0 0;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}
.floating-left-ad .btn-close-ad:hover,
.floating-right-ad .btn-close-ad:hover {
  background: #e60000;
}
.floating-left-ad img,
.floating-right-ad img {
  width: 120px !important;
  max-width: 120px !important;
  height: auto !important;
  display: block;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.floating-left-ad iframe,
.floating-right-ad iframe,
.floating-left-ad ins,
.floating-right-ad ins {
  width: 120px !important;
  max-width: 120px !important;
}
@media (max-width: 1380px) {
  .floating-left-ad,
  .floating-right-ad {
    display: none !important;
  }
}

.floating-bottom-ad {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #e5e7eb;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  text-align: center;
  width: 728px;
  max-width: 96vw;
  padding: 4px;
}
.floating-bottom-bar {
  position: absolute;
  top: -22px;
  right: 8px;
  z-index: 2;
}
.btn-close-bottom-ad {
  background: #e60000;
  color: #ffffff;
  border: none;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.15);
  line-height: 1.4;
}
.btn-close-bottom-ad:hover {
  background: #cc0000;
}
.floating-bottom-ad .floating-ad-inner {
  max-height: 90px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.floating-bottom-ad img {
  max-height: 90px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
}

/* Responsive Billboard Top */
.top-billboard-ad-section {
  background: #111111 !important;
  border-bottom: 1px solid #222222;
  width: 100%;
  padding: 10px 0;
}
.billboard-ad-inner {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  overflow: hidden;
}
.billboard-ad-inner figure {
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}
.billboard-ad-inner a {
  display: inline-flex !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
}
.billboard-ad-inner img {
  width: 100% !important;
  max-width: 970px !important;
  height: auto !important;
  max-height: 250px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}
.billboard-ad-inner iframe,
.billboard-ad-inner ins {
  max-width: 100% !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  .top-billboard-ad-section {
    padding: 6px 0 !important;
  }
  .billboard-ad-inner img {
    max-height: 160px !important;
  }
}
@media (max-width: 480px) {
  .billboard-ad-inner img {
    max-height: 120px !important;
  }
}

/* ==========================================================================
   Single Post - Editorial Perfection & Typography
   ========================================================================== */
.single-post-container {
  padding: 16px 0 40px;
}

.single-article-wrap {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--card-shadow);
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .single-article-wrap {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }
}

.single-breadcrumbs {
  font-size: 13px;
  color: var(--text-light);
  margin: 12px 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.single-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.single-breadcrumbs a:hover {
  color: var(--primary);
}

.single-breadcrumbs .breadcrumb-sep {
  color: var(--text-light);
}

.single-breadcrumbs .breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

.single-cat-badge-wrap {
  margin-bottom: 12px;
}

.single-post-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin: 0 0 14px;
  letter-spacing: -0.4px;
}

@media (max-width: 640px) {
  .single-post-title {
    font-size: 22px;
    line-height: 1.35;
  }
}

.single-post-excerpt {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
  color: #334155;
  background: #fff1f2;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 12px 18px;
  margin-bottom: 20px;
}

.single-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.single-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-author-avatar {
  border-radius: 50%;
  border: 2px solid var(--border-light);
}

.single-author-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.single-author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.single-post-date {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.single-stats-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-body);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
}

.single-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.share-title-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.2s, opacity 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.share-btn-fb { background: #1877f2; }
.share-btn-x { background: #0f172a; }
.share-btn-wa { background: #25d366; }
.share-btn-tg { background: #229ed9; }

.in-article-ad-box {
  background: var(--ad-bg);
  min-height: 90px;
  margin: 28px 0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Single Article Body Content (Crystal Clear Editorial Typography) */
.single-article-content {
  font-size: 17px;
  line-height: 1.85;
  color: #1e293b;
  font-family: var(--font-main);
  margin-top: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.single-article-content p {
  margin-bottom: 1.6em;
  text-align: left;
}

.single-article-content h1,
.single-article-content h2,
.single-article-content h3,
.single-article-content h4,
.single-article-content h5,
.single-article-content h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.4;
  margin-top: 32px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.single-article-content h2 {
  font-size: 22px;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
  margin-top: 36px;
}

.single-article-content h3 {
  font-size: 19px;
}

.single-article-content h4 {
  font-size: 17px;
}

.single-article-content strong,
.single-article-content b {
  font-weight: 700;
  color: var(--text-main);
}

.single-article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}

.single-article-content a:hover {
  color: var(--primary-hover);
}

.single-article-content blockquote {
  background: var(--bg-body);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  padding: 18px 24px;
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.75;
  color: #334155;
}

.single-article-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-article-content ul,
.single-article-content ol {
  margin: 20px 0;
  padding-left: 28px !important;
}

.single-article-content ul {
  list-style-type: disc !important;
}

.single-article-content ol {
  list-style-type: decimal !important;
}

.single-article-content li {
  list-style: inherit !important;
  margin-bottom: 8px;
  line-height: 1.7;
}

.single-article-content figure {
  margin: 24px auto;
  max-width: 100%;
  text-align: center;
}

.single-article-content figure img {
  margin: 0 auto;
}

.single-article-content figcaption {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
  font-style: italic;
}

.single-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
}

.single-article-content table th,
.single-article-content table td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  text-align: left;
}

.single-article-content table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-main);
}

/* Post Multipage Pagination <!--nextpage--> */
.post-multipage-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0;
  padding: 16px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.nav-page-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-right: 6px;
}

.post-multipage-nav a,
.post-multipage-nav span.page-number-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.post-multipage-nav a:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
}

.post-multipage-nav > span {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-color: var(--primary);
}

/* Tags Cloud Section */
.single-tags-section {
  margin: 32px 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.tags-section-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.tags-pills-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-pill-badge {
  background: var(--bg-body);
  color: var(--text-muted) !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.tag-pill-badge:hover {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Author Box */
.single-author-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 28px 0;
}

.author-card-avatar {
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.author-card-name {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text-main);
}

.author-card-bio {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.single-related-section {
  margin-top: 36px;
}

/* Watermark Overlay for Thumbnails & Responsive Aspect Protection */
.has-watermark-wrapper {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}
.has-watermark-wrapper > img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}
.hero-main-card .has-watermark-wrapper,
.hero-sub-item .has-watermark-wrapper,
.news-card-thumb .has-watermark-wrapper,
.list-thumb .has-watermark-wrapper,
.top-news-thumb .has-watermark-wrapper,
.photo-card-thumb .has-watermark-wrapper,
.video-card-thumb .has-watermark-wrapper {
  height: 100%;
}
.hero-main-card .has-watermark-wrapper > img,
.hero-sub-item .has-watermark-wrapper > img,
.news-card-thumb .has-watermark-wrapper > img,
.list-thumb .has-watermark-wrapper > img,
.top-news-thumb .has-watermark-wrapper > img,
.photo-card-thumb .has-watermark-wrapper > img,
.video-card-thumb .has-watermark-wrapper > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Single Post Featured Image Protection */
.single-featured-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 6px;
}
.single-featured-wrap .has-watermark-wrapper {
  display: block;
  width: 100%;
  height: auto !important;
  position: relative;
}
.single-featured-wrap img,
.single-featured-image {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: cover !important;
  border-radius: 6px;
  display: block !important;
}
.single-article-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 16px auto;
  border-radius: 4px;
}

.thumb-watermark-badge {
  position: absolute;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(2px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  line-height: 1.3;
}
.thumb-watermark-badge svg {
  width: 12px;
  height: 12px;
  fill: #e60000;
  flex-shrink: 0;
}
.thumb-watermark-badge img.wm-img {
  max-height: 22px;
  width: auto;
  display: block;
}
.thumb-watermark-badge.wm-pos-bottom-right {
  bottom: 8px;
  right: 8px;
}
.thumb-watermark-badge.wm-pos-bottom-left {
  bottom: 8px;
  left: 8px;
}
.thumb-watermark-badge.wm-pos-top-right {
  top: 8px;
  right: 8px;
}
.thumb-watermark-badge.wm-pos-top-left {
  top: 8px;
  left: 8px;
}
.thumb-watermark-badge.wm-pos-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ==========================================================================
   Category Blocks & Multi-Category Homepage Styles
   ========================================================================== */
.section-category-block {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f1f5f9;
}

.widget-section-title,
.widget-section-title span,
h2.widget-section-title,
h3.widget-section-title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}
.widget-section-title a {
  color: #0f172a !important;
}

.cat-pill-icon {
  display: inline-block;
  width: 4px;
  height: 16px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}
.cat-pill-icon.red-accent { background: #dc2626 !important; }
.cat-pill-icon.blue-accent { background: #2563eb !important; }
.cat-pill-icon.amber-accent { background: #d97706 !important; }
.cat-pill-icon.emerald-accent { background: #059669 !important; }
.cat-pill-icon.purple-accent { background: #7c3aed !important; }
.cat-pill-icon.rose-accent { background: #e11d48 !important; }

/* Solid High Contrast Badges */
.cat-label.cat-kriminal { background: #dc2626 !important; color: #ffffff !important; }
.cat-label.cat-politik { background: #2563eb !important; color: #ffffff !important; }
.cat-label.cat-hukum { background: #d97706 !important; color: #ffffff !important; }
.cat-label.cat-ekonomi, .cat-label.cat-bisnis { background: #059669 !important; color: #ffffff !important; }
.cat-label.cat-foto { background: #e11d48 !important; color: #ffffff !important; }
.cat-label.cat-video { background: #0d9488 !important; color: #ffffff !important; }

.cat-featured-split-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 640px) {
  .cat-featured-split-layout {
    grid-template-columns: 1fr;
  }
}

.cat-lead-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.cat-lead-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.cat-lead-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
}
.cat-lead-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.cat-lead-card:hover .cat-lead-thumb {
  transform: scale(1.05);
}
.cat-lead-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-lead-title {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.4;
  margin: 8px 0;
  color: #0f172a;
}
.cat-lead-title a {
  color: inherit;
  text-decoration: none;
}
.cat-lead-title a:hover {
  color: #dc2626;
}
.cat-lead-excerpt {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 12px;
  flex: 1;
}
.cat-meta-date {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
}

.cat-sub-rows-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-sub-row-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #ffffff;
  padding: 10px;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  transition: all 0.2s;
}
.cat-sub-row-item:hover {
  transform: translateY(-2px);
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.cat-sub-row-thumb-wrap {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.cat-sub-row-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-sub-row-info {
  flex: 1;
  min-width: 0;
}
.cat-sub-row-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
}
.cat-sub-row-title a {
  color: #1e293b;
  text-decoration: none;
}
.cat-sub-row-title a:hover {
  color: #dc2626;
}
.cat-sub-row-time {
  font-size: 11.5px;
  color: #94a3b8;
}

.grid-2-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .grid-2-cards {
    grid-template-columns: 1fr;
  }
}
.hukum-horizontal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.hukum-horizontal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.hukum-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
}
.hukum-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.hukum-horizontal-card:hover .hukum-thumb {
  transform: scale(1.05);
}
.hukum-info-wrap {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hukum-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 6px;
}
.hukum-title a {
  color: #0f172a;
  text-decoration: none;
}
.hukum-title a:hover {
  color: #d97706;
}
.hukum-excerpt {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
}
.hukum-date {
  font-size: 11.5px;
  color: #94a3b8;
}

/* Sidebar Widgets (Sticky & Balanced) */
.sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-cats-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sidebar-cat-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}
.sidebar-cat-pill:hover {
  transform: translateY(-2px);
}
.cat-pill-kriminal { background: #fef2f2; color: #dc2626 !important; border-color: #fecaca; }
.cat-pill-politik { background: #eff6ff; color: #2563eb !important; border-color: #bfdbfe; }
.cat-pill-hukum { background: #fffbeb; color: #d97706 !important; border-color: #fde68a; }
.cat-pill-ekonomi { background: #ecfdf5; color: #059669 !important; border-color: #a7f3d0; }
.sidebar-cat-pill-count {
  font-size: 10.5px;
  padding: 2px 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 9999px;
}

.opini-card-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.15);
}
.opini-quote-icon {
  color: #e11d48;
  margin-bottom: 8px;
  opacity: 0.8;
}
.opini-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 14px;
}
.opini-title a {
  color: #f8fafc !important;
  text-decoration: none;
  transition: color 0.2s;
}
.opini-title a:hover {
  color: #fb7185 !important;
}
.opini-author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
}
.opini-avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e11d48;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
}
.opini-author-info {
  display: flex;
  flex-direction: column;
}
.opini-author-name {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}
.opini-label-role {
  font-size: 10.5px;
  color: #94a3b8;
}



