/* --- Blog Article Page Styles for TasarMiPiso --- */

/* Article Header */
.article-header {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.article-breadcrumb {
    margin-bottom: 24px;
}

.article-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.article-breadcrumb a:hover {
    color: #2563eb;
}

.article-breadcrumb span {
    color: #94a3b8;
    margin: 0 8px;
}

.article-category {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

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

.article-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Article Content */
.article-content {
    padding: 60px 0;
    background: white;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.article-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 48px 0 24px;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin: 40px 0 20px;
    line-height: 1.4;
}

.article-body h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 32px 0 16px;
    line-height: 1.4;
}

.article-body p {
    margin-bottom: 24px;
    text-align: justify;
}

.article-body ul, .article-body ol {
    margin: 24px 0;
    padding-left: 32px;
}

.article-body li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-body blockquote {
    border-left: 4px solid #2563eb;
    padding: 20px 24px;
    margin: 32px 0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.article-body a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.article-body a:hover {
    border-bottom-color: #2563eb;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-body .highlight-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #7dd3fc;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.article-body .highlight-box h4 {
    color: #0369a1;
    margin-top: 0;
    margin-bottom: 16px;
}

/* Internal Links Box */
.internal-links {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    margin: 48px 0;
}

.internal-links h3 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.internal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.internal-link {
    display: block;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
}

.internal-link:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
}

/* Article Navigation */
.article-nav {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.article-nav .container {
    max-width: 800px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.article-nav .nav-link {
    display: block;
    padding: 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-nav .nav-link:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #2563eb;
}

.article-nav .nav-link-direction {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.article-nav .nav-link-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.article-nav .nav-link.prev .nav-link-direction {
    color: #10b981;
}

.article-nav .nav-link.next .nav-link-direction {
    color: #2563eb;
}

/* Back to Blog */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 32px;
    transition: all 0.2s ease;
}

.back-to-blog:hover {
    color: #1d4ed8;
    transform: translateX(-4px);
}

.back-to-blog i {
    font-size: 14px;
}

/* CTA Section */
.article-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

.article-cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.article-cta p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.article-cta .btn-primary-large {
    background: white;
    color: #2563eb;
}

.article-cta .btn-primary-large:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Articles */
@media (max-width: 768px) {
    .article-header {
        padding: 60px 0 30px;
    }
    
    .article-title {
        font-size: 36px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .article-image {
        height: 240px;
        margin-bottom: 32px;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .article-body h2 {
        font-size: 28px;
        margin: 40px 0 20px;
    }
    
    .article-body h3 {
        font-size: 22px;
        margin: 32px 0 16px;
    }
    
    .article-body h4 {
        font-size: 18px;
        margin: 24px 0 12px;
    }
    
    .internal-links {
        padding: 24px;
        margin: 40px 0;
    }
    
    .internal-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-nav {
        padding: 40px 0;
    }
    
    .article-cta h2 {
        font-size: 28px;
    }
    
    .article-cta p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 40px 0 20px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-content {
        padding: 32px 0;
    }
    
    .article-image {
        height: 200px;
        margin-bottom: 24px;
    }
    
    .article-body {
        font-size: 15px;
    }
    
    .article-body h2 {
        font-size: 24px;
    }
    
    .article-body h3 {
        font-size: 20px;
    }
    
    .article-body ul, .article-body ol {
        padding-left: 24px;
    }
    
    .internal-links {
        padding: 20px;
    }
    
    .article-nav .nav-link {
        padding: 20px;
    }
    
    .article-cta {
        padding: 60px 0;
    }
    
    .article-cta h2 {
        font-size: 24px;
    }
}
