/* Article Section Styles */
.articles-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 30, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: #AAA;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0;
}

.article-card {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.9) 0%, rgba(20, 20, 30, 0.95) 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.article-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.article-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #1a1a2e;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 20px;
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: #FFF;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-title {
    font-size: 18px;
    font-weight: bold;
    color: #FFF;
    margin: 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-excerpt {
    font-size: 14px;
    color: #AAA;
    line-height: 1.6;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #888;
}

.article-date,
.article-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-date svg,
.article-views svg {
    opacity: 0.7;
}

/* Article Detail Page Styles */
.article-page {
    background: #0f0f1e;
    color: #E0E0E0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.site-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 30, 0.98) 100%);
    padding: 20px 0;
    border-bottom: 2px solid #FFD700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #FFD700;
}

.breadcrumb {
    background: rgba(20, 20, 30, 0.5);
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb a {
    color: #AAA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #FFD700;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #555;
}

.breadcrumb .current {
    color: #FFF;
}

.article-main {
    padding: 40px 0;
}

.article-main .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-detail {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.95) 0%, rgba(20, 20, 30, 0.98) 100%);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.article-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFF;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-detail .article-title {
    font-size: 36px;
    font-weight: bold;
    color: #FFF;
    line-height: 1.3;
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.article-meta-bar {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #AAA;
    font-size: 14px;
}

.meta-item svg {
    opacity: 0.7;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 40px;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content-wrapper {
    font-size: 16px;
    line-height: 1.8;
    color: #D0D0D0;
}

.article-content-wrapper h2 {
    font-size: 28px;
    color: #FFD700;
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.article-content-wrapper h3 {
    font-size: 22px;
    color: #FFF;
    margin: 30px 0 15px;
}

.article-content-wrapper p {
    margin: 15px 0;
}

.article-content-wrapper ul,
.article-content-wrapper ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content-wrapper li {
    margin: 8px 0;
}

.article-content-wrapper a {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content-wrapper a:hover {
    color: #FFD700;
}

.article-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border-radius: 15px;
    font-size: 13px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.related-articles {
    margin-top: 60px;
}

.related-articles .section-title {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: left;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    background: rgba(30, 30, 40, 0.8);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.related-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.related-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-content h3 {
    font-size: 15px;
    color: #FFF;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.site-footer {
    background: rgba(10, 10, 20, 0.95);
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #FFD700;
    margin-top: 60px;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer p {
    margin: 10px 0;
    color: #AAA;
    font-size: 14px;
}

.site-footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-detail {
        padding: 30px 20px;
    }

    .article-detail .article-title {
        font-size: 28px;
    }

    .article-meta-bar {
        flex-direction: column;
        gap: 10px;
    }

    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}