/**
 * SuaraPress Theme Stylesheet (v2.0.0)
 * Based on SuaraMerdeka.com UI/UX Design System
 * Creator: Rifan Muazin -> https://gig.web.id
 * Version: 2.0.0
 */

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  --sp-primary: #3581bc;
  --sp-primary-dark: #2f4276;
  --sp-primary-light: #d2ecff;
  --sp-primary-soft: #8bceff;
  --sp-accent: #d87d35;
  --sp-accent-light: #ffc08e;
  --sp-dark: #14142b;
  --sp-dark-alt: #22223b;
  --sp-text: #2b2c34;
  --sp-text-muted: #6e7191;
  --sp-text-light: #a0a3bd;
  --sp-bg-light: #f7f7f7;
  --sp-bg-card: #ffffff;
  --sp-white: #ffffff;
  --sp-border: #e2e4ed;
  --sp-border-light: #eceef5;
  --sp-radius-sm: 4px;
  --sp-radius: 8px;
  --sp-radius-lg: 12px;
  --sp-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  --sp-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --sp-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --sp-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sp-container: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sp-font);
  color: var(--sp-text);
  background-color: var(--sp-bg-body, #f4f5f8);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--sp-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

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

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--sp-dark);
  font-weight: 700;
  line-height: 1.35;
}

.sp-badge {
  display: inline-block;
  background-color: var(--sp-badge-bg, var(--sp-primary));
  color: var(--sp-badge-text, var(--sp-white));
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--sp-radius-sm);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  transition: background-color 0.2s ease;
}

.sp-badge:hover {
  background-color: var(--sp-primary-dark);
  color: var(--sp-white);
}

.sp-badge--accent {
  background-color: var(--sp-accent);
}

.sp-badge--accent:hover {
  background-color: #b86224;
}

.sp-meta {
  font-size: 12px;
  color: var(--sp-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sp-meta svg {
  width: 13px;
  height: 13px;
  stroke: var(--sp-text-light);
}

.sp-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sp-border);
}

.sp-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 70px;
  height: 3px;
  background-color: var(--sp-primary);
}

.sp-section-title.accent::after {
  background-color: var(--sp-accent);
}

.sp-section-title h2,
.sp-section-title h3 {
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--sp-dark);
}

.sp-section-title a.more-link {
  font-size: 13px;
  color: var(--sp-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-section-title a.more-link:hover {
  color: var(--sp-primary-dark);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.sp-header {
  background-color: var(--sp-white);
  box-shadow: var(--sp-shadow);
  position: relative;
  z-index: 1000;
}

/* Header Top / Network Bar */
.sp-header-top {
  background-color: var(--sp-header-top-bg, var(--sp-bg-light));
  border-bottom: 1px solid var(--sp-border-light);
  font-size: 12px;
  color: var(--sp-text-muted);
  padding: 6px 0;
}

.sp-header-top .sp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-header-top-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sp-header-date {
  font-weight: 500;
  color: var(--sp-text);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Network Dropdown filled with category list */
.sp-network-dropdown {
  position: relative;
  display: inline-block;
}

.sp-network-btn {
  background: none;
  border: none;
  color: var(--sp-primary-dark);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: var(--sp-radius-sm);
  transition: background 0.2s;
}

.sp-network-btn:hover {
  background-color: var(--sp-primary-light);
}

.sp-network-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--sp-white);
  box-shadow: var(--sp-shadow-md);
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  min-width: 220px;
  max-height: 380px;
  overflow-y: auto;
  z-index: 1001;
  padding: 8px 0;
}

.sp-network-dropdown:hover .sp-network-menu {
  display: block;
}

.sp-network-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--sp-dark);
  border-bottom: 1px solid var(--sp-border-light);
}

.sp-network-menu a:last-child {
  border-bottom: none;
}

.sp-network-menu a:hover {
  background-color: var(--sp-bg-light);
  color: var(--sp-primary);
  padding-left: 17px;
}

.sp-header-top-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Switcher */
.sp-lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
}

.sp-lang-btn {
  padding: 2px 6px;
  border-radius: var(--sp-radius-sm);
  color: var(--sp-text-muted);
  text-transform: uppercase;
}

.sp-lang-btn.active {
  background-color: var(--sp-primary);
  color: var(--sp-white);
}

.sp-social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--sp-text-muted);
  background-color: var(--sp-white);
  border: 1px solid var(--sp-border);
  transition: all 0.2s;
}

