/* ===================== */
/* Blog Section */
/* ===================== */
.blog-section {
    padding: 100px 0;
    background: var(--primary-color);
    position: relative;
    z-index: 2;
}

/* Featured Post */
.featured-post {
    background: linear-gradient(145deg, var(--secondary-color), #151515);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 50px;
    transition: all 0.3s ease;
}

.featured-post:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-gray), var(--secondary-color));
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffab00);
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.featured-badge i {
    margin-left: 5px;
}

.featured-content {
    padding: 35px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.post-category {
    background: linear-gradient(135deg, var(--accent-color), #e55a2b);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-date,
.post-views {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.featured-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Blog Card */
.blog-card {
    background: linear-gradient(145deg, var(--secondary-color), #151515);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-gray), var(--secondary-color));
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-image .blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-color), #e55a2b);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content .post-meta {
    margin-bottom: 12px;
}

.blog-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
    color: var(--text-light);
    transition: color 0.3s;
}

.blog-card:hover .blog-card-content h3 {
    color: var(--accent-color);
}

.blog-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Pagination */
.blog-pagination {
    margin-top: 50px;
}

.pagination {
    gap: 10px;
}

.page-link {
    background: var(--secondary-color);
    border: 1px solid rgba(255, 107, 53, 0.15);
    color: var(--text-light);
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-color), #e55a2b);
    border-color: var(--accent-color);
}

.page-item.disabled .page-link {
    background: var(--secondary-color);
    opacity: 0.5;
}

/* ===================== */
/* Blog Sidebar */
/* ===================== */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: linear-gradient(145deg, var(--secondary-color), #151515);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 50px 15px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    background: var(--accent-light);
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
}

.category-list a:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
    transform: translateX(-5px);
}

.category-list .count {
    background: var(--primary-color);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.popular-post-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-info h4 a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.popular-post-info h4 a:hover {
    color: var(--accent-color);
}

.popular-post-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(145deg, var(--secondary-color), #151515);
    border: 1px solid rgba(255, 107, 53, 0.15);
}

.newsletter-widget p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form .btn-orange {
    width: 100%;
    padding: 15px;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-cloud a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tags-cloud a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
        margin-top: 50px;
    }

    .featured-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .blog-section {
        padding: 60px 0;
    }

    .featured-image {
        height: 220px;
    }

    .featured-content {
        padding: 20px;
    }

    .featured-content h2 {
        font-size: 1.4rem;
    }

    .sidebar-widget {
        padding: 20px;
    }
}