/* Article-specific styles */

/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8fafc;
    padding: 16px 0;
    margin-top: 80px;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 14px;
    color: #64748b;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin: 0 12px;
    color: #94a3b8;
}

.breadcrumb-list a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #0066ff;
}

.breadcrumb-list li[aria-current="page"] {
    color: #1a1a1a;
    font-weight: 500;
}

/* Article Header */
.article-header {
    padding: 60px 0;
    background: #ffffff;
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 48px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #64748b;
    flex-wrap: wrap;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 400;
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
    display: block;
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: #64748b;
    display: block;
    margin-bottom: 4px;
}

.author-bio {
    font-size: 13px;
    color: #94a3b8;
    max-width: 300px;
    line-height: 1.4;
}

.article-header .article-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.article-header .article-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.article-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.image-placeholder-content {
    text-align: center;
    max-width: 400px;
    padding: 40px;
}

.image-placeholder-content .placeholder-icon {
    margin-bottom: 30px;
    opacity: 0.8;
}

.image-placeholder-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.image-placeholder-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
    line-height: 1.4;
}

.author-avatar-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Article Content */
.article-content {
    background: #ffffff;
    padding: 80px 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1a1a1a;
}

.article-text .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: #374151;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e5e5;
}

.article-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 48px 0 24px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.article-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 40px 0 20px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.article-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 32px 0 16px;
    line-height: 1.4;
}

.article-text p {
    margin-bottom: 24px;
    color: #374151;
}

.article-text ul,
.article-text ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-text li {
    margin-bottom: 12px;
    color: #374151;
}

.article-text blockquote {
    margin: 40px 0;
    padding: 24px 32px;
    background: #f8fafc;
    border-left: 4px solid #0066ff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.article-text blockquote p {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 500;
}

.article-text blockquote cite {
    font-size: 0.9rem;
    color: #64748b;
    font-style: normal;
    font-weight: 500;
}

.article-text blockquote cite::before {
    content: '— ';
}

.article-text strong {
    font-weight: 600;
    color: #1a1a1a;
}

.article-text em {
    font-style: italic;
    color: #374151;
}

.article-text a {
    color: #0066ff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.article-text a:hover {
    color: #0052cc;
    text-decoration-thickness: 2px;
}

/* Article Tags */
.article-tags {
    margin: 64px 0 48px;
    padding: 32px 0;
    border-top: 1px solid #e5e5e5;
}

.article-tags h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin: 0 8px 8px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #0066ff;
    color: white;
    transform: translateY(-1px);
}

/* Author Bio Section */
.author-bio-section {
    margin: 64px 0;
    padding: 48px 0;
    background: #f8fafc;
    border-radius: 16px;
}

.author-bio-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 0 32px;
}

.author-large-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-bio-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.author-bio-title {
    font-size: 1rem;
    color: #0066ff;
    font-weight: 500;
    margin-bottom: 16px;
}

.author-bio-description {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-social {
    display: flex;
    gap: 16px;
}

.author-social a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: #0066ff;
}

/* Related Articles */
.related-articles {
    margin: 64px 0;
    padding: 48px 0;
    border-top: 1px solid #e5e5e5;
}

.related-articles h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-category {
    font-size: 12px;
    color: #0066ff;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.related-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.related-content h3 a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.related-content h3 a:hover {
    color: #0066ff;
}

.related-date {
    font-size: 14px;
    color: #64748b;
}

/* Newsletter Signup */
.newsletter-signup {
    margin: 64px 0;
    padding: 48px;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    background: white;
    color: #0066ff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.newsletter-disclaimer {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .article-header .article-image img {
        height: 300px;
    }
    
    .author-bio-card {
        flex-direction: column;
        text-align: center;
        padding: 0 16px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-signup {
        margin: 32px -16px;
        padding: 32px 16px;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 40px 0;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-text {
        font-size: 1rem;
    }
    
    .article-text .lead {
        font-size: 1.1rem;
    }
    
    .article-text h2 {
        font-size: 1.5rem;
    }
    
    .article-text h3 {
        font-size: 1.25rem;
    }
    
    .article-text blockquote {
        margin: 24px -16px;
        padding: 20px 24px;
        border-radius: 0;
    }
    
    .author-bio-section {
        margin: 32px -16px;
        border-radius: 0;
    }
}
