/* RUE10 Blog Styles - Dark Theme */

body {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #fff;
    min-height: 100vh;
}

.blog-hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.blog-hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
}

.blog-hero p {
    font-size: 1.3em;
    opacity: 0.9;
    color: #e0e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blog Filters */
.blog-filters {
    background: #333333;
    padding: 30px 20px;
    border-bottom: 1px solid #444;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #bc1a1a;
    background: transparent;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #bc1a1a;
    color: white;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: #333333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(188, 26, 26, 0.4);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #444, #333);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #bc1a1a;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.card-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 15px;
}

.post-meta i {
    margin-right: 5px;
    color: #bc1a1a;
}

.card-content h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.4;
}

.card-content p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background: #444;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    color: #aaa;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bc1a1a;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 15px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 18px;
    border: 2px solid #bc1a1a;
    background: #333;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: #bc1a1a;
    color: white;
}

/* Newsletter Section */
.newsletter {
    background: #333333;
    padding: 60px 20px;
    text-align: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.newsletter h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #fff;
}

.newsletter p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #555;
    border-radius: 8px;
    font-size: 1em;
    background: #2a2a2a;
    color: #fff;
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form button {
    padding: 15px 35px;
    background: #bc1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #a01616;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2em;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
