/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, #ff006e 0%, #ff9e00 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .featured-article {
        grid-template-columns: 1fr;
    }
}

.featured-content {
    padding: 3rem;
}

.featured-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author {
    font-weight: 600;
}

.date, .read-time {
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-read-featured {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-read-featured:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.featured-image {
    height: 100%;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

/* Blog Categories */
.blog-categories {
    margin: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.category-card:hover .category-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

.category-card h3 {
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Blog Posts */
.blog-posts {
    margin: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.sort-controls select {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    background: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

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

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.post-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.post-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.btn-read:hover {
    gap: 12px;
}

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

.page-btn, .page-next {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--light-gray);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover, .page-next:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-dots {
    padding: 0.75rem;
}

.page-next {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Newsletter */
.blog-newsletter {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 4rem 0;
    text-align: center;
}

.blog-newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.blog-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.subscribe-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.subscribe-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background: #e0005e;
}

.privacy-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Popular Tags */
.popular-tags {
    margin: 4rem 0;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.tag {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: white;
}