/* Article Page Styles */
.article-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

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

.article-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
}

.article-header p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Article Layout */
.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: block;
    padding: 12px 15px;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.category-item:hover {
    background: #f8fafc;
    color: #1a365d;
    padding-left: 20px;
}

.category-item.active {
    background: #1a365d;
    color: white;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.popular-post:hover {
    background: #f8fafc;
}

.popular-post-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.popular-post-info {
    flex: 1;
}

.popular-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a365d;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.popular-post-date {
    font-size: 12px;
    color: #94a3b8;
}

/* Newsletter */
.newsletter-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #1a365d;
}

.newsletter-btn {
    padding: 12px;
    background: #1a365d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #2a4a73;
    transform: translateY(-2px);
}

/* Article Content */
.article-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-image-wrapper {
    position: relative;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1a365d;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.article-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #94a3b8;
}

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

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

.article-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #2a4a73;
}

.article-excerpt {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.article-read-more {
    color: #1a365d;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.article-read-more:hover {
    color: #2a4a73;
    padding-left: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #1a365d;
    color: #1a365d;
}

.pagination-btn.active {
    background: #1a365d;
    color: white;
    border-color: #1a365d;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Article Detail */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #1a365d;
}

.breadcrumb span {
    color: #94a3b8;
}

.breadcrumb .current {
    color: #1a365d;
    font-weight: 600;
}

.article-detail {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px;
    color: white;
}

.article-hero-overlay .article-category {
    background: #10b981;
    margin-bottom: 15px;
}

.article-hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 40px;
}

.article-main {
    max-width: 800px;
}

.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a365d;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #1a365d;
    font-size: 16px;
}

.author-bio {
    font-size: 13px;
    color: #64748b;
}

.article-meta-info {
    display: flex;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
}

.article-content {
    line-height: 1.8;
    color: #334155;
}

.article-intro {
    font-size: 18px;
    font-weight: 500;
    color: #1a365d;
    margin-bottom: 30px;
    line-height: 1.7;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a365d;
    margin: 40px 0 20px 0;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a365d;
    margin: 30px 0 15px 0;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.article-quote {
    background: #f8fafc;
    border-left: 4px solid #1a365d;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: #1a365d;
    line-height: 1.6;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.article-list li {
    padding: 10px 0 10px 25px;
    position: relative;
    color: #334155;
    font-size: 16px;
    line-height: 1.6;
}

.article-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a365d;
    font-weight: bold;
    font-size: 20px;
}

.article-conclusion {
    background: linear-gradient(135deg, #1a365d 0%, #2a4a73 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.article-conclusion p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.tag {
    background: #f8fafc;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #1a365d;
    color: white;
}

.article-share {
    padding: 30px 0;
    border-top: 2px solid #e2e8f0;
    margin-top: 30px;
}

.article-share h4 {
    font-size: 16px;
    color: #1a365d;
    margin-bottom: 15px;
}

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

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.pinterest {
    background: #e60023;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Article Detail Sidebar */
.article-detail-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.author-widget {
    display: flex;
    gap: 15px;
}

.author-widget-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a365d;
}

.author-widget-info {
    flex: 1;
}

.author-widget-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 10px 0;
}

.author-widget-bio {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #1a365d;
    color: white;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-article {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.related-article:hover {
    background: #f8fafc;
}

.related-article-image {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.related-article-info {
    flex: 1;
}

.related-article-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a365d;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.related-article-date {
    font-size: 12px;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
        order: 2;
    }
    
    .article-detail-layout {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .article-detail-sidebar {
        position: static;
        order: 2;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 36px;
    }
    
    .article-content {
        grid-template-columns: 1fr;
    }
    
    .article-hero {
        height: 300px;
    }
    
    .article-hero-title {
        font-size: 28px;
    }
    
    .article-meta-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .article-meta-info {
        flex-wrap: wrap;
    }
    
    .article-hero-overlay {
        padding: 20px;
    }
}