/* Blog Detail Page Dark Mode Styles - Minimal Version */
.blog-detail-page {
    min-height: 100vh;
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Article Layout */
.fx-article {
    padding: 80px 0;
}

.fx-article-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.fx-article-main {
    max-width: 800px;
}

/* Article Header */
.fx-article-header {
    margin-bottom: 40px;
}

.fx-article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.fx-category {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .fx-category.sustainability {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

.fx-date {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.fx-read-time {
    color: #666666;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .fx-read-time::before {
        content: '⏱';
        font-size: 1rem;
    }

.fx-article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.fx-highlight {
    color: #ffffff;
    position: relative;
}

.fx-article-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #ffffff;
    border-radius: 0 8px 8px 0;
}

.fx-article-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fx-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.fx-author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.fx-author-bio {
    font-size: 0.9rem;
    color: #cccccc;
    margin: 0;
}

/* Article Image */
.fx-article-image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

    .fx-article-image img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .fx-article-image:hover img {
        transform: scale(1.02);
    }

.fx-image-caption {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    color: #cccccc;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

/* Article Content */
.fx-article-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.fx-content-section {
    margin-bottom: 50px;
}

    .fx-content-section h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }

        .fx-content-section h2::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: #ffffff;
        }

    .fx-content-section h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #ffffff;
        margin: 30px 0 15px;
    }

    .fx-content-section h4 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #cccccc;
        margin: 25px 0 10px;
    }

    .fx-content-section p {
        margin-bottom: 20px;
        color: #cccccc;
        text-align: justify;
    }

/* Highlight Box */
.fx-highlight-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

    .fx-highlight-box h3 {
        color: #ffffff;
        margin-bottom: 20px;
        text-align: center;
    }

.fx-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.fx-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fx-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
}

.fx-stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
}

/* Quote */
.fx-quote {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #ffffff;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
}

    .fx-quote cite {
        display: block;
        margin-top: 15px;
        font-size: 0.9rem;
        color: #ffffff;
        font-weight: 500;
        font-style: normal;
    }

/* Image Grid */
.fx-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.fx-image-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

    .fx-image-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .fx-image-item:hover img {
        transform: scale(1.05);
    }

    .fx-image-item .fx-image-caption {
        padding: 15px;
        background: rgba(255, 255, 255, 0.02);
        font-size: 0.85rem;
    }

/* Lists */
.fx-list,
.fx-ordered-list {
    margin: 20px 0;
    padding-left: 0;
}

    .fx-list li,
    .fx-ordered-list li {
        margin-bottom: 10px;
        padding-left: 30px;
        position: relative;
        color: #cccccc;
    }

        .fx-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: #ffffff;
            font-weight: bold;
        }

.fx-ordered-list {
    counter-reset: list-counter;
}

    .fx-ordered-list li {
        counter-increment: list-counter;
    }

        .fx-ordered-list li::before {
            content: counter(list-counter) '.';
            position: absolute;
            left: 0;
            color: #ffffff;
            font-weight: bold;
        }

/* Info Box */
.fx-info-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

    .fx-info-box h4 {
        color: #ffffff;
        margin-bottom: 15px;
    }

    .fx-info-box ul {
        margin: 15px 0;
        padding-left: 20px;
    }

    .fx-info-box li {
        margin-bottom: 8px;
        color: #cccccc;
    }

/* Timeline */
.fx-timeline {
    position: relative;
    margin: 40px 0;
}

    .fx-timeline::before {
        content: '';
        position: absolute;
        left: 50px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #ffffff;
    }

.fx-timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 120px;
}

.fx-timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 40px;
    background: #ffffff;
    color: #000000;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.fx-timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
}

    .fx-timeline-content h4 {
        color: #ffffff;
        margin-bottom: 10px;
    }

    .fx-timeline-content p {
        margin: 0;
        color: #cccccc;
    }

