      /* CSS Variables */
        :root {
            --primary-color: #e11d48;
            --primary-dark: #be123c;
            --secondary-color: #0ea5e9;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --light-color: #f8fafc;
            --dark-color: #0f172a;
            --text-color: #1e293b;
            --text-light: #64748b;
            --border-color: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius: 0.5rem;
            --radius-lg: 1rem;
        }

        /* Dark Theme */
        [data-theme="dark"] {
            --light-color: #0f172a;
            --dark-color: #f8fafc;
            --text-color: #e2e8f0;
            --text-light: #94a3b8;
            --border-color: #334155;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
        }

        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-color);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Top Bar */
        .top-bar {
            background-color: var(--dark-color);
            color: var(--light-color);
            padding: 0.5rem 0;
            font-size: 0.875rem;
        }

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

        .top-bar-left, .top-bar-right {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .top-bar a {
            color: var(--light-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

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

        .date-time {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Header */
        header {
            background-color: var(--light-color);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }

        .header-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.75rem;
            font-weight: 800;
            text-decoration: none;
            white-space: nowrap;
        }

        .logo i {
            font-size: 2rem;
            color: var(--primary-color);
        }

        .logo-text {
            position: relative;
            display: inline-block;
        }

        .logo-text span {
            position: relative;
            z-index: 2;
        }

        .logo-text .forum {
            color: var(--primary-color) !important;
        }

        .logo-text .id {
            color: white !important;
            background-color: #e11d48;
            padding: 2px 6px;
            border-radius: 4px;
        }

        .header-nav {
            display: flex;
            list-style: none;
            gap: 0.5rem;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding-bottom: 2px;
        }

        .header-nav::-webkit-scrollbar {
            display: none;
        }

        .header-nav a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            transition: all 0.3s ease;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .header-nav a:hover, .header-nav a.active {
            background-color: var(--primary-color);
            color: white;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .search-box {
            position: relative;
            display: flex;
            align-items: center;
        }

        .search-box input {
            padding: 0.5rem 2.5rem 0.5rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            background-color: var(--light-color);
            color: var(--text-color);
            width: 200px;
            transition: all 0.3s ease;
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--primary-color);
            width: 250px;
        }

        .search-box i {
            position: absolute;
            right: 0.75rem;
            color: var(--text-light);
        }

        .theme-toggle {
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 1.25rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: var(--radius);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .theme-toggle:hover {
            background-color: var(--border-color);
        }

        /* Breaking News Ticker */
        .breaking-news {
            background-color: var(--primary-color);
            color: white;
            padding: 0.5rem 0;
            overflow: hidden;
        }

        .breaking-news-content {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .breaking-news-label {
            background-color: var(--dark-color);
            color: var(--light-color) !important; /* PERBAIKAN: Menggunakan variabel light-color agar berubah sesuai tema */
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius);
            font-weight: 700;
            font-size: 0.875rem;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .breaking-news-ticker {
            flex: 1;
            overflow: hidden;
            position: relative;
        }

        .breaking-news-text {
            display: inline-block;
            padding-left: 100%;
            animation: ticker 30s linear infinite;
            white-space: nowrap;
        }

        @keyframes ticker {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }

        /* Category Navigation - SELALU TERLIHAT */
        .category-nav {
            background-color: var(--light-color);
            border-bottom: 1px solid var(--border-color);
            padding: 0.75rem 0;
            position: sticky;
            top: 60px;
            z-index: 90;
            display: block !important; /* SELALU TERLIHAT */
        }

        .category-nav-wrapper {
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 0.5rem;
        }

        .category-nav-wrapper::-webkit-scrollbar {
            display: none;
        }

        .category-nav-list {
            display: flex;
            gap: 0.5rem;
            min-width: max-content;
        }

        .category-nav-item {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            background-color: var(--light-color);
            color: var(--text-color);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .category-nav-item:hover, .category-nav-item.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        /* Main Content */
        main {
            min-height: calc(100vh - 200px);
            padding: 1.5rem 0;
        }

        .main-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
        }

        /* Featured News */
        .featured-news {
            margin-bottom: 2rem;
        }

        .featured-news-main {
            position: relative;
            height: 400px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            margin-bottom: 1rem;
        }

        .featured-news-main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .featured-news-main:hover img {
            transform: scale(1.05);
        }

        .featured-news-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            padding: 2rem;
            color: white;
        }

        .featured-news-category {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .featured-news-title {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            line-height: 1.2;
        }

        .featured-news-excerpt {
            font-size: 1rem;
            opacity: 0.9;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .featured-news-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 0.875rem;
            opacity: 0.8;
        }

        .featured-news-secondary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }

        .featured-news-item {
            position: relative;
            height: 180px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .featured-news-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .featured-news-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .featured-news-item:hover img {
            transform: scale(1.05);
        }

        .featured-news-item-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 1rem;
            color: white;
        }

        .featured-news-item-title {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .featured-news-item-meta {
            font-size: 0.75rem;
            opacity: 0.8;
        }

        /* Latest News */
        .latest-news {
            margin-bottom: 2rem;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary-color);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .section-title i {
            color: var(--primary-color);
        }

        .section-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            transition: gap 0.3s ease;
        }

        .section-link:hover {
            gap: 0.5rem;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .news-card {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .news-image-container {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .news-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .news-card:hover .news-image {
            transform: scale(1.05);
        }

        .news-category-overlay {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background-color: var(--primary-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
        }

        .news-content {
            padding: 1.5rem;
        }

        .news-category {
            color: var(--primary-color);
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .news-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--text-color);
            cursor: pointer;
            transition: color 0.3s ease;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }

        .news-title:hover {
            color: var(--primary-color);
        }

        .news-excerpt {
            color: var(--text-light);
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.5;
        }

        .news-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.875rem;
            color: var(--text-light);
        }

        .news-date, .news-read-time {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        /* Other Posts List */
        .other-posts {
            margin-bottom: 2rem;
        }

        .other-posts-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .other-post-item {
            display: flex;
            flex-direction: column;
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            height: 100%;
        }

        .other-post-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .other-post-thumbnail {
            width: 100%;
            height: 180px;
            flex-shrink: 0;
        }

        .other-post-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .other-post-item:hover .other-post-thumbnail img {
            transform: scale(1.05);
        }

        .other-post-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 1.5rem;
        }

        .other-post-category {
            color: var(--primary-color);
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .other-post-title {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--text-color);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }

        .other-post-meta {
            font-size: 0.875rem;
            color: var(--text-light);
            margin-top: auto;
        }

        /* Product Ad Banner */
        .product-ad-banner {
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 2rem;
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            align-items: center;
        }

        .product-ad-banner.gradient-1 {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .product-ad-banner.gradient-2 {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .product-ad-banner.gradient-3 {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .product-ad-banner.gradient-4 {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        }

        .product-ad-banner.gradient-5 {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        }

        .product-ad-content {
            z-index: 2;
        }

        .product-ad-badge {
            display: inline-block;
            background-color: var(--secondary-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .product-ad-title {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .product-ad-description {
            font-size: 0.95rem;
            margin-bottom: 1rem;
            opacity: 0.9;
        }

        .product-ad-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1.2rem;
            background-color: white;
            color: var(--primary-color);
            border: none;
            border-radius: var(--radius);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .product-ad-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .product-ad-image {
            position: relative;
            height: 115px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            z-index: 2;
        }

        .product-ad-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .product-ad-image:hover img {
            transform: scale(1.05);
        }

        .product-ad-price {
            position: static !important;
            bottom: 0.75rem;
            right: 0.75rem;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 0.4rem 0.8rem;
            border-radius: var(--radius);
            font-size: 1.1rem;
            font-weight: 700;
            z-index: 3;
        }

        /* Product Ad in List */
        .product-ad-item {
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin: 1rem 0;
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            align-items: center;
        }

        .product-ad-item.gradient-1 {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .product-ad-item.gradient-2 {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .product-ad-item.gradient-3 {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        .product-ad-item.gradient-4 {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        }

        .product-ad-item.gradient-5 {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        }

        .product-ad-item-content {
            z-index: 2;
        }

        .product-ad-item-badge {
            display: inline-block;
            background-color: var(--secondary-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .product-ad-item-title {
            font-size: 1.25rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .product-ad-item-description {
            font-size: 0.9rem;
            margin-bottom: 1rem;
            opacity: 0.9;
        }

        .product-ad-item-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background-color: white;
            color: var(--primary-color);
            border: none;
            border-radius: var(--radius);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .product-ad-item-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .product-ad-item-image {
            position: relative;
            height: 150px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            z-index: 2;
        }

        .product-ad-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .product-ad-item-image:hover img {
            transform: scale(1.05);
        }

        .product-ad-item-price {
            position: absolute;
            bottom: 0.75rem;
            right: 0.75rem;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 0.4rem 0.8rem;
            border-radius: var(--radius);
            font-size: 1rem;
            font-weight: 700;
            z-index: 3;
        }

        /* Sidebar */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            position: relative;
        }

        .sidebar-section {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }

        /* Top Authors Section - Fixed for sticky behavior */
        .top-authors-section {
            position: sticky;
            top: 100px;
            z-index: 10;
        }

        .sidebar-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .sidebar-title i {
            color: var(--primary-color);
        }

        /* Trending News */
        .trending-news-list {
            list-style: none;
        }

        .trending-news-item {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .trending-news-item:last-child {
            border-bottom: none;
        }

        .trending-news-item:hover {
            padding-left: 0.5rem;
        }

        .trending-number {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary-color);
            min-width: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .trending-content {
            flex: 1;
        }

        .trending-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--text-color);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .trending-meta {
            font-size: 0.75rem;
            color: var(--text-light);
        }

        /* Latest Products */
        .latest-products-list {
            list-style: none;
        }

        .latest-product-item {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .latest-product-item:last-child {
            border-bottom: none;
        }

        .latest-product-item:hover {
            padding-left: 0.5rem;
        }

        .latest-product-thumbnail {
            width: 80px;
            height: 80px;
            border-radius: var(--radius);
            overflow: hidden;
            flex-shrink: 0;
        }

        .latest-product-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .latest-product-item:hover .latest-product-thumbnail img {
            transform: scale(1.05);
        }

        .latest-product-content {
            flex: 1;
        }

        .latest-product-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--text-color);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .latest-product-price {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.25rem;
        }

        .latest-product-meta {
            font-size: 0.75rem;
            color: var(--text-light);
        }

        /* Top Authors List */
        .top-authors-list {
            list-style: none;
        }

        .top-author-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .top-author-item:last-child {
            border-bottom: none;
        }

        .top-author-item:hover {
            padding-left: 0.5rem;
        }

        .top-author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary-color);
        }

        .top-author-info {
            flex: 1;
        }

        .top-author-name {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--text-color);
        }

        .top-author-posts {
            font-size: 0.875rem;
            color: var(--text-light);
        }

        .top-author-rank {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--primary-color);
            min-width: 30px;
            text-align: center;
        }

        /* Product Showcase */
        .product-showcase {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: var(--radius-lg);
            padding: 2rem;
            margin:0rem 0rem 1rem;
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .product-showcase-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: center;
        }

        .product-showcase-text h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }

        .product-showcase-text p {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }

        .product-showcase-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background-color: white;
            color: var(--primary-color);
            border: none;
            border-radius: var(--radius);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .product-showcase-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .product-showcase-image {
            position: relative;
            height: 250px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .product-showcase-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .product-showcase-image:hover img {
            transform: scale(1.05);
        }

        .product-showcase-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background-color: var(--secondary-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            z-index: 2;
        }

        .product-showcase-price {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            font-size: 1.25rem;
            font-weight: 700;
            z-index: 2;
        }

        /* Statistics Section */
        .statistics-section {
            background-color: var(--light-color);
            padding: 2rem 0;
            margin: 2rem 0;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .statistics-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            text-align: center;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .stat-icon {
            font-size: 2rem;
            color: var(--primary-color);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-color);
        }

        .stat-label {
            font-size: 1rem;
            color: var(--text-light);
        }

        /* Authors Section */
        .authors-section {
            margin: 2rem 0;
        }

        .authors-title {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: var(--text-color);
            text-align: center;
        }

        .authors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        .author-card {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .author-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
            border: 3px solid var(--primary-color);
        }

        .author-name {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }

        .author-bio {
            color: var(--text-light);
            font-size: 0.875rem;
        }

        /* Load More Button */
        .load-more-container {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }

        .load-more-btn {
            padding: 0.75rem 2rem;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: var(--radius);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .load-more-btn:hover {
            background-color: var(--primary-dark);
        }

        .load-more-btn.loading {
            opacity: 0.7;
            cursor: not-allowed;
        }

        /* Loading Indicator */
        .loading-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 200px;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid var(--border-color);
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* No Results */
        .no-results {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-light);
        }

        .no-results i {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--text-light);
        }

        .no-results h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }

        /* Footer */
        footer {
            background-color: var(--dark-color);
            color: var(--light-color);
            padding: 2rem 0 1rem;
            margin-top: 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 1rem;
        }

        .footer-section h3 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            color: white;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section li {
            margin-bottom: 0.5rem;
        }

        .footer-link {
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: white;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-light);
            font-size: 0.875rem;
        }

        /* Single News Article */
        .single-news-container {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
        }

        .single-news {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .single-news-image-container {
            position: relative;
            max-height: 400px;
            overflow: hidden;
        }

        .single-news-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* YouTube Video Container */
        .youtube-video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
            max-width: 100%;
            background: #000;
            border-radius: var(--radius-lg);
        }

        .youtube-video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .single-news-category {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background-color: var(--primary-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            font-weight: 600;
            z-index: 2;
        }

        .single-news-content {
            padding: 1rem;
        }

        .single-news-content h1, .single-news-content h2, .single-news-content h3 {
            margin-bottom: 1rem;
            color: var(--text-color);
        }

        .single-news-content p {
            margin-bottom: 1rem;
            color: var(--text-color);
            line-height: 1.7;
        }

        .single-news-content ul, .single-news-content ol {
            margin-bottom: 1rem;
            padding-left: 2rem;
            color: var(--text-color);
        }

        .single-news-content li {
            margin-bottom: 0.5rem;
        }

        .single-news-content blockquote {
            margin: 1rem 0;
            padding: 1rem;
            background-color: var(--border-color);
            border-left: 4px solid var(--primary-color);
            font-style: italic;
            color: var(--text-light);
        }

        .single-news-content img {
            min-width: 150px;
            min-height: 115px;
            border-radius: var(--radius);
            margin: 1rem 0;
        }

        .single-news-content code {
            background-color: var(--border-color);
            padding: 0.25rem 0.5rem;
            border-radius: var(--radius);
            font-family: monospace;
            color: var(--primary-color);
        }

        .single-news-content pre {
            background-color: var(--border-color);
            padding: 1rem;
            border-radius: var(--radius);
            overflow-x: auto;
            margin: 1rem 0;
        }

        .single-news-content pre code {
            background: none;
            padding: 0;
        }

        /* Table of Contents */
        .table-of-contents {
            background-color: var(--light-color);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 2rem;
            position: sticky;
            top: 100px;
            z-index: 10;
            box-shadow: var(--shadow);
        }

        .table-of-contents h3 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .table-of-contents h3 i {
            color: var(--primary-color);
        }

        .table-of-contents-list {
            list-style: none;
        }

        .table-of-contents-item {
            margin-bottom: 0.5rem;
        }

        .table-of-contents-link {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            display: block;
            padding: 0.5rem;
            border-radius: var(--radius);
            transition: all 0.3s ease;
        }

        .table-of-contents-link:hover {
            background-color: var(--primary-color);
            color: white;
            padding-left: 1rem;
        }

        .table-of-contents-link.h2 {
            font-weight: 600;
        }

        .table-of-contents-link.h3 {
            padding-left: 1.5rem;
            font-weight: 400;
            font-size: 0.95rem;
        }

        /* Table of Contents in Sidebar */
        .table-of-contents-sidebar {
            position: sticky;
            top: 100px;
            z-index: 10;
        }

        /* Hide table of contents on mobile */
        @media (max-width: 992px) {
            .table-of-contents-sidebar {
                display: none;
            }
        }

        /* Sidebar for Single News */
        .news-sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .author-card {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow);
        }

        .author-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
            border: 3px solid var(--primary-color);
        }

        .author-name {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }

        .author-bio {
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        .author-meta {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-top: 1rem;
            text-align: left;
        }

        .author-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-light);
            font-size: 0.875rem;
        }

        .author-meta-item i {
            color: var(--primary-color);
        }

        .related-news {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }

        .related-news-item {
            display: flex;
            gap: 1rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .related-news-item:last-child {
            border-bottom: none;
        }

        .related-news-item:hover {
            padding-left: 0.5rem;
        }

        .related-news-image {
            width: 80px;
            height: 80px;
            border-radius: var(--radius);
            object-fit: cover;
        }

        .related-news-content {
            flex: 1;
        }

        .related-news-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--text-color);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-news-meta {
            font-size: 0.75rem;
            color: var(--text-light);
        }

        /* Product Banner */
        .product-banner {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin: 2rem 0;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .product-banner-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: var(--secondary-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
        }

        .product-banner-content {
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 1.5rem;
        }

        .product-banner-image {
            height: 150px;
            border-radius: var(--radius);
            overflow: hidden;
        }

        .product-banner-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-banner-details {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .product-banner-category {
            color: var(--primary-color);
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .product-banner-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .product-banner-title:hover {
            color: var(--primary-color);
        }

        .product-banner-description {
            color: var(--text-light);
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-banner-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .product-banner-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-color);
        }

        .product-banner-actions {
            display: flex;
            gap: 0.5rem;
        }

        .product-banner-btn {
            padding: 0.5rem 0.75rem;
            border-radius: var(--radius);
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .product-banner-btn-secondary {
            background-color: var(--border-color);
            color: var(--text-color);
        }

        .product-banner-btn-secondary:hover {
            background-color: var(--text-light);
            color: white;
        }

        .product-banner-btn-primary {
            background-color: var(--primary-color);
            color: white;
        }

        .product-banner-btn-primary:hover {
            background-color: var(--primary-dark);
        }

        /* Forum Comments */
        .forum-comments {
            margin: 2rem 0;
            padding: 1.5rem;
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
        }

        .forum-comments h3 {
            margin-bottom: 1rem;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .forum-comment {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .forum-comment:last-child {
            border-bottom: none;
        }

        .forum-comment:hover {
            padding-left: 0.5rem;
        }

        .comment-avatar-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .comment-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }

        .comment-author {
            font-weight: 600;
            color: var(--text-color);
            font-size: 0.875rem;
        }

        .comment-date {
            font-size: 0.75rem;
            color: var(--text-light);
        }

        .comment-content {
            flex: 1;
        }

        .comment-text {
            color: var(--text-color);
            margin-bottom: 0.5rem;
        }

        .comment-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .star-rating {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .star {
            color: var(--border-color);
            font-size: 1rem;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .star:hover, .star.active {
            color: #fbbf24;
        }

        .star-count {
            font-size: 0.875rem;
            color: var(--text-light);
            margin-left: 0.25rem;
        }

        /* Shop Page */
        .shop-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .shop-title {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .shop-sort {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .shop-sort label {
            font-weight: 600;
            color: var(--text-color);
        }

        .shop-sort select {
            padding: 0.5rem;
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            background-color: var(--light-color);
            color: var(--text-color);
        }

        .shop-products {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .shop-product {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .shop-product:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .shop-product-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .shop-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .shop-product:hover .shop-product-image img {
            transform: scale(1.05);
        }

        .shop-product-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background-color: var(--secondary-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
        }

        .shop-product-content {
            padding: 1.5rem;
        }

        .shop-product-category {
            color: var(--primary-color);
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .shop-product-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .shop-product-title:hover {
            color: var(--primary-color);
        }

        .shop-product-description {
            color: var(--text-light);
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .shop-product-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .shop-product-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-color);
        }

        .shop-product-actions {
            display: flex;
            gap: 0.5rem;
        }

        .shop-product-btn {
            padding: 0.5rem;
            border-radius: var(--radius);
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .shop-product-btn-secondary {
            background-color: var(--border-color);
            color: var(--text-color);
        }

        .shop-product-btn-secondary:hover {
            background-color: var(--text-light);
            color: white;
        }

        .shop-product-btn-primary {
            background-color: var(--primary-color);
            color: white;
        }

        .shop-product-btn-primary:hover {
            background-color: var(--primary-dark);
        }

        /* Single Product */
        .single-product-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .single-product-image {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .single-product-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .single-product-meta {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 2rem 1rem 1rem;
            color: white;
        }

        .single-product-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .single-product-meta-icon {
            width: 30px;
            height: 30px;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .single-product-meta-content h4 {
            font-size: 0.875rem;
            margin-bottom: 0.25rem;
        }

        .single-product-meta-content p {
            font-size: 0.75rem;
            opacity: 0.8;
        }

        .single-product-details {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .single-product-category {
            color: var(--primary-color);
            font-size: 0.875rem;
            font-weight: 600;
        }

        .single-product-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-color);
        }

        .single-product-description {
            color: var(--text-light);
            line-height: 1.6;
        }

        .single-product-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-color);
        }

        .single-product-actions {
            display: flex;
            gap: 1rem;
        }

        .single-product-btn {
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius);
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .single-product-btn-secondary {
            background-color: var(--border-color);
            color: var(--text-color);
        }

        .single-product-btn-secondary:hover {
            background-color: var(--text-light);
            color: white;
        }

        .single-product-btn-primary {
            background-color: var(--primary-color);
            color: white;
        }

        .single-product-btn-primary:hover {
            background-color: var(--primary-dark);
        }

        .single-product-tabs {
            margin-top: 2rem;
            grid-column: 1 / -1;
        }

        .single-product-tab-nav {
            display: flex;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1rem;
        }

        .single-product-tab-btn {
            padding: 0.75rem 1rem;
            background: none;
            border: none;
            font-weight: 600;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .single-product-tab-btn.active {
            color: var(--primary-color);
        }

        .single-product-tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: var(--primary-color);
        }

        .single-product-tab-content {
            display: none;
        }

        .single-product-tab-content.active {
            display: block;
        }

        .single-product-tab-content ul {
            list-style: none;
            padding-left: 0;
        }

        .single-product-tab-content li {
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--border-color);
        }

        .single-product-tab-content li:last-child {
            border-bottom: none;
        }

        /* Category Page */
        .category-banner {
            margin-bottom: 2rem;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .category-banner-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        .category-banner-image {
            height: 300px;
            overflow: hidden;
        }

        .category-banner-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .category-banner-details {
            padding: 2rem;
            background-color: var(--light-color);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .category-banner-title {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: var(--text-color);
        }

        .category-banner-description {
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }

        .category-banner-stats {
            display: flex;
            gap: 2rem;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-light);
        }

        .stat-item i {
            color: var(--primary-color);
        }

        /* Category Products Section */
        .category-products-section {
            margin: 2rem 0;
        }

        .category-products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .category-product-card {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .category-product-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .category-product-image {
            height: 180px;
            overflow: hidden;
        }

        .category-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .category-product-card:hover .category-product-image img {
            transform: scale(1.05);
        }

        .category-product-content {
            padding: 1.5rem;
        }

        .category-product-title {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }

        .category-product-price {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 1rem;
        }

        .category-product-actions {
            display: flex;
            gap: 0.5rem;
        }

        .category-product-btn {
            padding: 0.5rem 0.75rem;
            border-radius: var(--radius);
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.875rem;
        }

        .category-product-btn.preview {
            background-color: var(--border-color);
            color: var(--text-color);
        }

        .category-product-btn.preview:hover {
            background-color: var(--text-light);
            color: white;
        }

        .category-product-btn.buy {
            background-color: var(--primary-color);
            color: white;
        }

        .category-product-btn.buy:hover {
            background-color: var(--primary-dark);
        }

        /* Authors List Page */
        .authors-list-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .author-list-card {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .author-list-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .author-list-header {
            position: relative;
            height: 150px;
         }

        .author-list-header img:first-child {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-list-avatar {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--light-color);
        }

        .author-list-content {
            padding: 2rem 1rem 1rem;
            text-align: center;
        }

        .author-list-name {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }

        .author-list-bio {
            color: var(--text-light);
            margin-bottom: 1rem;
            font-size: 0.875rem;
        }

        .author-list-stats {
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .author-list-stat {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .author-list-stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .author-list-stat-label {
            font-size: 0.875rem;
            color: var(--text-light);
        }

        /* Single Author Page */
        .single-author-container {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 2rem;
        }

        .single-author-sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .single-author-header {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow);
        }

        .single-author-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1rem;
            border: 3px solid var(--primary-color);
        }

        .single-author-name {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }

        .single-author-bio {
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        .single-author-meta {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1rem;
        }

        .single-author-stat {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .single-author-stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .single-author-stat-label {
            font-size: 0.875rem;
            color: var(--text-light);
        }

        .single-author-contact {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1rem;
        }

        .single-author-contact-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .single-author-contact-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
        }

        .single-author-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .single-author-posts {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow);
        }

        .single-author-posts-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-color);
        }

        .author-posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        /* Blog Header */
        .blog-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .blog-header h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }

        .blog-header p {
            color: var(--text-light);
        }

        /* Back Button */
        .back-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            margin-bottom: 1rem;
        }

        .back-button:hover {
            background-color: var(--primary-dark);
        }

        /* Notification */
        .notification {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: white;
            color: var(--text-color);
            padding: 1rem 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            transform: translateX(400px);
            transition: transform 0.3s ease;
            z-index: 1000;
            max-width: 300px;
        }

        .notification.show {
            transform: translateX(0);
        }

        /* Mobile Menu Toggle - DIHILANGKAN */
        .mobile-menu-toggle {
            display: none !important;
        }

        /* Mobile Navigation Menu - DIHILANGKAN */
        .mobile-nav-menu {
            display: none !important;
        }

        .mobile-nav-overlay {
            display: none !important;
        }

        /* Search Results Page */
        .search-results {
            margin-bottom: 2rem;
        }

        .search-results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary-color);
        }

        .search-results-title {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .search-results-title i {
            color: var(--primary-color);
        }

        .search-results-count {
            font-size: 1rem;
            color: var(--text-light);
        }

        .search-results-tabs {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        .search-results-tab {
            padding: 0.75rem 1rem;
            background: none;
            border: none;
            font-weight: 600;
            color: var(--text-light);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .search-results-tab.active {
            color: var(--primary-color);
        }

        .search-results-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: var(--primary-color);
        }

        .search-results-content {
            display: none;
        }

        .search-results-content.active {
            display: block;
        }

        .search-result-item {
            background-color: var(--light-color);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            display: flex;
            gap: 1.5rem;
            text-align: left;
        }

        .search-result-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .search-result-image {
            width: 120px;
            height: 120px;
            border-radius: var(--radius);
            object-fit: cover;
            flex-shrink: 0;
        }

        .search-result-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .search-result-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0.5rem;
        }

        .search-result-type {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius);
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .search-result-type.post {
            background-color: var(--primary-color);
            color: white;
        }

        .search-result-type.product {
            background-color: var(--secondary-color);
            color: white;
        }

        .search-result-type.author {
            background-color: var(--success-color);
            color: white;
        }

        .search-result-type.category {
            background-color: var(--warning-color);
            color: white;
        }

        .search-result-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-color);
            line-height: 1.4;
        }

        .search-result-excerpt {
            color: var(--text-light);
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.5;
        }

        .search-result-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.875rem;
            color: var(--text-light);
            margin-top: auto;
        }

        .search-result-date, .search-result-category {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .search-highlight {
            background-color: rgba(254, 240, 138, 0.5);
            padding: 0.1rem 0.2rem;
            border-radius: 0.2rem;
            font-weight: 600;
        }

        [data-theme="dark"] .search-highlight {
            background-color: rgba(250, 204, 21, 0.3);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }

            .single-news-container {
                grid-template-columns: 1fr;
            }

            .single-product-container {
                grid-template-columns: 1fr;
            }

            .single-author-container {
                grid-template-columns: 1fr;
            }

            .single-author-sidebar {
                position: static;
            }

            .category-banner-content {
                grid-template-columns: 1fr;
            }

            .category-banner-image {
                height: 200px;
            }

            .product-showcase-content {
                grid-template-columns: 1fr;
            }

            .product-ad-banner {
                grid-template-columns: 1fr;
            }

            .product-ad-item {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .top-bar-content {
                flex-direction: column;
                gap: 0.5rem;
            }

            .header-main {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                padding: 0.8rem 0;
            }

            .header-nav {
                display: none;
            }

            .header-actions {
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }



            .theme-toggle {
                display: flex;
            }

            .featured-news-main {
                height: 300px;
            }

            .featured-news-title {
                font-size: 1.5rem;
            }

            .featured-news-secondary {
                grid-template-columns: repeat(2, 1fr);
            }

            .news-grid {
                grid-template-columns: 1fr;
            }

            .authors-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            }

            .product-banner-content {
                grid-template-columns: 1fr;
            }

            .product-banner-image {
                height: 120px;
            }

            .single-product-actions {
                flex-direction: column;
            }

            .single-product-tab-nav {
                overflow-x: auto;
            }

            .category-banner-stats {
                gap: 0.5rem;
                display: flex;
                justify-content: space-evenly;
            }

            .author-list-stats {
                gap: 1rem;
            }

            .author-posts-grid {
                grid-template-columns: 1fr;
            }

            /* Hide Top 10 Authors section on mobile */
            .top-authors-section {
                display: none;
            }

            /* Adjust top position for mobile menu */
            .table-of-contents-sidebar {
                top: 80px;
            }

            /* Mobile layout for other posts - Foto di kiri, kategori di atas foto, judul dan tanggal di kanan */
            .other-post-item {
                flex-direction: row;
                align-items: flex-start;
            }

            .other-post-thumbnail {
                width: 100px;
                height: 117px;
                position: relative;
            }

            .other-post-category {
                position: absolute;
                top: -10px;
                left: -5px;
                background-color: var(--primary-color);
                color: white;
                padding: 0.2rem 0.5rem;
                border-radius: var(--radius);
                font-size: 0.75rem;
                font-weight: 600;
                z-index: 2;
            }

            .other-post-content {
                flex: 1;
                padding-left: 1rem;
            }

            .other-post-title {
                font-size: 1rem;
                margin-bottom: 0.25rem;
            }

            .other-post-meta {
                font-size: 0.75rem;
            }

            /* Statistics section - 3 columns on mobile */
            .statistics-container {
                grid-template-columns: repeat(3, 1fr);
                gap: 0.5rem;
            }

            .stat-item {
                padding: 0.5rem;
            }

            .stat-icon {
                font-size: 1.5rem;
            }

            .stat-number {
                font-size: 1.5rem;
            }

            .stat-label {
                font-size: 0.875rem;
            }

            /* Shop products - image on left on mobile */
            .shop-product {
                display: flex;
                flex-direction: row;
                height: auto;
            }

            .shop-product-image {
                width: 120px;
                height: 120px;
                flex-shrink: 0;
            }

            .shop-product-content {
                flex: 1;
                padding: 1rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .shop-product-title {
                font-size: 1rem;
                margin-bottom: 0.25rem;
            }

            .shop-product-description {
                font-size: 0.875rem;
                margin-bottom: 0.5rem;
                -webkit-line-clamp: 2;
            }

            .shop-product-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .shop-product-price {
                font-size: 1.1rem;
            }

            /* Authors page - 2 columns with different style on mobile */
            .authors-list-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .author-list-card {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 1rem;
                border-radius: var(--radius);
                transition: all 0.3s ease;
            }

            .author-list-card:hover {
                transform: translateY(-3px);
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            }

            .author-list-header {
                position: relative;
                width: 80px;
                height: 80px;
                margin-bottom: 0.75rem;
            }

            .author-list-header img:first-child {
                display: none;
            }

            .author-list-avatar {
                position: static;
                transform: none;
                width: 80px;
                height: 80px;
                border: 2px solid var(--primary-color);
            }

            .author-list-content {
                padding: 0;
            }

            .author-list-name {
                font-size: 1rem;
                margin-bottom: 0.25rem;
            }

            .author-list-bio {
                font-size: 0.75rem;
                margin-bottom: 0.5rem;
                -webkit-line-clamp: 2;
            }

            .author-list-stats {
                gap: 0.75rem;
            }

            .author-list-stat-number {
                font-size: 1.25rem;
            }

            .author-list-stat-label {
                font-size: 0.75rem;
            }

            /* Mobile Bottom Navigation - PERBAIKAN */
            .category-nav {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                top: auto !important;
                z-index: 1000;
                background-color: var(--light-color);
                border-top: 1px solid var(--border-color);
                border-bottom: none;
                padding: 0.5rem 0;
                box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            }

            .category-nav-wrapper {
                position: relative;
                overflow: hidden;
                width: 100%;
                padding: 0;
                -webkit-overflow-scrolling: touch;
            }

            .category-nav-wrapper::-webkit-scrollbar {
                display: none;
            }

            .category-nav-list {
                display: flex;
                gap: 0.5rem;
                padding: 0 1rem;
                min-width: max-content;
                transition: transform 0.3s ease;
                will-change: transform;
            }

            .category-nav-item {
                padding: 0.5rem 1rem;
                border: 1px solid var(--border-color);
                border-radius: var(--radius);
                background-color: var(--light-color);
                color: var(--text-color);
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s ease;
                white-space: nowrap;
                flex-shrink: 0;
                font-size: 0.875rem;
                display: flex;
                align-items: center;
                gap: 0.25rem;
                min-width: fit-content;
            }

            .category-nav-item:hover, .category-nav-item.active {
                background-color: var(--primary-color);
                color: white;
                border-color: var(--primary-color);
            }

            .category-nav-wrapper::before,
            .category-nav-wrapper::after {
                content: '';
                position: absolute;
                top: 0;
                bottom: 0;
                width: 30px;
                pointer-events: none;
                z-index: 10;
                opacity: 0;
                transition: opacity 0.3s ease;
            }

            .category-nav-wrapper::before {
                left: 0;
                background: linear-gradient(to right, var(--light-color), transparent);
            }

            .category-nav-wrapper::after {
                right: 0;
                background: linear-gradient(to left, var(--light-color), transparent);
            }

            .category-nav-wrapper.scrollable-left::before {
                opacity: 1;
            }

            .category-nav-wrapper.scrollable-right::after {
                opacity: 1;
            }

            main {
                padding-bottom: 80px;
            }

            .container {
                padding-bottom: 0rem;
            }

            /* Product showcase mobile layout */
            .product-showcase {
                padding: 0;
                margin: 0 0 1rem;
                border-radius: 0.5rem;
            }

            .product-showcase-content {
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }

            .product-showcase-image {
                width: 100%;
                height: 200px;
                order: -1;
                border-radius: 0;
            }

            .product-showcase-text {
                padding: 1rem;
            }

            .product-showcase-text h2 {
                font-size: 1.5rem;
            }

            .product-showcase-cta {
                align-self: center;
            }

            /* Search results mobile layout */
            .search-result-item {
                flex-direction: column;
            }

            .search-result-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .search-result-image {
                width: 100%;
                height: 150px;
                margin-right: 0;
                margin-bottom: 1rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.5rem;
            }

            .logo i {
                font-size: 1.75rem;
            }

            .header-nav {
                gap: 0.25rem;
            }

            .header-nav a {
                padding: 0.4rem 0.8rem;
                font-size: 0.875rem;
            }

            .search-box input {
                width: 120px;
            }

            .search-box input:focus {
                width: 150px;
            }

            .theme-toggle {
                font-size: 1rem;
                padding: 0.4rem;
            }

            .featured-news-main {
                height: 250px;
            }

            .featured-news-title {
                font-size: 1.25rem;
            }

            .news-grid {
                grid-template-columns: 1fr;
            }

            .authors-grid {
                grid-template-columns: 1fr;
            }

            /* Statistics section - still 3 columns on very small mobile */
            .statistics-container {
                grid-template-columns: repeat(3, 1fr);
                gap: 0.25rem;
            }

            .stat-item {
                padding: 0.25rem;
            }

            .stat-icon {
                font-size: 1.25rem;
            }

            .stat-number {
                font-size: 1.25rem;
            }

            .stat-label {
                font-size: 0.75rem;
            }

            .popular-categories {
                grid-template-columns: 1fr;
            }

            .product-showcase-text h2 {
                font-size: 1.5rem;
            }

            .product-showcase-cta {
                padding: 0.6rem 1.2rem;
                font-size: 0.875rem;
            }

            .product-ad-title {
                font-size: 1.25rem;
            }

            .product-ad-item-title {
                font-size: 1.1rem;
            }

            .top-bar{
                display:none;
            }

            /* Shop products on very small mobile */
            .shop-product-image {
                width: 100px;
                height: 100px;
            }

            .shop-product-content {
                padding: 0.75rem;
                overflow: hidden;
                max-height: 100px;
            }

            .shop-product-title {
                font-size: 0.9rem;
                margin-top: -10px;
                height: 50px;
                overflow: hidden;
            }

            .shop-product-description,.shop-product-badge,.shop-product-actions,.shop-product-category {
                display:none;
            }

            .shop-product-price {
                font-size: 0.9rem;
                background: var(--primary-color);
                color: white;
                padding: 0.2rem 0.5rem;
                border-radius: 5px;
            }

            /* Authors page on very small mobile */
            .authors-list-container {
                grid-template-columns: 1fr 1fr;
                gap: 0.75rem;
            }

            .author-list-header {
                width: 70px;
                height: 70px;
            }

            .author-list-avatar {
                width: 70px;
                height: 70px;
            }

            .author-list-name {
                font-size: 0.95rem;
            }

            .author-list-bio {
                font-size: 0.7rem;
            }

            /* Category nav on very small mobile */
            .category-nav-item {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }

            .category-nav-list {
                gap: 0.25rem;
                padding: 0 0.75rem;
            }
        }

        /* Category Page Mobile Layout - MODIFIED */
        @media (max-width: 768px) {
            /* Special layout for category page news cards */
            .category-page .news-card {
                display: flex;
                flex-direction: row;
                height: auto;
                padding: 0rem;
                gap: 1rem;
            }

            .category-page .news-image-container {
                width: 120px;
                height: 110px;
                flex-shrink: 0;
                position: relative;
            }

            .category-page .news-image {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .category-page .news-category-overlay {
                display: none; /* Hide overlay on mobile */
            }

            .category-page .news-content {
                flex: 1;
                padding: 0.5rem 0.7rem 0.5rem 0;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            .category-page .news-category {
                font-size: 0.75rem;
                margin-bottom: 0.25rem;
                order: 2;
            }

            .category-page .news-title {
                font-size: 1rem;
                margin-bottom: 0.25rem;
                order: 1;
                -webkit-line-clamp: 2;
                line-height: 1.3;
            }

            .category-page .news-excerpt {
                display: none; /* Hide excerpt on mobile */
            }

            .category-page .news-meta {
                font-size: 0.75rem;
                order: 3;
                flex-direction: row;
                align-items: flex-start;
                gap: 0.25rem;
                display: flex;
            }

            .category-page .news-date, 
            .category-page .news-read-time {
                gap: 0.25rem;
            }

            /* Add author info below category */
            .category-page .news-meta::after {
                content: attr(data-author);
                display: flex;
                align-items: center;
                gap: 0.25rem;
                color: var(--text-light);
                font-size: 0.75rem;
            }

            .category-page .news-meta::before {
                content: '';
                display: none;
            }
        }

        /* Sisipan Iklan */
        /* Product Ad Styles */
        .product-ad {
            background-color: #f8f9fa;
            border: 2px dashed var(--primary-color);
            border-radius: var(--radius);
            padding: 1rem;
            margin: 1rem 0;
            text-align: center;
        }

        .product-ad-preview {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: white;
            padding: 1rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
        }

        .product-ad-image {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: var(--radius);
            flex-shrink: 0; /* Mencegah gambar mengecil */
        }

        /* --- PERUBAHAN UTAMA DIMULAI DI SINI --- */
        .product-ad-info {
            flex: 1;
            display: flex; /* Menjadikan container flex */
            flex-direction: column; /* Menyusun item secara vertikal */
            justify-content: center; /* Pusatkan item secara vertikal (ini kunci untuk perbaikan posisi) */
            align-items: flex-start; /* Ratakan item ke kiri */
            gap: 0.25rem; /* Beri jarak antar item (judul dan harga) */
            min-width: 0; /* Penting agar ellipsis berfungsi */
        }

        .product-ad-title {
            font-weight: 600;
            color: var(--text-color);
            /* margin-bottom dihapus karena kita pakai gap */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-ad-price {
            color: var(--primary-color);
            font-weight: 700;
            font-size: small;
            /* Menambahkan prefix 'Rp' untuk kejelasan */
        }
        .product-ad-price::before {
            content: 'Rp ';
            font-weight: 400;
        }
        /* --- PERUBAHAN UTAMA SELESAI DI SINI --- */


        .product-ad-button {
            background-color: var(--primary-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s ease;
            white-space: nowrap;
            flex-shrink: 0;
            margin-top: 3rem;
        }

        .product-ad-button:hover {
            background-color: var(--primary-dark);
        }


        /* Responsive untuk tablet */
        @media (max-width: 768px) {
            .product-ad-preview {
                padding: 0.75rem;
                gap: 0.75rem;
            }

            .product-ad-image {
                width: 70px;
                height: 70px;
            }

            .product-ad-title {
                font-size: 0.9rem;
            }

            .product-ad-price {
                font-size: 0.85rem;
            }

            .product-ad-button {
                padding: 0.4rem 0.8rem;
                font-size: 0.85rem;
            }
        }

        /* Responsive untuk mobile */
        @media (max-width: 480px) {
            .product-ad {
                padding: 0.75rem;
                margin: 0.75rem 0;
            }
            .footer-content {
    grid-template-columns: repeat(2, 1fr);
}
            .product-ad-preview {
                flex-direction: column;
                align-items: stretch; /* Membuat item memanjang */
                padding: 0.75rem;
                gap: 1rem; /* Gap lebih besar di mobile */
            }

            .product-ad-image {
                width: 100%;
                height: 180px;
                align-self: center;
            }

            .product-ad-info {
                width: 100%;
                text-align: center; /* Teks di tengah di mobile */
                align-items: center; /* Pusatkan item flex di tengah */
                gap: 0.5rem; /* Jarak antar judul dan harga di mobile */
            }

            .product-ad-title {
                font-size: 1rem; /* Sedikit lebih besar di mobile */
                white-space: normal; /* Izinkan teks memanjang */
                overflow: visible;
                text-overflow: unset;
            }

            .product-ad-price {
                font-size: 1.1rem; /* Harga lebih menonjol di mobile */
                margin-bottom: 0; /* Tidak perlu margin lagi */
            }

            .product-ad-button {
                width: 100%;
                padding: 0.75rem; /* Padding lebih besar untuk kemudahan tap */
                text-align: center;
                font-size: 1rem;
                margin-top: auto; /* Dorong tombol ke bawah jika ada ruang ekstra */
            }
        }

        /* Responsive untuk layar sangat kecil */
        @media (max-width: 320px) {
            .product-ad-preview {
                padding: 0.5rem;
            }

            .product-ad-image {
                height: 150px;
            }

            .product-ad-title {
                font-size: 0.9rem;
            }

            .product-ad-price {
                font-size: 1rem;
            }

            .product-ad-button {
                padding: 0.6rem;
                font-size: 0.9rem;
            }
        }
    
