/* ==========================================
   BLOG PAGE SPECIFIC STYLES
   ========================================== */

/* Blog Hero */
.blog-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10rem 0 6rem;
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 50vh;
        padding: 8rem 0 4rem;
    }

    .blog-hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Featured Post */
.featured-post {
    padding: 4rem 0;
}

.featured-card {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-content {
    position: relative;
}

.post-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.featured-card h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.post-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.read-more-btn {
    padding: 0.875rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.read-more-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-color: transparent;
}

.featured-image {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

@media (max-width: 968px) {
    .featured-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-card h2 {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-image {
        height: 300px;
    }
}

/* Blog Posts Grid */
.blog-posts {
    padding: 6rem 0;
    background: var(--bg-dark-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image .image-placeholder {
    transform: scale(1.1);
}

.blog-image .post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-footer>div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-footer i {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
}

.newsletter-card {
    padding: 4rem;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.newsletter-form button {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 3rem 2rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}