/* Styles for List, News, and Show pages */

.content-section {
    padding: 60px 0;
    min-height: 60vh;
}

/* Page Headers */
.page-header {
    padding: 100px 0 60px;
    background: radial-gradient(circle at top center, rgba(31, 40, 51, 0.9), var(--bg-dark));
    text-align: center;
    border-bottom: 1px solid rgba(102, 252, 241, 0.1);
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Article List (list.html) */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-item {
    display: flex;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(69, 162, 158, 0.3);
}

.article-image {
    flex: 0 0 300px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.article-content .date {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.article-content h3 a {
    color: var(--text-light);
}

.article-content h3 a:hover {
    color: var(--primary);
}

.article-content p {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--bg-card);
    color: var(--text-light);
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    transform: translateY(-2px);
}

/* Article Detail (news.html and show.html) */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 25px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.article-body h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--text-light);
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-top: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Show Content Adjustments */
.show-content {
    text-align: center;
}

.show-content h2 {
    color: var(--accent-light);
    font-size: 2.2rem;
    margin-bottom: 25px;
}

/* Media Queries */
@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
    }

    .article-image {
        flex: none;
        height: 250px;
    }

    .article-detail {
        padding: 30px 20px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}