/* Blog Page Styles */

/* Hero Section */
.blog-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(to right, var(--primary-dark), var(--accent-dark));
}

.glow-text {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.blog-hero .subheadline {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Blog */
.featured-blog {
    padding: 80px 0;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    align-items: stretch;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

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

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

.featured-content {
    padding: 2rem;
}

.featured-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Blog Grid */
.blog-grid {
    padding: 60px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.tag-pills {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(var(--accent-rgb), 0.9);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.8rem;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.meta-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Categories Bar */
.categories-bar {
    padding: 20px 0;
    position: sticky;
    top: 80px;
    background: var(--background);
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
}

.category-filters {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 10px;
}

.category-btn {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn:hover,
.category-btn.active {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary-dark), var(--accent-dark));
    text-align: center;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
/* Article Section */
.article-section {
    padding: clamp(160px, 18vh, 200px) 0 80px;
}

.article-container {
    max-width: 850px;
}

.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.article-meta {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.article-content p {
    line-height: 1.9;
    margin: 1rem 0;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 0.75rem;
    color: var(--text-primary);
}

.article-content ul {
    margin: 0.5rem 0 1.5rem 1.25rem;
    padding-left: 1rem;
}

.article-content li {
    margin: 0.4rem 0;
    color: var(--text-primary);
}

.article-cta {
    margin-top: 2.5rem;
}

.article-cta .cta-button {
    display: inline-block;
}

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

    .featured-image {
        height: auto;
        padding: 0;
    }

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

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

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

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