/*
 * Readines Theme — Custom CSS
 * Navy-blue / gold / cyan dashboard-reader for Laravel Sintesis
 * Prefix: rd- (scoped, no conflict)
 */

/* ── VARIABLES ── */
:root {
  --rd-bg:           #0e1a2b;
  --rd-bg2:          #0a1520;
  --rd-sidebar-bg:   #0c1928;
  --rd-panel:        #0f1e30;
  --rd-panel2:       #132234;
  --rd-border:       rgba(100,160,220,.18);
  --rd-gold:         #b8952a;
  --rd-gold2:        #d4aa40;
  --rd-gold-light:   #e8c860;
  --rd-cyan:         #4ab8d8;
  --rd-cyan2:        #6ecfec;
  --rd-text:         #c8dae8;
  --rd-text-dim:     #7a9ab0;
  --rd-text-bright:  #e8f4ff;
  --rd-accent:       #1e4060;
  --rd-radar-line:   rgba(74,184,216,.15);
}

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

body.rd-portal {
  background: var(--rd-bg2);
  color: var(--rd-text);
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  min-height: 100vh;
}

/* ── APP SHELL (dashboard grid) ── */
.rd-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}

/* ── TOPBAR ── */
.rd-topbar {
  grid-column: 1 / -1;
  background: var(--rd-bg2);
  border-bottom: 1px solid var(--rd-border);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 100;
  position: sticky;
  top: 0;
}
.rd-brand-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.rd-brand-compass { width: 52px; height: 52px; flex-shrink: 0; }
.rd-brand-compass svg { width: 52px; height: 52px; }
.rd-brand-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--rd-text-bright);
  line-height: 1;
}
.rd-brand-sub {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--rd-text-dim);
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 2px;
}
.rd-topbar-controls { display: flex; align-items: center; gap: 16px; }
.rd-font-ctrl { display: flex; align-items: center; gap: 6px; }
.rd-font-btn {
  background: none;
  border: 1px solid var(--rd-border);
  color: var(--rd-text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  padding: 3px 9px;
  cursor: pointer;
  border-radius: 3px;
  transition: all .2s;
}
.rd-font-btn:hover { border-color: var(--rd-cyan); color: var(--rd-cyan); }
.rd-icon-btn {
  background: none;
  border: 1px solid var(--rd-border);
  color: var(--rd-text-dim);
  font-size: 16px;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 3px;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.rd-icon-btn:hover { border-color: var(--rd-gold); color: var(--rd-gold); }

/* ── SIDEBAR ── */
.rd-sidebar {
  background: var(--rd-sidebar-bg);
  border-right: 1px solid var(--rd-border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
/* Blueprint grid overlay */
.rd-sidebar::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rd-radar-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--rd-radar-line) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.rd-sidebar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Nav menu */
.rd-nav-menu { padding: 20px 0 10px; flex: 1; }
.rd-nav-item {
  padding: 14px 22px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .2s, border-color .2s;
  text-decoration: none;
  display: block;
}
.rd-nav-item:hover { background: rgba(184,149,42,.08); border-left-color: var(--rd-gold); }
.rd-nav-item.active {
  background: rgba(184,149,42,.13);
  border-left-color: var(--rd-gold);
}
.rd-nav-item-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--rd-text-bright);
  line-height: 1.2;
}
.rd-nav-item:hover .rd-nav-item-title,
.rd-nav-item.active .rd-nav-item-title { color: var(--rd-text-bright); }
.rd-nav-item-sub {
  font-size: 11px;
  color: var(--rd-text-dim);
  margin-top: 3px;
  letter-spacing: .3px;
}
.rd-nav-divider {
  height: 1px;
  background: var(--rd-border);
  margin: 6px 22px;
}

/* Live Feed */
.rd-live-feed {
  background: linear-gradient(135deg, rgba(184,149,42,.12) 0%, rgba(184,149,42,.04) 100%);
  border: 1px solid rgba(184,149,42,.3);
  border-radius: 4px;
  margin: 10px 16px 12px;
  padding: 12px 14px;
}
.rd-live-feed-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--rd-gold2);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 7px;
}
.rd-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rd-gold2);
  flex-shrink: 0;
  animation: rd-pulse 1.8s ease-in-out infinite;
}
@keyframes rd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}
.rd-feed-item {
  font-size: 11px;
  color: var(--rd-text-dim);
  padding: 6px 0;
  border-bottom: 1px solid rgba(184,149,42,.1);
  line-height: 1.45;
  text-decoration: none;
  display: block;
  transition: color .2s;
}
.rd-feed-item:last-child { border-bottom: none; }
.rd-feed-item:hover { color: var(--rd-text-bright); }
.rd-feed-item strong {
  color: var(--rd-text-bright);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .5px;
}

