/* ===== MODERN BLOG HERO SECTION (KEEP AS IS) ===== */
.modern-blog-hero {
    position: relative;
    padding: 120px 0 160px;
    overflow: visible;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.modern-blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(142, 60, 236, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(142, 60, 236, 0.1) 0%, rgba(185, 103, 240, 0.05) 100%);
    animation: float 6s ease-in-out infinite;
}

.floating-shape.shape-1 { width: 80px; height: 80px; top: 10%; left: 10%; animation-delay: 0s; }
.floating-shape.shape-2 { width: 120px; height: 120px; top: 20%; right: 15%; animation-delay: 1s; }
.floating-shape.shape-3 { width: 60px; height: 60px; bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-shape.shape-4 { width: 100px; height: 100px; bottom: 20%; right: 10%; animation-delay: 3s; }
.floating-shape.shape-5 { width: 40px; height: 40px; top: 50%; left: 50%; animation-delay: 4s; }
.floating-shape.shape-6 { width: 90px; height: 90px; top: 70%; right: 40%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-wrapper { width: 100%; position: relative; z-index: 2; }
.hero-content { max-width: 800px; margin: 0 auto; text-align: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8e3cec 0%, #b967f0 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #8e3cec 0%, #b967f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.breadcrumb-link {
    color: #8e3cec;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: #7c35d1;
    text-decoration: none;
}

.breadcrumb-separator { color: #cbd5e1; }
.breadcrumb-current { color: #64748b; font-weight: 500; }

/* ===== CLEAN BLOG SECTION ===== */
.clean-blog-section {
    padding: 100px 0 120px;
    min-height: 100vh;
}

/* Search & Filter Bar */
.search-filter-bar {
    margin-bottom: 80px;
    padding: 0 40px;
}

.filter-form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 24px;
    align-items: center;
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    height: 56px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    padding: 0 24px 0 56px;
    font-size: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 500;
}

.search-input:focus {
    border-color: #8e3cec;
    box-shadow: 0 0 0 4px rgba(142, 60, 236, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
}

.filter-select {
    width: 100%;
    height: 56px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    padding: 0 20px;
    font-size: 16px;
    background: #ffffff;
    cursor: pointer;
    outline: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: #8e3cec;
    box-shadow: 0 0 0 4px rgba(142, 60, 236, 0.1);
}

.filter-btn {
    height: 56px;
    width: 56px;
    border: none;
    background: #8e3cec;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.filter-btn:hover {
    background: #7c35d1;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(142, 60, 236, 0.3);
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.blog-main {
    min-width: 0;
}

/* Main Featured Post */
.main-featured-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

.main-featured-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.main-featured-image {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.main-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-featured-post:hover .main-featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #FFD700;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-featured-content {
    padding: 32px;
}

.article-category {
    margin-bottom: 16px;
}

.category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-guest { background: #E3F2FD; color: #1976D2; }
.category-news { background: #E8F5E8; color: #2E7D32; }
.category-marketing { background: #FFF3E0; color: #F57C00; }
.category-business { background: #F3E5F5; color: #7B1FA2; }
.category-technology { background: #E1F5FE; color: #0277BD; }
.category-design { background: #FCE4EC; color: #C2185B; }

.main-featured-title {
    margin-bottom: 16px;
    line-height: 1.3;
}

.main-featured-title a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 32px;
    font-weight: 700;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.main-featured-title a:hover {
    color: #8e3cec;
    text-decoration: none;
}

.main-featured-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.main-featured-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.meta-item {
    font-weight: 500;
}

.meta-separator {
    margin: 0 8px;
    color: #cbd5e1;
}

/* Posts Grid */
.posts-section {
    margin-bottom: 60px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.grid-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grid-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Grid Post Image */
.grid-post-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.grid-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.grid-post-card:hover .grid-post-image img {
    transform: scale(1.08);
}

/* Post Overlay for Featured */
.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(142, 60, 236, 0.85) 0%, rgba(185, 103, 240, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.grid-post-card:hover .post-overlay {
    opacity: 1;
}

.featured-label {
    background: white;
    color: #8e3cec;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Category Overlay */
.post-category-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.category-tag {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Grid Post Content */
.grid-post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grid-post-title {
    margin-bottom: 12px;
    line-height: 1.3;
}

.grid-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-post-title a:hover {
    color: #8e3cec;
    text-decoration: none;
}

.grid-post-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-post-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 4px;
}

.meta-date,
.meta-views,
.meta-read {
    font-weight: 500;
}

.meta-separator {
    margin: 0 6px;
    color: #cbd5e1;
}

/* Load More */
.load-more-section {
    text-align: center;
    margin-top: 60px;
}

.load-more-btn {
    background: white;
    border: 2px solid #f1f5f9;
    color: #64748b;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover {
    border-color: #8e3cec;
    color: #8e3cec;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(142, 60, 236, 0.2);
}

/* No Posts */
.no-posts-grid {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    text-align: center;
}

.no-posts-content {
    max-width: 400px;
}

.no-posts-icon {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.no-posts-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.no-posts-content p {
    color: #64748b;
    margin-bottom: 20px;
}

.back-link {
    color: #8e3cec;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #7c35d1;
    text-decoration: none;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 80px;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    margin-bottom: 40px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* Search Widget */
.search-widget {
    padding: 20px;
}

.sidebar-search {
    width: 100%;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-search-input {
    width: 100%;
    height: 44px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    padding: 0 50px 0 16px;
    font-size: 15px;
    background: #fafbfc;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 500;
}

.sidebar-search-input:focus {
    border-color: #8e3cec;
    background: white;
    box-shadow: 0 0 0 4px rgba(142, 60, 236, 0.1);
}

.search-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: #8e3cec;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: #7c35d1;
    transform: translateY(-50%) scale(1.05);
}

/* Categories */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    border-radius: 12px;
    overflow: hidden;
}

.category-item .category-link {
    display: block;
    padding: 12px 16px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid transparent;
}

.category-item .category-link:hover,
.category-item .category-link.active {
    color: #8e3cec;
    text-decoration: none;
    background: rgba(142, 60, 236, 0.1);
    border-color: rgba(142, 60, 236, 0.2);
    transform: translateX(4px);
}

.category-name {
    font-weight: 500;
    font-size: 14px;
}

.all-topics .category-link {
    font-weight: 600;
    color: #1a1a1a;
}

/* Popular Posts */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.popular-category {
    font-size: 12px;
    font-weight: 600;
    color: #8e3cec;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-date {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.read-count {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.popular-title {
    margin: 0;
    line-height: 1.3;
}

.popular-title a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-title a:hover {
    color: #8e3cec;
    text-decoration: none;
}

/* Tags */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #fafbfc;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.tag-item:hover {
    background: #8e3cec;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 1px solid #84848414;
}

.social-link.linkedin { background: #0077B5; color: white; }
.social-link.facebook { background: #1877F2; color: white; }
.social-link.twitter { background: #1DA1F2; color: white; }
.social-link.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: white; }

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Ad Banner */
.ad-widget {
    background: linear-gradient(135deg, #8e3cec, #b967f0);
    color: white;
    text-align: center;
    padding: 62px 20px;
}

.ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ad-graphic {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
}

.spiral-design {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ad-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.ad-text p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.ad-cta {
    background: white;
    color: #8e3cec;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== DARK MODE STYLES ===== */

/* Hero Section Dark Mode */
body[data-layout-mode=dark] .modern-blog-hero {
    background: linear-gradient(135deg, #171717 0%, #1a1a1a 100%);
}

body[data-layout-mode=dark] .modern-blog-hero::before {
    background: radial-gradient(circle at 70% 30%, rgba(142, 60, 236, 0.15) 0%, transparent 50%);
}

body[data-layout-mode=dark] .floating-shape {
    background: linear-gradient(135deg, rgba(142, 60, 236, 0.2) 0%, rgba(185, 103, 240, 0.1) 100%);
}

body[data-layout-mode=dark] .hero-title {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .hero-description {
    color: #adb5bd;
}

body[data-layout-mode=dark] .breadcrumb-link {
    color: #a855f7;
}

body[data-layout-mode=dark] .breadcrumb-link:hover {
    color: #c084fc;
}

body[data-layout-mode=dark] .breadcrumb-current {
    color: #adb5bd;
}

body[data-layout-mode=dark] .breadcrumb-separator {
    color: #6b7280;
}

/* Search & Filter Bar Dark Mode */
body[data-layout-mode=dark] .filter-form {
    background: #171717;
    border-color: #2a2a2a;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

body[data-layout-mode=dark] .search-input {
    background: #2a2a2a;
    border-color: #3c3c3c;
    color: #f5f5f5;
}

body[data-layout-mode=dark] .search-input:focus {
    background: #2a2a2a;
    border-color: #8e3cec;
    box-shadow: 0 0 0 4px rgba(142, 60, 236, 0.2);
    color: #f5f5f5;
}

body[data-layout-mode=dark] .search-input::placeholder {
    color: #6b7280;
}

body[data-layout-mode=dark] .search-icon {
    color: #adb5bd;
}

body[data-layout-mode=dark] .filter-select {
    background: #2a2a2a;
    border-color: #3c3c3c;
    color: #f5f5f5;
}

body[data-layout-mode=dark] .filter-select:focus {
    background: #2a2a2a;
    border-color: #8e3cec;
    box-shadow: 0 0 0 4px rgba(142, 60, 236, 0.2);
    color: #f5f5f5;
}

body[data-layout-mode=dark] .filter-select option {
    background: #171717;
    color: #f5f5f5;
}

body[data-layout-mode=dark] .filter-btn {
    background: #8e3cec;
    color: #fff;
}

body[data-layout-mode=dark] .filter-btn:hover {
    background: #7a33d1;
    box-shadow: 0 8px 24px rgba(142, 60, 236, 0.4);
}

/* Main Featured Post Dark Mode */
body[data-layout-mode=dark] .main-featured-post {
    background: #171717;
    border-color: #2a2a2a;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

body[data-layout-mode=dark] .main-featured-post:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

body[data-layout-mode=dark] .main-featured-title a {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .main-featured-title a:hover {
    color: #a855f7;
}

body[data-layout-mode=dark] .main-featured-excerpt {
    color: #adb5bd;
}

body[data-layout-mode=dark] .main-featured-meta {
    color: #adb5bd;
}

body[data-layout-mode=dark] .meta-separator {
    color: #6b7280;
}

/* Category Badges Dark Mode */
body[data-layout-mode=dark] .category-guest { background: #1e40af; color: #dbeafe; }
body[data-layout-mode=dark] .category-news { background: #166534; color: #dcfce7; }
body[data-layout-mode=dark] .category-marketing { background: #ea580c; color: #fed7aa; }
body[data-layout-mode=dark] .category-business { background: #6b21a8; color: #f3e8ff; }
body[data-layout-mode=dark] .category-technology { background: #0c4a6e; color: #e0f2fe; }
body[data-layout-mode=dark] .category-design { background: #be185d; color: #fce7f3; }

/* Grid Post Cards Dark Mode */
body[data-layout-mode=dark] .grid-post-card {
    background: #171717;
    border-color: #2a2a2a;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

body[data-layout-mode=dark] .grid-post-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body[data-layout-mode=dark] .grid-post-title a {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .grid-post-title a:hover {
    color: #a855f7;
}

body[data-layout-mode=dark] .grid-post-excerpt {
    color: #adb5bd;
}

body[data-layout-mode=dark] .grid-post-meta {
    color: #adb5bd;
}

body[data-layout-mode=dark] .meta-separator {
    color: #6b7280;
}

body[data-layout-mode=dark] .post-overlay {
    background: linear-gradient(135deg, rgba(142, 60, 236, 0.9) 0%, rgba(185, 103, 240, 0.9) 100%);
}

body[data-layout-mode=dark] .featured-label {
    background: #f5f5f5;
    color: #8e3cec;
}

body[data-layout-mode=dark] .category-tag {
    background: rgba(23, 23, 23, 0.95);
    color: #f5f5f5;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Load More Button Dark Mode */
body[data-layout-mode=dark] .load-more-btn {
    background: #171717;
    border-color: #2a2a2a;
    color: #adb5bd;
}

body[data-layout-mode=dark] .load-more-btn:hover {
    border-color: #8e3cec;
    color: #a855f7;
    box-shadow: 0 8px 24px rgba(142, 60, 236, 0.3);
}

/* No Posts Dark Mode */
body[data-layout-mode=dark] .no-posts-content h3 {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .no-posts-content p {
    color: #adb5bd;
}

body[data-layout-mode=dark] .no-posts-icon {
    color: #6b7280;
}

body[data-layout-mode=dark] .back-link {
    color: #a855f7;
}

body[data-layout-mode=dark] .back-link:hover {
    color: #c084fc;
}

/* Sidebar Dark Mode */
body[data-layout-mode=dark] .sidebar-widget {
    background: #171717;
    border-color: #2a2a2a;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

body[data-layout-mode=dark] .widget-title {
    color: #f5f5f5;
}

/* Search Widget Dark Mode */
body[data-layout-mode=dark] .search-widget {
    background: #171717;
}

body[data-layout-mode=dark] .sidebar-search-input {
    background: #2a2a2a;
    border-color: #3c3c3c;
    color: #f5f5f5;
}

body[data-layout-mode=dark] .sidebar-search-input:focus {
    background: #2a2a2a;
    border-color: #8e3cec;
    box-shadow: 0 0 0 4px rgba(142, 60, 236, 0.2);
    color: #f5f5f5;
}

body[data-layout-mode=dark] .sidebar-search-input::placeholder {
    color: #6b7280;
}

body[data-layout-mode=dark] .search-submit {
    background: #8e3cec;
    color: #fff;
}

body[data-layout-mode=dark] .search-submit:hover {
    background: #7a33d1;
}

/* Categories Dark Mode */
body[data-layout-mode=dark] .category-item .category-link {
    background: #2a2a2a;
    color: #adb5bd;
    border-color: transparent;
}

body[data-layout-mode=dark] .category-item .category-link:hover,
body[data-layout-mode=dark] .category-item .category-link.active {
    color: #a855f7;
    background: rgba(142, 60, 236, 0.15);
    border-color: rgba(142, 60, 236, 0.3);
}

body[data-layout-mode=dark] .all-topics .category-link {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .all-topics .category-link:hover,
body[data-layout-mode=dark] .all-topics .category-link.active {
    color: #a855f7;
}

/* Popular Posts Dark Mode */
body[data-layout-mode=dark] .popular-item {
    border-bottom-color: #2a2a2a;
}

body[data-layout-mode=dark] .popular-category {
    color: #a855f7;
}

body[data-layout-mode=dark] .popular-date {
    color: #adb5bd;
}

body[data-layout-mode=dark] .read-count {
    color: #6b7280;
}

body[data-layout-mode=dark] .popular-title a {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .popular-title a:hover {
    color: #a855f7;
}

/* Tags Dark Mode */
body[data-layout-mode=dark] .tag-item {
    background: #2a2a2a;
    color: #adb5bd;
    border-color: #3c3c3c;
}

body[data-layout-mode=dark] .tag-item:hover {
    background: #8e3cec;
    color: #fff;
}

/* Social Links Dark Mode - Keep original colors but adjust for dark background */
body[data-layout-mode=dark] .social-link:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Ad Banner Dark Mode */
body[data-layout-mode=dark] .ad-widget {
    background: linear-gradient(135deg, #4c1d95 0%, #581c87 100%);
}

body[data-layout-mode=dark] .spiral-design {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.8);
}

body[data-layout-mode=dark] .ad-text h4 {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .ad-text p {
    color: rgba(255, 255, 255, 0.9);
}

body[data-layout-mode=dark] .ad-cta {
    background: #f5f5f5;
    color: #4c1d95;
}

body[data-layout-mode=dark] .ad-cta:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ===== READ MORE BUTTONS ===== */
.grid-post-action {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.main-featured-action {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8e3cec 0%, #b967f0 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(142, 60, 236, 0.2);
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #7c35d1 0%, #a855f7 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(142, 60, 236, 0.3);
}

.read-more-btn.featured {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(142, 60, 236, 0.25);
}

.read-more-btn.featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(142, 60, 236, 0.35);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(4px);
}

/* Dark mode for read more buttons */
body[data-layout-mode=dark] .grid-post-action,
body[data-layout-mode=dark] .main-featured-action {
    border-top-color: #2a2a2a;
}

body[data-layout-mode=dark] .read-more-btn {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

body[data-layout-mode=dark] .read-more-btn:hover {
    background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

body[data-layout-mode=dark] .read-more-btn.featured {
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35);
}

body[data-layout-mode=dark] .read-more-btn.featured:hover {
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.45);
}

/* Responsive adjustments for read more buttons */
@media (max-width: 768px) {
    .grid-post-action {
        margin-top: 16px;
        padding-top: 12px;
    }
    
    .main-featured-action {
        margin-top: 20px;
        padding-top: 16px;
    }
    
    .read-more-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .read-more-btn.featured {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .read-more-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .read-more-btn.featured {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .blog-layout {
        gap: 50px;
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }

    .blog-sidebar {
        position: static;
        order: -1;
    }

    .main-featured-image {
        height: 350px;
    }

    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }

    .grid-post-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .modern-blog-hero {
        padding: 80px 0 120px;
        min-height: 50vh;
    }

    .clean-blog-section {
        padding: 80px 0 100px;
    }

    .search-filter-bar {
        margin-bottom: 60px;
        padding: 0 20px;
    }

    .filter-form {
        padding: 24px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-layout {
        gap: 50px;
        padding: 0 20px;
    }

    .main-featured-image {
        height: 280px;
    }

    .main-featured-content {
        padding: 24px;
    }

    .main-featured-title a {
        font-size: 28px;
    }

    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .grid-post-card {
        border-radius: 12px;
    }

    .grid-post-image {
        height: 200px;
    }

    .grid-post-content {
        padding: 20px;
    }

    .sidebar-widget {
        padding: 20px;
        margin-bottom: 32px;
        border-radius: 12px;
    }

    .widget-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .floating-shape {
        opacity: 0.5;
    }

    .posts-grid {
        gap: 16px;
    }

    .load-more-section {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .clean-blog-section {
        padding: 60px 0 80px;
    }

    .search-filter-bar {
        padding: 0 15px;
    }

    .filter-form {
        padding: 20px;
    }

    .blog-layout {
        padding: 0 15px;
        gap: 40px;
    }

    .search-input,
    .filter-select,
    .filter-btn {
        height: 50px;
    }

    .main-featured-image {
        height: 220px;
    }

    .main-featured-content {
        padding: 20px;
    }

    .main-featured-title a {
        font-size: 24px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grid-post-image {
        height: 180px;
    }

    .grid-post-content {
        padding: 16px;
    }

    .grid-post-title a {
        font-size: 18px;
    }

    .sidebar-widget {
        padding: 16px;
        margin-bottom: 24px;
    }

    .widget-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .floating-shape {
        opacity: 0.3;
    }

    .posts-grid {
        gap: 12px;
    }

    .load-more-section {
        margin-top: 32px;
    }

    .load-more-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .ad-widget {
        padding: 24px 16px;
    }

    .ad-graphic {
        width: 60px;
        height: 60px;
    }

    .spiral-design {
        width: 60px;
        height: 60px;
    }

    .ad-text h4 {
        font-size: 16px;
    }

    .ad-text p {
        font-size: 13px;
    }
}