.sp-social-links a:hover {
  background-color: var(--sp-primary);
  border-color: var(--sp-primary);
  color: var(--sp-white);
}

/* Header Middle (Logo & Banner) */
.sp-header-middle {
  padding: 16px 0;
  background-color: var(--sp-white);
}

.sp-header-middle .sp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sp-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-logo-text {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--sp-primary-dark);
}

.sp-logo-tagline {
  font-size: 11px;
  color: var(--sp-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

.sp-header-ad {
  max-width: 728px;
  display: flex;
  justify-content: flex-end;
}

.sp-header-ad img {
  border-radius: var(--sp-radius-sm);
}

/* ==========================================================================
   HEADER NAV: HORIZONTAL SCROLLABLE (TANPA GANTI BARIS)
   ========================================================================== */
.sp-header-nav {
  background-color: var(--sp-nav-bg, var(--sp-primary));
  color: var(--sp-nav-text, var(--sp-white));
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  position: relative;
}

.sp-header-nav .sp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Category menu container horizontal scroll without breaking line */
.sp-nav-menu-scroll-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.sp-nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.sp-nav-menu::-webkit-scrollbar {
  display: none;
}

.sp-nav-menu > li {
  position: relative;
  flex-shrink: 0;
}

.sp-nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  color: var(--sp-nav-text, var(--sp-white));
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sp-nav-menu > li.home-btn > a {
  padding-left: 12px;
  padding-right: 12px;
  background-color: rgba(0, 0, 0, 0.1);
}

.sp-nav-menu > li:hover > a,
.sp-nav-menu > li.current-menu-item > a {
  color: var(--sp-nav-hover, var(--sp-accent-light));
  background-color: rgba(0, 0, 0, 0.08);
}

/* Nav Scroll Arrows */
.sp-nav-scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.15);
  border: none;
  color: var(--sp-white);
  width: 26px;
  height: 44px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  z-index: 5;
}

.sp-nav-scroll-btn:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* Submenu Dropdown */
.sp-nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--sp-white);
  box-shadow: var(--sp-shadow-md);
  border-radius: 0 0 var(--sp-radius) var(--sp-radius);
  min-width: 190px;
  padding: 8px 0;
  z-index: 1002;
  border-top: 3px solid var(--sp-primary);
}

.sp-nav-menu li:hover > .sub-menu {
  display: block;
}

.sp-nav-menu .sub-menu a {
  display: block;
  padding: 7px 16px;
  color: var(--sp-dark);
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
}

.sp-nav-menu .sub-menu a:hover {
  background-color: var(--sp-bg-light);
  color: var(--sp-primary);
  padding-left: 19px;
}

.sp-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}

.sp-search-toggle-btn {
  background: none;
  border: none;
  color: var(--sp-white);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  border-radius: var(--sp-radius-sm);
  transition: background 0.2s;
}

.sp-search-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.sp-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--sp-white);
  cursor: pointer;
  padding: 8px;
}

/* Search Modal Popup */
.sp-search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 43, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}

.sp-search-modal.active {
  display: flex;
}

.sp-search-box {
  background-color: var(--sp-white);
  padding: 24px;
  border-radius: var(--sp-radius-lg);
  max-width: 600px;
  width: 90%;
  box-shadow: var(--sp-shadow-lg);
  position: relative;
}

.sp-search-form {
  display: flex;
  gap: 8px;
}

.sp-search-form input[type="search"],
.sp-search-form input[type="text"] {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--sp-border);
  border-radius: var(--sp-radius);
  font-size: 15px;
  color: var(--sp-dark);
}

.sp-search-form input:focus {
  border-color: var(--sp-primary);
}

