.blog-section {
    padding: 2rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--explore-radius);
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    border-color: var(--explore-accent);
    transform: translateY(-4px);
    box-shadow: var(--explore-shadow);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 1.25rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.blog-date {
    color: var(--explore-text-muted);
}

.blog-category {
    color: var(--explore-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.1rem;
    color: var(--explore-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--explore-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--explore-border);
}

.blog-read-more {
    color: var(--accent);
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.blog-read-more:hover {
    color: var(--accent-dark);
    transform: translateX(4px);
}

.blog-readonly-notice {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background: var(--explore-surface);
    border: 1px solid var(--explore-border);
    border-radius: var(--explore-radius);
    color: var(--explore-text-muted);
    font-size: 0.85rem;
}

.blog-readonly-notice a {
    color: var(--explore-accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-section {
        padding: 1.5rem 1rem;
    }
}

/* Skeleton Loading States */
.blog-card.skeleton {
    height: 360px;
    background: linear-gradient(90deg, var(--explore-surface) 25%, rgba(255, 184, 0, 0.05) 50%, var(--explore-surface) 75%) !important;
    background-size: 200% 100% !important;
    animation: skeleton-loading 1.5s infinite !important;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Blog & Product Modal */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 1rem;
}

.blog-modal.active {
    opacity: 1;
    visibility: visible;
}

.blog-modal-content {
    background: var(--bg-card);
    border-radius: var(--explore-radius);
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    width: 100%;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
    margin: auto;
}

.blog-modal.active .blog-modal-content {
    transform: scale(1);
}

/* Prevent background scrolling when modal is open */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

.blog-modal.active .blog-modal-content {
    transform: scale(1);
}

.blog-modal-header {
    position: relative;
}

.blog-modal-header img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--explore-radius) var(--explore-radius) 0 0;
}

.blog-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 2001;
}

.blog-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.blog-modal-body {
    padding: 2rem;
}

.blog-modal-body .blog-category {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-modal-body h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-meta-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.blog-full-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.blog-full-content p {
    margin-bottom: 1rem;
}

.modal-notice {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .blog-modal {
        padding: 0.5rem;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .blog-modal-content {
        max-height: 85vh;
        margin: auto !important;
        top: auto !important;
        transform: none !important;
    }
    
    .blog-modal.active .blog-modal-content {
        transform: scale(1) !important;
        top: auto !important;
    }
    
    .blog-modal-header img {
        height: 200px;
    }
    
    .blog-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .blog-modal-body {
        padding: 1.5rem;
    }
    
    .blog-modal-body h2 {
        font-size: 1.5rem;
    }
    
    .blog-meta-details {
        gap: 1rem;
    }
    
    body.modal-open {
        overflow: hidden !important;
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
    }
}