/* Sidebar search */
.rd-sidebar-search { padding: 10px 16px 14px; }
.rd-search-wrap { position: relative; }
.rd-search-icon {
  position: absolute; left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--rd-text-dim); font-size: 13px;
}
.rd-search-input {
  width: 100%;
  background: rgba(10,20,32,.8);
  border: 1px solid var(--rd-border);
  border-radius: 4px;
  color: var(--rd-text);
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  padding: 9px 14px 9px 34px;
  outline: none;
  transition: border-color .2s;
}
.rd-search-input:focus { border-color: var(--rd-cyan); }
.rd-search-input::placeholder { color: var(--rd-text-dim); }

/* ── MAIN CONTENT ── */
.rd-main {
  background: var(--rd-bg);
  overflow-y: auto;
  position: relative;
}
/* Radar circle background */
.rd-main::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,184,216,.04) 0%, transparent 70%);
  border: 1px solid rgba(74,184,216,.06);
  pointer-events: none;
  z-index: 0;
}
.rd-main-inner {
  position: relative;
  z-index: 1;
  padding: 22px 24px 40px;
}

/* Scrollbar */
.rd-main::-webkit-scrollbar { width: 5px; }
.rd-main::-webkit-scrollbar-track { background: var(--rd-bg2); }
.rd-main::-webkit-scrollbar-thumb { background: var(--rd-accent); border-radius: 3px; }
.rd-main::-webkit-scrollbar-thumb:hover { background: var(--rd-cyan); }

/* Section headers */
.rd-section-header {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px;
}
.rd-section-icon { font-size: 22px; color: var(--rd-gold2); margin-top: 2px; }
.rd-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--rd-text-bright);
  line-height: 1;
}
.rd-section-sub {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--rd-text-dim);
  margin-top: 4px;
}

/* Horizontal divider with label */
.rd-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 0 18px;
}
.rd-divider-line { flex: 1; height: 1px; background: var(--rd-border); }
.rd-divider-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--rd-text-dim);
}

/* ── TRENDING CARDS ── */
.rd-trend-card {
  background: var(--rd-panel);
  border: 1px solid var(--rd-gold);
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  transition: border-color .25s, transform .25s;
  text-decoration: none;
  display: flex; flex-direction: column;
}
.rd-trend-card:hover {
  border-color: var(--rd-gold-light);
  transform: translateY(-2px);
}
.rd-trend-thumb {
  width: 100%; height: 120px;
  background: linear-gradient(135deg, #0a1a2a, #1a2a3a);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; color: rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.rd-trend-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-trend-cat {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(10,20,32,.85);
  border: 1px solid var(--rd-border);
  font-size: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: .8px;
  color: var(--rd-cyan);
  padding: 3px 8px;
  border-radius: 2px;
}
.rd-trend-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.rd-trend-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--rd-text-bright);
  line-height: 1.3;
  margin-bottom: 7px;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-trend-excerpt {
  font-size: 11px;
  color: var(--rd-text-dim);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-trend-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--rd-border);
  font-size: 10px; color: var(--rd-text-dim);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .5px;
}
.rd-trend-footer .rd-tag { color: var(--rd-gold); }

/* ── FEATURED CARD ── */
.rd-featured-card {
  background: var(--rd-panel2);
  border: 1px solid var(--rd-border);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
  text-decoration: none;
  transition: border-color .25s;
}
.rd-featured-card:hover { border-color: var(--rd-cyan); }
.rd-featured-left {
  padding: 24px 26px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.rd-featured-cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--rd-cyan);
  border: 1px solid rgba(74,184,216,.3);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  width: fit-content;
}
.rd-featured-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--rd-text-bright);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-featured-excerpt {
  font-size: 13px;
  color: var(--rd-text-dim);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-featured-date {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--rd-gold);
}
.rd-featured-right {
  background: linear-gradient(135deg, #0a1a2a 0%, #1a2a3a 50%, #0a1520 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.rd-featured-right img { width: 100%; height: 100%; object-fit: cover; }
.rd-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,30,48,.7), rgba(15,30,48,.2));
  pointer-events: none;
}