.sp-search-form button {
  background-color: var(--sp-primary);
  color: var(--sp-white);
  border: none;
  border-radius: var(--sp-radius);
  padding: 0 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.sp-search-form button:hover {
  background-color: var(--sp-primary-dark);
}

.sp-search-close {
  position: absolute;
  top: -38px;
  right: 0;
  color: var(--sp-white);
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ==========================================================================
   TRENDING TICKER
   ========================================================================== */
.sp-trending-bar {
  background-color: var(--sp-white);
  border-bottom: 1px solid var(--sp-border);
  padding: 8px 0;
  font-size: 12.5px;
}

.sp-trending-bar .sp-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-trending-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--sp-accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.sp-trending-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.sp-trending-list::-webkit-scrollbar {
  display: none;
}

.sp-trending-pill {
  display: inline-block;
  background-color: var(--sp-bg-light);
  color: var(--sp-text);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid var(--sp-border-light);
  transition: all 0.2s ease;
}

.sp-trending-pill:hover {
  background-color: var(--sp-primary-light);
  color: var(--sp-primary-dark);
  border-color: var(--sp-primary);
}

/* ==========================================================================
   LAYOUT STRUCTURE (MAIN + SIDEBAR)
   ========================================================================== */
.sp-site-content {
  padding: 24px 0 48px;
}

.sp-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.sp-main-content {
  min-width: 0;
}

.sp-sidebar {
  min-width: 0;
}

/* ==========================================================================
   HOMEPAGE & ARCHIVE MULTIBLOCKS
   ========================================================================== */

/* --- BLOCK: HERO HEADLINE --- */
.sp-headline-block {
  margin-bottom: 30px;
}

.sp-headline-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 14px;
}

.sp-headline-big {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  box-shadow: var(--sp-shadow);
  height: 420px;
  background-color: var(--sp-dark);
}

.sp-headline-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sp-headline-big:hover img {
  transform: scale(1.03);
}

.sp-headline-big-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(20,20,43,0) 0%, rgba(20,20,43,0.85) 60%, rgba(20,20,43,0.95) 100%);
  color: var(--sp-white);
}

.sp-headline-big-title {
  font-size: 24px;
  line-height: 1.3;
  margin: 8px 0;
}

.sp-headline-big-title a {
  color: var(--sp-white);
}

.sp-headline-big-title a:hover {
  color: var(--sp-accent-light);
}

.sp-headline-big .sp-meta {
  color: #d1d5db;
}

.sp-headline-smalls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.sp-headline-small-card {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  height: 203px;
  background-color: var(--sp-dark);
}

.sp-headline-small-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sp-headline-small-card:hover img {
  transform: scale(1.04);
}

.sp-headline-small-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(180deg, rgba(20,20,43,0) 0%, rgba(20,20,43,0.85) 65%, rgba(20,20,43,0.95) 100%);
}

.sp-headline-small-title {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 600;
  margin-top: 4px;
}

.sp-headline-small-title a {
  color: var(--sp-white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-headline-small-title a:hover {
  color: var(--sp-accent-light);
}

/* --- BLOCK: EDITORS CHOICE --- */
.sp-editors-choice-block {
  background-color: var(--sp-bg-card, var(--sp-white));
  padding: 20px;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 30px;
}

.sp-editors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sp-editor-card {
  display: flex;
  flex-direction: column;
}

.sp-editor-thumb {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 10px;
}

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

.sp-editor-card:hover .sp-editor-thumb img {
  transform: scale(1.05);
}

.sp-editor-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.sp-editor-title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- BLOCK: 1 BIG + 4 LIST (MULTIBLOCK 1) --- */
.sp-block-biglist {
  background-color: var(--sp-bg-card, var(--sp-white));
  padding: 20px;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 30px;
}

.sp-biglist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sp-biglist-left {
  display: flex;
  flex-direction: column;
}

.sp-biglist-lead-thumb {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 12px;
}

.sp-biglist-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sp-biglist-left:hover .sp-biglist-lead-thumb img {
  transform: scale(1.04);
}

.sp-biglist-lead-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.sp-biglist-lead-excerpt {
  font-size: 13.5px;
  color: var(--sp-text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-biglist-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-list-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sp-border-light);
}

.sp-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sp-list-thumb {
  position: relative;
  border-radius: var(--sp-radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.sp-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sp-list-item:hover .sp-list-thumb img {
  transform: scale(1.05);
}

.sp-list-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.sp-list-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- BLOCK: GRID CARDS (MULTIBLOCK 2 & ARCHIVE GRID) --- */
.sp-block-grid {
  background-color: var(--sp-bg-card, var(--sp-white));
  padding: 20px;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 30px;
}

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

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

.sp-grid-thumb {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 10px;
}

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

.sp-grid-card:hover .sp-grid-thumb img {
  transform: scale(1.05);
}

.sp-grid-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.sp-grid-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- ARCHIVE MULTI-BLOCK: HERO LEAD CARD --- */
.sp-archive-hero-block {
  margin-bottom: 24px;
}

.sp-archive-hero-card {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  box-shadow: var(--sp-shadow);
  height: 360px;
  background-color: var(--sp-dark);
}

.sp-archive-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sp-archive-hero-card:hover img {
  transform: scale(1.03);
}

.sp-archive-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(20,20,43,0) 0%, rgba(20,20,43,0.85) 60%, rgba(20,20,43,0.95) 100%);
  color: var(--sp-white);
}

.sp-archive-hero-title {
  font-size: 22px;
  line-height: 1.35;
  margin: 6px 0;
}

.sp-archive-hero-title a {
  color: var(--sp-white);
}

.sp-archive-hero-title a:hover {
  color: var(--sp-accent-light);
}

/* --- BLOCK: MULTIMEDIA (DARK THEME) --- */
.sp-block-multimedia {
  background-color: #14142b;
  color: var(--sp-white);
  padding: 24px;
  border-radius: var(--sp-radius-lg);
  margin-bottom: 30px;
}

.sp-block-multimedia .sp-section-title {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sp-block-multimedia .sp-section-title h2 {
  color: var(--sp-white);
}

.sp-block-multimedia .sp-section-title a.more-link {
  color: var(--sp-primary-soft);
}

.sp-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sp-media-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.sp-media-thumb {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 10px;
}

.sp-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sp-media-card:hover .sp-media-thumb img {
  transform: scale(1.05);
}

.sp-media-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: rgba(53, 129, 188, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sp-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.sp-media-card:hover .sp-media-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--sp-accent);
}

.sp-media-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--sp-white);
}

