/*
Theme Name: HostingWebID News
Theme URI: https://hostingweb.id/themes/hostingwebid-news
Author: HostingWeb.id
Author URI: https://hostingweb.id
Description: Tema WordPress Portal Berita Modern Super Bersih & Cepat mirip portal berita nasional dengan fitur lengkap, Light Mode Murni, Ads Manager, Watermark Otomatis, dan Grid Headline Dinamis.
Version: 3.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hostingwebid-news
*/

@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;
}

/* Force Clean Light Mode everywhere */
*, *::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;
}

svg {
  max-width: 24px;
  max-height: 24px;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Category Accent */
.cat-politik { color: #e60000 !important; }
.cat-foto { color: #e60000 !important; }
.cat-video { color: #009688 !important; }
.cat-koleksi { color: #ff5722 !important; }

/* 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;
}

.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-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-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-hamburger {
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}

/* Nav */
.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 */
.breaking-news-bar {
  margin: 14px auto 10px;
}

.breaking-news-wrap {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  height: 38px;
  position: relative;
}

.breaking-label-black {
  background: #111827;
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  z-index: 3;
}

.breaking-label-red {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 11.5px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  z-index: 3;
  text-transform: uppercase;
}

.breaking-ticker-marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, black 15px, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15px, black 95%, transparent 100%);
}

.breaking-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeTicker 75s linear infinite;
  padding-left: 20px;
  will-change: transform;
}

.breaking-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeTicker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticker-post-item {
  color: #1f2937 !important;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.ticker-post-item:hover {
  color: var(--primary) !important;
}

.ticker-bullet {
  color: var(--primary);
  margin: 0 18px;
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .breaking-label-black {
    padding: 0 8px;
    font-size: 10px;
  }
  .breaking-label-red {
    padding: 0 8px;
    font-size: 10px;
  }
  .ticker-post-item {
    font-size: 12px;
  }
}

/* Billboard Ad */
.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;
}

/* 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;
}

.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);
}

.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);
}

/* Two Columns Content with 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;
  }
}

.widget-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.widget-section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.widget-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--primary-gradient);
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.4);
}

.btn-lihat-semua {
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.28);
  transition: all 0.25s ease;
}

.btn-lihat-semua:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

/* Terkini & Archive Posts List (Luxury Modern Card Rows) */
.terkini-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.terkini-post-row {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.terkini-post-row:hover {
  transform: translateX(4px);
  border-color: rgba(225, 29, 72, 0.25);
  box-shadow: var(--card-shadow-hover);
}

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

.terkini-thumb-wrap .has-watermark-wrapper {
  width: 100%;
  height: 100%;
  display: block;
}

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

.terkini-post-row:hover .terkini-thumb {
  transform: scale(1.08);
}

.terkini-post-info {
  flex: 1;
}

.terkini-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.terkini-cat {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff !important;
  background: var(--primary-gradient);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
}

.terkini-time {
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 500;
}

.terkini-post-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin: 0;
  transition: color 0.2s ease;
}

.terkini-post-row:hover .terkini-post-title a {
  color: var(--primary);
}

/* Widget Grid Container */
.widget-grid-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

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

.grid-post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 10px;
  transition: all 0.3s ease;
}

.grid-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 29, 72, 0.25);
  box-shadow: var(--card-shadow-hover);
}

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

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

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

.photo-overlay-icon {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

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

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

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

.in-content-ad-banner {
  background: var(--ad-bg);
  min-height: 90px;
  width: 100%;
  margin: 24px 0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Popular Posts Widget & Sidebar Cards */
.popular-posts-widget,
.tag-terpopuler-widget,
.widget-opini-card,
.widget-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

.popular-post-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.25s ease;
}

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

.popular-post-item:hover {
  transform: translateX(4px);
}

.popular-rank-number {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #e11d48 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-main);
  letter-spacing: -1px;
  min-width: 34px;
}

.popular-post-content {
  flex: 1;
}

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

.popular-post-item:hover .popular-post-title a {
  color: var(--primary);
}

.popular-post-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

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

.tag-ranked-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  transition: all 0.2s ease;
}

.tag-rank-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  min-width: 20px;
}

.tag-ranked-item:hover {
  background: var(--primary-gradient);
  color: #ffffff !important;
  transform: translateX(4px);
}

.tag-ranked-item:hover .tag-rank-num {
  color: #ffffff;
}

/* Index Berita Button (Luxury Glowing Pill) */
.index-berita-wrap {
  display: flex;
  justify-content: center;
  margin: 40px auto 48px;
}