/* Article Footer */
.fx-article-footer {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.fx-article-tags,
.fx-article-share {
    margin-bottom: 25px;
}

    .fx-article-tags h4,
    .fx-article-share h4 {
        color: #ffffff;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

.fx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fx-tag {
    background: rgba(255, 255, 255, 0.05);
    color: #cccccc;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .fx-tag:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

.fx-share-buttons {
    display: flex;
    gap: 10px;
}

.fx-share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

    .fx-share-btn.facebook {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fx-share-btn.twitter {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fx-share-btn.linkedin {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fx-share-btn.whatsapp {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fx-share-btn.email {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .fx-share-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        background: rgba(255, 255, 255, 0.1);
    }

/* Comments Section */
.fx-comments-section {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.fx-comments-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
}

    .fx-comments-title i {
        color: #ffffff;
        font-size: 1.8rem;
    }

.fx-comments-list {
    margin-bottom: 40px;
}

.fx-comment {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .fx-comment:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

.fx-comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

    .fx-comment-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.fx-comment-content {
    flex: 1;
}

.fx-comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.fx-comment-author {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.fx-comment-date {
    font-size: 0.85rem;
    color: #666666;
}

.fx-comment-text {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.fx-comment-actions {
    display: flex;
    gap: 20px;
}

.fx-comment-like,
.fx-comment-reply {
    background: none;
    border: none;
    color: #666666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .fx-comment-like:hover,
    .fx-comment-reply:hover {
        color: #ffffff;
    }

    .fx-comment-like i {
        font-size: 1rem;
    }

/* Comment Form */
.fx-comment-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
}

    .fx-comment-form h4 {
        color: #ffffff;
        margin-bottom: 20px;
        font-size: 1.2rem;
    }

.fx-form-group {
    margin-bottom: 20px;
}

    .fx-form-group input,
    .fx-form-group textarea {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
        padding: 12px 16px;
        border-radius: 6px;
        font-size: 1rem;
        outline: none;
        transition: border-color 0.3s ease;
    }

        .fx-form-group input:focus,
        .fx-form-group textarea:focus {
            border-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
        }

        .fx-form-group input::placeholder,
        .fx-form-group textarea::placeholder {
            color: #666666;
        }

.fx-submit-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .fx-submit-btn:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

/* Sidebar */
.fx-article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 100px;
}

.fx-sidebar-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
}

.fx-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

    .fx-widget-title i {
        color: #ffffff;
        font-size: 1.3rem;
    }

/* Table of Contents */
.fx-toc-list {
    list-style: none;
    padding: 0;
}

    .fx-toc-list li {
        margin-bottom: 10px;
    }

    .fx-toc-list a {
        color: #cccccc;
        text-decoration: none;
        padding: 8px 12px;
        border-radius: 4px;
        display: block;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

        .fx-toc-list a:hover,
        .fx-toc-list a.active {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            transform: translateX(5px);
        }

/* Related Posts */
.fx-related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fx-related-post {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .fx-related-post:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.fx-related-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

    .fx-related-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.fx-related-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

    .fx-related-content h4 a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .fx-related-content h4 a:hover {
            color: #cccccc;
        }

.fx-related-meta span {
    font-size: 0.8rem;
    color: #666666;
}

/* Newsletter */
.fx-widget-desc {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.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);
        }

/* Responsive Design */
@media (max-width: 1024px) {
    .fx-article-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fx-article-sidebar {
        position: static;
        top: auto;
    }

    .fx-timeline::before {
        left: 30px;
    }

    .fx-timeline-item {
        padding-left: 80px;
    }

    .fx-timeline-marker {
        width: 60px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .fx-article-title {
        font-size: 2rem;
    }

    .fx-article-excerpt {
        font-size: 1.1rem;
    }

    .fx-article-author {
        flex-direction: column;
        text-align: center;
    }

    .fx-stats-grid {
        grid-template-columns: 1fr;
    }

    .fx-image-grid {
        grid-template-columns: 1fr;
    }

    .fx-share-buttons {
        justify-content: center;
    }

    .fx-comment {
        flex-direction: column;
        gap: 10px;
    }

    .fx-comment-avatar {
        width: 40px;
        height: 40px;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .fx-article {
        padding: 40px 0;
    }

    .fx-article-title {
        font-size: 1.8rem;
    }

    .fx-article-excerpt {
        font-size: 1rem;
        padding: 15px;
    }

    .fx-article-content {
        font-size: 1rem;
    }

    .fx-content-section h2 {
        font-size: 1.6rem;
    }

    .fx-newsletter-form {
        flex-direction: column;
    }

    .fx-timeline::before {
        left: 20px;
    }

    .fx-timeline-item {
        padding-left: 50px;
    }

    .fx-timeline-marker {
        width: 40px;
        height: 25px;
        font-size: 0.7rem;
    }
}