.sp-media-title a {
  color: #f1f2f6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- BLOCK: OPINI & KOLOM --- */
.sp-block-opinion {
  background-color: var(--sp-bg-card, var(--sp-white));
  padding: 20px;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 30px;
}

.sp-opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sp-opinion-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background-color: var(--sp-bg-light);
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border-light);
  transition: all 0.2s ease;
}

.sp-opinion-card:hover {
  border-color: var(--sp-primary);
  background-color: var(--sp-white);
  box-shadow: var(--sp-shadow);
}

.sp-opinion-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--sp-primary);
}

.sp-opinion-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-opinion-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-primary-dark);
  text-transform: uppercase;
}

.sp-opinion-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 4px;
}

.sp-opinion-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- BLOCK: BERITA TERKINI (LATEST FEED) --- */
.sp-latest-feed-block {
  background-color: var(--sp-bg-card, var(--sp-white));
  padding: 22px;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 30px;
}

.sp-latest-feed-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sp-feed-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sp-border-light);
}

.sp-feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sp-feed-thumb {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.sp-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sp-feed-item:hover .sp-feed-thumb img {
  transform: scale(1.05);
}

.sp-feed-details {
  display: flex;
  flex-direction: column;
}

.sp-feed-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 4px 0 6px;
}

.sp-feed-title a {
  color: var(--sp-dark);
}

.sp-feed-title a:hover {
  color: var(--sp-primary);
}

.sp-feed-excerpt {
  font-size: 13px;
  color: var(--sp-text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-loadmore-wrap {
  text-align: center;
  margin-top: 24px;
}

.sp-btn-loadmore {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid var(--sp-primary);
  border-radius: 30px;
  color: var(--sp-primary);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--sp-white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sp-btn-loadmore:hover {
  background-color: var(--sp-primary);
  color: var(--sp-white);
}

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */
.sp-widget {
  background-color: var(--sp-bg-card, var(--sp-white));
  padding: 20px;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 24px;
}

.sp-widget-title {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--sp-border);
}

.sp-widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 3px;
  background-color: var(--sp-primary);
}

/* WIDGET: TERPOPULER 1-10 */
.sp-popular-widget .sp-popular-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--sp-border-light);
  padding-bottom: 8px;
}

.sp-popular-tab-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-text-muted);
  cursor: pointer;
  border-radius: var(--sp-radius-sm);
  transition: all 0.2s;
}

.sp-popular-tab-btn.active,
.sp-popular-tab-btn:hover {
  background-color: var(--sp-primary-light);
  color: var(--sp-primary-dark);
}

.sp-popular-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sp-border-light);
}

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

.sp-popular-rank {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: #adb5bd;
  min-width: 26px;
  text-align: center;
}

