/* Blog Page Dark Mode Styles - Minimal Version */
.blog-page {
    min-height: 100vh;
    background: #0a0a0a;
    color: #ffffff;
}

/* Hero Section */
.fx-blog-hero {
    background: #111111;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .fx-blog-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/bg4.webp');
        background-position: center;
        background-size: cover;
        opacity: 0.02;
        z-index: 1;
    }

.fx-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.fx-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
}

    .fx-section-badge i {
        font-size: 1.1rem;
    }

.fx-section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.fx-highlight {
    color: #ffffff;
    position: relative;
}

.fx-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #cccccc;
}

/* Search Container */
.fx-search-container {
    margin-top: 40px;
}

.fx-search-box {
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
}

    .fx-search-box i {
        color: #666666;
        font-size: 1.2rem;
        margin-left: 20px;
    }

    .fx-search-box input {
        flex: 1;
        background: transparent;
        border: none;
        padding: 12px 16px;
        color: #ffffff;
        font-size: 1rem;
        outline: none;
    }

        .fx-search-box input::placeholder {
            color: #666666;
        }

.fx-search-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .fx-search-btn:hover {
        background: #f0f0f0;
        transform: translateY(-1px);
    }

/* Blog Content */
.fx-blog-content {
    padding: 80px 0;
}

.fx-blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Filter Tabs */
.fx-blog-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.fx-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .fx-filter-btn:hover,
    .fx-filter-btn.active {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        transform: translateY(-1px);
    }

    .fx-filter-btn i {
        font-size: 1rem;
    }

/* Featured Post */
.fx-featured-post {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 50px;
    transition: all 0.3s ease;
}

    .fx-featured-post:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .fx-featured-post .fx-post-image {
        position: relative;
        height: 300px;
        overflow: hidden;
    }

        .fx-featured-post .fx-post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

    .fx-featured-post:hover .fx-post-image img {
        transform: scale(1.05);
    }

.fx-post-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ffffff;
    color: #000000;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.fx-featured-post .fx-post-content {
    padding: 30px;
}

/* Blog Posts Grid */
.fx-blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.fx-blog-post {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .fx-blog-post:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .fx-blog-post .fx-post-image {
        position: relative;
        height: 200px;
        overflow: hidden;
    }

        .fx-blog-post .fx-post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

    .fx-blog-post:hover .fx-post-image img {
        transform: scale(1.05);
    }

.fx-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fx-blog-post:hover .fx-post-overlay {
    opacity: 1;
}

.fx-read-more {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .fx-read-more:hover {
        background: #ffffff;
        transform: scale(1.1);
    }

    .fx-read-more i {
        font-size: 1.2rem;
    }

.fx-blog-post .fx-post-content {
    padding: 25px;
}

/* Post Meta */
.fx-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.fx-category {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

    .fx-category.sustainability {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .fx-category.zero-waste {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .fx-category.return-management {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .fx-category.technology {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .fx-category.industry {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

.fx-date,
.fx-read-time {
    color: #666666;
    font-size: 0.85rem;
}

/* Post Titles */
.fx-post-title {
    margin-bottom: 15px;
}

.fx-featured-post .fx-post-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.fx-blog-post .fx-post-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.fx-post-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .fx-post-title a:hover {
        color: #cccccc;
    }

/* Post Excerpt */
.fx-post-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Post Footer */
.fx-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fx-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .fx-author img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }

    .fx-author span {
        font-size: 0.9rem;
        font-weight: 500;
        color: #cccccc;
    }

.fx-post-stats {
    display: flex;
    gap: 15px;
}

    .fx-post-stats span {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 0.85rem;
        color: #666666;
    }

    .fx-post-stats i {
        font-size: 1rem;
    }

/* Load More Button */
.fx-load-more {
    text-align: center;
}

.fx-load-more-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .fx-load-more-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

/* Sidebar */
.fx-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.fx-sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
}

.fx-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

    .fx-widget-title i {
        color: #ffffff;
        font-size: 1.3rem;
    }

.fx-widget-desc {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Newsletter Form */
.fx-newsletter-form {
    display: flex;
    gap: 10px;
}

    .fx-newsletter-form input {
        flex: 1;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
        padding: 12px 16px;
        border-radius: 6px;
        outline: none;
        transition: border-color 0.3s ease;
    }

        .fx-newsletter-form input:focus {
            border-color: rgba(255, 255, 255, 0.3);
        }

        .fx-newsletter-form input::placeholder {
            color: #666666;
        }

    .fx-newsletter-form button {
        background: #ffffff;
        border: none;
        color: #000000;
        padding: 12px 16px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .fx-newsletter-form button:hover {
            background: #f0f0f0;
            transform: translateY(-1px);
        }

/* Popular Posts */
.fx-popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fx-popular-post {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .fx-popular-post:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.fx-popular-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

    .fx-popular-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.fx-popular-content h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

    .fx-popular-content h4 a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .fx-popular-content h4 a:hover {
            color: #cccccc;
        }

.fx-popular-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .fx-popular-meta span {
        font-size: 0.8rem;
        color: #666666;
    }

/* Categories */
.fx-categories {
    list-style: none;
    padding: 0;
}

    .fx-categories li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 0;
    }

        .fx-categories li:last-child {
            border-bottom: none;
        }

    .fx-categories a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #cccccc;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .fx-categories a:hover {
            color: #ffffff;
        }

    .fx-categories span {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.8rem;
    }

/* Tags */
.fx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fx-tag {
    background: rgba(255, 255, 255, 0.05);
    color: #cccccc;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .fx-tag:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        transform: translateY(-1px);
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .fx-blog-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fx-blog-posts {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .fx-section-title {
        font-size: 2.5rem;
    }

    .fx-blog-filters {
        justify-content: center;
    }

    .fx-filter-btn {
        font-size: 0.8rem;
        padding: 10px 16px;
    }

    .fx-blog-posts {
        grid-template-columns: 1fr;
    }

    .fx-featured-post .fx-post-image {
        height: 200px;
    }

    .fx-post-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .fx-section-title {
        font-size: 2rem;
    }

    .fx-hero-subtitle {
        font-size: 1rem;
    }

    .fx-blog-content {
        padding: 40px 0;
    }

    .fx-search-box {
        flex-direction: column;
        border-radius: 8px;
        padding: 15px;
    }

    .fx-search-btn {
        border-radius: 6px;
        width: 100%;
    }

    .fx-newsletter-form {
        flex-direction: column;
    }
}
