/* Blog-Specific Styles */

/* Blog Hero */
.blog-hero {
    padding: 140px 0 80px 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1E293B 100%);
    color: white;
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.blog-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Blog Categories */
.blog-categories {
    padding: 2rem 0;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.categories-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text);
}

.category-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

/* Featured Post */
.featured-post {
    padding: var(--space-xl) 0;
    background: white;
}

.featured-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8a5c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.featured-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.featured-excerpt {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.featured-cta {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0091ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-category {
    background: var(--color-primary);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date,
.post-reading-time,
.read-time {
    color: var(--color-text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Blog Posts Grid */
.blog-posts {
    padding: var(--space-xl) 0;
    background: var(--color-bg-light);
}

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

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:not(.post-coming-soon):hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.post-coming-soon {
    opacity: 0.6;
    cursor: default;
}

.post-link {
    text-decoration: none;
    color: var(--color-text);
    display: block;
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--color-bg-light);
}

.post-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0091ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.post-excerpt {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.read-more {
    color: var(--color-primary);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.post-card:not(.post-coming-soon):hover .read-more {
    gap: 1rem;
}

/* Newsletter */
.blog-newsletter {
    padding: var(--space-xl) 0;
    background: var(--color-primary);
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.newsletter-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

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

.newsletter-form button {
    white-space: nowrap;
}

.newsletter-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Individual Blog Post Styles */
.blog-post-header {
    padding: 140px 0 60px 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1E293B 100%);
    color: white;
}

.blog-post-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.blog-post-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.blog-post-content {
    padding: var(--space-xl) 0;
    background: white;
}

.blog-post-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-article h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 2.5rem 0 1rem 0;
    text-transform: uppercase;
}

.blog-post-article h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 2rem 0 1rem 0;
    text-transform: uppercase;
}

.blog-post-article p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.blog-post-article ul,
.blog-post-article ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-article li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.blog-post-article strong {
    color: var(--color-secondary);
    font-weight: 700;
}

.highlight-box {
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .featured-image-placeholder {
        height: 200px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .categories-list {
        gap: 0.5rem;
    }

    .category-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
}