/* Globe placeholder */
.rd-globe-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 20px;
}
.rd-globe {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(74,184,216,.3);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: rgba(74,184,216,.2);
  font-size: 60px;
}
.rd-globe-ring {
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(74,184,216,.1);
}
.rd-globe-ring2 {
  position: absolute; inset: -32px;
  border-radius: 50%;
  border: 1px dashed rgba(74,184,216,.07);
}

/* Stat badge */
.rd-stat-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(10,20,32,.9);
  border: 1px solid var(--rd-border);
  border-radius: 4px;
  padding: 8px 12px;
  text-align: right;
}
.rd-stat-pct {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--rd-gold2);
}
.rd-stat-label { font-size: 10px; color: var(--rd-text-dim); letter-spacing: .5px; }
.rd-stat-dots { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.rd-stat-dot-row {
  font-size: 9px; color: var(--rd-text-dim);
  display: flex; align-items: center; gap: 5px;
}
.rd-stat-dot {
  width: 5px; height: 5px;
  border-radius: 50%; flex-shrink: 0;
}

/* Bottom tech labels */
.rd-tech-labels {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: space-around;
  padding: 0 16px;
}
.rd-tech-label { text-align: center; }
.rd-tech-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin: 0 auto 4px;
}
.rd-tech-label-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px; letter-spacing: .8px;
  color: var(--rd-text-dim);
  line-height: 1.4;
}

/* ── ARTICLE LIST (category/search) ── */
.rd-article-row {
  background: var(--rd-panel);
  border: 1px solid var(--rd-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  gap: 0;
  text-decoration: none;
  transition: border-color .2s;
  margin-bottom: 12px;
}
.rd-article-row:hover { border-color: var(--rd-cyan); }
.rd-article-row-thumb {
  width: 160px; flex-shrink: 0;
  background: linear-gradient(135deg, #0a1a2a, #1a2a3a);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: rgba(255,255,255,.08);
  overflow: hidden;
}
.rd-article-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-article-row-body { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.rd-article-row-cat {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--rd-cyan);
  margin-bottom: 6px;
}
.rd-article-row-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--rd-text-bright);
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-article-row:hover .rd-article-row-title { color: var(--rd-cyan2); }
.rd-article-row-excerpt {
  font-size: 12px;
  color: var(--rd-text-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.rd-article-row-meta {
  display: flex; gap: 14px;
  font-size: 11px; color: var(--rd-text-dim);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .5px;
}
.rd-article-row-meta i { color: var(--rd-gold); margin-right: 3px; }

/* ── ARTICLE DETAIL ── */
.rd-article-header {
  margin-bottom: 20px;
}
.rd-article-cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  color: var(--rd-cyan);
  border: 1px solid rgba(74,184,216,.3);
  padding: 3px 10px; border-radius: 2px;
  margin-bottom: 14px;
  text-decoration: none;
}
.rd-article-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 700;
  letter-spacing: .5px;
  color: var(--rd-text-bright);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 14px;
}
.rd-article-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--rd-text-dim);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .5px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rd-border);
  margin-bottom: 20px;
  align-items: center;
}
.rd-article-meta i { color: var(--rd-gold); margin-right: 4px; }

.rd-article-hero {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border: 1px solid var(--rd-border);
  border-radius: 4px;
  margin-bottom: 20px;
}
.rd-article-hero-placeholder {
  width: 100%; height: 280px;
  background: linear-gradient(135deg, #0a1a2a, #1a2a3a);
  border: 1px solid var(--rd-border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: rgba(74,184,216,.08);
  margin-bottom: 20px;
}

.rd-ringkasan {
  background: rgba(74,184,216,.06);
  border-left: 3px solid var(--rd-cyan);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--rd-text-dim);
  font-size: 14px;
  line-height: 1.65;
  border-radius: 0 4px 4px 0;
}

.rd-article-body {
  background: var(--rd-panel);
  border: 1px solid var(--rd-border);
  border-radius: 6px;
  padding: 24px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(200,218,232,.9);
}
.rd-article-body h1, .rd-article-body h2, .rd-article-body h3,
.rd-article-body h4, .rd-article-body h5, .rd-article-body h6 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--rd-text-bright);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 1.4em 0 .6em;
}
.rd-article-body p { margin-bottom: 1em; }
.rd-article-body img { max-width: 100%; border-radius: 4px; }
.rd-article-body a { color: var(--rd-cyan); }
.rd-article-body blockquote {
  border-left: 3px solid var(--rd-gold);
  padding: 10px 18px;
  margin: 1.2em 0;
  background: rgba(184,149,42,.07);
  font-style: italic;
  color: var(--rd-text-dim);
}

