/* Blog Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
main {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Article Container */
.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Title */
.titleH1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

/* Article Cards */
.article__inner {
    background: white;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.article__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.article__inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.12);
    border-color: #3b82f6;
}

.article__inner:hover::before {
    transform: translateY(0);
}

/* Article Title */
.article-conclusion h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-conclusion h2 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-conclusion h2 a:hover {
    opacity: 0.8;
}

/* Article Intro */
.article-intro {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Button */
.btnWrp {
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-accent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.25);
}

/* Meta */
.related-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.date {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    padding: 40px 0;
}

.pagination .btn {
    min-width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
}

.pagination .btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
}

.pagination .btn.current {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
}

.pagination .ellipsis {
    color: #94a3b8;
    font-weight: 500;
}

/* Related Posts Section */
.related-posts {
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.related-posts::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.related-posts h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.related-post {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.related-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.12);
    border-color: #3b82f6;
}

.related-post:hover::before {
    transform: translateY(0);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
}

.related-post h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post:hover h3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Home Link Styles */
.nav-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-home-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-home-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.35);
}

.nav-home-link:hover::before {
    opacity: 1;
}

.nav-home-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-home-link span {
    position: relative;
    z-index: 1;
    letter-spacing: 0.025em;
}

.nav-home-link:hover svg {
    transform: scale(1.1);
}

.nav-home-link:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .titleH1 {
        font-size: 2rem;
    }
    
    .article__inner {
        padding: 25px;
    }
    
    .article-conclusion h2 {
        font-size: 1.4rem;
    }
    
    .related-posts {
        padding: 40px 20px;
    }
    
    .related-posts h2 {
        font-size: 1.8rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-home-link span {
        display: none;
    }
    
    .nav-home-link {
        padding: 8px 14px;
    }
    
    .nav-home-link svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 80px;
    }
    
    .article-container {
        padding: 20px 10px;
    }
    
    .titleH1 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    
    .article__inner {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .article-conclusion h2 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .pagination {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .pagination .btn {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .related-posts {
        margin-top: 60px;
        padding: 30px 15px;
        border-radius: 20px;
    }
    
    .related-posts h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .related-post {
        padding: 20px;
    }
    
    .related-post h3 {
        font-size: 1.1rem;
    }
}