.all-shorts-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-header i {
    font-size: 32px;
    color: #ff0000;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #242424;
}

body.dark .page-title {
    color: #f7fafc;
}

/* Grid Overrides for standard shorts classes */
.shorts-grid .short-card {
    width: 100%;
    /* Fill the grid column */
    margin: 0;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .shorts-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 15px;
    }

    .page-title {
        font-size: 28px;
    }
}

/* Pagination Styles */
.pagination-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
    align-items: center;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

body.dark .pagination-link {
    background: #2d3748;
    color: #f7fafc;
    border-color: #4a5568;
}

.pagination-link:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
    transform: translateY(-2px);
}

.pagination-item.active .pagination-link {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.pagination-item.disabled {
    color: #777;
    font-weight: bold;
}

@media (max-width: 768px) {
    .pagination-link {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}