/* Article Page Styles */
/* Modern, clean design for news articles with excellent readability */

.article-container {
    padding: 40px 0 80px;
    background: #ffffff;
}

.article-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.article-category {
    background: #f79009;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.article-read-time {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.article-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.article-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 40px;
    font-weight: 400;
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.author-title {
    font-size: 14px;
    color: #6b7280;
}

.article-featured-image {
    margin-bottom: 60px;
    text-align: center;
}

.featured-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.image-caption {
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-body {
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 60px;
}

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

.article-body .lead {
    font-size: 20px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 32px;
    line-height: 1.6;
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 48px 0 24px;
    line-height: 1.2;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 32px 0 16px;
    line-height: 1.3;
}

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

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

.article-body strong {
    font-weight: 600;
    color: #1f2937;
}

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

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

.article-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tag-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.tag {
    background: #f3f4f6;
    color: #374151;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #f79009;
    color: white;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-button {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.share-button.twitter {
    background: #1da1f2;
    color: white;
}

.share-button.twitter:hover {
    background: #0d8bd9;
}

.share-button.linkedin {
    background: #0077b5;
    color: white;
}

.share-button.linkedin:hover {
    background: #005885;
}

.share-button.facebook {
    background: #4267b2;
    color: white;
}

.share-button.facebook:hover {
    background: #365899;
}

/* Related Articles */
.related-articles {
    background: #f9fafb;
    padding: 80px 0;
}

.related-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 48px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 24px;
}

.related-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.related-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-content h3 a:hover {
    color: #f79009;
}

.related-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.related-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
}

.related-category {
    background: #f79009;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.related-date {
    color: #6b7280;
}

/* Article Navigation */
.article-navigation {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.nav-link {
    display: block;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: #f3f4f6;
    border-color: #f79009;
}

.nav-link.prev {
    text-align: left;
}

.nav-link.next {
    text-align: right;
}

.nav-direction {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-container {
        padding: 20px 0 40px;
    }
    
    .breadcrumbs {
        padding: 12px 0;
    }
    
    .article-header {
        margin-bottom: 40px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }
    
    .article-category,
    .article-date,
    .article-read-time {
        margin: 0;
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .article-title {
        font-size: 2.5rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .article-subtitle {
        font-size: 1.125rem;
        text-align: center;
        line-height: 1.5;
    }
    
    .article-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .article-body .lead {
        font-size: 18px;
    }
    
    .article-body h2 {
        font-size: 1.75rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
    
    .article-featured-image {
        margin-bottom: 40px;
    }
    
    .related-articles {
        padding: 40px 0;
    }
    
    .related-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .nav-link.prev,
    .nav-link.next {
        text-align: center;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-container {
        padding: 20px 0 40px;
    }
    
    .breadcrumbs {
        padding: 8px 0;
    }
    
    .article-title {
        font-size: 2rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .article-subtitle {
        font-size: 1rem;
        text-align: center;
        line-height: 1.4;
    }
    
    .article-meta {
        gap: 8px;
    }
    
    .article-category,
    .article-date,
    .article-read-time {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .article-author {
        gap: 8px;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
    }
    
    .author-name {
        font-size: 14px;
    }
    
    .author-title {
        font-size: 12px;
    }
    
    .article-body {
        font-size: 15px;
    }
    
    .related-title {
        font-size: 1.75rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .article-container {
        padding: 16px 0 40px;
    }
    
    .breadcrumbs {
        padding: 6px 0;
    }
    
    .article-title {
        font-size: 1.75rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .article-subtitle {
        font-size: 0.9rem;
        text-align: center;
        line-height: 1.3;
    }
    
    .article-meta {
        gap: 6px;
    }
    
    .article-category,
    .article-date,
    .article-read-time {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .article-author {
        gap: 6px;
    }
    
    .author-avatar {
        width: 32px;
        height: 32px;
    }
    
    .author-name {
        font-size: 13px;
    }
    
    .author-title {
        font-size: 11px;
    }
    
    .article-category,
    .article-date,
    .article-read-time {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .author-info {
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .article-container {
        padding: 0;
    }
    
    .article-share,
    .related-articles,
    .article-navigation {
        display: none;
    }
    
    .article-body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .article-title {
        font-size: 18pt;
    }
    
    .article-body h2 {
        font-size: 16pt;
    }
    
    .article-body h3 {
        font-size: 14pt;
    }
}
