/* Blog Styles */

/* App Showcase in Blog Posts */
.blog-post-content .app-showcase {
    margin: 40px 0;
}

.blog-post-content .app-screens {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-post-content .screen {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.blog-post-content .screen h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-post-content .screen-image {
    width: auto;
    max-width: 250px;
    max-height: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    object-fit: contain;
}

@media (max-width: 768px) {
    .blog-post-content .app-screens {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-post-content .screen {
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .blog-post-content .screen-image {
        max-width: 300px;
        max-height: 600px;
    }
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #2dd0ca 0%, #23a9a5 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.blog-hero-content h1 {
    font-family: 'Titan One', cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Filter Section */
.content-filter {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn:hover {
    border-color: #2dd0ca;
    color: #2dd0ca;
}

.filter-btn.active {
    background: #2dd0ca;
    border-color: #2dd0ca;
    color: white;
}

/* Blog Content Section */
.blog-content {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #2dd0ca, #23a9a5);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-type {
    display: inline-block;
    background: #2dd0ca;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.blog-card-type.video {
    background: #ff6b6b;
}

.blog-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.85rem;
}

.blog-card-date {
    font-weight: 500;
}

.blog-card-duration {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
}

/* Video Card Specific Styles */
.blog-card.video .blog-card-image {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card.video .blog-card-image::after {
    content: '▶';
    color: white;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Individual Blog Post Styles */
.blog-post-header {
    background: linear-gradient(135deg, #2dd0ca 0%, #23a9a5 100%);
    color: white;
    padding: 120px 0 60px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.blog-post-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-post-excerpt {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
}

.blog-post-content {
    padding: 60px 0;
}

.blog-post-content .container {
    max-width: 800px;
}

.blog-post-content h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 2.16rem;
    color: #333;
    margin: 40px 0 20px;
}

.blog-post-content h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.68rem;
    color: #333;
    margin: 30px 0 15px;
}

.blog-post-content p {
    font-family: 'Sora', sans-serif;
    font-size: 1.44rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-post-content li {
    font-family: 'Sora', sans-serif;
    font-size: 1.44rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #444;
}

.blog-post-content blockquote {
    font-family: 'Sora', sans-serif;
    font-size: 1.44rem;
    background: #f8f9fa;
    border-left: 4px solid #2dd0ca;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    line-height: 1.8;
}

/* Video Embed Styles */
.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

/* Back to Blog Button */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.back-to-blog:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero-content p {
        font-size: 1.1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-post-title {
        font-size: 2rem;
        font-weight: 800;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.8rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.44rem;
    }
    
    .blog-post-content p,
    .blog-post-content li {
        font-size: 1.32rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 40px;
    }
    
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .blog-hero-content p {
        font-size: 1rem;
    }
    
    .blog-post-title {
        font-size: 1.8rem;
        font-weight: 800;
    }
    
    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}