.btn-index-berita {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 38px;
  border-radius: 9999px;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-index-berita:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.48);
}

/* Site Footer (Demo Matching) */
.site-footer {
  background: #0d0f15 !important;
  color: #94a3b8;
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.footer-top-accent {
  width: 100%;
  height: 4px;
  background: var(--primary);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0 32px;
}

/* Brand Column */
.footer-brand-title {
  margin-bottom: 14px;
}

.footer-brand-link {
  text-decoration: none !important;
  display: inline-block;
}

.footer-logo-text {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.footer-logo-text .logo-red {
  color: var(--primary);
}

.footer-headline-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0;
  max-width: 320px;
}

/* Links Columns */
.footer-col-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: 0.2px;
}

.footer-menu-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-menu-list a {
  color: #94a3b8 !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-menu-list a:hover {
  color: var(--primary) !important;
}

.footer-tags-list .footer-tag-link {
  color: #cbd5e1 !important;
  font-weight: 600;
}

.footer-tags-list .footer-tag-link:hover {
  color: var(--primary) !important;
}

/* Footer Bottom Row */
.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 24px;
  text-align: center;
}

.copyright-text {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 500;
}

/* Section Terkini */
.section-terkini-block {
  margin-bottom: 24px;
}

.terkini-posts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.terkini-post-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.terkini-thumb-wrap {
  width: 170px;
  height: 108px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

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

.terkini-post-row:hover .terkini-thumb {
  transform: scale(1.05);
}

.terkini-post-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terkini-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.terkini-cat {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  text-transform: capitalize;
}

.terkini-time {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.terkini-post-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.terkini-post-title a {
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease;
}

.terkini-post-title a:hover {
  color: var(--primary);
}

/* Pos Terpopuler Widget (01-05) */
.popular-posts-widget {
  margin-bottom: 16px;
}

.popular-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.popular-post-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.popular-rank-number {
  font-size: 20px;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1;
  min-width: 24px;
  font-style: italic;
}

.popular-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popular-post-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.popular-post-title a {
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease;
}

.popular-post-title a:hover {
  color: var(--primary);
}

.popular-post-cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   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;
}

@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; }

.single-featured-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
}

.single-featured-image {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: cover !important;
  display: block !important;
}

.single-photo-caption {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 8px;
  font-style: italic;
  padding: 0 4px;
}

.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;
}

.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 img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 20px auto;
  border-radius: var(--radius-md);
}

.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;
}

/* 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: #ffffff !important;
  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, background 0.2s;
}

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

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

.offcanvas-backdrop {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  backdrop-filter: blur(2px);
}

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

.offcanvas-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -6px 0 28px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.offcanvas-drawer.open {
  transform: translateX(0) !important;
}

/* Archive & Category Pagination */
.archive-pagination-wrap {
  margin: 32px 0 20px;
  display: flex;
  justify-content: center;
}

.archive-pagination-wrap ul.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.archive-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: all 0.2s;
}

.archive-pagination-wrap .page-numbers:hover,
.archive-pagination-wrap .page-numbers.current {
  background: var(--primary);
  color: #ffffff !important;
}

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

@media (max-width: 768px) {
  .grid-3-cards {
    grid-template-columns: 1fr;
  }
  .header-search-wrap {
    display: none;
  }
  .big-headline-thumb-wrap {
    height: 220px;
  }
  .terkini-post-row {
    flex-direction: column;
  }
  .terkini-thumb-wrap {
    width: 100%;
    height: 180px;
  }
  .single-post-title {
    font-size: 22px;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   TOP BILLBOARD, FLOATING SKIN & STICKY BOTTOM ADS (DEMO MATCH)
   ========================================================================== */
.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;
  }
}

/* Floating Left & Right Skin Ads (Strict 120px Slim Skyscraper with clean generous gap) */
.floating-left-ad {
  position: fixed;
  top: 115px;
  right: calc(50% + 548px);
  width: 120px !important;
  max-width: 120px !important;
  z-index: 9990;
  text-align: center;
}
.floating-right-ad {
  position: fixed;
  top: 115px;
  left: calc(50% + 548px);
  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 Sticky Bottom Ad (Strict 728x90 Max Banner) */
.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;
  transition: background 0.2s;
}
.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;
}
.floating-bottom-ad iframe,
.floating-bottom-ad ins {
  max-height: 90px !important;
  max-width: 100% !important;
}

/* ==========================================================================
   Thumbnail Watermark Badges & 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;
}
