/* =============================================
   BLOG PAGE STYLES V2
   ============================================= */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3em;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb i {
    font-size: 12px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.page-hero p {
    font-size: 20px;
    margin: 0 0 35px 0;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats-small {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-small {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.stat-small i {
    font-size: 20px;
    color: #FFD93D;
}

.stat-small span {
    font-size: 15px;
    font-weight: 600;
}

/* Blog Categories Section */
.blog-categories-section {
    background: #ffffff;
    padding: 30px 0;
    border-bottom: 2px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-cat-tab:hover {
    background: #f3f4f6;
    border-color: #5B47E0;
    color: #5B47E0;
    transform: translateY(-2px);
}

.blog-cat-tab.active {
    background: linear-gradient(135deg, #5B47E0 0%, #7c3aed 100%);
    border-color: #5B47E0;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(91, 71, 224, 0.3);
}

.blog-cat-tab i {
    font-size: 16px;
}

/* Blog Posts Section */
.blog-posts-section {
    background: #f9fafb;
}

/* Featured Blog Post */
.featured-blog-post {
    background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2em;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
    position: relative;
}

.featured-post-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #FFD93D 0%, #F59E0B 100%);
    color: #1F2937;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

.featured-post-badge i {
    color: #1F2937;
}

.featured-post-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 0;
}

.featured-post-image {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-category-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-category-badge.tv-show {
    background: rgba(231, 76, 60, 0.95);
    color: #ffffff;
}

.post-category-badge.tips {
    background: rgba(16, 185, 129, 0.95);
    color: #ffffff;
}

.featured-post-text {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.post-meta i {
    color: #5B47E0;
    font-size: 14px;
}

.featured-post-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.featured-post-text h2 a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-text h2 a:hover {
    color: #5B47E0;
}

.featured-post-text > p {
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    margin: 0 0 30px 0;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #5B47E0 0%, #7c3aed 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(91, 71, 224, 0.4);
    width: fit-content;
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(91, 71, 224, 0.5);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* Blog Intro Text */
.blog-intro-text {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 12px;
    margin-bottom: 50px;
    border-left: 4px solid #5B47E0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-intro-text h3 {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 15px 0;
}

.blog-intro-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #4B5563;
    margin: 0;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Blog Post Card */
.blog-post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
	margin-bottom: 2em;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #5B47E0;
}

.blog-post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-content h3 {
    margin: 0 0 12px 0;
    flex-grow: 1;
}

.blog-post-content h3 a {
    color: #111827;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.blog-post-content h3 a:hover {
    color: #5B47E0;
}

.blog-post-content > p {
    font-size: 15px;
    line-height: 1.7;
    color: #6B7280;
    margin: 0 0 20px 0;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5B47E0;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.read-more-link:hover {
    gap: 12px;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 60px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #5B47E0;
    padding: 16px 40px;
    border: 2px solid #5B47E0;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #5B47E0;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(91, 71, 224, 0.3);
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

/* Hidden Posts (for filtering) */
.blog-post-card.hidden {
    display: none;
}

.featured-blog-post.hidden {
    display: none;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 1200px) {
    .featured-post-content {
        grid-template-columns: 1fr;
    }
    
    .featured-post-image {
        height: 400px;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero p {
        font-size: 17px;
    }
    
    .hero-stats-small {
        gap: 20px;
    }
    
    .stat-small {
        padding: 10px 20px;
    }
    
    .stat-small span {
        font-size: 14px;
    }
    
    .blog-categories-section {
        padding: 20px 0;
    }
    
    .blog-category-tabs {
        gap: 10px;
    }
    
    .blog-cat-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .blog-posts-section {
        padding: 40px 0 60px;
    }
    
    .featured-blog-post {
        margin-bottom: 40px;
    }
    
    .featured-post-badge {
        top: 15px;
        right: 15px;
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .featured-post-image {
        height: 300px;
    }
    
    .featured-post-text {
        padding: 35px 30px;
    }
    
    .featured-post-text h2 {
        font-size: 24px;
    }
    
    .featured-post-text > p {
        font-size: 15px;
    }
    
    .blog-intro-text {
        padding: 30px 25px;
        margin-bottom: 40px;
    }
    
    .blog-intro-text h3 {
        font-size: 22px;
    }
    
    .blog-intro-text p {
        font-size: 16px;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-post-image {
        height: 200px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
    
    .blog-post-content h3 a {
        font-size: 19px;
    }
    
    .load-more-section {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 28px;
    }
    
    .page-hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-stats-small {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-small {
        width: 100%;
        justify-content: center;
    }
    
    .blog-category-tabs {
        flex-direction: column;
    }
    
    .blog-cat-tab {
        width: 100%;
        justify-content: center;
    }
    
    .featured-post-text {
        padding: 25px 20px;
    }
    
    .featured-post-text h2 {
        font-size: 22px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-intro-text {
        padding: 25px 20px;
    }
    
    .blog-intro-text h3 {
        font-size: 20px;
    }
    
    .blog-intro-text p {
        font-size: 15px;
    }
    
    .blog-post-content h3 a {
        font-size: 18px;
    }
    
    .read-more-btn {
        width: 100%;
        justify-content: center;
    }
    
    .load-more-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   CROSS LINK CTA STYLES
   ============================================= */

/* Cross Link CTA */
.cross-link-cta {
    margin-top: 60px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
}

.cta-content-inline {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 45px 50px;
}

.cta-icon-inline {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.cta-icon-inline i {
    font-size: 36px;
    color: #ffffff;
}

.cta-text-inline {
    flex: 1;
    color: #ffffff;
}

.cta-text-inline h3 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.cta-text-inline p {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
    color: #ffffff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #10B981;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-secondary:hover i {
    transform: translateX(5px);
}

/* Responsive for Cross Link CTA */
@media (max-width: 768px) {
    .cross-link-cta {
        margin-top: 50px;
    }
    
    .cta-content-inline {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 35px 30px;
    }
    
    .cta-text-inline h3 {
        font-size: 24px;
    }
    
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cta-content-inline {
        padding: 30px 20px;
    }
    
    .cta-icon-inline {
        width: 70px;
        height: 70px;
    }
    
    .cta-icon-inline i {
        font-size: 32px;
    }
    
    .cta-text-inline h3 {
        font-size: 22px;
    }
}