.rpg-aacb0caa-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rpg-aacb0caa-grid {
    display: grid;
    gap: 24px;
    width: 100%;
}

.rpg-aacb0caa-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.rpg-aacb0caa-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rpg-aacb0caa-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rpg-aacb0caa-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rpg-aacb0caa-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rpg-aacb0caa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.rpg-aacb0caa-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.rpg-aacb0caa-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rpg-aacb0caa-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 15px;
}

.rpg-aacb0caa-title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}

.rpg-aacb0caa-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.rpg-aacb0caa-title a:hover {
    color: #0073aa;
}

.rpg-aacb0caa-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #0073aa;
    color: #0073aa;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto;
    width: fit-content;
}

.rpg-aacb0caa-btn:hover {
    background-color: #0073aa;
    color: #ffffff;
}

/* Pagination styles */
.rpg-aacb0caa-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.rpg-aacb0caa-pagination .page-numbers {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rpg-aacb0caa-pagination .page-numbers:hover,
.rpg-aacb0caa-pagination .page-numbers.current {
    background-color: #0073aa;
    border-color: #0073aa;
    color: #fff;
}
