
/* Blog Page Styles */

.blog-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    text-align: center;
}

.hero-content-blog {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero .tagline {
    font-size: 1.8rem;
    color: var(--phoenix-cyan);
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    color: var(--phoenix-cyan);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    padding-bottom: 0.5rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.2s;
}

.category-list a:hover, .category-list a.active {
    background: rgba(6, 182, 212, 0.1);
    color: var(--phoenix-cyan);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.tag:hover, .tag.active {
    background: var(--phoenix-cyan);
    color: white;
}

/* Featured Post */
.featured-post {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.featured-image {
    min-height: 300px;
    background: linear-gradient(135deg, #1E3A5F 0%, #0A1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid var(--phoenix-cyan);
    border-radius: 20px;
    color: var(--phoenix-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

/* Blog Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-10px);
    border-color: var(--phoenix-cyan);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.post-image {
    height: 200px;
    background: linear-gradient(135deg, #1E3A5F 0%, #0A1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.post-category {
    color: var(--phoenix-cyan);
    font-weight: 600;
}

.post-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: white;
    line-height: 1.4;
}

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

.read-more {
    color: var(--phoenix-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.post-card:hover .read-more {
    gap: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 2rem;
    background: rgba(6, 182, 212, 0.05);
    margin-top: 4rem;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
}

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

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    background: rgba(26, 31, 58, 0.8);
    color: white;
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: var(--phoenix-cyan);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: #0891b2;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