.sp-popular-item:nth-child(1) .sp-popular-rank {
  color: #e63946;
}
.sp-popular-item:nth-child(2) .sp-popular-rank {
  color: var(--sp-accent);
}
.sp-popular-item:nth-child(3) .sp-popular-rank {
  color: var(--sp-primary);
}

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

.sp-popular-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.sp-popular-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* WIDGET: LATEST & RANDOM NEWS (WITH OR WITHOUT FEATURED) */
.sp-widget-posts-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-widget-featured-card {
  margin-bottom: 6px;
}

.sp-widget-featured-thumb {
  position: relative;
  border-radius: var(--sp-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 8px;
}

.sp-widget-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sp-widget-featured-card:hover .sp-widget-featured-thumb img {
  transform: scale(1.05);
}

.sp-widget-featured-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.sp-widget-list-item {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sp-border-light);
}

.sp-widget-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sp-widget-list-thumb {
  position: relative;
  border-radius: var(--sp-radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.sp-widget-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sp-widget-list-item:hover .sp-widget-list-thumb img {
  transform: scale(1.05);
}

.sp-widget-list-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
}

.sp-widget-list-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* WIDGET: ADVERTISEMENT */
.sp-ad-widget {
  text-align: center;
  padding: 12px;
  background-color: var(--sp-bg-light);
  border: 1px dashed var(--sp-border);
}

.sp-ad-label {
  font-size: 10px;
  color: var(--sp-text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

/* WIDGET: SOSIAL MEDIA GRID */
.sp-social-widget-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.sp-social-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--sp-radius-sm);
  color: var(--sp-white);
  font-size: 11.5px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.sp-social-card:hover {
  opacity: 0.9;
  color: var(--sp-white);
}

.sp-social-card.fb { background-color: #1877f2; }
.sp-social-card.tw { background-color: #000000; }
.sp-social-card.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sp-social-card.yt { background-color: #ff0000; }
.sp-social-card.tt { background-color: #010101; }
.sp-social-card.tg { background-color: #229ed9; }
.sp-social-card.th { background-color: #101010; }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.sp-single-article {
  background-color: var(--sp-bg-card, var(--sp-white));
  padding: 28px;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 30px;
}

.sp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--sp-text-muted);
  margin-bottom: 14px;
}

.sp-breadcrumb a {
  color: var(--sp-primary);
}

.sp-breadcrumb a:hover {
  color: var(--sp-primary-dark);
}

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

.sp-single-title {
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--sp-dark);
}

.sp-single-lead {
  font-size: 16px;
  color: var(--sp-text);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.sp-byline-author-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--sp-border);
}

.sp-byline-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-byline-info {
  font-size: 12.5px;
}

.sp-byline-name {
  font-weight: 700;
  color: var(--sp-primary-dark);
}

.sp-byline-date {
  color: var(--sp-text-muted);
}

.sp-share-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--sp-white);
  font-size: 11.5px;
  font-weight: 600;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
}

.sp-share-btn:hover {
  opacity: 0.9;
  color: var(--sp-white);
}

.sp-share-btn.wa { background-color: #25d366; }
.sp-share-btn.fb { background-color: #1877f2; }
.sp-share-btn.x { background-color: #111111; }
.sp-share-btn.tg { background-color: #229ed9; }
.sp-share-btn.cp { background-color: #6c757d; }

.sp-single-featured-image {
  margin-bottom: 24px;
}

.sp-single-featured-image img {
  width: 100%;
  border-radius: var(--sp-radius);
  max-height: 520px;
  object-fit: cover;
}

.sp-single-image-caption {
  font-size: 12px;
  color: var(--sp-text-muted);
  margin-top: 8px;
  font-style: italic;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sp-article-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--sp-text);
}

.sp-article-body p {
  margin-bottom: 20px;
}

.sp-article-body a {
  color: var(--sp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-article-body blockquote {
  border-left: 4px solid var(--sp-primary);
  padding: 12px 18px;
  background-color: var(--sp-bg-light);
  margin: 20px 0;
  font-style: italic;
  color: #333;
}

.sp-baca-juga-box {
  background-color: #f0f6fa;
  border-left: 4px solid var(--sp-primary);
  padding: 14px 18px;
  border-radius: 0 var(--sp-radius) var(--sp-radius) 0;
  margin: 24px 0;
}

.sp-baca-juga-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sp-primary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.sp-baca-juga-title {
  font-size: 15px;
  font-weight: 600;
}

.sp-baca-juga-title a {
  color: var(--sp-dark);
  text-decoration: none;
}

.sp-post-page-nav {
  margin: 24px 0;
  padding: 14px;
  background-color: var(--sp-bg-light);
  border-radius: var(--sp-radius);
  text-align: center;
}

.sp-post-page-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sp-dark);
  margin-bottom: 8px;
}

.sp-post-page-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sp-post-page-links a,
.sp-post-page-links .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--sp-radius-sm);
  border: 1px solid var(--sp-border);
}

.sp-post-page-links .current {
  background-color: var(--sp-primary);
  border-color: var(--sp-primary);
  color: var(--sp-white);
}

.sp-post-page-links a {
  background-color: var(--sp-white);
  color: var(--sp-dark);
}

.sp-single-tags {
  margin: 28px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-tag-pill {
  display: inline-block;
  background-color: var(--sp-bg-light);
  color: var(--sp-primary-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--sp-border);
  transition: all 0.2s;
}

.sp-tag-pill:hover {
  background-color: var(--sp-primary-dark);
  color: var(--sp-white);
  border-color: var(--sp-primary-dark);
}

.sp-author-box {
  display: flex;
  gap: 16px;
  padding: 18px;
  background-color: var(--sp-bg-light);
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border-light);
  margin-bottom: 28px;
}

.sp-author-box-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--sp-primary);
}

.sp-author-box-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-author-box-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-dark);
  margin-bottom: 4px;
}

