/* List, Show, and News pages styling */
.page-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 24px;
}

.page-title,
.landing-title,
.article-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-text-main), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    
}

.section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-card);
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;
    text-align: center;
}

/* List section */
.list-section {
    padding: 40px 24px;
    
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.list-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.list-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

.list-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.list-card:hover img {
    transform: scale(1.08);
}

.card-body {
    padding: 28px;
}

.card-body .date {
    display: inline-block;
    background: rgba(34, 211, 238, 0.1);
    color: var(--color-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.card-body h2,
.card-body h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.card-body h2 a:hover,
.card-body h3 a:hover {
    color: var(--color-primary);
}

.card-body p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.page-btn {
    padding: 14px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

/* Article/Show pages */
.article-detail,
.show-landing {
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 28px;
    padding: 40px !important;
    box-shadow: var(--shadow-card);

}

.article-hero {
    margin: -40px -40px 40px -40px;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
}

.article-hero .hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.article-detail:hover .hero-img,
.show-landing:hover .hero-img {
    transform: scale(1.05);
}

.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-card);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.article-meta .tag {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #000;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-meta .date {
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 600;
}

.article-content,
.landing-content,
.rich-text {
    color: var(--color-text-main);
    font-size: 16px;
    line-height: 1.8;
}

.rich-text p {
    margin-bottom: 20px;
}

.rich-text img {
    max-width: 100%;
    border-radius: 16px;
    margin: 28px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-card);
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-card);
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: white;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: translateY(-4px);
}

/* Mobile fixed bottom bar */
.mobile-fixed-bottom {
    display: none;
}

@media (max-width: 768px) {
    .page-title,
    .landing-title,
    .article-title {
        font-size: 32px;
    }
    
    .list-grid {
        grid-template-columns: 1fr;
    }
    
    .article-detail,
    .show-landing {
        padding: 28px;
    }
    
    .article-hero {
        margin: -28px -28px 32px -28px;
    }
    
    .article-hero .hero-img {
        height: 280px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .mobile-fixed-bottom {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-main);
        padding: 16px 24px;
        border-top: 1px solid var(--border-card);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
        z-index: 1000;
    }
    
    .fixed-bottom-container {
        display: flex;
        gap: 16px;
        max-width: 1300px;
        margin: 0 auto;
    }
    
    .btn-fixed-login,
    .btn-fixed-register {
        flex: 1;
        padding: 14px;
        border-radius: 14px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 14px;
    }
    
    .btn-fixed-login {
        background: var(--bg-card);
        border: 1px solid var(--border-card);
        color: var(--color-text-main);
    }
    
    .btn-fixed-register {
        background: linear-gradient(135deg, var(--color-primary), #7c3aed);
        color: white;
        box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
    }
    

}
