.all-banks_title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.all-banks_title h1 {
    font-size: 42px;
}

.filter-btn {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    display: none;
}

.filter-btn>svg {
    pointer-events: none;
}

.all-banks_section--container {
    display: flex;
    align-items: flex-start;
    gap: 3.5rem;
}

.all-banks_main {
    flex-basis: 100%;
    width: 100%;
}

.all-banks_main h1 {
    font-size: 42px;
    margin-bottom: 2.5rem;
}

.all-banks_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.bank-box {
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 16, 68, 0.08);
    background: #fff;
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.bank-box img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 0.75rem;
}

.bank-box div.info {
    margin-top: auto;
    width: 100%;
}

.bank-box h3 {
    font-size: 17px;
    line-height: 1.35;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.bank-box:hover {
    transform: scale(1.02);
}

.bank-box .Stars {
    margin-bottom: 0.5rem;
}

.bank-box a {
    display: block;
    width: 100%;
    color: #fff;
    padding: 0.5rem;
    background: var(--color-1);
    border-radius: 6px;
    text-align: center;
}

.pagination {
    overflow: hidden;
    justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    margin-top: 30px;
}

.page-item .page-link {
    font-size: var(--font_size_para);
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-link:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.pagination a {
    border-radius: 5px;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--para_color);
    background-color: #fff;
    border: 1px solid #dee2e6;
    font-size: var(--font_size_sub_heading);
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: var(--primary_color);
    border-color: #007bff;
}

.pagination a {
    border-radius: 5px;
}

.pagination a.active {
    border-radius: 5px;
}

.filters-wrapper {
    flex-basis: 20%;
}

.filter-box {
    position: relative;
    padding: 1rem;
    padding-top: 0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: #fff;
    margin-bottom: 1rem;
    max-height: 420px;
    overflow: hidden;
    overflow-y: auto;
}

/* width */
.filter-box::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.filter-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.filter-box::-webkit-scrollbar-thumb {
    background: var(--color-1);
    border-radius: 5px;
}

.filter-box h4 {
    position: sticky;
    top: 0;
    padding: 1rem 0;
    background: #fff;
}

.filter-list li {
    padding: 0.5rem;
    border-radius: 6px;
    transition: 0.3s ease;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.filter-list li:is(:hover, .active) {
    background: #eee;
}

.filter-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-list li img {
    width: 20px;
}

.filter-list li span {
    font-size: 12px;
}

/** MEDIA QUERIES **/
@media screen and (max-width: 1536px) {}

@media screen and (max-width: 1420px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 1024px) {
    .all-banks_section--container {
        flex-direction: column-reverse;
    }

    .filters-wrapper {
        flex-basis: 100%;
        width: 100%;
        display: none;
    }

    .filters-wrapper.show {
        display: flex;
        gap: 1rem;
    }

    .filter-box {
        width: 100%;
    }

    .filter-btn {
        display: block;
    }

    .all-banks_main {
        width: 100%;
        flex-basis: 100%;
    }

    .pagination button {
        padding: 0.5rem 0;
        width: 100%;
    }
}

/* Media query for screens smaller than a certain width */
@media screen and(max-width: 768px) {
    .all-banks_wrapper {
        grid-template-columns: repeat(2, 1fr)
    }
}


@media screen and (max-width: 640px) {
    .filters-wrapper.show {
        display: block;
    }

    .filter-box {
        max-height: 250px;
    }
}

@media screen and (max-width: 500px) {}

@media screen and (max-width: 480px) {
    .all-banks_wrapper  {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 360px) {}