.sp-author-box-bio {
  font-size: 12.5px;
  color: var(--sp-text-muted);
  line-height: 1.5;
}

.sp-related-posts {
  margin-top: 32px;
}

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

/* ==========================================================================
   ARCHIVE, CATEGORY, TAG & AUTHOR
   ========================================================================== */
.sp-archive-header {
  background-color: var(--sp-bg-card, var(--sp-white));
  padding: 24px;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 24px;
  border-left: 5px solid var(--sp-primary);
}

.sp-archive-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.sp-archive-desc {
  font-size: 13.5px;
  color: var(--sp-text-muted);
}

.sp-subcat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.sp-subcat-pill {
  display: inline-block;
  background-color: var(--sp-bg-light);
  color: var(--sp-text);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--sp-border);
}

.sp-subcat-pill:hover,
.sp-subcat-pill.active {
  background-color: var(--sp-primary);
  color: var(--sp-white);
  border-color: var(--sp-primary);
}

/* Author Banner Box */
.sp-author-archive-banner {
  display: flex;
  gap: 20px;
  align-items: center;
}

.sp-author-archive-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--sp-primary);
  flex-shrink: 0;
}

.sp-author-archive-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pagination */
.sp-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sp-pagination a,
.sp-pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--sp-radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--sp-border);
}

.sp-pagination .current {
  background-color: var(--sp-primary);
  border-color: var(--sp-primary);
  color: var(--sp-white);
}

.sp-pagination a {
  background-color: var(--sp-white);
  color: var(--sp-dark);
}

.sp-pagination a:hover {
  background-color: var(--sp-primary-light);
  border-color: var(--sp-primary);
  color: var(--sp-primary-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sp-footer {
  background-color: var(--sp-footer-bg, var(--sp-white));
  border-top: 1px solid var(--sp-border);
  margin-top: 40px;
}

.sp-footer-top {
  padding: 48px 0 32px;
}

.sp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.sp-footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sp-dark);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sp-border);
}

.sp-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 35px;
  height: 2px;
  background-color: var(--sp-primary);
}

.sp-footer-info {
  font-size: 12.5px;
  color: var(--sp-text-muted);
  line-height: 1.7;
}

.sp-footer-verification {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 14px;
  background-color: var(--sp-bg-light);
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border-light);
}

.sp-footer-verification svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.sp-footer-verification-text {
  font-size: 11.5px;
  color: var(--sp-dark);
  line-height: 1.4;
}

.sp-footer-verification-text b {
  color: var(--sp-primary-dark);
}

.sp-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-footer-links a {
  font-size: 13px;
  color: var(--sp-text);
  transition: color 0.2s, padding-left 0.2s;
}

.sp-footer-links a:hover {
  color: var(--sp-primary);
  padding-left: 4px;
}

.sp-footer-bottom {
  background-color: var(--sp-footer-bottom-bg, var(--sp-bg-light));
  padding: 18px 0;
  border-top: 1px solid var(--sp-border-light);
  font-size: 12.5px;
  color: var(--sp-text-muted);
}

