.case-container {
    width: 100%;
    height: auto;
    background-color: #ffffff;
}

.case-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 10px 0;
    /*border: 1px solid #f1132d;*/
}

.case-header-container {
    width: 100%;
    padding: 20px 0;
    /*border-bottom: 1px solid #e9ecef;*/
    /*margin-bottom: 30px;*/
}

.case-body-container {
    display: flex;
    width: 100%;
    gap: 20px;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 20px 0;*/
    /*border-bottom: 1px solid #e9ecef;*/
    /*margin-bottom: 30px;*/
}

.page-title {
    font-size: 24px;
    color: #4a78f4;
    font-weight: bold;
    /*margin: 0;*/
    /*margin-left: 30px;*/
}

.breadcrumb {
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;

}

.breadcrumb a:hover {
    text-decoration: underline;
}

/**/
.case-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    /*justify-content: space-between;*/
}

.case-item {
    flex: 0 0 calc(25% - 20px);
    background: white;
    /*border-radius: 8px;*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.5s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.case-icon {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.case-title {
    padding: 10px;
    font-size: 20px;
    color: #333;
    /*text-align: center;*/
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.page-link,
.page-number {
    padding: 6px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-link:hover:not(.disabled),
.page-number:hover {
    background-color: #e9ecef;
    color: #007bff;
}

.active2 {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    cursor: default;
}

.dots {
    color: #ccc;
    cursor: default;
}


/**/