.rd-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rd-tag-pill {
  font-size: 11px; font-family: 'Rajdhani', sans-serif;
  letter-spacing: .8px;
  color: var(--rd-text-dim);
  border: 1px solid var(--rd-border);
  padding: 3px 12px; border-radius: 2px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  text-decoration: none;
}
.rd-tag-pill:hover { border-color: var(--rd-cyan); color: var(--rd-cyan); }

.rd-entities-panel {
  background: var(--rd-panel2);
  border: 1px solid var(--rd-border);
  border-left: 3px solid var(--rd-gold);
  border-radius: 4px;
  padding: 14px 18px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--rd-text-dim);
}
.rd-entities-panel-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; color: var(--rd-gold);
  margin-bottom: 8px;
}
.rd-entities-panel div { margin-bottom: 4px; }
.rd-entities-panel strong { color: var(--rd-text-bright); }

.rd-share-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; margin-top: 20px;
  font-size: 12px; color: var(--rd-text-dim);
}

/* Related cards */
.rd-related-card {
  background: var(--rd-panel);
  border: 1px solid var(--rd-border);
  border-radius: 6px; overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
  height: 100%;
  display: flex; flex-direction: column;
}
.rd-related-card:hover { border-color: var(--rd-cyan); transform: translateY(-2px); }
.rd-related-thumb {
  height: 100px;
  background: linear-gradient(135deg, #0a1a2a, #1a2a3a);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: rgba(255,255,255,.06);
  overflow: hidden;
}
.rd-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-related-body { padding: 10px 12px; flex: 1; }
.rd-related-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px; font-weight: 700;
  color: var(--rd-text-bright);
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-related-card:hover .rd-related-title { color: var(--rd-cyan2); }
.rd-related-date { font-size: 10px; color: var(--rd-text-dim); margin-top: 6px; font-family: 'Rajdhani', sans-serif; }

/* ── PAGINATION ── */
.rd-pagination .page-item .page-link {
  background: var(--rd-panel);
  border-color: var(--rd-border);
  color: var(--rd-text-dim);
  border-radius: 0;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .5px;
}
.rd-pagination .page-item.active .page-link {
  background: var(--rd-accent);
  border-color: var(--rd-cyan);
  color: var(--rd-cyan);
}
.rd-pagination .page-item .page-link:hover {
  background: var(--rd-accent);
  border-color: var(--rd-cyan);
  color: var(--rd-cyan);
}
.rd-pagination .page-item.disabled .page-link {
  background: var(--rd-panel);
  border-color: var(--rd-border);
  color: rgba(122,154,176,.3);
}

/* ── EMPTY STATE ── */
.rd-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--rd-text-dim);
}
.rd-empty i { font-size: 48px; margin-bottom: 16px; color: rgba(74,184,216,.15); display: block; }
.rd-empty h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--rd-text-bright); margin-bottom: 8px;
}

/* ── STATUSBAR ── */
.rd-statusbar {
  grid-column: 1 / -1;
  background: rgba(8,14,22,.95);
  border-top: 1px solid var(--rd-border);
  padding: 7px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--rd-text-dim);
  letter-spacing: .8px;
  position: sticky;
  bottom: 0;
  z-index: 100;
}
.rd-status-right { display: flex; align-items: center; gap: 10px; }
.rd-status-star { color: var(--rd-gold); }