.sp-footer-bottom .sp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sp-copyright a {
  color: var(--sp-primary);
  font-weight: 600;
}

.sp-back-to-top {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--sp-text-muted);
  font-size: 12px;
  cursor: pointer;
}

.sp-back-to-top:hover {
  color: var(--sp-primary);
}

/* ==========================================================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 991px) {
  .sp-main-layout {
    grid-template-columns: 1fr;
  }
  .sp-headline-grid {
    grid-template-columns: 1fr;
  }
  .sp-headline-big {
    height: 350px;
  }
  .sp-editors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-biglist-grid {
    grid-template-columns: 1fr;
  }
  .sp-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-opinion-grid {
    grid-template-columns: 1fr;
  }
  .sp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .sp-header-top {
    display: none;
  }
  .sp-header-middle .sp-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .sp-header-ad {
    display: none;
  }
  .sp-mobile-menu-btn {
    display: flex;
  }
  .sp-headline-smalls {
    grid-template-columns: 1fr;
  }
  .sp-editors-grid {
    grid-template-columns: 1fr;
  }
  .sp-grid-cards {
    grid-template-columns: 1fr;
  }
  .sp-media-grid {
    grid-template-columns: 1fr;
  }
  .sp-feed-item {
    grid-template-columns: 120px 1fr;
  }
  .sp-footer-grid {
    grid-template-columns: 1fr;
  }
  .sp-single-title {
    font-size: 22px;
  }
  .sp-related-grid {
    grid-template-columns: 1fr;
  }
  .sp-author-archive-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   19. POST REACTIONS SYSTEM (DB PERSISTENT & AJAX)
   ========================================================================== */
.sp-reactions-wrapper {
  background: #ffffff;
  border: 1px solid var(--sp-border-light, #e2e8f0);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 28px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.sp-reactions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sp-border-light, #eef2f6);
}

.sp-reactions-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-reactions-icon {
  font-size: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(53, 129, 188, 0.08);
  border-radius: 10px;
}

.sp-reactions-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--sp-dark, #14142b);
}

.sp-reactions-subtitle {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--sp-text-muted, #6e7191);
}

