.abp5_category_casino_header {
    text-align: center;
    padding: 60px 3% 40px;
    background: #1d1d1d;
    margin-bottom: 0;
}

.abp5_category_casino_title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.abp5_category_casino_description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.abp5_category_casino_posts {
    padding: 40px 3% 60px;
    background: #000000;
    margin-top: 0;
}

.abp5_category_casino_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.abp5_category_casino_card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-top: 20px;
}

.abp5_category_casino_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.abp5_category_casino_card_link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.abp5_category_casino_card_logo_wrap {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.abp5_category_casino_card_bg_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.abp5_category_casino_card_logo {
    position: relative;
    z-index: 2;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}


.abp5_category_casino_card_content {
    padding: 0 25px 25px;
    text-align: center;
    position: relative;
}

.abp5_category_casino_card_label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.abp5_category_casino_card_title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    line-height: 1.3;
}

.abp5_category_casino_card_excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0 0 20px;
    min-height: 44px;
}

.abp5_category_casino_card_arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.abp5_category_casino_card_arrow i {
    color: #fff;
    font-size: 16px;
}

.abp5_category_casino_card:hover .abp5_category_casino_card_arrow {
    background: rgba(234, 1, 29, 0.8);
    transform: scale(1.1);
}

.abp5_category_casino_no_results {
    text-align: center;
    padding: 60px 3%;
    color: #fff;
}

.abp5_category_casino_no_results h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.abp5_category_casino_pagination_wrap {
    padding: 40px 3% 60px;
    background: #000000;
    margin-top: 0;
}

.abp5_category_casino_pagination_wrap .pagination,
.abp5_category_casino_pagination_wrap .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.abp5_category_casino_pagination_wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: #d0021b;
    border-radius: 999px;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
}

.abp5_category_casino_pagination_wrap .page-numbers:hover {
    background: #e31a2f;
    box-shadow: 0 12px 28px rgba(208, 2, 27, 0.35);
    transform: translateY(-2px);
}

.abp5_category_casino_pagination_wrap .page-numbers.current {
    background: #ea011d;
    color: #ffffff;
    cursor: default;
    box-shadow: 0 12px 28px rgba(208, 2, 27, 0.35);
}

.abp5_category_casino_pagination_wrap .page-numbers.current:hover {
    transform: none;
    background: #ea011d;
}

.abp5_category_casino_pagination_wrap .page-numbers.dots {
    background: transparent;
    cursor: default;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.6);
    min-width: auto;
    padding: 0 8px;
}

.abp5_category_casino_pagination_wrap .page-numbers.dots:hover {
    background: transparent;
    transform: none;
    color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

.abp5_category_casino_pagination_wrap .page-numbers.prev,
.abp5_category_casino_pagination_wrap .page-numbers.next {
    padding: 0 20px;
}

@media (max-width: 768px) {
    .abp5_category_casino_pagination_wrap {
        padding: 30px 3% 40px;
    }

    .abp5_category_casino_pagination_wrap .pagination,
    .abp5_category_casino_pagination_wrap .nav-links {
        gap: 8px;
    }

    .abp5_category_casino_pagination_wrap .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .abp5_category_casino_pagination_wrap .page-numbers.prev,
    .abp5_category_casino_pagination_wrap .page-numbers.next {
        padding: 0 16px;
    }
}

@media (max-width: 1279px) {
    .abp5_category_casino_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .abp5_category_casino_header {
        padding: 40px 3% 30px;
    }

    .abp5_category_casino_title {
        font-size: 36px;
    }

    .abp5_category_casino_posts {
        padding: 40px 3% 40px;
    }

    .abp5_category_casino_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .abp5_category_casino_card_logo_wrap {
        width: 150px;
        height: 150px;
    }
}