/* ── SENTIMENT ── */
.rd-sentiment {
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 2px;
  font-family: 'Rajdhani', sans-serif; letter-spacing: .5px;
}
.rd-sentiment-positive { background: rgba(52,211,153,.12); color: #34d399; border: 1px solid rgba(52,211,153,.25); }
.rd-sentiment-negative { background: rgba(239,68,68,.12);  color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.rd-sentiment-neutral  { background: rgba(122,154,176,.1);  color: #7a9ab0; border: 1px solid rgba(122,154,176,.2); }

/* ── CATEGORY HEADER ── */
.rd-cat-header {
  background: var(--rd-panel2);
  border: 1px solid var(--rd-border);
  border-left: 3px solid var(--rd-cyan);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.rd-cat-header-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--rd-text-bright);
  display: flex; align-items: center; gap: 10px;
}
.rd-cat-header-title i { color: var(--rd-cyan); }
.rd-cat-header-count { font-size: 12px; color: var(--rd-text-dim); margin-top: 4px; }

/* ── FEATURED SINGLE (2-kolom berdampingan) ── */
.rd-featured-single {
  background: var(--rd-panel2);
  border: 1px solid var(--rd-gold);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color .25s;
}
.rd-featured-single:hover { border-color: var(--rd-gold-light); }

.rd-featured-single-img {
  width: 100%; height: 180px;
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.rd-featured-single-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.rd-featured-single:hover .rd-featured-single-img img { transform: scale(1.04); }
/* badge category positioning inside image */
.rd-featured-single-img .rd-trend-cat,
.rd-featured-single-placeholder .rd-trend-cat {
  position: absolute; bottom: 8px; right: 8px;
}

.rd-featured-single-placeholder {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, #0a1a2a, #1a2a3a);
  display: flex; align-items: center; justify-content: center;
  font-size: 50px; color: rgba(74,184,216,.1);
  position: relative; flex-shrink: 0;
}
.rd-featured-single-body {
  padding: 14px 16px;
  display: flex; flex-direction: column; flex: 1;
}
.rd-featured-single-body .rd-featured-title {
  font-size: 15px;
  -webkit-line-clamp: 3;
  margin-bottom: 8px;
}
.rd-featured-single-body .rd-featured-excerpt {
  font-size: 12px;
  -webkit-line-clamp: 2;
  flex: 1;
  margin-bottom: 10px;
}
.rd-featured-single-body .rd-featured-date { font-size: 11px; }

/* ── MINI ARTICLE ROW ── */
.rd-mini-row {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rd-border);
  text-decoration: none;
  align-items: flex-start;
  transition: opacity .2s;
}
.rd-mini-row:last-of-type { border-bottom: none; }
.rd-mini-row:hover { opacity: .8; }

.rd-mini-thumb {
  width: 80px; height: 58px; flex-shrink: 0;
  background: linear-gradient(135deg, #0a1a2a, #1a2a3a);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: rgba(74,184,216,.15);
  overflow: hidden; border-radius: 3px;
}
.rd-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-mini-cat {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 1px; color: var(--rd-cyan);
  margin-bottom: 3px;
}
.rd-mini-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: .5px;
  color: var(--rd-text-bright);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-mini-row:hover .rd-mini-title { color: var(--rd-cyan2); }
.rd-mini-date {
  font-size: 10px; color: var(--rd-text-dim);
  font-family: 'Rajdhani', sans-serif;
  margin-top: 4px; letter-spacing: .5px;
}

/* ── LIHAT SELENGKAPNYA BUTTON ── */
.rd-lihat-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid var(--rd-gold);
  color: var(--rd-gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px;
  padding: 10px 28px;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.rd-lihat-btn:hover {
  border-color: var(--rd-gold-light);
  color: var(--rd-gold-light);
  background: rgba(184,149,42,.07);
}

/* ── MOBILE SIDEBAR TOGGLE BUTTON ── */
.rd-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rd-border);
  color: var(--rd-text-dim);
  font-size: 18px;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
}
.rd-menu-toggle:hover { border-color: var(--rd-cyan); color: var(--rd-cyan); }

/* Sidebar mobile overlay backdrop */
.rd-sidebar-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5,10,18,.75);
  z-index: 199;
  backdrop-filter: blur(2px);
}
.rd-sidebar-backdrop.open { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .rd-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }

  /* Sidebar slide-in dari kiri */
  .rd-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 280px;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }
  .rd-sidebar.open { transform: translateX(0); }

  .rd-menu-toggle { display: inline-flex; }

  .rd-topbar { position: sticky; top: 0; z-index: 100; }

  .rd-featured-card {
    grid-template-columns: 1fr;
  }
  .rd-featured-right { min-height: 200px; }
}
@media (max-width: 768px) {
  .rd-main-inner { padding: 16px; }
  .rd-article-title { font-size: 22px; }
  .rd-trend-card { margin-bottom: 12px; }
  .rd-article-row-thumb { width: 110px; }
  .rd-sidebar { width: 260px; }
}