.sp-reactions-total {
  text-align: right;
  background: var(--sp-bg-light, #f8fafc);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--sp-border-light, #e2e8f0);
}

.sp-total-count {
  font-size: 14px;
  font-weight: 800;
  color: var(--sp-primary, #3581bc);
  margin-right: 4px;
}

.sp-total-label {
  font-size: 11.5px;
  color: var(--sp-text-muted, #64748b);
}

.sp-reactions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.sp-reaction-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  background: #ffffff;
  border: 1.5px solid var(--sp-border-light, #e2e8f0);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  position: relative;
  outline: none;
  font-family: inherit;
}

.sp-reaction-btn:hover {
  transform: translateY(-4px);
  border-color: var(--sp-primary, #3581bc);
  box-shadow: 0 6px 16px rgba(53, 129, 188, 0.12);
}

.sp-reaction-btn.active {
  border-color: var(--sp-primary, #3581bc);
  background: rgba(53, 129, 188, 0.06);
  box-shadow: 0 4px 14px rgba(53, 129, 188, 0.15);
}

.sp-reaction-btn.pulse {
  transform: scale(0.95);
}

.sp-reaction-emoji {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sp-reaction-btn:hover .sp-reaction-emoji {
  transform: scale(1.22);
}

.sp-reaction-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-dark, #1e293b);
  margin-bottom: 4px;
}

.sp-reaction-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-text-muted, #64748b);
  margin-bottom: 6px;
}

.sp-reaction-progress {
  width: 100%;
  height: 5px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.sp-reaction-progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.sp-reaction-percent {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--sp-text-muted, #94a3b8);
}

.sp-reactions-feedback {
  margin-top: 14px;
  padding: 10px 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 8px;
  font-size: 12.5px;
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   20. REVAMPED MODERN COMMENTS SECTION
   ========================================================================== */
.sp-comments-area {
  margin-top: 36px;
}

.sp-comments-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--sp-border-light, #e2e8f0);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.sp-comments-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sp-comments-header-icon {
  width: 44px;
  height: 44px;
  background: rgba(53, 129, 188, 0.1);
  color: var(--sp-primary, #3581bc);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-comments-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--sp-dark, #14142b);
}

.sp-comments-desc {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--sp-text-muted, #6e7191);
}

.sp-btn-to-respond {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--sp-primary, #3581bc);
  color: #ffffff;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sp-btn-to-respond:hover {
  background: var(--sp-primary-dark, #2f4276);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Empty Comments Box */
.sp-comments-empty {
  text-align: center;
  padding: 36px 20px;
  background: #ffffff;
  border: 1px dashed var(--sp-border-light, #cbd5e1);
  border-radius: 12px;
  margin-bottom: 28px;
}

.sp-empty-icon {
  font-size: 38px;
  margin-bottom: 10px;
}

.sp-comments-empty h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--sp-dark, #1e293b);
}

.sp-comments-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--sp-text-muted, #64748b);
}

/* Comment List & Cards */
.sp-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.sp-comment-item {
  margin-bottom: 18px;
}

.sp-comment-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--sp-border-light, #e2e8f0);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease;
}

.sp-comment-card:hover {
  border-color: #cbd5e1;
}

.sp-comment-avatar img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: block;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sp-comment-content-wrap {
  flex: 1;
}

.sp-comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.sp-comment-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-comment-author {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sp-dark, #14142b);
}

.sp-comment-author a {
  color: inherit;
  text-decoration: none;
}

.sp-comment-badge-author {
  display: inline-block;
  padding: 2px 8px;
  background: var(--sp-primary, #3581bc);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.sp-comment-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--sp-text-muted, #94a3b8);
}

.sp-comment-reply a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--sp-bg-light, #f1f5f9);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sp-dark, #334155);
  text-decoration: none;
  transition: all 0.2s ease;
}

.sp-comment-reply a:hover {
  background: var(--sp-primary, #3581bc);
  color: #ffffff;
}

.sp-comment-moderation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  font-size: 12px;
  color: #b45309;
  margin-bottom: 10px;
}

.sp-comment-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sp-text, #334155);
}

.sp-comment-text p {
  margin: 0 0 8px;
}

.sp-comment-text p:last-child {
  margin-bottom: 0;
}

/* Thread Nesting Replies */
.sp-comment-item .children {
  list-style: none;
  padding-left: 0;
  margin-top: 14px;
  margin-left: 28px;
  border-left: 2.5px solid var(--sp-border-light, #e2e8f0);
}

.sp-comment-item .children .sp-comment-item {
  padding-left: 18px;
}

/* ==========================================================================
   21. COMMENT FORM (ELEGANT INPUTS & BUTTONS)
   ========================================================================== */
#respond {
  background: #ffffff;
  border: 1px solid var(--sp-border-light, #e2e8f0);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-top: 24px;
}

.sp-respond-title h4 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 800;
  color: var(--sp-dark, #14142b);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-cancel-reply-btn {
  display: inline-block;
  padding: 3px 8px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 10px;
  cursor: pointer;
}

.sp-comment-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  background: var(--sp-bg-light, #f8fafc);
  border: 1px solid var(--sp-border-light, #e2e8f0);
  border-radius: 8px;
  font-size: 12px;
  color: var(--sp-text-muted, #64748b);
  margin-bottom: 18px;
  line-height: 1.5;
}

.sp-comment-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--sp-primary, #3581bc);
}

.sp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.sp-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.sp-form-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sp-dark, #1e293b);
}

.sp-form-field label .required {
  color: #ef4444;
}

.sp-form-field input[type="text"],
.sp-form-field input[type="email"],
.sp-form-field input[type="url"],
.sp-form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--sp-border-light, #cbd5e1);
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--sp-dark, #1e293b);
  background: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sp-form-field input:focus,
.sp-form-field textarea:focus {
  outline: none;
  border-color: var(--sp-primary, #3581bc);
  box-shadow: 0 0 0 3px rgba(53, 129, 188, 0.15);
}

.sp-form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.sp-btn-submit-comment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--sp-primary, #3581bc);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(53, 129, 188, 0.25);
}

.sp-btn-submit-comment:hover {
  background: var(--sp-primary-dark, #2f4276);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(53, 129, 188, 0.35);
}

@media (max-width: 767px) {
  .sp-reactions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sp-form-grid {
    grid-template-columns: 1fr;
  }
  .sp-comment-card {
    padding: 14px;
  }
  .sp-comment-item .children {
    margin-left: 12px;
    padding-left: 10px;
  }
  #respond {
    padding: 18px 16px;
  }
}
