/* Blog-specific styles */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, var(--deep-blue), var(--burgundy));
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--warm-white);
    margin-top: 70px;
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-style: italic;
}

/* Brand Link */
.brand-link {
    text-decoration: none;
    color: inherit;
}

.brand-link:hover {
    opacity: 0.8;
}

/* Blog List */
.blog-list {
    background: var(--soft-cream);
    padding: 4rem 0;
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.article-card {
    background: var(--warm-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.article-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-image {
    width: 400px;
    min-height: 300px;
    overflow: hidden;
    order: 2;
}

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

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

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-date {
    color: var(--primary-gold);
}

.article-category {
    padding: 0.25rem 0.75rem;
    background: var(--soft-cream);
    border-radius: 20px;
    font-weight: 600;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-gold);
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
}

.article-card:hover .read-more {
    transform: translateX(5px);
}

/* Blog Post */
.blog-post {
    background: var(--soft-cream);
    padding-top: 100px;
    padding-bottom: 4rem;
}

.post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.post-date {
    color: var(--primary-gold);
    font-weight: 600;
}

.post-category {
    padding: 0.3rem 1rem;
    background: var(--primary-gold);
    color: var(--warm-white);
    border-radius: 20px;
    font-weight: 600;
}

.post-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
}

.post-featured-image {
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--warm-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--deep-blue);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-content h2:first-child {
    margin-top: 0;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.post-image {
    margin: 2.5rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-quote {
    background: var(--soft-cream);
    border-left: 4px solid var(--primary-gold);
    padding: 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.post-quote p {
    margin: 0;
}

.post-divider {
    border: none;
    border-top: 2px solid var(--soft-cream);
    margin: 3rem 0;
}

.post-closing {
    background: var(--soft-cream);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.post-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
}

.back-to-blog {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-gold);
    color: var(--warm-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.back-to-blog:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary-gold);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 0 3rem;
    }
    
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .article-link {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 250px;
        order: 1;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .post-intro {
        font-size: 1.1rem;
    }
    
    .post-content {
        padding: 2rem 1.5rem;
    }
    
    .post-content h2 {
        font-size: 1.6rem;
    }
    
    .post-quote {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 5rem 0 2rem;
    }
    
    .post-content {
        padding: 1.5rem 1rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
